dubiumlabsBiology

Epidemiology and health

SEIR Model

Educational epidemiological simulator: the effect of latency and comparison with the SIR model. · R₀ = β / γ

Reference examples

Examples for exploring the model, not real-world forecasts.

Initial population
individuals

Integer count of a population that remains constant.

11.000e+7
individuals

Between 0 and N. Everyone else starts susceptible; E(0) = R(0) = 0.

0100000
Transmission, latency and recovery
day⁻¹

Rate of new infections per infectious individual when the entire population is susceptible.

02
day⁻¹

Controls latency duration: E is infected but not yet infectious.

0.012

Mean latent period: 1/σ = 5.556 days.

day⁻¹

Controls how quickly individuals recover.

01

Mean infectious period: 1/γ = 10 days.

Observation horizon
days

Simulated days; it may end before a peak.

0.1730

Outbreak dynamics

Individuals

  • Susceptible (S)
  • Exposed (E)
  • SEIR infectious (I)
  • Recovered (R)
  • Maximum of I (SEIR) at t = 124 days

dS/dt = −β·S·I/NdE/dt = β·S·I/N − σ·EdI/dt = σ·E − γ·IdR/dt = γ·I

Results

Initial growth of E + I

Re(0) > 1: E + I grows; I may initially fall.

Maximum infectious (I)

14800

individuals · 14.8 %

At t = 124 days

SIR without latency: 23350 · At t = 64.13 days

Early growth (r)

0.07586

day⁻¹

Theoretical doubling every 9.137 days

SIR without latency: r = 0.15 day⁻¹

After the initial phase, with S nearly constant.

Cumulative infections up to 310 days

89270

individuals

Sum of E + I + R; includes the initially infectious.

Maximum total infected (E + I)
23350At t = 120.5 days
Equal to the maximum of I in SIR.
Infected (E + I) at t = 310 days
0.9612
Time until E + I < 1
309.3 days

Reproduction and immunity

R₀ — basic reproduction number
2.5
Re(0) — initial reproduction number
2.5
Herd immunity threshold (HIT)
60 %
Mean generation interval (Tg)
15.56 days
How to interpret these values

With γ > 0, R₀ is the average number of new infections per infected individual in a fully susceptible population.

With γ > 0, Re(0) = R₀ · S₀/N determines the initial growth of E + I when infection is present.

The immunity threshold is the theoretical immune percentage that prevents initial growth. It assumes homogeneous mixing and perfect protection and does not predict the recovered percentage.

r describes early exponential growth, after the initial adjustment and while nearly everyone is still susceptible; it is not the slope of I at t = 0.

σ does not change R₀ or the HIT, but it does change r and the mean generation interval Tg = 1/σ + 1/γ. The doubling time describes the early phase, when nearly everyone is susceptible; it is not a forecast.

Since E(0) = 0, initially dI/dt = −γ·I₀: I falls when γ and I₀ are positive, even if E + I grows. With I₀ = 0 there is no outbreak, even if r is positive.

Over the complete outbreak, the maximum of E + I equals that of I in SIR. For a growing outbreak, it occurs at S = N/R₀. Maxima observed over a shorter time may differ.

E + I < 1 is a continuous-model convention, not confirmed real-world extinction.

What if an infected person is infectious right away? Explore the SIR model

Fundamentals & Explanation