Simulation of a reservoir with standard operating rule

Size: px
Start display at page:

Download "Simulation of a reservoir with standard operating rule"

Transcription

1 Extreme Itydroloeical Events: Precipitation, Floods and Droughts (Proceedings of the Yokohama Symposium, July 1993). IAHS Pubf. no. 213, Simulation of a reservoir with standard operating rule R. HARBOE & U. RATNAYAKE Division of Water Resources Engineering, Asian Institute of Technology, GPO Box 2754, Bangkok 10501, Titailand Abstract Standard operating rules for a reservoir have been derived with a stochastic dynamic programming model. The objective function was to maximize expected guaranteed on-peak energy while constraints on irrigation and flood control are satisfied. A special type of recursive equation was developed, which takes many iterations to converge. Several standard operating rules were designed based on results of the optimization model. For testing the reliability of these operating rules, simulation with long synthetic inflow series were performed. During the simulation the release required from the reservoir was calculated on the basis of the target energy, reservoir level and previous months inflow. The results showed that stochastic results were more conservative, (lower energy targets), but in turn had a higher reliability than higher targets obtained from deterministic models. The model was applied to Victoria Reservoir in Sri Lanka as an example. INTRODUCTION The two most common purposes of the large number of multipurpose reservoirs are irrigation and hydropower production. These two purposes are generally in conflict as irrigation demands are usually higher during dry periods while the power is required throughout the year. The power requirement may need releases from the reservoir in addition to irrigation requirements, in such amounts which will not cause irrigation failures in future dry periods. Flood control, on the other hand may require some releases prior to the rainy season and also during it, in order to have an empty storage space in the reservoir as flood control reserve. In such situations the real time operation of the reservoir depends on how actually the system managers can determine reservoir releases which compromises all future and present needs. The energy generation planners are greatly assisted if a firm energy amount that can be supplied by the reservoir can be known beforehand. Reservoir operation in accordance to standard operating rule with an energy target is a way to operate such systems to satisfactorily meet above objectives. The standard operating rule used in this study can be shown as in Fig. 1. During operation according to this rule, the target on-peak energy is produced if the available water is enough to do so. When the available water is not enough all water is released and energy is produced according to a nonlinear relation. When the storage is more than the maximum allowable storage all the excess water is released and additional energy also produced. The rule described in this paper, defines the target in terms of annual on-peak firm energy. The annual distribution pattern is used to calculate the respective monthly targets. If a target can be found for the guaranteed on-peak energy production while meeting the irrigation and flood control

2 422 R. Harboe & U. Ratnayake c jo 'in 'o 03 Q Turbine Capacity Target Dead Storage Fig. 1 Standard operating rule. Reservoir Capacity Flood Control Reserve - Available Water (Begining storage + Inflow) requirements, then the reservoir system can be operated in real time without any forecasted knowledge of future inflows. The probabilities of occurrences of all inflows and the critical periods are considered in the analysis by formulating a stochastic optimization model. Improving the performance of an irrigation and hydropower system thus operated can be done by improving on the guaranteed on-peak hydropower production targets as well as the reliability of irrigation water supply. In this paper a method based on stochastic dynamic programming (SDP) is developed to arrive at this guaranteed onpeak energy targets necessary for system simulations. Boehle et al. (1981) and Harboe (1990) applied deterministic dynamic programming (DDP) in determining the targets for standard operating rules for low flow augmentations and firm power production respectively. The obtained targets were optimal if a critical period worse than the past critical period will not occur. In order to asses the stochastic nature of the inflows and thus to arrive at a target which considers the effects of all possible critical periods, the above methodology is extended to include the stochastic effects of inflows. The SDP model is based on an objective function which maximizes expected generated on-peak energy while deterministic constraints on irrigation and flood control are satisfied. The targets obtained through converged policy is used in designing the standard operation rules. The system is then simulated using ten long synthetic series of monthly data of hundred years each to asses the performance. These synthetic series are generated using the disaggregation model, 'LAST' software (Lane, 1990). SYSTEM DESCRIPTION The applicability of the suggested methodology is emphasized by a real world example.

3 Simulation of a reservoir with standard operating rule 423 The Victoria Reservoir in the Mahaweli River system of Sri Lanka is selected for this purpose. The geographic map of the river system and the reservoir are shown in Fig. 2. The reservoir and hydrological dimensions of the Victoria reservoir are as follows: Catchment area Average annual discharge Maximum flood water level Normal maximum water level Minimum operating level Capacity of the reservoir Storage of the reservoir at flood control level Dead storage Spillway capacity Low level outlet capacity Number of turbine units Rated power Rated head Rated discharge = 1891 km 2 = 1984 xl0 6 m 3 = m a.m.s.l. = m a.m.s.l. = m a.m.s.l. = x 10 6 m 3 = x10 s m 3 = 34.0 xl0 6 m 3 = 7900 m 3 /sec = 760 m 3 /sec = 3 = 3x70 MW = 190 m = 3x46.7 m 3 /sec Certain assumptions regarding the regulation of the inflows and the constraints are necessary as this reservoir is a part of a complex system with one small reservoir and a diversion located upstream and several downstream reservoirs. Simulated inflows of the reservoir, where the upstream control points are managed under a known policy, are therefore used in this research. The releases of Victoria reservoir goes into Randenigala reservoir which is located immediately downstream. This downstream reservoir acts as a regulating reservoir of 874 xlo 6 m 3 capacity with an average annual incremental inflow of 544 X10 6 m 3. As the on-peak firm energy requirement does not have seasonal variations, the reservoir operation for generation of this energy requirement will results 0RY ZONE. INTERMEDIATE ZONE TO IRRIGATION SYSTEMS IN THE NORTHERN REGION PROJECT BOUNDARY RIVER/CANAL - - TUNNEL I EXBT1N0 HYDROPOWER STATION ] PROPOSED HYOROPOWtR STATION IRRIGATION AREA EXISTINQ OR UNDER CONSTRUCTION PROPOSED IRRIGATION AREA EXISTING RESERVOIR ^ grl PROPOSE0 RESERVOIR IRRIGATION SYSTEM BOUNDARY A,B... IRRIGATION SYSTEMS RAINGAUGE STATION *-'' Polqollo BarTaqn? KANDY/* VICTORIA RESERVOIR Fig. 2 Map of Mahaweli Ganga River Basin.

4 424 R. Harboe & U. Ratnayake in monthly discharges of nearly equal amounts unless other constraints, such as flood control, are violated. Considering this discharge pattern and relying on the degree of regulation provided by the Randenigala reservoir, the Victoria reservoir is operated to provide a minimum discharge of 107 X10 6 m 3 /monfh as the supply for downstream demands. The lumped annual downstream demand for irrigation is about 1554 X10 6 m 3 with a peak demand of 304 x 10 6 m 3 /month. The other constraint imposed on reservoir operation is the flood control. This is to be achieved by not violating the flood control reserve on monthly basis. MATHEMATICAL MODEL The stochastic mathematical model for a single reservoir optimization is formulated to maximize the expected annual on-peak firm energy production. In general the monthly on-peak firm energy requirement may vary from one period to another but the distribution within an year may not change. The generation of on-peak energy also should follow this distribution for optimality. The monthly energy distribution, which can be known beforehand, is used to convert the monthly generation into the annual energy generation. The ratio EG t /a t in (1) thus calculates the corresponding potential annual firm on-peak energy generation for a given monthly generation (EGJ using a known distribution (aj. Formulation of the model is as given in Ratnayake & Harboe (1992). This mathematical model is solved using dynamic programming with the following recursive equation (backward recursion): f t {S t,q t _ x ) = max R, mm.q, ^T' (i) where: EG, = on-peak energy generation in month t in GW h; Q, = inflow during month t in 10 6 m 3 ; R, = release during month t (decision variable) in 10 6 m 3 ; S, = storage at the beginning of month t (state variable) in 10 6 m 3 ; a ( = monthly on-peak energy distribution coefficient; 12 Y, a, = 1.0; t =1 P(QJQ,.\) = conditional probability of inflow Q, given that inflow Q, A occurred in the previous month; and f,(s,q, A ) = optimal expected annual firm energy if initial state is S, and inflow in the previous month was Q ta, from stage t through the last stage. The above equation is solved subjected to the following constraints: (i) Mass balance: (ii) S, +1 = S, + Q, - R, - LOSS, - SPILL t (2) where: LOSS, = evaporation loss during month t in 10 6 m 3 ; and SPILL, = spill during month t in 10 6 m 3 ; Storage constraint:

5 Simulation of a reservoir with standard operating rule 425 (iii) D < S, < C - FC, (3) where: C = reservoir capacity in 10 6 m 3 ; D = dead storage in 10 6 m 3 ; and FC, = flood control reservation of month t in 10 6 m 3. Release constraint: min(/d,,aw,) < R, < TC (4) where: AW, = available water in the reservoir in month t in 10 6 m 3 ; ID t = irrigation demand of month t in 10 6 m 3 ; and TC = turbine capacity. Application of SDP requires discretization of state and decision variables into a finite set of values. The performance of the simulation depends on the targets of the standard operating rule. A good representative value is therefore necessary. This in turn requires smaller discretization of the state and decision variables. The state variable, which is the reservoir storage, is discretized into 40 equal sized classes while the decision variable, which is the release from the reservoir through turbines, is discretized into a class size of 25% of the class size of the state variable. Smaller increments of these variables caused significant increases in computer time without a significant improvement to the objective function value. The inflows of a month are divided into a maximum number of ten classes of class width equal to half the standard deviation (2a) of inflows of the month. This inflow class arrangement is illustrated in Fig. 3. Mean of the fifth inflow class (JM) is positioned to coincide with the mean of the inflow distribution. The interval of the lowest class is taken to be from zero to the upper limit of the nearest full width class. The highest inflow class is taken to be an open class (with no defined upper limit). Representative inflow for the first inflow class to the one before last inflow class is taken as the mean value of the class interval. The representative inflow value (Q) for Case 1:^J - 7a>2a Lowest class: (1) i 2 a - Minimum limit «0.0 ta Clas s width > 2a & Mean of class no. 5 = \i a I a T Class 10 No upper limit 0 Class -j 2 number 3 4 s\ 6 Mean of the overall distribution Inflow Case 2:/J-7a < 2a Lowest class: (2) - Minimum limit = 0.0 Clas. s width > 2a 2a Mean of class no. 5 = /j i i a^ a Class 10 No upper limit Class 2 number Mean of the overall d stribution Fig. 3 Discretization of inflows a = 0.25 * Standard Deviation of the distribution Inflow

6 426 R- Harboe & U. Ratnayake the last inflow class (10) is taken as the value corresponding to half the exceedance probability of the lower limit of the class (ju+9a). The corresponding probability is equal to the above exceedence probability divided by the class width [2(Q fx 9a)]. COMPUTATIONAL RESULTS The recursive equation is iteratively solved considering yearly periodicity of hydrological data (i.e. one iteration is the solution of the recursive equation for one year period using monthly data). The objective function value given by the considered maxmin type objective function should converged to a constant value corresponding to maximized minimum expected value for a given set of inflows. Another factor that affects the obtained energy targets is the number of iterations of the SDP algorithm. Curtailment of the number of iterations depending on two criterion is tested. One criteria is to terminate the iterations when the number of changes in the policy is less than a reasonable amount. The other criteria is to terminate the iterations when the change in objective function is considerably smaller. With different levels of curtailment the energy targets are obtained and the system is simulated. Figure 4 shows the pattern of variation of the number of changes in the policy and the objective function value. Judging from the system performance it is recommended to curtail the iterations when the number of policy changes are less than 10%. This corresponds, in this case, to objective function value change of about 0.4% A Obj. fn. value No. of policy changes c 1.2O0 O T5 c Oi = \ '** - «0 ~ 'A- -- "A. '' A.. i A i., "* * A Number of iterations Fig. 4 Rate of convergence of the SDP iterations. The reservoir was optimized again under the same objective function, but using deterministic dynamic programming (DDP) formulation as given by Harboe (1990), to obtain the base for comparison of performance. The target arrived using DDP model is GWh while that for stochastic dynamic programming (SDP) model is GWh.

7 Simulation of a reservoir with standard operating rule 427 Five standard operating rules are designed based on the targets obtained via the optimization models as described in the introduction and Fig. 1. One standard operating rule is designed with its target as the maximum objective function value from DDP optimization, corresponding to the state evaluation function for the first month [^(Sj)]. Another has the maximum objective function value from SDP optimization [max fj(s,q 0 )]. The other three operating rules have intermediate values as shown in Table 1. The simulation of the reservoir system is carried out on ten long synthetic inflow series of 100 years each. The generation of these synthetic series are done using a disaggregation method based inflow data generation software, LAST (Lane, 1990). The reservoir is operated to meet the energy target read from the standard operating rule or the flow constraints (irrigation, flood control release requirements) whichever is larger. Months in which the system fails to meet any one of the demands are counted and averaged over the ten synthetic series to obtain average number of failures. The reliability of the system is defined as the average number of months where system performed satisfactorily. Table 1 gives the results of these simulations. Table 1 System reliability under each operating rule. Energy Irrigation Number of months with failures Average System target target with each synthetic series number of reliability (GWh/yr) (Xl0 3 m 3 /month) (100 yr) system failures CONCLUSION The maximum yearly energy target from SDP optimization is about 9.5% smaller than the energy target obtained from DDP optimization while the reliability of operation increased for SDP based target. The tradeoff relation between a given energy target and the system reliability is established for the targets between the two of above mentioned energy targets. Acknowledgments Research leading to this paper was made possible by the provision of financial support by the German Agency for Technical Cooperation (GTZ) through the Division of Water Resources Engineering, Asian Institute of Technology. The authors also thank Prof. Kuniyoshi Takeuchi for his interesting comments on this paper.

8 428 R. Harboe & U. Ratnayake REFERENCES Boehle, W., Harboe, R. & Schultz, G. A. (1981) Sequential optimization for the operation of multipurpose reservoir systems, Proc. International Symposium on Real-Time Operation of Hydrosystems, Waterloo, Ontario, Canada, Vol II, Harboe, R. (1990) Optimal power output for operation of a reservoir system, Proc. VII Congress of the Asian and Pacific Division (IAHR), Beijing, China, Vol II, Lane, W. L. et al. (1990) Applied Stochastic Techniques - User's Manual, Bureau of Reclamation, US Department of the Interior, Denver, Colorado, USA. Ratnayake, U. & Harboe, R. (1992) Optimal operating rule for a reservoir with stochastic inflows, Proc. VIII Congress of the Asian and Pacific Division (IAHR), Pune, India.