Вы находитесь на странице: 1из 10

See

discussions, stats, and author profiles for this publication at: https://www.researchgate.net/publication/228806739

Development of a modified Hardy-Cross


algorithm for time-dependent simulations of
water distribution networks

Article in Fresenius Environmental Bulletin January 2008

CITATIONS READS

2 246

3 authors, including:

Selami Demir
Yildiz Technical University
18 PUBLICATIONS 122 CITATIONS

SEE PROFILE

All content following this page was uploaded by Selami Demir on 17 December 2015.

The user has requested enhancement of the downloaded file.


by PSP Volume 17 No 8a. 2008 Fresenius Environmental Bulletin

DEVELOPMENT OF A MODIFIED HARDY-CROSS


ALGORITHM FOR TIME-DEPENDENT SIMULATIONS
OF WATER DISTRIBUTION NETWORKS

Selami Demir*, Kaan Yetilmezsoy and Neslihan Manav

Faculty of Civil Engineering, Department of Environmental Engineering, Yildiz Technical University, 34349 Yildiz, Besiktas, Istanbul/Turkey

ABSTRACT

The Hardy-Cross method that has been widely used supply areas have made the water distribution network be-
in steady-state analyses of water distribution networks was come even more complicated and resulted in numerous
modified in this study. The modified methodology involves problems of water allocation, water supply safety, opera-
the steady-state solutions of the system at various instants. tion and management. Therefore, managing the water dis-
The methodology suggests bringing these steady-state solu- tribution systems in a sustainable and integrated manner is
tions together to form a time-dependent simulation result. necessary to meet the growing demand of water for drink-
A spreadsheet solution was also developed for the modified ing, industrial and other necessities. In this regard, there is
Hardy-Cross algorithm. Microsoft Excel macros were an urgent need to develop well-designed and optimized
used to implement the newly developed algorithm. The solution methods to achieve better control of water distri-
computer program is able to perform both steady-state and bution systems. For this purpose, several investigators have
time-dependent analyses. It offers the use of Darcy-Weis- conducted studies on the calculation of complex water dis-
bach or Hazen-Williams equations for the calculation of tribution networks using different solution approaches. How-
frictional losses. Both Jain and Colebrook-White equations ever, most have limited use when working with high-di-
can be used in the analyses. The computer program can mensional hydraulic data.
also account for minor losses through the pressure pipes.
The program was tested for an example water distribution The present day water distribution networks are com-
system along with EPANET calculations. The modified plex and require huge investments in their construction
Hardy-Cross method was proved to be an accurate tool and maintenance. Therefore, in order to develop a continu-
for time-dependent simulation of water distribution net- ous strategy for the management of water distribution sys-
works. This study represents the development of this accu- tems, hydraulic parameters should be attentively controlled
rate, modified algorithm based on steady-state Hardy-Cross routinely for the duration of the testing, and network quality
Method. This newly developed methodology can easily be should also be verified under various operating conditions.
used for both educational and professional purposes. However, engineers may not have enough time to monitor
all hydraulic parameters under different operating condi-
tions. Hence, a number of modification attempts to the stan-
dard solution methods for development of a powerful algo-
KEYWORDS: Hardy-Cross, water distribution system, steady-state, rithm may help to assess both steady-state solutions and
time-dependent simulation.
particularly time-dependent simulations of water distribu-
tion systems when the nodal demands change on a daily
basis.
INTRODUCTION Water distribution systems may be laid down in two
ways: in loopal networks and in branching structures. From
The demand for water needed to serve agriculture, in- a view point of operational concerns, branching distribu-
dustry, sanitation, and domestic consumption increases tion systems, also called dead-end systems, may lead mainly
continuously along with population and economic growth. to operational problems in the aspect of system pressure,
However, with increasing development and urbanization, especially places near the dead-ends. In order to overcome
water flow rates and other hydraulic requirements associ- this problem, pipes may be laid down in a loopal manner,
ated with water distribution systems have been estimated which is the most commonly used construction method
to increase on both national and local scale. Lin et al. [1] throughout the world. This way, it is easier to sustain much
have reported that expansion and construction of new water higher operational pressures all over the distribution system.

1045
by PSP Volume 17 No 8a. 2008 Fresenius Environmental Bulletin

Above mentioned methodology of constructing water mal model to confirm some design criteria, such as multi-
distribution systems, however, comes with difficulties in the ple loading and service pressures. The authors have reported
hydraulic design. First of all, the system behaves as a gi- that the enumeration theory with practical application is an
gantic complexity in which many factors affect the water easy way to satisfy engineering requirements.
flowrates in pipes and nodal pressures. Besides, any set of
physical properties of a pipe may influence the whole sys- Many researchers developed computer programs for
tem flowrates and pressures. In addition, it is difficult to educational purposes for undergraduate students. Huddle-
predict how the system reacts against an unpredicted change ston et al. [8] developed a computer program to aid the un-
in operational conditions. These highlighted features of dergraduate students concentrate on design issues rather
looped networks makes the design challenging. than time-consuming calculation procedures. Lopes [9]
defined the computer implementation of Hardy-Cross
In order to predict the system reaction against any con- method in detail. He also developed a computer program
ditional change, a series of simulations must be done, which for academic purposes. However, his program is able only
is time-consuming due to complexity. Several approaches to make steady-state analyses.
have been suggested for the solution of distribution sys-
tems including Linear Theory, Hardy-Cross and Gradient In general, several computer programs that have been
Algorithm [2]. Each methodology offers a unique solution. developed so far, such as EPANET and WaterCADTM, are
For example, Hardy-Cross algorithm cannot be used for able to handle steady-state and time-dependent simula-
systems with check-valves while Gradient Algorithm is able tions of the water distribution systems. However, as stated
to handle systems with both check valves and pressure earlier, these computer programs employ some complex
regulating valves [3]. However, all these methodologies equation systems for the solution, which imposes the
require a detailed examination of water distribution system. students to use the programs without comprehensive un-
Besides, these methodologies require great amounts of cal- derstanding of algorithms inside. The aim of this study is to
culations for the solution of the system, which is time-con- develop a new algorithm for time-dependent simulations
suming if hand calculations are employed. Therefore, com- of water distribution systems in order for the students to
puter programs are used in hydraulic simulation of looped understand basic iterative approach for the solution. From
networks. this standpoint, the goal of the study is to develop a com-
Wheeler [4] developed a computer program that hy- puter program, modified Hardy-Cross, that provides both
draulically simulates water distribution systems under steady-state and time-dependent simulations. In this study,
steady-state conditions. The program employed standard Hardy-Cross algorithm was modified to include an outer
Hardy-Cross method. Khezzar et al. [5] pointed out the iterational loop for the time variable.
numerical difficulties in the solution of water distribution
networks in case of pressure-reducing valve inclusion in
the system and they suggested a functional approach to the THEORETICAL BACKGROUND
Linear Theory method in their study. They also use a steady-
Hydraulics
state approach. A computer program has also been devel-
oped by US EPA called EPANET [6]. This program uses The well-known Darcy-Weisbach formula for the cal-
Gradient Algorithm for both steady-state and time-depend- culation of frictional headloss in a full-flow pipe is given
ent simulations. Also, WaterCAD uses gradient algorithm by the following expression:
to hydraulically simulate water distribution systems for both
steady-state and time-dependent simulations. WaterCAD fL V 2 (1)
hL =
also uses a code implementing genetic design algorithm to D 2g
calibrate the system against measured data.
Recently, Ozdaglar et al. [7] conducted an optimiza- where hL is pipe headloss in m, f is the friction
tion-based approach for the design of complex water distri- factor (dimensionless), L is the pipe length in m, D is
bution networks using a code implementing genetic design internal pipe diameter in m, g is gravitational accelera-
algorithm. They designed the potable water distribution net- tion in m/s, and V is flow velocity in m/s. The friction
work of an organized industry region by a computer pro- factor, f , depends on Reynolds number and is calculated
gram, SUGANET, using a code implementing genetic de-
using Jain equation explicitly [10] or Colebrook-White
sign algorithm. They compared the solution obtained by
equation both implicitly and explicitly [11, 12]:
SUGANET with the solution by another computer program,
DOHC, using a different code providing hydraulically k
1 2.51
steady-state results. The authors concluded that genetic = 2 Log +
f 3.7 D R f
design algorithm solution by SUGANET was found to be e (2)
5.3% less costly and showed hydraulically better results.
Another optimization-based study was undertaken by Lin et k
2
5.74 (3)
al. [1] for the practical optimal design of pipe network f = 1.325 Ln + 0.9
using an enumeration algorithm. They established an opti- 3.7 D Re

