LEMMAABMv4
is an agent-based model of COVID-19 transmission dynamics, currently parameterized to represent the city and county of San Francisco. Future development may focus on generalizing data importation and processing for use in other settings. Transmission proceeds through a modified Susceptible-Exposed-Infected-Recovered (SEIR) model that allows for inclusion of pre- and asymptomatic states (
devtools::install_github("cmhoove14/LEMMAABMv4")
Installation will load all scripts necessary to set up and simulate the model, but the data
folder also contains pre-processed data inputs that will allow users to simulate the model right out of the box. Forking the repository may therefore be the best route to quick and easy setup and simulation.
The main simulation function is covid_abm_v4
which takes inputs:
bta_base
- baseline transmission probabilitybta_hh
- multiplier on household transmission probabilitybta_work
- multiplier on workplace transmission probabilitybta_sip_red
- multiplier on transmission probability following onset of first shelter in place to account for microbehaviors affecting transmission that are not explicitly included in the modeldata_inputs
- all data inputs including synthetic agents, safegraph movement and stay at home metrics, etc. see documentationinput_pars
- list of lists with additional model parameters and setupvax_phases
- list of lists delineating vaccine phasesvisitors
- logical of whether to model visitors into target population (requires visitors setup indata_inputs
)testing
- logical of whether to model testingadaptive
- logical of whether to model adaptive testingvaccination
- logical of whether to model vaccinationverbose
- logical of whether to return progress summaries at each time stepstore_extra
- logical of whether to store extra output files from simulation
The bash
folder also contains scripts to run in parallel via bash scripts in which model inputs are passed in shell