Skip to content

Lockdown

Note

See social isolation to see how lockdown affects particles.

The lockdown measure works by possibly altering the isol_pct_time_series keyword's value during a certain period of time. The parameters that influence this value are

  • lockdown: a boolean value that informs if the lockdown measure is to be applied to the community or not.
  • lockdown_adhere_percent: a float value for the percentage of the population adhering to the lockdown measure. During lockdown, the percentage of the population effectively being isolated home is given by the maximum value between lockdown_adhere_percent keyword's value and isol_pct_time_series keyword's value for that day.
  • lockdown_decision_offset: a float for a time period in days. This number is used to delay the decision on whether to start or end the lockdown measure.

Important

When lockdown is set to true, the user must configure the type of decision used to start or end lockdowns.

Important

Lockdown depends on social isolation mechanics to work, when lockdown is set to True the user must also set social_isolation = True

Tip

To run lockdown with no social isolation on the days lockdown is not active the user can set isol_pct_time_series to zero:

parameters['isol_pct_time_series'] = np.full(parameters['number_of_days'], 0.)