Concept
A flow in a pressurized pipeline in which the velocity and pressure at each point vary only with position and not with time is called steady flow; otherwise it is called unsteady flow or transient flow. When the flow rate in a pipe changes suddenly, the pressure at the point of disturbance changes abruptly and propagates upstream and downstream along the pipeline as a pressure wave; this process is customarily called water hammer, and the transient pressure it produces is called the water hammer pressure.
The causes of a sudden flow change fall into two classes. One is planned operations, such as starting and stopping a pump station or a pump unit, speed regulation of units, switching flow routes, and tank switching at the origin and terminal stations; the alternation of two products in batch pipelining also causes slow transients. The other is accidents, such as a sudden power failure at a pump station that shuts down all the units in the station, unit faults or protective trips, a control valve failing and closing in error, and pipeline leaks. In a pipeline under tight line operation (pump-to-pump), the whole line is one hydraulic system, and a pressure or flow change at any pump station causes fluctuations throughout the line; in float tank operation the stations are separated by tanks, and the range of fluctuation is much smaller.
Two kinds of sudden flow stoppage are the greatest threat to the pipeline and equipment: one is the inlet valve at the terminal station being closed in error, causing a sharp rise of pressure upstream of the valve; the other is an intermediate pump station losing power so that all its units stop at once, when the pressure rises on the inlet side of the station and falls on the outlet side.
The danger of a pressure rise is to strength: the transient increment added to the existing operating pressure may exceed the maximum working pressure permitted for the pipeline. The danger of a pressure drop is twofold: a pipe section whose pressure is already low may fall below the saturation vapor pressure of the liquid, causing vaporization and column separation; and in a long-distance pipeline with intermediate pump stations, the intake pressure of the downstream pump stations may also be insufficient.
Calculation Methods
1. Propagation of the pressure wave. Take as an example the instantaneous closing of the valve at the end of a pipe leading from a reservoir, neglecting friction: the liquid upstream of the valve stops flowing and the pressure rises by ΔH; the pressure-rise wave travels upstream at wave speed a and reaches the reservoir after a time L/a; at the reservoir it is reflected as a pressure-drop wave that returns to the valve, and is reflected again at the closed valve as a pressure-drop wave ... The time 2L/a that the pressure wave needs for one round trip is called the pipeline period, and one transient cycle is completed in 4L/a.
2. Wave speed. The wave speed of the pressure wave depends on the compressibility of the liquid and the elasticity of the pipe wall. For a thin-walled pipe (D/δ > 25):
where K is the bulk modulus of the liquid, Pa; ρ is the liquid density, kg/m³; E is the elastic modulus of the pipe material, Pa; D is the pipe inner diameter, m; δ is the wall thickness, m; and C1 is the restraint coefficient of the pipe: it is taken as 1 when the pipe is free to expand and contract axially (for example with bell-and-spigot joints) and as 1 − μ² when the pipe has no axial displacement (a buried pipe section), where μ is Poisson's ratio, about 0.30 for steel pipe. If the pipe wall is perfectly rigid (E → ∞), the denominator tends to 1 and a = √(K/ρ), the speed of sound in the liquid itself; the more elastic the pipe wall and the greater the diameter-thickness ratio, the lower the wave speed (Figure 1).
In steel pipe, the propagation speed of a pressure wave is about 1000–1200 m/s in oil products and about 1200–1400 m/s in water; another source gives 900–1100 m/s for oil products. For one pipeline, the measured mean bulk modulus of Daqing crude oil at a mean oil temperature of 44 °C and a mean density of 845 kg/m³ was 1.70 × 10⁹ Pa, and the measured water hammer wave speed was 1029 m/s. The K of a liquid decreases with rising temperature and varies little with pressure below 4.0 MPa; the lighter the hydrocarbon and the higher the temperature, the smaller K is. When the liquid contains free gas, the wave speed drops markedly; the drop increases with gas content and weakens as pressure rises.
3. Direct transient pressure. When the flow velocity changes instantaneously by ΔV, the head change at the point of disturbance is (the Joukowsky equation):
where V0 and V are the flow velocities before and after the disturbance, and ΔV = V0 − V. The sign depends on position: when a valve is partly closed, the liquid stream upstream of the valve is obstructed, ΔV is positive, and a pressure-rise wave is sent upstream; less liquid reaches the downstream side of the valve, and a pressure-drop wave is sent downstream. If the valve is not closed instantaneously, the closure can be split into many small velocity changes that are superposed one by one, ΔH = (a/g)ΣΔV. This superposition holds only if the whole disturbance ends within 2L/a, before the first reflected wave has returned to the point of disturbance; beyond that time the case is indirect surge, described below.
4. Direct and indirect surge. When the valve closing time (or the time for stopping the liquid flow) Ts is shorter than the pipeline period 2L/a, the first returning pressure-drop wave has not yet arrived, and the pressure rise upstream of the valve is the same as for instantaneous closure; this is called direct surge. When Ts is longer than 2L/a, a pressure-drop wave has already returned during the closing, and the pressure rise upstream of the valve is lower than the direct surge value; this is called indirect surge. Lengthening the valve closing time is the basic means of lowering the peak pressure upstream of the valve.
5. Line packing and attenuation in long-distance pipelines. At steady state there is a hydraulic gradient in the pipe; after the downstream valve is closed, the liquid that the pressure-rise wave has passed does not stop completely but continues to flow downstream, and the compressed liquid and the expanded pipe wall continue to accommodate the inflowing liquid, so that the pressure upstream of the valve continues to rise by ΔH2 above the direct transient pressure ΔH1; this is called line packing. At the same time, the change of velocity where the wavefront has passed becomes smaller and smaller, and the peak of the wavefront decreases along the line, which is called pressure wave attenuation. The longer the pipeline and the greater the steady-state gradient, the more pronounced the line packing. A long-distance pipeline therefore cannot have its maximum pressure estimated with ΔH = aΔV/g alone; a water hammer analysis by a numerical method such as the method of characteristics is required, using the boundary conditions of the pumps, valves, and stations of the whole line.
Worked Example
Given: the pipe section of the unified example of this category (oil pipeline common example E1 of the data basis table; the water hammer parameters are assumed and serve only to demonstrate the algorithm). A buried φ426 × 8 mm steel pipe, inner diameter 0.410 m, wall thickness 8 mm; crude oil density 860 kg/m³, steady-state flow velocity 0.8807 m/s (see Oil Pipeline Hydraulics); pipe section length 60 km, with the end valve fully closed. The bulk modulus of the crude oil is assumed to be K = 1.50 GPa (chosen on the order of laboratory data for crude oil at 21–38 °C determined abroad: interpolating from the tabulated values, crude oil of relative density 0.86 is about 1.37 GPa at 38 °C, while the measured value for Daqing crude oil at 44 °C in one pipeline is 1.70 GPa, and 1.50 GPa lies between the two); steel pipe E = 206.9 GPa, μ = 0.30; buried, so C1 = 1 − 0.30² = 0.91.
Find: the wave speed, the direct transient pressure, and the pipeline period; and the effect of the valve closing time.
Solution:
- Wave speed: (K/E)(D/δ)C1 = (1.50/206.9) × (410/8) × 0.91 = 0.3381; K/ρ = 1.50 × 10⁹/860 = 1.7442 × 10⁶ m²/s²; a = √(1.7442 × 10⁶/1.3381) = 1142 m/s, within the range of 1000–1200 m/s.
- Direct transient pressure: ΔH = 1141.7 × 0.8807/9.81 = 102.5 m of oil column; Δp = 860 × 1141.7 × 0.8807 = 0.865 MPa.
- Pipeline period: 2L/a = 2 × 60 000/1141.7 = 105.1 s. If the valve closing time is 30 s (assumed), which is less than 105.1 s, the case is direct surge and the direct transient pressure upstream of the valve is about 102.5 m; if the valve is closed uniformly over 300 s (assumed), the case is indirect surge and the direct transient pressure upstream of the valve will be lower than this value.
- Partial flow change: if the accident only halves the flow rate, ΔV = 0.4404 m/s and ΔH ≈ 51.25 m, exactly half of 102.5 m, being proportional to ΔV.
- Parameter sensitivity: if the same pipe is free to expand and contract (C1 = 1), a = 1128 m/s; with K taken as the 1.70 GPa measured for Daqing crude oil, a = 1195 m/s, and the direct transient pressure increases in proportion to a, by about 5%.
- Discussion: the above is only the direct transient pressure. The steady-state friction loss of the 60 km pipe section is about 166.5 m, and after the valve closes, line packing will make the pressure upstream of the valve rise further above 102.5 m; the actual maximum pressure must be determined by water hammer analysis. The maximum pressure obtained, superposed on the steady-state pressure along the line, should be compared with the maximum working pressure allowed for the pipeline (for wall thickness and design pressure see Pipeline Strength and Wall Thickness Calculation); this example draws no conclusion on whether overpressure occurs.
Recommended Values
| Parameter | Value or method | Notes |
|---|---|---|
| Elastic modulus of steel pipe E | 206.9 × 10⁹ Pa, μ ≈ 0.30 | |
| Restraint coefficient C1 | 1 − μ² for buried pipe; 1 for free axial expansion and contraction; for one end fixed there are two expressions (see below) | |
| K of crude oil | For crude oil of relative density 0.83 at 15 °C: 1.53 GPa at 7 °C, 1.35 at 21 °C, 1.225 at 38 °C; for relative density 0.90: 1.92, 1.735, 1.56 GPa | Determined in foreign laboratories, for reference only; the specific oil should preferably be measured |
| K of water | 2.39 GPa at 20 °C, 2.215 GPa at 40 °C | |
| Wave speed a | Oil products 1000–1200 m/s (another source: 900–1100 m/s), water 1200–1400 m/s | For estimation; use calculated or measured values in design |
For a pipe section with one end fixed and the other free to expand and contract, the restraint coefficient is written in two ways, 1 − μ/2 and 5/4 − μ, which for steel pipe are 0.85 and 0.95 respectively, and the effect on the wave speed of this example is less than 1.5%.
Influencing Factors and Considerations
- The larger and faster the flow change, the greater the transient pressure. ΔH is proportional to ΔV; when the change time is shorter than 2L/a, it is treated as direct surge.
- A rise in oil temperature lowers the wave speed. As the temperature rises K decreases, and the wave speed and direct transient pressure decrease with it; gas content likewise lowers the wave speed.
- Line packing must be included for long-distance pipelines. The longer the pipeline and the greater the steady-state gradient, the more the pressure upstream of the valve continues to rise above the direct transient pressure. The distance between stations in a long-distance pipeline is large; estimated at 1000 m/s, the pressure wave takes 50–150 s to reach an adjacent pump station or the pipe end and be reflected back, so the pressure along the line changes more gently than in a short pipe, leaving time for regulation, but the time needed to return to the new steady state is correspondingly longer.
- Overpressure may be synchronized or superposed. When the downstream valve is closed in float tank operation, the round trips of the pressure wave make the check valve at the pump outlet close and open repeatedly, the repacking of the pipeline by the pump becomes synchronized with the pressure wave, and the pressure in the pipe may rise to and beyond the shut-off head of the pump; this is called synchronization or lock-in. In tight line operation, closing a downstream valve suddenly reduces the throughput of the upstream pump station, the station inlet pressure rises and is added to the pump head, and the outlet pressure becomes still higher; this is called superposition. Both cases may endanger the pipeline and call for reliable protective measures.
- Hazards of the pressure-drop wave. If a low-pressure zone falls below the saturation vapor pressure, vaporization and column separation may occur; gas bubbles tend to collect at high points of the pipeline, and when two liquid columns rejoin and collide, very high pressures may be produced. When negative pressure occurs in a large-diameter pipe, it may also collapse or buckle.
- Water hammer analysis. For every pipeline under tight line operation, the maximum and minimum pressure envelopes along the line, without and with protection, should be calculated for two conditions, shutdown of all the intermediate pump stations and sudden closure of the terminal station valve, and used to judge whether protection is needed and whether it is adequate. The data required include throughput, oil properties, profile and pipeline parameters, pump and valve characteristics, and the pressure set points of each station.
- Protection methods. Three are in common use and are chosen according to the pipeline conditions; the specifications of the facilities required are all determined by water hammer analysis:
| Method | Practice | Conditions and key points |
|---|---|---|
| Relief protection | Relief valves are installed at the inlet of intermediate pump stations and the terminal station and, when the pressure exceeds the set value, discharge part of the oil to a relief tank, cutting off the high-pressure peak | The earlier method; the valve size is first chosen from experience and then confirmed by repeated trial calculations with a water hammer analysis program |
| Advance protection | As soon as the control center identifies an accident, it directs the other pump stations to act at once: upstream stations throttle, slow down, and stop pumps in turn, and downstream stations adjust accordingly | Premised on a high degree of automation of the whole line; once the pressure and flow requirements determined by the analysis are met, the subsequent actions are no longer executed |
| Pipeline strengthening | No special facilities; the pipe strength is relied on to withstand the maximum water hammer pressure without protection | Mostly seen in small-diameter pipelines with a large strength margin |
- Preventive operating practice. The rate of flow change must be controlled in planned pump starts and stops and in switching flow routes, for example by throttling the pump outlet valve to control the flow change when starting and stopping pumps, so that the pressure fluctuation stays within the allowable range.