ORIGINAL RESEARCH article

Front. Energy Res., 18 July 2022

Sec. Smart Grids

Volume 10 - 2022 | https://doi.org/10.3389/fenrg.2022.965669

An approximate dynamic programming method for unit-based small hydropower scheduling

  • School of Electrical Engineering, Guangxi University, Nanning, China

Article metrics

View details

3

Citations

1,7k

Views

735

Downloads

Abstract

Hydropower will become an important power source of China’s power grids oriented to carbon neutral. In order to fully exploit the potential of water resources and achieve low-carbon operation, this paper proposes an approximate dynamic programming (ADP) algorithm for the unit-based short-term small hydropower scheduling (STSHS) framework considering the hydro unit commitment, which can accurately capture the physical and operational characteristics of individual units. Both the non-convex and non-linearization characteristics of the original STSHS model are retained without any linearization to accurately describe the hydropower production function and head effect, especially the dependence between the net head and the water volume in the reservoir, thereby avoiding loss of the actual optimal solution due to the large error introduced by the linearization process. An approximate value function of the original problem is formulated via the searching table model and approximate policy value iteration process to address the “curse of dimensionally” in traditional dynamic programming, which provides an approximate optimal strategy for the STSHS by considering both algorithm accuracy and computational efficiency. The model is then tested with a real-world instance of a hydropower plant with three identical units to demonstrate the effectiveness of the proposed method.

1 Introduction

With the high proportion of renewable energy penetration in power system, hydropower is of great significance for achieving the “dual carbon” national goal as a clean energy source with almost zero carbon emissions. Different from other countries’ energy structure, China has the richest hydropower resources in the world, which can be a natural advantage to reduce the carbon dioxide emissions in daily operation of power grid. Short-term hydropower scheduling (STHS), which aims to determine the optimal hydropower generation strategy for each hydroelectric unit during a time horizon from several minutes or hours to 1 day, plays an essential role in the daily or shorter operation of power systems to maximize the utilization of the potential hydropower resources. STHS problems are generally formulated for hydropower plants, i.e., aggregating all the hydroelectric units in a plant and taking them as one equivalent unit to significantly reduce the size of the STHS problem (Zhao et al., 2021). However, these equivalent models neglect the detailed characterization of the properties of the hydroelectric units and thus are not suitable for the STSHS problem, which requires a more accurate and detailed representation of the nonlinear hydropower production function (HPF) and head effect of each unit (Guisández and Pérez-Díaz, 2021; Diniz and Maceira, 2008). Therefore, the representation of more details, such as exact unit commitment and nonconvex HPF, is needed to express the operating characteristics of small hydropower in unit-based (“unit-based” refers to “regarding each hydro-turbine generator unit in a plant as an independent entity”) STSHS more accurately.

STHS considering hydro unit commitment (HUC) is a combinatorial, non-convex and non-linear optimization problem (Catalão et al., 2010; Postolov and Iliev, 2022; Wang et al., 2022). The STHS problem has been extensively investigated by researchers in recent years (Chen et al., 2016). For an aggregated hydropower plant and a single hydropower unit, the interior-point method (IPM) can effectively address non-linear constraints in the STHS, but it cannot solve STHS problems with 0–1 binary variables (Apostolopoulou and McCulloch, 2019; Cheng et al., 2022). Mixed-integer linear programming (MILP) is one of the most widespread methods for STHS problems considering HUCs due to its modelling flexibility, simple and efficient software environment, and global search capability (Guedes et al., 2017). In (Cheng et al., 2016), a MILP model for HUC is developed, and the unit performance curves are discretized into a set of piecewise curves based on a discretized net head such that the head effect can be modelled. In (Zhao et al., 2021), a MILP-based HUC framework is proposed to solve the irregular forbidden zone-related constraints for very large hydropower plants. In (Guisández and Pérez-Díaz, 2021), five MILP formulations for piecewise linearization of the HPF equation are discussed: the traditional method based on a single concave piecewise-linear flow-power function (Conejo et al., 2002; Kong et al., 2020), the rectangle method (Borghetti et al., 2008; D’Ambrosio et al., 2010), the logarithmic independent branching 6-stencil method (Huchette and Vielma, 2017), the quadrilateral method (Keller and Karl, 2017), and the parallelogram method (PAR) (Guisández and Pérez-Díaz, 2021). The above-mentioned linearization methods can mitigate the computational burden, and the errors caused by linearization can be accepted in the economic dispatch of large hydropower stations with high head-power dependency and large installed capacity (Shi et al., 2017; Zhang et al., 2021). However, in the STHS of small hydropower plants, the operating net head of hydroelectric units is generally low, and the water volume of reservoirs and the installed capacity of hydro plants are generally small; therefore, the head effect is obvious. The effects of linearization errors in both the net head and the output can be ignored only if the breakpoints are sufficiently dense in the piecewise linearization process (Skjelbred et al., 2020). Nevertheless, with an increase in the density of breakpoints, the advantage of MILP in improving the solution efficiency is often lost with the sharp increase in the time cost.

To solve the above-mentioned large-scale, discrete non-convex and non-linear optimization problem of the unit-based STSHS (Marchand et al., 2018), dynamic programming (DP) has been applied effectively in the hydro scheduling field due to its superior performance in handling discrete variables and non-convex and non-linear constraints in STSHS problems (Morillo et al., 2020). DP decomposes a multi-stage decision problem into a number of single-stage sub-problems and can obtain the global optimal solution in most cases. However, DP is difficult to solve even for medium-sized scheduling problems because the computational burden increases exponentially with the dimensionality of the state space. To alleviate the problem of the curse of dimensionality, several variants of DP have been proposed in recent years. In (Flamm et al., 2021), a two-stage dual dynamic programming method is proposed to reconstruct the nonlinear problem; the approach is notable for its calculation accuracy and solving efficiency. In (Feng et al., 2017), an orthogonal discrete differential dynamic programming (ODDDP) method is introduced. The orthogonal experimental design can select some small but representative state combinations, thereby alleviating the curse of dimensionality. Although these improved DP methods have achieved various degrees of success in terms of alleviating the curse of dimensionality, the computational burden may still be intolerable when the problem scale reaches a certain degree. In addition, to ensure computational efficiency, the nonlinear expression of HPF in the literature is usually not sufficiently accurate, and the impacts of power generation on the water head are also not considered, so it is not suitable for STSHS. Thus, there is an urgent need to develop new efficient algorithms to improve the computational efficiency and convergence accuracy for STSHS.

Approximate dynamic programming (ADP) is an important and powerful artificial intelligence optimal method (Zeng et al., 2019) that has attracted considerable attention in the fields of power system scheduling (Lin et al., 2019; Zhu et al., 2019; Lin et al., 2020; Zhu et al., 2020). The theory of ADP was proposed by Powell W.B. (Powell, 2011), and its core idea is to avoid the traversal of all states to reduce the computational burden of value function approximation (VFA) while ensuring approximate accuracy. ADP has been successfully applied to power system optimization. In (Xue et al., 2022), an ADP algorithm proposed for the real-time schedule of an integrated heat and power system established the mapping relationship between the battery and heat storage tank to approximate the value function through a table function model, thereby achieving the approximation of the optimal value function by traversing discrete values with fewer state variables. In (Shuai et al., 2019), an ADP algorithm based on a piecewise-linear approximation strategy was employed to address the fluctuations in renewable energy generation and electricity prices in the real-time dispatching of microgrids. In (Shuai et al., 2020), a hybrid approximate dynamic programming method was proposed by combining model predictive control and ADP. The model was then applied to the real-time scheduling of gas-electricity integrated energy systems, successfully addressing the tight coupling between time periods caused by the material balance equation of natural gas systems. ADP inherits all the advantages of DP and can efficiently address discrete or continuous, linear or nonlinear, deterministic or stochastic problems (Qiu et al., 2020). However, to the best of our knowledge, few published studies have been conducted on solving the unit-based STSHS framework, especially when the HUC problem is non-convex and the HPF is a bivariate quadratic equation.

This paper formulates the unit-based STSHS optimization problem considering HUC as a mixed-integer nonlinear programming (MINLP) model, which includes the constraints that can describe the HPF and head effect of hydroelectric units accurately. We propose the ADP algorithm to solve the STSHS model without any approximation treatment of the nonlinear constraints.

The contributions of this paper are summarized as follows:

  • 1) An ADP algorithm is proposed to solve the STSHS model. The intractable MINLP problem is reformulated into a solvable NLP problem by decomposing the multi-period optimization into multiple single-period optimizations for the sake of computational tractability. The non-linear expression of HPF and the head effect is retained to ensure the optimality of the schedule strategy.

  • 2) A table function model is developed to establish the mapping relationship between the discrete states of the water volume of the reservoir and the value function; by such means, the high-dimensional state variables are aggregated to approximate the value function, and the optimal value function is approximated by the value iteration method. Thus, schedule strategy optimality and a computationally efficient policy are achieved.

  • 3) A state space compression strategy, according to the operation characteristics of small hydropower plants, is proposed for the consideration of both the effectiveness and optimization ability. This compression strategy can remove the redundant states from the search space by analyzing the variation in available water in each period, which does not reduce the number of discrete states. This strategy not only ensures the optimization ability but also greatly reduces the scale of the problem and further improves the computational efficiency.

The rest of this paper is organized as follows: Section 2 describes the STSHS framework, including the start-up and shutdown of each hydro unit. Section 3 proposes the ADP algorithm for the HUC, which is the main contribution of this paper. In Section 4, we test the proposed ADP algorithm on a realistic instance of a hydropower station with three identical units to verify the effectiveness of our method. Finally, Section 5 presents conclusions.

2 Description of short-term small hydropower scheduling framework considering hydro unit commitment

2.1 Objective function

The objective of the optimal operation of the STSHS is to find the maximum power generation of all the small hydropower units in the entire scheduling horizon, which can be expressed as

The output power is defined by the HPF, and it can generally be expressed as

The hydro turbine efficiency is associated with converting the water head potential energy in the reservoir into mechanical energy in the hydro turbine; therefore, it primarily depends on the water head and turbine flow. decreases as turbine flow increases after reaching the optimum efficiency point. Similarly, the hydropower generation efficiency is related to the conversion of mechanical energy into electrical energy in the generator, which is usually higher than 95%, and it increases monotonically as the output power of the generator increases.

Since the mathematical expression of the hydro unit efficiency function is considerably complicated, a fixed constant is typically used to replace the efficiency function irrespective of the characteristics of the HPF, which will lead to larger errors. To describe the input–output relationship of the efficiency function implicitly in the HPF more accurately, this paper conducts a polynomial fitting of the water head and water flow in the HPF based on the Hill diagram of the hydropower unit (Zhang et al., 2021; Zhao et al., 2021), which can be expressed aswhere , , , , and are the quadratic fitting coefficients of the HPF, which models the relationship between the power output of hydroelectric unit and the water discharge and net head.

2.2 Constraints

The STSHS problem is subject to a variety of constraints, including water balance, water level, water head, and other operating limits.

2.2.1 Water balance constraint

The volume change of the reservoir is affected by the inflow, water discharge and spillage of the reservoir. The water balance equation is denoted as

2.2.2 Water volume constraints

