The reference vessel design on the 12 km main keeps the line at +4.33 m against a +3.0 m criterion: a pass, with 1.33 m to spare. That single run assumes one wave speed, one friction, one gas volume, one gas law and one flow. Move each within a plausible range and the minimum runs from +0.29 to +8.45 m on the gas law alone. Sample all seven together, 300 times, and 31 % of the combinations fail the criterion, while the maximum reaches 143 m in the worst of them, above the 136 m limit. This article shows how to find which inputs matter, how to bound the result, and how to turn a single number into a design that survives its own uncertainty.

1 · One run is one point in a cloud

Every input to a surge model carries an uncertainty, and some carry a lot [1][2]:

The base case is the vessel design of the surge series: 3.5 m³ of gas, a DN400 connection with a differential orifice (loss coefficients 2 out and 10 in), on the 12 km DN800 ductile iron main at 0.70 m³/s, with the pump modelled as stopping at once [3]. Every run below is a full transient run of the trip, 150 s, with the same solver.

2 · One at a time: the tornado

The first step is to move each input to the ends of its range with everything else at base, and see how far the result moves. Sorted by size, the bars form a tornado [2][4].

What moves the result most
Reference vessel design, pump trip, 150 s runs. Each bar spans the result with the input at the low and the high end of its range, everything else at base. Bars sorted by span. The base case is the vertical line.
The two limits are driven by different inputs.
Base case
–
Most influential
–
Its span
–
Least influential
–

For the minimum, the gas law exponent dominates: +8.45 m isothermal, +0.29 m adiabatic. Flow (+5.67 to +2.26 m) and the gas volume tolerance (+2.68 to +5.64 m) follow. Wave speed barely matters (+3.93 to +4.42 m): the vessel works on the mass oscillation, not on the water hammer wave. For the maximum the order changes: the gas law and friction lead, each moving the peak by about 16 m. One tornado per limit is needed.

3 · Shape, not only span

A tornado shows the ends of each range. Sweeping an input across its range shows whether the response is linear, whether it has a threshold, and where the criterion is crossed.

One input across its range
Seven runs across the range of the chosen input, everything else at base. Lowest head on the left axis, highest head on the right.
The base value is marked.
Check it against the project's allowable values.
Range of the input
–
Lowest head across it
–
Highest head across it
–
Criterion met over
–

