Governing equations
The main is treated as a single moving water column connected to an open surge tank. With pipe flow rate Q and tank-level change z:
dz/dt = Q / As
dQ/dt = (g Ap / L) [Hp(t) − z − hL(Q)]
Hp(t) = H0 e−t/τ
hL = (fL/D + K) v|v| / (2g), v = Q/Ap
Ap and As are the pipe and tank areas; L is effective water-column length; f is the Darcy friction factor; K is a fixed local-loss coefficient; and τ is the pump-head decay time constant. The initial pump head H0 balances the initial steady-flow loss.
What is simplified
This is a lumped, rigid-column model with quasi-steady quadratic friction. It does not resolve pressure waves, pipe-wall elasticity, distributed wave reflections, air pockets, cavitation, check-valve motion or a detailed pump curve. Real water-hammer peaks can be much faster and higher than this model predicts. The pressure rating is a user-selected comparison threshold, not a material failure calculation.
What the numbers mean
Water density (998 kg/m³) and gravitational acceleration (9.81 m/s²) are textbook reference values. Geometry, operating conditions, friction, tank level, pressure rating and pump rundown are illustrative inputs, not a surveyed installation. The drawing is scaled for explanation rather than to a construction drawing.
Educational engineering model only. It is not a design tool for sizing or certifying a real water main or surge vessel.