Abstract
In this paper, a method for long-term optimal operation of hydropower station is proposed to control the frequency of reservoir level fluctuation. We introduce the integer variable which describes the rise and fall of the reservoir level, the number of changes, and the state transition equation for the change of the reservoir level fluctuation into the dynamic programming method. This method can obtain the global optimal solution under the control of different numbers of reservoir level rise and fall, thus improving the controllability and practicability of optimal operating results. We consider the maximum number of water level fluctuations as a constraint condition while the reservoir level, the state of fluctuation, and the number of state changes that have occurred as the three state variables to construct a dynamic programming model. Three state transition equations are the water balance, the state of the reservoir level rise and fall, and the number of fluctuations. Besides, the penalty function is used to handle minimum output and surplus water. We solve this model by using a dynamic programming reverse recursion equation. The application of this method in the Manwan Hydropower Station shows that it can effectively solve the frequent water level fluctuation problem that is generally inconsistent with the actual situation in the long-term optimal dispatch scheme of hydropower stations and improve the practicability of the optimal dispatch results.
1. Introduction
Hydropower is large-scale renewable energy with complete development technology in China and even in the world [1]. The optimal operation of the hydropower station plays an important role in improving the operational efficiency of the hydropower station [2]. The solution of the hydropower station optimal operation model belongs to the constrained nonlinear programming problem. Many solving methods have been explored all over the world, including traditional algorithms such as linear programming [3], nonlinear programming [4], progressive optimization algorithm (POA) [5], dynamic programming (DP) [6], and intelligent evolutionary algorithms, such as genetic algorithm [7], particle swarm optimization [8], ant colony optimization [9], and the combination algorithm of the above methods [10–12].
DP is one of the most suitable and classical mathematical methods for solving the optimization problem of the multistage decision-making process [13]. DP is widely used to deal with water resource planning and management problems as it can describe the stochastic characteristics and nonlinear relations and is not affected by the convexity and continuity of the objective function [14]. However, when the number of power stations increases, the number of states increases exponentially, resulting in an exponential increase in computing time and required storage capacity. This is the “curse of dimensionality” that limits the application of DP. Scholars have done a lot of in-depth research and put forward many improved DP algorithms to alleviate the dimension disaster such as incremental dynamic programming (IDP) [15,16], discrete differential dynamic programming (DDDP) [17,18] which can be regarded as the general form of IDP, dynamic programming successive approximations (DPSA) [19,20] based on the idea to decompose a multidimensional problem into multiple one-dimensional problems, and some hybrid methods of these algorithms [21–23]. These improved DP-based algorithms do have higher efficiency and do increase the benefits of hydropower generation.
However, compared to most researchers who concentrate on finding the best optimization algorithm, the decision-makers look into operational strategies that are more practical to be used [24]. Some recent research also shows that decision-makers are more willing to use simulation models which can better describe the real process than optimization [25, 26]. At present, the commonly used dynamic programming methods for optimal operation of hydropower stations mainly focus on maximizing the benefits of hydropower generation, and its results are often inconsistent with the actual operation habits, especially it will make the water level of reservoirs fluctuate frequently. Water level fluctuation may influence the soil degradation, sediment process, water quality, and the downstream ecosystem [27–29]. Affecting by these factors, the reservoir usually has only a limited number of storage and release processes in a year in the actual operation. This apparent inconsistency between practice communities and research can be solved by directly incorporating the needs of practitioners into the research field [30]. According to the authors’ knowledge, few studies have considered this water level fluctuation problem that is not allowed in the real operation process while improving algorithm efficiency and power generation. Therefore, it is necessary to put forward a novel method to solve the problem of frequent rise and fall of reservoir level which is generally existed in the long-term optimal operation scheme of hydropower stations to improve the practicality of the optimization method.
In this study, a novel long-term optimal operation method for controlling the frequency of reservoir level fluctuation is proposed. Compared with the traditional DP method, this method introduces a new state variable into the traditional DP method. Therefore, this method can obtain the global optimal solution under the control of different times of rise and fall in the long-term optimal operation, thus improving the controllability and practicability of the optimal operating results than the traditional DP method. A real-world Manwan hydropower station that suffers from this practical problem has been chosen as the case study to verify the feasibility and validity of the proposed method.
2. Multistate Optimization Model for Water Level Fluctuation
The long-term optimal operation of hydropower stations usually takes a year as the operation period and a month as the calculation period. Under the conditions of the given inflow process and reservoir level, considering the actual operation constraints, the reservoir level, and the output process are optimized. The maximum generation model is often used as the objective function. This paper proposes the restriction of the number of rise and fall of the reservoir level, controls the number of rise and fall of the reservoir level, and obtains the global optimal solution under the control of the different rise and fall times.
2.1. Objective Function
where is the objective function of power generation, is the final period, is the output of the power station during period, and is the number of hours during period.
2.2. Constraints
The equation of water balance is as follows:where is the water storage capacity of the hydropower station at the beginning of period , is the initial water storage capacity of the hydropower station at the period , is the inbound flow of the hydropower station in the period is power generation flow in period , and is surplus water flow in period .
Initial and final water level constraints are as follows:
Outbound flow constraints are as follows:
Reservoir level constraints are as follows:
Hydropower output constraints are as follows:where 、 are the initial and final water level requirements of the power station dispatching period; is the Outbound flow during period , ; 、 are the lower and upper limits of reservoir discharge; 、 、 are the initial water level in period , and the lower and upper limits of the initial water level; 、 are the lower and upper limits for hydropower station output.
Restriction on the number of times of rise and fall of reservoir level is as follows:where indicates whether the rise and fall of the reservoir level at the beginning and end of period has changed from the previous period. If it has changed , otherwise ; indicates the maximum number of allowable changes in the water level of the reservoir.
Figure 1 takes as an example, is the reservoir level status, ; indicates whether the reservoir level is rising and falling, means the reservoir level is rising, means the reservoir level is falling; is the number of times that the reservoir level rises and falls before period .

