MemoSimagent-based modeling studio

Library/Natural and environmental sciences

Species competition and coexistence

This is an illustrative, uncalibrated educational model of two competing species sharing a limited resource.

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.

Overview

This is an illustrative, uncalibrated educational model of two competing species sharing a limited resource. It is not a scientifically validated result.

Mechanism

  • The world is a 33×33 patch grid. Each patch holds a resource value (0–10), shown in green.
  • Species A (green) and Species B (red) move randomly and consume 1 unit of resource per tick from the patch they occupy.
  • Each species loses 1 unit of energy per tick. If energy drops below 0, the individual dies.
  • Each individual has a chance (set by the reproduction sliders) to reproduce, splitting its energy in half with the offspring.
  • Patches slowly regenerate resource (5% chance per tick to gain 1 unit, up to a max of 10).

Controls

  • Initial A / Initial B: starting population of each species (0–100).
  • Reproduce A / Reproduce B: per-tick reproduction probability for each species (0–20%).

Assumptions and Limitations

  • Both species have identical movement, consumption, and energy costs; only reproduction rates differ.
  • No spatial structure in competition (individuals only affect the patch they stand on).
  • Resource regeneration is uniform and stochastic.
  • The model is bounded: populations cannot grow indefinitely because resource is limited.
  • This is a simplified teaching model, not a calibrated ecological simulation.
Field
Natural and environmental sciences
Model file
Species-competition-and-coexistence-3e3c2b47c195.nlogox · 38 KB
Controls
initial-a, initial-b, reproduce-a, reproduce-b
Reporters
none recorded
Procedures
setup, go, move, recolor
Experiment
none pinned in this file
Documentation
5/7 · 203 words in the Info tab