As the water volume of the reservoir at the end of the last period is the initial volume of the next dispatch horizon, to ensure the normal operation of the reservoir in the next dispatch horizon, the water volume of the reservoir at the beginning and the end of the dispatch horizon should be restricted as

2.2.3 Limit constraints of water volume

2.2.4 Net head balance constraint

2.2.5 Net head effect constraints

The head effect has a direct impact on the unit’s efficiency and operating limits, which is the crucial part of the formulation of the STSHS problem. For a fixed-head hydropower plant, the net head is relatively high; thus, the effect of water level changes in the forebay and tailrace caused by power generation can be ignored. However, for a low-head hydropower plant, the changes in the water levels of the forebay and tailrace have relatively obvious impacts on the net head. Therefore, the relationship between the forebay level and the water volume, as well as the tailrace level and the outflow, can be expressed aswhere , and are the fitting coefficients of the relationship between the forebay level and water volume. , and are the fitting coefficients of the relationship between the tailrace level and the total outflow of the hydropower plant, respectively.

2.2.6 Limits of net head

2.2.7 Output limits

2.2.8 Constraints of water discharge

3 Approximate dynamic programming

3.1 Process of approximate dynamic programming

ADP is an excellent method proposed by Powell to solve the curse of dimensionality problem of dynamic programming (Xue et al., 2022). A diagram of the use of ADP to solve the STSHS problem is illustrated in Figure 1, in which the system state includes the reservoir volume of the water head and the on/off status of the unit. The decision variables include the allocation of power generation flow, water spillage, and the start-up/shutdown action of units during each period. is the state vector of the next period after decision is executed in state . denotes the benefit generated by reaching state after executing . The value function reflects the influence of the current state on the revenue from period to , that is, the maximum power generation during .

FIGURE 1

According to the optimality principle, the above stage maximum profit problem can be transformed into single-period decision-making problems with the Bellman equation so that the optimal solution can be obtained via step-by-step recursion, which can be expressed as

The solution of the Bellman equation is based on the calculation of the value functions of all states in the state space. However, current computer technology is still insufficient to traverse the combination of the enormous state space and decision space. The key idea of ADP is to use the approximate value function instead of and to approximate the optimal value function in an iterative manner, thereby avoiding direct calculation of the value function.

The basic process of value function iteration is as follows:

First, set the initial value of the approximate value function of each state. Then, calculate the approximate value function from period 0 to period ; the optimal solution of this iteration is determined based on the rule that the function value of the last period is optimal. Next, proceed to the next iteration according to the updated approximation function. In this way, the approximate value function is gradually approximated to the optimal value function through the iterative process. In each iteration, instead of traversing the entire state space to calculate the value function, only a small number of states participate in the calculation in each period, so the computational complexity no longer increases exponentially with an increase in the number of state variables and the total number of periods, thereby overcoming the curse of dimensionality.

The value function approximation (VFA) methods commonly used in ADP include table function approximation, piecewise linear function approximation and neural network approximation, among which table function approximation is a basic but very effective method that can accurately approximate the complex non-linear value function in hydro economic dispatch. Hence, the look-up table model is applied to approximate the value function, and the value iteration method is employed to solve the Bellman equation.

3.2 Lookup table for the short-term small hydropower scheduling problem

The optimization strategy based on the look-up table establishes a mapping relationship between the discretized system state variables and the sum of the power generation of each time period. The table function is used to approximate the real value function, and by means of variable decoupling between time periods, the original MINLP problem can be decomposed into multiple NLP sub-problems containing only continuous variables to reduce the difficulty of solving.

The continuous variables in the state variables are discretized aswhere represents the discretization step size of the continuous variable. and are the upper and lower limits of the variable, respectively. is the number of discrete variables. In this paper, the water volume of the reservoir is discretized into states, and the on/off status of units is , so the size of the state space is . After the process of discretization, we can initialize an empty value table to measure the value of being in a state, and the size of the table is .

3.3 Approximate value iteration

The value iteration of ADP forms a value function sequence by continuously updating the value table to approximate the optimal value function. In each iteration, the decision is determined by the estimated value of the current value function and the state variable, which can be expressed aswhere is the decay factor. When is 0, the value function focuses on only the immediate benefits after the decision is made in the current period, and the algorithm becomes a short-sighted myopic algorithm. When approaches 1, the algorithm pays more attention to the benefits in the future period, which is more conducive to obtaining the optimal value table of the whole period. is the aggregated state variable.

After completing the decision for each period, the observed value of the value function of the current state is calculated as

Then, the value function of the previous period is updated aswhere is the step size in the k-th value iteration.

In the process of value iteration, only the value function corresponding to the state accessed in each period is updated. In other words, in the approximate value table, only the cells corresponding to the current reservoir volume and the unit on/off status are updated. In each iteration, the corresponding elements accessed in the table function are updated in a forward manner step by step until a converged approximation table is obtained. The iterative process for updating the value table is shown in Figure 2.

FIGURE 2

3.4 Compression of state space

In the above ADP algorithm, for each time period t, all discrete states are traversed when solving 15) to select the optimal decision-making action, which makes the solution process highly time-consuming. Therefore, to reduce the computational burden caused by the increase in discrete states, considering the operation mode of determining electricity-by-water of small hydropower, we compress the existing state space to further reduce the solution time.

First, the forecasting information of water inflow is developed to compress the search space of discrete states of water volume. For period t of the k-th iteration, the total available water volume can be defined as

To ensure , the upper bound of the search space of the water volume in the next period should not exceed . In addition, to avoid unreasonable water abandonment, the total available water should not exceed the upper limit of the power generation flow of the units; that is, the lower bound of the search space of the water volume in the next period should not be lower than . Therefore, the search space for discrete states of water volume can be restricted to:

