epiverse-trace / epidemics

A library of published compartmental epidemic models, and classes to represent demographic structure, non-pharmaceutical interventions, and vaccination regimes, to compose epidemic scenarios.
https://epiverse-trace.github.io/epidemics/
Other
8 stars 2 forks source link

Randomise initial exposed/infectious in Erlang compartments in Ebola model #101

Closed pratikunterwegs closed 10 months ago

pratikunterwegs commented 11 months ago

This issue is to flag that the current implementation of the ebola model (see #71) initialises exposed and infectious individuals in the first Erlang sub-compartment, given any $N$ such sub-compartments.

This is fine when the number of initially exposed and infectious is low, but proves more an issue when the number is larger, as a large chunk of individuals is moving through the sub-compartments at exactly the same time.

The proposed solution is to modify the code so that initially infectious and exposed individuals are assigned to their respective Erlang sub-compartments in proportion to the admission probabilities vector.