This basic simulation of an epidemic was created to demonstrate the potential effect of introducing a new drug/health technology when the effect of the drug is not only on reducing unfavourable health outcomes (eg. death) but also on freeing up health system capacity to allow for more cases to be treated (for eg. by reducing the length of stay at hospital as as demonstrated for some new COVID-19 therapeutics in the pipe in 2019)
- Infections: It's not an SIR model so the number of infections just increases by a fix %(
r
) every day. Although one can install some kind of herd immunity limit on infections. - Hospital bed requirement: A fixed % (
r
) of newly infected cases require hospitalisation on the day of infection - Actual hospitalization: This depends on hospital bed capacity (
H_actual
) - Deaths: i. 0 deaths among cases which don't require hospitalization; ii. An infected case who requires hospitalisation but does not receive it dies on the day on infection; iii. A hospitalized case has a fixed probability of survival (all hospitalised cases are expected to survive until the final day of hospital admission =_ average length of hospital stay_)
Two sample scenarios are demonstrated - one where hospital capacity is breached and one where it is not breached.
To demonstrate the effect of a drug, we can simply change the probability of death for hospitalised cases (d_h
) and the a_verage length of hospital stay_ (h_stay
).
Further to run country-level simulations, we can plug in the actual total population (total_pop
) and bed capacity (H_max
) values.
Author: Sakshi Mohan