Similar strategies can be used to compress the on/off status of units in the search space. For period t in the k-th iteration, if the difference between the total available water in this period and the previous period satisfies , unnecessary traversal of the state that requires a shutdown action to reach should be avoided. For instance, if the current unit status is [1,100], then [0100] and [1,000] should be eliminated in the decision space during this period. In contrast, if the available water volume is reduced compared with that in the previous period, the statuses that require a start-up action to reach should be avoided. Therefore, [1,110], [1,101] and [1,111] should be excluded from the search space.

The scale of the problem is greatly reduced by adopting the above compression processing strategy of the search space. For the hydro units of the identical model, their output characteristics are exactly the same. For the objective of maximum power generation, the exchange of on/off status between units will not affect the optimization results, so the optional states can be further compressed. For example, for the same four hydro units, assuming that the state in a certain period is [1,100], regardless of the trend of available water, the five statuses [1,010], [1,001], [0110], [0101] and [0011] in the state space can be represented by the original state [1,100], so these five states can be eliminated from the search space. When the number of units of the same model increases, the proposed strategy makes the state space no longer grow exponentially but increase linearly, further reducing the decision space, thereby greatly reducing the computational burden.

3.5 Description of non-convex operational zone in approximate dynamic programming process

The operational zone (OZ) of small hydropower units is usually a non-convex polygon region, as shown in Figure 3.

FIGURE 3

The boundaries of the irregularly shaped OZ vary with the net head and have several inflection points, such as points B and E, as illustrated in Figure 3, which makes the OZ a non-convex region. The mathematical representation of the irregularly shaped OZ can be derived as follows:where , , and represent the net head of points A, B, C and F, respectively. , and indicate the unit output of points A, E and F, respectively. and denote the slopes of and , respectively. If we employ a regularly shaped rectangle to approximate OZ, such as the red dotted box shown in Figure 3, the approximate OZ would not only raise the lower limit of unit output under the lower net head but also reduce the final generation. However, it will fail to ensure the safety of unit operation when the water discharge is large. Generally, such a non-convex region cannot be perfectly represented with linear constraints in programming models unless additional 0–1 variables are introduced.

Under the ADP framework proposed in this paper, the irregularly shaped OZ can be perfectly expressed. In each single-period optimization process, the variation in water volume is a constant. As a result, the optimal result of water discharge for each unit is obtained before solving the single-period sub-problem, which means the net head has already been pre-designated. Thus, the upper and lower boundaries of the OZ can be dynamically updated as the net head changes.

4 Case studies

A small hydropower plant in southern China is adopted as a test system to verify the effectiveness of the proposed formulation and methodology. The parameters of each unit are illustrated in Table 1. All simulations are implemented with MATLAB R2021a using a PC with a 3.6 GHz AMD R7 4700G processor and 16 GB of RAM. The scheduling period is 24 h, and the time resolution is 1 h.

TABLE 1

ParameterValueParameterValueParameterValueParameterValue
rmax (Mm3)14.4qmin (m3/s)14cp10.0971br0.0042
rmin (Mm3)13.4pmax (kW)4200dp78.0492cr21.4179
hmax (m)9.4pmin (kW)1,400ep9.4814aq−1.2228e-7
hmin (m)5.0ap−8.4886fp−427.0754bq0.0023
qmax (m3/s)52bp−0.1963ar−3.1084e-7cq20.88

Parameters of hydro units.

4.1 Iterative process of the approximate value function

To express the dynamic approximation process of the value function, we define the change rate of the approximation function as follows:

The indicator reflects the differences in the value function of each period compared with the optimal value function in the k-th iteration. The change in this difference represents the adjustment of the state of the ADP algorithm in the iterative process to achieve the maximum power generation. For instance, if the initial value function of period t is greater than the optimal value function , and in the k-th iteration, then there is , indicating that the value function of the state during the current period is better than the optimal value function. However, due to the significant impact on the state of t+1 and subsequent periods, which restricts future power generation, it is discarded in the subsequent iteration process. In contrast, if , then , indicating that the approximation of the value function in the current period is inferior to the optimal value function. Therefore, a better strategy will be sought in the subsequent iteration process.

Figure 4A shows the change rate of the approximate value function of the three units in 24 time periods with the ADP iteration process, and the change rate convergence curve for each time period is shown in Figure 4B. Figure 4 shows that oscillates positively and negatively with the value iteration process and finally converges to 0, indicating that the algorithm gradually updates the strategy in the iterative process and approaches the optimal value function to achieve the goal of maximum power generation.

FIGURE 4

4.2 Optimization results of single-unit short-term small hydropower scheduling

To clarify the approximation process of the power generation obtained by the proposed ADP algorithm to the optimal solution, the discrete state number Kr of the water volume is taken as 51, and the single-unit optimization convergence curve of the ADP algorithm is obtained as depicted in Figure 5. The ADP algorithm converges to the optimal generation of 66,849.81 kWh when the number of iterations reaches 1,325, which is only 0.0194% different from the optimal result of 66,862.79 kWh obtained by IPM, thereby demonstrating the optimality of the proposed ADP algorithm in solving the STSHS.

FIGURE 5

To illustrate the influence of Kr on the approximation of the optimal solution of the non-linear problem by the ADP algorithm, the number of discrete states Kr of water volume is taken as 11, 51, and 201, and the optimization results of single-unit STSHS by ADP and IPM are compared, as shown in Figure 6. As Kr increases, the water volume of ADP gradually approaches the optimal water volume of IPM. When Kr is 201, the water volume curve of ADP almost overlaps with that of IPM, which indicates that the decision made by ADP in each period will gradually approach the optimal as the number of discrete points of water volume increases.

