Library/Health and life sciences
Outbreak detection and contact tracing
A bounded population of people moves randomly on a toroidal (wrapping) 2D 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.
An illustrative, uncalibrated agent-based model of an infectious-disease outbreak with a contact-tracing intervention. It is a teaching tool, not a scientifically validated prediction.
Mechanism
- A bounded population of people moves randomly on a toroidal (wrapping) 2D world.
- Each person is in one of five states: susceptible (green), exposed (yellow, incubating), infectious (red), traced/quarantined (orange), recovered (blue).
- Transmission: a susceptible person standing on the same patch as an infectious person becomes exposed with probability
transmission-rate(per tick, %). - Progression: exposed people become infectious after a fixed incubation period (3 ticks); infectious people recover after a fixed infectious period (5 ticks).
- Contact tracing: when tracing is on, each newly infectious person is "detected" (once). Nearby susceptible/exposed people within
tracing-radius(3 patches) are traced with probabilitytracing-effectiveness(%). Traced people are quarantined for a fixed period (4 ticks) and cannot transmit. - The model runs indefinitely; after the outbreak dies out the tick counter keeps advancing (absorbing state).
Controls
- population-size (20–200, default 80): number of people.
- transmission-rate (0–100%, default 15%): per-tick probability of infection on contact.
- tracing-effectiveness (0–100%, default 60%): probability a nearby contact is successfully traced.
- detect-tracing (switch, default on): turn the contact-tracing intervention on/off to compare scenarios.
Monitors and plot
- Monitors: current infectious count, traced (quarantined) count, cumulative total infections, recovered count.
- Plot "Epidemic curve": infectious, traced, and recovered counts over time.
Assumptions and limitations
- Homogeneous mixing via random walk; no social networks, age structure, or spatial heterogeneity.
- Fixed incubation/infectious/quarantine periods (3/5/4 ticks); no stochastic variation.
- Tracing is perfect in detection (every infectious person is detected) and only acts on the current neighborhood; no memory of past contacts.
- No immunity waning, no reinfection, no deaths.
- Parameters are arbitrary and not calibrated to any real disease. Results are illustrative only.
- Field
- Health and life sciences
- Model file
Outbreak-detection-and-contact-tracing-783d01218746.nlogox· 41 KB- Controls
population-size,transmission-rate,tracing-effectiveness- Reporters
- none recorded
- Procedures
setup,go- Experiment
- none pinned in this file
- Documentation
- 5/7 · 307 words in the Info tab