NoBirthsProcess#

class NoBirthsProcess(model, verbose=False, params=None)[source]#

Bases: BaseVitalDynamicsProcess

Component for setting the population of the patches to not have births.

Initialize the component.

Parameters:
  • model (BaseLaserModel) – The model instance this component belongs to.

  • verbose (bool) – Whether to enable verbose output. Defaults to False.

__call__(model, tick)[source]#

Execute component logic for a given simulation tick.

Parameters:
  • model – The model instance.

  • tick – The current simulation tick.

Return type:

None

calculate_capacity(model)[source]#

Calculate the capacity of the people laserframe.

Parameters:

model (ABMModel) – The ABM model instance

Return type:

int

Returns:

The total population capacity needed across all patches