Skip to main content

Orstein-Uhlenbeck pandemic simulation

Project description

Pandemic

An agent model in which commuting, compliance, testing and contagion parameters drive infection in a population. Agents follow OU drift processes on the plane. Viral load is estimated from geohashing. A population of 5,000,000 or so can be used without computational issue.

Motivaton

Covered in this post with the followup here where possible improvements are also discussed and acknowledgements are made.

The author is not an epidemiologist. The model expresses no opinions on the health aspects of COVID-19. The model offers a novel motion model with some interesting analytic properties also discussed in the article referenced above.

Usage

pip install pandemic
>> from pandemic import run
>> run()

See also examples of library use and examples of using the public database of simulations generated by this model.

Crowd-sourced surrogate model

See SwarmPrediction.com for an explanation of a SETI-like project to crowd-source a surrogate model.

Basic elements of the model

Covered in detail in this article

Contributing

Opinions and issues are most welcome.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pandemic-0.3.12.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pandemic-0.3.12-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file pandemic-0.3.12.tar.gz.

File metadata

  • Download URL: pandemic-0.3.12.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.6

File hashes

Hashes for pandemic-0.3.12.tar.gz
Algorithm Hash digest
SHA256 a23ad24d524d586b6da48389a891da933a880f188a2bc7a77d34ba14ac39a054
MD5 91706d274e429aff805647c0bde1c23b
BLAKE2b-256 817083027d3d2790b3a5d69db8bf1c4270d5382ca0918fbdcf25abc8013ca804

See more details on using hashes here.

File details

Details for the file pandemic-0.3.12-py3-none-any.whl.

File metadata

  • Download URL: pandemic-0.3.12-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.6

File hashes

Hashes for pandemic-0.3.12-py3-none-any.whl
Algorithm Hash digest
SHA256 39b3292a5b07f54ffb73e760b148c241238db3322deadae31e19e55336407270
MD5 48bd827d1f4e0b0a8293c4831098ecd0
BLAKE2b-256 19fe3322b44bbf713caf3e4830795faf7d01e0102855408eeb77b0d4dc3a431c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page