Mankind is having a hard time fighting Covid-19. As master's students in bioinformatics and modeling, we decided that we had to act and build something. The main strategy of our governments is lockdown. Some people and countries don't agree with that. Here, our disease spread modeler comes in handy. By allowing everyone to play with the spread of disease, we can help them understand what the best solution is and why quarantine is very effective if it is put in place early enough and if everyone respects it.
What it does
The model consists of a map with moving dots (people). We start with a healthy population and an infection carrier. When two dots collide, the disease can be transmitted. After a while, people show symptoms and go to 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. Older people have a higher priority than others in using the hospital.
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.
How we built it
We used a simple Python script with the Turtle, Matplotlib, Pandas and Tkinter libraries.
The challenges we faced
We are not used to large group projects, so we had to be organised and efficient in order to share the work.