Professional Documents
Culture Documents
Salgado Et Al (1993) Extended Gradient Method for Fully Non-linear Head and Flow Analysis in Pipe Networks
Salgado Et Al (1993) Extended Gradient Method for Fully Non-linear Head and Flow Analysis in Pipe Networks
I. INTRODUCTION
In pipe network modelling it is normally assumed that water withdrawal takes place
at t}te nodes, with fixed and known values. The fint assumption is aimed at
simplifying the mathematical solution of the problem, while the second has been a
standard practice, although not always adequate, since it is well known that
consumption is also a function of pressures.
There are a number of networks, particulady irigation and even water supply
networks which do not follow these assumptions. For example, in irrigation systems
with sprinklers, drippers or porous devices (pots, strips) water is released in a
pressure-dependent fashion; clearly in such systems the pressure-discharge relationship
cannot be ignored [5]. One exception could be some pressure-compensated drippers,
which provide a constant oudlow within a range of pressures [6].
In water supply networks, problems such as leakage modelling and extended period
simulation are also pressuredependent. As a matter of fact most of the network
operators do know that if they reduce the pressure in the distribution system the total
water consumption oudlow will be reduced. This leads to the standard practice of
reducing night pressures in order to control system leakages [5,9,17,24].
Industrial applications, such as fire prctection systems, mining heap leaching, all
of them based on sprinklers also deliver water in an amount that is
pressure-dependent.
A common feature of all the previously mentioned devices is that the relationship
between pressure and discharge is non-linear, which makes the problem difficult to
solve.
As a result, it has become necessary to develop a network analysis methodology
that explicitly and automatically takes into account the non-linear variation of oudlows
with pressure.
The Gradient Method (GM), was originally developed by Todini and Pilati [11,19],
for networks with pipes only, and subsequently extended by Salgado et al. [2,13] to
include pumps and pressure regulating valves, respectively. The GM operates
SALGADO 50
simultaneously on the nodal piezometric heads and pipe flows, in contrast to other
methods which operate on one of the previous variables only. The advantages of the
GM have been displayed by Pilati and Todini [11] and Salgado [14].
In the literature, different authors [1,4,5,7,8,10,17], have referred to
pressure-dependent nodal discharges, although within the context of different network
analysis approaches.
The present work, deals with the extension of Todini's Gradient Method to include
nodal discharges that are non-linear functions of pressure. Furthermore, the velocity
head is kept in the total head.
where the characteristic coefficients 'a' and 'x' are normally provided by the emitters
manufacturers, or obtained via least squares fitting to field or laboratory data.
Zepeda and Rojo [23] re-derived the GM algorithm for such nodal discharges,
recognising explicitly the influence 6f pressure on the outflows.
3. PROBLEM FORMULATION
For a network with given physical characteristics (layout, connectivity, topography,
pipe lengths, diameters, roughnesses and reservoir levels) and, for known nodal
demands characteristics coefficients, its total head (B) and pipe flow (O) must be
determined. Both variables are related through Darcy-Weisbach or Hazen-Williams
equations (turbulent flow) or Poiseuille laminar flow formula. The head loss or gain
in a network reach is [23,24]
hi:Bi-B* (3)
with
Yj'
B:: Hr+Q- (4)
2g
and
P:
Ht: -F DL-
(s)
where:
hi: head loss in the reach 'i', connecting nodes 'j' and 'k'
SALGADO 5I
Bi:Hi*O''-3 (6)
2Ar'g
with
Q: Flowrate at link 'i', between nodes 'j' and 'k'.
A,: Area of link 'i'.
Introducing the general model used in the previous version of the GM ll2,l3l,
which relates head losses and flowrates, Eq. (3) becomes
hr : B: - Br : a.lQrl"t-t Q, * F, (7)
where
q: Characteristic parameter for link 'i', depending on the flow regime and
hydraulic formula.
/
ni: Flow exponenq formula and regime dependent, for link 'il.
F,: Characteristic parameter of link 'i', defining pump head at zero flow.
Equation (7) represents the loss or gain of energy (per unit of weight) at each link,
and it can be written in a compact form via vector notation, applying connectivity
matrices akeady defined in Salgado et al. [12,13]. Then, Eq. (7) can be re-written as
h --ArzE-Aro&. (8)
where
h: Column vector of head losses per link, (NP x 1)
B: Column vector of total head for non-source nodes, (NH x 1) .
h- Art I (e)
where
A' is a diagonal matrix computed as
F*
A1, : diag (sr I Or l"r-r +-) ; i=1, . . rNP (10)
Q;.
Todini [19] and others [2,18,20,221,have demonstrated that the steady flow solution
within networks can be found by solving simultaneously the continuity equation at
each node and the head loss-flow relationship for each link, which, in a compact
forrnat can be written as follows
( 11)
now with
A,, a diagonal matrix, which incorporates the nodal discharge dependency with
pressures, defined as
qi
Ar, - diag ) i=1,...,NH
Bi (t2t
or by
ArrE:-9
Because a direct solution of simultaneous non-linear equations is not possible, a
numerical one must be found, involving successive approximations.
The upper part of (11) rcprcsents the relationship between head loss and flowrate,
while the lowerpart establishes the continuity law. System (11) is non{inear, both
in the flows (Q) and in the total heads (!), due to the fact that matrices A,, and A,
depend on the flows and heads, respectively (see Eqs. (10) and (12)). The non-linear
system (11) formulates the notwork flow problem in terms of the state variables Q
and B through a unique matrix equation.
Q and B are dual variables, in the sense that any one of them can be expressed as
a function of the other, which means that the problem can be projected either in the
flow or in the total head subspace.
Unlike other available methodologies, the GM formulates the problem explicitly in
the state variables B and Q, leading to the solution of a system of NP+NH linear
equations.
SALGADO 53
4. ALGORITHM DERIVATION
Znpedz and Rojo [23] have re-derived the GM algorithm, incorporating the pressure
effect on the nodal consumptions. To ease the derivation, Eq. (l l) is decomposed into
two vectorial functions
E = AzrQ+AzzE 0 (14)
with
(o, - Q.l
C: diag(Qr-) (1? )
2Attg
The system (15) and (16) is non-linear both in Q and B, and its solution has to be
found iteratively, as a sequence of linear problems. The linearization is carried out
by expanding the vectorial functions E, and E, by Taylor series, retaining fust order
terms only. This expansion for any function ! is expressed as
(18)
where the index 'k' refers to ttre previous iteration. The solution is found by imposing
the condition F(Q,D**t = 0. The system (18) is linear in dQ and dH.
Taking derivatives of !, and E , from Eqs. (15) and (16), we get
oFt ? 1er. + c1
=9 + (A11+ C) (L9)
Dq 0q
dg.
Arz (20)
De
dg
Azr. (2L')
0q
SALGADO
Ee, Es
(22t
Ett Ett
Furthermore, taking derivatives of (10) and (17) with respect to Q and replacing in
(19), after some reordering, we obtain
dg.
= diag ( crr nr lo. l"t-t | +2 c (23 )
?g
To compute (22),it must be remembered that the piezometric head is the summation
of the geometric head (a constant) and the pressur€ head, which means dll = dp.
Hence
09, Eg Eq
(241
Eg Dg Ep
DE1
(25)
Eq
and
EF"
R (26)
dg
and applying (18) to (15) and (16), the following linear system can be obtained
iLArr:
:..,'. lt'l.t1?.1
R I LdgJ
= r1l
LgtJ
t (27',)
with
&.k : (Arr+ C) 9[ + Arz ![ + Ar&. (28')
dQ =g -e. (30 )
The linear system (2i7) can be solved via Gaussian elimination, multiplying the upper
part of (27) by A,G-t and subtracting with the lower part, we get
G:
IL 'o'' o,, l.[dql: t .t-,* ] (32t
,'R_A;,;:,;;; .l L';E'l L eLC;i i;e .l
W=AaG-tAu (33)
we obtain
and
Substituting (28),(29), (30) and (31) in (34) and (35), andreordering, we get
5. LEAKAGE MODELLING
To effect of pressure on leakages, field experiments must be carried out,
assess the
operating sectors of the network under different pressure levels and registering the
SAI-GADO 56
where
qtj = water leakage in the prpe connecting nodes 'i' and 'j'.
11
v Lrakage constant, network-dependent
t-
-tj Length of the prpe connecting nodes 'i' and J'.
(P)ti = Mean pressure between nod€s 'i' and 'j'.
X= Exponent reflecting ttre non-linearity betrveen leakages and
pressurc, network dependent.
It has been found that the exponent 'x' in Eq. (7) is about 1.18 [4,10] or 1.15 [17].
It is srongly advised to carry out fiold experiments to find out the real exponent of
a particular system under study.
The pipe leakage is loaded into the border nodes on a 50- 50 7o basis or any other
suitable criterion.
6, EXAMPLE OF APPLICATION
For illustrative pulposes, a dmall water supply network is presented, with a leakage
constant C=5x105. Figure I prcsents the network structure and Table 1 includes the
network data. The results obtained with the extended GM are presented in Table 2.
From the results it can be seen that the program delivers the nodal consumptions
and the presstue heads at each node automatically, without any user assumption or
intervention.
From these results it would be straightforward to compute the total amount of
leakages, in order to assess the effectiveness of the leakage control plan (through
PRV's, for example) [16].
of leakage prone geogmphic areas
The identification is also straightforward,
valuable information for the system's operator.
7. CONCLUSIONS
An efficient numerical algorithm has been developed for automatically modelling
water supply networks where the nodal ourflows are pressure-dependent. The
computer implementation is at PC level, since adequate numerical techniques have
been used, taking advantage of matrix sparsity. The tests ca:ried out during the past
two years, both for small and large examples of water supply and automatic irigation
networks have proved the methodology to be reliable and efficient, without the
convergence problems affecting other methods 112,18,221. Even with some unusual
irrigators, like porous pots, the program has worked without problem. In the future,
a leakage minimisation routine will be added, thus expanding the program potential
for real world applications.
The program is easy to use, since the data structures are simple (see Table 1).
There is no need for the user to define loops or initial flows. The present program is
also able to automatically add nodes and sub-links, useful for infroducing large
quantities of emitters in lateral configurations.
The methodology is sufficiently general, including pumps, PRV's, PSV's, check
valves, etc., thus allowing the modelling of real systems without gross simplifications.
SALGADO 58
a) NODE RESULTS
b) LINK RESULTS
LINK INI FIN TYPE FLOW HEAD LOSS VEL C. STATUS LEAKAGE
(1/s ) (m) (m/s) 11/s)
1 1 2 32.998 9.708 1 .050
1 0 0.7?0E-0r.
2 1 5 29.202 7 .740 0.929
1 0 0. ?718-01
3 2 3 1 2.L25 0 .291 0.720 0 0.918E-0L
4 5 4 1 8.231 2.994 0.465 0 0.766E-01
5 2 4 1 9.840 L.026 0. 313 0 0.764E-0L
6 4 6 1 r.0.493 9.388 0. 593 0 0.152E+00
7 4 3 1 -3.093 -0.734 -0. 1_75 0 0.1158+00
STATUS : Indicates the state of the link:
0 : Wide open
]. : CHECK VALVE & LINK: Fully closed
PRV E PSV : Partly closed
2:PRV&PSV: Fully Closed
ACKNOWLEDGEMENTS
This work has been carried out with the financial support of the Research Directorate
of the University of La Serena (Project DILJLS L3O-2-39).
REFERENCES
tll BHAVE P. 1981. 'Node Flow Analysis of Water Disribution Systems'. Tlansportation Eneineering
Joumal. ASCE, Vol. 107, No. TE4, pp 457467.
l2l COLLINS M. A. 1980. 'Pitfalls in pipe network analysis techniques', Transponation Eneineering
Joumal, ASCE Vol. 106, No. TE5, pp.507-521.
l3l GEORGE A. & Lru J.W-H. 1981. 'Computer solution of large sparse positive definite systems',
Prentice- IIall, New Jersey.
il SALGADO 59
10 (l/s)
Edited by
Bryan Goulbeck
Water Software Systems, School of Engineering and
Manufacture, De Monfort University, Leicesten tJK
Canada:
JOHN WLEY & SONS CANADA LIMITED
22 Worcester Road, Rexdale. Ontario, Canada
Available.