This is a simplistic multi-agent simulation of how COVID-19 can spread.
run.py
: Example python module for running the simulation. The simulation settings can be changed here.
server.py
: Visualization module that uses a web browser for visualizing the simulation. Running this will display the simulation grid and a chart of results that can be stepped through or run continuously.
model.py
: The simulation model.
person.py
: Agent model that represents one person.
This was adapted from a simulation created by Maple Rain Research Co., Ltd.
We've introduced hospitalization, hospital capacity, and lockdown policies.
Some additional information on the original simulation can be found here here.
This simulation uses the Mesa Mesa framework.