Giter Site home page Giter Site logo

covid19_abs's Introduction

COVID19_ABS

A Python3 Agent-Based Simulator for the 2019 novel coronavirus

Introduction

This simple simulator is used to illustrate the effects of various social behaviors on the spread and impact of COVID19. The project was inspired by https://www.washingtonpost.com/graphics/2020/world/corona-simulator/ which brilliantly illustrates the same. However, these simulations are a bit limited in that they model iteractions from a kinetic theory billiard-ball perspective. The virus isn't just spread from direct human-to-human contact, but from surfaces etc. Our simulator was designed from the ground-up to study environmental transmission. We use natural human behaviors for local movement, and also include other factors like the ability to clean one's local environment. Unlike the existing social distancing models that freeze-out the mobile degrees of freedom of the individuals, ours gives the agents varying propensity for making smart choices to stay away from their neighbors. We also use actual COVID-19 and world population statistics to govern infection data, etc, where applicable.

Dependencies

numpy, scipy, matplotlib

Execution

The scripts and classes are internally documenting, and the simulate.py script contains a user interface section for playing with the model. Running that script is all that is necessary to see the simulations.

Future work

We aim to include elements like re-infection possibilities, as well as hospital capacity and influence on death rates. We also aim to calibrate the infection rates to map even more directly onto the latest knowledge about COVID-19. This project is just for fun to gain intuition for how a virus like COVID-19 spreads, and should not be used to make any healthcare decisions. This being said, clean up and socially distance yourselves!

covid19_abs's People

Contributors

jlombs avatar

Stargazers

kcn avatar  avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.