Elevation + Pressure = Total Head
EPANET reports hydraulic head at every node — the water's total mechanical energy, expressed as a height. It always splits into two pieces you set separately in a model.
Result
The dashed teal line is the hydraulic grade line — how high water would rise in a thin open tube stuck into the pipe there. Its height above the node is pressure head; its height above datum is total head.
Reservoir → J1 → J2
Head is lost to friction moving down each pipe. EPANET walks the energy equation hi − hj = headloss across every link in turn.
Reservoir
Pipe 1
Junction 1
Pipe 2
Junction 2
Node-by-node results
Why looped networks need iteration
A straight chain solves node-by-node, like Tab 2. The moment a junction is reachable two ways — like the parallel pipes below — the flow split is unknown until heads and flows are solved together. EPANET's Global Gradient Algorithm (Todini & Pilati, 1988) guesses flows, linearizes the headloss-vs-flow relation, solves for nodal head, corrects the flows, and repeats until the imbalance is negligible. Below is that same logic worked by hand on the smallest network that needs it.
Network
Pipe A
Pipe B
Iteration log
| Iter | h_J (ft) | q_A (gpm) | q_B (gpm) | Δflow/flow |
|---|
Balance check at convergence
Headloss formulas EPANET can use
All three reduce to hL = A · qB (headloss in ft, flow in cfs). EPANET fits A from a pipe's length, diameter and roughness, and re-derives it whenever those change.
| Formula | Resistance coeff. A | Exponent B | Roughness input |
|---|---|---|---|
| Hazen-Williams | 4.727·C⁻¹·⁸⁵²·d⁻⁴·⁸⁷¹·L | 1.852 | C-factor |
| Darcy-Weisbach | 0.0252·f(ε,d,q)·d⁻⁵·L | 2 | ε, roughness (ft) |
| Chezy-Manning | 4.66·n²·d⁻⁵·³³·L | 2 | Manning's n |
Handy constants
Reference: Todini & Pilati (1988); EPANET 2.2 User Manual, US EPA (2020).