ICAR Logo
Disease Simulation Portal
African Swine Fever Disease (ASF)
NIVEDI Logo
Overview Getting Started Simulation Methodology Details Examples References

Details

Technical description of the ASF pen-level simulation web tool, development stack, exports, and deployment.

ASF Simulation Web Tool

The ASF pen-level simulation is an interactive, browser-based decision-support dashboard. Users enter pen-wise population, infection, and control parameters. The application computes disease trajectories and key indicators and visualizes outputs as epidemic curves.

Development Environment & Tools

  • Visual Studio Code — PHP/HTML/CSS/JS development
  • XAMPP (Apache + PHP) — local testing
  • Browser Developer Tools — debugging and profiling

Languages & Frameworks

  • PHP — page routing and layout
  • JavaScript — simulation engine and indicators
  • Tailwind CSS — responsive UI
  • Chart.js — epidemic curve visualization

How It Works in the Browser

Inputs → validation → simulation loop → array generation → Chart.js rendering → client-side downloads (CSV / PNG / HTML).

Deployment

  • Upload genasf_simulation.php and assets to web directory
  • Ensure CDN dependencies load correctly
  • Test exports across browsers