generated from epiverse-trace/packagetemplate
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vaccination counts lead to negative susceptibles #226
Comments
This was referenced Apr 30, 2024
A few thoughts on this issue:
The workable solution is probably to manually change the number of vaccinations so that the Happy to hear solutions on this that could work for this situation. |
pratikunterwegs
added a commit
that referenced
this issue
May 24, 2024
pratikunterwegs
added a commit
that referenced
this issue
May 24, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue is a subset of #224, where simulating vaccination leads to negative numbers of susceptibles as per-day vaccination counts may be greater than available susceptibles towards the end of an outbreak.
One solution would be the use of a stepper that is more suitable for stiff ODE systems. It should especially be able to handle > 1% instantaneous changes as these are expected in vaccination scenarios. Issue #224 shows that integration fails and produces negative values for the current fixed size stepper used. Options from Boost are listed here, and some guidance on related functionality is here.
An alternative solution is to build on PR #202 and add a simple
if else
check which sets vaccinations to the lesser of either available doses or susceptibles.The text was updated successfully, but these errors were encountered: