Network SEIRV · Chapter 02
Compartment dynamics coupled through infection pressure
The construction has three layers: local reaction hazards, a contact-composition operator, and stochastic or deterministic time stepping.
The local reaction structure
First isolate the familiar five-state subsystem. The following equations explain the infection, vaccination, and recovery mechanisms; they are not a substitute for the full eight-compartment demographic model.
Reduced reaction subsystem
Indices are suppressed. is infection pressure, is the exposed-to-infectious rate, is recovery, is the vaccination rate, is primary vaccine failure probability, and is waning of vaccine protection. This reduction omits births, aging, mortality, maternal/infant states, and transfers. The active simulator uses finite-step hazard updates rather than directly integrating these five ODEs.
Reaction hazards in the active stochastic and deterministic node updates.
Two stages of maternal protection
Newborns enter . Each maternal stage has a mean residence time of 4.5 model months before competing hazards are included. Susceptibility multipliers range from full protection (0) to full susceptibility (1). The model also permits infant vaccination into and subsequent waning into ; that vaccination pathway is inactive under the current defaults.
Maternal-immunity transition rates in the active node updates.
A contact matrix is not a migration matrix
Ordinary mixing first averages age-specific prevalence across urban, rural, and nomadic sources. It then applies the recipient's age-contact matrix. School-year contact changes and seasonal transmission can vary this operator over time.
Contact composition for ordinary mixing
All source sums are over ordinary (non-IDP) communities, and . The capacity is the age-distribution-weighted mean contact count; is the total external contact input. These expressions apply when . If (including an empty recipient), the implementation sets the self-weight to 1 and external weights to 0. If , the weights renormalize to an entirely external mixture instead of becoming negative.
Contact-capacity and composition-weight routines in the active mixing module.
A valid prevalence mixture
For valid nonnegative compartment populations, the mixed prevalence stays a convex combination of source prevalences. This identity is a direct consequence of the contact-composition rule.
Proof / derivation
For , when , external weights sum to and the self-weight is its complement. When , external weights sum to one and the self-weight is zero. The zero-capacity fallback is also a unit-sum vector. Nonnegative weights summing to one preserve the interval .
Baseline force of infection
Age is the source and age the recipient. Here is infectious prevalence , set to zero for an empty age group. This baseline excludes main-IDP prevalence. The main displaced population has its own internal channel; its external contribution is added only to urban exposure. Temporary displaced groups add exposure only to their assigned rural recipients.
Active baseline-plus-IDP force-of-infection assembly.
Competing risks, not independent outflows
If infection, vaccination, and death were sampled independently from the same susceptible population, their combined draws could overdraw that population. The stochastic step instead samples how many people leave, then allocates those departures among competing causes.
One susceptible-compartment update
Here is natural mortality, is the time step, and counts transitions into exposure, vaccine protection, or death. Rates are frozen during the step. If , all departures are zero. The floor matches the integer count used for the binomial draw. Other compartments follow analogous competing-risk updates; births and aging are handled separately.
Binomial departures and multinomial allocation in the active tau-leap implementation.
- Rural and nomadic nodes use stochastic updates.
- Urban and main-IDP nodes use stochastic updates below 50 infectious individuals, and deterministic expected-hazard updates otherwise.
- A stochastic population can reach exact extinction; a smooth trajectory can retain arbitrarily small fractional infections.
Separate the scientific question from the random seed
Scientific configurations specify contact, immunity, seasonality, and displacement assumptions. Runtime configurations specify seeds and run counts. Saved configurations and seed manifests make a numerical comparison traceable; they do not make its parameters empirically validated.
Last updated