Covasim: An agent-based model of COVID-19 dynamics and interventions | PLOS Computational Biology
Skip to main content
Advertisement

< Back to Article

Covasim: An agent-based model of COVID-19 dynamics and interventions

Fig 9

(A) Illustrative example of a scenario comparison using a simple custom intervention ("protecting the elderly", i.e. removing all transmission among people over age 70 after a certain date). (B) Full listing of the code for this simulation, showing the intervention definition (lines 3–6), and a compact way of creating the simulations, running them in parallel, and plotting them (lines 8–11).

Fig 9

doi: https://doi.org/10.1371/journal.pcbi.1009149.g009