MemoSimagent-based modeling studio

Library/Natural and environmental sciences

Drought response and agricultural adaptation

This is an illustrative, uncalibrated simulation.

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

> This is an illustrative, uncalibrated simulation. It is a teaching tool for exploring how a small farming community responds to a drought. It is not a scientifically validated model and its numbers should not be used for real-world prediction.

What the model does

A small, bounded community of 24 farmers lives on a 33×33 patch world. Each patch has a soil-moisture value (0–100). Each tick:

1. Climate – Rainfall is reduced by the drought severity for the first drought length ticks, then returns to normal. 2. Soil – Each patch's soil moisture rises with rainfall and falls with evaporation. 3. Farming – Each farmer works the patch they stand on. Crop yield depends on soil moisture. Farmers who have adapted (drought-resistant crops) keep a floor of yield even when dry, and may also irrigate for a small boost. 4. Adaptation – If a farmer's soil is dry (< 40) and they have not yet adapted, there is a chance (set by adaptation rate) that they adopt a drought-resistant crop this tick. 5. Food stock – Yields are added to a community food stock, which is monitored over time.

The model runs indefinitely (the tick counter always advances), so it can be run for at least 100 ticks even after the drought ends.

Controls

| Widget | Meaning | Units | |---|---|---| | Drought severity | Fraction of rainfall removed during the drought (0 = no drought, 1 = no rain) | fraction (0–1) | | Drought length | How many ticks the drought lasts | ticks | | Adaptation rate | Chance per tick that a dry, unadapted farmer adopts a drought-resistant crop | % (0–100) | | Evaporation | How much soil moisture is lost per tick | units/tick |

Monitors and plots

  • Total food stock – cumulative food produced by the community.
  • Adapted farmers – number of farmers who have adopted a drought-resistant crop.
  • Mean soil moisture – average soil moisture across all patches.
  • Plot – food stock (green) and adapted farmers (red) over time.

Assumptions and limitations

  • Farmers do not move; each works the patch they are on.
  • There is no explicit water resource that depletes; irrigation is a fixed yield boost.
  • Adaptation is a one-time, irreversible decision with a fixed probability.
  • There is no population growth, death, or migration.
  • Rainfall is uniform across the world (no spatial heterogeneity).
  • All parameters are illustrative and not calibrated to any real region.
Field
Natural and environmental sciences
Model file
Drought-response-and-agricultural-adaptation-51239daa0c44.nlogox · 41 KB
Controls
drought-severity, drought-length, adaptation-rate, evaporation
Reporters
none recorded
Procedures
setup, go, recolor
Experiment
none pinned in this file
Documentation
4/7 · 388 words in the Info tab