laser.measles.abm.components.process_wpp_vital_dynamics
laser.measles.abm.components.process_wpp_vital_dynamics
Initializes the age distribution of the population and enforces age structure with age based mortality
laser.measles.abm.components.process_wpp_vital_dynamics.WPPVitalDynamicsProcess(model, verbose=False, params=None)
Bases: BasePhase
laser.measles.abm.components.process_wpp_vital_dynamics.WPPVitalDynamicsProcess.calculate_capacity(model, buffer=0.05)
Estimate the agent-array capacity needed for the full simulation.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
model
|
ABMModel
|
The ABM model instance. |
required |
buffer
|
float
|
Fractional safety margin above the projected population. |
0.05
|
laser.measles.abm.components.process_wpp_vital_dynamics.WPPVitalDynamicsProcess.calculate_wpp_total_pop(year)
Return the total WPP population for the given calendar year.