1046
by PSP Volume 17 No 8a. 2008 Fresenius Environmental Bulletin

where Re is Reynolds number and calculated by the where Qi is the flowrate in the ith pipe, Q0 ,i is the ini-
following formula: tial assumption of flowrate in the ith pipe and P is the
VD number of pipes. Pay attention to the direction of flows
Re = (4) with respect to the loopal base direction.

Compute frictional and, if any, minor headlosses
Here, is the kinematic viscosity of water in m/s and
through all of the pipes.
the others as defined previously.
hL ,i = R1Qin1 + R2Qin2 (8)
Another formulation that can be utilized to compute
frictional headlosses is the well-known Hazen-Williams where R1, R2 are resistance factors and n1, n2 are
formula. flowrate power coefficients for the ith pipe. The values of
V = 0.85CHW RH0.63 S 0.54 (5) resistance factors and power coefficients can be calcu-
lated as shown in Table 1.
where CHW is Hazen-Williams coefficient (dimen- In Table 1, i is pipe index, j is minor loss element in-
sionless), RH is hydraulic radius (m) and S is the slope dex and n is number of minor loss elements in the ith pipe.
of hydraulic gradient line (m/m), which equals the ratio of Calculate loopal headlosses and loopal flowrate cor-
headloss to path length. rection parameters. Pay attention to the signs of head-
losses while doing so. The following expression describes
The loss of head due to fittings and other minor loss how the loopal headlosses can be computed:
elements can be calculated by using the following expres-
sion: PL
TOT (hL )i = hL , j i = 1,2,....L (9)
V2 (6) j =1
hL = K
2g
Here, TOT (hL )i is the loopal headloss of the ith loop
where K is the minor loss coefficient for the fitting and PL is the number of pipes that is included in the ith
or other element of interest.
loops definition, hL , j is the headloss through the jth pipe
Steady-State Hardy-Cross methodology associated with the ith loop and L is the number of loops
Hardy-Cross method offers a steady-state solution of in the system. The loopal flowrate correction parameters
the water distribution network at any given instant and are then calculated using expression:
any set of given nodal demands. The method is an itera- TOT (hL )i (10)
tive one involving the following calculation procedure: Qi = i = 1,2,....L
hL , j
PL
Compose the pipe loops, give a number to each, and m

j Qj

determine a base direction for loopal headlosses. Positive
in clockwise direction and negative in counter-clockwise where Q j is the directional flowrate of the jth pipe
direction, for example.
associated with the ith loop. Here, m equals 2 for use with
Assume an initial flowrate for each of the pipes in the Darcy-Weisbach friction method and 1.85 for use with
network. While doing so, obey the mass balance princi- Hazen-Williams friction method. Note that in case of
ples around the junction points: Hazen-Williams formula being used, although minor
Qi = Q0 ,i i = 1,2,.... P (7) losses are still directly proportional to the square of flow
velocity, the value of m is taken as 1.85 neglecting minor
losses when calculating flowrate changes.

TABLE 1 Calculation of pipe resistance factors and power coefficients.

Friction Method R1 n1 R2 n2
8 f i Li n
Darcy-Weisbach 4
+ K i, j 2 0 0
g Di Di
2
j =1
(10.6331) Li 0.083 n
Hazen-Williams
( CHW )i
1.85
D 4.87
1.85 Ki, j
Di4 j =1
2
i

10.29ni2 Li 0.083 n
Manning*
Di5.33
+ Ki, j
Di4 j =1
2 0 0

*Although Mannings equation is mostly used for surface flows, it is sometimes allowed for the use for pipe flows.

1047
by PSP Volume 17 No 8a. 2008 Fresenius Environmental Bulletin

READ READ
Physical state of system Physical state of system
Q0,i and q0,i Q0,i,Avg and q0,i,Avg
Demand curve

(a) t = tSTART (b)


ASSIGN
t=t+ t ASSIGN
New Qi = Q0,i
t

COMPUTE ASSIGN ASSIGN


hL,i, TOT(hL,L)i and Qi New Qi = Qi Qi New Qi,t = MtQ0,i,Avg

COMPUTE ASSIGN
DECIDE hL,i, TOT(hL,L)i,t and Qi,t New Qi,t = Qi,t Qi,t
Qi >
Qi < >
Itr < > Max Itr

Itr > Max Itr


Qi <
DECIDE Qi,t >
Qi,t < >
ASSIGN Itr < > Max Itr
New Qi = Qi Qi
Itr > Max Itr
Qi,t <

