+ All Categories
Home > Documents > Optimization of Water Distribution Network: A …paper.uscip.us/cms/CMS.2014.1002.pdfOptimization of...

Optimization of Water Distribution Network: A …paper.uscip.us/cms/CMS.2014.1002.pdfOptimization of...

Date post: 27-Mar-2018
Category:
Upload: phamtram
View: 217 times
Download: 4 times
Share this document with a friend
22
Columbia International Publishing Contemporary Mathematics and Statistics (2014) Vol. 2 No. 1 pp. 25-46 doi:10.7726/cms.2014.1002 Research Article ______________________________________________________________________________________________________________________________ *Corresponding e-mail: [email protected] 1* Department of Mathematics, Faculty of Science, University of Mauritius, Reduit, Mauritius 2 Department of Civil Engineering, Faculty of Engineering, University of Mauritius, Reduit, Mauritius 25 Optimization of Water Distribution Network: A Comparison using Genetic Algorithm and Particle Swarm Optimization Jayrani Cheeneebash 1* , Reshma Rughooputh 2 , Ashvin Gopaul 1 , Khojeswaree Chamilall 1 , and Jovesh Naggea 1 Received 2 May 2013; Published online 26 April 2014 © The author(s) 2014. Published with open access at www.uscip.us Abstract In this paper the authors compare two optimization techniques, namely the Genetic Algorithm and the Particle Swarm Optimization for water distribution networks. The effectiveness of the two algorithms is tested on two benchmark water distribution networks namely, the New York City water supply tunnel system and the Hanoi water distribution network and a comparison of the two techniques is presented. Furthermore the two algorithms are applied to two local water distribution networks in Mauritius which is very old and no such study has been done before on these data. This study will be beneficial to the government for decision making more specific for water management of the island following the severe drought problems during the last three years. Keywords: Water distribution network; Optimization; Genetic algorithm; Particle swarm optimization 1. Introduction A water distribution network (WDN) is a system of hydraulic elements (pipes, pumps, valves and reservoirs) which are connected together to convey a given quantity of water, within prescribed pressures from sources to consumers. The model of a network is made of links connected at nodes. A head is associated with each node which is a measure of the hydraulic energy and a consumption which is the quantity of water withdrawn from the network at the node. Withdrawals in networks mean that water is distributed along pipelines, and the consumptions at nodes of the model represent the aggregate of these withdrawals over an appropriate area. Associated with each link is a resistance relationship, which relates the flow through the link to the head loss or gain in case of pumps between the ends of the link. The relationship includes a numerical coefficient, the
Transcript
Page 1: Optimization of Water Distribution Network: A …paper.uscip.us/cms/CMS.2014.1002.pdfOptimization of Water Distribution Network: A Comparison using Genetic Algorithm and Particle Swarm

Columbia International Publishing Contemporary Mathematics and Statistics (2014) Vol. 2 No. 1 pp. 25-46 doi:10.7726/cms.2014.1002

Research Article

______________________________________________________________________________________________________________________________ *Corresponding e-mail: [email protected] 1* Department of Mathematics, Faculty of Science, University of Mauritius, Reduit, Mauritius 2 Department of Civil Engineering, Faculty of Engineering, University of Mauritius, Reduit, Mauritius

25

Optimization of Water Distribution Network: A Comparison using Genetic Algorithm

and Particle Swarm Optimization

Jayrani Cheeneebash1*, Reshma Rughooputh2 , Ashvin Gopaul1, Khojeswaree Chamilall1, and Jovesh Naggea1 Received 2 May 2013; Published online 26 April 2014 © The author(s) 2014. Published with open access at www.uscip.us

Abstract In this paper the authors compare two optimization techniques, namely the Genetic Algorithm and the Particle Swarm Optimization for water distribution networks. The effectiveness of the two algorithms is tested on two benchmark water distribution networks namely, the New York City water supply tunnel system and the Hanoi water distribution network and a comparison of the two techniques is presented. Furthermore the two algorithms are applied to two local water distribution networks in Mauritius which is very old and no such study has been done before on these data. This study will be beneficial to the government for decision making more specific for water management of the island following the severe drought problems during the last three years. Keywords: Water distribution network; Optimization; Genetic algorithm; Particle swarm optimization

1. Introduction A water distribution network (WDN) is a system of hydraulic elements (pipes, pumps, valves and reservoirs) which are connected together to convey a given quantity of water, within prescribed pressures from sources to consumers. The model of a network is made of links connected at nodes. A head is associated with each node which is a measure of the hydraulic energy and a consumption which is the quantity of water withdrawn from the network at the node. Withdrawals in networks mean that water is distributed along pipelines, and the consumptions at nodes of the model represent the aggregate of these withdrawals over an appropriate area. Associated with each link is a resistance relationship, which relates the flow through the link to the head loss or gain in case of pumps between the ends of the link. The relationship includes a numerical coefficient, the

Page 2: Optimization of Water Distribution Network: A …paper.uscip.us/cms/CMS.2014.1002.pdfOptimization of Water Distribution Network: A Comparison using Genetic Algorithm and Particle Swarm

Jayrani Cheeneebash, Reshma Rughooputh, Ashvin Gopaul, Khojeswaree Chamilall, and Jovesh Naggea

/ Contemporary Mathematics and Statistics (2014) Vol. 2 No. 1 pp. 25-46

26

resistance of the link, which depends on the physical properties of the link (for example length, diameter and roughness for a pipe). Reservoirs are connected to the system at certain nodes. For each reservoir a relation is given between the volume stored and the water level and it allows the computation of the changes in level due to inflows and outflows. The water level in a reservoir is also the head at the node to which is connected. The overall planning process of water distribution networks consists of three phases: layout, design, and operation. Although each phase is dependent on the others, they can be formulated and solved as separate problems. The complete planning process is then carried out by iterating on these three phases. The design process is a difficult problem due to the following:

i. the problem contains discrete elements, for example pumps, valves and pipes segments, ii. any formulation of the problem that is realistic enough to be useful is non linear and non-

convex, iii. and even a moderate size problem is of rather high dimension.

Efficient water supply distribution network is of much importance in either designing networks or expanding existing ones. Many heuristics methods have been used in designing water networks because of its computational and engineering complexity. On the other hand it is essential to investigate the reliability of the network design in ensuring adequate head. The nonlinearity between flow and head loss and together with factors such as pipe diameter and material of the pipe in design optimization makes it a challenging problem. Thus, the problem is viewed as a cost minimization problem which is an NP hard problem. Many methods such as linear programming, non-linear programming, heuristics and evolutionary methods have been used in solving the cost minimization optimization problem (Yates et al, 1984; Baños et al, 2007). Non linear programming methods fits better to solve water distribution design problem compared to linear programming since the optimization problem is itself a non linear problem. But the main drawback of non-linear programming is that there is too much dependence on initial solutions and they do not guarantee a global optimal solution. The use of discrete variables, for example pipe sizes reduces the quality of the solution. To overcome this problem, evolutionary algorithms have proved to be efficient. Some examples are simulated annealing, genetic algorithm, harmonic search algorithm and particle swarm optimization. In this paper the genetic algorithm and the particle swarm optimization on two benchmarks networks have been used and the same algorithms to two water networks in the island have been applied. Mauritius has faced serious drought problem over its whole territory for the past three years. The existing pipe-network is quite old and bears a loss of around 50%. No work has been done in the field of optimizing the pipes network in Mauritius. This research is of great importance as its outcome may be helpful to improve the efficiency of the water distribution network. In fact the two heuristics considered in this paper have not been applied previously for these two local WDN and also the comparison of these two methods have not been made. The paper is organized as follows: in section 2 the theory of water network is given and the mathematical formulation of the problem is described in section 3. The heuristics algorithms, namely the genetic algorithm and the particle swarm optimization are given in section 4 followed by the simulation results applied to benchmark data and two local real data in Mauritius. Finally some concluding remarks and future work are given at the end of the paper.

Page 3: Optimization of Water Distribution Network: A …paper.uscip.us/cms/CMS.2014.1002.pdfOptimization of Water Distribution Network: A Comparison using Genetic Algorithm and Particle Swarm

Jayrani Cheeneebash, Reshma Rughooputh, Ashvin Gopaul, Khojeswaree Chamilall, and Jovesh Naggea

/ Contemporary Mathematics and Statistics (2014) Vol. 2 No. 1 pp. 25-46

27

2. Water Networks Water supply system is said to be one of the most important public utility. Fresh water supply is required for household purposes, irrigation and in industries. Each year, countable amount of money is spent in researching new sources of water, improving existing sources and developing or upgrading the water distribution networks. According to Swamee et al (2008), a large part of this finance, around 80% goes in improving water supply networks. Hence, improving the water distribution networks while cutting costs is of great priority in all countries.

2.1 Water Network Design

A good network design is one that satisfies water requirements for domestic, commercial and other purposes. When designing a water network, there are some requirements that need to be met. These are:

i. water arriving at a node should be at an adequate pressure, ii. quality of water should be a good one and must be maintained throughout the system,

iii. supply of water at a node should be able to meet with fire fighting demands if required, iv. layout of the network must be reliable, i.e. any consumer must be able to obtain water even

though there is a breakdown in a pipe, v. pipes should be laid one meter or beneath sewer lines along road surfaces,

vi. system should be such that there are minimum losses and leakages, vii. water distribution layout must be easy to operate and maintain.

A water supply/distribution system (Figure 1) consists of four main components (Swamee et al, 2008):

i. fresh water sources and intake works, ii. treatment plants and storage,

iii. transmission facilities, iv. water distribution networks.

Fig. 1. A water distribution network (Swamee et al., 2008).

Page 4: Optimization of Water Distribution Network: A …paper.uscip.us/cms/CMS.2014.1002.pdfOptimization of Water Distribution Network: A Comparison using Genetic Algorithm and Particle Swarm

Jayrani Cheeneebash, Reshma Rughooputh, Ashvin Gopaul, Khojeswaree Chamilall, and Jovesh Naggea

/ Contemporary Mathematics and Statistics (2014) Vol. 2 No. 1 pp. 25-46

28

3. Mathematical Formulation of the Water Network

Analysis of a water distribution system is based in figuring out the flow of water in and out of nodes and the residual pressure at any node irrespective of the routes taken. When water flows in a pipe, it is subject to frictional force due to its motion, which reduces its velocity and ultimately the available head of water available. The loss of energy (head) can be classified as: major energy loss and minor energy loss. These losses can be computed by using the:

a. Darcy Weisbach equation

, (1)

b. Hazen Williams equation

(

)

, (2)

where; L: length (m), D:Internal Diameter (m), V:velocity (m/s), g: gravitational acceleration (m/s2), α: Darcy Weisbach Friction factor, and C: Hazen Williams Friction factor. In any pipe network, there is an interconnection of each hydraulic element such that each should be consistent with each other. Hence there are two equations that define the correlation between the elements: the continuity equation and the energy equation. The continuity equation takes into consideration the concept of conservation of mass, according to which the mass of water entering a pipe will be equal to the mass of water leaving it. The continuity equation states that the flow entering a junction must be equal to the flow leaving the junction

∑ , (3)

where, : number of pipes joined at a node, : flow rate , in and out of the nodes, demand at the node. The energy equation uses the concept of conservation of energy that says that the energy difference at a point is the same irrespective of its route taken. The energy equation, applied at each closed loop in the network states that the algebraic sum of head loss at each closed loop must be zero, that is ∑

, (4)

where, : headloss in each pipe, : number of pipes in the loop. There are three types of optimization models for the optimal design of the water supply network (B. Djebedjiian et al., 2006) i. least cost Optimization: This particular optimization method finds the optimal cost by finding

the minimum of the cost function while at the same time satisfying design limitations ii. maximum benefit design optimization: This method searches for the maximum benefit design

solution within a certain budget while satisfying design constraints

Page 5: Optimization of Water Distribution Network: A …paper.uscip.us/cms/CMS.2014.1002.pdfOptimization of Water Distribution Network: A Comparison using Genetic Algorithm and Particle Swarm

Jayrani Cheeneebash, Reshma Rughooputh, Ashvin Gopaul, Khojeswaree Chamilall, and Jovesh Naggea

/ Contemporary Mathematics and Statistics (2014) Vol. 2 No. 1 pp. 25-46

29

iii. cost benefit tradeoff optimization: The above mentioned method is a multi objective design optimization model. The objective functions are to minimize cost and maximize the benefit while satisfying design constraints

In this paper, a least cost optimization design model is considered. The optimization function is formulated as follows (Lansey, 2000) :

Minimize cost: ( ) ∑ ( ) , (5)

where Diameter of pipe i, : Length of pipe i, which is subject to: i. Mass conservation

∑ ∑

, (6)

where : flow in each node j,

: Flow out of node j, : Nodal water demand.

ii. Energy conservation

, (7)

where : head loss along pipe i, : loop.

iii. Nodal pressure head constraints

, (8)

where : Lower limit of pressure head at node j,

: Upper limit of pressure head at node

j, : Pressure head at node j.

iv. Flow constraint

(9)

where : Lower limit of velocity at node j,

: Upper limit of velocity at node j, :

Velocity at node j.

v. Commercially available pipe diameter constraint , (10) : Commercially available diameter set i, : Diameter of pipe i.

4. Optimization Algorithms

4.1 Genetic Algorithm Genetic algorithm (GA) is a search algorithm that uses the concept of natural evolution to solve problems. The use of GA for solving complex problems for which little is known has been quite widespread these past few years. Figure 2 shows the flowchart of a GA algorithm.

Page 6: Optimization of Water Distribution Network: A …paper.uscip.us/cms/CMS.2014.1002.pdfOptimization of Water Distribution Network: A Comparison using Genetic Algorithm and Particle Swarm

Jayrani Cheeneebash, Reshma Rughooputh, Ashvin Gopaul, Khojeswaree Chamilall, and Jovesh Naggea

/ Contemporary Mathematics and Statistics (2014) Vol. 2 No. 1 pp. 25-46

30

Fig. 2. Genetic Algorithm.

The Genetic algorithm has been applied to the optimization to the water network. Table 1 Genetic algorithm for Water distribution problem

Process Description Create the initial population

Make a random selection of pipe diameters, from a selected list of available pipes, for the pipe network to create a string (possible network solution). Repeat this process to generate the entire population of network solutions.

Hydraulic analysis

Perform a hydraulic analysis on each of the population’s strings (using hydraulic modelling package such as EPANET) to determine the pressure and supply at each node in the network as well as the flow rate in each pipe.

Page 7: Optimization of Water Distribution Network: A …paper.uscip.us/cms/CMS.2014.1002.pdfOptimization of Water Distribution Network: A Comparison using Genetic Algorithm and Particle Swarm

Jayrani Cheeneebash, Reshma Rughooputh, Ashvin Gopaul, Khojeswaree Chamilall, and Jovesh Naggea

/ Contemporary Mathematics and Statistics (2014) Vol. 2 No. 1 pp. 25-46

31

4.2 Particle Swarm Optmisation

Within the PSO algorithm, each solution is a bird of the flock and is referred to as a particle: in this framework the birds, besides having individual intelligence, also develop some social behavior and coordinate their movement towards a destination (Shi et al, 1998). Initially, the process starts from a swarm of particles, in which each of them contains a solution to the hydraulic problem that is generated randomly, and then one searches the optimal solution by iteration. The ith particle is associated with a position in an s-dimensional space, where s is the number of variables involved in the problem; the values of the s variables which determine the position of the particle represent a

Fitness of each string (solution)

[ ( )

] [

] ( )

If a node does not meet the minimum pressure requirement the pipes supplying that node are penalised. If nodes have negative pressures the pipes supplying these nodes are penalised extensively to emphasise the poor results thereof. The cost of a pipe that results in a node not meeting the minimum pressure requirement will be calculated as follows:

Where: =cost of pipe ‘j’ with added penalty cost due to minimum pressure

PF=user specified penalty factor (0.5 to 10) =Calculated pressure at node = Minimum residual pressure required at node

=cost of pipe per unit length, which is

=length of installed pipe

=Flow in pipe ‘j’

=Total flow into node =penalty factor (b=5 if penalty factor < 0) The aim of the weighted penalty cost structure as defined above is to increase the penalty on a system, the greater the pressure deficiency is and to add some proportional distribution of the importance of the supply pipe based on the flows in the pipes, to the cost. The more water a specific pipe supplies to the node the greater the importance of that pipe. The higher the user-specified penalty factor (PF) is the higher the cost component will be. The pressure penalties are subject to an if-then-else statement, which means that if the pressures fall within the specified boundaries, no penalties would be applied. The total cost of the network is the total cost of all the individual pipes (including penalties). A similar approach is followed in case a velocity criterion is not met.

Reproduction and cross-over (pairing)

In this proposed model, 75% of the top ranked solutions of the generation is retained and the worst solutions (25%) are discarded. A new set of strings (offspring) is generated from the remaining strings/solutions based on probabilities of their fitness values. Through a random process, or the spin of the roulette wheel, the new strings for the new generation are created. Thereafter a single point cross-over where the genes of the strings are transferred between parents is performed. The selection of parents for cross-over and determining the position of cross-over in each of the pairs is again a random process (although the developed software allows for other cross-over procedures).

Mutation To force the solution to include gene strings from the total solution space and to steer away from the local optimum a mutation is performed with a probability equal to the mutation rate. Each gene (pipe) of each string (network solution) has in other words the probability of mutating and being replaced with a randomly selected gene from the available gene pool.

