Back to the Environmental Science roadmap

Environmental Systems I · Water budgets, stocks and flows

Prerequisites: arithmetic, fractions, area and volume, and converting units. Goals: choose a system boundary; distinguish a stock, a flow rate and a transferred amount; construct and check a water budget; convert rain depth to collected volume; separate requested withdrawals from actual withdrawals; and identify assumptions, timing and uncertainty. This is the first Environmental Science lesson. The rest of its Year 1 guide is an external self-study sequence until further lessons are published.

Define the system before counting water

A system boundary states what is included, where transfers are counted and over which time interval. A reservoir alone, its watershed and the atmosphere are different systems. Water entering the reservoir from its catchment is an external inflow to the reservoir, but that same transfer may be internal to a larger catchment system. Label precipitation, surface flow, groundwater exchange, evaporation and withdrawals only when they cross the selected boundary. Never count the same collected rain once as precipitation and again as a separate inlet unless those are distinct boundary transfers.

A stock S is the amount stored at a time, here in m³. A flow rate q has units such as m³/day; a transferred amount V has units m³. A rate cannot be added directly to a stock. For a constant rate over Δt days, V=qΔt. For variable rates, use measured interval totals or a justified integration method. Rain depth P in mm is neither a volume nor a flow rate until area and time are specified.

Derive and test the conservation equation

For a fixed boundary and an approximately incompressible water-volume model, final storage equals initial storage plus all incoming volumes minus all outgoing volumes: S₁=S₀+ΣI−ΣO. Thus ΔS=S₁−S₀=ΣI−ΣO. All terms must refer to the same interval and use compatible volume units. Express evaporation as equivalent liquid-water volume at the reference density, not the much larger gas-space volume. The corresponding water-mass balance is the more general conservation statement; the volume form assumes density changes and uncounted phase-volume effects are negligible.

Define the accounting residual R=S₀+ΣI−ΣO−S₁. A nonzero residual flags a mismatch among observations, omitted transfers, units or timing. It does not uniquely identify a leak or prove wrongdoing. Conversely, R=0 is necessary bookkeeping consistency, not proof that every measured flow is correct; errors can cancel. A steady storage ΔS=0 permits large equal incoming and outgoing amounts and does not mean nothing is moving.

From rainfall depth to volume

Uniform rain depth P over catchment area A gives gross volume V=(P/1000)A when P is in mm and A in m². If a stated collection fraction c lies between 0 and 1, collected inflow is I=c(P/1000)A. Check dimensions: m×m²=m³. This simple collection fraction summarizes losses; it is not a universal constant for real terrain. Do not subtract the same losses again elsewhere. Our lab fixes A=1000 m² and c=1, so each millimetre corresponds to 1 m³, but this numerical equality is specific to that area and perfect collection.

3 d · A=1000 m² I=60 m³Q=100 m³S₀=120 m³S₃=80 m³ΔS=60−100=−40 m³120+60−100=80 m³
Original schematic using the lab’s default synthetic data. Arrows represent total volumes over three days, not instantaneous flow rates. This is an accounting model, not a measured watershed or a water-quality assessment.

Worked examples

  1. Rain conversion: 12 mm over 2500 m² is 0.012×2500=30 m³ gross volume. At c=0.8, collected inflow is 24 m³. Calling 12 mm “12 m³” would silently assume a different area and collection condition.
  2. An interval budget: S₀=100 m³, inflow 20 m³, withdrawal 35 m³ and separate evaporation loss 5 m³ give S₁=100+20−35−5=80 m³. The storage change is −20 m³. Do not subtract ΔS again as another outflow; it is the result of the balance.
  3. Three daily steps: with S₀=120 m³, inflows 30,20,10 m³ and withdrawals 25,35,40 m³, storage becomes 125,110,80 m³. Summing the three step equations cancels the intermediate stocks: S₃−S₀=(30+20+10)−(25+35+40)=−40 m³. This telescoping check is independent of the displayed intermediate totals.
  4. Requested is not actual: start with 10 m³, receive 5 m³, then request 20 m³. Only 15 m³ is available. Actual withdrawal is min(20,15)=15 m³, unmet demand is 5 m³ and final storage is zero. Reporting final storage −5 m³ as a physical stock is invalid; silently clamping it to zero while still reporting withdrawal 20 m³ also violates conservation.

Timing, uncertainty and common mistakes

Our daily model assumes the entire day’s inflow arrives before that day’s withdrawal. With S₀=0, rain inflow 30 and request 25 m³, this gives actual withdrawal 25 and end storage 5. If the request occurs before any rain and cannot be deferred, actual withdrawal is zero, unmet demand 25 and end storage 30. The daily totals alone do not resolve intraday availability. State the ordering rather than presenting either result as a real forecast.