FIGURE 6

To further illustrate the performance of the ADP algorithm, Table 2 lists the unit output of the IPM and ADP algorithms in all 24 time periods. Table 2 shows that as the number of discrete states of water volume increases, the approximate solution obtained by ADP gradually approaches the optimal solution obtained by IPM. When Kr = 11, the error compared to the maximum power generation of IPM is reduced to 0.0982%, which can fully meet the needs of engineering applications. When Kr is increased to 201, the error compared to the maximum power generation of IPM is only 0.0012%. The above results show that for the STSHS problem, the error between the solution of the ADP algorithm and the optimal solution is extremely small, and the quality of the solution can be significantly improved by increasing the number of discrete states, further indicating that the proposed algorithm has superior convergence performance and practical engineering value.

TABLE 2

PeriodOutput power of IPM (kW)Output power of ADP(Kr = 11) (kW)Output power of ADP(Kr = 51) (kW)Output power of ADP(Kr = 201) (kW)
11984.112,388.431986.911986.91
22058.921988.531990.152092.03
32,133.121991.771993.402095.03
42,206.781995.012,400.422,199.37
52,279.931998.252,402.422,302.68
62,352.362001.482,404.412,305.06
72,424.072,802.112,406.402,407.40
82,495.102,802.112,408.392,508.58
92,565.462,802.112,410.382,608.53
102,635.032,802.112,804.472,609.62
112,703.862,802.112,804.472,708.32
122,771.942,802.112,804.472,805.66
132,839.262,802.112,804.472,805.66
142,905.752,802.112,804.472,901.55
152,971.222,802.112,804.472,995.93
163,036.012,802.113,182.632,994.66
173,099.712,802.113,179.893,087.41
183,162.502,802.113,177.143,178.52
193,224.323,543.713,174.403,267.89
203,285.153,537.473,171.653,264.34
213,344.983,531.223,168.903,351.80
223,403.763,524.963,528.093,437.40
233,461.443,518.693,521.833,432.08
243,518.013,152.373,515.563,515.56
Total energy (kWh)66,862.7966,797.2166,849.8166,861.98
Error--0.0981%0.0194%0.0012%

Comparison of IPM and ADP optimization results.

4.3 Optimization results of multiple-unit short-term small hydropower scheduling

When the STSHS model includes 0–1 variables representing the on/off status of the units, it cannot be solved by IPM. With the maturity of the solving technology of the MILP problem, the MILP model of the STSHS problem can be achieved via piecewise linearization and then using a commercial solver to obtain the optimal solution. In this paper, PAR is used to perform piecewise linearization of the HPF function (3). The number of discrete points of net head Mh = 6, the number of discrete points of water discharge Mq = 11, and the obtained approximate output surface is shown in Figure 7.

FIGURE 7

For the STSHS problem involving three units, the state discrete number Kr of the water volume is set to 51, and the unit output optimization results obtained using ADP and PAR-MILP are shown in Figure 8.

FIGURE 8

Figure 8 shows that the units start and stop frequently in the MILP results. One reason is that the output characteristics of the three hydropower units are the same. The second reason is that, ignoring the start-up and shutdown costs of small-capacity hydropower units, if the inflow is small, the reservoir tends to store water to raise the net head, and the amount of water available for power generation is limited, resulting in an unnecessary start and stop. In comparison, the optimization results of unit commitment obtained via ADP are more stable and reasonable, among which unit 3 is not even turned on during the whole scheduling period. The reason is that in the ADP algorithm, the search space for the unit commitment decision is compressed, and the redundant on/off state is eliminated from the decision space. As a result, a relatively smooth unit commitment scheme can be obtained without applying additional constraints, such as unit start/stop costs.

Next, to further verify that the ADP algorithm proposed in this paper more easily achieves a satisfactory trade-off between solving efficiency and solution optimality compared with other algorithms, we compare the optimization results of MILP, MINLP and myopic methods with ADP. The Gurobi 9.1.2 commercial solver is used for MILP, and the LINGO commercial solver is used for MINLP. The results of the power outputs of each method under different reservoir inflows are shown in Figure 9, and the time consumption and total generation results are shown in Table 3.

FIGURE 9

TABLE 3

AlgorithmsADP(Kr = 21)MyopicPAR-MILPMINLP
Case 1Generation (kWh)67,205.4364,860.8963,740.567,071.40
Time (s)2,129.8209.47,685.243,200
Case 2Generation (kWh)61,910.6757,591.5858,545.6961,989.52
Time (s)1,589.641.43,687.12,800

Comparison of optimization results of each method.

As shown in Figure 9 and Table 3, regardless of the inflow changes, the generation results of ADP and MINLP are extremely close and larger than those of other methods because they completely retain the nonlinearity of HPF and the head effect. Although the myopic algorithm also completely retains the original non-linearity, due to its short-sighted characteristics, the impacts of the current strategy on the subsequent period cannot be considered in the decision-making process, and the power generation obtained is the lowest. Especially after rainfall, when the water inflow gradually decreases, the disadvantages of the myopic algorithm become more obvious. As shown in Figure 9B, myopic tends to maximize the water discharge during each time period, ignoring the reduction of net head in the next time period, which causes the total generation to be 7.5% less than that of the ADP method. Using commercial solvers directly to solve MINLP problems can also produce high-quality solutions, which are only 0.2% different from the ADP results, but the time consumption is 20 times greater than that of ADP. Although PAR-MILP approximates the nonlinear HPF surface by piecewise approximation, the energy generation optimization result is not substantially different from that of ADP, but the corresponding time cost is still much higher than that of ADP. The comparison results indicate that the solution quality of ADP is remarkable among the four algorithms on the premise of ensuring the optimization accuracy level within 0.2%. In terms of computational efficiency, ADP is superior to MILP and MINLP.

