Professional Documents
Culture Documents
a r t i c l e i n f o a b s t r a c t
Article history: A considerable portion of costs associated with delivering municipal drinking water is related to energy
Received 4 December 2013 usage. This energy consumption also has environmental implications resulting from the pollutants emit-
Received in revised form ted at power generation plants. Optimizing the cost and environmental emission of energy consumption
13 September 2014
by strategically scheduling pumping cycles is a multi-objective nonlinear problem that contains consider-
Accepted 24 September 2014
able number of constraints. The solution space of this type of problem even for a small water network can
be very large and finding the boundaries associated with the solution space is quite difficult. Evolutionary
Keywords:
optimization methods, such as genetic algorithm, are well suited for solving this kind of problem. In this
Optimization
Sustainability
paper, two methods for describing the pump optimization problem within a genetic algorithm solution
Water distribution system framework are considered. Each leads to different methods for conducting crossover and mutation steps
Pump of the genetic algorithm. Results are presented when these methods are used with a novel pump opti-
Genetic algorithm mization software, Pollutant Emission and Pump Station Optimization (PEPSO) using a hydraulic model
of a moderately sized municipal drinking water system located in Monroe, MI, USA. Advantages and
disadvantages of each method are discussed. Results highlight the need for genetic algorithm coding
methods which circumvent infeasible solutions.
© 2014 Elsevier Inc. All rights reserved.
http://dx.doi.org/10.1016/j.suscom.2014.09.003
2210-5379/© 2014 Elsevier Inc. All rights reserved.
Please cite this article in press as: S.M. Sadatiyan Abkenar, et al., Evaluation of genetic algorithms using discrete
and continuous methods for pump optimization of water distribution systems, Sustain. Comput.: Inform. Syst. (2014),
http://dx.doi.org/10.1016/j.suscom.2014.09.003
G Model
SUSCOM-116; No. of Pages 6 ARTICLE IN PRESS
2 S.M. Sadatiyan Abkenar et al. / Sustainable Computing: Informatics and Systems xxx (2014) xxx–xxx
it may be possible for pump optimization schemes to shift energy period (e.g. 24 h). Through assembling together the chromosomes
demand from one time to another to effectively reduce emissions, of all pumps in the water network, a solution will be produced.
even if the total amount of energy consumed is more. In addition GA optimization starts with a group of random solutions that will
to temporal variations in emissions, large scale water distribution be used as an initial generation (parents). Using the initial genera-
systems may also see spatial variations in pollutant emissions [3]. tion crossover and mutation processes are applied to produce new
Operator should just know that at any time and location what type solutions with modified chromosomes (children).
of power generator is providing energy. Based on information that During the parental selection process, a group of best solutions
power generators and power markets provide, it is possible to find will be selected to from each subsequent generation. By repeating
out which generator type is producing energy for a specific location this process, over multiple generations, the GA moves toward an
and at specific time [4]. Pollutant emissions for WDS can be derived optimal solution. Once a stopping condition has been reached, the
by multiplying rate of pollution per unit of energy produced by the last generation will contain a group of solutions that are assumed
amount of energy required for pumping. With this information, to be optimal.
pumping schedules can be optimized to run pumps at locations The number of solutions in a generation (population size) is one
and during times which reduce emissions. For instance, an opti- of the important parameters that influence optimization by GA. By
mized pumping schedule could require pumps that utilize power increasing the population size, more solutions will be investigated
generators that have high emission rates to be switched off, while in each generation, covering a wider area of the solution space, thus
other pumps in the network that consume power from relatively increasing the probability of finding the optimal solution in each
cleaner sources could be turned on, effectively reducing the total generation. Of course, it should be noted that increasing popula-
amount of emissions. In addition to amount of pollutant emission tion size will increase the solution/computational time. In general,
that is associated with a power demand of a pumping schedule, cost the number of computation steps (i.e. potential solutions investi-
is also critically important. To find the optimal solution (in terms gated) is equal to the number of generations multiplied by the size
of sustainability), optimization routines should minimize energy of the population. Since most of the processing time is related to
demand, cost and pollutant emissions [5]. hydraulic analysis of each solution, reductions in processing time
In an ordinary municipal water networks, a large number of sce- require reduction of either the number of generations or popula-
narios for pumping schedules are available. Finding the optimum tion size. The size of a solution space for a water network can be
solution for this type of non-linear problem with multiple con- huge. For example, consider a WDS with 10 pumps. Assuming a
straints using traditional deterministic methods is challenging and 24 h modeling period with 1 h resolution, the size of the solution
has been a focus of extensive research. For instance, Zheng [6] has space is greater than 1072 (2(10×24) , the base of 2 corresponds to the
reviewed multiple linear and non-linear programming techniques on/off condition). Further, if we assume that some of the pumps of
to optimize WDS design and Ulanicki et al. [7] used a dynamic pro- this network are variable speed, this expands considerably [12]. To
gramming method to solve this type of problem. Nearly all of these prevent searching all possible solutions, evolutionary algorithms,
efforts are limited to relatively small systems, minimizing the size such as GA, explore only a portion of this space and migrate toward
of the solution space. To address larger-scale problems, evolution- optimal solutions.
ary algorithms have been found to provide as an efficient approach Additional strategies, aside from modifications to the optimiza-
for finding optimal solutions [5]. Genetic algorithms (GA) are a well- tion algorithm, can be employed to further reduce the size of the
known type of evolutionary optimizing method that has been used solution space. For example, identifying identical pumps, pumps
by multiple groups [e.g. [8–10]] for pump schedule optimization. that have the same brand and model, at the same location can
These methods can find optimal solutions in a large solution space greatly reducing the number of unique solutions. Although this
by evaluating only a relatively small number of potential solu- strategy has some advantages, it can eliminate potentially benefi-
tions. It works directly with the fitness of each solution instead of cial outcomes (e.g., the simultaneous utilization of multiple pumps
derivatives or other auxiliary characteristics used with traditional at the same location).
deterministic approaches. Also, GA searches for the global optimum
solution over the whole solution space, instead of focusing in a part 3. Various methods for storing solution population
or boundaries of solution space that may lead to a local, rather than
global, optimal solutions [11]. While the global optimum is com- Discrete (i.e. binary) and continuous (i.e. level-controlled trigg-
monly assumed, there is no guarantee that the solutions identified ers) methods are two approaches that can be used to optimize the
by GA are the absolute optimal solutions. However, the probability pumping schedule with GA. In first method, each modeling period
of finding optimal solutions increases with the number and vari- is divided into specified time intervals (minutes, hours, etc.) and for
ance allowed during mutations. It also might increase the time to each interval a bit of computer memory will be assigned. The bit
solution. identifies if the pump is ON, denoted by “1”, or OFF, denoted by “0”,
In the following sections, GA for optimizing pumping sched- for a given time interval. With this approach, each bit is considered
ules in a WDS is introduced. Two different methods for describing a gene. A chromosome contains all genes for a single pumping unit
the optimal pump schedule within this framework are explained. during a modeling period. A solution, on the other hand, contains
The methodologies described in this paper have been incorporated multiple chromosomes – one for each pump in the water network.
into a computer application named Pollutant Emission and Pump Eq. (1) is used to calculate the amount of memory that is needed
Station Optimization (PEPSO) developed to optimize the pumping for storing a solution using a discrete approach.
schedules for DWS across the Great Lakes watershed.
t
Md = n × × 1 bit (1)
i
2. Genetic algorithm for water system pump optimization Md = amount of memory required (bit); n = number of pumps;
t = total modeling time; I = time interval (i.e. temporal resolution);
In the GA, a random group of solutions is selected as the initial 1 bit = “0” or “1” (ON or OFF).
(trial) population. Each solution is a pumping schedule. Analo- Fig. 1a illustrates storing a chromosome for two pumps during
gous to genetic definitions, each solution is described as a group 24 h modeling with discrete or continuous method.
of chromosomes which contain a string of genes that corresponds In the continuous method, the starting and ending time of a
to the controls (on and off condition) of a pump during running pump duty cycle are stored as a pair of genes. So for each cycle of
Please cite this article in press as: S.M. Sadatiyan Abkenar, et al., Evaluation of genetic algorithms using discrete
and continuous methods for pump optimization of water distribution systems, Sustain. Comput.: Inform. Syst. (2014),
http://dx.doi.org/10.1016/j.suscom.2014.09.003
G Model
SUSCOM-116; No. of Pages 6 ARTICLE IN PRESS
S.M. Sadatiyan Abkenar et al. / Sustainable Computing: Informatics and Systems xxx (2014) xxx–xxx 3
Please cite this article in press as: S.M. Sadatiyan Abkenar, et al., Evaluation of genetic algorithms using discrete
and continuous methods for pump optimization of water distribution systems, Sustain. Comput.: Inform. Syst. (2014),
http://dx.doi.org/10.1016/j.suscom.2014.09.003
G Model
SUSCOM-116; No. of Pages 6 ARTICLE IN PRESS
4 S.M. Sadatiyan Abkenar et al. / Sustainable Computing: Informatics and Systems xxx (2014) xxx–xxx
Please cite this article in press as: S.M. Sadatiyan Abkenar, et al., Evaluation of genetic algorithms using discrete
and continuous methods for pump optimization of water distribution systems, Sustain. Comput.: Inform. Syst. (2014),
http://dx.doi.org/10.1016/j.suscom.2014.09.003
G Model
SUSCOM-116; No. of Pages 6 ARTICLE IN PRESS
S.M. Sadatiyan Abkenar et al. / Sustainable Computing: Informatics and Systems xxx (2014) xxx–xxx 5
found to be satisfied. Due to the diurnal patter of water consump- models are combined with parameter optimization that makes it
tion, a 24 h simulation duration was employed. One hour time possible to rapidly identify accurate, feasible results. While con-
intervals were set for the discrete method. The GA utilized a popu- tinuous methods without healing procedures have advantages
lation size of 100 and would stop (i.e. stopping criteria) when 200 (e.g., less memory is required to store solutions), they are likely
generations were produced without an observable increase in fit- to produce infeasible solutions, requiring more hydraulic runs to
ness or after 1000 generations. Aside from the differences required obtain the optimum solutions and decreasing solutions efficiency.
for continuous versus discrete methods (e.g., continuous versus dis- Despite requiring substantially more memory storage for solu-
crete time) all optimization parameters and coding were the same tions, especially for longer modeling periods and smaller time
for test runs. intervals, discrete (i.e. binary) methods avoid producing infeasible
children during mutation and crossover steps. Because most of the
processing time required for pump optimization in WDS is devoted
4.2. Results
to hydraulic analyses, having GA generate feasible solutions is crit-
ical to maximize efficiency. In the absence of healing processes, the
Of the 20 optimization runs performed via the continuous
use of discrete methods was found to be favorable over continuous
method of coding, 18 runs (90%) generated infeasible solutions dur-
methods for minimizing energy consumption of pumping schemes
ing mutation and crossover steps. This caused extensive problems
in WDS, enhancing their sustainability.
for the hydraulic solver since the infeasible operational plans were
often used to generate pump schedules before a feasible alternative
could be identified. As a result, the parameters used to gener- Acknowledgements
ate an optimal solution were often different from those that were
used as parents for the next generation. Hence, the fitness calcu- Funding for this study was provided by the Great Lakes Pro-
lated was often erroneous. This problem continued throughout all tection Fund (GLPF), USA http://www.glpf.org/ as part of project
generations and infeasibilities were almost always found in the No. 881, “Real-Time System Optimization for Sustainable Water
“optimum” solution. Contrary to the continuous method, the dis- Transmission and Distribution”. We appreciate the constructive
crete method was not found to generate infeasible solutions during comments provided by three anonymous reviewers that greatly
any of the 20 optimization runs. improved the quality of this manuscript.
Lopez-Ibanez [15] presented a repair process to fix infeasi-
bilities. By instituting the repair process following mutation and
crossover before parameters were report to the hydraulic simu- References
lator, the continuous method was found to perform as good as
[1] ICF International, Water and Energy: Leveraging Voluntary Programs to Save
the discrete method. Accordingly Lopez-Ibanez [15] concluded that Both Water and Energy, ICF International, Washington, 2008.
“healed” continuous coding was better than discrete coding since it [2] EERE, Energy Demands on Water Resources, U.S. Department of Energy, Wash-
could implicitly handle constraints on a number of pump switches. ington, 2006.
[3] Y. Wang, C. Wang, C. Miller, S.P. McElmurry, S.S. Miller, M.M. Rogers, Loca-
Contrary to discrete coding, continuous coding does not change
tional marginal emissions: analysis of pollutant emission reduction through
the number of pump cycles during mutation and crossover steps. spatial management of load distribution, Appl. Energy 119 (2014) 141–150,
While a healing process enables continuous methods to eliminate http://dx.doi.org/10.1016/j.apenergy.2013.12.052.
[4] M.M. Rogers, Y. Wang, C. Wang, S.P. McElmurry, C.J. Miller, Evaluation of a rapid
infeasible solutions, it is also possible to add a similar healing step
LMP-based approach for calculating marginal unit emissions, Appl. Energy 111
to discrete methods to resolve problems associated with the num- (2013, November) 812–820, ISSN 0306-2619.
ber of pump switches. Therefore, both methods can benefit from [5] M. Rogers, G. Xu, C. Miller, S. McElmurry, C. Wang, Timing of residential electric
heuristic and healing processes to overcome their respective cod- loads to reduce air emissions from power generation, in: Green Chemistry and
Engineering Conference, Wayne State University, Detroit, 2013.
ing shortcomings and provide near optimal solutions of the same [6] F. Heng, Advanced Hybrid Approaches Based on Graph Theory Decomposition
quality. Modified Evolutionary Algorithms and Deterministic Optimisation Techniques
Healing processes were not a focus of this study and hence for the Design of Water Distribution Systems (Ph.D. thesis), School of Civil,
Environmental and Mining Engineering, University of Adelaide, Australia, 2013,
not employed. While further investigations are warranted, a heal- pp. 302.
ing process is likely to produce nonrandom mutations which may [7] B. Ulanicki, et al., Dynamic optimization approach for solving an optimal
reduce the efficiency of the optimization process. This is likely to scheduling problem in water distribution systems, J. Water Resour. Plann. Man-
age. 133 (1) (2007) 23–32.
occur because the algorithm will preferentially deviate from poten- [8] R. Farmani, et al., Evolutionary multi-objective optimization in water distribu-
tially optimal solutions in favor of areas dominated by feasible tion network design, Eng. Optim. 37 (2) (2005) 167–183.
answers. [9] J.-Y. Wang, T.-P. Chang, J.-S. Chen, An enhanced genetic algorithm for bi-
objective pump scheduling in water supply, Expert Syst. Appl. 36 (7) (2009)
Optimal solutions identified in this study using the discrete
10249–10258.
method tended to utilize less than 5 pump cycles. Final solutions [10] A.R. Simpson, G.C. Dandy, L.J. Murphy, Genetic algorithms compared to other
that included more than 7 pump cycles were rare. This is consis- techniques for pipe optimization, Journal of Water Resources Planning and
Management 120 (4) (1994) 423–443.
tent with previous studies where optimizations without healing
[11] W. Kurek, A. Ostfeld, Multi-objective optimization of water quality, pumps
processes tended to utilize a low number of pump switches [15]. operation, and storage sizing of water distribution systems, J. Environ. Manage.
Based on this analysis it appears that the discrete coding method 115 (2013) 189–197.
without a healing process increases the probability of identifying [12] Bentley Systems, Incorporated, Bentley WaterGEMS V8i User’s Guide,
Bentley’s Public Documentation Archive, Retrieved 2013 from Bentley:
feasible optimal solutions, at least for the Monroe WDS. Further http://docs.bentley.com/en/HMWaterGEMS/index.php, 2009.
analysis utilizing discrete methods of coding with two other opti- [13] Europump & the Hydraulic Institute, Variable Speed Pumping: A Guide To Suc-
mization tools to minimize pumping related energy demand in the cessful Applications, Elsevier, 2004.
[14] Carbon Trust, Variable Speed Drives: Introducing Energy Saving Oppor-
Monroe WDS is presented in a companion article [16]. tunities for Business, Retrieved 05 13, 2013 from Carbon Trust:
http://www.carbontrust.com/media/13063/ctg070 variable speed drives.pdf,
2013.
5. Conclusion [15] M. López-Iba’nez, Operational Optimisation of Water Distribution Networks
(Ph.D. thesis), Edinburgh Napier University, 2009, pp. 220.
[16] F. Alighalehbabakhani, C.J. Miller, A. Mohsen Sadatiyan, P.T. Fracasso, S.P.
Genetic algorithms and other evolutionary programming meth- McElmurry, Comparative evaluation of 3 distinct water/energy optimization
ods are ideally suited to enhance the sustainability of WDS through tools applied to real system (Monroe), Sustain. Comput. Inf. Syst. (2014) 7
pump optimization. To do this, it is imperative accurate hydraulic (Elsevier).
Please cite this article in press as: S.M. Sadatiyan Abkenar, et al., Evaluation of genetic algorithms using discrete
and continuous methods for pump optimization of water distribution systems, Sustain. Comput.: Inform. Syst. (2014),
http://dx.doi.org/10.1016/j.suscom.2014.09.003
G Model
SUSCOM-116; No. of Pages 6 ARTICLE IN PRESS
6 S.M. Sadatiyan Abkenar et al. / Sustainable Computing: Informatics and Systems xxx (2014) xxx–xxx
Seyed Mohsen Sadatiyan Abkenar is a PhD student of Dr. Donald V. Chase, P.E. is a visiting professor and chair
the Department of Civil and Environmental Engineer- of the Department of Civil and Environmental Engineering
ing, Wayne State University, Michigan. He took his MSc and Engineering Mechanics at the University of Dayton.
degree in Water and Wastewater Engineering from PWUT, Dr. Chase has been developing optimal control strate-
Tehran, Iran in 2009. His research efforts at that time was gies for water distribution systems for nearly 30 years.
focused on increasing the durability of concrete sewer More recently he has conducted physical modeling studies
pipes by using alkaline aggregates. Then he came to USA on three-sided concrete culverts to develop inlet control
for continuing his studies and got interested in optimizing regression coefficients used in programs such as HEC-RAS.
the operation of water pumping systems by using evolu- Dr. Chase’s most recent areas of research interest include
tionary algorithms and machine learning techniques. identifying the optimal location of encroachment stations
in floodplains and identifying the location of ineffective
flow areas at bridges.
Samuel Dustin Stanley graduated from Kenyon College Dr. Shawn McElmurry, Associate Professor of Civil and
in 2008 with a major in Mathematics with a concentra- Environmental Engineering, is one of the original deve-
tion in Statistics, a major in Philosophy in which he was lopers of the LEEM technology. Shawn has a broad range
awarded Distinction, an interdisciplinary concentration in of skills related to contaminant transport, air quality, and
Scientific Computing, and a minor in Astronomy. He was computational modeling that support product develop-
awarded his Computer Science M.S. from Wayne State ment. Dr. McElmurry’s research has been supported by a
University in 2013 for his work on an AI artifact finder wide range of agencies including the US EPA, the Interna-
system to aid archaeologists. He was concertmaster of tional Joint Commission, and others. He is a well-known
the Pointes Area Youth Orchestra from 2000 to 2002, and expert in the fate and transport of heavy metals.
has performed in numerous other orchestras including
the Detroit Symphony Orchestra’s Civic Sinfonia Youth
Orchestra, the Knox County Symphony Orchestra, and the
Grosse Pointe Symphony Orchestra.
Please cite this article in press as: S.M. Sadatiyan Abkenar, et al., Evaluation of genetic algorithms using discrete
and continuous methods for pump optimization of water distribution systems, Sustain. Comput.: Inform. Syst. (2014),
http://dx.doi.org/10.1016/j.suscom.2014.09.003