ambulance.Ambulance.add_ambulance_data_battery_decrease#

Ambulance.add_ambulance_data_battery_decrease(decrease_quantity: float, idle: bool, idle_time: Optional[float], driven_km: Optional[float], source_location_ID: Optional[int], target_location_ID: Optional[int], SIMULATION_PARAMETERS: dict[str, Any], SIMULATION_DATA: dict[str, Any]) None#

Adds battery decrease data to output_ambulance for an electric vehicle.

Parameters:
  • decrease_quantity (float) – The battery decrease in kWh.

  • idle (bool) – Whether the ambulance was idle/stationary or not.

  • idle_time (Optional[float]) – The idle/stationary time of the ambulance.

  • driven_km (Optional[float]) – The number of kilometers driven.

  • source_location_ID (Optional[int]) – The initial location (i.e., source) of the ambulance.

  • target_location_ID (Optional[int]) – The target location the ambulance drove to.

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

  • SIMULATION_DATA (dict[str, Any]) – The simulation data. output_ambulance is at least necessary. See main.py and the input data section on the ELASPY website for explanations.