4.4 Effect of state space compression

To further illustrate the effect of the proposed state space compression strategy in improving the efficiency of ADP, the number of discrete states Kr of the water volume is set to 21, and the optimization results before and after state space compression are obtained, as shown in Table 4, where n is the number of ADP iterations and t is the time consumption of ADP.

TABLE 4

PeriodOutput power without state compression (kW)Output power with state compression (kW)
Unit 1Unit 2Unit 3Unit 1Unit 2Unit 3
10.001784.410.001784.410.000.00
20.001788.020.001788.020.000.00
30.001791.620.001791.620.000.00
40.001795.210.001795.210.000.00
50.001798.790.001798.790.000.00
60.001802.370.001802.370.000.00
70.001805.930.001805.930.000.00
80.001809.490.001809.490.000.00
90.001813.040.001813.040.000.00
100.002,835.360.002,835.360.000.00
110.002,835.360.002,835.360.000.00
120.002,835.360.002,835.360.000.00
130.002,835.360.002,835.360.000.00
140.002,835.360.002,835.360.000.00
150.002,835.360.002,835.360.000.00
160.002,835.360.002,835.360.000.00
170.002,835.360.002,835.360.000.00
180.002,835.360.002,835.360.000.00
190.002,835.360.002,835.360.000.00
200.002,835.360.002,835.360.000.00
210.002,835.360.002,835.360.000.00
220.002,850.362,850.362,850.362,850.360.00
230.002,832.072,832.072,832.072,832.070.00
242,813.692,813.690.002,813.692,813.690.00
Total energy (kWh)67,205.4367,205.43
n464464
t(s)4422.82,129.8

Comparison of optimization results before and after space compression.

Table 4 shows that the optimal power generation obtained by the ADP algorithm before and after state space compression is the same, indicating that the states eliminated by the proposed compression strategy are redundant states that do not need to be traversed and will not affect the algorithm’s optimization ability. In addition, the execution time of ADP after state compression is reduced by 51.84%, which demonstrates that the proposed compression strategy significantly improves the solution efficiency and is suitable for cases with multiple hydropower units, showing its potential practicability and validity for solving the STSHS problem.

4.5 The effect of value table size on approximate dynamic programming optimization results

To clarify the relationship between the approximate accuracy of ADP and the size of the value table, we set the discrete number Kr of the water volume to 21, 51, and 101, which means that the adjacent state intervals of the water volume are 50,000 m3, 20,000 m3, and 10,000 m3, respectively. To ensure that the reservoir can reach the maximum water storage capacity, the initial volume of the reservoir is set to 13.4 million m3. The simulation results of ADP with different values are shown in Table 5.

TABLE 5

Value table sizeKr = 21Kr = 51Kr = 101
Generated energy(kWh)67,205.4367,254.1767,262.80
Number of iterations4641,3252,628
Time consuming (s)2,129.811,764.147,941.7

Comparison of ADP optimization results with different value table sizes.

Table 5 shows that as the size of the value table increases, the power generation gradually increases, indicating that the quality of the solution also improves. In addition, the number of iterations and solution time increase linearly with the size of the value table. A possible explanation for this is that as the number of discrete states increases, the value table must be updated more often to better approximate the value function, so the number of iterations required to converge increases. In addition, since the state of the water volume is more discrete, in the ADP algorithm, more sub-problems must be solved in each period and in each iteration to make the optimal decision, resulting in an increase in the time consumption of each iteration. Therefore, when using ADP to solve the STSHS problem with unit commitment, a trade-off should be made between approximation accuracy and calculation time according to engineering requirements.

5 Conclusion

An ADP solution algorithm is proposed for the problem of short-term economic dispatch of small hydropower. The mapping relationship between the discrete state of the water volume and the value function is established through the table function model. Furthermore, the state space is compressed, and the MINLP problem is transformed into multiple NLP sub-problems to reduce the model complexity.

A comparison with the IPM optimization results shows that ADP and IPM tend to produce the same solution in the case of single-unit operation, which proves that the proposed ADP method can obtain high-quality solutions.

For the case of multi-unit optimal scheduling, comparison with the results of myopic, MILP and MINLP shows that ADP obtains better power generation results than myopic and MILP because it retains the nonlinearity of the original model. In addition, the solution time required to make MINLP obtain the same level of optimization results as ADP will obviously exceed that of ADP. This verifies that the proposed method can consider both the quality of the solution and the computational efficiency in solving the non-convex nonlinear SHED problem.

The results of ADP optimization with space compression show that the proposed space compression strategy can effectively reduce the number of candidate decision-making actions in the iterative process and significantly improve the solution efficiency.

Simulation results with different table sizes show that the proposed algorithm can achieve a balance between optimality and solution efficiency by setting the discrete number of water volumes.

Statements

Data availability statement

The original contributions presented in the study are included in the article/supplementary material, further inquiries can be directed to the corresponding author.

Author contributions

YJ: Software; Formal analysis; Investigation; Writing-Original Draft; Data Curation; Visualization. HW: Conceptualization; Methodology; Resources; Data Curation; Writing-Review & Editing Supervision; Funding acquisition.

Funding

This work was supported by the National Natural Science Foundation of China (No. 51967002) and in part by the Guangxi Special Fund for Innovation-Driven Development (AA19254034).

Conflict of interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

Nomenclature

Sets and indices

  • i

    index of hydro units

  • M

    set of units

  • t

    index of periods

  • T

    set of time periods