A conservative error bound adds stated absolute bounds: if S₀=100±2, I=40±3 and O=30±1 m³, the predicted end stock is 110±6 m³. This is a worst-case interval, not a confidence interval or a claim of independent random errors. A measured end stock of 107 lies inside it but does not validate every flow. Common errors include mixing mm and m³, mixing rates with interval totals, double-counting transfers, ignoring initial storage and inferring water quality or reliable supply from volume alone.

Practice

  1. Classify 100 m³ and 5 m³/day as stock or rate. How much water does that constant rate transfer in four days?
  2. A catchment of 1500 m² receives 8 mm of rain with collection fraction 0.75. Find collected volume with units.
  3. With S₀=10 m³, use the lab’s baseline three days and requests 25,35,40. Find end stocks, actual withdrawals and total unmet demand.
  4. If storage remains 50 m³ while 200 m³ enters and 200 m³ leaves, is there no water movement? Explain the distinction between a stock and throughput.
Fully worked solutions
  1. 100 m³ is a stock if it describes stored water; 5 m³/day is a rate. Over four days it transfers 5×4=20 m³. Their units explain why adding 100 and 5 directly is invalid.
  2. I=0.75×(8/1000)×1500=9 m³. The uncollected portion is already accounted for by c and must not be subtracted twice.
  3. Day1:10+30−25=15. Day2:15+20−35=0. Day3 has only 10 m³ available, so withdrawal 10, end 0 and unmet 30. Actual withdrawals sum 70, and 10+60−70=0 confirms conservation.
  4. No: ΔS=0 because incoming and outgoing volumes match. Throughput is substantial even though the stock stays unchanged; the budget does not tell which individual water parcels leave.

Assessment · Open book · 18 points

Open book: use books, lesson notes, cited readings, calculators, and relevant free software. Explain your own reasoning, assumptions, units, and checks; identify references or software you use. Attempt the questions before opening the answer key. Suggested study time: 40–60 minutes; this is a self-study guide, not a timed restriction.

Open book: use readings, notes, calculators or relevant free software. State your own boundary, units, timing assumptions and checks, and name sources/tools used. Attempt the questions before opening the rubric. The original application problem adds 6 points. All numerical data here are synthetic.

  1. Convert 18 mm over 1600 m² at collection fraction 0.75 into collected volume. Show units and explain what the collection assumption excludes. (4)
  2. For a reservoir-only boundary, S₀=100 m³, inflow 20, withdrawal 35 and separate evaporation 5 m³ over the same interval. Find final storage and ΔS. Explain whether these numbers establish safe drinking water. (4)
  3. Records show S₀=50, inflow 10, outflow 20 and observed end stock 45 m³. Calculate R, give one possible omitted transfer consistent with its sign, explain why that explanation is not unique, and describe how counting the same collected rain twice would affect a budget. (4)

Application and reasoning · 6 points

Use the lab’s original three-day model, but S₀=40 m³, rainfall factor1/2 and day3 request40 m³. Find daily end stocks, actual withdrawals and total unmet demand (2). Check the full-period conservation equation and predict what changes if only day3 request is reduced to10 m³ (2). For a separate one-day case with initial stock0, inflow30 and request25 m³, compare inflow-before-request with a non-deferrable request-before-inflow, and explain why identical daily totals need not imply identical service (2).

Complete answer key and scoring rubric
  1. 18 mm=0.018 m (1), gross volume28.8 m³ (1), collected21.6 m³ (1). The stated fraction summarizes uncollected water; do not count it as collected inflow or subtract the same loss again (1).
  2. Boundary and interval are consistent and evaporation is a distinct outflow (1). S₁=100+20−35−5=80 m³ (1), ΔS=−20 m³ (1). No: volume balance contains no contaminant measurements or treatment evidence and does not establish drinking-water safety (1).
  3. R=50+10−20−45=−5 m³ (1). An unmeasured 5 m³ inflow would reconcile these exact numbers (1). Measurement error or an overstated outflow could also explain the mismatch; further observations are needed (1). Counting one rain transfer twice overstates input and predicted storage, rather than adding new physical water (1).

Application and reasoning · 6 points

Inflows are15,10,5 m³. Day1:40+15−25=30; day2:30+10−35=5; day3 has10 available, so actual withdrawal10 and end0. End stocks30,5,0 (1), actual withdrawals25,35,10 and total unmet30 (1). Across the interval40+30−70=0 (1). Reducing day3 request to10 makes unmet demand0 but leaves actual withdrawal10 and final storage0; changing a request does not create water (1). Inflow-first gives actual25, unmet0, final5. Request-first gives actual0, unmet25, final30 (1). Both conserve their actual flows, but water was unavailable at the earlier request time, so temporal ordering matters; the lab explicitly assumes inflow-first (1).

