ambulance.Ambulance.go_to_hospital#
- Ambulance.go_to_hospital(patient_ID: int, hospital_location_ID: int, SIMULATION_PARAMETERS: dict[str, Any], SIMULATION_DATA: dict[str, Any])#
Drive to the hospital.
- Parameters:
patient_ID (int) – The patient ID.
hospital_location_ID (int) – The assigned hospital.
SIMULATION_PARAMETERS (dict[str, Any]) – The simulation parameters. The parameters
PRINT
andENGINE_TYPE
are at least necessary. Note that methods that are called within this method may require more parameters. Seemain.py
for parameter explanations.SIMULATION_DATA (dict[str, Any]) – The simulation data.
output_patient
andSIREN_DRIVING_MATRIX
are at least necessary.SIREN_DRIVING_MATRIX
is based onTRAVEL_TIMES_FILE
. Seemain.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.