ImportationPressureProcess#
- class ImportationPressureProcess(model, verbose=False, params=None)[source]#
Bases:
BasePhaseComponent for simulating the importation pressure in the model.
This component handles the simulation of disease importation into the population. It processes: - Importation of cases based on crude importation rate - Time-windowed importation (start/end times) - Population updates: Moves individuals from susceptible to exposed state
- Parameters:
model (object) – The simulation model containing nodes, states, and parameters
verbose (
bool) – Whether to print verbose output during simulationparams (
ImportationPressureParams|None) – Component-specific parameters. If None, will use default parameters
Notes
Importation rates are calculated per year
Importation is limited to the susceptible population
All state counts are ensured to be non-negative
Initialize the component.
- Parameters:
model – The model instance this component belongs to.
verbose (
bool) – Whether to enable verbose output. Defaults to False.