Академический Документы
Профессиональный Документы
Культура Документы
pipe networks to properly assess the potential level of intrusion associated with negative
pressure and the resulting effect on disinfectant residual efficiency. Transient analysis
is computationally demanding even for simple pipe systems, and the computational
effort for large pipe networks can be substantially high. Moreover, computational effort
efficiency and the accuracy of solution associated with the available transient analysis
methods is essential for efficient handling of transients in large pipe distribution networks.
This research investigated the numerical accuracy of solution and the computational
method (WCM) and the method of characteristics—and elucidated their implications for
practical applications. The authors offer a guideline for selecting the number of friction
orifices for the WCM. In addition, this research demonstrated the superior performance
of the WCM in both numerical accuracy of solution and computational effort for transient
T
been a difficult and tedious task. Many methods have been developed
BY DHANDAYUDHAPANI RAMALINGAM, for transient analysis, and only a few have been successful in terms
SRINIVASA LINGIREDDY, of acceptable level of accuracy of solution, programming ease, and
computational efficiency. The wave characteristic method (WCM)
AND DON J. WOOD
is one such method that has been used with great success over the past quar-
ter century by numerous modelers worldwide (Jung et al, 2007; Boulos et al,
2006, 2005; Wood et al, 2005a, 2005b, 1966). The fixed-grid method of
characteristics (MOC) is another popular method that has been widely used
(Wylie & Streeter, 1993, 1978; Streeter & Wylie, 1967). Although these two
methods solve the same governing equations, make similar assumptions, and
adopt a numerical procedure for time simulation, they differ significantly in
their underlying approaches and computational requirements.
BACKGROUND
Historically, many of the transient modeling efforts were directed toward
transmission mains and penstocks with little or no attention to complex
water distribution networks. Recent studies by the National Research Coun-
cil, the Water Research Foundation, and the US Environmental Protection
Agency highlighted the potential for pathogen intrusion in drinking water dis-
tribution networks during transient-generated low-pressure events (Besner,
COMPUTATIONAL EFFORTS ASSOCIATED Hi,t = 0.5 × 1/F × [(Qi – 1,t – 1 – Qi + 1,t – 1) + 1/F × (Hi – 1,t – 1 + Hi + 1,t – 1)
WITH THE THREE METHODS + (Qi – 1,t – 1 × |Qi – 1,t – 1| – Qi + 1,t – 1 × |Qi + 1,t – 1|) × G] [15]
WCM computational effort of friction orifice analysis. The
term “res” represents the resistance of the friction orifice. Second-order MOC computational effort for solution of
equations at a grid location.
F = a/(g × A) [2]
Qo = Qi + (D1 – df – D2)/F Cp_der = G/4 × (|Qi – 1,t – 1 + Q2| + |Qi + 1,t – 1 + Q2|) [7]
} until (Qf – Qo) is negligible [4]
delQ = –(Cp – Q2 + E)/(Cp_der – 1) [4]
M = F × (Qo – Qf ) [2]
Q2 = Q2 + delQ
H3 = H1 + 2 × D1 – M [3] } until delQ is negligible [1]
in which N is the number of segments in a pipeline and D1 and D2—magnitudes of pressure waves approaching the friction
x = L/N is the size of a single segment. orifice, D3 and D4—magnitudes of pressure waves reflected off the
friction orifice, H1 and H2—pressure head at the corresponding
Wylie (1996) defined two dimensionless time con- locations before the pressure waves impinge on the friction orifice,
stants—one based on the time, Tm, at which transient H3 and H4—pressure head at the corresponding locations after the
pressure waves impinge on the friction orifice, Qi and Qo—flow
results are compared and another based on the time, Te, through the friction orifice before and after, respectively, the
over which a transient-initiating event or disturbance pressure waves impinge on the friction orifice
(such as a valve closure, valve opening, or pump ramp-
down) takes place. Tm and Te are then nondimensional-
ized using wave travel time, L/a, to arrive at dimension- dv/dt is the time rate of change of velocity and captures
less time constants tm and te. For example, for a pipeline the exciter behavior, z is an exponent, and Ce corresponds
with length L and wave speed a, the time for a transient to the percentage error E when R (dv/dt)/Nz = 1.
pressure wave from the downstream end to travel to the The exponent z is a function of R, dv/dt, time tm at
upstream end is L/a. If the transient results are compared which comparison is made, and te, the dimensionless
at time Tm = 1.5 × L/a after the initiation of transient effective operator time. The exponent z is likely to vary
pressure wave, then time constant tm is [1.5 × (L/a)/(L/a)] differently when tm and te are < 2 (Tm and Te < 2 L/a are
= 1.5. Similarly if the pressure transient was initiated by generally categorized as rapid transients) than when the
completely closing a valve in time Te = 0.2 × (L/a), then same dimensionless time constants are > 2 (Tm and Te >
te is [0.2 × (L/a)/(L/a)] = 0.2. 2 L/a are generally categorized as slow transients).
Error is calculated in Eq 8 as Objectives of the current study. Eq 8 is a useful tool to
dv study the combined effect of steady-state friction cap-
R tured by R, exciter behavior represented by dv/dt, and
H dt
E Ce (8) the number of segments a pipeline is divided into for
H Nz
analysis, N, on the accuracy of a solution procedure. The
in which H is the deviation in the computational results error involved in a solution procedure can be compared
from the correct answer H obtained at a large value of N, by determining Ce and exponent z for that solution pro-
Hazen–Williams
Roughness Diameter Hreservoir a V0 Hfo Hs
Case Coefficient mm m m/s m/s m m R = Hfo/Hs
a—pipe celerity or wave speed, Hfo—frictional head loss, Hreservoir—head at reservoir, Hs—potential surge, R—nondimensional factor, V0—steady-state line velocity
0.010
0.001 on; on average, the method required
1 10 100 1,000 10,000 two iterations. The computational
100.000 R = 0.491 effort involved was 5 + (2 × 11) + 8, or
10.000 35 flops.
1.000 First-order MOC computational effi-
0.100
0.010 ciency. Because the entire pipeline is
0.001 divided into a number of segments for
1 10 100 1,000 10,000
calculation of heads and flows and sim-
R = 0.096
100.000 ilar equations are solved for each grid
10.000
point, computational effort can be
1.000
0.100 ascertained by determining the total
0.010 number of computations associated
0.001
1 10 100 1,000 10,000 with a grid location. The second sec-
N tion of the sidebar shows the flop cal-
culations for first-order MOC, which
MOC—method of characteristics, R—nondimensional factor, N—number of segments,
WCM—wave characteristic method needed 33 operations per segment per
time increment.
Pipeline length = 6,583.7 m, R ⱕ 1.0
Second-order MOC computational effi-
ciency. Although mixed schemes used in
FIGURE 5 Percentage error versus number of segments for scenario 2
other work (Streeter & Wylie, 1993;
First-order MOC
Second-order MOC
Almeida & Koelle, 1992) are more
WCM
R = 1.06
accurate than first-order MOC and less
100.000 computationally expensive than second-
10.000
1.000
order MOC, the current study used the
0.100 second-order scheme reported by Wylie
Percentage Error in Head at the Valve
0.010
0.001
and Streeter (1978) for its accuracy. Sec-
1 10 100 1,000 10,000 ond-order MOC differs from first-order
R = 0.414 MOC only in that it has a nonlinear
100.000
10.000 equation in flow rate. The Newton–
1.000 Raphson method was used to solve the
0.100
0.010 nonlinear equation, and it was found
0.001 that the second-order MOC scheme
1 10 100 1,000 10,000
needed (on average) two iterations for
100.000 R = 0.016
10.000
convergence. As shown in the third sec-
1.000 tion of the sidebar, the number of com-
0.100
0.010
putations for a single segment was 10 +
0.001 (2 × 23) + 19, or 75 flops.
1 10 100 1,000 10,000
Chaudhry (1979) proposed a predic-
N
tor–corrector scheme, which purport-
MOC—method of characteristics, R—nondimensional factor, N—number of segments, edly is more computationally efficient
WCM—wave characteristic method
than second-order MOC. Results from
Pipeline length = 1,097.3 m, R ⱕ 1.0 this scheme were either similar or slightly
100.00
Scenario 2: Pipeline length = 1097.3 m, R < = 1.0 tion. In addition, the time step
90.00
determines the number of seg-
80.00
70.00 ments, N, that a pipeline segment
60.00 is divided into and therefore the
50.00 accuracy of the method.
40.00 Selection of the time increment.
30.00 In general, selection of the com-
20.00
putational time step t for the
10.00
0.00
transient simulation of a com-
0.00 0.20 0.40 0.60 0.80 1.00 1.20 plex pipe network has the fol-
R/N lowing constraints:
100.00
Scenario 3: Pipeline length = 6584.7 m, R > = 1.0 and R < = 2.0 • t should be less than or
90.00
equal to the shortest wave travel
80.00
70.00 time (length/celerity) in the net-
60.00 work (in the pipes modeled);
50.00 • t should be less than or
40.00 equal to the minimum time span
30.00 of exciter behavior or boundary
20.00
condition changes; and
10.00
0.00
• t should be the greatest
0.00 0.20 0.40 0.60 0.80 1.00 1.20 common divisor (GCD) of travel
R/N times of all pipelines and the min-
a—celerity or wave speed, D—diameter of the pipeline, f—Darcy–Weisbach friction factor,
imum time span of boundary con-
MOC—method of characteristics, N—number of segments, R—nondimensional factor, dition change.
V0—steady-state line velocity, WCM—wave characteristic method, x—space coordinate Accuracy and Courant stability
criteria. As described previously,
the MOC requires that the ratio
the variation of number of segments been smoother and of the distance step, x, to the time step, t, be equal to
evenly spaced in each system, the variation in number of the wave speed, a, in the pipe. In other words, the
segments for a particular accuracy across different systems Courant number, defined as [a × (t/x)], ideally should
would have been less, especially in the second-order MOC be equal to 1 and must not exceed 1 for stability rea-
scheme and the WCM. sons (Chaudhry, 1979). Because most pipeline systems
Table 3 yields the following findings: have a variety of different pipes of various wave speeds
• For a value of R up to 0.5, it is sufficient to use only and lengths, it might be difficult to satisfy the Courant
two friction orifices in the WCM to ensure a percentage stability criterion for all pipes with a reasonable (and
error of < 2%. The WCM in this case would be at least common) value of t (Karney & Ghidaoui, 1997). This
20 times more computationally efficient than the first- challenge can be overcome by either adjusting the lengths
and second-order MOC schemes. and/or wave speeds of the pipes or allowing the Courant
• For R > 0.5 and R < 1, it is sufficient to use six fric- number to be < 1. Allowing a Courant number < 1
tion orifices in the WCM to ensure a percentage error of requires a numerical interpolation that in turn leads to
Ce—percentage of error, MOC—method of characteristics, R—nondimensional factor, SSE—sum of squared error, WCM—wave characteristic method
Boldface indicates that the variable has been solved for all three methods. Italics indicate that the variable has been kept constant for all three methods.
flops—floating point operations, MOC—method of characteristics, R—nondimensional factor, SSE—sum of squared error, WCM—wave characteristic method
The velocity of flow in pipe P-7 = 4.24 fps (1.29 m/s). • t should be the GCD of all travel times and all
Using Eq 4, the potential surge Hs = 434.5 ft (132.5 m). time spans of boundary condition changes, i.e., t = GCD
Steady-state results indicated that the pipe frictional losses of (0.4, 0.5, 0.6, 0.606, 0.7, 0.8) = 0.002 s.
in the system varied from 1.4 to 10.9 ft. Frictional head The travel time of 0.606 s for pipe P-7 skews the t
loss in pipe P-7 = 4.4 ft. From Eq 3, Hfo = 4.4 ft (1.34 m). selection from a much larger possible t value. Given the
From Eq 5, R = 0.01. supposition that 0.606 s can be rounded to 0.6 s, then t
Because R is < 0.5, one friction orifice would be suf- can equal 0.1 s. However, the error in doing so is that
ficient for reasonable solution in the case of the WCM. pipes P-1 and P-7 are modeled as 1,980 ft in length rather
However, the number of segments needed in MOC must than 2,000 ft. Alternatively, the wave speed could be
be determined first from the stability criteria and then adjusted to account for these changes.
checked for adequacy of frictional modeling. Adjusting pipe lengths and/or wave speeds that result
As described in the previous section, the selection of the in a larger t does not appear to be a major issue for the
time increment t has the following constraints: example network under consideration. However, it may
• t should be less than or equal to the smallest travel not always be possible to adjust the time increments to
time, i.e., t 0.4 s (travel time of pipe P-4); larger values. Consider a scenario in which one pipe in the
• t should be less than or equal to the time span of network is significantly shorter than the rest. For exam-
boundary condition changes, i.e., t 0.6 s (demand ple, if pipe P-1 in the example network were 50 ft long
decreases to 0 in 0.6 s); and rather than 2,000 ft long, the resulting travel time would
Head—ft
to pipe lengths and/or wave speeds, 400
which could unduly affect the accu- 300
racy of results. Short pipes are com- 200
mon near pump stations when mod- 100
eling large distribution networks. 0
0 50 100 150 200 250 300 350 400 450 500
Because t controls the total num-
Time—s
ber of segments for the MOC and 800 Second-order MOC WCM Accurate solution
thus the total computational effort, 700
it is worthwhile to explore the com- 600
putational efforts needed both with 500
Head—ft
P–
This work examined the numer- 9
P–5
P–
P–8
both methods, and their implica- P-1 2,000 (610) 36 (914) 92 3,300 (1,006.1)
tions for practical applications were P-2 3,000 (914) 30 (762) 107 3,750 (1,143.3)
investigated. P-3 2,000 (610) 24 (610) 98 4,000 (1,219.5)
The current study used nondi- P-4 1,500 (457) 18 (457) 105 3,750 (1,143.3)
mensional parameters and time con- P-5 1,800 (549) 18 (457) 100 3,000 (914.6)
stants reported previously in the lit- P-6 2,200 (671) 30 (762) 93 3,140 (957.3)
erature. Guidelines in the form of P-7 2,000 (610) 36 (914) 105 3,300 (1006.1)
error study were developed for the P-8 1,500 (457) 24 (610) 105 3,000 (914.6)
number of friction orifices to be used P-9 1,600 (488) 18 (457) 140 3,200 (975.6)
in the WCM to ensure an acceptable
REFERENCES Lingireddy, S.; Funk, J.E.; & Wang, H., 2000. Genetic Algorithms in
Optimizing Transient Suppression Devices. Proc. Joint Conf. on
Almeida, A.B. & Koelle, E., 1992. Fluid Transients in Pipe Networks. Water Resources Engineering and Water Resources Planning
Computational Mechanics Publ., Southampton, and Elsevier
and Management, ASCE, Reston Va.
Applied Sci., London.
Liou, C.P., 1992. Adequacy for Water Hammer Equations for Leak
Besner, M.C., 2007. Risk Evaluation of Drinking Water Distribution Sys-
Detection in Petroleum Product Pipelines, Unsteady Flow and
tem Contamination Due to Operation and Maintenance Activi-
Fluid Transients (R. Bettess and J. Watts, editors). Balkema,
ties. Doctoral dissertation, University of Montreal, Quebec.
Rotterdam, the Netherlands.
Boulos, P.F.; Lansey, K.E.; & Karney, B.W., 2006. Comprehensive
Liou, C.P., 1991. Maximum Pressure Head Due to Linear Valve Clo-
Water Distribution Systems Analysis Handbook for Engineers
sure. Jour. Fluid Engrg., ASME, 113:Dec.:643.
and Planners (2nd ed.). MWH Soft Inc., Broomfield, Colo.
Boulos, P.F.; Karney, B.W.; Wood, D.J.; & Lingireddy, S., 2005. Nash, G.A. & Karney, B.W., 1999. Efficient Inverse Transient Analysis
Hydraulic Transient Guidelines for Protecting Water Distribu- in Series Pipe Systems. Jour. Hydraulic Engrg.—ASCE,
tion Systems. Jour. AWWA, 97:5:111. 125:7:761.
Chaudhry, M.H., 1987. Applied Hydraulic Transients (2nd ed.). Litton NRC (National Research Council), 2006. Drinking Water Distribution
Educational Publ. Inc., Van Nostrand Reinhold Co., New York. Systems: Assessing and Reducing Risks. National Academies
Press, Washington.
Chaudhry M.H., 1979. Applied Hydraulic Transients (2nd ed.). Van
Nostrand Reinhold Co., New York. Pezzinga, G., 2000. Evaluation of Unsteady Flow Resistances by
Quasi-2D or 1D Models. Jour. Hydraulic Engrg.—ASCE,
Fleming, K.K.; Gullick, R.W.; Dugandzic, J.P.; & LeChevallier, M.W.,
126:10:778.
2006. Susceptibility of Distribution Systems to Negative Pres-
sure Transients. AwwaRF, Denver. Silva-Araya, F.W. & Chaudhry, M.H., 2001. Unsteady Friction in
Rough Pipes. Jour. Hydraulic Engrg.—ASCE, 127:7:607.
Friedman, M.; Radder, L.; Harrison, S.; Howie, D.; Britton, M.; Boyd,
G.; Wang, H.; Gullick, R.; LeChevallier, M.; Wood, D; & Funk, J., Streeter, V.L. & Wylie, E. B., 1967. Hydraulic Transients. McGraw-Hill,
2004. Verification and Control of Pressure Transients and Intru- New York.
sion in Distribution Systems. AwwaRF, Denver.
Vitkowsky, J.P.; Simpson, A.R.; & Lambert, M.F., 2000. Leak Detec-
Jung, B.S.; Boulos, P.F.; & Wood, D.J., 2007. Pitfalls of Water Distrib- tion and Calibration Issues Using Transient and Genetic Algo-
ution Model Skeletonization for Surge Analysis. Jour. AWWA, rithms. Jour. Water Resources Planning & Mgmt.—ASCE,
99:12:87. 126:4:262.
Jung, B.S. & Karney, B.W., 2006. Hydraulic Optimization of Transient Wang, H.; Lingireddy, S.; & Funk, J.E., 1997. Application of Genetic
Protection Devices Using GA and PSO Approaches. Jour. Algorithm in Optimizing the Closed Surge Tanks/Air
Water Resources Planning & Mgmt.—ASCE, 132:1:44. Release/Vacuum Valves in Pipeline Systems. Master’s thesis,
Kapelan, Z.; Savic, D.; & Walters, G., 2003. A Hybrid Inverse Tran- University of Kentucky, Lexington.
sient Model for Leakage Detection and Roughness Calibration Wood, D.J.; Lingireddy, S.; & Boulos, P.F., 2005a. Pressure Wave
in Pipe Networks. Jour. Hydraulic Res., 41:5:481. Analysis of Transient Flow in Pipe Distribution Systems (1st
Karney, B.W. & Ghidaoui, M.S., 1997. Flexible Discretization Algo- ed.). MWH Soft Inc., Broomfield, Colo.
rithm for Fixed-grid MOC in Pipelines. Jour. Hydraulic Engrg.— Wood, D.J.; Lingireddy, S.; Boulos, P.F.; Karney, B.W.; & McPherson,
ASCE, 123:11:1004. D.L., 2005b. Numerical Methods for Modeling Transient Flow in
Kirmeyer, G.J.; Friedman, M.; Martel, K.; Howie, D.; LeChevallier, M.; Distribution Systems. Jour. AWWA, 97:7:104.
Abbaszadegan, M.; Karim, M.; Funk, J.; & Harbour, J., 2001. Wood, D.J.; Dorsch, R.G.; & Lightner, C., 1966. Wave Plan Analysis of
Pathogen Intrusion Into the Distribution System. AwwaRF, Denver. Unsteady Flow in Closed Conduits. Jour. Hydraulics Div.—
LeChevallier, M.W.; Gullick, R.W.; Karim, M.R.; Friedman, M.; & Funk, ASCE, 92:2:83.
J.E., 2003. Potential for Health Risks From Intrusion of Contami-
Wylie, E.B., 1996. Unsteady Internal Flows—Dimensionless Num-
nants Into the Distribution System From Pressure Transients.
bers and Time Constants. Proc. 7th Intl. Conf. on Pressure
Jour. Water & Health, 1:1:3.
Surges and Transients in Pipelines and Open Channels, BHR
LeChevallier, M.W.; Gullick, R.W.; & Karim, M.R., 2002. Potential Group, Harrogate, United Kingdom.
for Health Risks From Intrusion of Contaminants Into the Dis-
Wylie, E.B.; & Streeter, V.L., 1993. Fluid Transients in Systems. Pren-
tribution System From Pressure Transients. Distribution Sys-
tice-Hall, Englewood Cliffs, N.J.
tem White Paper prepared for the US Environmental Protec-
tion Agency. American Water Works Service Co. Inc., Wylie, E. B.; & Streeter, V.L., 1978. Fluid Transients. McGraw-Hill,
Voorhees, N.J. New York, NY.