Parameters

  • hi,t

    net head of reservoir at period t

  • hmax

    maximum net head of the reservoir (m)

  • hmin

    minimum net head of the reservoir (m)

  • pmax i

    maximum production of unit i (kW)

  • pmin i

    minimum production of unit i (kW)

  • qmax i

    maximum water discharge of unit i (m3/s)

  • qmin i

    minimum water discharge of unit i (m3/s)

  • rfinal

    water volume of the reservoir at the end of the last period (m3)

  • rinit

    water volume of the reservoir at the beginning of the initial period (m3)

  • rmax

    maximum water volume of the reservoir (m3)

  • rmin

    minimum water volume of the reservoir (m3)

  • Δt

    length of each time period (h)

Variables

  • di,t

    binary variable, which is equal to 1 if hydro unit i is online at period t and 0 otherwise

  • ht

    net head of reservoir at period t

  • hdw t

    tailrace level of the reservoir at period t (m)

  • hup t

    forebay level of the reservoir in period t (m)

  • jt

    inflow of reservoir at period t (m3/s)

  • pi,t

    power output of hydro unit i at period t

  • qi,t

    water discharge of unit i at period t

  • rt

    water volume of the reservoir at period t (m3)

  • st

    total reservoir spillage in period t (m3/s)

References

  • 1

    ApostolopoulouD.MccullochM. (2019). Optimal short-term operation of a cascaded hydro-solar hybrid system: A case study in Kenya. IEEE Trans. Sustain. Energ.10 (4), 18781889. 10.1109/TSTE.2018.2874810

  • 2

    BorghettiA.D'AmbrosioC.LodiA.MartelloS. (2008). An MILP approach for short-term hydro scheduling and unit commitment with head-dependent reservoir. IEEE Trans. Power Syst.23 (3), 11151124. 10.1109/TPWRS.2008.926704

  • 3

    CatalãoJ.PousinhoH.MendesV. M. F. (2010). Mixed-integer nonlinear approach for the optimal scheduling of a head-dependent hydro chain. Electr. Power Syst. Res.80 (8), 935942. 10.1016/j.epsr.2009.12.015

  • 4

    ChenY.LiuF.LiuB.WeiW.MeiS. (2016). An efficient MILP approximation for the hydro-thermal unit commitment. IEEE Trans. Power Syst.31 (4), 33183319. 10.1109/TPWRS.2015.2479397

  • 5

    ChengC.WangJ.WuX. (2016). Hydro unit commitment with a head-sensitive reservoir and multiple vibration zones using MILP. IEEE Trans. Power Syst.31 (6), 48424852. 10.1109/TPWRS.2016.2522469

  • 6

    ChengX.FengS.ZhengH.WangJ.LiuS. (2022). A hierarchical model in short-term hydro scheduling with unit commitment and head-dependency. Energy251, 123908. 10.1016/j.energy.2022.123908

  • 7

    ConejoA.ArroyoJ.ContrerasJ.VillamorF. (2002). Self-scheduling of a hydro producer in a pool-based electricity market. IEEE Trans. Power Syst.17 (4), 12651272. 10.1109/TPWRS.2002.804951

  • 8

    D’AmbrosioC.LodiA.MartelloS. (2010). Piecewise linear approximation of functions of two variables in MILP models. Operations Res. Lett.38 (1), 3946. 10.1016/j.orl.2009.09.005

  • 9

    DinizA.MaceiraM. (2008). A four-dimensional model of hydro generation for the short-term hydrothermal dispatch problem considering head and spillage effects. IEEE Trans. Power Syst.23 (3), 12981308. 10.1109/TPWRS.2008.922253

  • 10

    FengZ.NiuW.ChengC.LiaoS. (2017). Hydropower system operation optimization by discrete differential dynamic programming based on orthogonal experiment design. Energy126, 720732. 10.1016/j.energy.2017.03.069

  • 11

    FlammB.EichlerA.WarringtonJ.LygerosJ. (2021). Two-stage dual dynamic programming with application to nonlinear hydro scheduling. IEEE Trans. Control Syst. Technol.29 (1), 96107. 10.1109/TCST.2019.2961645

  • 12

    GuedesL.de Mendonca MaiaP.LisboaA.VieiraD.SaldanhaR. (2017). A unit commitment algorithm and a compact MILP model for short-term hydro-power generation scheduling. IEEE Trans. Power Syst.32 (5), 33813390. 10.1109/TPWRS.2016.2641390

  • 13

    GuisándezI.Pérez-DíazJ. (2021). Mixed integer linear programming formulations for the hydro production function in a unit-based short-term scheduling problem. Int. J. Electr. Power & Energy Syst.128, 106747. 10.1016/j.ijepes.2020.106747

  • 14

    HuchetteJ.VielmaJ. (2017). Nonconvex piecewise linear functions: Advanced formulations and simple modeling tools. Available at: https://arxiv.org/pdf/1708.00050v3.pdf (Accessed July 19, 2020).

  • 15

    KellerM.KarlH. (2017). Response-time-optimized service deployment: MILP formulations of piece-wise linear functions approximating bivariate mixed-integer functions. IEEE Trans. Netw. Serv. Manage.14 (1), 121135. 10.1109/TNSM.2016.2611590

  • 16

    KongJ.SkjelbredH.FossoO. (2020). An overview on formulations and optimization methods for the unit-based short-term hydro scheduling problem. Electr. Power Syst. Res.178, 106027. 10.1016/j.epsr.2019.106027

  • 17

    LinS.FanG.JianG.LiuM. (2020). Stochastic economic dispatch of power system with multiple wind farms and pumped‐storage hydro stations using approximate dynamic programming. IET Renew. Power Gener.14 (13), 25072516. 10.1049/iet-rpg.2019.1282

  • 18

    LinS.WangY.LiuM.FanG.YangZ.LiQ.et al (2019). Stochastic optimal dispatch of PV/wind/diesel/battery microgrids using state‐space approximate dynamic programming. IET Gener. Transm. &amp. Distrib.13 (15), 34093420. 10.1049/iet-gtd.2018.5840

  • 19

    MarchandA.GendreauM.BlaisM.EmielG. (2018). Fast near-optimal heuristic for the short-term hydro-generation planning problem. IEEE Trans. Power Syst.33 (1), 227235. 10.1109/TPWRS.2017.2696438

  • 20

    MorilloJ.ZéphyrL.PérezJ.Lindsay AndersonC.CadenaÁ. (2020). Risk-averse stochastic dual dynamic programming approach for the operation of a hydro-dominated power system in the presence of wind uncertainty. Int. J. Electr. Power & Energy Syst.115, 105469. 10.1016/j.ijepes.2019.105469

  • 21

    PostolovB.IlievA. (2022). New metaheuristic methodology for solving security constrained hydrothermal unit commitment based on adaptive genetic algorithm. Int. J. Electr. Power & Energy Syst.134, 107163. 10.1016/j.ijepes.2021.107163

  • 22

    PowellW. (2011). Approximate dynamic programming: Solving the curses of dimensionality. Hoboken, NJ: John Wiley & Sons, Inc. Press.

  • 23

    QiuY.LinJ.LiuF.SongY.ChenG.DingL.et al (2020). Stochastic online generation control of cascaded run-of-the-river hydropower for mitigating solar power volatility. IEEE Trans. Power Syst.35 (6), 47094722. 10.1109/TPWRS.2020.2991229

  • 24

    ShiL.WangR.YaoL. Z. (2017). Modelling and solutions of coordinated economic dispatch with wind–hydro–thermal complex power source structure. IET Renew. Power Gener.11 (3), 262270. 10.1049/iet-rpg.2016.0429

  • 25

    ShuaiH.AiX.FangJ.DingT.ChenZ.WenJ.et al (2020). Real-time optimization of the integrated gas and power systems using hybrid approximate dynamic programming. Int. J. Electr. Power & Energy Syst.118, 105776. 10.1016/j.ijepes.2019.105776

  • 26

    ShuaiH.FangJ.AiX.TangY.WenJ.HeH.et al (2019). Stochastic optimization of economic dispatch for microgrid based on approximate dynamic programming. IEEE Trans. Smart Grid10 (3), 24402452. 10.1109/TSG.2018.2798039

  • 27

    SkjelbredH. I.KongJ.FossoO. (2020). Dynamic incorporation of nonlinearity into MILP formulation for short-term hydro scheduling. Int. J. Electr. Power & Energy Syst.116, 105530. 10.1016/j.ijepes.2019.105530

  • 28

    WangJ.ZhengH.FengS.ChenC.LiuS.WangY.et al (2022). Comparison of efficient procedures for hydropower unit commitment. Energy Rep.8, 24722479. 10.1016/j.egyr.2022.01.184

  • 29

    XueX.AiX.FangJ.YaoW.WenJ. (2022). Real-time schedule of integrated heat and power system: A multi-dimensional stochastic approximate dynamic programming approach. Int. J. Electr. Power & Energy Syst.134, 107427. 10.1016/j.ijepes.2021.107427

  • 30

    ZengP.LiH.HeH.LiS. (2019). Dynamic energy management of a microgrid using approximate dynamic programming and deep recurrent neural network learning. IEEE Trans. Smart Grid10 (4), 44354445. 10.1109/TSG.2018.2859821

  • 31

    ZhangY.AnX.WangC. (2021). Data-driven two-stage stochastic optimization model for short-term hydro-thermal-wind coordination scheduling based on the dynamic extreme scenario set. Sustain. Energy Grids Netw.27, 100489. 10.1016/j.segan.2021.100489

  • 32

    ZhaoZ.ChengC.LiaoS.LiY.LuQ. (2021). A MILP based framework for the hydro unit commitment considering irregular forbidden zone related constraints. IEEE Trans. Power Syst.36 (3), 18191832. 10.1109/TPWRS.2020.3028480

  • 33

    ZhuJ.MoX.ZhuT.GuoY.LuoT.LiuM.et al (2019). Real-time stochastic operation strategy of a microgrid using approximate dynamic programming-based spatiotemporal decomposition approach. IET Renew. Power Gener.13 (16), 30613070. 10.1049/iet-rpg.2019.0536

  • 34

    ZhuJ.WangC.GuoY.LuoT.MoX.XiaY.et al (2020). Approximate dynamic programming‐based decentralised robust optimisation approach for multi-area economic dispatch considering wind power uncertainty. IET Renew. Power Gener.14 (13), 23762385. 10.1049/iet-rpg.2019.0794

Summary

Keywords

water, small hydropower scheduling, hydropower unit commitment, approximate dynamic programming, renewable energy sources

Citation

Ji Y and Wei H (2022) An approximate dynamic programming method for unit-based small hydropower scheduling. Front. Energy Res. 10:965669. doi: 10.3389/fenrg.2022.965669

Received

10 June 2022

Accepted

29 June 2022

Published

18 July 2022

Volume

10 - 2022

Edited by

Jiajia Yang, University of New South Wales, Australia

Reviewed by

Luhao Wang, University of Jinan, China

Jinyu Wang, Xi’an Jiaotong University, China

Yumin Zhang, Shandong University of Science and Technology, China

Updates

Copyright

*Correspondence: Hua Wei,

This article was submitted to Smart Grids, a section of the journal Frontiers in Energy Research

Disclaimer

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.

Outline

Figures

Cite article

Copy to clipboard


Export citation file


Share article

Article metrics