ICAR Logo
Disease Simulation Portal
Nipah Virus Disease (NiV)
NIVEDI Logo

Details

Technical description of the Nipah simulation web tool, stack, exports, and deployment.

Nipah simulation web tool

The Nipah simulation is implemented as an interactive, browser-based decision-support dashboard. Users enter population, infection, environmental and intervention parameters; the application computes trajectories and key indicators and visualizes outputs as epidemic curves.

Development environment & tools

  • Visual Studio Code — IDE for PHP/HTML/CSS/JS.
  • XAMPP / Apache + PHP — local server for testing .php pages.
  • Browser dev tools — JS debugging, DOM inspection, performance profiling.

Languages & frameworks

  • PHP — serving pages/headers/footers.
  • HTML + CSS — layout and styling.
  • JavaScript — simulation engine, indicators, charts, exports.
  • Tailwind CSS (CDN) — responsive UI cards/grids/typography.
  • Chart.js — plotting curves on canvas (if used in your simulation).
  • MathJax — rendering equations in Overview.

Implementation steps (end-to-end)

  1. UI + parameter entry: card-based input panel + validation + help bubbles.
  2. Simulation engine: client-side iterative update; re-run on input change; no page reloads.
  3. Derived indicators: peak/day, attack rate, duration (extend with R₀/HIT if defined).
  4. Visualization: Chart.js renders time series; synchronized with export arrays.
  5. Exports: results CSV, parameters CSV, chart+summary PNG, printable HTML report.

Deployment (practical)

  1. Upload nipha_simulation.php + assets to web directory.
  2. Ensure CDN dependencies load (Tailwind/MathJax/Chart.js if used) or host local copies.
  3. Verify routing from portal to Nipah docs and simulation pages.
  4. Test downloads (CSV/PNG/HTML) on the live domain in multiple browsers.