Sunteți pe pagina 1din 5

Fourth International Conference on Natural Computation

Applying Artificial Immune System to Minimize Construction Cost of Water


Distribution Networks
Min-Der Lin, Chien-Wei Chu
Department of Environmental Engineering, National Chung Hsing University, Taiwan, R.O.C.
mdlin@nchu.edu.tw

Abstract
2. Optimization model formulation
Recent studies increasingly indicate that heuristic
algorithms are powerful and effective for solving water The WDN optimization model proposed in this study
distribution networks (WDN) optimization problems. This is a least-cost problem for identifying the pipe size that
paper employs the artificial immune system (AIS), to solve generates minimum cost for a given layout. We assume
the least-cost design problems of WDN. The well-known that pipe layout, nodal demands, head and velocity
WDN problem, New York City tunnel problem, is used as requirements are all known. The networks have no pumps
a case study. The results reveal that the computational and the reservoirs are considered water source nodes with
efficiency and quality obtained by AIS are as good as or fixed heads. The objective function for network cost is
better than the results reported in literatures. formulated a function of pipe diameters. The optimal
Furthermore, AIS significantly retrenches the number of design problem for a general water distribution network
iterations for searching the optimal solution. AIS is shown can be shown as the following mathematical statement [8,
to be an evolutionary technique capable of solving 13-14]:
complex combination optimization problems.
n
Minimize f ( D1 ,…, Dn ) = ∑ C ( Di , Li ) (1)
1. Introduction i =1

Since water distribution networks (WDN) are vital where n is the total number of pipes in the system, Di is
components in urban infrastructure and require the diameter of pipe i selected from the set of commercial
considerable investment, optimization of WDN has pipe sizes {D}, and Ci(Di, Li) is the cost of pipe i with the
received considerable attention over the past 30 years. diameter Di and length Li. This objective function is
Such optimization problems consider various aspects such conditioned using the following constraints.
as capital, operation and maintenance costs, layout design, For each junction node, the mass conservation law
hydraulics, reliability, material availability, and demand should be satisfied:
pattern. Various traditional optimization techniques, such
as linear programming gradient [1-3], dynamic
programming [4], and nonlinear programming [5], have
∑Q in ,m − ∑ Qout ,m = S m , ∀m ∈ NN (2)

been developed principally for solving minimal-cost


problems. However, most of these models are either where Qin,m and Qout,m are the inflow and outflow of node
linearized or simplified to make application possible. m, respectively, Sm is the external inflow or demand at
Additionally, selection of commercially available node m, and NN is the node set.
discrete-value pipe diameters to generate a least-cost For each basic loop in the network, the energy
water supply network is an NP-hard problem that is conservation law is utilized as another constraint set:
extremely difficult to solve using traditional optimization
techniques [6]. Recently, probabilistic heuristic ∑ ΔH k = 0, ∀k ∈ NL (3)
algorithms such as genetic algorithms (GA), simulated k ∈Loopl

annealing (SA), tabu search (TS), and ant colony


optimization (ACO), have been utilized to solve water where ΔHk is head loss in pipe k, and NL is loop set. The
distribution networks (WDN) optimization problems [7- head loss in each pipe is the head difference between its
11]. Another important heuristic algorithm in simulating connected nodes, and can be formulated using the Hazen-
biological processes is the artificial immune system (AIS) Williams equation:
which is a relatively new optimization algorithm that
imitates the immune system defense process against
invaders in a biological body [12]. This work is the first to
apply AIS to a WDN optimization problem.

978-0-7695-3304-9/08 $25.00 © 2008 IEEE 628


DOI 10.1109/ICNC.2008.376
Lk α −1 cells [17]. When exposed to a second antigenic stimulus,
ΔH k = H1,k − H 2,k = w Qk Qk (4) these cells begin differentiating into plasma cells capable
C k Dkβ
α
of producing high-affinity antibodies, preselected for the
∀k ∈ NP specific antigen that stimulated the primary response.
From this viewpoint, antibodies and antigen can be
where H1,k and H2,k are head of both ends of a pipe, k, w is looked as through operation generate feasible solutions
the numerical conservation constant (depending on units), and global best solution, respectively, for an objective
Ck is the roughness coefficient of pipe k (depending on function when solving WDN optimization problems.
the material), α and β are regression coefficients, Qk is the Figure 1 presents the computational procedure of AIS.
flow of pipe k; and NP is the pipe set. Generally, the pipes For further information, AIS theory and processes are
with large values of w result in increased head loss and, described in detail by [18] and [12].
therefore, require increased diameters to deliver the same
amount of water because WDN may violate minimum
pressure requirements, whereas small w values may just
meet the constraints. When a WDN is designed using
different w values, the designs with high w values will
have unfavorable hydraulic conditions and result in
expensive alternatives.
The next set of constraints express the pressure head
requirements at each node:

