MemoSimagent-based modeling studio

Library/Natural and environmental sciences

Biodiversity loss and ecosystem resilience

The world is a grid of habitat patches.

Run in your browser Download .nlogox Get MemoSim verified in NetLogo Web · or open in MemoSim
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.

Category: Natural and Environmental Sciences Status: Illustrative and uncalibrated. This is a teaching model, not a scientifically validated result.

Mechanism

The world is a grid of habitat patches. Each patch is in one of three states:

  • Green (native): supports native species.
  • Brown (degraded): partially converted; reduced support.
  • Gray (lost): no support.

Five species are placed on the grid. Each species has:

  • Habitat need: the minimum fraction of green neighbors required to survive.
  • Dispersal range: how far it can move each tick.
  • Reproduction: a per-tick probability of producing an offspring when habitat is good.

Each tick:

1. Habitat loss: native patches degrade at habitat-loss-rate %; degraded patches are lost at half that rate; lost patches recover at recovery-rate %. 2. Species movement: each individual moves toward the nearest green patch within its dispersal range. 3. Survival: if the fraction of green neighbors is below the species' habitat need, individuals die with a probability proportional to the shortfall. 4. Reproduction: if habitat is well above the need, individuals reproduce at reproduction-rate %. 5. Extinction tracking: a species is extinct when no individuals remain. The resilience score is 100 × (species alive / total species).

Controls

| Widget | Range | Default | Meaning | |---|---|---|---| | Habitat loss rate | 0–10 %/tick | 2 | Probability a native patch degrades each tick | | Recovery rate | 0–10 %/tick | 1 | Probability a lost patch recovers each tick | | Reproduction rate | 0–30 %/tick | 10 | Probability of reproduction when habitat is good |

Monitors and Plots

  • Species alive: number of species with at least one individual.
  • Extinctions: number of species that have gone extinct.
  • Resilience score: 0–100, fraction of species still present.
  • Plot: species alive (green) and resilience score / 20 (red) over time.

Assumptions and Limitations

  • Habitat loss is spatially random; real loss is often clustered.
  • Species do not interact (no competition, predation, or mutualism).
  • Dispersal is limited to a fixed radius; no long-distance dispersal.
  • Recovery is uniform and slow; real recovery depends on context.
  • The model is illustrative and uncalibrated: parameters are chosen for pedagogical clarity, not to match any real ecosystem.
  • World size is modest (31 × 31 patches) and populations are bounded to keep the simulation fast in NetLogo Web.
Field
Natural and environmental sciences
Model file
Biodiversity-loss-and-ecosystem-resilience-8cd0060ceb50.nlogox · 42 KB
Controls
habitat-loss-rate, recovery-rate, reproduction-rate
Reporters
patches-within, alive-species-count
Procedures
setup, go, recolor, patches-within, alive-species-count
Experiment
none pinned in this file
Documentation
5/7 · 358 words in the Info tab