An open API service indexing awesome lists of open source software.

https://github.com/jerr-it/episim

Epidemics simulation in Rust
https://github.com/jerr-it/episim

hacktoberfest simulation

Last synced: about 1 year ago
JSON representation

Epidemics simulation in Rust

Awesome Lists containing this project

README

          

Episim


Simulating epidemics

Configuration


Each configuration has its own folder consisting of two files. Check the example configurations if in doubt.



  • core.cfg. Contains various simulation parameters.

  • demographic.csv. Determines the demographic composition of the simulations population. CSV files for countries can be downloaded at populationpyramid.net

  • (Source code). Toggle the live visualisation by uncommenting the one you want to use (main.rs). Keep in mind the graphic version will take longer to run.

  • (Source code). You can adjust the source code to adjust the simulation parameters. Some parameters, such as the functions computing the infection and survival chances, are easily accessible via the static config object in main.rs. Serializing these could be a future improvement.

Gallery





Higher test rate





Shorter recovered period





Pyramid demographic





Without reinfection