H m ≥ H mmin , ∀m ∈ NN (5)

where H mmin is the minimum pressure head requirement at


each node. Moreover, the diameter of each pipe must
belong to a commercial size set:

Dk ∈ {D}, ∀k ∈ NP (6)

3. Methodology for artificial immune system


The immune system discriminates between self cells Figure 1. Flowchart of artificial immune system
and foreign non-self pathogens, and is the first line of a
defense system against foreign pathogens. Immune
responses include natural immunity that quickly Step 1: Define antigen.
eliminates foreign non-self pathogens and adaptive When using AIS to evaluate WDN optimization,
immunity that targets particular pathogens. representation of the objective function and constraints
The second line of defense, humoral immunity and are regarded as antigens.
cell-mediated immunity, comprise the immune response Step 2: Generate an initial population of antibodies.
of immunocompetent cells, which include B lymphocytes The initial population of antibodies is generated, as in
(or B cells) and T lymphocytes (or T cell) [15]. Both cell the genetic algorithm procedure, via random coding.
types have surface receptor molecules (the B cell receptor Binary and real number coding are the two most common
molecule is also called an antibody). Foreign pathogens, coding techniques used. In this study, decision variables
also called antigens, are recognized by antibodies. After are the commercial pipe diameters in each segment of the
an antigen is recognized by immune cell receptors, the WDN.
antigen stimulates B cells to proliferate cells that secrete Step 3: Evaluate the fitness of each antibody in current
antibodies that are plasma cells. Proliferation of B cells in population.
the immune system is followed by mitosis. Once The fitness of each antibody in the current generation
proliferate B cells, the system has a clone of cells that is calculated based on its objective function value and
copies stimulative B cell [16]. This function, called a potential constraint violations. In evaluating the fitness of
clonal selection state, occurs when a pathogen invades an individual antibodies, the constraint requirements were
organism. During immune response, some of the immune also examined. When a constraint is violated, the degree
cells that recognize the pathogens proliferate become of violation is weighted to penalize its fitness. Antibodies
plasma cells, whereas others are maintained as memory

629
with high fitness (fiti) represent good individuals. In R E S E R V O IR
3 0 0 ft
solving the minimum cost problem for WDN design, the
fiti of each (antibody) i is calculate by
1
15
1
2 15
fit i = 1 /(1 + f i ) (7) 2
14

3 14

where fi is the cost of the WDN, as indicated in Eq. (1). 3 13

Step 4: Select the n best antibodies in the initial 4


13

population based on their fitness. 4


12

Step 5: Clone these n best antibodies to generate a 5


12
17
18
18
19

temporary population of clone set (C). 5

Generate the clone set (C) for the best n individuals 6 11

6
(antibodies) selected in step 4. The clone set (C) has 11
7 19
possession of better antibodies, thereby increasing the 7 9
10

8 20
function of fitness with the antigen [18]. 8
9 21
Step 6: Clone set (C) executes genetic operations for 10 16
20

generating new antibodies. 16

In this step, genetic operations, such as crossover and 17

mutation, similar to those in a GA, are performed by the Figure 2. Layout of New York City Tunnel System
clone set (C) to generate new and generally improved
antibodies. The crossover operation produces new Tables 1 and 2 present summaries of optimal network
antibodies by mixing the genetic material in chromosome designs identified with the AIS, and those from previous
from the original antibodies in the current population. studies. The figures in Table 1 represent new pipe
Step 7: Evaluate the new fitness of new antibodies diameters to be added in parallel to existing lines. For the
generated by genetic operations. Re-select improved NYCT problem, the optimization model was run twice,
individuals that are superior to individuals in the memory each time using different coefficients in the Hazen-
set. When the memory set is updated, improved Williams Eq. (4). The values w = 10.5088, α = 1.85, and β
individuals are replaced by inferior individuals in the = 4.87 were used for the first run (AIS run 1), whereas w
memory set, thereby generating a new memory set [19]. = 10.9031, α = 1.85, and β = 4.87 were used in the second
Step 8: When a termination criterion is satisfied, the run (AIS run 2). Computational results were based on 100
algorithm is stopped; otherwise, return to Step 3. The runs of the AIS using different random starting points.
termination criteria used in this work is the maximum The optimal costs of $37.13 million (for w =10.5088) and
number of iterations. $40.42 million (for w =10.9031) obtained by the AIS,
respectively, are as good as those obtained using the GA
4. Case study (for w =10.5088 and 10.9031) and TS (for w =10.5088)
[9].
The New York City Tunnel (NYCT) problem, which As the computational results indicated, optimal
was first considered by Schaake and Lai in 1969[4], and solutions were found by the AIS in a minimum of 13,700
has since been the subject of numerous studies [5, 14, 20- and 14,500 evaluations for w =10.5088 and w =10.9031,
22], was used to demonstrate the utility of the proposed respectively, (Table 1 and Figure 3) compared with
approach. The layout of the NYCT system consists of 20 37,186–1,000,000 evaluations required by the GA and
nodes connected by 21 tunnels in Figure 2. For each fast messy genetic algorithm (fmGA). The computational
duplicate tunnel, 16 possible decisions, including 15 result indicated that AIS’s evaluations retrenched over
available diameters, and the “do nothing” option, exist; 63% of iterations for previous solutions [8, 21]. Table 3
therefore, the search space for this optimization problem presents the success rate for AIS based on the percentage
contains 1621 = 1.93 × 1025 possible designs. For of algorithms achieving a global optimum in 100 runs.
summaries of system data and unit costs of tunnel The computational result reveals that 100% of solutions
network, please refer to [14]. achieved using AIS was within 5% of the global
minimum cost.

630
Table 1. Optimal Solutions of New York City Tunnel
120
System Obtained by Different Techniques

IA
100

Pipe Cost (million $)


80

60

40

20

0 4000 8000 12000 16000


Evaluation Number
Figure 3. Evolution of pipe cost for New York network
using AIS (w=10.5088)

5. Conclusion
fmGAa- fast messy Genetic Algorithm This work is the first attempt to apply AIS for solving
NAb- not available the least-cost design problem of WDNs, with the goal of
AISc - artificial immune system generating insights that may prove useful. By combining
a large number of solutions, the AIS investigates different
regions of the solution space to generate solutions and
Table 2. Nodal Pressures for Optimal Solutions of New searches for the global optimum solution.
York City Tunnel System Obtained by Different The AIS developed in this study was evaluated by
Techniques solving the NYCT WDN optimization problem, which
employs two different Hazen-Williams coefficient values
in previous studies. The AIS provides solutions as good as
those obtained by other studies in terms of ability to find
the global optimum solution and computational
efficiency. The AIS obtained the optimal solution in
fewer iterations than some of the most competitive
algorithms, such as the GA, fmGA and TS. The success
rates based on 100 runs of the AIS using different random
starting points demonstrate that AIS is a promising
Table 3. Success Rates of IA for Searching Optimal technique for solving the WDN optimization problem.
Designs of New York City Tunnel System Application of AIS to the WDN optimization problem
is still in its infancy and further improvements is
necessary. For example, sensitivity analysis of AIS for
parameters utilized in the model, and development of
algorithmic strategies to improve computational
efficiency and quality, is likely required for solving
practical or large WDN optimization problems.