ASSIGN
STORE
New Qi,t = Qi,t Qi,t
Qi, hL,i
and other relevant results

STORE
Qi,t hL,i,t
and other relevant results
END

STEADY-STATE ANALYSIS t < tEND DECIDE


t < > tEND

t > tEND

END

TIME-DEPENDENT SIMULATION

FIGURE 1 Flowcharts for computer program (a) steady-state analysis, (b) time-dependent simulation.

1048
by PSP Volume 17 No 8a. 2008 Fresenius Environmental Bulletin

Depending on users selection of criterion to stop it- analyses. Steady-state analysis involved the application of
erations, if each of loopal headlosses is smaller than a iterative Hardy-Cross Method while modified Hardy-Cross
predefined headloss sensitivity value or each of flowrate Method for time-dependent simulations were obtained by
correction parameters is smaller than a predefined flowrate the implementation of some outer loop for time variable.
sensitivity value, then assign the last-found values to the Fig. 1(a) and Fig. 1(b) show the flowcharts for steady-state
flowrates of pipes and leave the iterations. Else, use the and time-dependent analyses, respectively.
flowrate correction parameter to calculate new flowrates
of the pipes and return to step 3 with the new flowrates at The computer program essentially is composed of two
hand. basic parts. One is the functional implementation of the
standard and modified Hardy-Cross algorithms. The other
Modified Hardy-Cross methodology part is the flow-control and the user interface. The com-
puter program developed is able to perform both steady-
The above mentioned methodology offers a steady-
state solution for a water distribution network. However, state and time-dependent simulations. The computer pro-
the design engineers as well as undergraduate and gradu- gram allows the user to decide whether steady-state analy-
sis or time-dependent simulation is to be done. The user is
ate students need to know how the system behaves when
the nodal demands change in a daily basis. This requires a allowed to select between Darcy-Weisbach and Hazen-
time-dependent simulation of the system. A time-dependent Williams equations as the friction method. Both Jain and
Colebrook-White equations for the calculation of friction
simulation is a set of results from a number of steady-state
analyses each of which represents a single solution of the factor are included in the program. The program is also
system at a given instant, t. The difficulty here is to obtain able to compute minor losses throughout the system.
nodal demands and initial assumptions for pipe flowrates
at time, t. This difficulty is overcome by the use of a daily The simulations are controlled by user-defined crite-
water demand curve as in EPANET [6]. The demand curve ria. The user can define a maximum pipe flow change for
the iterations to be stopped. In this case, the iterations are
is expressed as the ratio of water demand, QTOT,t, at time,
t, to average daily water demand of the system, QTOT,Avg, stopped when all of pipe flow changes in the network are
The nodal demands throughout the distribution system tend reduced to that user-defined value. The program also lets
the user to define a maximum loopal headloss value as a
to change in the same trend with total demand of the sys-
tem. The ratio is defined mathematically as follows: criterion to end the iterations. The program, in this case,
calculates loopal headlosses in each iteration. When all of
q i ,t QTOT ,t Q0 , j , t i = 1,2,.... N the calculated values are less than the user-defined value in
Mt = = = (11)
any iteration, it ends the iterations and lists the results. As
q i , Avg QTOT , Avg Q0 , j , Avg j = 1,2,....P
a worst-case precaution, the user is encouraged to identify
a maximum number of iterations. If the program cannot
where M t is the multiplier nodal demand correction
find any proper set of solutions, the iterations continue to
factor at time, t, N is the number of nodes throughout that pre-defined value for the number of maximum itera-
the system, q i , t is water demand of the ith node at time, t, tions.
qi , Avg is daily average water demand of the ith node, Q0 , j ,t
is the initial assumption of flowrate of the jth pipe at time, t, RESULTS
and Q0 , j , Avg is initial assumption of daily average flowrate
of the jth pipe. Although it is not dealt with here, this ap- The newly developed algorithm was tested for an ex-
proach is also applicable for water demand fluctuations on ample distribution system of 21 pipes, 15 nodes and seven
a yearly basis. loops. The layout of the example system is shown in Fig. 2.
The water temperature was assumed to be 20 C where
In the modified algorithm, the system is hydraulically the density, dynamic viscosity and kinematic viscosity are
solved at the beginning. From that point, the system is re- 998.2 kg/m, 1.005 * 10- kg/m.sec and 1.007 * 10-6 m/sec,
peatedly solved for each hydraulic time step within the respectively. Daily average nodal demands for 15 nodes
given interval by calculating and updating nodal demands are summarized in Table 2. All of the pipe materials were
via the demand multiplier, Mt, defined by the user. Finally, assumed to be PVC with k = 0.12192 mm and CHW = 150.
the time-dependent simulation can be obtained by collect- Pipe definitions and initial assumptions for daily average
ing steady-state results within the given time interval at a pipe flows are summarized in Table 3. The computer pro-
desired time step, together. gram was run for both steady-state and time-dependent
analyses using both Loopal Headloss and Flowrate
Change criteria separately as Q = 0.0001 L/sec and hL =
DEVELOPMENT OF COMPUTER PROGRAM 0.0001 m, respectively. A total of four sets of analyses were
run. Darcy-Weisbach friction method was utilized in all
MS Excel macros were used to implement iterative analyses. In steady-state analysis, two sets of analyses were
Hardy-Cross Method for steady-state and time-dependent conducted. In the first set, minor losses were neglected

