Giter Club home page Giter Club logo

covid19_bus_model's Introduction

Capstone Project dsc180B Covid-19 Transmission in Buses

In order to install mesa-geo and rtree, we have copied Johnny Lei's README file from our domain repo. Here it is:

Install MESA

Install ABM package MESA with:

pip install mesa

Install MESA-geo

If you are using a Mac Machine: Install rtree FIRST with conda (there seems to exist a distribution issue with pip specificly to Mac):

conda install rtree

Install geospatial-enabled MESA extension mesa-geo with:

pip install mesa-geo

end of credit to J.L

How to run

Open terminal, change to the directory of the code, then type in the following command

python run.py

or if you want to run the code with your own parameters in config/test.json

python run.py test

Logistics

We are using Agent-Based-Modeling to simulate covid-19 transmission in Buses. In order to run this simulation, you could change the parameters in config/test.json to simulate different scenarios.

This simulation start with an empty bus. The bus is scheduled to stop at a certain number of stops at certain times, picking up certain number of students. All these parameters are adjustable. As the bus continues, the sick students in the bus transmit the virus by normal activities like talking and breathing, and also coughing, sneezing, etc. This model stops the simulation at the end of a trip where the bus reaches the school (destination). Then this model creates a graph of the number of healthy and sick(if they received the virus) students every minute. There is also a gif of the simulation that shows the position of each student, the time since start, and the layout of the bus.

covid19_bus_model's People

Contributors

aas050 avatar

Stargazers

Marco Franzon avatar

Watchers

 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.