631
Acknowledgement water distribution system optimisation. Math. Comput.
Model. 44 (5-6) 451-468.
The authors would like to thank the anonymous [12] L. N. De. Castro and J. I. Timmis, (2003). Artificial
reviewers for their expertise and auditing which help immune systems as a novel soft computing paradigm.
improve this work. Soft Comput. 7 (8) 526-544.
[13] M. D. C. Cunha and J. Sousa, (1999). Water
Reference distribution network design optimization: simulated
annealing approach. J. Water Resour. Plan. Manage.-
[1] E. Alperovits and U. Shamir, (1977). Design of ASCE 125 (4) 215-221.
optimal water distribution systems. Water Resour. Res. 13 [14] M. M. Eusuff and K. E. Lansey, (2003).
(6) 885-900. Optimization of water distribution network design using
[2] O. Fujiwara, B. Jenchaimahakoon and N. C. P. the shuffled frog leaping algorithm. J. Water Resour.
Edirisinghe, (1987). Modified linear programming Plan. Manage.-ASCE 129 (3) 210-225.
gradient method for optimal design of looped water [15] A. Boukerche, K. R. L. Juca, J. B. Sobral, and M. S.
distribution networks. Water Resour. Res. 23 (6) 977-982. M. A. Notare, (2004). An artificial immune based
[3] A. Kessler and U. Shamir, (1989). Analsis of the intrusion detection model for computer and
linear programming gradient method for optimal design telecommunication systems. Parallel Comput. 30 (5-6)
of water supply networks. Water Resour. Res. 25 (7) 629.
1469-1480. [16] O. Engin and A. Doyen, (2004). A new approach to
[4] J. C. Schaake and D. Lai, (1969). Linear Programming solve hybrid flow shop scheduling problems by artificial
and Dynamic Programming Applied to Water Distribution immune system. Futur. Gener. Comp. Syst. 20 (6) 1083-
Network Design. (Anonymous ), MIT Hydrodynamics 1095.
Lab Report 116. [17] X. Wen and A. Song, (2004). An immune
[5] O. Fujiwara and D. B. Khang, (1990). A two-phase evolutionary algorithm for sphericity error evaluation. Int.
decomposition method for optimal design of looped water J. Mach. Tools Manuf. 44 (10) 1077.
distribution networks. Water Resour. Res. 26 (4) 539-549. [18] L. N. De. Castro and F. J. V. Zuben, (2000).The
[6] D. F. Yates, A. B. Templeman and T. B. Boffey, clonal selection algorithm with engineering applications,
(1984). Computational complexity of the problem of In Workshop Proceedings of GECCO, (Edited by Darrell
determining least capital cost designs for water supply Whitley, David Goldberg, Erick Cantu-Paz, Lee Spector,
networks. Eng. Optimiz. 7 (2) 143-155. Ian Parmee and Hans-Georg Beyer. ), pp. 36-37. Morgan
[7] A. R. Simpson, G. C. Dandy and L. J. Murphy, Kaufmann. Las Vegas, USA.
(1994). Genetic algorithms compared to other techniques [19] T. Chen and P. S. You, (2005). Immune algorithms-
for pipe optimization. J. Water Resour. Plan. Manage.- based approach for redundant reliability problems with
ASCE 120 (4) 423-443. multiple component choices. Comput. Ind. 56 (2) 195-205.
[8] D. A. Savic and G. A. Walters, (1997). Genetic [20] D. R. Morgan and I. C. Goulter, (1985). Water
algorithms for least-cost design of water distribution distribution design with multiple demands, Computer
networks. J. Water Resour. Plan. Manage.-ASCE 123 Applications in Water Resources, (Edited by Harry C.
(2) 67-77. Torno. ), pp. 582-590. ASCE, New York, NY, USA.
[9] M. D. C. Cunha and L. Ribeiro, (2004). Tabu search Buffalo, NY, USA.
algorithms for water network optimization. Eur. J. Oper. [21] Y. W. Zheng, F. B. Paul, O. C. Hou and R. J. Je,
Res. 157 (3) 746-758. (2001). Using genetic algorithms to rehabilitate
[10] R. M. Holger, R. S. Angus, C. Z. Aaron, F. W. Kuan, distribution systems. J. Am. Water Work Assoc. 93 (11)
P. K. Yeow, S. H. Yeow and T. C. Lim, (2003). Ant 74.
Colony Optimization for Design of Water Distribution [22] H. R. Maier, A. R. Simpson, A. C. Zecchin, W. K.
Systems. J. Water Resour. Plan. Manage.-ASCE 129 (3) Foong, K. Y. Phang, H. Y. Seah and C. L. Tan, (2003).
200-209. Ant colony optimization distribution for design of water
[11] A. C. Zecchin, A. R. Simpson, H. R. Maier, M. systems. J. Water Resour. Plan. Manage.-ASCE 129 (3)
Leonard, A. J. Roberts and M. J. (2006). Berrisford, 200-209.
Application of two ant colony optimisation algorithms to

632

S-ar putea să vă placă și