Bug description
Dynamic NPIs are renewed only after the current NPI has expired. Because contact dampings use a one-day smoothing window for lifting, the simulation can already advance through a partial lifting interval before the keep-alive renewal is applied.
This can create small artificial spikes in compartments such as Exposed, even though the threshold is still exceeded and the NPI should stay active continuously.
Version
Any
To reproduce
The effect is visible in tutorials/tutorial11.py with threshold-based dynamic NPIs. In the dynamic-NPI scenario, Exposed shows short upward spikes around renewal times.
Relevant log output
Add any relevant information, e.g. used compiler, screenshots.
Checklist
Bug description
Dynamic NPIs are renewed only after the current NPI has expired. Because contact dampings use a one-day smoothing window for lifting, the simulation can already advance through a partial lifting interval before the keep-alive renewal is applied.
This can create small artificial spikes in compartments such as
Exposed, even though the threshold is still exceeded and the NPI should stay active continuously.Version
Any
To reproduce
The effect is visible in
tutorials/tutorial11.pywith threshold-based dynamic NPIs. In the dynamic-NPI scenario,Exposedshows short upward spikes around renewal times.Relevant log output
Add any relevant information, e.g. used compiler, screenshots.
Checklist