ambulance.Ambulance.add_ambulance_data_diesel#

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

Adds data for a diesel vehicle to output_ambulance.

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

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

  • 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.