3. Calculation Framework for the Optimization Model
The integer variable describing the rise and fall of the reservoir level and the number of changes and the state transition equation of the state change of the reservoir level rise and fall are introduced into the dynamic programming method of the reservoir level as a state variable. Take the maximum number of changes in the lifting state as a constraint condition to construct a dynamic programming model with frequency control of reservoir level changes. Consider the reservoir level, the state of rise and fall, and the number of state changes that have occurred as the three state variables. The three-state transition equations are the water balance, the state of the reservoir level rise and fall, and the number of rises and falls. The penalty function is used to handle minimum output and surplus water. The model is solved by using a dynamic programming reverse recursion equation. Steps 1 to 17 are the total calculation procedure of the multistate DP and have been arranged in the order of calculation. The steps are as follows.
Step 1. Reading the data of the hydropower station. The reservoir level in period is evenly dispersed between the maximum and minimum values, and discrete points of water level are obtained. is the water level of the discrete point at the beginning of period , , and is the number of scheduling periods. means that there is only one discrete water level in the initial stage of dispatching, that is, the initial water level, . means that there is only one discrete water level at the end of the dispatching termination period, that is, the final water level, . for other periods is set according to the calculation accuracy.
Step 2. Detailed definition of water level fluctuation state variables and state transition decision functions. It is defined that the water level changes from falling to rising, or from rising to falling to be a water level fluctuation. The maximum fluctuation times of reservoir level in the operation period is set as . Define the rising and falling state of the water level under the water level during the period as , indicates that is in the rising stage, and indicates that is in the falling stage. Define the number of fluctuations that have occurred when the water level reaches during the period as , . Set the benefit function in the state as , which is the optimal benefit from period to the end of the scheduling period in the state . The decision function is , , and , which, respectively, represent the discrete position label of the final water level decision, the decision of the output rise and fall state, and the decision of the number of rise and fall state changes that have occurred.
Step 3. Set time period .
Step 4. Set the discrete point of water level as , .
Step 5. Set the water level rising and falling state as .
Step 6. Set the fluctuation frequency of water level as .
Step 7. Set the discrete position of water level at the end of the time period as .
Step 8. Calculating the objective function for hydropower generation. Fixed initial water level and final water level for constant water level regulation calculation, the average output , power generation flow and water abandonment flow are obtained. If is a negative value for the outgoing flow under the condition of a fixed water level, it means that the water balance constraint cannot be satisfied:Equation (8) is used to calculate the objective function where , , and are the penalties for water balance, minimum output, and surplus water, respectively. , , and are penalty coefficients, where is approximate infinity and and can be set flexible according to the characteristics of the problem to be solved.
Step 9. Updating the decision functions according to the state variables.
If , , and , then update , , and .
If , , , and , then update , , , and .
If , , and , then update , , , and .
If , , , and , then update , , , and .
Step 10. Set , if , return to Step 8. Otherwise, go to Step 11.
Step 11. Set , if , return to Step 7. Otherwise, go to Step 12.
Step 12. If , set , return to Step 6. Otherwise, go to Step 13.
Step 13. Set , if , return to Step 5. Otherwise, go to Step 14.
Step 14. Set , if , return to Step 4. Otherwise, go to Step 15.
Step 15. Set the current period as and look for the maximum decision of in the combination of , , , denoted as , , and ; fix the water level from the initial to for calculation.
Step 16. Set , if , obtain the optimal decisions , , and during period ; fix the water.
Level from to for calculation. If , go to Step 17.
Step 17. Count the dispatch calculation indicators and obtain the hydropower station dispatch plan.
4. Case Study
Manwan Hydropower Station in Yunnan Province is taken as the case study. Manwan Hydropower Station is a seasonal regulation hydropower station with an installed capacity of 1550 MW. Figure 2 shows the schematic diagram of cascade hydropower stations in Lancang River Basin and the specific location of Manwan hydropower station.

