ICAR Logo
Disease Simulation Portal
Peste des Petits Ruminants (PPR)
NIVEDI Logo

Simulation Methodology

How the browser-based dashboard computes trajectories and indicators, step-by-step.

Computation pipeline

  1. Read & validate inputs (bounds, numeric checks, required fields).
  2. Initialize compartments for X (S,E,I,R,V,B) and Y/Z (S,I).
  3. Iterate time over the horizon: update compartments using rates.
  4. Compute derived indicators (peak/day, duration; R₀/HIT if you implement).
  5. Render plots and update summary panels.
  6. Export CSV/PNG/HTML outputs.

Quality checks (recommended)

  • Non-negativity: clamp compartments to ≥ 0.
  • Mass sanity: check totals; births/deaths can shift totals.
  • Consistency: exported arrays match plotted arrays.
  • Edge cases: if transmission is near-zero, curves should decay.

Related theory & figures

If you maintain a separate derivation page (R₀, sensitivity, equilibria), link it here.