Bisection recovers the initial steady flow from the head-loss equation.
How a Surge Tank Controls a Sudden Flow Rejection
A turbine can change its demand faster than a long water tunnel can change its flow. Watch a surge shaft absorb the mismatch — or spill when its freeboard is too small.
A sudden demand reduction leaves tunnel flow temporarily higher than turbine demand. The difference enters the shaft and raises its water level.
Three independent checks
Stored volume is compared with integrated inflow minus demand and spill.
A separate RK4 probe is compared with the damped linear period.
REFERENCE NOTESThe science+
A sudden reduction in turbine demand leaves the tunnel flow temporarily unchanged. The excess volume enters the surge shaft. Its rising water surface adds pressure head, which decelerates the tunnel flow.
dQ/dt = (g A/L) [h₀ − x − R Q|Q|]Water-column inertia balanced by shaft head and Darcy–Weisbach friction.
Aₛ dx/dt = Q − Qd − QspillNet flow changes the stored water volume in the shaft.
R = f L / (2 g D A²)Equivalent to hᶠ = f(L/D)v²/(2g), with Q = Av.
Qspill = 1.84 b max(x − F, 0)³ᐟ²A simplified sharp-crested rectangular weir; b is fixed at 3 m.
Gravity g = 9.81 m/s² and water density ρ = 1,000 kg/m³. The pressure readout uses Δp = ρgx.
The tunnel is a single rigid water column. The model omits elastic pipe-wall and water compressibility, wave travel, detailed junction losses, turbine governor dynamics, and spatial variation along the tunnel. It is not a water-hammer wave solver.
Plant dimensions, flow settings, friction factor, shaft width, and freeboard are example values, not data from a real installation. The model is intended to explain the direction and scale of the surge response, not to size infrastructure.