ambulance_simulation.run_simulation#
- ambulance_simulation.run_simulation(SIMULATION_PARAMETERS: dict[str, Any], SIMULATION_DATA: dict[str, Any]) None #
Performs a single simulation run.
- Parameters:
SIMULATION_PARAMETERS (dict[str, Any]) – The simulation parameters. The parameter
ENGINE_TYPE
is 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_ambulance
,output_patient
,nr_times_no_fast_no_regular_available
,TIME_LAST_ARRIVAL
are 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.
- Raises:
Exception –
If the patient queue is not empty after completing the simulation run. 2. If the input data (
SIMULATION_DATA
) has been changed during the simulation run.