The COVID-19 pandemic

Problem formulation

One of the most pervasive events in 2020 (and 2021) has been the COVID-19 pandemic, the disease caused by the SARS-CoV-2 ("Corona virus"), which almost halted the social and economic activity all over the world. Despite substantial efforts to contain the pandemic, the Corona virus spread all over Europe, causing many casualties.

The measures taken by the governments in the European countries to a large extent relied on the forecasts of mathematical models that describe the dynamics of infectious diseases (such as measles, rubella, flu, covid). In this exercise, we will first explain the ingredients of the simplest version of such models. Then, you will expand the model, adapt it to the COVID-19 pandemic, and make it as realistic as possible. You will do this based on the information we obtained from an expert from the Institute of Tropical Medicine ("Instituut voor Tropische Geneeskunde", ITG) in Antwerp, Belgium, who provided us with some insights into the characteristics of the COVID-19 pandemic. Because she is not a modeller, a considerable part of this exercise will involve figuring out the appropriate values for the model parameters. This will give you a "taste of a modeller's life".

S.I.R. models

Typically, the models used to investigate the spread of infectious diseases are called S.I.R. models. They describe the number of Susceptible, Infected and Recovered individuals in a population. Susceptible individuals are vulnerable to get the disease but are not (yet) infected. Infected individuals can recover, but some will die from the disease. Recovered individuals, at least initially, cannot become infected anymore.

Conceptual scheme of the simplest SIR model.{width=10cm}

As spreading the infection is not something that is actively pursued by the infected individuals, the infection rate can be modeled as if it were an elementary chemical reaction. That is, the infection rate depends on the probability of infected and susceptible people interacting, and the probability that an infection occurs as a result of this interaction. Thus, we describe the infection rate (in units of $ind.~d^{-1}$, where $ind$ stands for the number of individuals) with the following rate expression: $$Infection = b \cdot I \cdot S.$$ Here, $b$ is a rate constant that describes the infection rate (it has units of $ind^{-1}~d^{-1}$), and $I$ and $S$ are the number of infected and susceptible individuals, respectively.\footnote{In some S.I.R. models the rate parameter $b$ is replaced by $\beta/N$, where $\beta$ has units of $d^{-1}$ and N is the population density.}

Recovery from, and mortality of, infected individuals are modeled as simple first-order processes: $$Recovery = g \cdot I,$$ $$Mortality = m \cdot I,$$ where $g$ and $m$ are the recovery and mortality rate constants, respectively.

The mass balance equations that describe the change in time of each population class are as follows: $$\frac{dS}{dt} = -Infection,$$ $$\frac{dI}{dt} = Infection - Recovery - Mortality,$$ $$\frac{dR}{dt} = Recovery.$$ These equations imply that the rate constants $g$ and $m$ represent the fraction of the infected population that either recover or die per day, respectively (both in units of $d^{-1}$). For example, if there were no infection and no mortality ($b=m=0$), the number of infected individuals would decrease at a rate $dI/dt = -g\cdot I$, i.e., at a rate proportional to the number of infected individuals. Thus, by normalizing this rate to the number of infected individuals [$(dI/dt)/I$], we obtain the fraction of the infected population that recover per day, which is equal to $g$.

\newpage

TASKS

1. Implement the simple S.I.R. model in R

The above model is the simplest S.I.R. model possible. It is not very realistic, and not very handy to be used as a decision-making tool. Nevertheless, you should start with implementing this model in R and solve it with the deSolve package. Use the template R markdown file RTM_0D.Rmd to implement this model.\footnote{You can obtain this file from Rstudio: File $\rightarrow$ new File $\rightarrow$ Rmarkdown $\rightarrow$ from template $\rightarrow$ RTM_0D. Save this file under a different name. Do not forget to change the heading of this file.}

| Name | Value | Description | Unit | | --------- | ---------- | ------------------- | ----------------- | | b | 0.00000002 | infection parameter | $ind^{-1}~d^{-1}$ | | g | 0.07 | recovery parameter | $d^{-1}$ | | m | 0.007 | mortality parameter | $d^{-1}$ |

2. Vaccination and immunity loss

Add vaccination to the S.I.R. model. For now, you may assume that people that are vaccinated become resistant to the disease in a similar way as those that have recovered from the disease.

Unfortunately, recovered people can lose their immunity.

3. Pressure on hospitals

One of the concerns at the start of the COVID pandemic was that our hospitals would be swamped with COVID patients that cannot be treated anymore. A horror scenario is that patients need to wait in an ambulance (as in the UK), or be treated in corridors of the hospitals (as in Italy). Also, when hospitals have too many COVID patients, the treatment of non-COVID patients will be jeopardized.

The number of hospital beds is 60,000 in Belgium and 55,000 in the Netherlands, so these numbers are to be kept in mind when taking measures to keep the pandemic manageable.

4. Updated model

Based on tasks 2 and 3, you should now arrive at an updated version of your model, including the conceptual scheme, mass balance equations and rate expressions. Discuss your ideas with the lecturers before you proceed with the next step.

5. Finding realistic parameter values

As mentioned earlier, large part of modelling involves figuring out realistic values for the model parameters. You will do this now based on the information we received from the ITG expert. These are her quotes:

6. Implementation in R

Implement the updated model in R. Use the rate parameters derived from the expert's quotes.

7. Scenarios

Run several scenarios, patterned to the Belgian situation. There are 11.5 million Belgians, and the spreading of the disease starts with 1000 infected individuals that return from holidays.

Compare all runs.



dynamic-R/RTM documentation built on Feb. 28, 2025, 1:23 p.m.