Simulating hospital supply and demand for COVID19 as part of Zurich Hackathon (March 2020)
This project was developed during the CodevsCovid19 Zürich Hackathon to explore data-driven approaches for forecasting hospital supply and demand during the COVID-19 pandemic.
The repository contains an inventory management simulation and an interactive Shiny dashboard designed to model demand forecasting, safety stock estimation, and reorder point calculations for essential medical supplies.
During the COVID-19 pandemic, healthcare systems faced major challenges in managing shortages of critical medical supplies. This project simulates an inventory management system capable of:
The initial phase of the project focused on generating synthetic supply-demand datasets. Later iterations expanded toward dashboard visualization and real-world applicability.
.
├── setup.R # Loads required libraries and dependencies
├── simulation.R # Generates simulated supply-demand datasets
├── shiny_data.R # Prepares datasets for the Shiny dashboard
├── codevscovid_supply_demand/
│ ├── ui.R # Shiny user interface
│ └── server.R # Shiny server logic
├── supply_demand_simulation.Rproj
└── README.md
Install R and the required packages.
git clone https://github.com/NoushinN/codevscovid19.git
Open the project in RStudio.
Run the setup script:
source("setup.R")
source("simulation.R")
source("shiny_data.R")
shiny::runApp("codevscovid_supply_demand")
Potential future enhancements include:
This project demonstrates how data simulation and interactive analytics can support healthcare logistics and emergency preparedness during large-scale public health crises.
The work also highlights the value of rapid interdisciplinary collaboration during hackathon environments.
Contributions, suggestions, and improvements are welcome.
Please feel free to:
Supply and Demand Team — CodevsCovid19 Zürich Hackathon
This project is licensed under the Apache 2.0 License.