Library/Health and life sciences
Antimicrobial resistance
Bacteria (green = susceptible, red = resistant) live on patches.
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 how antimicrobial resistance (AMR) spreads in a bounded bacterial population under antibiotic pressure. It is a teaching tool, not a scientifically validated or quantitatively accurate simulation.
Mechanism
- Bacteria (green = susceptible, red = resistant) live on patches. Each patch represents a patient's environment; blue patches are patients currently on antibiotics.
- Growth: bacteria reproduce up to a carrying capacity (
carrying-capacity), keeping the population bounded. - Mutation: a susceptible bacterium can spontaneously become resistant at rate
mutation-rate(% per tick). - Selection: on antibiotic patches, susceptible bacteria die at rate
kill-rate, while resistant bacteria survive — giving resistance a competitive advantage. - Horizontal gene transfer: a resistant bacterium can convert a susceptible neighbor at rate
transfer-rate(% per tick), modelling spread of resistance genes. - Natural death: bacteria die at rate
death-rate, keeping the population bounded.
Controls
- initial-bacteria (20–200, default 100): starting population size.
- antibiotic-fraction (0–100%, default 30%): fraction of patches (patients) on antibiotics.
- mutation-rate (0–20%, default 2%): chance per tick a susceptible bacterium mutates to resistant.
- transfer-rate (0–30%, default 5%): chance per tick a resistant bacterium transfers resistance to a susceptible neighbor.
Monitors and plot
- Total bacteria and Resistant fraction (%) monitors.
- A plot of resistant vs susceptible counts over time.
Units
All rates are percentages per tick. Population is a count of bacteria.
Assumptions and limitations
- Single bacterial species, single resistance trait (binary susceptible/resistant).
- No spatial structure beyond the 33×33 toroidal grid; no immune system, no dosing schedules, no multiple drugs.
- Parameters are arbitrary and chosen for a stable, bounded demo — not calibrated to real data.
- The model is meant to illustrate the mechanism (selection + mutation + gene transfer) by which resistance rises under antibiotic use, not to predict real-world AMR.
- Field
- Health and life sciences
- Model file
Antimicrobial-resistance-f39d75ddd536.nlogox· 41 KB- Controls
initial-bacteria,antibiotic-fraction,mutation-rate,transfer-rate- Reporters
resistant-fraction- Procedures
setup,go,recolor-bacterium,resistant-fraction- Experiment
- none pinned in this file
- Documentation
- 5/7 · 294 words in the Info tab