Welcome to Covasim#
Covasim is a stochastic agent-based simulator, written in Python, for exploring and analyzing the COVID-19 epidemic.
There’s a lot here, where should I start?
Take a quick look at the overview, which provides a general introduction.
When you’re ready to sink your teeth in, the tutorials will help you get started using Covasim.
If you’re looking for a specific feature or keyword, you should be able to find it with the search feature (top right).
Still have questions? Send us an email at info@covasim.org. We’re happy to help!
Full contents#
- Overview
- Tutorials
- What’s new
- Coming soon
- Latest versions (3.1.x)
- Versions 3.0.x (3.0.0 – 3.0.7)
- Versions 2.x (2.0.0 – 2.1.2)
- Versions 1.7.x (1.7.0 – 1.7.6)
- Versions 1.6.x (1.6.0 – 1.6.1)
- Versions 1.5.x (1.5.0 – 1.5.3)
- Versions 1.4.x (1.4.0 – 1.4.8)
- Versions 1.3.x (1.3.0 – 1.3.5)
- Versions 1.2.x (1.2.0 – 1.2.3)
- Versions 1.1.x (1.1.0 – 1.1.7)
- Versions 1.0.x (1.0.0 – 1.0.3)
- Prerelease versions (0.27.0 – 0.32.1)
- Version 0.32.1 (2020-05-06)
- Version 0.32.0 (2020-05-05)
- Version 0.31.0 (2020-05-05)
- Version 0.30.4 (2020-05-04)
- Version 0.30.3 (2020-05-03)
- Version 0.30.2 (2020-05-02)
- Version 0.30.1 (2020-05-02)
- Version 0.30.0 (2020-05-02)
- Version 0.29.9 (2020-04-28)
- Version 0.29.8 (2020-04-28)
- Version 0.29.7 (2020-04-27)
- Version 0.29.6 (2020-04-27)
- Version 0.29.5 (2020-04-26)
- Version 0.28.8 (2020-04-24)
- Version 0.28.1 (2020-04-19)
- Version 0.28.0 (2020-04-19)
- Version 0.27.12 (2020-04-17)
- Version 0.27.0 (2020-04-16)
- FAQ
- Usage questions
- What are the system requirements for Covasim?
- Can Covasim be run on HPC clusters?
- What method is best for saving simulation objects?
- Does Covasim support time-dependent parameters?
- How can you introduce new infections into a simulation?
- How can I find out what happened to a particular individual during the simulation?
- How do you set custom prognoses parameters (mortality rate, susceptibility etc.)?
- I want to generate a contact network for <insert location here>. How do I do this?
- Is it possible to model interacting geographical regions?
- Is it possible to model births, non-COVID deaths, or migration?
- I really don’t like Python, can I run Covasim via R?
- Conceptual questions
- What are the relationships between population size, number of agents, population scaling, and total population?
- Are test results counted from swab date or result date?
- Is the underlying model capable of generating oscillations?
- Why doesn’t anyone start off as infectious?
- What are the valid states an agent can be in?
- Common problems
- Usage questions
- API reference
- Publications
- Parameters
- Population parameters
- Simulation parameters
- Rescaling parameters
- Basic disease transmission
- Network parameters
- Multi-strain parameters
- Immunity parameters
- Strain-specific parameters
- Time for disease progression
- Time for disease recovery
- Severity parameters
- Efficacy of protection measures
- Events and interventions
- Health system parameters
- Data scrapers
- Glossary
- Code of conduct
- Contributing to Covasim
- Style guide
- Design philosophy
- House style
- 2.8 Default Iterators and Operators (GSG28)
- 2.21 Type Annotated Code (GSG221)
- 3.2 Line length (GSG32)
- 3.5 Blank Lines (GSG35)
- 3.6 Whitespace (GSG36)
- 3.8.5 Block and Inline Comments (GSG385)
- 3.10 Strings (GSG310)
- 3.13 Imports formatting (GSG313)
- 3.14 Statements (GSG314)
- 3.16 Naming (GSG316)
- Parting words