ICAR Logo
Disease Simulation Portal
Foot-and-Mouth Disease (FMD)
NIVEDI Logo

Simulation Methodology

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

Computation pipeline

  1. Read & validate inputs (min/max bounds, numeric checks, required fields).
  2. Initialize compartments (S, E, I, R, V, Q, q) from totals and program settings.
  3. Iterate time for the selected horizon (e.g., 100 days): update each compartment using rates.
  4. Compute derived indicators (R₀, HIT, peak/day, duration, equilibrium where applicable).
  5. Render plots (Chart.js curves) and update summary panels.
  6. Export CSV/PNG/HTML using client-side downloads.

Quality checks (recommended)

  • Non-negativity: compartments never go below 0 (clamp if needed).
  • Mass sanity: totals stay within expected bounds (small drift acceptable if births/deaths included).
  • Reproducibility: exported CSV matches plotted arrays (“what you see is what you download”).
  • Edge cases: if R₀ ≤ 1, HIT is reported as 0%.

Related theory & figures

If you want Theorems / R₀ derivations / Sensitivity plots, open the theory viewer page.