Skip to content

About

Code accompanying the paper "Data assimilation in emergency department simulations for real-time disaster response"

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

This code accompanies the following paper:

Delos Reyes, R., Capurro, D., & Geard, N. (2026). Data assimilation in emergency department simulations for real-time disaster response. International Journal of Disaster Risk Reduction. https://doi.org/10.1016/j.ijdrr.2026.105995

IJDRR-D-25-03636_graphical_abstract

Setting up the environment

  1. Download anaconda
  2. Run conda env create --name edda -f edda.yaml
  3. Run conda activate edda

Getting the required data

  1. Download the following datasets (they require credentialed access which can be requested at the provided websites)
  2. Store the unzipped datasets inside the data folder
    • data/ed
    • data/hosp
    • data/icu

Preprocessing the data

Open the following Jupyter notebooks in the following order and run all cells:

  1. generate_patient_data.ipynb  # To exclude patient records with invalid values
  2. generate_event_logs.ipynb  # To convert the records to event logs
  3. generate_model_parameters.ipynb  # To generate the parameters needed to run the ED simulation model

Running the experiments

  1. Run chmod u+x ./run.sh
  2. Run ./run.sh

Generating the figures

Open the following Jupyter notebooks and run all cells:

  1. plot_figure3.ipynb
  2. plot_figure4.ipynb
  3. plot_figure5.ipynb
  4. plot_figure6.ipynb
  5. plot_figure7.ipynb
  6. plot_figure8.ipynb

About

Code accompanying the paper "Data assimilation in emergency department simulations for real-time disaster response"

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages