The Model

Model Overview

For this app, we’ll use the basic compartmental SIR model. We allow for 3 different stages/compartments:

In addition to specifying the compartments of a model, we need to specify the dynamics determining the changes for each compartment. Broadly speaking, some processes increase the number of individuals in a given compartment/stage and other processes that lead to a reduction. Those processes are sometimes called inflows and outflows.

For our system, we specify the following processes/flows:

Model Implementation

The flow diagram and the set of equations which are used to implement this model are as follows:

Model Figure

Model Figure

\[S_{v} = (1-ef)S_0\] \[R_0 = efS_{v}\] \[\dot S =m - b SI - nS + wR\] \[\dot I = \ S I - g I - nI\] \[\dot R = g I - nR - wR\]

Here, S0 is the initial population of susceptibles, and Sv is the susceptible population after vaccination. Vaccinated individuals are moved to the R compartment before the start of the outbreak.