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 (S/E/I/R for bats, intermediate hosts, humans).
- Iterate time for the selected horizon; apply environment modifiers f_t, f_h.
- Compute derived indicators (peak/day, attack rate, duration; add R₀/HIT if your simulation defines them).
- Render plots and update summary panels.
- Export CSV/PNG/HTML using client-side downloads.
Quality checks (recommended)
- Non-negativity: clamp compartments to 0 if numeric drift occurs.
- Mass sanity: totals behave as expected under births/deaths.
- Reproducibility: exported CSV matches plotted arrays.
- Edge cases: if modifiers are 0, transmission terms should drop accordingly.
Related theory & figures
If you have Theorems / R₀ derivations / Sensitivity plots, open the theory viewer page.