ambulance.Ambulance.drop_off_time#
- Ambulance.drop_off_time(patient_ID: int, hospital_location_ID: int, drop_off_times: ndarray, charging_stations_hospitals: dict[str, list[simpy.resources.resource.Resource | float]], SIMULATION_PARAMETERS: dict[str, Any], SIMULATION_DATA: dict[str, Any])#
Drop the patient off at the hospital.
- Parameters:
patient_ID (int) – The patient ID.
hospital_location_ID (int) – The assigned hospital.
drop_off_times (np.ndarray) – Contains the drop-off times.
charging_stations_hospitals (dict[str, list[sp.resources.resource.Resource | float]]) – The charging stations resources at all hospitals together with their charging speeds.
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
is at least necessary. 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.