Difference between revisions of "Simulation of pandemic spread"
(→Model) |
|||
Line 36: | Line 36: | ||
===End of the simulation=== | ===End of the simulation=== | ||
The simulation ends when the virus stops spreading and the number of infected drops to zero, or when the number of infected equals the population size, or when the virus kills off the entire population. | The simulation ends when the virus stops spreading and the number of infected drops to zero, or when the number of infected equals the population size, or when the virus kills off the entire population. | ||
+ | |||
+ | =Predefined viruses= | ||
+ | The model offers the possibility to choose a predefined virus or to choose a custom scenario where the user defines their own variable values. | ||
+ | Once a virus is selected, its transmission rate and mortality rate are set. | ||
+ | |||
+ | ===Covid-19=== | ||
+ | Covid-19, caused by the novel coronavirus SARS-CoV-2, emerged in late 2019 and quickly developed into a global pandemic. It primarily spreads through respiratory droplets, causing a range of symptoms from mild respiratory issues to severe pneumonia, with a heightened risk for older adults and those with underlying health conditions. | ||
+ | R0 = | ||
+ | |||
+ | ===Spanish Influenza=== | ||
+ | The Spanish Influenza, which occurred in 1918, was an exceptionally deadly H1N1 influenza A virus that caused a devastating pandemic. | ||
+ | |||
+ | ===Seasonal Influenza=== | ||
+ | Seasonal Influenza, or the flu, is an annual respiratory illness caused by influenza viruses. It typically circulates during the colder months and can lead to fever, cough, and muscle aches. | ||
+ | |||
+ | ===Measles=== | ||
+ | Measles is a highly contagious viral infection, primarily affecting children, characterized by a distinctive rash and fever. | ||
+ | |||
+ | ===SARS=== | ||
+ | SARS (Severe Acute Respiratory Syndrome) emerged in 2002, caused by a coronavirus (SARS-CoV), resulting in severe respiratory distress. | ||
+ | |||
+ | ===Ebola=== | ||
+ | Ebola, a severe and often fatal viral hemorrhagic fever, gained global attention during outbreaks in Africa. It causes internal bleeding and multiple organ failure, with a high mortality rate. | ||
=Variables= | =Variables= |
Revision as of 14:24, 11 January 2024
Title: Simulation of pandemic spread
Author: Daniel Kopecký
Method: Agent-based model
Tool: NetLogo
Contents
Introduction and problem definition
Not so long ago we had the COVID-19 pandemic, which showed us the shortcomings in dealing with this type of problem. Pandemic propagation simulation can be a key tool to model, analyse and predict the evolution of a pandemic. This model deals specifically with viral diseases. The aim of this simulation is to be able to predict the spread of a pandemic virus, whereby using appropriate values, it can simulate the approximate development of a pandemic in the Czechia.
Method
An agent-based model in NetLogo is used to simulate the spread of the pandemic. This allows us to code our own scenario using different variables and helps us to get closer to the real pandemic evolution.
Model
The model contains a map of the Czechia, where the selected population is randomly scattered at the beginning of the simulation. The inhabitants can move freely within the entire rendered territory. The selected population is already infected and by running the simulation they can infect other uninfected citizens. The model offers to create a custom scenario where the user sets their own variable values. It is also possible to choose from preset viruses that set the variables for the user.
Environment
The model is reserved for the Czechia. This was achieved using a silhouette of the Czech Republic that was uploaded to NetLogo using this code: import-pcolors "cesko.png".
Agents
People are represented by agents who have three different colors. People who are healthy, but not immune, are green. These people can also be infected by infected individuals. The red colour is used for people who are infected. So these people can spread the virus, get better or die from the virus. Individuals who have had the virus and are now immune to the virus are blue.
Movement
People move randomly around the territory of the Czechia. During their movement they may meet other individuals from whom they could potentially be infected.
Spread of infection
The original infected individuals can infect any individual that comes into their vicinity. The variables qurantine.effort, trasmission.rate, and the number of infected around an uninfected individual affect whether an individual becomes infected. If an individual has already been infected but has recovered, this means that it has immunity and therefore cannot be re-infected. Immunity can be turned off when setting up the model.
Recovery from infection
Individuals who are infected have a chance to recover, which is set by the recovery.rate variable. If they recover and immunity is on, the individual's color will change to blue. If immunity is off, the color of the individual will change to green.
Death
If an individual is infected, there is a chance that they will die. This is affected by two variables, namely healthcare.capacity and infected-mortality. Healthcare.capacity is the spare capacity of healthcare facilities. The value ranges from 0 to 1 and represents the maximum % of the population that can be hospitalized at one time. If the % of infected in the population exceeds the capacity limit of the healthcare facilities, the probability of an individual dying rises.
End of the simulation
The simulation ends when the virus stops spreading and the number of infected drops to zero, or when the number of infected equals the population size, or when the virus kills off the entire population.
Predefined viruses
The model offers the possibility to choose a predefined virus or to choose a custom scenario where the user defines their own variable values. Once a virus is selected, its transmission rate and mortality rate are set.
Covid-19
Covid-19, caused by the novel coronavirus SARS-CoV-2, emerged in late 2019 and quickly developed into a global pandemic. It primarily spreads through respiratory droplets, causing a range of symptoms from mild respiratory issues to severe pneumonia, with a heightened risk for older adults and those with underlying health conditions. R0 =
Spanish Influenza
The Spanish Influenza, which occurred in 1918, was an exceptionally deadly H1N1 influenza A virus that caused a devastating pandemic.
Seasonal Influenza
Seasonal Influenza, or the flu, is an annual respiratory illness caused by influenza viruses. It typically circulates during the colder months and can lead to fever, cough, and muscle aches.
Measles
Measles is a highly contagious viral infection, primarily affecting children, characterized by a distinctive rash and fever.
SARS
SARS (Severe Acute Respiratory Syndrome) emerged in 2002, caused by a coronavirus (SARS-CoV), resulting in severe respiratory distress.
Ebola
Ebola, a severe and often fatal viral hemorrhagic fever, gained global attention during outbreaks in Africa. It causes internal bleeding and multiple organ failure, with a high mortality rate.
Variables
- init-population - Population at the beginning of the simulation
- init-infected - Number of infected at the start of the simulation
- recovery.rate - Rate of recovery of infected individuals
- init-immune - Number of immune individuals at the beginning of the simulation
- quarantine.effort - Quarantine effort (affects the chance of infecting an individual)
- transmission.rate - Rate of virus transmission between individuals
- infected-mortality - Virus mortality rate
- healthcare.capacity - Capacity of health facilities (affects the rate of death of individuals)
- immunity? - Turns immunity on or off