SlideShare a Scribd company logo
1 of 24
Download to read offline
Viktors Gopejenko
Department of Natural Sciences and Computer Technologies
Professor, Dr. sc. ing.
Mathematic Simulation
Course Paper 1
Development of an Epidemic
ISMA University of Applied Sciences
Riga, Latvia
Development of an Epidemic
• Let us imagine a population that is initially healthy.
• In this population a number people infected with a
contagious disease appear.
• An individual could transmit or catch the illness from other
individuals. The transmission of the illness is due to the
physical proximity.
2
Development of an Epidemic
• During the infectious process the individuals can pass
through some or all of the following states:
• Susceptible (S), the state in which the individual can
catch the illness from another infected person.
• Infected (I), the state in which the individual finds
himself infected and can infect others.
• Recuperated (R), or cured, the state during which the
individual can not infect or be infected because he will
have acquired an immunity (temporary or permanent)
nor can he infect others as he has recuperated or has
passed through the contagious stage of the illness.
3
Development of an Epidemic
• In the various infectious diseases, we can find two
principle groups:
• Those that produce immunity (temporary or permanent)
in individuals who have been infected and have since
recuperated. The majority of these illnesses are of viral
origin (sarampion, varicela, poliomyelitis).
• Those that, once recuperated, may turn again to
susceptibility. These illnesses are mainly caused by
bacterial agents (venereal disease, pest and some
forms of meningitis) or protozoos (malaria).
4
Development of an Epidemic
• Bearing in mind the different states in the infectious
process, the epidemiological models can be divided into
three big groups:
• SIR: The model susceptible-infected-recuperated,
related to illnesses that produce permanent immunity
and a typical cycle that includes the three states. This
does not mean that all the individuals of the population
must pass through these stages, some will not be
infected and remain healthy, in other words, they will
remain in state (S). Others will be immunised artificially
by vaccination or another method and will pass directly
to state (R) without having been infected.
5
Development of an Epidemic
• SIRS: The model susceptible-infected-recuperated-
susceptible, the same as the previous model but
applicable in cases where the immunity is not
permanent and the individual is again susceptible
after a certain amount of time, such as the ‘flu.
• SIS: The model susceptible-infected-susceptible is
used in cases where the illness does not produce
immunity, the individual can pass from being
infected to being susceptible again skipping the
recuperation stage completely.
6
Development of an Epidemic
• A model can bear in mind the vital dynamics of the
population (births, deaths, migratory movements)
depending on the temporal horizon studied, the
characteristics of the illness and the population being
studied.
7
THE MODEL
Development of an Epidemic
• We are going to use one of the most well known
epidemiological models in biology as a reference for
our model. It is Kermack and McKendrick that is
expressed as:
𝑑𝑆
𝑑𝑡
= −𝛽 ∙ 𝑆 ∙ 𝐼
𝑑𝐼
𝑑𝑡
= 𝛽 ∙ 𝑆 ∙ 𝐼 − 𝛾 ∙ 𝐼
𝑑𝑅
𝑑𝑡
= 𝛾 ∙ 𝐼
8
Development of an Epidemic
Mathematical MODEL
𝑑𝑆
𝑑𝑡
= −𝛽 ∙ 𝑆 ∙ 𝐼
𝑑𝐼
𝑑𝑡
= 𝛽 ∙ 𝑆 ∙ 𝐼 − 𝛾 ∙ 𝐼
𝑑𝑅
𝑑𝑡
= 𝛾 ∙ 𝐼
S is population who is susceptible to catching illness, I
the population infected and R the population that has
passed through the illness and has recuperated.
There are two constants, the rate of infection β and the
rate γ of recuperation.
9
Development of an Epidemic
Mathematical MODEL
10
(01) beta= 0.001
(02) "dI/dt"= beta*S*I-gamma*I
(03) "dR/dt"= gamma*I
(04) "dS/dt"= -beta*I*S
(05) FINAL TIME = 20
(06) gamma= 0.4
(07) I= INTEG ("dI/dt", 100)
(08) INITIAL TIME = 0
(09) R= INTEG ("dR/dt", 0)
(10) S= INTEG ("dS/dt", 900)
(11) SAVEPER = TIME STEP
(12) TIME STEP = 1
Vensim Model and Equation list
Development of an Epidemic
11
Epidemic Model
1000
500
0
0 3 6 9 12 15 18
Time (Month)
S : Current.vdfx
I : Current.vdfx
R : Current.vdfx
Model 2
The mental Model
• Let’s start from creation 3 stocks:
• Add the flow of the vaccinated individuals
• Short cut: Press and hold down the SHIFT key, click inside the initial Level, move
the mouse and click again in each corner of the flow, click inside the final Level.
12
Model 2
The mental Model
• We draw the flow of the exposed and repeat the
process obtaining a set of flows that feed back each
other:
13
Model 2
The mental Model
• Complete the model with the flows of make ill, cure,
and death:
14
Model 2
The mental Model
• We can add shadow variables.
• Pressing the key
A menu opens and we can choose the variable which we
want to copy.
The usefulness of these copies is that we can avoid
producing excessive crossing of arrows in the model.
In our case, we will create the variable Total Population
as the sum of the three possible states:
15
Model 2
The mental Model
16
Model 2
The mental Model
• We can add the remaining elements of the system,
introduce the equations and simulate.
17
Model 2
The mental Model
• The software pre-writes the equations of the stocks
based on how we have drawn the flows.
• The equations are simple as the stocks vary depending
on the entries and exits that we have assigned to them
with their corresponding sign and the flows are, in
general, a product of the value of a stock by the value
of a rate.
18
Model 2
The mental Model
• There are formulas that are slightly more complicated -
those of the infection:
‘make ill’
We can apply the equation formula from the model by
Kermack and McKendrick. According to this model, the
number of people who infect can be calculated as the
product of the number of people susceptible by the
number of people infected by the rate of contagion.
•
𝑑𝐼
𝑑𝑡
= 𝛽 ∙ 𝑆 ∙ 𝐼
19
Model 2
The mental Model
‘stress’
• We create a concept of stress to gather the fact that
depending on the number of people that infect in
relation to the people who are susceptible to infect, a
higher quantity of vaccinations is produced.
20
Model 2
Equations The mental Model
21
(01) Cure= Infected*rate of cure
(02) Dead= Infected*rate of mortality
(03) Exposed= rate of exposition*Recuperated
(04) FINAL TIME = 20
(05) Infected= INTEG ( Make ill-Cure-Dead, 100)
(06) INITIAL TIME = 0
(07) Make ill= Infected*rate of contagion*Susceptible
(08) rate of contagion= 0.001
(09) rate of cure= 0.4
(10) rate of exposition= 0.05
(11) rate of mortality= 0.1
(12) rate of vaccination= 0.5
(13) Recuperated= INTEG (Cure+Vaccinated-Exposed, 0)
(14) SAVEPER = TIME STEP
(15) stress= (Make ill/Susceptible)*rate of vaccination
(16) Susceptible= INTEG (Exposed-Make ill-Vaccinated, 900)
(17) TIME STEP = 1
(18) Total Population= Infected+Recuperated+Susceptible
(19) Vaccinated= stress*Susceptible
Model 2
The mental Model
• Pressing the automatic simulation icon
(SyntheSim) we can observe that in a simultaneous
form the evolution of each variable in the model, and
also simulate the effect of changes on the variables in
the rates that are constant by displacing the cursor to
the cursor to the left and right.
22
Model 2
The mental Model
23
Model 2
The mental Model
• The behaviour of specific variables:
24
Epidemic Dymanics
900
450
0
0 40 80 120 160 200
Time (Month)
Susceptible : 2.vdfx
Infected : 2.vdfx
Recuperated : 2.vdfx