Termination Following the selection, cross-over and mutation operators and introduction of the new child organisms into the population, the process is repeated until an appropriate termination condition is met. The simplest technique is to use a fixed number of generations or alternatively when complete convergence has occurred or no improvement in the fitness value of the best chromosome has occurred in some fixed number of the previous generations.

Page 8: Optimization of Water Distribution Network: A …paper.uscip.us/cms/CMS.2014.1002.pdfOptimization of Water Distribution Network: A Comparison using Genetic Algorithm and Particle Swarm

Jayrani Cheeneebash, Reshma Rughooputh, Ashvin Gopaul, Khojeswaree Chamilall, and Jovesh Naggea

/ Contemporary Mathematics and Statistics (2014) Vol. 2 No. 1 pp. 25-46

32

possible solution of the optimization problem. Each particle i is completely determined by three vectors: its current position Xi, its best position reached in previous cycles Yi, and its velocity Vi:

position current ),...,,( 21 isiii xxxX ,

position previousbest ),...,,( 21 isiii yyyY , (12)

Flight velocity ),...,,( 21 isiii vvvV .

This algorithm mimics a flock of birds which communicate during flight. Each bird looks at a specific direction (its best ever attained position Yi) and later, when they communicate among themselves, the bird which is the best position identified. With coordination, each bird moves towards the best bird using a velocity which depends on its present velocity. Thus, each bird examines the search space from its current local position, and this process involves as much individual intelligence as social interactivity: the birds learn through their own experience (local search) and the experience of their peers (global search). In each cycle, one identifies the particle which has the best instantaneous solution to the problem; the position of this particle subsequently enters into the computation of the new position for each of the particles in the flock. This calculation is carried out according to

,''iii VXX (13)

where the primes denote new values for the variables, and the new velocity is given by

).()()()( *21

'iiiii XYrandcXYrandcVV (14)

where 1c and 2c are positive constants called the learning factors or rates; rand() is a function that

generates random numbers between 0 and 1; is a factor of inertia in order to control the impact which the histories have on current velocity (Shi et al, 1998). The factor which varies from one

cycle to the other has an effect on the balance between global and local search. *Y is the best solution among all iY .

The particles propagate through the solution space and are influenced by the best solution which was previously found individually, as well as the best particle of the entire swarm (Voss, 2003). The second term in (14) represents the cognition or intrinsic knowledge of particle i, since it compares its current position Xi with its best previous position Yi. The third term in this equation represents the social collaboration between the particles: it measures the difference between the

current position Xi and the best solution of the entire system found up to the moment *Y . The upper and the lower limits of the particle velocities are guided by:

iVVV i supinf (15)

Once the current position is calculated, the particle directs itself towards a new position. In brief the algorithm of the PSO described above (Montalvo et al, 2008) is given as:

- Generate a family of N random particles. - Search for the best particle. - Repeat the loop till termination criteria is met

o For I = 1, … N Begin

Page 9: Optimization of Water Distribution Network: A …paper.uscip.us/cms/CMS.2014.1002.pdfOptimization of Water Distribution Network: A Comparison using Genetic Algorithm and Particle Swarm

Jayrani Cheeneebash, Reshma Rughooputh, Ashvin Gopaul, Khojeswaree Chamilall, and Jovesh Naggea

/ Contemporary Mathematics and Statistics (2014) Vol. 2 No. 1 pp. 25-46

33

Calculate the value of the objective function for particle i If particle I gives a better value for the objective function, let particle I be the

best particle. Calculate the new velocity for particle I using (14) Calculate the new position for particle I using (13) End

o Return

The termination criterion is either when the maximum number of iterations is reached or the cost function does improve any further. The above algorithm described is best fitted for continuous systems but it can be modified as suggested in (Montalvo et al, 2008) for the discrete problems which occur in water network optimization problems. Thus in this manner (14) is modified to

))()(rand)()(rand(fix *21

'iiiii XYcXYcVV (16)

where fix( ) implies that part of the result is taken. The bounds set in (15) is redefined sup' VVi and

inf' VVi for each iteration i.

5. Simulation Results The two techniques that have been tested on benchmarks problems, namely Hanoi water distribution network and the New York City water supply tunnel network. The New York tunnel is an example of a design cost optimization for improving the present of a network to one that can accommodate an increase in demand without requiring changes in the whole network. The layout of the network is described in Vasan et al, 2010 that consists of 20 nodes and 21 pipes. There is a need for improvement in the present design of the New York tunnel for an increase in demand of water at the nodes. The method used for improving the network was to lay parallel pipes between certain nodes in the network. EPANET software and the GANEO software (Van Dijk et al, 2008) were used and the following results were found. The optimal solution to the problem was found to be $38,806,265 after 1000 iterations and 499s. The constraints used were that the pressure head should be greater than 77.72m and the velocity of water not higher than 10m/s. The GA parameters include a single point crossover method and a random mutation of 2.00%. The Hanoi network is an example of an optimization for the new design of a network. In this particular case, all the pipes in the network will be replaced by new pipes. The Hanoi network consists of 32 nodes and 34 pipes. The reservoir of the network is found at an elevation of 100.0 m, while all the nodes have an elevation of 0.0 m. The data for the network are given in Vasan et al, 2010. The optimal solution to the Hanoi network is found to be $6,105,422 after 2000 iterations and 678s. The constraints used in the system were the pressure head should be greater than 30 m and the maximum velocity 10m/s. The random mutation rate was fixed at 3.00% while the single point crossover was used as the crossover method.

Page 10: Optimization of Water Distribution Network: A …paper.uscip.us/cms/CMS.2014.1002.pdfOptimization of Water Distribution Network: A Comparison using Genetic Algorithm and Particle Swarm

Jayrani Cheeneebash, Reshma Rughooputh, Ashvin Gopaul, Khojeswaree Chamilall, and Jovesh Naggea

/ Contemporary Mathematics and Statistics (2014) Vol. 2 No. 1 pp. 25-46

34

Fig. 3. Comparative cost of New York Tunnel to convergence point.

The same problem for both networks was solved using PSO algorithm. The algorithm was executed 200 times and the total cost of the best solution was obtained. The total cost obtained is $38.64×106 for the New York network, which is in comparison with results obtained by (Mathias 2003; Maier et al 2003). For the case of Hanoi network the optimal cost is $6,133,000,000. Having checked the appropriateness of the two algorithms, two local networks in Mauritius, namely the Lower Palma and Camp Bombaye are tested. The existing system of the Lower Palma water distribution network was found to be inadequate due to aging and an increase in demand. The network has 50 nodes, 53 pipes and 1 valve. The network is shown in Figure (6) and Tables 2 and 3 provide details of the pipes.

Fig. 4. Comparative Cost of Hanoi network to convergence point.

Page 11: Optimization of Water Distribution Network: A …paper.uscip.us/cms/CMS.2014.1002.pdfOptimization of Water Distribution Network: A Comparison using Genetic Algorithm and Particle Swarm

Jayrani Cheeneebash, Reshma Rughooputh, Ashvin Gopaul, Khojeswaree Chamilall, and Jovesh Naggea

/ Contemporary Mathematics and Statistics (2014) Vol. 2 No. 1 pp. 25-46

35

Fig. 5. Comparative cost of lower Palma to convergence point. The optimum obtained in the GANEO software was $1,304,009. This result was obtained after 515 seconds. The constraints used for reaching this particular solution are that a minimum head of 20 m is required at each node and the maximum velocity of water should be 2.5 m/s. The variables that have been used are a mutation rate of 2%, numbers of iterations amounting to 1000 with a population size of 100. While using PSO algorithm, it is found that three different diameter of pipes (23 pipes of 150mm, 2 pipes of 200 mm and 28 pipes of 250 mm) have been used compared to the one in GA where all the pipes are of diameter 150 mm which is shown in Table 4. The optimal cost in the case for PSO is $1,465,755. The distribution system of the Camp Bombaye network consists of 120 junctions, 114 pipes and 10 valves. The nodal data set is found in Table 5 pipes data of the present network is same as in the Palma network, Table 2. The optimum obtained in the GANEO software for the Camp Bombaye network was $1,553,580. The optimal solution was obtained after 862s with 2000 iterations. The constraint used for reaching this particular solution is that a minimum head of 20m is required at each node. For PSO, only two types of pipes have been used whilst GANEO three different diameter of pipes were used: the 150mm, 200mm and the 250mm. The minimal cost in this case has been $1,481,742. Table 2 Available pipe diameters for selection

Pipe ID Diameter(mm) Cost ($/mm) DI PIPE 1 150 114.64 DI PIPE 2 200 138.95 DI PIPE 3 250 159.80

Page 12: Optimization of Water Distribution Network: A …paper.uscip.us/cms/CMS.2014.1002.pdfOptimization of Water Distribution Network: A Comparison using Genetic Algorithm and Particle Swarm

Jayrani Cheeneebash, Reshma Rughooputh, Ashvin Gopaul, Khojeswaree Chamilall, and Jovesh Naggea

/ Contemporary Mathematics and Statistics (2014) Vol. 2 No. 1 pp. 25-46

36

Table 3 Pipe data of Lower Palma existing network

Network Table -Pipes

Pipe ID Length

(m) Diameter

(mm) Roughness Pipe ID Length

(m) Diameter

(mm) Roughness

Pipe 1 677 125 80 Pipe 29 102 37 130

Pipe 2 3040 200 110 Pipe 30 97 37 130

Pipe 3 562 150 110 Pipe 31 186 90 130

Pipe 5 142 25 130 Pipe 32 411 70 130

Pipe 6 558 150 110 Pipe 33 175 70 130

Pipe 7 426 150 110 Pipe 34 23 25 80

Pipe 8 410 150 110 Pipe 35 117 50 130

Pipe 9 411 150 110 Pipe 36 173 70 130

Pipe 10 132 75 80 Pipe 37 60 90 130

Pipe 11 146 75 80 Pipe 38 14 90 130

Pipe 12 115 75 80 Pipe 39 51 90 130

Pipe 13 24 75 80 Pipe 40 74 90 130

Pipe 14 22 75 130 Pipe 41 74 90 130

Pipe 15 47 100 80 Pipe 42 39 90 130

Pipe 16 67 100 80 Pipe 43 150 50 130

Pipe 17 182 50 130 Pipe 44 130 75 130

Pipe 18 69 67 130 Pipe 45 211 100 80

Pipe 19 100 37 130 Pipe 46 241 75 80

Pipe 20 75 67 130 Pipe 47 177 75 80

Pipe 21 52 20 130 Pipe 48 76 75 80

Pipe 22 144 70 130 Pipe 49 116 150 110

Pipe 23 144 70 130 Pipe 50 224 75 80

Pipe 24 156 50 80 Pipe 51 100 50 130

Pipe 25 165 70 130 Pipe 52 27 75 80

Pipe 26 176 75 80 Pipe 53 101 50 130

Pipe 27 107 37 130 Pipe 54 83 75 80

Pipe 28 102 50 130 Valve 4 - 150 -

Page 13: Optimization of Water Distribution Network: A …paper.uscip.us/cms/CMS.2014.1002.pdfOptimization of Water Distribution Network: A Comparison using Genetic Algorithm and Particle Swarm

Jayrani Cheeneebash, Reshma Rughooputh, Ashvin Gopaul, Khojeswaree Chamilall, and Jovesh Naggea

/ Contemporary Mathematics and Statistics (2014) Vol. 2 No. 1 pp. 25-46

37

Table 4 Solution for Pipe data of Lower Palma new network

Network Table -Pipes

Pipe ID Length

(m) Diameter (mm)(GA)

Diameter (mm)(PSO)

Pipe ID Length

(m) Diameter

(mm) Diameter (mm)(GA)

Pipe 1 677 150 150 Pipe 29 102 150 150

Pipe 2 3040 150 150 Pipe 30 97 150 150

Pipe 3 562 150 150 Pipe 31 186 150 250

Pipe 4 142 150 150 Pipe 32 411 150 250

Pipe 5 558 150 250 Pipe 33 175 150 150

Pipe 6 426 150 250 Pipe 34 23 150 150

Pipe 7 410 150 250 Pipe 35 117 150 150

Pipe 8 411 150 250 Pipe 36 173 150 250

Pipe 9 132 150 250 Pipe 37 60 150 250

Pipe 10 146 150 150 Pipe 38 14 150 250

Pipe 11 115 150 250 Pipe 39 51 150 250

Pipe 12 24 150 250 Pipe 40 74 150 250

Pipe 13 22 150 250 Pipe 41 74 150 250

Pipe 14 47 150 250 Pipe 42 39 150 250

Pipe 15 67 150 250 Pipe 43 150 150 200

Pipe 16 182 150 150 Pipe 44 130 150 250

Pipe 17 69 150 200 Pipe 45 211 150 250

Pipe 18 100 150 150 Pipe 46 241 150 250

Pipe 19 75 150 150 Pipe 47 177 150 150

Pipe 20 52 150 150 Pipe 48 76 150 250

Pipe 21 144 150 150 Pipe 49 116 150 250

Pipe 22 144 150 150 Pipe 50 224 150 250

Pipe 23 156 150 250 Pipe 51 100 150 150 Pipe 24 165 150 150 Pipe 52 27 150 250

Pipe 25 176 150 150 Pipe 53 101 150 150

Pipe 26 107 150 150 Pipe 54 83 150 250 Pipe 27 102 150 150

Valve 4 - -

Page 14: Optimization of Water Distribution Network: A …paper.uscip.us/cms/CMS.2014.1002.pdfOptimization of Water Distribution Network: A Comparison using Genetic Algorithm and Particle Swarm

Jayrani Cheeneebash, Reshma Rughooputh, Ashvin Gopaul, Khojeswaree Chamilall, and Jovesh Naggea

/ Contemporary Mathematics and Statistics (2014) Vol. 2 No. 1 pp. 25-46

38

Fig. 6. Layout of lower Palma distribution system.

Page 15: Optimization of Water Distribution Network: A …paper.uscip.us/cms/CMS.2014.1002.pdfOptimization of Water Distribution Network: A Comparison using Genetic Algorithm and Particle Swarm

Jayrani Cheeneebash, Reshma Rughooputh, Ashvin Gopaul, Khojeswaree Chamilall, and Jovesh Naggea

/ Contemporary Mathematics and Statistics (2014) Vol. 2 No. 1 pp. 25-46

39

Fig. 7. Network nodes of existing Camp Bombaye.

Page 16: Optimization of Water Distribution Network: A …paper.uscip.us/cms/CMS.2014.1002.pdfOptimization of Water Distribution Network: A Comparison using Genetic Algorithm and Particle Swarm

Jayrani Cheeneebash, Reshma Rughooputh, Ashvin Gopaul, Khojeswaree Chamilall, and Jovesh Naggea

/ Contemporary Mathematics and Statistics (2014) Vol. 2 No. 1 pp. 25-46

40

Fig. 8. Comparative cost of Camp Bombaye to convergence point.

Table 5 Pipe data of Camp Bombaye existing network

Pipe ID

Length (m)

Diameter (mm) Roughness Pipe ID

Length (m)

Diameter (mm) Roughness

Pipe B18 233.94 75 110 Pipe F4 54.25 75 80 Pipe B5 459.33 80 110 Pipe F1 27.49 75 80 Pipe B17 99.89 75 110 Pipe F2 64.87 75 80 Pipe B6 107.3 75 80 Pipe 91 1000 110 100 Pipe B7 102.18 80 110 Pipe F5 57.75 75 80 Pipe B8 37.12 75 80 Pipe F7 65.17 75 80 Pipe B9 96.66 80 110 Pipe F6 32.44 75 80 Pipe B10 47.43 75 80 Pipe F9 129.81 75 80 Pipe B12 59.28 70 130

Pipe F10 66.77 75 80

Pipe B14 51.81 70 130

Pipe F11 230.8 75 80

Pipe B13 51.42 70 130 Pipe F8 65.53 75 80 Pipe B11 178.3 75 80

Pipe F13 210.72 75 80

Pipe B16 24.95 75 80

Pipe F12 126.8 75 80

Pipe B15 144.19 70 130 Pipe G 37.36 50 130

Page 17: Optimization of Water Distribution Network: A …paper.uscip.us/cms/CMS.2014.1002.pdfOptimization of Water Distribution Network: A Comparison using Genetic Algorithm and Particle Swarm

Jayrani Cheeneebash, Reshma Rughooputh, Ashvin Gopaul, Khojeswaree Chamilall, and Jovesh Naggea

/ Contemporary Mathematics and Statistics (2014) Vol. 2 No. 1 pp. 25-46

41

Pipe C1 41.45 75 110 Pipe G2 102.09 50 130 Pipe C4 57.23 75 110 Pipe G1 48.07 50 130 Pipe C3 128.95 75 110

Pipe A14 120 75 80

Pipe C5 54.61 80 110 Pipe G3 28.18 70 130 Pipe A9 132.84 200 110 Pipe G4 116.9 70 130 Pipe D1 219.75 75 80 Pipe G5 102.91 70 130 Pipe D3 54.31 37 130

Pipe A15 63.94 150 110

Pipe D4 47.62 100 80 Pipe G6 251.6 50 130 Pipe D5 53.31 50 130 Pipe B 40.23 75 110 Pipe D6 93.36 100 80 Pipe C 50.79 75 110 Pipe D9 60.75 75 80 Pipe C2 161.9 75 110 Pipe D8 41.94 50 80

Pipe B21 118.62 75 110

Pipe D10 42.23 50 80 Pipe D2 117.3 100 80 Pipe D11 30.72 50 80 Pipe D 100.74 50 130 Pipe D12 158.51 50 80 Pipe E 42.24 100 80 Pipe D7 198.25 100 80

Pipe E10 296 125 80

Pipe E2 116.24 37 130 Pipe E5 26.08 150 110 Pipe E1 34.08 100 80

Pipe A11 319.57 200 110

Pipe E3 210.1 75 80 Pipe H4 48.9 150 110 Pipe E4 160.41 100 80

Pipe H10 127.5 60 130

Pipe A10 137.27 200 110

Pipe 135 1000 110 100

Pipe E6 22.9 50 130

Pipe A13 102.39 150 110

Pipe E7 46.06 50 130 Pipe F 136.75 150 80 Pipe E8 53.27 150 110 Pipe A7 62 90 130

Page 18: Optimization of Water Distribution Network: A …paper.uscip.us/cms/CMS.2014.1002.pdfOptimization of Water Distribution Network: A Comparison using Genetic Algorithm and Particle Swarm

Jayrani Cheeneebash, Reshma Rughooputh, Ashvin Gopaul, Khojeswaree Chamilall, and Jovesh Naggea

/ Contemporary Mathematics and Statistics (2014) Vol. 2 No. 1 pp. 25-46

42

Table 6 Solution for Pipes data for New Camp Bombaye

Network Table - Pipes Network Table - Pipes Pipe ID

Length (m)

Diameter (mm)GA

Diameter (mm)PSO Pipe ID

Length (m)

Diameter (mm)

Diameter (mm)PSO

Pipe A 149.56 150 250 Pipe E9 16.43 150 150 Pipe A1 110.78 150 150 Pipe D2 117.3 150 150 Pipe A3 221.65 150 150 Pipe E2 116.24 150 150 Pipe A4 189.06 150 150 Pipe E3 210.1 150 150 Pipe A5 178.15 150 150

Pipe E11 32.58 250 150

Pipe A6 166 150 150

Pipe E13 25.07 250 150

Pipe A7 62 150 150

Pipe E12 64.9 150 150

Pipe A8 189 150 150

Pipe A11 319.57 150 150

Pipe B 40.23 150 150 Pipe E10 296 150 150

Pipe E9 16.43 150 110 Pipe A6 166 200 110 Pipe E11 32.58 150 110 Pipe A8 189 200 110 Pipe E12 64.9 100 110 Pipe 1 79.51 50 80 Pipe E13 25.07 150 110

Valve 113 - 75 -

Pipe E14 240.74 150 110

Valve 117 - 100 -

Pipe H5 29.54 50 130

Valve 123 - 125 -

Pipe A16 29.61 150 110

Valve 124 - 150 -

Pipe A17 57.43 150 110

Valve 126 - 200 -

Pipe A18 63.57 150 110

Valve 128 - 150 -

Pipe A19 156.19 150 110

Valve 130 - 150 -

Pipe H6 33.79 25 80

Valve 131 - 75 -

Pipe A20 87.98 150 110

Valve 133 - 150 -

Pipe H11 43.8 60 130 Valve 6 - 75 -

Page 19: Optimization of Water Distribution Network: A …paper.uscip.us/cms/CMS.2014.1002.pdfOptimization of Water Distribution Network: A Comparison using Genetic Algorithm and Particle Swarm

Jayrani Cheeneebash, Reshma Rughooputh, Ashvin Gopaul, Khojeswaree Chamilall, and Jovesh Naggea

/ Contemporary Mathematics and Statistics (2014) Vol. 2 No. 1 pp. 25-46

43

Pipe B1 149.56 150 150

Pipe E14 240.74 150 150

Pipe B2 28.24 200 150 Pipe H4 48.9 150 150 Pipe B3 22.62 250 150

Pipe A18 63.57 200 150

Pipe B4 268.84 150 150

Pipe A17 57.43 150 150

Pipe B5 459.33 150 150

Pipe A19 156.19 150 150

Pipe B6 107.3 150 150 Pipe H3 151.8 150 150 Pipe B7 102.18 150 150 Pipe H8 79.41 150 150 Pipe B8 37.12 150 150 Pipe H9 74.77 200 150 Pipe B9 96.66 150 150 Pipe H7 162.57 150 150 Pipe B10 47.43 150 150

Pipe A20 87.98 200 150

Pipe B11 178.3 150 150 Pipe H6 33.79 150 150 Pipe B15 144.19 150 150 Pipe H 81.51 150 150 Pipe B12 59.28 150 150 Pipe H1 35.47 150 150 Pipe B13 51.42 150 150 Pipe H2 21.27 150 150 Pipe B14 51.81 150 150

Pipe A16 29.61 250 150

Pipe B16 24.95 150 150 Pipe H5 29.54 150 150 Pipe B17 99.89 150 150

Pipe A21 61.63 150 150

Pipe B18 233.94 150 150

Pipe H10 127.5 150 150

Pipe B19 130.56 200 150

Pipe H11 43.8 150 150

Pipe B20 117.26 150 150

Pipe H12 83.58 150 150

Pipe B21 118.62 150 150 Pipe 1 79.51 150 150

Pipe C 50.79 150 150 Pipe A12 100.63 150 150

Pipe C2 161.9 150 150

Pipe 135 1000 150 150

Pipe C3 128.95 150 150 Pipe F 136.75 150 150 Pipe C5 54.61 150 150

Pipe A13 102.39 150 150

Pipe 57.23 150 150 Pipe G 37.36 150 150

Page 20: Optimization of Water Distribution Network: A …paper.uscip.us/cms/CMS.2014.1002.pdfOptimization of Water Distribution Network: A Comparison using Genetic Algorithm and Particle Swarm

Jayrani Cheeneebash, Reshma Rughooputh, Ashvin Gopaul, Khojeswaree Chamilall, and Jovesh Naggea

/ Contemporary Mathematics and Statistics (2014) Vol. 2 No. 1 pp. 25-46

44

C4

Pipe C1 41.45 150 150 Pipe G1 48.07 150 150 Pipe A9 132.84 150 150 Pipe G2 102.09 150 150

Pipe D 100.74 200 150 Pipe A14 120 150 150

Pipe D1 219.75 150 150

Pipe A15 63.94 150 150

Pipe D8 41.94 150 150 Pipe F1 27.49 150 150 Pipe D10 42.23 250 150 Pipe F2 64.87 150 150 Pipe D11 30.72 150 150 Pipe F3 32.19 200 150 Pipe D12 158.51 150 150 Pipe F4 54.25 150 150 Pipe D7 198.25 150 150 Pipe 91 1000 150 150 Pipe D9 60.75 200 150 Pipe F5 57.75 150 150 Pipe D6 93.36 150 150 Pipe F7 65.17 150 150 Pipe D5 53.31 150 150 Pipe F9 129.81 150 150 Pipe D4 47.62 200 150

Pipe F10 66.77 150 150

Pipe D3 54.31 200 150

Pipe F11 230.8 150 150

Pipe E 42.24 150 150 Pipe F8 65.53 150 150 Pipe E1 34.08 150 150

Pipe F13 210.72 150 150

Pipe A10 137.27 150 150

Pipe F12 126.8 150 150

Pipe E4 160.41 150 150 Pipe G3 28.18 150 150 Pipe E5 26.08 250 150 Pipe G5 102.91 150 150 Pipe E6 22.9 150 150 Pipe G4 116.9 200 150 Pipe E7 46.06 250 150 Pipe G6 251.6 150 150 Pipe E8 53.27 200 150 Pipe F6 32.44 150 150

Page 21: Optimization of Water Distribution Network: A …paper.uscip.us/cms/CMS.2014.1002.pdfOptimization of Water Distribution Network: A Comparison using Genetic Algorithm and Particle Swarm

Jayrani Cheeneebash, Reshma Rughooputh, Ashvin Gopaul, Khojeswaree Chamilall, and Jovesh Naggea

/ Contemporary Mathematics and Statistics (2014) Vol. 2 No. 1 pp. 25-46

45

Table 7 Comparative results for the different Networks

GANEO (Optimal Cost in $) PSO (Optimal Cost in $) New York City 38,806,265 38,640,000 Hannoi 6,105,422 6,133,000 Camp Bombaye 1,553,580 1,481,742 Palma 1,304,009 1,465,755

6. Conclusions In this paper, the performances of the GANEO algorithm and the PSO algorithm were compared on both benchmark water networks and on two real local water networks. In all the cases, the minimal costs were considered. The GANEO software minimized the costs for Hanoi and Palma, whereas the PSO method gave the least costs for New York City and Camp Bombaye. Table 7 thus shows that no decision can be taken on which method outperforms. In fact, the method to be used is problem dependent. The optimization problem can be looked into from a multi-objective perspective and such a study has not been carried out yet for the local data.

References Baños, R., Gil, C., Agulleiro, J. I., & Reca, J. (2007). A memetic algorithm for water distribution network design.

ASC 39: Soft computing in industrial applications, Djebedjiian ,B., , Yaseen, A. & Rayan, M. A. (2006). Optimisation of Large Water Distribution Network Design

using Genetic Algorithms, 10th International Water Technology Conference, IWTC10, Alexandria Egypt. Lansey, K. E. (2000). Water distribution systems handbook. McGraw Hill, 7.1-7.3 Maier, H. R., Simpson, A. R., Zecchin, A. C., Foong, W. K., Phang, K. Y , Seah, H.Y & Tan, C. L. (2003). Ant colony

optimization for design of water distribution systems, Journal of Water Resources Planning and Management, 129(3), 200-209.

http://dx.doi.org/10.1061/(ASCE)0733-9496(2003)129:3(200) Matias, A S., (2003). Diseno de redes distribution de agua contemplando la fiabilidad, mediante algorithmos

geneticos, Ph.D. Thesis, Universidad Politecnica de Valencia, Spain. Montavalo, I., Izquierdo, J. Perez, R. & Tung, M. M. (2008). Particle Swarm Optimization applied to the design

of water supply systems. Computers and Mathematics with Applications. 56, pp 769- 776. http://dx.doi.org/10.1016/j.camwa.2008.02.006 Shi, Y., Eberhart, R. (1998). A modified particle swarm optimizer in Evolutionary Computation Proceedings,

IEEE World Congress on Computational Intelligence, 63-73. Swamee P. K. & Sharma A. K. (2008). Design of water supply pipe networks, 2nd Edition Wiley, Chapter I, 1-8. http://dx.doi.org/10.1002/9780470225059.ch1 Van Dijk, M., Van Vuuren, S. J. & Van Zyl, J.E. (2008). Optimizing water distribution systems using a weighted

penalty in a genetic algorithm. Water SA., 34, 5, 537-548 . Vasan, A. & Simonnovic, S. P. (2010). Optimization of water distribution Network Design using Differential

Evolution. Journal of Water Resources Planning and Management, 279-287. http://dx.doi.org/10.1061/(ASCE)0733-9496(2010)136:2(279) Voss, M. S., (2003). Social Programming using functional swarm optimization. Proceedings of the 2003 IEEE

Swarm Intelligence Symposium (SIS03), Purdue University, Indianapolis, Indiana. http://dx.doi.org/10.1109/SIS.2003.1202254

Page 22: Optimization of Water Distribution Network: A …paper.uscip.us/cms/CMS.2014.1002.pdfOptimization of Water Distribution Network: A Comparison using Genetic Algorithm and Particle Swarm

Jayrani Cheeneebash, Reshma Rughooputh, Ashvin Gopaul, Khojeswaree Chamilall, and Jovesh Naggea

/ Contemporary Mathematics and Statistics (2014) Vol. 2 No. 1 pp. 25-46

46

Yates, D. F., Templeman, A. B., & Boffey, T. B. (1984). The computational complexity of the problem of determining least capital cost designs for water supply networks. Engineering Optimization, 7(2), 143–155.

http://dx.doi.org/10.1080/03052158408960635


Recommended