A library of published compartmental epidemic models, and classes to represent demographic structure, non-pharmaceutical interventions, and vaccination regimes, to compose epidemic scenarios.
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.
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.