Sir modelling Sir modelling, Lab Reports of Mathematics

in this article modelling with sir method is shown

Typology: Lab Reports

2019/2020

Uploaded on 04/14/2020

ceren-nuray-tuzcu
ceren-nuray-tuzcu 🇹🇷

4.8

(5)

5 documents

1 / 10

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
An Epidemic Model
The SIR model is a simple model, due to Kermack and McKendrick, of an epidemic of an infectious
disease in a large population. We assume the population consists of three types of individuals, whose
numbers are denoted by the letters S, I and R (which is
why this is called an SIR model). All these are functions of the time t, and they change according to a
system of differential equations.
S is the number of susceptibles, who are not infected but could become infected.
I is the number of infectives. These individuals have the disease and can transmit it to the
susceptibles.
R is the number of removed individuals. These may or may not have the disease, but they can't
become infected and they can't transmit the disease to others. They may have a natural immunity, or
they may have recovered from the disease and are immune from getting it again, or they may have the
disease but are incapable of transmitting it (e.g. because they may have been placed in isolation), or
they may have died. The mathematical model doesn't distinguish among those possibilities.
The model we will consider assumes a time scale short enough that births and deaths (other than deaths
from this disease) can be neglected.
The SIR model
New infections occur as a result of contact between infectives and susceptibles. In this simple model
the rate at which new infections occur is for some positive constant . When a new infection
occurs, the individual infected moves from the susceptible class to the infective class. In our simple
model, there is no other way individuals can enter or leave the susceptible class, so we have our first
differential equation:
The other process that can occur is that infective individuals can enter the removed class. We
assume that this happens at the rate for some positive constant . Thus we have our other two
differential equations:
Some things to notice:
The total population is constant because
For convenience, I'll usually choose the unit of population so that the total population is 1.
If , i.e. there are no infectives, the right sides of all three equations are 0, so nothing changes.
To make matters interesting, we must start with some infectives.
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Sir modelling Sir modelling and more Lab Reports Mathematics in PDF only on Docsity!

An Epidemic Model

The SIR model is a simple model, due to Kermack and McKendrick, of an epidemic of an infectious disease in a large population. We assume the population consists of three types of individuals, whose numbers are denoted by the letters S , I and R (which is why this is called an SIR model). All these are functions of the time t , and they change according to a system of differential equations.

S is the number of susceptibles , who are not infected but could become infected. I is the number of infectives. These individuals have the disease and can transmit it to the susceptibles. R is the number of removed individuals. These may or may not have the disease, but they can't become infected and they can't transmit the disease to others. They may have a natural immunity, or they may have recovered from the disease and are immune from getting it again, or they may have the disease but are incapable of transmitting it (e.g. because they may have been placed in isolation), or they may have died. The mathematical model doesn't distinguish among those possibilities.

The model we will consider assumes a time scale short enough that births and deaths (other than deaths from this disease) can be neglected.

The SIR model

New infections occur as a result of contact between infectives and susceptibles. In this simple model the rate at which new infections occur is for some positive constant. When a new infection occurs, the individual infected moves from the susceptible class to the infective class. In our simple model, there is no other way individuals can enter or leave the susceptible class, so we have our first differential equation:

The other process that can occur is that infective individuals can enter the removed class. We assume that this happens at the rate for some positive constant. Thus we have our other two differential equations:

Some things to notice: The total population is constant because

For convenience, I'll usually choose the unit of population so that the total population is 1. If , i.e. there are no infectives, the right sides of all three equations are 0, so nothing changes. To make matters interesting, we must start with some infectives.

Here are some of the questions we would like to answer: Suppose we start with a population of almost all susceptibles plus a small number of infectives. Will the number of infectives increase substantially, producing an epidemic, or will the disease fizzle out? Assuming there is an epidemic, how will it end? Will there still be any susceptibles left when it is over? How long will the epidemic last?

Before doing any analysis, let's try some numerical simulations. You can choose arbitrary values for

, the initial values of S , I and R at time 0, and the end time for the simulation, press the Go button, and see the results. The plot will show in green, in red and in

black. You might try some cases with and some with : we'll see in the next section why this makes a difference.

0.0 2.0 4.0 6.0 8.0 10.

0.0 2.0 4.0 6.0 8.0 10.

0.9 0.92 0.94 0.96 0.98 1.

0.0 0.02 0.04 0.06 0.08 0.

Since the right side depends only on S and not on I , to solve this differential equation all we have to do is integrate:

where C is an arbitrary constant. The value of C can be found by plugging in

the initial condition:

and plot I as a function of

S for various choices of.

0.0 2.0 4.0 6.0 8.0 10.

0.0 2.0 4.0 6.0 8.0 10.

Go

Notice that because the formulas differ only by the additive constant C , these curves are all vertical translates of each other. Mathematically the curves extend to negative values of I as well as positive, but of course that doesn't make sense for populations, so I cut them off at. The line really consists of equilibrium points: if nothing will happen in our model. If you start out at a point on one of these curves with , as time goes on you travel along the curve to the left (because

), eventually approaching at some positive value of. This must happen since on any

of these curves, as.

So the answer to question (2) is that the epidemic will end as with approaching some positive value: yes, there must always be some susceptibles left over.

To see how many will be left over, we must find the value of that satisfies the equation

. This equation can't be solved using elementary methods because of the

presence of both S and , but it can be solved using numerical methods or with a special function

called the Lambert W function: the solution is. The Go button below

, and. It should agree fairly closely with the simulation (not exactly, because of roundoff error).

their hands more.

How long?

Now for question (3), we must go back to a differential equation involving time. Plugging in the formula for I as a function of S into the

differential equation for , we get

To solve this differential equation using separation of variables, write

Unfortunately we don't know an antiderivative for the left side: there probably isn't a formula for it. But numerical methods can be used.

Let's say we start with (some small positive number) and where

. Thus. The epidemic will "take off" and then eventually die out.

However, we never quite get to , just approach it in the limit as. So what can I take as the "end" of the epidemic? Let's say it's over when comes back to the value. This will happen when

, where

We can solve this for , again using the Lambert W function. Once we have that value, we use it as

the upper endpoint in the integral to find the duration T of the epidemic. The Go button below will perform these calculations.

0.0 2.0 4.0 6.0 8.0 10.

0.0 2.0 4.0 6.0 8.0 10.

0.9 0.92 0.94 0.96 0.98 1.

0.0 0.02 0.04 0.06 0.08 0.

Go

The zombie apocalypse

Many variations on this basic SIR model have been considered. One interesting case that was published in 2009 by Philip Munz, Ioan Hudea, Joe Imad and Robert J. Smith is a model of a zombie apocalypse. In its simplest form the system of differential equations is

Here S are susceptibles (normal live humans), Z are zombies and R are dead (but not permanently so!)

. Encounters between zombies and live humans can result in the human becoming a zombie (hence

the terms in and in ) or the zombie becoming dead (hence the and

). The dead sometimes spontaneously turn into zombies (hence the and terms). The result is unfortunate: unless both S and R start out at 0, the whole population must turn into zombies

end time

0 10 20 30 40 50 60 708090100

Go