More Related Content

Similar to 010_Development of an IT geoEpidemic.pdf

GraphDiseaseSpreadModels-Threshold&FirefighterCapeTown6-10-07
GraphDiseaseSpreadModels-Threshold&FirefighterCapeTown6-10-07GraphDiseaseSpreadModels-Threshold&FirefighterCapeTown6-10-07
GraphDiseaseSpreadModels-Threshold&FirefighterCapeTown6-10-07
webuploader
 
MathematicallyModelingEpidemicsThroughtheUseoftheReed-FrostEquation
MathematicallyModelingEpidemicsThroughtheUseoftheReed-FrostEquationMathematicallyModelingEpidemicsThroughtheUseoftheReed-FrostEquation
MathematicallyModelingEpidemicsThroughtheUseoftheReed-FrostEquation
Alexander Kaunzinger
 
Running head PROJECT PHASE 4-INFECTIOUS DISEASES1PROJECT PHASE.docx
Running head PROJECT PHASE 4-INFECTIOUS DISEASES1PROJECT PHASE.docxRunning head PROJECT PHASE 4-INFECTIOUS DISEASES1PROJECT PHASE.docx
Running head PROJECT PHASE 4-INFECTIOUS DISEASES1PROJECT PHASE.docx
toltonkendal
 
ICPSR - Complex Systems Models in the Social Sciences - Bonus Content - Profe...
ICPSR - Complex Systems Models in the Social Sciences - Bonus Content - Profe...ICPSR - Complex Systems Models in the Social Sciences - Bonus Content - Profe...
ICPSR - Complex Systems Models in the Social Sciences - Bonus Content - Profe...
Daniel Katz
 
