EpiDizin Reference

Agent-Based SIR Epidemic Simulator

An interactive tool demonstrating disease transmission mechanics, the classic Susceptible-Infected-Recovered (SIR) model, and the mathematical impact of physical distancing.

The Compartmental Framework

The SIR model is a fundamental mathematical concept in epidemiology used to estimate the theoretical number of people infected with a contagious illness in a closed population over time.

State Color Definition
Susceptible (S) Teal Individuals who have no immunity to the infectious agent and can become infected if exposed to the pathogen.
Infected (I) Red Individuals currently hosting the pathogen and capable of transmitting it to susceptible contacts.
Recovered (R) Gray Individuals who have survived the infection, cleared the pathogen, and acquired immunity.

Interactive Model

Observe how microscopic, individual interactions lead to macro-level epidemic curves. Adjust the parameters dynamically or click inside the environment map to manually introduce a localized index case.

Susceptible
0
Infected
0
Recovered
0
Micro View: Agent Map
Click space to introduce infection
Macro View: Epidemic Curve
300
Total number of agents. Adjusting this will restart the simulation.
60%
Likelihood of transmission during a close contact event.
200 ticks
Time an agent remains infectious before recovering.
0%
Dynamically isolate a percentage of the population to limit interactions.
Field note: Allow an outbreak to begin normally, then rapidly slide the Physical Distancing setting to 70% mid-simulation. Notice how the peak of the red "Infected" curve drastically drops and widens. This visualizes the public health objective known as "flattening the curve" to prevent healthcare system overload.