Simulation Methodology
How the browser-based dashboard computes trajectories and indicators, step-by-step.
Computation pipeline
- Read & validate inputs (bounds, numeric checks, required fields).
- Initialize compartments for X (S,E,I,R,V,B) and Y/Z (S,I).
- Iterate time over the horizon: update compartments using rates.
- Compute derived indicators (peak/day, duration; R₀/HIT if you implement).
- Render plots and update summary panels.
- 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.