Simulation rules are almost the same to what I coded using Python bu.pdf
Simulation rules are almost the same to what I coded using Python bu.pdfSimulation rules are almost the same to what I coded using Python bu.pdf
Simulation rules are almost the same to what I coded using Python bu.pdf
snewfashion
 
Session ii g3 overview epidemiology modeling mmc
Session ii g3 overview epidemiology modeling mmcSession ii g3 overview epidemiology modeling mmc
Session ii g3 overview epidemiology modeling mmc
USD Bioinformatics
 

Similar to 010_Development of an IT geoEpidemic.pdf (20)

GraphDiseaseSpreadModels-Threshold&FirefighterCapeTown6-10-07
GraphDiseaseSpreadModels-Threshold&FirefighterCapeTown6-10-07GraphDiseaseSpreadModels-Threshold&FirefighterCapeTown6-10-07
GraphDiseaseSpreadModels-Threshold&FirefighterCapeTown6-10-07
 
Ijetr021115
Ijetr021115Ijetr021115
Ijetr021115
 
Ijetr021115
Ijetr021115Ijetr021115
Ijetr021115
 
MathematicallyModelingEpidemicsThroughtheUseoftheReed-FrostEquation
MathematicallyModelingEpidemicsThroughtheUseoftheReed-FrostEquationMathematicallyModelingEpidemicsThroughtheUseoftheReed-FrostEquation
MathematicallyModelingEpidemicsThroughtheUseoftheReed-FrostEquation
 
Running head PROJECT PHASE 4-INFECTIOUS DISEASES1PROJECT PHASE.docx
Running head PROJECT PHASE 4-INFECTIOUS DISEASES1PROJECT PHASE.docxRunning head PROJECT PHASE 4-INFECTIOUS DISEASES1PROJECT PHASE.docx
Running head PROJECT PHASE 4-INFECTIOUS DISEASES1PROJECT PHASE.docx
 
Ijsea04031004
Ijsea04031004Ijsea04031004
Ijsea04031004
 
2.epidemilogic measures
2.epidemilogic measures2.epidemilogic measures
2.epidemilogic measures
 
Sir model cat 1 (1)
Sir model cat 1 (1)Sir model cat 1 (1)
Sir model cat 1 (1)
 
ICPSR - Complex Systems Models in the Social Sciences - Bonus Content - Profe...
ICPSR - Complex Systems Models in the Social Sciences - Bonus Content - Profe...ICPSR - Complex Systems Models in the Social Sciences - Bonus Content - Profe...
ICPSR - Complex Systems Models in the Social Sciences - Bonus Content - Profe...
 
Modeling the Effect of Variation of Recruitment Rate on the Transmission Dyna...
Modeling the Effect of Variation of Recruitment Rate on the Transmission Dyna...Modeling the Effect of Variation of Recruitment Rate on the Transmission Dyna...
Modeling the Effect of Variation of Recruitment Rate on the Transmission Dyna...
 
Modeling and Simulation of Spread and Effect of Malaria Epidemic
Modeling and Simulation of Spread and Effect of Malaria EpidemicModeling and Simulation of Spread and Effect of Malaria Epidemic
Modeling and Simulation of Spread and Effect of Malaria Epidemic
 
Simulation rules are almost the same to what I coded using Python bu.pdf
Simulation rules are almost the same to what I coded using Python bu.pdfSimulation rules are almost the same to what I coded using Python bu.pdf
Simulation rules are almost the same to what I coded using Python bu.pdf
 
An Introduction to Infectious Disease Modeling
An Introduction to Infectious Disease ModelingAn Introduction to Infectious Disease Modeling
An Introduction to Infectious Disease Modeling
 
Session ii g3 overview epidemiology modeling mmc
Session ii g3 overview epidemiology modeling mmcSession ii g3 overview epidemiology modeling mmc
Session ii g3 overview epidemiology modeling mmc
 
A COMPUTER VIRUS PROPAGATION MODEL USING DELAY DIFFERENTIAL EQUATIONS WITH PR...
A COMPUTER VIRUS PROPAGATION MODEL USING DELAY DIFFERENTIAL EQUATIONS WITH PR...A COMPUTER VIRUS PROPAGATION MODEL USING DELAY DIFFERENTIAL EQUATIONS WITH PR...
A COMPUTER VIRUS PROPAGATION MODEL USING DELAY DIFFERENTIAL EQUATIONS WITH PR...
 
Epidemiology of Pandemics: How Mathematical Modeling Informs Public Health Po...
Epidemiology of Pandemics: How Mathematical Modeling Informs Public Health Po...Epidemiology of Pandemics: How Mathematical Modeling Informs Public Health Po...
Epidemiology of Pandemics: How Mathematical Modeling Informs Public Health Po...
 
The SIR Model and the 2014 Ebola Virus Disease Outbreak in Guinea, Liberia an...
The SIR Model and the 2014 Ebola Virus Disease Outbreak in Guinea, Liberia an...The SIR Model and the 2014 Ebola Virus Disease Outbreak in Guinea, Liberia an...
The SIR Model and the 2014 Ebola Virus Disease Outbreak in Guinea, Liberia an...
 
Asymptotic Theory Of An Infectious Disease Model
Asymptotic Theory Of An Infectious Disease ModelAsymptotic Theory Of An Infectious Disease Model
Asymptotic Theory Of An Infectious Disease Model
 
Measuring the occurrences of disease dhanlal
Measuring the occurrences of disease dhanlalMeasuring the occurrences of disease dhanlal
Measuring the occurrences of disease dhanlal
 
Non-Parametric Survival Models
Non-Parametric Survival ModelsNon-Parametric Survival Models
Non-Parametric Survival Models
 

More from adil bhatti

Presentation-Project Management & Financing.pptx
Presentation-Project Management & Financing.pptxPresentation-Project Management & Financing.pptx
Presentation-Project Management & Financing.pptx
adil bhatti
 
Spss Estimation of Multiple Regression ...Adi...
Spss Estimation of Multiple Regression ...Adi...Spss Estimation of Multiple Regression ...Adi...
Spss Estimation of Multiple Regression ...Adi...
adil bhatti
 
Customer care of telenor ...Adi...
Customer care of telenor ...Adi...Customer care of telenor ...Adi...
Customer care of telenor ...Adi...
adil bhatti
 
Financial statement ratio analysis apple...Adi...
Financial statement ratio analysis apple...Adi...Financial statement ratio analysis apple...Adi...
Financial statement ratio analysis apple...Adi...
adil bhatti
 
Company documents ...Adi...
Company documents ...Adi...Company documents ...Adi...
Company documents ...Adi...
adil bhatti
 
Telenor presentation ...Adi...
Telenor presentation ...Adi...Telenor presentation ...Adi...
Telenor presentation ...Adi...
adil bhatti
 

More from adil bhatti (7)

Presentation-Project Management & Financing.pptx
Presentation-Project Management & Financing.pptxPresentation-Project Management & Financing.pptx
Presentation-Project Management & Financing.pptx
 
Allama Iqbal
Allama Iqbal Allama Iqbal
Allama Iqbal
 
Spss Estimation of Multiple Regression ...Adi...
Spss Estimation of Multiple Regression ...Adi...Spss Estimation of Multiple Regression ...Adi...
Spss Estimation of Multiple Regression ...Adi...
 
Customer care of telenor ...Adi...
Customer care of telenor ...Adi...Customer care of telenor ...Adi...
Customer care of telenor ...Adi...
 
Financial statement ratio analysis apple...Adi...
Financial statement ratio analysis apple...Adi...Financial statement ratio analysis apple...Adi...
Financial statement ratio analysis apple...Adi...
 
