Skip to content
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

add ProbDeathSeeking to VectorPop intervention #353

Merged
merged 5 commits into from
Jan 5, 2023

Conversation

acavelan
Copy link
Collaborator

Add `probDeathSeeking' parameter effect to the VectorPop intervention. This parameter must be specified as a decay function and allows the user to fix the probability of dying while host seeking.

It can be used as follows:

<probDeathSeeking initial="0.01">
        <decay L="3" function="step"/>
</probDeathSeeking>

When using this effect, OpenMalaria will dynamically compute the corresponding increase in death rate while host seeking (mu_vA). This is done by internally solving an equation numerically every timestep, and as such a small drop in performance must be expected.

If multiple VectorPop interventions overlap, the cumulative probability will be used. Note that it cannot exceed 1, and OpenMalaria will return an error during the simulation if it ever happens.

@nakul7
Copy link
Collaborator

nakul7 commented Nov 10, 2022

This looks good. I suggest replacing the name by probAdditionalDeathSugarFeeding and explicitly stating in the wiki that this only applies while host-seeking and that it is a daily probability.

I expect that this would need to be less than 1 since a value of 1 would lead to infinitely high availability rates.

@acavelan acavelan requested a review from nakul7 November 10, 2022 09:31
@acavelan acavelan marked this pull request as ready for review November 18, 2022 08:49
Copy link
Collaborator

@nakul7 nakul7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is excellent.

@acavelan acavelan merged commit 678f64b into SwissTPH:main Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants