Professional Documents
Culture Documents
TRIBHU
UVAN UNIV
VERSITY
IN
NSTITUTE
E OF ENG
GINEERIN
NG
PULCH
HOWK CA
AMPUS
D
DEPATRM
MENT OF
O CIVIL
L ENGIN
NEERIN
NG
Thesis No.
N 064/MS
SE/R/301/153
OP
PTIMAL
L DESIG
GN OF BRANC
B HED GR
RAVITY
Y WATE
ER
SUPPL
LY NETW
WORK
BY
ABHIS
SEK BAS
SNYAT
IN PARTIAL FULFILLM
MENT OF THE
T REQU
UIREMENT
T FOR THE
E DEGREE OF
MASTTER OF SC
CIENCE IN
N ENVIRON
NMENTALL ENGINEE
ERING
April, 20100
Lalitpur, Nep
pal
Master of Science Thesis (Thesis No. 64/MSE/R/301/153)
By
ABHISEK BASNYAT
A Thesis submitted in partial fulfilment of the requirement for the degree of Master of
Science in Environmental Engineering
Examination Committee:
Tribhuvan University
Institute of Engineering, Pulchowk Campus
Department of Civil Engineering
April, 2010
Lalitpur, Nepal
ii
CERTIFICATE
This is to certify that this thesis work entitled “Optimal Design of Branched Gravity Water
Supply Network” submitted by Mr. Abhisek Basnyat is a bonafide thesis work carried out
under our supervision and guidance and fulfilling the nature and standard required for the
partial fulfilment of the degree of Master of Science in Environmental Engineering. The work
embodied in this thesis has not been submitted elsewhere for a degree.
(Prof. Dr. Bhagwan Ratna Kansakar) (Assoc. Prof. Iswar Man Amatya)
Supervisor Supervisor
Institute of Engineering Institute of Engineering
Pulchowk Campus Pulchowk Campus
iii
ACKNOWLEDGEMENT
I wish to express my deep sense of gratitude and sincere thanks to Prof. Dr. Bhagwan
Ratna Kansakar and Associate Prof. Iswar Man Amatya for their excellent guidance, constant
inspiration, and all round assistance throughout this thesis work.
iv
ABSTRACT
In this dissertation application of optimal design approach in Branched Gravity Water Supply
Network is studied. The method used for the optimal design in the study is Linear
Programming Method. The study has tried to develop linear programming models that could
be used in water supply network of rural hilly community of developing country like Nepal.
The models developed can be used in designing a similar water supply network.
Large number of population of Nepal is located in hilly area of the country and providing safe
water to them is big challenge due to limited resources. The result of the study shows that it is
relevant to use optimal design approach so that resources saved while providing water to one
community can be used to fulfil the demand of another community.
The study also showed that linear programming method is a simple but reliable tool which
can be used effectively for the optimal design of small gravity water supply project having
limited low budget.
v
TABLES OF CONTENTS
Cover Page i
Title Page ii
Certificate iii
Acknowledgement iv
Abstract v
Table of Content vi
List of Figures viii
List of Tables ix
List of Abbreviations x
1.0 Introduction 1
1.1 Background 1
1.2 Rationale 1
1.3 Objective of the Study 2
1.4 Limitation of the Study 2
1.5 Organization of Report 2
2.0 Literature Review 3
2.1 Conventional Design of Pipe Network 3
2.1.1 Darcy-Weisbach Formula 3
2.1.2 Design Strategy Using Darcy-Weisbach Formula 4
2.1.3 Hazen Williams Formula 6
2.2 Optimization by Linear Programming Method 6
2.2.1 Introduction 6
2.2.2 Linear Programming 7
2.2.3 Graphical Method for Solving LP Problem 8
Visual Representations of Different Cases of LP problem
2.2.4 9
Solutions
2.2.5 Simplex Method for Solving LP Problem 10
2.3 Optimization of Branched Network Using LP Method 12
2.3.1 Introduction 12
2.3.2 Optimization of Branched Network 12
2.4 Design Criteria and Considerations 13
2.4.1 Summary of Design Criteria 14
2.4.2 Summary of Design Considerations 14
vi
3.0 Methodology 16
3.1 Optimization of Branched Network in Hills 16
3.2 Model Formulations 17
3.2.1 Definitions of Term Used 17
3.2.2 Assumptions and Known Quantities 17
3.2.3 Symbols Used 18
3.2.3 Models for a Branch 18
4.0 Result and Discussions 29
4.1 Introduction 29
4.2 Design of Transmission Line 29
4.3 Design of Distribution Network 36
4.4 Hydraulic Calculation 38
4.5 Cost Comparison 43
5.0 Conclusions and Recommendations 44
5.1 Conclusions 44
5.1 Recommendations 44
References 45
Appendices
vii
LIST OF FIGURES
viii
LIST OF TABLES
ix
LIST OF ABBREVIATIONS
x
CHAPTER I
1.0 INTRODUCTION
1.1 Background
A convenient supply of safe water is essential for healthy and productive life. Unsafe
water can spread disease. Improper location and use of components in water supply
system results in the loss of productive time and energy by the water carrier- usually
women and children. Hence, providing water to the rural communities is one of the
high priority goals in the rural development policy in the third world. The problem
facing by developing countries like Nepal is a familiar one; high demand coupled
with limited resources. Water could be provided for a few, but at the expense of the
vast majority of the population. Therefore, design of least cost water supply system is
important. However, making the rural water supply schemes least cost is proving to
be a difficult challenge, despite the fact that the schemes are small, and technically
simple. Hence, the study and development of proper approach for least cost design of
water supply system is necessary.
1.2 Rationale
In developing countries like Nepal, providing water for the people living in remote
hilly area is a big challenge due to limited economic resources. Saving every single
rupee is important; because that single rupee can be used for providing water for
another person living in another rural area.
The conventional design approach of water supply network uses iterative procedure
where numbers of iterations are carried out to design the system fulfilling all the
hydraulic requirements. The optimum cost is seldom attained. Hence, the design using
the optimum technique is highly desirable where optimum cost is attained meeting all
1
the hydraulic requirements. This will conserve resources of the project which can be
utilized for the development of the community.
• Chapter I briefly provide the importance of the topic, rational of the study,
objective of the study and limitations of the study.
• Chapter II deals with review of the literature related to the study.
• Chapter III details the methodology used to carry out this study.
• Chapter IV includes result and discussions.
• Chapter V Presents conclusion and recommendations for further study.
2
CHAPTER II
Once the flow, which a pipe section has to transmit, is known, its diameter should be
sized next. The basis of pipe line design is governed by the theory of flow of water
under pressure in a pipe line. Flow of water in pipe line results in loss of energy
(head) due to friction, this loss of energy or head in pipes due to friction can be
determined by using Equation 2.1 or 2.3.
fLv2
hf = ..Eq 2.1a
2gd
2
flQ
Or, hf = ..Eq 2.1b
12.1d5
Where,
hf = head loss , in m;
L = length of pipe, in m;
d = diameter of pipe, in m;
v = mean velocity of flow through the pipe, in m/s;
Q = discharge through the pipe, in m3/s;
g = acceleration due t gravity (= 9.81m3/s); and
f = friction factor, dimensionless.
3
2.1.2 Design strategy using Darcy-Weisbach Formula
Equation 2.1b can be rearranged as,
8fLQ2
d5 = ..Eq 2.1c
π2 ghl
All terms in right hand side of equation 2.1c must be known to calculate diameter. Of
these maximum allowable head loss (hl) in pipe can be obtained as the difference
between maximum available head and minimum required head at demand node. The
discharge and length of pipe is known and π and g are constants. This leaves only one
unknown the friction factor. Friction factor thus should be calculated to compute the
diameter. The flow in pipes usually falls in the region of transitional turbulence. In
this type of flow the value of friction factor depends on Reynolds number, and
relative roughness (ε/d). For turbulent flow f may be obtained by following equation
given by Colebrook and White.
1 2.51
0.5 = - 2log + ..Eq 2.2
f 3.7d Re f0.5
Where,
= roughness factor
Re = Reynolds number
Here, we can see the both sides of the equation contain f. It therefore, can only be
solved by an iterative method. However, Moody’s diagram as shown in Figure 2.1 can
be used o determine the value of f if the values of ε/d for the pipe and Re of flow are
known.
Department of Water Supply and Sewerage in its design guidelines for Community
based gravity flow (2002) has suggested following roughness factors for design
purpose, as shown in Table 2.1
4
5
Figure 2.1: Moody’s diagram (Source: http://www.mathworks.com)
2.1.3 Hazen Williams Formula
This formula is widely used for designing pipes in water supply systems. According
to this formula the mean velocity (v) of flow is given as,
L
hf = 10.7Q1.85 1.85 ..Eq 2.3b
d4.87 CH
Where,
S = Slope of energy grade line, or head loss per unit length of pipe;
The values of Hazen William’s roughness coefficients (CH) f various pipes reported
on Manual on Water Supply and Treatment, central Public Health and environmental
Engineering Organization, India (1997) is presented in Table 2.2
* These pipe materials are less likely to lose their carrying capacity with age, and hence higher values
may be adopted for design purpose.
6
to find the least costly solution. On other hand, in a water resources project it may be
possible to use water for different purposes such as domestic and industrial
consumption, irrigation, hydropower, and so on; either singly or in different
combinations. Herein, the aim may be to find solution that would give maximum
benefits. Such a solution having minimum cost or maximum benefits is termed, in
general, as an optimum solution, and the concept of obtaining optimum solution is
termed optimization.
When a physical problem is expressed mathematically or as is generally known, in the
form of mathematical model, the expression defining the objective (minimization or
maximization) is termed objective function, different conditions which the object has
to satisfy are termed constrains, and the entire problem consisting of the objective
function and constraints is termed optimization problem. Mathematically, such an
optimization problem can be expressed as,
Optimize Z= x1 ,x2 ,…………,xn ..Eq 2.4a
Subjected to,
g1 x1 ,x2 ,………,xn b1
g2 x1 ,x2 ,………,xn ≤ b2
. = . ..Eq2 .4b
. ≥ .
gm x1 ,x2 ,………,xn bm
7
use provided answers to how one could minimize cost, or any desired function
achieving a given set of objectives.
Linear programming is described as being concerned with the maximization or
minimization of linear objective function containing many variables subjected to
linear equality or inequality constraints. It has become as means for planners to set
general objectives and optimize schedules to meet set goals. Linear programming has
become an important part of not just mathematics but economics, decision science
and engineering design. (Chiburzor, 2005)
Liner programming is applicable for optimization of problems when the objective
function and constraints are linear functions of the decision variables. The constraints
may be in the form of equalities or inequalities.
Subjected to,
a11 x1 +a12 x2 + ………+a1n xn =b1
a11 x1 +a12 x2 + ………+a1n xn =b1
. ..Eq 2.5b
.
a11 x1 +a12 x2 + ………+a1n xn =b1
And,
In which C1,…,Cn ; b1,…,bn ; and a11,…,amn are known constants and x1,…,xn are the
decision variables.
The characteristics of the LP problem, as stated here in standard form, are (i) The
objective function is of the minimizing type; (ii) all constraints are of the equality
type; and (iii) all decision variables are non negative.
8
refers to the area containing all those solutions which satisfy all the constraints of the
problem and optimum value (maximum and minimum) always occurs at an extreme
point or vertex of the feasible region.
The limitation of graphical solution approach is that, it can solve only problems
containing two variables or three at most. An example of graphical method is given in
Appendix A.
9
variables. An example is shown in Figure 2.2d. In this case, there is no need for
optimization as there is only one solution.
Y Y
A
B
Objec
tive fu
nction
line
O X O X
C
(a) (b)
Y Y
O X O X
(c) (d)
Figure 2.2: Types of solution of linear programming problem: (a) Infinite
solutions; (b) Unbounded solution; (c) No solution and (d) Unique point
10
improves the solution. It does this over and over again, making the greatest possible
improvement each time. When no more improvements can be made, the most
attractive corner corresponding to the optimal solution has been found.
Converting Inequalities into Equations with Nonnegative Right Hand Side
According to Bhave (2003) if the constraints are of the inequality type, they can be
transformed to equality type with nonnegative right hand side by adding slack
variables to constraints with “≤” sign, or by subtracting surplus variables from
constraints with “≥” sign. For example,
Rather than enumerating all the basic solutions (corner points) of the LP problem, the
simplex method investigates only a “select few” of these solutions. Normally the
simplex method starts at the origin. At this point, the value of the objective function Z
is zero, and then Simplex method moves to the neighboring corner that best improves
the solution. It does this over and over again, making the greatest possible
improvement each time. When no more improvements can be made, the most
11
attractive corner corresponding to the optimal solution has been found. An example of
simplex method is given in Appendix B.
Though the total cost of establishment of a water supply system is the summation of
the cost of all elements, a large proportion of the money is taken up by the pipeline
network. The cost of the pipe network is the function of both lengths and the
diameters of the pipes used, as the lengths and the diameters are hydraulically
interrelated. The layout which gives the minimum lengths, does not necessarily gives
the minimum diameters, and vice versa. Therefore, a true optimal network is obtained
only if both layout and diameter are optimized simultaneously.
For a given layout, the optimization problem is to find the diameters or sets of
diameters of pipes and corresponding lengths, so that total cost of the network is
minimum and all the hydraulic conditions are satisfied.
Subjected to:
12
Vm ≤ Vmax ..Eq 2.10
lp ≥ 0 ..Eq 2.11
Where,
4Q
Maximum permissible pipe diameter, dmax = ..Eq 2.12a
πVmin
And,
4Q
Minimum permissible pipe diameter, dmin = ..Eq 2.12b
πVmax
Thus, in a constant flow part, only those commercially available diameters are
necessary to consider which fall within the range of dmax and dmin.
13
2.4.1 Summary of Design Criteria
Minimum Flow Velocity
• Desirable 2.3m/s
• Maximum 3.0m/s
Residual Pressure
Due to the nature of the ground profile, sometimes, hydraulic grade line may fall
below the ground level at critical points. In such case negative pressure would
develop in the pipeline, which must be avoided. For this purpose it is assumed that the
hydraulic grade line should be always 5m above ground level.
14
The sizes of commercially available HDPE pipes and Medium Grade GI pipes along
with their cost per meter as per Cost Estimation and Design report of project under
consideration are given under Table 2.3 and 2.4 respectively.
Table 2.4: Sizes and costs of commercially available medium grade GI pipes
Diameter Rate
S.N.
(mm) (NRs/meter)
1 15 103.70
2 20 133.50
3 25 201.50
4 32 255.50
5 40 292.80
6 50 409.50
15
CHAPTER III
3.0 METHODOLOGY
Pipes come in various wall thicknesses, which can withstand different amounts of
internal pressure. Depending on the internal pressure created by the elevation
difference, pipes of the same internal diameter, but of a different wall thickness, may
be used along a pipeline branch. Thicker wall pipes are costlier than the ones with
thinner diameter. This difference in cost further modifies the optimization model.
Introduction of BPTs has two effects; first it releases the internal pressure created by
elevation, and second is that as a consequence of pressure release, it is possible to use
a thinner walled pipe which is cheaper. Thus it results in a reduction in total pipe cost.
However, the tanks have their own cost. Therefore, the optimum network is only
possible from optimum combination of tanks and pipes.
All three are interrelated and contribute to the cost of a branch. The optimal policy for
given number of BPTs is the combination of position of the BPTs, lengths and
diameters of pipes, and pipe wall thicknesses, which gives minimum cost.
16
3.2 Model Formulation
3.2.1 Definition of Terms Used
Part: A part is defined as the portion of link which has only one type
of pipe.
Node: A node is a point where two or more link meets, or a link starts,
or a link ends. The source, the BPTs, the branching point, end
points are all nodes.
17
3.2.3 Symbols Used
18
A
Qab
Eab
Lab
B
In such a situation, type 1 with lowest pressure rating (i.e., hp1) can be provided in the
whole length of the branch AB. Here it is not necessary to consider BPT and type 2 or
type 3 pipes in the optimization model.
If the length Lab is assumed to consist of many pipe segments of known lengths lp and
known diameters dp (The dp are the commercially available diameters within the range
of dmax and dmin and there are n numbers of diameters available within this rang.) then
the objective function become:
Minimize,
C= ∑ Up11 lp11 ..Eq 3.1
And the constraints are,
∑ lp11 =Lab ..Eq 3.2
If the minimum pressure requirement at B is Hmin,b ,then the pressure condition will
be:
Eab - ∑ hLp11 ≥ Hmin,b (substituting the value of hf from Equation 2.3 b)
lp
Or, Eab - 10.7Q1.85 ∑ 4.87 1.85 ≥ Hmin,b ..Eq 3.3
dp cHp
And, all lp ≥ 0
i. Provide the type 1 pipe up to the point where internal pressure in the pipe
equals hp1 and provide the pipe type 2 in the remaining portion.
ii. Provide a BPT or BPTs and use pipe type 1.
19
i. Model without BPT
In branch AB as shown in Figure 3.2 where Eab is maximum static head at point B and
hp2 > Eab > hp1, type 1 pipe in part 1 where maximum static head is H1, which equals
to hp1 can be provided and pipe type 2 can be provided in part 2. Hence, there is no
requirement of BPT.
A
Part
H1 1
Qab
Eab
Lp1 Part
2
B
Lp2
Figure 3.2:Fig
Condition hp2 >ETypes
3.2 : Using ab>hp1,1with
andtype 1 andand
2 pipes typeno
2 pipes
BPT and without BPT
when hp2 Eab > hp1
Here whole branch AB can be considered as single link,
The cost of the pipes is given by:
C= ∑ ∑ Upt1 lpt1 ..Eq 3.4
Up to the hydrostatic pressure of h11, type 1 pipe could be used. If the type 1 pipe is
used up to an elevation difference of H1 from A, then the condition of the internal
pressure in the type 1 pipe should not exceed h11 and can be expressed as;
H1 ≤ h11
Or, Sab ∑ Lp11 ≤ hp1 ..Eq 3.5
20
ii. Model for Single BPT situation
In Figure 3.3 a single BPT T1 is considered for the condition hp2 > Eab > hp1 and only
type 1 pipe is used in link 1 and link 2.
A
Li nk
E1 1
Qab T1
Eab
Lp1 Li nk
1 2
E2
B
Lp1
2
Figure 3.3: Condition hp2 >Eab>hp1, with type 1 pipe and single BPT
Fig 3.3 : Using Single BPT
when hp2 Eab > hp1
Single BPT or BPTs as the case may be, can be used without using type 2 pipe. The
Eab
number of BPTs can be obtained by integer part of
hp1
The provision of BPT is not a strict hydraulic requirement for this condition, since the
type 2 pipe can withstand the maximum pressure exerted in the system. In such a case
a decision whether to provide a BPT or BPTs has to be taken entirely on the cost
basis.
The optimization problem is to obtain the position of the BPT; in addition to the
lengths and diameters of the type 1 pipe.
Here number of link equals to two, therefore l=1 to 2
Conditions to be satisfied;
Link 1
The maximum permissible pressure at link 1 should not exceed hp1
i.e. E1 ≤ hp1
Or, Sab ∑ lp11 ≤ hp1 ..Eq 3.9
21
The difference between available head and head loss in link should be greater or equal
to minimum head required at T1.
i.e. E1 - ∑ hLp11 ≥Hmin,T1
lp11
Or, Sab ∑ lp11 - 10.7Q1.85 ∑ =Hmin,T1 ..Eq 3.10
d4.85 1.85
p11 C1
Similarly in Link 2
Sab ∑ lp12 ≤ hp1 ..Eq 3.11
Total lengths of the pipes should be equal to the length between points A and B
∑ ∑ lp1t = Lab ..Eq 3.13
In Figure 3.4 there is no consideration of BPT for the condition hp3 > Eab > hp2. In the
branch AB part 1 consists of type 1 pipe upto the static head H1, part 2 consists of
type 2 pipe up to the static head H2 and part 3 consists of type 3 pipe.
A
Part
1
H1
H2 Qab
Part
2
Lp1 Eab
Part
3
Lp2
B
Lp3
Figure 3.4: Condition hp3 >Eab>hp2 with type 1, 2 and 3 pipes and without BPT
22
Here, l=1 and t = 1 to 3
The cost of the pipes is given by:
C= ∑ ∑ Upt1 lpt1 ..Eq 3.14
The number of BPTs in a branch can be decided depending up on available head (Eab)
and maximum permissible pressure rating (hpt) of pipes used. In this case (i.e. hp3 >
Eab
Eab > hp2) the maximum number of BPTs is given by integer part of and for this
hp1
maximum number, only pipe Type 1 should be used, similarly minimum number of
Eab
BPTs is given by integer part of and here both Type 1 and Type 2 pipes can be
hp2
used. Therefore to obtain a policy for absolute minimum cost one should compare all
possible BPTs situation. No matter how many BPTs we use the optimization model
formulation is exactly similar to following example. The only difference is the
number of BPTs, therefore, the number of links will increase; which in turn increases
the number of decision variables (lptl) and constraints to be satisfied.
In Figure 3.5 two BPTs situation for the Condition hp3 >Eab>hp2 is considered , BPTs
T1 and T2 are used in a uniform slope branch AB. Considering all the symbols and
notification used previously the model for the situation will be as follows,
23
Link
1
Part
1
A Lp1
1 Part
Link
2
2
H11 Lp2
E1 1 Part
1
Lp1 Link
2 Part
2
3
H12 T1 Lp2
E2 2 Part
1 Eab
Lp1
3 Part
2
H13 T2 Lp2
E3 3
B
Conditions to be satisfied;
Link 1
The maximum permissible pressure at part 1 should not exceed hp1,
Sab ∑ lp11 ≤ hp1 ..Eq 3.20
The difference between available head and head loss in link should be greater or equal
to minimum head required at T1.
lpt1
Sab ∑ ∑ lpt1 -10.7Q1.85 ∑ ∑ ≥Hmin,T1 ..Eq 3.22
d4.85 1.85
pt1 Ct
Link 2
The maximum permissible pressure at part 1 should not exceed hp1,
Sab ∑ lp12 ≤ hp1 ..Eq 3.23
The maximum permissible pressure at part 2 should not exceed hp2,
Sab ∑ lp12 + ∑ lp22 ≤ hp2 ..Eq 3.24
24
The difference between available head and head loss in link should be greater or equal
to minimum head required at T2.
lpt2
Sab ∑ ∑ lpt2 -10.7Q1.85 ∑ ∑ ≥Hmin,T2 ..Eq 3.25
d4.85 1.85
pt2 Ct
Link 3
The maximum permissible pressure at part 1 should not exceed hp1,
Sab ∑ lp13 ≤ hp1 ..Eq 3.26
The total lengths of the pipes should be equal to the length of AB,
∑ ∑ ∑ lptl =Lab .. Eq 3.29
Eab
2 pipes are used which is given by the integer part of , and the number of BPTs
hp2
will be maximum if we use only type 1 pipe. The maximum number of BPTs will be
Eab
given by integer part of . Therefore to obtain a policy for absolute minimum cost
hp1
If type 2 and type 1 Pipes or only type 1 pipes are to be considered then the LP
models can be formulated as in previous cases.
25
Figure 3.6 shows, single BPT situation using all three types of pipes for the condition
Eab > hp3. Considering all the symbols and notification used previously the LP model
for the situation will be as follows,
Link
1
Part
1
Lp1
1
A
Part
2
Lp2
1
L in k
H11
Part
3 2
H21 Qab
Lp3
1 Part
E1 1
T1 Lp1
2 Part
2
Lp2
2 Part Eab
H12 3
H22 Lp3
2
E2
B
Here, t = 1 to 3 and l = 1 to 2
The cost is given by:
C=CT + ∑ ∑ ∑ Uptl lptl ..Eq 3.30
Conditions to be satisfied;
Link 1
The maximum permissible pressure at part 1 should not exceed hp1,
Sab ∑ lp11 ≤ hp1 ..Eq 3.31
The difference between available head and head loss in link should be greater or equal
to minimum head required at T1.
lpt1
Sab ∑ ∑ lpt1 -10.7Q1.85 ∑ ∑ ≥Hmin,T1 ..Eq 3.34
d4.85 1.85
pt1 Ct
26
Similarly for Link 2
Sab ∑ lp12 ≤ hp1 ..Eq 3.35
Sab ∑ lp12 + ∑ lp22 ≤ hp2 ..Eq 3.36
Sab ∑ lp12 + ∑ lp22 + ∑ lp32 ≤ hp3 ..Eq 3.37
lpt2
Sab ∑ ∑ lpt2 -10.7Q1.85 ∑ ∑ 4.85 1.85 ≥hmin,b ..Eq 3.38
dpt2 Ct
The total lengths of the pipes should be equal to the length of AB,
∑ ∑ ∑ lptl =Lab ..Eq 3.39
Condition 5: Ridge and Valley Condition (Sudden level rise along pipeline)
Ridge and valley condition as sown in Figure 3.7 are very common in hilly terrain.
Hence when ground elevation rises along pipeline some more constrains have to be
introduced in the LP model.
To prevent the creation of negative head, hydraulic grade line (HGL) should always
be above atmospheric pressure throughout the pipe line. Especially in ridge and valley
condition, at the ridge (in Figure 3.7, C represents the ridge) chances are high for the
development of negative pressure. Therefore to prevent possible negative head the
minimum pressure requirement at valley (point B) should be equal to or greater then
elevation difference between ridge point and valley point (Ebc) and also, the residual
head at ridge point should be greater than atmospheric pressure.
Eab
C Ead
Ebc
Ecd
B D
Let us consider a situation as in Figure: 3.7 where Eab ≤ hp1, then LP model is
formulated as follows,
27
Link AB
The minimum pressure requirement at lowest point B, i.e. valley point should be
equal or greater than elevation difference between ridge point C and valley point B
given by Ebc,
Eab - ∑ hlp11 ≥Ebc ..Eq 3.40
And,
∑ lp11 =Lab ..Eq 3.41
Link BC
At point C the hydraulic grade line should not fall below the ground elevation, i.e.
head available at c must be more than or equal to atmospheric.
Eab - ∑ hlp11 - ∑ hlp12 -Ebc ≥0 ..Eq 3.42
And,
∑ lp12 =Lbc ..Eq 3.43
Link CD
If D is considered as demand point then,
Eab - ∑ hlp11 - ∑ hlp12 -Ebc - ∑ hlp13 +Ecd ≥hmin,d ..Eq 3.44
∑ lp13 =Lcd ..Eq 3.45
And,
∑ lp11 + ∑ lp12 + ∑ lp13 =Labcd ..Eq 3.46
28
CHAPTER IV
4.1 Introduction
This chapter illustrates the application of the linear optimization model discussed in
the previous chapter and discusses the results obtained from the application of the
models. The models has been used to recalculate the pipe networks, based on actual
cost estimation and design report of Manikanda Water Supply Project at Gotree VDC
of Bajura district obtained from Community-based Water Supplies and Sanitation
Project, Tangal, Kathmandu.
It is expected that the solution will give optimum combination of lengths of
commercially available diameters and types of pipes and optimum locations of BPTs
so that cost will be optimum.
Where,
1
k =10.7Q1.85 ..Eq 4.1
d4.87 C1.85
H
The flow through the transmission line is 0.4 lps. The diameters of pipes for input to
the model may be limited to a few by making use of the maximum and minimum flow
velocities. Minimum velocity is taken as (vmin) = 0.4 m/s and maximum velocity is
taken as (vmax) = 2.3 m/s, then by using Equations 2.12a and 2.12b we get,
Hence commercially available diameters in this range for various types of pipes are
given in Table 4.1
29
Table 4.1 Various types of commercially available pipes fulfilling velocity
requirements for the transmission line.
1 15 15 103.7 0.6
2 20 20 133.5 0.148
Design Discussion
The profile of transmission line under consideration is shown in Figure 4.1. The
maximum static head up to P32 is 30.31 m, therefore pipe type 1 can only be
considered for link 1, 2, 3, 4 and 5. But, in link 2 and 4 where soil type is Rocky, GI
pipe (type 3) is considered. However in link 1, 3 and 4 type 2 pipes fulfilling the
velocity condition and cheaper then type 1 pipe are also considered.
At point B the maximum static pressure is 96.55m, therefore the combination of type
1 and type 2 pipes are considered in link 6.
At point R the maximum static pressure is 236.5m which is greater than allowable
pressure rating of pipe type 3, hence for optimum design, following two conditions
are considered.
Condition1: Single interruption chamber (IC1) is considered at link 7 and all three
types of pipes are used.
Condition 2: Two interruption chambers (IC1 and IC2) are considered and only type 1
and type 2 pipes are used.
30
I (RL=2120)
(5)
(1) 171.6m (4) P16(RL=2093.24)
(3) 64.9m 361.9m
(2)
57.2m P32 (RL=2093.06)
P8 (RL=2089.73) P13(RL=2091.75)
34.1m
P10 (RL=2089.69)
440m
(6)
B (RL=2023.45)
(7) 402.6m
R (RL=1883.5)
Link 1 (I-P8)
1) Residual pressure at P8 ≥ 5m
30.27- ∑ ∑ hlpt1 ≥ 5
Link 2 (P8-P10)
3) Residual pressure at P10 ≥ 5m
30.31- ∑ ∑ hlpt1 - ∑ ∑ hlpt2 ≥ 5
31
4) Total length of P8-P10 = 34.1m
∑ ∑ lpt2 = 34.1
Link 3 (P10-P13)
5) Residual pressure at P13 ≥ 5m
28.25 - ∑ ∑ hlpt1 - ∑ ∑ hlpt2 - ∑ ∑ hlpt3 ≥ 5
Link 4 (P13-P16)
7) Residual pressure at P16 ≥ 5m
26.76 - ∑ ∑ hlpt1 - ∑ ∑ hlpt2 - ∑ ∑ hlpt3 - ∑ ∑ hlpt4 ≥ 5
Link 5 (P16-P32)
9) Residual pressure at P32 ≥ 5m
26.94 - ∑ ∑ hlpt1 - ∑ ∑ hlpt2 - ∑ ∑ hlpt3 - ∑ ∑ hlpt4 - ∑ ∑ hlpt5 ≥ 5
Link 6 (P32-B1)
11) Maximum static head available at first part of the link should be less then 60m,
26.94 + 0.1582 ∑ lp16 ≤ 60
32
Link 7 (B1-IC1)
14) Here, static head at B1 is already greater than pressure rating of Type 1 pipe,
hence Type and Type 3 pipes are only considered. Therefore, the maximum static
head at first part of the link should be less than or equal to100m,
96.55 + 0.3476 ∑ lp27 ≤ 100
15) The static head at IC1 should be less than or equal to pressure rating of Type 3
pipe, i.e. 160m,
96.55 + 0.3476 ∑ lp27 + ∑ lp37 ≤ 160
- ∑ ∑ hlpt6 - ∑ ∑ hlpt7 ≥ 10
Link 8 (IC1-R)
17) The maximum static head available at first part of the link should be less than
60m,
0.3476 ∑ lp18 ≤ 60
18) The maximum static head available at second part of the link should be less than
100m,
0.3476 ∑ lp18 + ∑ lp28 ≤ 100
19) The maximum static head available at third part of the link should be less than
160m,
0.3476 ∑ lp18 + ∑ lp28 + ∑ lp38 ≤ 160
33
Similarly for second condition where two interruption chambers are considered, LP
problem was formulated. Thus, LP problem for both the conditions was solved using
computer software, TORA 8.0. The software solves the LP problem by the Simplex
method. The input data and computer output for both the conditions are included in
the Appendix C. The summaries of results for both the conditions are given in Table
4.2 and Table 4.3.
Table 4.2: Result of LP model solution for design of transmission line with single
interruption chamber.
Unit
Link Diameter Length Amount
Pipe Cost
S.N Remarks
Type External Internal
From To (m) NRs. NRs.
(mm) (mm)
1 I P8 1 32 26.9 171.60 40.23 6903.47
2 P8 P10 3 25.0 34.10 201.5 6871.15 Rock
3 P10 P13 1 32 26.9 57.20 40.23 2301.15
3 20.0 37.82 133.5 5048.97
4 P13 P16 Rock
3 25.0 27.08 201.5 5456.62
5 P16 P32 1 32 26.9 361.90 40.23 14559.24
1 32 26.9 208.98 40.23 8407.27
6 P32 B 2 20 14.9 20.11 23.85 479.62
2 25 18.9 210.91 35.96 7584.32
2 25 18.9 9.93 35.96 357.08
7 B IC1
3 15.0 104.99 107.3 10887.46
1 32 26.9 72.78 40.23 2927.94
8 IC1 R
2 20 14.9 214.90 23.85 5125.37
TOTAL 1532.3 76909.66
Table 4.3: Result of LP model solution for design of transmission line with two
interruption chambers.
Unit
Link Diameter Length Amount
Pipe Cost
S.N Remarks
Type External Internal
From To (m) NRs. NRs.
(mm) (mm)
1 I P8 1 32 26.9 171.60 40.23 6903.47
2 P8 P10 3 25.0 34.10 201.5 6871.15 Rock
3 P10 P13 1 32 26.9 57.20 40.23 2301.15
3 20.0 37.82 133.5 5048.97
4 P13 P16 Rock
3 25.0 27.08 201.5 5456.62
5 P16 P32 1 32 26.9 361.90 40.23 14559.24
1 32 26.9 208.98 40.23 8407.27
6 P32 IC1 2 20 14.9 106.39 23.85 479.62
2 25 18.9 124.64 35.96 7584.32
2 25 18.9 72.78 40.23 357.08
7 IC1 IC2
3 15.0 214.91 23.85 10887.46
1 32 26.9 44.55 40.23 2927.94
8 IC2 R
2 20 14.9 70.36 23.85 5125.37
TOTAL 1532.3 68091.20
34
The cost of one interruption chamber is taken as NRs. 40,000.00. Therefore the
optimum cost for first condition is NRs. 1, 16,909.66 and optimum cost for second
condition is NRs. 1, 48,091.20. Hence, the first condition is taken as global optimum
policy for the design of the transmission line.
Branch R-J1
This is the first branch of the distribution network where R is service reservoir. The
flow through the branch is 1.1 lps, length of the branch is 160.6m and available head
and maximum static head id 21.51m. Taking maximum allowable flow velocity as
2.3m/s and minimum required velocity as 0.4 m/s, the maximum and minimum
diameters of pipes that can be used is obtained as 59.17mm and 24.67mm
respectively, the commercially available diameters within this range for the branch in
table 4.4
Table 4.4: Commercially available type 1 HDPE pipes fulfilling the velocity
requirement for Branch R-J1.
Internal diameter
Outer diameter (mm) Rate (NRs./meter) K
(mm)
The objective function of the LP problem for the branch will be to minimize the cost
of the branch which is given by,
Minimize,
C= ∑ Up11 lp11
35
R (RL=1883.5)
0. .8m
s
lp
74
388.3m 0.8 lps
1
T3 (RL=1817.83)
30.8m
T4 (RL=1825.62) 0.2 lps
J2 (RL=1839.85)
34.1m J3 (RL=1830.03)
0.1 lps
38.5m
T5 (RL=1817.09) T6 (RL=1839.75)
0.1 lps
J4 (RL=1839.96)
T7 (RL=1829.06)
52.8m 266.2m
0.1 lps 0.2 lps
T8 (RL=1759.77) BPT1 (RL=1800.87)
J6 (RL=1771.49)
T9 (RL=1723.21)
407.03m
T11 (RL=1665.26) J7 (RL=1750.71)
0.1 lps
T10 (RL=1728.09)
36
Subjected to,
1) Minimum pressure requirement at J1=10m,
The result for the LP problem showed that optimum solution for the branch will be
obtained by using external pipe diameters of 32mm for length of 34.80m and 40mm
for length 125.80m. The residual head given by the pipe combination is 10m.
Branch J1-J8
The flow through this branch is 0.2 lps, length of the branch is 256.3m.The level
difference between J1 and J8 is 37.2m and residual pressure at J1 is 10m, hence the
available head is 47.2m, the maximum static pressure at J8 is 58.71m. Using velocity
requirement the maximum and minimum diameters of pipes that can be used is
obtained as 25.25mm and 10.5mm respectively. However the maximum static head is
less then pressure rating of type 1 pipe, the commercially available diameters within
required range are found only in type 2. Hence type 2 pipes are used for the branch
which is given in Table 4.5.
Table 4.5: Commercially available type 2 HDPE pipes fulfilling the velocity
requirement for Branch J1-J8.
As for branch R-J1 the LP problem for the branch J1-J8 was solved and result showed
that the optimum solution for the branch will be, use of external pipe diameter 20mm
of type 2 throughout the length of the branch.
37
Similarly LP problem for all the remaining branch was solved to get optimum policy
for the distribution network, the result obtained is summarized in the Table 4.6.
The optimum cost of the pipeline for the distribution network was obtained
NRs.1, 12,140.09. There is provision of single BPT at the network, hence adding the
cost of the BPT as NRs.40, 000.00, the total optimum cost of the distribution network
will be NRs. 1, 52,140.09.
38
Table 4.7: Design of transmission line
39
INTAKE
I (RL=2120.0)
P8 (RL=2089.73)
P10 (RL=2089.69)
P13 (RL=2091.75)
P16 (RL=2093.24)
P32(RL=2093.06)
32H(6)/208.98m 0.4 lps
B (RL=2023.45)
IC1 (RL=1983.51)
R (RL=1883.5)
40
Table 4.8 Design of distribution network
41
R (RL=1883.5)
8m
4.
32H(6)/208.14m 0.8 lps
/7
0)
s
(1
lp
H
20
1
0.
40H(6)/180.16m 0.8 lps
T3 (RL=1817.83)
20H(10)/30.8m
T4 (RL=1825.62) 0.2 lps
J2 (RL=1839.85)
20H(10)/34.1m J3 (RL=1830.03)
0.1 lps
20H(10)38.5m
T5 (RL=1817.09) T6 (RL=1839.75)
0.1 lps
J4 (RL=1839.96)
T7 (RL=1829.06)
32H(6)/31.03m 0.4 lps
T9 (RL=1723.21)
T10 (RL=1728.09)
42
4.5 Cost Comparison
The cost of pipeline network of the water supply project including, interruption
chambers and break pressure tanks after optimal design using linear programming
was estimated and compared with the cost as given in the design report of the project.
The cost comparison is provided in Table 4.9
Table 4.9 Cost comparison between optimal design and project report.
Cost as per
S.N Parameter Optimum design
Project report (NRs.)
(NRs.)
1 Transmission line 1,16,909.66 1,86,077.60
2 Distribution line 1,52,140.09 2,066,42.60
Total 2,69,049.75 3,92,720.20
Although, both the design approach are good in satisfying the required hydraulic
conditions, but optimal design using linear programming method can actually helps in
selecting the best hydraulic design giving minimum optimum cost. The cost
comparison made in Table 4.9 shows that the cost can be reduced by 31.5% of the
actual estimated cost in this particular project.
43
CHAPTER V
5.1 Conclusions
The purpose of the study was to present possibility of optimum design approach for
design of water supply system in small rural hilly community. Based on the study
conducted following conclusions are shown.
5.2 Recommendations
The following recommendations are made for further study:
• The study was focused on optimum design of pipeline network, however a
typical water supply system consists of many other components such as intake
structures, treatment facilities, storage facilities etc. Therefore further study is
recommended on optimum design of those components.
• The computer software used for the study is actually a linear program solver,
which means that in study the required linear programming problems were
developed manually and then was fed to the software. The development of an
interactive computer program is recommended for the optimal design.
• Optimization models considered in this study assumes a uniform slope in a
branch, which is not always true. Therefore, study on optimal design in
uneven ground slopes is recommended.
44
REFERENCES
45
APPENDICES
Appendix C Data input and output result of TORA 8.0 for design of
transmission line.
Appendix D Data input and output result of TORA 8.0 for design of
distribution network
46
Appendix A
Example: Graphical Method
Maximize Z=3x+4y
Subjected to,
2x + y ≤ 10
x + 3y ≤ 9
x≥0, 0
Solution: Consider Fig. 2.2. The constraint x ≥ 0 implies that the solution must lie on the
right hand side of y-axis (x=0), similarly, y ≥ 0 implies that the solution must lie above the x-
axis (y=0). Thus, these no negativity constraints imply that the solution must lie in the first
quadrant. Other constraints are also plotted. Considering all constraints we observed that the
solution must lie on or within the shaded quadrilateral OABC.
10
8
2x +
y =1
7
0
4
A
3
2 B
3x x+3
+4 Feasible y=9
1 y= Region
6 C
O X
1 2 3 4 5 6 7 8 9
A-1
Appendix B
Example: Simplex Method
Maximize Z=5x1 +4x2
Subjected to,
6x1 +4x2 ≤24
x1 +2x2 ≤6
-x1 +x2 ≤1
x2 ≤ 24
x1 ,x2 ≥0
Solution: Let us convert inequalities into equations with nonnegative right hand side
Maximize Z-5x1 -4x2 =0
Subjected to,
6x1 +4x2 +s1 =24
x1 +2x2 +s2 =6
-x1 +x2 +s3 =1
x2 +s4 =24
x1 ,x2 ,s1 ,s2 ,s3 ,s4 ≥0
Then the starting simplex tableau can be represented as follows:
Enter
Basic Z X1 X2 S1 S2 S3 S4 Solution
Z 1 -5 -4 0 0 0 0 0
Leave S1 0 6 4 1 0 0 0 24 Pivot
S2 0 1 2 0 1 0 0 6 Row
S3 0 -1 1 0 0 1 0 1
S4 0 0 Pivot
1 0 0 0 1 2
Column
In this first tableau Non basic (0, 0) variables are x1 and x2 and basic variables are s1, s2, s3
and s4. We can see in the tableau that on setting (x1, x2) = (0, 0) the solution for Z, s1, s2, s3
and s4 is immediately available at solution column.
The objective function Z = 5x1 + 4x2 shows that the solution can be improved by increasing
x1 or x2, hence most positive coefficient is selected as the entering variable. Because simplex
tableau expresses the objective function as Z - 5x1 - 4x2, the entering variable will correspond
to the variable with the most negative coefficient in the objective equation.
B-1
Appendix B
Now to determine the leaving variable we need to find corresponding minimum nonnegative
ratio. This can be obtained by dividing elements of solution column by corresponding
elements under entering variable column. In this example the minimum nonnegative ratio is 4
which corresponds to s1, therefore s1 is leaving variable.
Hence, new non basic (zero) variables are s1 and x2 and new basic variables are x1, s2, s3 and
s4.
Now the new tableau is created using Gauss-Jordan row operation, which identifies entering
variable column as the pivot column and the leaving row column as pivot row. The
intersection of the pivot column and pivot row is called the pivot element.
The new tableau is created with following calculations,
New pivot row=current pivot row ÷ pivot element
New row= current row - Its pivot column coefficient ×(new pivot row)
Hence, new tableau is obtained as,
Basic Z X1 X2 S1 S2 S3 S4 Solution
Z 1 0 -2/3 5/6 0 0 0 20
X1 0 1 2/3 1/6 0 0 0 4
S2 0 0 4/3 -1/6 1 0 0 2
S3 0 0 5/3 1/6 0 1 0 5
S4 0 0 1 0 0 0 1 2
As in previous tableau we can find out in this tableau the entering variable is x2 and leaving
variable is s2, and with similar process new tableau is generated,
Basic Z X1 X2 S1 S2 S3 S4 Solution
Z 1 0 0 3/4 1/2 0 0 21
X1 0 1 0 1/4 -1/2 0 0 3
X2 0 0 1 -1/8 3/4 0 0 3/2
S3 0 0 0 3/8 -5/4 1 0 5/2
S4 0 0 0 1/8 -3/4 0 1 1/2
Based on the optimality condition, none of the Z-row coefficient associated with the non
basic variables s1 and s2 is negative. Hence, this tableau is optimal, and we can see that
optimal value of objective function is 21 and corresponding values of decision variables x1
and x2 are 3 and 3/2 respectively.
B-2
Appendix C
C-1
Appendix C
C-2
Appendix C
C-3
Appendix C
C-4
Appendix C
C-5
Appendix C
C-6
Appendix C
C-7
Appendix C
C-8
Appendix C
C-9
Appendix C
C-10
Appendix C
C-11
Appendix C
C-12
Appendix C
C-13
Appendix C
C-14
Appendix C
C-15
Appendix C
C-16
Appendix C
C-17
Appendix C
C-18
Appendix D
D-1
Appendix D
D-2
Appendix D
D-3
Appendix D
D-4
Appendix D
D-5
Appendix D
D-6
Appendix D
D-7
Appendix D
D-8
Appendix D
D-9
Appendix D
D-10
Appendix E
E-1
Appendix E
E-2
Appendix F
F-1
Appendix F
F-2