Company documents ...Adi...
Company documents ...Adi...Company documents ...Adi...
Company documents ...Adi...
 
Telenor presentation ...Adi...
Telenor presentation ...Adi...Telenor presentation ...Adi...
Telenor presentation ...Adi...
 

Recently uploaded

Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
FIDO Alliance
 
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
Muhammad Subhan
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
FIDO Alliance
 

Recently uploaded (20)

ChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps Productivity
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
 
Frisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdf
Frisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdfFrisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdf
Frisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdf
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
 
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
 
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
 
How to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cfHow to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cf
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
 
Generative AI Use Cases and Applications.pdf
Generative AI Use Cases and Applications.pdfGenerative AI Use Cases and Applications.pdf
Generative AI Use Cases and Applications.pdf
 
Vector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptxVector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptx
 
Top 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development CompaniesTop 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development Companies
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and Insight
 
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!
 

010_Development of an IT geoEpidemic.pdf

  • 1. Viktors Gopejenko Department of Natural Sciences and Computer Technologies Professor, Dr. sc. ing. Mathematic Simulation Course Paper 1 Development of an Epidemic ISMA University of Applied Sciences Riga, Latvia
  • 2. Development of an Epidemic • Let us imagine a population that is initially healthy. • In this population a number people infected with a contagious disease appear. • An individual could transmit or catch the illness from other individuals. The transmission of the illness is due to the physical proximity. 2
  • 3. Development of an Epidemic • During the infectious process the individuals can pass through some or all of the following states: • Susceptible (S), the state in which the individual can catch the illness from another infected person. • Infected (I), the state in which the individual finds himself infected and can infect others. • Recuperated (R), or cured, the state during which the individual can not infect or be infected because he will have acquired an immunity (temporary or permanent) nor can he infect others as he has recuperated or has passed through the contagious stage of the illness. 3
  • 4. Development of an Epidemic • In the various infectious diseases, we can find two principle groups: • Those that produce immunity (temporary or permanent) in individuals who have been infected and have since recuperated. The majority of these illnesses are of viral origin (sarampion, varicela, poliomyelitis). • Those that, once recuperated, may turn again to susceptibility. These illnesses are mainly caused by bacterial agents (venereal disease, pest and some forms of meningitis) or protozoos (malaria). 4
  • 5. Development of an Epidemic • Bearing in mind the different states in the infectious process, the epidemiological models can be divided into three big groups: • SIR: The model susceptible-infected-recuperated, related to illnesses that produce permanent immunity and a typical cycle that includes the three states. This does not mean that all the individuals of the population must pass through these stages, some will not be infected and remain healthy, in other words, they will remain in state (S). Others will be immunised artificially by vaccination or another method and will pass directly to state (R) without having been infected. 5
  • 6. Development of an Epidemic • SIRS: The model susceptible-infected-recuperated- susceptible, the same as the previous model but applicable in cases where the immunity is not permanent and the individual is again susceptible after a certain amount of time, such as the ‘flu. • SIS: The model susceptible-infected-susceptible is used in cases where the illness does not produce immunity, the individual can pass from being infected to being susceptible again skipping the recuperation stage completely. 6
  • 7. Development of an Epidemic • A model can bear in mind the vital dynamics of the population (births, deaths, migratory movements) depending on the temporal horizon studied, the characteristics of the illness and the population being studied. 7
  • 8. THE MODEL Development of an Epidemic • We are going to use one of the most well known epidemiological models in biology as a reference for our model. It is Kermack and McKendrick that is expressed as: 𝑑𝑆 𝑑𝑡 = −𝛽 ∙ 𝑆 ∙ 𝐼 𝑑𝐼 𝑑𝑡 = 𝛽 ∙ 𝑆 ∙ 𝐼 − 𝛾 ∙ 𝐼 𝑑𝑅 𝑑𝑡 = 𝛾 ∙ 𝐼 8
  • 9. Development of an Epidemic Mathematical MODEL 𝑑𝑆 𝑑𝑡 = −𝛽 ∙ 𝑆 ∙ 𝐼 𝑑𝐼 𝑑𝑡 = 𝛽 ∙ 𝑆 ∙ 𝐼 − 𝛾 ∙ 𝐼 𝑑𝑅 𝑑𝑡 = 𝛾 ∙ 𝐼 S is population who is susceptible to catching illness, I the population infected and R the population that has passed through the illness and has recuperated. There are two constants, the rate of infection β and the rate γ of recuperation. 9
  • 10. Development of an Epidemic Mathematical MODEL 10 (01) beta= 0.001 (02) "dI/dt"= beta*S*I-gamma*I (03) "dR/dt"= gamma*I (04) "dS/dt"= -beta*I*S (05) FINAL TIME = 20 (06) gamma= 0.4 (07) I= INTEG ("dI/dt", 100) (08) INITIAL TIME = 0 (09) R= INTEG ("dR/dt", 0) (10) S= INTEG ("dS/dt", 900) (11) SAVEPER = TIME STEP (12) TIME STEP = 1 Vensim Model and Equation list
  • 11. Development of an Epidemic 11 Epidemic Model 1000 500 0 0 3 6 9 12 15 18 Time (Month) S : Current.vdfx I : Current.vdfx R : Current.vdfx
  • 12. Model 2 The mental Model • Let’s start from creation 3 stocks: • Add the flow of the vaccinated individuals • Short cut: Press and hold down the SHIFT key, click inside the initial Level, move the mouse and click again in each corner of the flow, click inside the final Level. 12
  • 13. Model 2 The mental Model • We draw the flow of the exposed and repeat the process obtaining a set of flows that feed back each other: 13
  • 14. Model 2 The mental Model • Complete the model with the flows of make ill, cure, and death: 14
  • 15. Model 2 The mental Model • We can add shadow variables. • Pressing the key A menu opens and we can choose the variable which we want to copy. The usefulness of these copies is that we can avoid producing excessive crossing of arrows in the model. In our case, we will create the variable Total Population as the sum of the three possible states: 15
  • 16. Model 2 The mental Model 16
  • 17. Model 2 The mental Model • We can add the remaining elements of the system, introduce the equations and simulate. 17
  • 18. Model 2 The mental Model • The software pre-writes the equations of the stocks based on how we have drawn the flows. • The equations are simple as the stocks vary depending on the entries and exits that we have assigned to them with their corresponding sign and the flows are, in general, a product of the value of a stock by the value of a rate. 18
  • 19. Model 2 The mental Model • There are formulas that are slightly more complicated - those of the infection: ‘make ill’ We can apply the equation formula from the model by Kermack and McKendrick. According to this model, the number of people who infect can be calculated as the product of the number of people susceptible by the number of people infected by the rate of contagion. • 𝑑𝐼 𝑑𝑡 = 𝛽 ∙ 𝑆 ∙ 𝐼 19
  • 20. Model 2 The mental Model ‘stress’ • We create a concept of stress to gather the fact that depending on the number of people that infect in relation to the people who are susceptible to infect, a higher quantity of vaccinations is produced. 20
  • 21. Model 2 Equations The mental Model 21 (01) Cure= Infected*rate of cure (02) Dead= Infected*rate of mortality (03) Exposed= rate of exposition*Recuperated (04) FINAL TIME = 20 (05) Infected= INTEG ( Make ill-Cure-Dead, 100) (06) INITIAL TIME = 0 (07) Make ill= Infected*rate of contagion*Susceptible (08) rate of contagion= 0.001 (09) rate of cure= 0.4 (10) rate of exposition= 0.05 (11) rate of mortality= 0.1 (12) rate of vaccination= 0.5 (13) Recuperated= INTEG (Cure+Vaccinated-Exposed, 0) (14) SAVEPER = TIME STEP (15) stress= (Make ill/Susceptible)*rate of vaccination (16) Susceptible= INTEG (Exposed-Make ill-Vaccinated, 900) (17) TIME STEP = 1 (18) Total Population= Infected+Recuperated+Susceptible (19) Vaccinated= stress*Susceptible
  • 22. Model 2 The mental Model • Pressing the automatic simulation icon (SyntheSim) we can observe that in a simultaneous form the evolution of each variable in the model, and also simulate the effect of changes on the variables in the rates that are constant by displacing the cursor to the cursor to the left and right. 22
  • 23. Model 2 The mental Model 23
  • 24. Model 2 The mental Model • The behaviour of specific variables: 24 Epidemic Dymanics 900 450 0 0 40 80 120 160 200 Time (Month) Susceptible : 2.vdfx Infected : 2.vdfx Recuperated : 2.vdfx