Starting from:

$30

ICS - Assignment 1 - SIR model ODE - Solved

Introduction to Computational Science
Introduction
The SIR model is an epidemiological model that computes the spread of an infectious disease through a population of people. It is used to compute the number of susceptible (S), infected (I), and recovered (R) individuals at any given time through the spread of an infectious disease. The model can be written as a set of first order differential equations:

 (1)

(2)

(3)

Here β is the parameter for the rate of infection and γ is the parameter for the rate of recovery. A first assumption can be made keeping the population in our model “closed” meaning S +I +R =1.

Problem 1: Numerical integration of the basic model
In the basic model we can assume the population is fixed S +I +R =1. The spread of infection goes one direction from susceptible to infected to recovered. Once an individual is recovered he or she is no longer susceptible.

1.    Numerically integrate the above ODEs for states of an epidemic and no epidemic.What is the parameter that determines if the infectious disease will become an epidemic? Provide phase space diagrams, with analysis, of the system.

2.    Given below is the historical data from a case of an influenza outbreak situation.The outbreak was in a boys school with a total of 763 boys. It also seems that one infected boy started the epidemic. Could you try to fit an SIR model to the data?

Day
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Number
3
8
28
75
221
291
255
235
190
125
70
28
12
5
3.    Can you propose a vaccination plan to prevent the epidemic?



 

Problem 2: Demography
Now we want to start to add more terms to our model. Lets start to consider demography, i.e. Birth and death rates.

1.    Add birth and natural death rate term into model. (Hint: keep Npopulation constant). How does the dynamics change? Run the model to capture an endemic state. Do you see oscillatory behavior in the fraction of infected population? What are requirements to observe this behavior? What is the frequency and amplitude of these oscillations (Hint: use Fourier analysis)?

2.    Add an infection induced mortality term to the model (Npopulation 6= constant), which will depend on some probability of dying while infected. What happens when the probability approaches 1?

Problem 3: Variation on the SIR model.

Pick a variation of the SIR model and provide similar detail and analysis used in the previous problems. Some examples can be SIER, MSIR, SEIS, MSEIR, MSEIRS etc. Add seasonal effects into the model you choose (Hint: add a time varying sinusoidal rate of infection).

More products