Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Linear graph theory used for pipe network analysis is to make the method systematic
A numerical method that uses linear graph theory is presented for the steady-state analysis of flow and pressure in a pipe network including its hydraulic components (pumps, valves, junctions, etc.)
The linear theory method is another looped network analysis method presented by Wood and Charles (1972)
The entire network is analyses altogether like the Newton-Raphson (NR) method
The NR method requires a good initial vector for fast convergence, whereas the LTM oscillates near the true solution (Nielsen 1989)
a constitutive relation;
Pipe discharge equations i.e. Q equation The nodal head equations i.e. H equation
Networks with known pipe resistances Networks with unknown pipe resistances Networks with pumps Networks with valves
(B)
given by
n-1 = | Q | t t x
(C)
= , x = 1, , X
(D)
Qx = 0, c = 1,., C
(E)
equation and the linearized loop-head loss Eq. (5) would give
the pipe discharges at the end of the first iteration i.e. Qx(1), x = 1,, X
iteration. Thus
0.5, t = 2,3,. Q | Q x Q | t x = (t-1) x x (t-1)
(F)
The Qx values obtained from the first iteration are taken as the assumed values for the second iteration for evaluating 2
Thus,
2Qx
= Qx(1), x = 1,, X
(G)
If this procedure of taking the obtained values of the previous iteration as the assumed values for the next
To prevent oscillations ,the avg. of the obtained Qx values in the previous two iterations should be taken as the assumed
value for the next iteration. Thus, from the third iteration
onwards, (H)
Instead of taking the average of the obtained values in the previous two iterations, taking the average of the assumed and obtained values in the previous iteration. Therefore,
(I)
Example 1
Solve example by linear theory method based on Q equations Solution: in the given network of fig.1, the node-flow continuity linear relationships for nodes 3,,6 give respectively
From the two basic loop I and II and the pseudo loop III, we have, respectively,
For the first iteration, 1Q1 = .. = 1Q7 = 1 and therefore Eqs. (5),.(7) becomes respectively,
Thus, linearized form Eqs. (5),, (7) for the second iteration becomes
For the third iteration the average of the obtained values in the previous two iterations, i.e. iteration 1 and 2, are taken Thus,
3Q 1
The iterative procedure is continued and the first five iteration are shown in Table 1 Ex.1 The final solution with an accuracy of 0.0001 m3/s in pipe discharge, is obtained in 14 iteration as Q1 = 0.3246 m3/s
Q2 = 0.4715 m3/s
Q3 = 0.0246 m3/s Q4 = - 0.0219 m3/s
Q5 = 0.2496 m3/s
Q6 = 0.2504 m3/s Q7 = 0.1504m3/s
The first five iteration in the alternative procedure of taking the average of the assumed and obtained values in the previous iteration [Eq. (I)], from third iteration onwards are
From the two tables it can be observed that for any iteration, the average of the assumed and obtained values in the previous two iteration is closer to the final value than the average of the obtained values in the previous two iterations. Thus, the convergence is faster in Table 2 than in Table 1
When Q-R equation are formulated and solved, the number of the unknowns is X + XUR and the approach is implicit
When Q equation are formulated and solved, the number of the unknowns is X and the approach is explicit
In the loop-head loss equation for the implicit approach, the terms indicating
the head loss through pipes of known resistance are linearized for pipe
discharge and those indicating head loss through pipes of unknown resistance are linearized for pipe resistances
Thus,
t t
= (
n-1) Q t x
Qx
(J) (K)
= (tQxn)
In the implicitly approach, the unknown pipe resistances are evaluated along with the unknown pipe discharge for each iteration
If a pipe with unknown resistance is external, the unknown resistance appears in only one equation. Therefore this equation can be set aside, and the unknown resistance can be evaluated in the end
Example 2
Solve by the linear theory method based on pipe discharge equations using the implicit and explicit approach
Solution:
Implicit Approach
For the first iteration, 1Q1 = .= 1Q6 = 1. The term R4Q42 is linearized for R4. Therefore, taking 1Q4 = 1, R4Q42 becomes R4 for the first iteration. Thus, Eqs. (5),, (7) in the linearized form are
Equations
(1),,
(4)
and
(8),.,
(10)
are
solved
Explicit Approach
For the explicit approach, Eqs. (1),, (5) and (7) provide six equations for the six unknowns Q1,., Q6.
These six equation are continuously updated and solved until satisfactory Q values are obtained. The value of R4 is
Table 3 Example 2 First three iterations for network with unknown pipe resistance
(1),, (4), (7) and (12) provide six Q equations for the six
unknowns Q1, , Q6. These equations are then solved by the LTM to obtain the final Q values and subsequently the value of R3
located
Example 3
Solve by the linear theory method based on pipe discharge equations Solution: The network of fig. 3, has seven pipes and therefore the basic Q unknowns are Q1,., Q7. From the node-flow continuity relationship at nodes 3, 4, 5 and 6 we get, respectively
in terms of Q1
Taking
1Q1
==
1Q7
Equations
(1),, (4)
and (11),.,
(13)
are
solved
Using the assumed Q values, the f and R values are updated, the Eqs. (5), (6) and (10) are linearized and solved
Table 4 Example 3 First three iterations for network with pumped source node
A check valve, the flow through it is initially assumed to be in the permissible direction and Q equations are formulated
When the direction of flow reverses, the discharge in the pipe containing the valve is made zero in the nodeflow continuity relationship for the end node of this pipe and the loop-head loss equation for the loop containing this pipe is dropped
pipe with FCV, say Qij is compared with Qset value in the
FCV
Qij Qset solution is acceptable Qij > Qset the discharge is fixed at Qset, the pipe with FCV is removed and the outflow at upstream node is increased by Qset while that at downstream node is decreased by Qset
Example 4
Solve by the linear theory method based on pipe discharge equations
Solution: The network of fig. 4, assuming the PVR is in the operative mode the PRV is replaced by source and sink nodes and a pseudo loop is formed. Thus, Q equations for nodes 2,, 6 and loops I and II
are respectively,
When the PRV becomes inoperative for another pressure setting, loop II is replaced by loop III shown, Eq. (7) is replaced by
Note that the resistance constant of pipe 7 now includes the resistance constant of the PRV also
Equations (1),, (6) and (8) are solved by linear theory Here, pipe 7 containing the PRV is dropped
The required Q equation for basic unknowns Q1, .., Q6 are provided by Eq. (1),, (6) in which Q7 is absent
formulation of H equations
The application of linear theory method for the solution of these equations for different situations as
Networks with known pipe resistances Networks with unknown pipe resistances Networks with pumps Networks with valves
These equations, formulated for single and multiple looped networks are non-linear
(L)
Where, Hi = Hoj for source nodes. Therefore, for the tth iteration, Eq. (L) can be written as (M)
Rox = known resistance constant for pipe x, th iteration, at H , H = known or assumed nodal heads, for t t i t j nodes i, j, respectively Hi , Hj = unknown nodal heads
(N) (N)
Or
(O)
( P)
To begin the iterative procedure, it is necessary to initialise the discharge and head loss in a pipe i.e. to select the values of 1Qx, 1hx, x = 1,, X.
1Qx
should be
As Re = 4Q/Dv, we get,
(Q)
(R) The discharge & dia. Are in m3/sec and meters, resp.
Isaacs and mills (1980a) suggest that an initial pipe discharge may be set to the same value for all pipes
(S)
Eq. (P) now gives 1Cx, x = 1,, X and thus the nonlinear node-flow continuity equations are
A similarity exists between a structural network and a hydraulic network such as a water distribution network, these are as:
The algebraic sum of the forces at a joint of a structural network must be zero to maintain equilibrium. Similarly, the algebraic sum of the flows at a node of hydraulic network must be zero to maintain flow continuity
The displacement of the ends of the members meeting at a joint of a structural network must be the same. Similarly, the head at the ends of the pipes meeting at a node of a hydraulic network must be the same
Thus, (U)
which is linearized form of the discharge head loss relationship for a pipe
Eqs. (U) & (V), the discharge head loss relationship for a pipe
The linear theory method based on linearized nodal-head equation as the finite element method
Example 5
Solve example by linear theory method based on (1) H equations and (2) H-q equations Solution: H equations In the network of fig. 5, the linearized H equations written for the ode-flow continuity relationship at nodes 3,, 6 are respectively,
As the pipe dia. Are not given, we assume the discharge in the pipes to be 0.1 m3/s
The corresponding values of 1hx and 1Qx [using Eq. (S)] and Cx(1) [using Eq.(P)] are obtained
H3(2) = 95.48 m H4(2) = 96.63 m H5(2) = 94.32 m and H6(2) = 94.47 m The first two iteration shown in Table 5 Ex 5
H-q equations
In the approach using H-q equations, the node-flow continuity relationship is applied to the nodes of
respectively
Equations (12), (13), and (1),., (4) give the required linearized H-q equations. These equations are expresses in the matrix form as
H5 = 94.71 m and
H6 = 94.72 m
At the different nodes, either the flow is unknown or the head is unknown, this is the usual case in practice where the heads are known and the flows unknown at source nodes and flows are known and heads unknown at demands nodes
For such networks, the formulation of linearized H-q equation in the matrix form of Eq. (14)
The second matrix in Eq. (14) is column matrix for nodal heads
The column matrix on the right hand side represents the known flows at demand nodes and unknown flows at source nodes, the preceding sign for the nodal flows being negative for outflows and positive for inflows
When
H-q-R
equation
are
formulated,
the
values
Implicit Approach The head loss in pipe is linearized for Rx and therefore can be expressed as
(W) (X)
(Y) (Z)
EXAMPLE 6
Solve example by the linear theory method based on (1) Implicit and (2) Explicit Approach
Solution: 1. Implicit Approach In the network of fig. (6), basic unknowns are q1, H3, H4, R4 and H5.
The linearized H-q-R equation written for the node-flow-continuity relationship at nodes 1,, 5 are, respectively
Initially, let the 1Qx values be 0.1m3/s. The corresponding 1hx and 1Cx values are evaluated and shown in Table 6 Ex 6. Therefore, for the first iteration Eq. (6) becomes
Using these values, the second iteration is carried out from which we get,
q1(2) = 1.200 m3/s H3(2) = 98.685 m H4(2) = 99.853 m R4(2) = - 150.33 and H5(2) = 90.551 m
Table 6 Example 6 First two iterations for network with unknown pipe resistance
2. Explicit Approach
It is preferable to use head discharge relationship that is consistent with the head loss relationship for the pipes
EXAMPLE 7
Solve by the linear theory method based on head equation Solution: The linearized node-flow-continuity equations for nodes3,, 6 are
Since Qp = 1Q1 = 0.04712 m3/s, hp = 12.04 m. Substituting the values for thp and 1Cx Eq. (5) becomes
Table 7 Example 7 First three iterations for network with pumped source node
Solving Eqs. H3(1) = 91.347 m H4(1) = 92.419 m H5(1) = 89.458 and H6(1) = 96.935 m For the second iteration the 2Cx values are taken as the avg. of the 1Cx and Cx(1) values as given by the Eq.(T) and the iterative procedure is continued
H equations are linearized so that the discharge in pipe ij, connecting nodes i and j and containing a check valve with permissible direction of flow from node i to node j is given by Cij (Hi Hj)
A flow control valve FCV is initially assumed to be inoperative The H equations are formulated, linearized and solved and HGL values of end nodes are obtained
If the HGL difference is not more than h*ij for the set discharge Qset,
If the HGL difference is more than h*ij, the FCV becomes operative, this pipe is removed and outflow at upstream node is increased by
For a network with a pressure reducing valve, it is initially assumed that the PRV is in the operative mode and therefore it is replaced by source and sink nodes and H equation are linearized and iteratively solved
A check is made at the end of each iteration to see that the PRV has remained in the operative mode
EXAMPLE 8
Solved by the linear theory method based on H equations Solution:
Using the known head of 100 m at node 1 and the set pressure head of 80 m at d, the downstream end of the PRV, the linearized H equations for nodes 2,., 6 of the network for the tth iteration are respectively,
As the PRV is situated just downstream of node 3, Cd-6 = C7 For the first iteration, taking 1Q1 = = 1Q7 = 0.1 m3/s, the 1Cx values determined and solving Eq. (6) we get the values of H2(1),., H6(1) The discharge in pipe 7 is evaluated and the pressure head at the downstream end of the PRV is determined to check the PRV
At the pressure head setting of 89 m, the PRV becomes inoperative during the iterative procedure
At this stage, Cd-6 is replaced by C7 , corresponding to the increased resistance from R7 to R7 + RPRV and the known
(7) respectively
The
newton-raphson
method
linearized
the
nonlinear equations through partial differentiation while the linear theory methods linearizes the non
Q
R0 (1Q + Q) n = R0Qn (1)
(2)
According to the linear theory method, we get R0 (1Q n -1 ) Q(1) = R0Qn (4) Where, Q(1) is the obtained discharge in the pipe at the end of iteration1 If QLT represents the correction to 1Q according to the linear theory, then Q(1) = 1Q + QLT and thus Eq. (4) becomes R0 (1Q n -1 ) (1Q + QLT ) = R0Qn (5)
n 1Q n Q QLT = n 1 1Q
(6)
(7)
Discharge for the 2nd iteration in the liner theory method can
be taken as
2Q = 1Q + QLT
(8)
2Q
= 1Q +
[Q(1) 1Q]
Manning head
(9)
loss
For
Darcy-Weisbach
and
1Q +Q(1)
(10)
Thus, for the tth iteration, the assumed discharge in pipe x is given by
tQx
(t1)Qx+Qx(t1)
(11)
(12)
However, because the difference between Eqs. (11) & (12) is not much, Eq. (11) can be uniformly used throughout the liner theory method irrespective of the
Consider a pipe with resistance constant R0 connecting nodes i and j with head Hi and Hj (Hi > Hj) so that the discharge Q in the pipe is given by Hi Hj Q= R0
1/n
(1)
Let the head Hi be known and fixed and the assumed head at
node j for the 1st iteration be 1Hj with correction Hj so that Hi (1Hj + Hj) R0
1/n
Hi Hj = R0
1/n
(2)
(Hi 1Hj ) Hj R0
1/n
Hi Hj = R0
1/n
(3)
(Hi 1Hj )
Hi Hj Hj = R0
1/n
(4)
Therefore, we have
(5)
In which the subscript NR is introduced for Hjto indicate that it is a correction according to the Newton-Raphson method
(6)
(8)
Hj-NR
(9)
thus, the modified Hj(1) value i.e. Hj(1)m value is given by Hj(1)m = 1Hj+ n Hj Hj(1)m = 1Hj + n [Hj(1) - 1Hj] (10) (11)
(12)
Instead of taking n = 1.852 or 2 depending upon the head loss formula, if n is uniformly taken as 2, we get (13)
(14)
(15)
1Cx
(16)
Expanding the term within brackets in Taylors series and considering the first two terms, we get (17)
(18)
Now the term on the right-hand side Eq.(18) represent the first
= Cx(1)
(19)
= Cx(t-1)
(20)