The Covid-19 disease represents one of the greatest challenges in public health in recent years. The disease is spreading at an astonishing pace and we are not equipped to block it's expansion. This project was created in the frame of CodeVsCovid-19, a Hackathon organised between 27 and 30 March 2020. The hackathon aims at providing innovative solutions against the coronavirus.
We created an interactive model to simulate the spread of the covid-19 disease.
The aim of the model is to help people understand why quarantine is a very effective measure.
The model consists of a map with moving dots representing people. We start with a healthy population and only some infected individuals. When two dots collide, the disease can be transmitted. After a while, people show symptoms and go to hospital. Older people have a higher priority than others in using the hospital. Depending on their age, they have a certain probability of being cured or dying. If the hospital is full and they cannot be treated by doctors, they have a greater chance of dying.
We can choose parameters for the simulation such as:
- the number of sick people needed to trigger the lockdown;
- the probability of transmission;
- who wears protections (masks, gloves) that decrease the probability of transmission;
- the size of the dots which (the bigger they are, the smaller the social distance);
- and many more ...
Part of the population is made up of doctors. Doctors can freely go to hospitals and visit people in their homes, even when the lockdown is active. They also have a higher protection priority.
Check out the demo video of the model below.
Our code is available in open access here.