Professional Documents
Culture Documents
Abstract: The direct search approach to determine optimal reservoir operating policies is proposed with a real coded genetic algorithm
共GA兲 as the optimization method. The parameters of the policies are optimized using the objective values obtained from system simula-
Downloaded from ascelibrary.org by University of Hong Kong on 03/10/13. Copyright ASCE. For personal use only; all rights reserved.
tions. Different reservoir release rules or forms, such as linear, piecewise linear, fuzzy rule base, and neural network, are applied to a
single reservoir system and compared with conventional models such as stochastic dynamic programming and dynamic programming and
regression. The results of historical and artificial time series simulations show that the GA models are generally superior in identifying
better expected system performance. Parsimony of policy parameters is inferred as a principle for selecting the structure of the policy, and
Fourier series can be helpful for reducing the number of parameters by defining the time variations of coefficients. The proposed method
has shown to be flexible and robust in optimizing various types of policies, even in models that include nonlinear, nonseparable objective
functions and constraints.
DOI: 10.1061/共ASCE兲0733-9496共2007兲133:3共202兲
CE Database subject headings: Water resources; Optimization models; Evolutionary computation; Simulation models; Algorithms.
Introduction Rt = St + Qt − bt 共2兲
Finding optimal operating policies for a reservoir system has been where Rt, Qt, and St⫽release, inflow, and beginning storage val-
a major area of study in water resources systems. An operating ues, respectively, for period t and bt⫽operations parameter for
policy is a set of rules for determining the quantities of water to time t. The optimal value of bt is to be found through the appli-
be stored and to be released under various conditions 共Wurbs cation of an appropriate optimization method.
1993兲. Optimization models are useful tools to identify reservoir Stochastic dynamic programming 共SDP兲 as another optimiza-
operating policies, but there are some computational presump- tion model is extensively used to determine optimal reservoir
tions in these models that restrict their efficiency and flexibility. operating policies. SDP is perhaps the most popular representa-
Most of these models are not able to represent the complex physi- tive of the explicit stochastic optimization 共ESO兲 approach, in
cal, hydrological, and operational characteristics of the system which the stochastic nature of inflows is explicitly considered
adequately. Moreover, the objective functions or the form of the in the model. The model is frequently used in optimization of
operating rules must often be defined under assumptions which reservoir systems 共Butcher 1971; Torabi and Mobasheri 1974;
further constrain the utility of the models. Linear policies and Stedinger et al. 1984兲.
separable objective functions are examples of this kind. In these models, the decision and state spaces are discretized
In chance-constrained linear programming models for ex- and the operating rules are defined as an optimal index of a de-
ample, the model is restricted to some very simple rules called cision variable for each index of state variables and time periods.
linear decision rules 共LDR兲. These rules relate releases to storage, In general, storage levels, inflows, and inflow forecasts are de-
inflow, and decision parameters, and represent crucial assump- fined as the states in SDP. These models are very flexible in
tions in the modeling effort 共Yeh 1985兲. Two typical LDR forms defining the form of the operating policy. In fact, there are no
as described by ReVelle et al. 共1969兲 and Loucks 共1970兲 are presumptions in the form of the policies except the discretization
of state space. An example of such policies is demonstrated in
Fig. 1. In multireservoir systems, however, the model is restricted
Rt = St − bt 共1兲 by the “curse of dimensionality” which does not allow for a fine
discretization of the state space, or consideration of many reser-
1
Water Resources Management Ph.D. Student, Civil Engineering voirs. Moreover, SDP models are restricted to separable objective
Dept., K. N. Toosi Univ. of Technology, Tehran, Iran. E-mail: functions and constraints.
momtahen@alborz.kntu.ac.ir Implicit stochastic optimization 共ISO兲 is another approach for
2
Assistant Professor, Civil Engineering Dept., K. N. Toosi Univ. of defining operating policies. The dynamic programming and re-
Technology, Tehran, Iran. E-mail: borhani@kntu.ac.ir gression 共DPR兲 model proposed by Karamouz and Houck 共1987兲
Note. Discussion open until October 1, 2007. Separate discussions is a representative of it. As a first step in applying ISO, a deter-
must be submitted for individual papers. To extend the closing date by
ministic optimization model 共usually in the form of dynamic pro-
one month, a written request must be filed with the ASCE Managing
Editor. The manuscript for this paper was submitted for review and pos- gramming兲 optimizes the reservoir releases for some sequences of
sible publication on January 11, 2005; approved on April 10, 2006. This streamflow. The “state-decision” vectors result from this process.
paper is part of the Journal of Water Resources Planning and Manage- The operating policy, having a predefined form 共e.g., a linear
ment, Vol. 133, No. 3, May 1, 2007. ©ASCE, ISSN 0733-9496/2007/3- polynomial兲, is fit to these vectors in the next step to derive a
202–209/$25.00. “mean” optimal release policy. ISO models have the capability to
202 / JOURNAL OF WATER RESOURCES PLANNING AND MANAGEMENT © ASCE / MAY/JUNE 2007
JOURNAL OF WATER RESOURCES PLANNING AND MANAGEMENT © ASCE / MAY/JUNE 2007 / 203
冦
method and compare it with conventional methods such as DPR St + Qt − Smax if St ⬎ Dt − Qt + Smax
and SDP. A segment of historical data is used to calibrate models
Rt = St + Qt − Smin if St ⬍ Dt − Qt + Smin 共5兲
and generate the artificial time series. The policies are evaluated
using system simulation results for the calibration and verification Dt otherwise
segments of the historical time series and also the artificial series. In fact, SOP policy is simply Rt = Dt, which is compared with
All of the simulations begin in April, and a full reservoir is as- Eq. 共4a兲 and modified, if necessary, to satisfy that constraint. This
sumed as an initial condition. This can be a realistic assumption procedure is followed for all of the other policies too, as shown as
because of the relatively high average inflow and low demand in 1. Rt = R共t , St , Qt , Dt兲;
this month and its previous months. 2. St+1 = St + Qt − Rt, if St+1 ⬎ Smax then St+1 = Smax, if St+1 ⬍ Smin
A single reservoir system on the Dez River in southwest Iran is then St+1 = Smin; and
selected as a case study. It is a multipurpose system with a capac- 3. Rt = St + Qt − St+1
ity of 4,400⫻ 106 m3. For simplicity, water supply is considered
as the only operating aim. Evaporation and direct rainfall on the
reservoir also are ignored and monthly demands are fixed. Forty- ISO Models
one years of monthly inflows, from April 1957 to March 1998, are
used as the historical time series. The monthly demands and the A deterministic dynamic programming model is used to create the
average and standard deviation of the inflows are presented in state-decision vectors from the calibration data. State and decision
Table 1. The first 31 years of the historical time series are con- variables in this DP are considered as the initial and final reser-
sidered as the calibration data, and the remaining 10 years are voir volumes for each month, respectively. The recursive relations
used for verification. are
The objective function of this problem is defined as minimi-
zation of the cumulated operating loss function. The monthly loss f nt 共St兲 = min关Zt + f t+1
n−1
共St+1兲兴 共6兲
St+1
function is considered as a nonsymmetric quadratic function
Zt = 再
0.4共Dt − Rt兲2 if Rt ⬍ Dt
0.1共Rt − Dt兲2 otherwise
共3兲
where St, Qt, and Rt⫽initial reservoir volume, system inflow, and
release, respectively, during period t, and Zt⫽system loss associ-
ated with period t, which is the month number from 1 to 372.
In this backward DP, the reservoir capacity is discretized into
where Zt⫽monthly loss.
30 equal intervals 共31 points兲 and 11,532 共=31 states⫻ 31 years
The problem is subject to these constraints:
⫻ 12 months兲 state-decision vectors are used for defining various
Smin ⱕ St ⱕ Smax 共4a兲 policy functions of ISO models to be fitted.
DPR: The first and simplest rule that is considered for fitting
Rt ⱖ Rmin 共4b兲 on the state-decision vectors is a linear function. The function is
given as
St+1 = St + Qt − Rt 共4c兲 R t = a tS t + b tQ t + c t 共7兲
where S, Q, and R⫽reservoir storage, inflow, and, release, where at, bt, and ct are defined by linear regression for each
respectively. month.
204 / JOURNAL OF WATER RESOURCES PLANNING AND MANAGEMENT © ASCE / MAY/JUNE 2007
St+1
冋
f nt 共St,Qt兲 = min Zt + 兺 P共Qt+1兩Qt兲 · f t+1
Qt+1
n−1
共St+1,Qt+1兲 册 共9兲
JOURNAL OF WATER RESOURCES PLANNING AND MANAGEMENT © ASCE / MAY/JUNE 2007 / 205
Fig. 5. Value of the first coefficient of Eq. 共7兲 obtained from DPR,
Fig. 6. Form of operating rule for GAPL model
GAR, and GAR-F models
206 / JOURNAL OF WATER RESOURCES PLANNING AND MANAGEMENT © ASCE / MAY/JUNE 2007
The values of annual operation losses are shown in Table 3 and models, too. However, GA models are generally better than ISO
Fig. 7 for calibration, verification, and average of artificial time models. The piecewise linear structure which can only be opti-
series. Differences between calibration and verification annual mized by direct search is the best policy in the calibration runs.
losses and between losses of deterministic DP and other models However, it is severely limited in verification. This means that
are also mentioned in Table 3 and in Fig. 8. The verification this policy is also overfitted. The GAR-F with the fewest param-
losses are generally more than the calibration due to possible eters shows the opposite performance. This model is a bit weaker
overfitting during calibration and a flooding period in the verifi- than GAR in calibration, but it is the best model in verification.
cation data set. A principle similar to the principle of parsimony of parameters
The form of the operating rule and the optimization method in time series modeling can therefore be inferred here, too. A
influence the simulation results. The calibration results of differ- model with fewer parameters and robust performance is more
ent policies of an optimization approach show the potential ability appropriate for a policy optimization, and the resulting policy is
of the policy to hedge against inflow uncertainty. On the other expected to be more consistent in model verification and in res-
hand, the consistency of the policy can be evaluated by compar- ervoir operations under future—but unknown—conditions.
ing calibration and verification results. A policy with good results Fewer policy parameters not only help to prevent overfitting,
both in calibration and verification is suitable for future unknown but also reduce the optimization computations, especially in the
conditions, but the policy may be overfitted to the calibration data GA method. This can be inferred from Fig. 9 which illustrates
if calibration results are not repeated in verification. evolution trend of the best chromosomes of different GA genera-
In the ISO models, ANN and FRB structures produce the best tions. GA chromosomes are assumed to be converged to optimal
and the worst calibration objective functions, respectively. The solution when the differences among their fitnesses approach to
simple linear form is a bit weaker than ANN in calibration, but it zero. The converging times for policies with large numbers of
is the best in verification. Therefore the ANN seems to be over- parameters, like GAN, and GAF, are greater than for approaches
fitted. These policy structures have the same properties in GA with fewer parameters, such as GAR. This may be due to two
JOURNAL OF WATER RESOURCES PLANNING AND MANAGEMENT © ASCE / MAY/JUNE 2007 / 207
reasons: 共1兲 GA needs more computational effort to optimize with than a complex ANN. Using a Fourier series to define time varia-
longer chromosomes; and 共2兲 the complex rules with more param- tions, the number of policy parameters can be decreased and the
eters take more effort to apply in each period of simulation. linear policy with a Fourier series has been the best model in
verification.
Artificial time series are also used to confirm the simulation
Summary and Conclusion results of the historical series. The inferences from average results
of artificial time series were generally the same as those of the
In this paper, the direct search approach is proposed as an opti- historical series. It seems that using long artificial time series is
mization model of reservoir operating policies. The policies are unnecessary in optimization of policies and historical series are
obtained directly by optimization of their parameters using the adequate either in the ISO approach or in direct search.
simulation results. GA is selected as a proper optimization The main weakness of GA models is the dissimilarity of the
method in this approach, since any parametric type of policies can values of the optimized parameters obtained from different runs
be optimized by this method. Using this approach, the policies are of the model. The parameters may vary in spite of relatively
properly optimized contrary to ISO methods in which frequent stable results of the objective function. This can be considered as
normal operating conditions dominate the optimization results an advantage, too, because it lets the decision maker choose a
and prevent deriving true optimal policies. On the other hand, the policy among some good policies obtained from different runs.
curse of dimensionality does not exist in the direct search models The direct search approach for optimization of reservoir op-
because there is no need to discretize the state space of the prob- eration policy parameters using GAs is a very attractive model. In
lem. However, the optimization method of direct search models this model, various forms of policies can be examined in spite of
must possess some special capabilities to be proper for use by this the limitations imposed by the restrictive assumptions of conven-
approach. GAs possess these capabilities sufficiently. tional optimization methods. Optimization of inseparable objec-
The direct search models using GA optimization method are tive functions, such as reliability, and even multiobjective optimi-
applied to a reservoir system and compared with some conven- zations are easily possible with this approach.
tional models involving ESO and ISO approaches. Policies with
linear, ANNs, and FRBs are obtained using a dynamic program-
ming and regression method as ISO models. The policy of the
Acknowledgments
SDP model is evaluated as the representative of the ESO ap-
proach. In addition to the policies of the ISO models, other policy The writers would like to thank Professor Mac McKee, Director
structures, such as piecewise linear form, are optimized using the of the Utah Water Research Laboratory, for reviewing an early
direct search. In this approach, it is also possible to define the version of the paper.
time variations of policy parameters as a mathematical function in
spite of defining different rules for each period of the year. A
Fourier series is used as this function.
A parsimony principle can be inferred from the results of this Notation
study about the policy structures. A smaller number of policy
parameters is an advantage due to this principle, as a large The following symbols are used in this paper:
number of parameters may lead the model to overfitting and in- A1 , B1 , C1 ⫽ fuzzy variables;
crease the required computational effort. Hence, according to a , b , c ⫽ policy coefficients;
our results, a simple linear policy may operate the system better D ⫽ system demand;
208 / JOURNAL OF WATER RESOURCES PLANNING AND MANAGEMENT © ASCE / MAY/JUNE 2007
JOURNAL OF WATER RESOURCES PLANNING AND MANAGEMENT © ASCE / MAY/JUNE 2007 / 209