ambulance.Ambulance.go_to_patient#

Ambulance.go_to_patient(patient_ID: int, patient_location_ID: int, SIMULATION_PARAMETERS: dict[str, Any], SIMULATION_DATA: dict[str, Any])#

Drive to the patient.

Parameters:
  • patient_ID (int) – The patient ID.

  • patient_location_ID (int) – The arrival location of the patient.

  • SIMULATION_PARAMETERS (dict[str, Any]) – The simulation parameters. The parameters PRINT and ENGINE_TYPE are at least necessary. Note that methods that are called within this method may require more parameters. See main.py for parameter explanations.

  • SIMULATION_DATA (dict[str, Any]) – The simulation data. output_patient is at least necessary. See main.py and the input data section on the ELASPY website for explanations. Note that methods that are called within this method may require more data.

Raises:

Exception – If an invalid ENGINE_TYPE is specified.