Due to the poor regulation capacity, the reservoir level changes very frequently according to the traditional maximum power generation results. On the one hand, when the reservoir level is low, it is necessary to increase the power generation head by storing water under the condition of meeting the constraint of minimum discharge or minimum output. On the other hand, when the incoming water is large in the later period, it is necessary to increase the output and reduce the reservoir level to avoid the generation of surplus water. Due to the relatively small storage capacity, Manwan reservoir can complete the process from full storage to empty, or from empty to full storage within 1–2 months. However, in the formulation of a long-term power generation plan, the over-frequent reservoir level storage and discharge are of little significance, because the implementation of the actual dispatching plan also needs to take into account the medium-short time scale meteorological forecast and power grid load variation factors which are difficult to be considered in the formulation of the long-term plan. In practice, the long-term dispatching plan only considers the trend of water level variation in several periods, such as before, during, and after flood season, and does not consider the change of water level in a short period to raise water head or avoid the generation of surplus water. However, the results obtained by the traditional maximum generation model often do not meet the actual requirements, and it is necessary to manually adjust the optimization results. This problem is common in the operation of seasonal adjustment and incomplete annual adjustment reservoirs in China.
In the following, the method proposed in this paper is used to reflect the requirements of dispatchers on the frequency of reservoir level changes in the optimization calculation by solvingthe optimaldispatch planof theManwanHydropower Stationin a certain year and then analyze the results. There are 12 periods, and the duration of each period is one month. Figures 3–9 show the optimal scheduling scheme that limits the change times of reservoir level rise and fall from 1 to 7 times.







The result in Figure 9 is the result without limiting the number of changes in the state of water level in the reservoir, and the state of water level changes 7 times. Moreover, it is also the calculation result of the conventional dynamic programming without limiting the number of changes in the state of water level. The scheme of 1–6 times of fluctuation of reservoir level considers the practicability of long-term electricity quantity of the hydropower system and operation scheme of hydropower station. Figure 3 to Figure 8 are the results of the scheduling process which limits the number of water levels rise and fall. Compared with the power generation process of the conventional DP optimal scheduling (Figure 9), it can be seen that the scheduling scheme formulated by the algorithm in this paper can play a flexible role in limiting the water level fluctuation of the hydropower system. Besides, this method can provide comprehensive operation plans for decision-makers under different water level fluctuation scenarios which is more flexible and practical than the traditional DP algorithm.
Table 1 shows the total power generation under different times of change in reservoir level fluctuation state. Hydropower generation is directly influenced by water level fluctuation. Each time the water level fluctuation, the reservoir completes a procedure of water storage and water release. The more the water level change, the more hydropower is produced. The times of water level change and the total power generation approximate a linear relationship, and each time the water level changes, the power generation increased to near 0.3% at the same time. We noticed that the power generation of 3 times of change is lower than the power generation of 2 times of change which is caused by the accuracy of the calculation. However, the overall result satisfies the increasing trend.
Table 2 and Table 3 show the dispatching situation of 7 times and 1-time change of reservoir water level and the power generation of each dispatching period. It can be seen that by reducing the fluctuation frequency of water level, the maximum reduction ratio of electricity generation is 1.8%, and the main period of electricity reduction in flood season. Due to the variable inflow of flood season, flood resources are usually difficult to fully utilize, and the benefits obtained by optimal dispatching are generally difficult to fully realize. Therefore, it is more realistic to ignore the increase in electricity caused by frequent water level fluctuations in long-term dispatch. Dispatchers can choose the actual plan according to the scheduling habits and actual conditions in the results of the number of changes in different water levels up and down states. This provides an effective and practical technical means to solve the problem of frequent rise and fall of reservoir level which is not consistent with the actual situation in the long-term optimal operation scheme of hydropower station.
5. Conclusion
In this paper, a long-term optimal dispatching model of hydropower station based on controlling the frequency of reservoir level fluctuation is proposed and solved by using a multistate DP. Compared with the existing approaches, the long-term optimal dispatching method proposed in this paper can effectively solve the frequent rise and fall of the reservoir level that is common in the long-term optimal dispatching scheme of hydropower stations which does not match the actual situation of operation. By directly incorporating the needs of practitioners into the mathematical modeling, decision-makers can choose the actual plan based on dispatch habits and actual conditions in the results of different reservoir level fluctuations which significantly improve the flexibility and practicality of the results.
Data Availability
Some data, models, or code generated or used during the study are available from the corresponding author upon request.
Conflicts of Interest
The authors declare that they have no conflicts of interest.
Acknowledgments
The research work described in this paper was supported by the National Natural Science Foundation of China (52179005).