View on GitHub

covid-simulator

Application simulating the spread of COVID-19

COVID-19 Simulator

Python package

Software License Stars

This project simulates the spread of COVID-19 in a controlled set of population with colorcodes.

Screenshot

How does it work?

Variables involved

This simulation is based on the current statistics of the COVID-19 pandemic. Here are the variables used in this simulation:

Cases

A person might have different duration in which the one might experience mild, severe symptoms. If these symptoms persist for a longer duration of time, the patient is more likely to die of the virus. However, if the symptoms are mild enough, one may recover from it.

But, if one is exposed to the virus, he/she will be incubated for a certain period after which these symptoms might be severe or mild.

How to run?

Follow these steps to see the simulation:

  1. Clone this repo

  2. Open a terminal/command prompt inside the repository and issue:
    pip install numpy matplotlib
    
  3. Now, issue this command:
    python simulation.py