Creator¶
- class archABM.creator.Creator(env: simpy.core.Environment, config: dict, db: archABM.database.Database)[source]¶
Initializes the required assets to run a simulation:
Options
,AerosolModel
,Event
,Place
,Actions
,Person
.- create_options() → archABM.options.Options[source]¶
Initializes general
Options
for the simulation.
- create_events() → List[archABM.event_model.EventModel][source]¶
Initializes list of
EventModel
and their respectiveParameters
.- Returns
types of events or activities
- Return type
List[EventModel]
- create_places() → List[archABM.place.Place][source]¶
Initializes list of
Place
and their respectiveParameters
.- Returns
list of available places
- Return type
List[Place]
- create_actions() → archABM.actions.Actions[source]¶
Initializes instance of class
Actions
.
- create_people() → List[archABM.person.Person][source]¶
Initializes list of
Person
and their respectiveParameters
.It also sets the status of certain
Person
fromsusceptible
toinfected
. This is controlled by theratio_infected
configuration parameter.- Returns
simulation people
- Return type
List[Person]
- create_model()[source]¶
Initializes the selected COVID19 aerosol model.
At the moment, there are three models available:
AerosolModelColorado
: COVID-19 Airborne Transmission Estimator [MNJ+21, PBB+21, PJ21]AerosolModelMIT
: MIT COVID-19 Indoor Safety Guideline [BB21, BKC+21, RBJ+21]AerosolModelMaxPlanck
: Model Calculations of Aerosol Transmission and Infection Risk of COVID-19 in Indoor Environments [LHB+20]
- Returns
selected aerosol model
- Return type