SIHRS Epidemic Model Website

Overview

This website provides an interactive simulation of the SIHRS epidemic model with death and reinfection compartments. The model extends the classic SIR model by adding hospitalization and death, while allowing recovered individuals to become susceptible again.

Mathematical Model

The SIHRS model defines $s, i, h, r, d : (0, \infty) \to \mathbb{R}_{\geq 0}$, with $s + i + h + r + d = 1$, by:

\begin{align} \dot{s} &= -\beta p_{SI} ~s i + p_{RS} \Lambda r,
\dot{i} &= \beta p_{SI} ~s i - \gamma ~ (1-p_{II}) i,
\dot{h} &= p_{IH} \gamma i - \alpha ~(1-p_{HH}) h,
\dot{r} &= p_{IR} \gamma i + p_{HR}\alpha h-p_{RS} \Lambda r,
\dot{d} &= p_{ID} \gamma i + p_{HD}\alpha h, \end{align}

Parameters

Transition Rates:

Transition Probabilities:

Constraints:

Features

1. Interactive Parameter Control

2. Dual Simulation Modes

3. Advanced Visualization

4. Threshold Analysis

5. Statistics Dashboard

6. Data Export

Key Differences from SIHR Model

Feature SIHR Model SIHRS Model
Compartments 4 (S, I, H, R) 5 (S, I, H, R, D)
Reinfection No Yes (R → S)
Death No Yes (I → D, H → D)
Immunity Permanent Waning
Complexity Basic Advanced

Usage

  1. Open the website: Navigate to index_sihrs.html
  2. Adjust parameters: Use sliders or number inputs
  3. Run simulation: Click “Run Simulation”
  4. Analyze results: View charts and statistics
  5. Export data: Use download buttons

Technical Implementation

Default Parameters

Based on realistic COVID-19 modeling:

Files Structure

SIHR Stochastic vs ODE/
├── index_sihrs.html          # Main SIHRS website
├── src/
│   ├── js/
│   │   ├── models/
│   │   │   └── sihrs-model.js    # SIHRS model implementation
│   │   ├── components/
│   │   │   ├── ui-controls.js    # UI control functions
│   │   │   ├── pattern-analysis.js # Pattern analysis
│   │   │   └── download-utils.js # Data export utilities
│   │   └── main-sihrs.js         # Main application logic
│   └── css/
│       └── styles.css            # Styling (shared with SIHR)
└── README_SIHRS.md              # This file

Browser Compatibility

Requires JavaScript enabled and Chart.js CDN access.

License

This project is for educational and research purposes.