SIR Compartmental models
The SIR model is the classic compartmental model of infectious-disease spread, dividing a population into Susceptible, Infected and Recovered groups. Susceptible individuals become infected at a rate set by the transmission coefficient β through contact with the infected, and infected individuals recover at rate γ.
Despite its simplicity, the model captures the characteristic epidemic curve and the threshold behaviour governed by the basic reproduction number.
Simulation parameters
Initial conditions
Analyses
Time course
Loading chart...
Add analysis
Model Details
Review and edit model structure, biological variables, and kinetic parameters.
| Name | Tex name | Initial value | Actions |
|---|---|---|---|
Edit Options
Edit Options
Edit Options
Generated LaTeX Code
\begin{align*}
\frac{d s}{dt} &= - beta \cdot i \cdot s \\
\frac{d i}{dt} &= beta \cdot i \cdot s - gamma \cdot i \\
\frac{d r}{dt} &= gamma \cdot i
\end{align*}Fit to data
Fit settings
| Setting | Value |
|---|---|
| Fit backend | |
| Function evaluations per progress update | |
| Maximum total function evaluations | |
| Stop once residual norm reaches |
Curriculum learning (advanced)
Every bar shares one fixed step budget. Drag a divider to move a cutoff, drag a bar's top edge (or focus it and use the arrow keys) to change its share — the final stage isn't draggable, it always gets whatever's left. Double-click a bar or use its + to split it, use a divider's × (or Delete/Backspace while it's focused) to remove it.
| Stage | Data cutoff | Iteration budget |
|---|---|---|
| 1 (final) | full data | 1000 iterations (runs to convergence within this) |
Data
Plot options
| Parameter | Fit | Log-space | Initial guess / fixed value | Fitted value |
|---|---|---|---|---|
| beta | — | |||
| gamma | — |