Library/Health and life sciences
Infectious disease transmission
100 people are placed randomly on a 33×33 toroidal (wrapping) world.
Read the assumptions first. The model itself says it is illustrative and uncalibrated. Treat its output as a demonstration of a mechanism, not an estimate of a real system.
This is an illustrative, uncalibrated NetLogo model of a simple SIR (Susceptible → Infected → Recovered) epidemic on a small bounded population. It is not a scientifically validated result and should not be used for real-world predictions.
Mechanism
- 100 people are placed randomly on a 33×33 toroidal (wrapping) world.
- Each tick every person takes a small random-walk step.
- A susceptible person standing on the same patch as at least one infected person becomes infected with probability
transmission-rate. - An infected person recovers with probability
recovery-rate. - Recovered people are immune (they do not get re-infected).
- The model runs indefinitely; once everyone is recovered the counts simply stay flat (absorbing state) and
tickskeeps advancing.
Controls
| Widget | Meaning | Units | |---|---|---| | transmission-rate | Probability per tick that a susceptible person next to an infected person becomes infected | 0–1 | | recovery-rate | Probability per tick that an infected person recovers | 0–1 | | initial-infected | Number of people infected at setup | 1–20 |
Monitors & plot
- Susceptible / Infected / Recovered monitors show the current counts.
- The Epidemic curve plot tracks all three groups over time.
Assumptions & limitations
- Transmission only happens on the same patch (no distance-based decay).
- No spatial heterogeneity, no age structure, no vaccination, no mortality.
- Random-walk movement is a stand-in for real contact patterns.
- The world is small (100 people) so stochastic effects are large.
- Parameters are chosen for a visible demo, not fitted to any real disease.
- Field
- Health and life sciences
- Model file
Infectious-disease-transmission-59d7a1884912.nlogox· 39 KB- Controls
transmission-rate,recovery-rate,initial-infected- Reporters
count-susceptible,count-infected,count-recovered- Procedures
setup,go,count-susceptible,count-infected,count-recovered- Experiment
- none pinned in this file
- Documentation
- 5/7 · 238 words in the Info tab