MemoSimagent-based modeling studio

Library/Natural and environmental sciences

Farmer adaptation to climate variability

A modest grid of farmed patches (fields) is populated by a bounded population of farmers — one per field.

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 an educational simulation, not a scientifically validated result.

What it does

A modest grid of farmed patches (fields) is populated by a bounded population of farmers — one per field. Each tick, a climate system alternates between normal and drought spells. Drought drains soil moisture; normal weather refills it.

Each farmer's yield depends on the moisture of their field. Farmers can adapt:

  • Irrigation (costs 15 food) adds a flat yield boost and protects against drought.
  • Diversification (costs 10 food) adds a smaller yield boost.

Adaptation is triggered when a farmer's stored food drops below 30, with probability set by the adapt-rate slider. Every tick a farmer pays a living-cost in food. If food reaches zero, the farmer fails and their field is abandoned (turns brown).

Controls

  • Setup – resets the world, places farmers, resets the clock.
  • Go – runs the model one tick per step (forever).
  • adapt-rate (0–100 %) – probability a low-food farmer adopts an adaptation each tick.
  • drought-length (2–12 ticks) – typical length of a drought spell.
  • living-cost (2–10 food/tick) – food a farmer must consume each tick.

Units

  • Food: abstract units per tick.
  • Moisture: 0–100 (arbitrary index).
  • Time: ticks.

Assumptions

  • One farmer per field; farmers do not move.
  • Drought affects all fields equally (no spatial weather variation).
  • Adaptation is a one-time binary choice with a fixed cost.
  • Yield is a simple linear function of moisture plus adaptation bonuses.
  • No migration, no market, no credit.

Limitations

  • No calibration to real data; all parameters are illustrative.
  • No spatial heterogeneity in climate.
  • No demographic dynamics (farmers do not reproduce).
  • Absorbing state: if all farmers fail, the world stays empty but the clock keeps ticking.
Field
Natural and environmental sciences
Model file
Farmer-adaptation-to-climate-variability-758080f6f200.nlogox · 41 KB
Controls
adapt-rate, drought-length, living-cost
Reporters
none recorded
Procedures
setup, go, recolor
Experiment
none pinned in this file
Documentation
3/7 · 292 words in the Info tab