MemoSimagent-based modeling studio

Library/Natural and environmental sciences

Human wildlife conflict

Elephants (brown) roam the left half of the world.

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.

This is an illustrative, uncalibrated NetLogo Web model that demonstrates a simple human–wildlife conflict between elephants and farmers. It is not a scientifically validated result.

Mechanism

  • Elephants (brown) roam the left half of the world. They move randomly, with a chance to head toward the nearest crop patch. When they land on a crop patch, they eat it (crop is removed, elephant gains energy).
  • Farmers (yellow) live on the right half. If an elephant comes within one patch of a farmer, the farmer becomes "protected" (turns orange) and the elephant is repelled.
  • Crops (green patches on the right) regrow each tick with a probability set by the crop-regrow slider.
  • Elephants die if their energy drops below zero. They reproduce if their energy is high enough and the population is below max-elephants.

Controls

| Widget | Meaning | Units | |---|---|---| | initial-farmers | Number of farmers at setup | count | | initial-elephants | Number of elephants at setup | count | | elephant-aggression | Probability (per tick) that an elephant heads toward a crop | % | | crop-regrow | Probability (per tick) that a lost crop patch regrows | % |

Monitors and Plots

  • Elephants / Farmers: current population counts.
  • Crops lost / Crops regrown: cumulative totals.
  • Plot: tracks elephant population and cumulative crop damage over time.

Assumptions and Limitations

  • The world is a simple 32×32 grid with a fixed crop zone (right half) and a wild zone (left half).
  • Elephants have a single energy variable; no age, sex, or social structure.
  • Farmers do not move; they only react to nearby elephants.
  • Crop regrowth is uniform and stochastic.
  • No migration, no predation, no land-use change.
  • All parameters are arbitrary and chosen for a stable, bounded simulation.
  • The model is illustrative only and should not be used for policy or management decisions.
Field
Natural and environmental sciences
Model file
Human-wildlife-conflict-4d0c900be8ed.nlogox · 40 KB
Controls
initial-farmers, initial-elephants, elephant-aggression, crop-regrow
Reporters
none recorded
Procedures
setup, go, move-elephant
Experiment
none pinned in this file
Documentation
5/7 · 287 words in the Info tab