Converter tool

Sprinkler Hydraulic Calculation

Solve a sprinkler piping network with Hazen-Williams friction and K-factor heads, find the demand at the design area's governing head, and compare it with the water supply curve on N^1.85 axes.

A fire sprinkler system is a life-safety system. This page does a calculation; a licensed designer must review the system, the design criteria (density and area, hose streams, pipe and fitting data) and the water supply. Those criteria are your inputs, not outputs of this page.

US units: feet, inches, gpm and psi

1. Network

Loops and grids are solved as well as trees. Equivalent lengths for fittings depend on pipe material and C-factor, so they are left for you to enter rather than looked up.

2. Design area and supply

Ranks heads by pipe resistance from the source. It is a first guess; try other areas as well.

Sprinkler Hydraulic Calculation with Supply Curve

Operator: Abdulla Al Fahad. How tools are built and checked

A sprinkler system is a life-safety system, and a licensed designer must review any calculation that supports one; the density, area, hose-stream and pipe-data criteria on this page are inputs you supply, not conclusions it draws. With that said, the arithmetic is mechanical: friction loss by Hazen-Williams, flow from each head as K times the square root of its pressure, and a demand point to set against the water supply. This page does that arithmetic for trees, loops and grids and shows every pipe and node.

Key features

  • Nodes with elevation, an optional K-factor and minimum pressure, and an optional fixed flow such as a hose allowance, plus one source node
  • Pipes from Schedule 40 or Schedule 10 steel sizes of 1 to 8 inches, or any inside diameter you type, with length, C-factor and a total fitting equivalent length
  • A global-gradient solver (the method EPANET uses) for tree, loop and grid networks with heads as emitters
  • The source pressure at which the least-satisfied head in the design area just reaches its minimum pressure, found by bisection
  • A first-guess remote-area helper that ranks heads by pipe resistance from the source and picks the nearest heads around the worst one
  • A hydrant-test supply curve (static, residual, flow) and a hose allowance, plotted against the demand on N^1.85 axes with a margin

How nodes, pipes and the water supply are entered and solved

Nodes are lines of id, elevation in feet, K-factor, minimum psi and fixed gpm, with the word source in the last column of exactly one node. Leave K blank for a junction. Pipes are lines of id, from, to, size, schedule, length in feet, C and fittings in feet; the size is a nominal size such as 1-1/4 with schedule 40 or 10, or ID:2.067 for a diameter you choose. Lines starting with # are comments, and a header line is skipped. Up to 400 nodes and 800 pipes are solved.

The page holds equivalent lengths for fittings as a number you enter, because the right value depends on the pipe material, the C-factor and the edition of your code. The pipe and fitting data tables are the designer's source, so none is built in. Velocity pressure is ignored, which is conservative: pressure at a node is the total pressure.

The design area is a list of node ids, or blank for every head. Heads outside it stay closed. Nodes with a fixed flow flow whether or not they are in the area, which is how a hose allowance at the source or on a riser is entered.

How it works

Friction in a pipe is p = 4.52 Q^1.85 / (C^1.85 d^4.87) in psi per foot with Q in gpm and d the inside diameter in inches, multiplied by the pipe's length plus its fitting length. Elevation adds 0.433 psi per foot, and the pressure a head sees is its total head less that elevation term.

The network is solved by a Newton iteration on the node heads: each pipe is linearised about its current flow, the heads are found from one linear system, and the pipe flows are updated from them. A head is an emitter, q = K√P, linearised the same way. For a tree this converges in a handful of iterations; the page shows the iteration count and the flow balance residual.

To find the demand, the source pressure is bisected between 0 and an upper limit that is doubled until every active head passes. At each trial pressure the flows and pressures follow; the answer is the pressure at which the lowest margin of head pressure over minimum pressure reaches zero. The supply line is P = Ps - (Ps - Pr)(Q/Qr)^1.85 from the hydrant test, and the demand is the sprinkler flow plus fixed flows plus the hose allowance.

Common use cases

  • A designer checks a pipe-size change on one branch line by running before and after and reading the change in required source pressure.
  • A student solves a grid of six pipes around a cross main and sees the flow split between the two paths to a corner head.
  • A reviewer takes the supply from a hydrant test of 82 psi static and 64 psi residual at 1,150 gpm and finds where the demand curve crosses it.

