ambulance.Ambulance.calculate_charging_time#

static Ambulance.calculate_charging_time(required_battery_increase: float, speed_charger: float) float#

Calculates the charging time to reach a certain battery increase.

Parameters:
  • required_battery_increase (float) – The required battery increase in kWh.

  • speed_charger (float) – The speed of the charger in kW.

Returns:

float – The required charging time.