1049
by PSP Volume 17 No 8a. 2008 Fresenius Environmental Bulletin

14.5 15.5
13.5
8
16.5

17.5

Mh
Rz 18.5
aP
aa 19.5

rd
St r Residental
eet

ar Str
19.5 21.5
eet 22.5
Institutional
20.5
9

Ciha
Commercial
23.5

n Str
24.5
7 Industrial

eet
10
Yaver
Bey S

G
treet

rb
15

z
Mhrdar

Primary

rk T
School 11

tr. S
25.5
26.5
Street

14 Gndod
u Str. 13
Gnd
odu
Yav

Stree
t
12
er B

Grb
6 Gnd
odu 27.5
Yen
e

iF S treet
yS

z T
ikir
S tree
tr.

t 1
rk S
5
tr.

13.5 4
14.5

15.5 3
16.5 17.5
18.5 Yeni
Fikir
19.5 20.5 Str eet
27.5
2
21.5 22.5
26.5
23.5 24.5 25.5

FIGURE 2 Example water distribution system.

TABLE 2 Average daily and max daily nodal demands.

Avg. Daily Max. Daily Avg. Daily Max. Daily Avg. Daily Max. Daily
Node Demand, Demand, Node Demand, Demand, Node Demand, Demand,
L/sec L/sec L/sec L/sec L/sec L/sec
1 3.96 7.08 6 7.58 13.57 11 2.81 5.03
2 5.57 9.97 7 9.91 17.74 12 5.83 10.44
3 6.25 11.18 8 10.87 19.45 13 5.71 10.22
4 5.60 10.02 9 12.97 23.22 14 6.29 11.26
5 5.95 10.65 10 6.58 11.78 15 2.56 4.59

TABLE 3 Pipe definitions and initial pipe flow assumptions for example system.

From LOOPS
Pipe Diameter, Length, Avg. Daily Flow, Max. Daily
Node to
No Primary Secondary mm m L/sec Flow, L/sec
Node
1 1 to 2 1 None 250 65.5 38.62 69.13
2 2 to 3 1 None 250 71.5 33.05 59.16
3 3 to 4 2 None 250 50.0 32.39 57.98
4 4 to 5 5 None 200 51.0 32.38 57.96
5 5 to 6 6 None 200 62.0 11.17 19.99
6 6 to 7 6 None 200 69.5 3.58 6.41
7 7 to 8 7 None 100 78.0 5.29 9.47
8 8 to 9 7 None 100 105.0 -5.58 -9.99
9 9 to 10 4 None 250 62.0 -1.79 -3.20
10 10 to 11 3 None 250 58.0 -2.78 -4.98
11 11 to 12 3 None 250 41.5 -5.59 -10.01
12 1 to 12 1 None 400 69.0 -55.86 -99.99
13 3 to 12 1 2 100 61.5 -5.59 -10.01
14 12 to 13 2 3 250 62.0 -38.85 -69.54
15 10 to 13 3 4 100 59.0 5.59 10.01
16 4 to 13 2 5 100 54.5 -5.59 -10.01
17 13 to 14 4 5 200 47.0 21.96 39.31
18 14 to 15 4 6 100 30.0 30.94 55.38
19 9 to 15 4 7 100 45.5 16.76 30.00
20 7 to 15 6 7 100 93.0 -11.62 -20.80
21 5 to 14 5 6 100 47.0 15.26 27.32

