A cross-section of one valley from sea to mountain top. The sun lifts water from the sea and soil, clouds carry it inland, and rain or snow brings it back. Soil, trees and pavement decide whether it soaks in or rushes to the river.
Start with the forested valley, then switch to the paved city and compare the river line. Drag temperature up and watch evaporation and cloud size grow. Raise the mountain and cool the sea for an ice age: water gets locked into the snow cap. Storms are random but repeatable: keep the seed and change only the pavement. Export the pavement sweep to chart peak river flow against how much of the valley is paved. A conserved box model: six stores (ocean, air, snow and ice, soil, groundwater, river) in millimetres of water over the valley, moved by explicit Euler steps of at most 0.02 day. Sea evaporation is 2.5 mm per day at 15 °C and sun strength 1, scaled by exp(0.07 per °C), the Clausius-Clapeyron rate of about 7% per degree (Held and Soden 2006, J. Climate 19). Land evaporation follows soil wetness, forest transpiration and the unpaved share. Vapour rains out with a 4-day residence time; the share falling on land grows with mountain height. Land rain splits into runoff and infiltration by a runoff coefficient in the spirit of the SCS curve-number method (USDA 1986): about 0.95 for pavement, 0.55 down to 0.08 for bare ground to full forest, higher when the soil is wet. Soil seeps to groundwater, groundwater feeds the river with a 70-day delay, and the river reaches the sea in 0.6 to 5 days depending on pavement and forest. Mountain air is 6.5 °C cooler per km (standard lapse rate); below freezing, 60% of land precipitation becomes snow, above it snow melts slowly. Storms arrive at random (seeded) and raise evaporation and rain for 1.5 days. Flood means river flow above 3.5 mm per day. Simplified: one catchment, no seasons, no tides, no real river routing, and constants are typical, not fitted to a place. The sweep varies the pavement share and records the peak river flow, days in flood and mean river flow over one simulated year, repeated over seeds.