Scoring: existing questions 12 + application problem 6 = 18 points. Award the stated method and reasoning marks, not only final answers.

Download the synthetic water-budget investigation

Download Python lab · Download original synthetic input table (CSV)

Install free Python 3 for Windows, macOS or Linux from the official link below. Save the script, open a terminal in its folder and run the commands. Windows may use py -3 instead of python3. No account, extra package, paid license, institutional login or equipment is needed; the script runs offline. The CSV is a readable reference table, not a required input file: the same three rows are embedded in the script and browser. Inputs are initial storage S₀ in m³, dimensionless rain multiplier r, and day3 requested withdrawal in m³. Use half-unit steps: S₀=0..200,r=0..2,request3=0..50. Python accepts fractions; the browser uses decimal halves.

python3 env-water-budgets.py 120 1 40
python3 env-water-budgets.py 10 1 40
python3 env-water-budgets.py 20 1/2 40
python3 env-water-budgets.py 0 0 40
python3 env-water-budgets.py 1/2 1/2 1/2
python3 env-water-budgets.py 200 2 50
python3 env-water-budgets.py --csv 120 1 40 > results.csv

Procedure: predict each day by hand using available=S_previous+inflow, actual=min(requested,available), unmet=requested−actual and S_next=available−actual. Use the three baseline depths 30, 20, 10 mm over 1000 m² and perfect collection. All inflow arrives before withdrawal. Run the six cases and compare all daily stocks, actual withdrawals and unmet demands with the browser. Export CSV if useful; Python JSON and calculations retain exact fractions while CSV and browser displays round to six decimals. Compare a rain multiplier change with a demand change without confusing either with a measurement.

Expected results and worked lab answers

Default end stocks are 125, 110, 80 m³; total inflow 60, actual withdrawal 100 and unmet 0. With S₀=10, end stocks 15, 0, 0 and unmet 30. For (20,0.5,40), end stocks 10, 0, 0 and unmet 15+35=50. For (0,0,40), end stocks 0, 0, 0 and unmet 25+35+40=100. Fractions (0.5,0.5,0.5) give end stocks 0, 0, 4.5 and unmet 9.5+25=34.5. The boundary case (200,2,50) gives 235, 240, 210 with no unmet demand; capacity is deliberately not modeled.

Why is total requested withdrawal not always total outflow? Unmet requests never left the reservoir. Why can S exceed 200 in the last case? 200 bounds the initial input, not a physical capacity; adding a real capacity would require a spill term. Does zero residual validate the rainfall forecast? No; conservation checks bookkeeping, while rainfall is prescribed synthetic input.

Limitations: a fixed-area, perfect-collection synthetic volume model with daily event ordering; no capacity/spill, evaporation, seepage, groundwater exchange, water-quality, uncertainty or forecasting model. No real observations or geographic claims are represented by the CSV. Virtual checks teach model reasoning and reproducibility; field measurements additionally require instruments, calibration, sampling plans and uncertainty evaluation.

Free readings and next step

Read the NASA GPM water-movement explanation and NASA Earth Observatory water-cycle overview for system context. Open Oregon §7.1 supports the reservoir and watershed concepts. NASA/JPL’s water-budget activity is optional introductory background; our stock-conserving synthetic lab is different from its precipitation/evapotranspiration comparison. The quantitative derivations and examples here are original. Next study environmental measurements, sampling and uncertainty, then connect chemistry and ecosystem cycles.

Water-budget lab · Storage, flows and unmet demand

Convert rainfall depth to volume, update storage and check conservation with synthetic data.

Free tool built into this page. Use it in your browser without an account or download.

Procedure

Try (S0,r,request3)=(120,1,40),(10,1,40),(20,0.5,40),(0,0,40),(0.5,0.5,0.5),(200,2,50). Area is 1000 m² and baseline rain depths are 30,20,10 mm. Collection is 100%; all daily inflow arrives before requests 25,35,request3 m³. Limit actual withdrawal to available water and record unmet demand.

Expected results and answer check

Default end storages are 125,110,80 m³; inflow60, actual withdrawal100, unmet0. With S0=10, final0 and unmet30. With (20,0.5,40), final0 and unmet50. With (0,0,40), final0 and unmet100. Fractions (0.5,0.5,0.5) give final4.5 and unmet34.5. Boundary (200,2,50) gives final210 and unmet0.

Synthetic, well-mixed volume bookkeeping only: fixed catchment area, perfect collection, daily inflow before withdrawal, no capacity/spill, evaporation, seepage, water quality or uncertainty model. Not a real reservoir forecast.