How to use this tool

  1. Enter the nodes with the supply connection marked source, then the pipes that join them.
  2. Press Suggest from the most remote head to fill the design area, or type the ids of the heads that flow.
  3. Enter the static and residual pressures, the flow at the residual, the hose allowance and a margin.
  4. Press Calculate and read the required source pressure and the governing head.
  5. Check the supply and demand plot and the velocity flags.
  6. Open the node and pipe tables and verify one branch by hand.
  7. Download the node and pipe CSVs for the calculation package.

Example

Load three-branch-line example (three branch lines of five K 5.6 heads, heads 10 ft apart and lines 12 ft apart, minimum 7 psi, on a 3 in cross main fed through a 4 in riser)

Suggest 10 heads from the most remote head. Supply: static 75 psi, residual 60 psi at 1,000 gpm, hose allowance 100 gpm, margin 10 psi.

What the page reports

Remote head H3-5 governs at 7.0 psi. Sprinkler flow 181.4 gpm; required pressure at the source 19.56 psi. Demand with hose 281.4 gpm, against 73.56 psi available there, 54 psi above the requirement. Highest velocity 10.2 ft/s. With all 15 heads open the page gives 252.9 gpm at 20.68 psi.

Tips for best results

  • On N^1.85 axes the supply is a straight line, so two hydrant test points are enough to read the available pressure at any flow; the demand point sits on the same axes.
  • Give each head its own minimum pressure if the criteria differ: the governing head is the one with the least margin over its own minimum, not the lowest pressure.
  • Put an elevation on every node. A head 4 ft above the source costs 1.73 psi that a flat model hides.

Common pitfalls

The remote-area helper ranks pipe resistance; it is a starting guess. The governing area can be a different place, such as a high point or a dense cluster, so try other areas.

Equivalent lengths are yours to enter. Using a fitting length for steel at C = 120 on plastic or copper at a different C gives a wrong friction loss.

Heads are assumed to flow at K√P with no minimum-flow, coverage or spacing checks. Density per area and head spacing are design criteria checked elsewhere.

The supply curve is a single hydrant test. It ignores seasonal changes, and the hose allowance is added at the source, not at the point in a grid where the hose valve sits.

The solver finds one steady-state solution for the area you picked; it does not model pumps, tanks, backflow preventers or dry-pipe delay.

Common errors and how to fix them

Mark exactly one node as the source (the supply connection).
Write source in the last column of one node line, for example S, 0, , , , source.
Pipe "P7" joins "J3" and "H9", and one of those nodes does not exist.
Check the spelling of the node ids in the nodes box; ids are case sensitive.
Nodes "H2-5", "H2-4" are not connected to the source by pipes.
A pipe is missing between that branch and the main; add it, or delete the nodes.
No source pressure below 5,000 psi satisfies every head.
A pipe is far too small or long, or a minimum pressure is very high. Check the sizes and the units, which must be feet and inches.

Best practices

  • Keep the node and pipe tables with the calculation package, with the equivalent-length table that produced the fitting column.
  • Use a hand calculation on one branch line as a check of the entries, not of the solver.

Frequently asked questions

How is this checked?

A three-head branch line was solved by the usual head-to-source sequence (start at the end head's minimum pressure, add friction and elevation upstream, take the flow of each head from its pressure) and the page's source pressure of 10.560888 psi and total flow of 45.31418 gpm agree to the digits shown. A two-pipe parallel section and a four-pipe ring give the flow splits the symmetry demands.

What does the N^1.85 scale do?

Hazen-Williams friction varies as flow to the 1.85 power, so plotting pressure against flow raised to 1.85 turns the supply curve into a straight line and makes it easy to read at any flow.

Can it handle loops and grids?

Yes. The global-gradient method solves any connected network. Trees are the special case with one path to each node.

Why does it ignore velocity pressure?

Using total pressure at every node is the common conservative practice. A calculation that subtracts velocity pressure from the pressure available to a head would need the pipe flow velocity at each head, which this page does not apply.