MemoSimagent-based modeling studio

Library/Natural and environmental sciences

Watershed pollution and nutrient runoff

This is an illustrative, uncalibrated teaching model.

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 teaching model. It is not a scientifically validated simulation and its numbers should not be used for real-world predictions.

What it shows

A simple watershed with a river running down the middle. Land on both sides is split into farmland (the band next to the river) and upland (the outer areas). Rain washes nutrients (a stand-in for nitrogen/fertilizer) off the land into the river, which carries them downstream. Where the river accumulates enough nutrient, an algae bloom forms (green water).

How it works (mechanism)

1. Deposition: each tick, land gains nutrient — farmland at the fertilizer-rate (fertilizer), upland at a small natural rate. 2. Runoff: a fraction of the land nutrient (runoff-rate, higher for crops) washes into the nearest river patch downstream. 3. Transport: river water (and its nutrient) flows downstream at flow-rate; at the bottom edge the water leaves the watershed. 4. Bloom: when a river patch's nutrient exceeds bloom-threshold, it blooms (turns green) and consumes nutrient until it drops below the threshold. 5. Recovery: land nutrient slowly decays (plants use it).

Controls

  • fertilizer-rate (kg/patch/tick): nutrient added to farmland each tick.
  • runoff-rate (fraction/tick): share of land nutrient that washes into the river.
  • flow-rate (fraction/tick): share of river nutrient carried downstream each tick.
  • bloom-threshold (kg/patch): river nutrient level that triggers an algae bloom.

Monitors and plot

  • Total river nutrient — sum of nutrient in all river patches.
  • Bloom patches — number of river patches currently blooming.
  • Mean land nutrient — average nutrient on land.
  • The plot tracks total river nutrient and bloom patches over time.

Assumptions and limitations

  • One-dimensional downstream flow (no lateral mixing, no tributaries).
  • A single lumped "nutrient" (no separate N/P, no chemistry).
  • No explicit rain events, soil, topography, or treatment.
  • Bloom is a simple threshold with fixed decay.
  • All rates are arbitrary and chosen for a readable demo, not measured data.
Field
Natural and environmental sciences
Model file
Watershed-pollution-and-nutrient-runoff-2fd6e6f01daa.nlogox · 42 KB
Controls
fertilizer-rate, runoff-rate, flow-rate, bloom-threshold
Reporters
river-patch-ahead, total-river-nutrient, bloom-count, mean-land-nutrient
Procedures
setup, go, river-patch-ahead, recolor, total-river-nutrient, bloom-count, mean-land-nutrient
Experiment
none pinned in this file
Documentation
4/7 · 329 words in the Info tab