1050
by PSP Volume 17 No 8a. 2008 Fresenius Environmental Bulletin

TABLE 4 The results of steady-state analysis with and without minor loss elements.

Analysis Results, L/sec


Pipe
With minor loss elements Without minor loss elements
From Node to Modified Hardy-Cross Modified Hardy-Cross
No EPANET Results EPANET Results
Node Results* Results*
1 1 to 2 56.02 56.02 54.40 54.40
2 2 to 3 46.05 46.05 44.43 44.43
3 3 to 4 40.89 40.89 39.77 39.77
4 4 to 5 36.72 36.72 35.72 35.72
5 5 to 6 33.86 33.86 33.00 33.00
6 6 to 7 20.28 20.28 19.42 19.42
7 7 to 8 9.05 9.05 8.71 8.71
8 8 to 9 -10.41 -10.41 -10.75 -10.75
9 9 to 10 -37.67 -37.67 -38.14 -38.14
10 10 to 11 -45.89 -45.89 -45.27 -45.27
11 11 to 12 -50.92 -50.92 -50.30 -50.30
12 1 to 12 -113.01 -113.01 -114.63 -114.63
13 3 to 12 -6.04 -6.04 -6.53 -6.53
14 12 to 13 -45.72 -45.72 -47.76 -47.76
15 10 to 13 3.57 3.57 4.66 4.66
16 4 to 13 -5.86 -5.86 -5.98 -5.98
17 13 to 14 26.08 26.08 26.61 26.61
18 14 to 15 7.04 7.04 7.43 7.43
19 9 to 15 -4.05 -4.05 -4.18 -4.18
20 7 to 15 -6.51 -6.51 -7.03 -7.03
21 5 to 14 -7.79 -7.79 -7.93 -7.93
* Although Darcy-Weisbach, Hazen-Williams and Mannings equations are included in the computer program, only Darcy-Weisbach solutions are presented.

2.0
1.8
1.6
1.4
1.2
1.0
M(t)

0.8
0.6
0.4
0.2
0.0
0 2 4 6 8 10 12 14 16 18 20 22 24
Time (hour)
FIGURE 3
Daily water demand fluctuation for example system.

14 14
13 13
(a) (b)
12 12
11 11
10 10
Pipe flow (L/sec)

Pipe flow (L/sec)

9 9
8 8
7 7
6 6
5 5
4 4
3 3
2 Without minor losses 2
With minor losses
1 1
0 0
0 2 4 6 8 10 12 14 16 18 20 22 24 0 2 4 6 8 10 12 14 16 18 20 22 24

Time (hour) Time (hour)

FIGURE 4 Change of flow in pipe 18 with respect to time (a) without minor losses (b) with minor losses.

1051
by PSP Volume 17 No 8a. 2008 Fresenius Environmental Bulletin

