The science · model, assumptions & independent check
Textbook basis: Darcy–Weisbach pipe losses, Swamee–Jain turbulent friction factor, and the Joukowsky water-hammer relation. Illustrative closure model: the effective closure fraction represents the portion of drive velocity removed over a rapid pressure-wave interval.
Scaled / simplified: this is not a full transient method-of-characteristics solver. Valve inertia, air-chamber gas compression, cavitation, pipe elasticity and cycle-resolved waste-valve motion are omitted. Cycle frequency is a recovery-time approximation; the steady energy ratio is enforced by the delivery-flow closure.
Mass balance: drive flow = delivered flow + residual waste flow. The surge head is an educational estimate, not a pipe pressure-rating recommendation.