ambulance.Ambulance.calculate_battery_reduction_idling#

static Ambulance.calculate_battery_reduction_idling(idle_time: float, SIMULATION_PARAMETERS: dict[str, Any]) float#

Calculates the battery reduction during idling.

Parameters:
  • idle_time (float) – The idle/stationary time of the ambulance.

  • SIMULATION_PARAMETERS (dict[str, Any]) – The simulation parameters. The parameters PRINT and IDLE_USAGE are at least necessary. See main.py for parameter explanations.

Returns:

float – The battery reduction during idling/being stationary in kWh.