throughout the system and the data assumed so far was ap- Cross algorithm, on the other hand, employs basic iterative
plied to the computer program to obtain the results in approach of original method, which leads the students to
Table 4. For test purposes, the system was also solved using understand the fundamentals of iterative procedure. In
EPANET, algorithm of which is given in detail by Rossman contrast, EPANET takes less time to complete calculations
[6], and the analysis results from EPANET are also shown while modified Hardy-Cross algorithm takes more time.
in Table 4. In the other set of analysis, the sum of minor However, this long calculation times for modified Hardy-
loss coefficients for each pipe was assumed to be four. The Cross algorithm may be neglected in the aspect of student
system with minor loss elements was also solved using applications. For example, EPANET solved the example
EPANET. Table 4 summarizes the results obtained when water distribution system in 5 seconds (calculation times
minor loss elements are not negligible, too. change depending on computer configuration) while modi-
fied Hardy-Cross algorithm took approximately one minute
The results from the computer program utilizing modi- to complete calculations.
fied Hardy-Cross algorithm and EPANET showed no dif-
ference at all (down to one tenthousandth). The only differ-
ence was the time required. Although EPANET converges
to a solution in a much shorter period of time (approxi- REFERENCES
mately 10 times faster), the newly developed computer
program was able to solve the system in a very short pe- [1] Lin, B.L., Shau, H.M., Huang, W.C., Wu, R.S. and Liaw,
riod, too. S.L. (2004) The enumeration algorithm for the practical op-
timal design of pipe network systems. Environmental Infor-
matics Archives, 2, 8798.
Daily water demand fluctuation pattern shown in Fig. 3
was utilized in time-dependent simulation. Two sets of [2] Todini, E. and Pilati, S. (1988) A gradient algorithm for the
analyses were conducted in time-dependent simulation, too. analysis of pipe networks. Computer applications in water
In the first set, minor loss elements were neglected while supply. Wiley: Research Studies Press, 120.
the sum of minor loss coefficients for each of pipe was
[3] Salgado, R., Todini, E. and O'Connell, P.E. (1988) Extending
assumed to be four in the second. To prevent data conflict, the gradient method to include pressure regulating valves in
data for only one randomly selected pipe (pipe 18) from pipe networks. Proceedings of the International Symposium
the modified Hardy-Cross algorithm and EPANET were on Computer Modeling of Water Distribution Systems, Uni-
collected on a time basis and plotted. Fig. 4(a) shows the versity of Kentucky, May 1213, 1988.
daily variation of flowrate when no minor loss elements
are included in the simulations. The results of simulations [4] Wheeler, W. (1977) Hardy-cross distribution analysis. Water
Sewage Works, 124, 130133.
with minor loss elements are shown in Fig. 4(b).
[5] Khezzar, L., Harous, S. and Benayoune, M. (2001) Steady-
It is obvious from Fig. 4.a and 4.b that minor loss ele- state analysis of water distribution networks including pres-
ments of 4 on total causes negligible difference in pipe sure-reducing valves. Computer-Aided Civil and Infrastruc-
flows. The flowrate of pipes does not change necessarily. ture Engineering, 16, 259267.
Comparing Figs. 3 and 4, we can easily see that pipe flows
[6] Rossman, L.A. (2000) EPANET users manual. National Risk
in the distribution system changes in accordance with the Management Research Laboratory, US Environmental Pro-
water demand fluctuations. tection Agency, Cincinnati, Ohio, 192 p.

[7] Ozdaglar, D., Benzeden, E. and Kahraman, A.M. (2006) Op-


CONCLUSIONS timization of complex water distribution networks using ge-
netic algorithm. Insaat Muhendisleri Odasi Teknik Dergi,
253, 38513867 (In Turkish).
A modification to the standard Hardy-Cross method
was carried out in this study. The newly developed algo- [8] Huddleston, D.H., Alarcon, V.J. and Chen, W. (2004) A
rithm is able to perform both steady-state and time-depend- spreadsheet replacement for Hardy-Cross piping System
ent simulations of water distribution systems. A computer analysis in undergraduate hydraulics. Proceedings of the
2004 World Water and Environmetal Resources Congress,
program was also developed. Both of two solution algo- 31083115.
rithms were implemented in MS Excel Macros enabling the
user to select between steady-state and time-dependent [9] Lopes, A.M.G. (2004) Implementation of the Hardy-Cross
simulations. The validity of the new method was tested for method for the solution of piping networks. Computer Appli-
an example system of 21 pipes against EPANET. The new cations in Engineering Education, 12, 117125.
program and EPANET showed no difference at all.
[10] Bober, W. (1984) Use of the Jain Formula in the pipe net-
work problems. Journal of Pipelines, 4, 315317.
EPANET uses gradient algorithm, which handles too
complex equation systems to solve by hand calculations. [11] Bober, W. and Robinson, J. A. (1983) Colebrook equation
The students need a very good mathematical background to utilized in the Hardy-Cross method. Journal of Pipelines, 3,
solve those complex equation systems. Modified Hardy- 173177.

1052
by PSP Volume 17 No 8a. 2008 Fresenius Environmental Bulletin

[12] Ngiam, A.P.C. and White, A.S. (1985) Comparison of sev-


eral computation methods for pipe networks. International
Journal of Mechanical Engineering Education, 3, 259271.

Received: January 28, 2008


Revised: April 07, 2008
Accepted: May 20, 2008

CORRESPONDING AUTHOR

Selami Demir
Faculty of Civil Engineering
Department of Environmental Engineering
Yildiz Technical University
34349 Yildiz, Besiktas, Istanbul
TURKEY

Phone: +90 212 383 30 35


Fax: +90 212 261 90 41
E-mail: seldemir@yildiz.edu.tr

FEB/ Vol 17/ No 8a/ 2008 pages 1045 - 1053

1053

View publication stats

Вам также может понравиться