The gas law exponent moves the minimum steeply: from about 1.25 upwards the reference design falls below +3.0 m. Gas volume is close to linear, about 0.15 m of minimum for every 1 % of gas, flattening at the top of the range. Friction works the other way from intuition: more friction damps the oscillation and raises the minimum. Lower the criterion to −3 m (only where the project specification and the manufacturers' ratings allow it) and every input passes across its whole range.

4 · All together: sampling the cloud

Inputs do not wait for each other to be unfavourable. We drew 300 combinations, each input uniform within its range and independent of the others, and ran the trip for each [4][5]. Uniform sampling is deliberately plain: it says only that every value in the range is plausible, which is usually all a designer can defend.

300 plausible versions of the same design
Distribution of the lowest head on the line over 300 runs with all seven inputs sampled uniformly within their ranges. Bins of 0.5 m. The bars below the criterion are the share of plausible systems that fail it.
As above.
Project limit of this series.
Runs below the minimum
–
5th percentile of the minimum
–
Median of the minimum
–
Runs above the maximum limit
–
95th percentile of the maximum
–

The median of the 300 runs (+4.56 m) is close to the base case, but 31 % of them fall below +3.0 m, the 5th percentile is −0.43 m and the lowest is −2.91 m. At the top, 5 % of the runs exceed 129.8 m and the worst reaches 143.4 m, above the 136 m limit. The single run said “pass with 1.3 m to spare”; the cloud says the design passes in about two systems out of three.

5 · From a range to a robust design

Two ways to design for the cloud are common [2][5]:

Whichever is used, the inputs that dominate the tornado are where effort pays: here, specify the vessel's gas volume band tightly, justify the gas law with the expected rate of compression, and confirm the design flow range. Measuring the wave speed (see field validation) would barely change this answer, because the vessel works on the mass oscillation; on an unprotected main or one protected by air valves, the order would be different.

Reference vessel design: the result as a single run, as a range and as a corner case
BasisLowest head (m)Highest head (m)Verdict at +3.0 m / 136 m
Single base run+4.33119.2passes
300 sampled runs, 5th / 95th percentile−0.43129.8fails 31 % of the time
Corner case, 3.5 m³ of gas−4.85118.0fails
Corner case, 5.30 m³ of gas+3.00101.0passes

6 · What to vary, and what not to

Not everything in a model is uncertain in the same way, and treating every input alike blurs the answer [1][2].

The ranges in this article are illustrative. On a project, write each one down with its source in the assumptions register (see The surge study report), and check the minimum used against the allowable values in the project specification and the manufacturers’ ratings.

7 · Reporting a range

A surge report that gives one number for each limit implies a precision the model does not have. We report:

The structure is in The surge study report.

8 · Running it in Bentley HAMMER

Field names differ slightly between versions [6].

  1. Create one alternative per uncertain input (physical properties for wave speed and friction, initial settings for flows and levels, the hydropneumatic tank's gas volume and gas law exponent, the connection's loss coefficients), each with a low and a high version.
  2. Create a scenario for each low and high, changing only that input, and use Batch Run to compute them together.
  3. Tabulate the envelope extremes of each scenario from the results tables, and build the tornado from them.
  4. Build the corner scenario by combining the unfavourable alternatives.
  5. For sampling, script the inputs (HAMMER's programming interfaces, or export, edit and re-import the input) and collect the extremes; or sample a reduced set of inputs that the tornado shows to matter.
  6. Size the protection on the chosen basis, then rerun the base and the corner with the final size.

9 · Checklist

Surge analysis practice series
  1. Is your HAMMER run right? Time step, adjustment and run duration
  2. Validating a surge model with a field pump-trip test
  3. Sensitivity and uncertainty: bounding the result
  4. Pump data for a pump trip: inertia, specific speed and four-quadrant curves
  5. Demands, branches and dead ends in a transient model
  6. Reading the surge envelope against the pipe's real limits
  7. Transient forces on pipe supports and bends
  8. Booster stations in series
  9. Pump starts, controlled stops and drive ramps
  10. Filling, draining and restarting a transmission main
  11. Surge in wastewater force mains
  12. The surge study report: what to deliver and what a reviewer checks
The protection devices themselves are covered in the surge protection design series.

References & standards

  1. Boulos, P.F., Karney, B.W., Wood, D.J. & Lingireddy, S. “Hydraulic transient guidelines for protecting water distribution systems.” Journal AWWA, 97(5), 2005: uncertain inputs in transient analysis and the need for sensitivity runs.
  2. Thorley, A.R.D. Fluid Transients in Pipeline Systems, 2nd ed. Professional Engineering Publishing, 2004: the influence of wave speed, friction, gas law and pump data on surge results.
  3. Abokhatwa, M. Surge protection design series, abokhatwa.com, 2026: the reference main, its vessel design and the verified MOC solver.
  4. Saltelli, A. et al. Global Sensitivity Analysis: The Primer. Wiley, 2008: one-at-a-time and sampling-based sensitivity methods.
  5. Wylie, E.B. & Streeter, V.L. Fluid Transients in Systems. Prentice Hall, 1993: the transient model and the gas law of a hydropneumatic vessel.
  6. Bentley Systems. OpenFlows HAMMER documentation: alternatives, scenarios, batch run and results tables.
#SurgeAnalysis #WaterHammer #SensitivityAnalysis #Uncertainty #TornadoChart #MonteCarlo #RobustDesign #SurgeVessel #GasLaw #WaveSpeed #BentleyHAMMER #TransientAnalysis #TransmissionMain #WaterEngineering