MemoSimagent-based modeling studio

Library/Natural and environmental sciences

Water allocation among users and ecosystems

A river runs left to right across the world (the row of blue patches at y = 0).

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.

An illustrative, uncalibrated educational model of how a river's water is divided between human users and a downstream wetland. It is a teaching tool, not a scientifically validated result.

Mechanism

  • A river runs left to right across the world (the row of blue patches at y = 0). Each tick, a fixed inflow enters at the upstream (left) end.
  • Four users sit on the river, upstream to downstream: a town (high priority), two farmers, and a factory (low priority). Each user has a demand (units of water per tick) and a priority rank.
  • Users take water in priority order, upstream to downstream: the highest-priority user takes up to its demand first, the next takes from what remains, and so on. If the flow is exhausted, downstream users are shorted.
  • The water left after all users is what reaches the wetland at the downstream end. The wetland's health (0–100) moves each tick toward a target set by the flow that reaches it (more flow = healthier).
  • Each user's wealth rises when it is fully satisfied and falls when it is shorted, giving a simple feedback on allocation outcomes.

Controls

  • Inflow (units/tick): the river's total supply entering upstream. Higher inflow means more water for everyone.
  • Demand growth (per tick): a small rate at which each user's demand grows over time (simulating growing water needs).
  • Wetland sensitivity: how quickly the wetland's health responds to the flow it receives (0.05–0.5).

Units

  • Water is measured in abstract "units" per tick. Inflow, demand, and allocation are all in these units. Wetland health is a 0–100 index.

Assumptions and limitations

  • Users are fixed in number and position; no new users appear and none leave.
  • Allocation is strictly by priority and river position; there is no negotiation, pricing, or rotation.
  • The wetland is a single aggregate whose health depends only on the flow reaching it; no spatial wetland dynamics.
  • Demand growth is uniform and linear; no seasonal variation, droughts, or climate effects.
  • All values are illustrative and not calibrated to any real river basin.

What to try

  • Raise inflow and watch the wetland recover and all users become fully satisfied.
  • Lower inflow and see downstream users (farmers, factory) get shorted while the town keeps its share, and the wetland's health decline.
  • Increase demand growth to see how growing needs eventually outstrip the supply.
Field
Natural and environmental sciences
Model file
Water-allocation-among-users-and-ecosystems-e8c627ae1427.nlogox · 41 KB
Controls
inflow, demand-growth, wetland-sensitivity
Reporters
none recorded
Procedures
setup, go
Experiment
none pinned in this file
Documentation
4/7 · 397 words in the Info tab