A short-term optimal scheduling method for cascade hydropower stations based on power supply demand
By acquiring power grid and new energy data to calculate net load sequences, clustering and optimizing hydropower station output, and combining hydraulic constraints and boundary conditions, the problems of target conflict and insufficient hydraulic coupling in the scheduling of cascade hydropower stations were solved, achieving effective tracking of net load and improvement of peak-shaving capacity.
Patent Information
- Application Number
- CN202611410321.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-11
- Publication Date
- 2026-11-24
AI Technical Summary
In the existing cascade hydropower station scheduling, there is a conflict between medium- and long-term scheduling objectives and a lack of effective feedback. The cascade hydraulic coupling is not adequately considered, which makes it difficult to track the net load fluctuations in output. The daily residual load fluctuates greatly, and the available water volume is not fully utilized or the final water level deviates from the plan.
By acquiring grid load and renewable energy output data, calculating the net load sequence and performing clustering, optimizing the hydropower station output sequence, correcting the initial value of the next-level hydropower station by combining water flow lag time, setting output range and daily total power balance constraints, using a sequential quadratic programming algorithm to optimize the output shape, introducing hydraulic connection and operational boundary constraints, and feeding back to the medium- and long-term scheduling model for dynamic calibration.
It improves the ability of cascade hydropower stations to track changes in net load and their intraday peak-shaving capacity, ensures the feasibility of hydraulic coupling and the consistency of global optimization, achieves dual optimization of power generation benefits and supply guarantee and peak-shaving, shortens the optimization search space, and improves the accuracy and consistency of dispatching schemes.
Smart Images

Figure CN123163072A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of hydropower energy dispatching technology, and in particular to a short-term optimized dispatching method for cascade hydropower stations based on supply guarantee requirements. Background Technology
[0002] With the increasing proportion of new energy sources such as wind power and photovoltaic power, the daily net load of the power system exhibits characteristics of volatility, randomness, and widening peak-valley differences. Cascade hydropower stations, with their flexible start-up and shutdown, fast ramp-up speed, and strong regulation capabilities, can undertake functions such as peak shaving, power supply guarantee, and promoting the consumption of new energy sources in short-term operation.
[0003] The current scheduling of cascade hydropower stations is usually formulated separately for medium- and long-term plans and short-term plans, resulting in insufficient information feedback between different time scales. Medium- and long-term scheduling focuses on water utilization, reservoir capacity control, and comprehensive benefits, while short-term scheduling focuses on source-load matching, peak-shaving demand, and operational constraints. There may be conflicts between the objectives and boundary conditions of the two.
[0004] Meanwhile, cascade hydropower stations are connected by upstream and downstream hydraulic forces and experience flow lag. Adjustments to the output of a single station can affect the available water supply and output capacity of downstream stations. If scheduling is based solely on a single station or static load curve, it can easily lead to problems such as large fluctuations in daily residual load, insufficient utilization of available water, or deviations from the planned final water level.
[0005] Therefore, a short-term optimization scheduling method is needed that can comprehensively consider supply demand, fluctuations in new energy output, cascade hydraulic coupling, and boundary conditions at multiple time scales, in order to improve the ability of cascade hydropower stations to track changes in net load and their intraday peak-shaving capacity. Summary of the Invention
[0006] To address this, the present invention provides a short-term optimized scheduling method for cascade hydropower stations based on supply demand, which overcomes the problems in the prior art where there is a conflict between medium- and long-term scheduling objectives and a lack of effective feedback, and insufficient consideration of cascade hydraulic coupling, resulting in difficulty in tracking net load fluctuations in output.
[0007] To achieve the above objectives, this invention provides a short-term optimized scheduling method for cascade hydropower stations based on supply guarantee requirements. It includes: Step S1: Obtain the power grid load data, new energy output data and output data of each hydropower station in the cascade for each time period within the historical day. Calculate the net load sequence for each historical day based on the power grid load data and the new energy output data. Combine and cluster the output sequences of each hydropower station within the same historical day, and extract the typical output sequence of each hydropower station corresponding to each cluster center. Step S2: Using the typical output sequence as the initial value, optimize the output sequence of each hydropower station in the order of upstream and downstream of the cascade, with the goal of minimizing the deviation between the net load sequence and the total output sequence of the cascade. Determine the downstream flow rate based on the optimized output sequence, and correct the initial value of the next level hydropower station in combination with the water flow lag time. After completing the optimization of all hydropower stations, the first stage output sequence is obtained. Step S3: Determine the remaining load sequence based on the difference between the net load sequence and the output sequence of the first stage. Use the output and corresponding water level and flow of each hydropower station in each time period as decision variables, and the root mean square error of the total power generation of the cascade and the remaining load sequence as optimization objectives. Solve under hydraulic connection and operational boundary constraints to obtain the output sequence and corresponding flow and water level of each hydropower station in each time period. Step S4: Output the time-period output sequence and the corresponding flow rate and water level to the medium- and long-term scheduling model, and obtain updated load data, new energy output data and inflow data.
[0008] Furthermore, in step S1, the power grid load data for each time period within each historical day is subtracted from the corresponding time period's new energy output data to obtain the net load value for each time period of each historical day and form a net load sequence. The power output values of each hydropower station in each cascade for each time period within each historical day are combined into a T-dimensional vector. Clustering is then performed using the T-dimensional vectors of all historical days as samples. The clustering cost function is as follows: ; Where J is the clustering cost function and K is the number of clusters. Let x be the sample vector for the k-th cluster. Let K be the kth cluster center; the number of clusters K is determined by the elbow rule, and the vector of each cluster center is the typical output sequence of each hydropower station in the corresponding category.
[0009] Further, in step S2, the deviation between the net load sequence and the total output sequence of the cascade is measured by the residual load variance, and the objective function is: ; in, Let T be the objective function, and T be the number of time periods in the scheduling cycle. denoted as t, represents the difference between the output and net load of the cascade hydropower stations during the scheduling period t, and μ represents the average value of this difference within the scheduling cycle.
[0010] Furthermore, in step S2, when optimizing the power output sequence of each hydropower station, output range constraints and daily total power balance constraints are set: , ; in, The power output of the hydropower station during the dispatching period t. For the minimum output of the hydropower station, To maximize the output of the hydropower station, The optimized output value for the scheduling period t. This represents the initial output value for the scheduling period t.
[0011] Furthermore, in step S2, a sequential quadratic programming algorithm is used to optimize the output sequence of each hydropower station. During the optimization process, a quadratic programming subproblem is constructed using the gradient information of the objective function to determine the search direction. The Hessian matrix approximation is updated using the quasi-Newton method. A one-dimensional search is performed along the search direction to determine the step size and update the current output process. The iteration is repeated until the relative improvement of the variance of the remaining load before and after optimization is less than a set threshold, at which point the optimization is considered to have converged.
[0012] Furthermore, in step S2, the downstream flow sequence of the current hydropower station is determined based on the optimized output sequence of the current hydropower station. The downstream flow sequence is then delayed and corrected according to the upstream and downstream flow lag time, and superimposed with the interval flow to obtain the inflow sequence of the next-level hydropower station. The initial output sequence of the next-level hydropower station is then corrected based on the inflow sequence.
[0013] Furthermore, in step S3, the optimization objective of the total power generation of the cascade is to maximize it, and its expression is: ; Where E represents the total power generation of the cascade hydropower stations, M represents the number of cascade hydropower stations, and T represents the total number of scheduling periods. Let Δt be the average output of the m-th hydropower station during time period t, where Δt is the duration of the time period.
[0014] Furthermore, in step S3, the optimization objective of the mean square error of the remaining load sequence is to minimize it, and its expression is: ; in, To account for the mean square error of the remaining load during the scheduling cycle, The grid surplus load during time period t, Let t be the grid load. Let m be the output of the m-th hydropower station during time period t.
[0015] Furthermore, in step S3, the hydraulic connection and operational boundary constraints include at least water balance constraints, reservoir capacity constraints, outflow constraints, power generation flow constraints, power output limit constraints, upstream and downstream hydraulic connection constraints, and final water level limit constraints. The water balance constraint is: ; The reservoir capacity constraint is: ; The discharge flow constraint is: ; The power generation flow constraint is: ; The output limit constraint is as follows: ; The upstream and downstream hydraulic connection constraints: ; The final water level limit constraint: ; in, , These represent the reservoir capacity at time periods t and t+1, respectively. , Let be the average inflow and outflow of the m-th reservoir during time period t, respectively. Let m be the dead storage capacity or minimum allowable storage capacity of the m-th reservoir. This is the maximum storage capacity allowed under normal operating conditions. , Let be the minimum and maximum discharge flows of the m-th reservoir, respectively. , Let F be the minimum and maximum power generation flow rates of the m-th reservoir, respectively. Let m be the minimum allowable output of the m-th hydropower station. This is the maximum allowable output or installed capacity constraint for the m-th hydropower station; Let m be the inflow rate of the m-th hydropower station during time period t. For interval flow, The outflow from the reservoir of the next higher-level hydropower station is calculated based on the water flow lag time. The water flow delay time between adjacent cascade hydropower stations; Let m be the water level at the end of the short-term dispatch period of the m-th hydropower station. Let be the target water level at the end of the scheduling period of the m-th hydropower station, as determined by the medium- and long-term scheduling model.
[0016] Furthermore, in step S4, the output sequence, flow rate, and water level for each time period are output as feedback quantities to the medium- and long-term scheduling model to correct the water level boundary, water volume boundary, and available adjustment space for subsequent time periods in the medium- and long-term scheduling model.
[0017] Compared with the prior art, the beneficial effects of the present invention are as follows: This embodiment obtains the net load sequence by subtracting the grid load data from the new energy output data time by time, and uses the K-means clustering algorithm to combine and cluster the daily power generation processes of all historical cascade hydropower stations. The sum of the squared Euclidean distances between each sample vector and the center vector of its respective cluster is used as the clustering cost function, and the elbow rule is used to determine the optimal number of clusters. In this way, the typical daily power generation sequences of each hydropower station under various typical operating scenarios are extracted, providing an initial solution and shape reference benchmark that conforms to the actual operating rules for subsequent optimized scheduling, effectively reducing the search space for subsequent step-by-step optimization.
[0018] Furthermore, this embodiment sets output range constraints and daily total power balance constraints to ensure that the optimization process completes the output time sequence reconstruction while guaranteeing the safety and feasibility of single-station output and without changing the medium- and long-term water distribution. It adopts a sequential quadratic programming algorithm, uses the gradient information of the objective function to construct a quadratic programming subproblem, updates the Hessian matrix with a quasi-Newton method to approximate the optimal search direction, and combines a one-dimensional search to determine the optimal step size and iterate until convergence, effectively solving the output shape optimization problem. At the same time, it determines the downstream flow rate based on the optimized output sequence, corrects the initial output sequence of the next-level hydropower station by adjusting the upstream and downstream water flow lag time and superimposing it with the interval flow, and promotes the process step by step downwards, ensuring the accurate connection of water transfer between cascade power stations in time sequence. This ensures that the optimization of each level of hydropower station is based on the hydraulic boundary coordinated with the actual upstream outflow, improving the feasibility of cascade hydraulic coupling and the consistency of global optimization.
[0019] Furthermore, this embodiment aims to minimize the mean square error of the residual load sequence, thereby achieving optimal matching of the total output of the cascade to the net load in each time period and minimizing the fluctuations in the residual load. Simultaneously, it introduces water balance constraints to ensure that the reservoir water volume strictly adheres to the law of conservation, reservoir capacity constraints to prevent emptying or over-storage, downstream flow constraints to meet the comprehensive utilization needs of downstream water supply, ecology, and flood control, power generation flow constraints and output limits to ensure that the units operate in a safe and efficient range, upstream and downstream hydraulic connection constraints to accurately reflect the hydraulic connection relationship between the cascade reservoirs, and final water level constraints to ensure effective connection between short-term scheduling results and medium- and long-term plans. Thus, the scheduling scheme achieves dual optimization of power generation efficiency and supply guarantee and peak shaving while satisfying various hydraulic connections and operational boundaries.
[0020] Furthermore, this embodiment feeds back key state variables such as the end-of-period water level, actual available water consumption, and remaining regulating capacity from the short-term scheduling results to the medium- and long-term scheduling model. This allows the medium- and long-term model to dynamically adjust the water level boundaries, water allocation plans, and available regulating space for subsequent periods based on the actual short-term execution. This achieves dynamic calibration of the medium- and long-term plan based on the short-term execution results. Simultaneously, after obtaining updated load, new energy output, and inflow forecast data, steps S1 to S3 are called back for rolling re-optimization, forming a closed-loop feedback and continuous coordination between short-term and medium- and long-term scheduling. This ensures the information flow and consistency of scheduling decisions across different time scales. Attached Figure Description
[0021] Figure 1 This is a flowchart of a short-term optimized scheduling method for cascade hydropower stations based on supply guarantee requirements, as described in this application. Detailed Implementation
[0022] To make the objectives and advantages of the present invention clearer, the present invention will be further described below with reference to embodiments; it should be understood that the specific embodiments described herein are merely for explaining the present invention and are not intended to limit the present invention.
[0023] Preferred embodiments of the present invention will now be described with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are merely illustrative of the technical principles of the present invention and are not intended to limit the scope of protection of the present invention.
[0024] like Figure 1 As shown, Figure 1 This is a flowchart of a short-term optimized scheduling method for cascade hydropower stations based on supply guarantee requirements, as described in this application.
[0025] The technical solution provided in this application includes the following steps: Step S1: Obtain the power grid load data, new energy output data and output data of each hydropower station in the cascade for each time period within the historical day. Calculate the net load sequence for each historical day based on the power grid load data and the new energy output data. Combine and cluster the output sequences of each hydropower station within the same historical day, and extract the typical output sequence of each hydropower station corresponding to each cluster center. Step S2: Using the typical output sequence as the initial value, optimize the output sequence of each hydropower station in the order of upstream and downstream of the cascade, with the goal of minimizing the deviation between the net load sequence and the total output sequence of the cascade. Determine the downstream flow rate based on the optimized output sequence, and correct the initial value of the next level hydropower station in combination with the water flow lag time. After completing the optimization of all hydropower stations, the first stage output sequence is obtained. Step S3: Determine the remaining load sequence based on the difference between the net load sequence and the output sequence of the first stage. Use the output and corresponding water level and flow of each hydropower station in each time period as decision variables, and the root mean square error of the total power generation of the cascade and the remaining load sequence as optimization objectives. Solve under hydraulic connection and operational boundary constraints to obtain the output sequence and corresponding flow and water level of each hydropower station in each time period. Step S4: Output the time-period output sequence and the corresponding flow rate and water level to the medium- and long-term scheduling model, and obtain updated load data, new energy output data and inflow data.
[0026] Specifically, in step S1, the power grid load data for each time period within each historical day is subtracted from the corresponding time period's renewable energy output data to obtain the net load value for each time period of each historical day and form a net load sequence. The power output values of each hydropower station in each cascade for each time period within each historical day are combined into a T-dimensional vector. Clustering is then performed using the T-dimensional vectors of all historical days as samples. The clustering cost function is as follows: ; Where J is the clustering cost function and K is the number of clusters. Let x be the sample vector for the k-th cluster. Let K be the kth cluster center; the number of clusters K is determined by the elbow rule, and the vector of each cluster center is the typical output sequence of each hydropower station in the corresponding category.
[0027] In this embodiment, grid load data, wind power output data, and photovoltaic output data for a cascade hydropower station group (a total of 5 hydropower stations) in a certain river basin are obtained for 24 time periods each day over the past year. For any given historical day, the corresponding wind power output data and photovoltaic output data for each time period are subtracted from the grid load data for each time period to obtain the net load value for that day. The net load values for all time periods are combined in chronological order to form the net load sequence for that historical day. The above calculation is performed on all historical days to obtain the net load sequence for each historical day.
[0028] Simultaneously, for each historical day, the power output values of all 24 time periods of the five hydropower stations within that day are combined into a 120-dimensional vector according to the order of the power stations and the time periods. This vector fully depicts the intraday power output process of the cascade hydropower station group on that day. K-means clustering is performed using the 120-dimensional vectors from all historical days (365 in total) as samples. During the clustering process, the sum of the squared Euclidean distances between each sample vector and its corresponding cluster center vector is used as the clustering cost function to measure the compactness of the clustering results. The number of clusters K is determined using the elbow rule; that is, the clustering cost function values for different K values are calculated sequentially, a curve of the cost function changing with the K value is plotted, and the K value corresponding to the inflection point of the curve is selected as the optimal number of clusters. After clustering is completed, the cluster center vector of each cluster is the typical daily power output sequence of each hydropower station under the corresponding operational scenario.
[0029] This embodiment obtains the net load sequence by subtracting the grid load data from the renewable energy output data time by time. Then, it uses the K-means clustering algorithm to combine and cluster the daily power generation processes of all historical hydropower stations in the cascade. The sum of the squared Euclidean distances between each sample vector and the center vector of its respective cluster is used as the clustering cost function, and the elbow rule is used to determine the optimal number of clusters. This extracts the typical daily power generation sequences of each hydropower station under various typical operating scenarios, providing an initial solution and shape reference benchmark that conforms to the actual operating rules for subsequent optimized scheduling, effectively reducing the search space for subsequent step-by-step optimization.
[0030] This embodiment also introduces a joint matching mechanism between net load sequences and clustering results. That is, while completing the clustering of the output sequences of each hydropower station, the net load sequences of each historical day are simultaneously clustered or categorized by scenario. A correspondence is established between the category labels of the net load sequences and the clustering labels of the hydropower station output sequences, thus associating the extracted typical output sequences with specific net load scenario types. In step S2, based on the scenario category to which the actual net load prediction curve of the current scheduling day belongs, the typical output sequences of each hydropower station under the corresponding category are selected as the initial optimization values, rather than using the same set of typical sequences for all scenarios.
[0031] In this embodiment, after completing K-means clustering and extracting the center vectors of each cluster, the historical days corresponding to all samples in each cluster are further statistically analyzed to obtain the net load sequences of these historical days. The net load sequences are then averaged to obtain the typical net load curve corresponding to each cluster. This establishes a mapping relationship between "scenario category—typical net load curve—typical output sequence of each hydropower station." In actual scheduling, the net load prediction curve for the current scheduling day is first compared with the typical net load curves of each category, and the typical output sequence of each hydropower station corresponding to the most similar category is selected as the initial optimization value for that scheduling day. If the net load prediction for a certain day exhibits a bimodal characteristic and is closest to the transition period category, then the typical output sequence of each hydropower station under the transition period category is preferentially used as the initial value. This matching mechanism makes the selection of initial values more targeted and further reduces the search space for output shape optimization.
[0032] Specifically, in step S2, the deviation between the net load sequence and the total output sequence of the cascade is measured by the residual load variance, and the objective function is: ; in, Let T be the objective function, and T be the number of time periods in the scheduling cycle. denoted as t, represents the difference between the output and net load of the cascade hydropower stations during the scheduling period t, and μ represents the average value of this difference within the scheduling cycle.
[0033] In this embodiment, the typical output sequence of each hydropower station extracted in step S1 is used as the initial output process of each hydropower station. When optimizing the output shape, the net load value of each time period of the current scheduling day is first calculated, and the output value of each hydropower station in the cascade is obtained for the current time period. The output values of each hydropower station in the same time period are added together to obtain the total output value of the cascade. Then, the net load value of the time period is subtracted from the total output value of the cascade to obtain the residual load value of the time period. The above calculation is performed for each scheduling time period. After obtaining the residual load value of each time period, the average value of the residual load value of all time periods is calculated. Then, the sum of the squares of the differences between the residual load value of each time period and the average value is calculated and divided by the total number of time periods. The result is the variance value of the deviation between the net load and the total output of the cascade within the scheduling cycle. This variance value directly reflects the degree of deviation of the total output of the cascade from the net load in terms of time sequence. Minimizing this variance is taken as the goal of power output shape optimization. That is, by adjusting the power output process of each hydropower station, the total output of the cascade and the net load are as close as possible in each time period, thereby reducing the overall deviation between the two.
[0034] Specifically, in step S2, when optimizing the power output sequence of each hydropower station, power output range constraints and daily total power balance constraints are set: , ; in, The power output of the hydropower station during the dispatching period t. For the minimum output of the hydropower station, To maximize the output of the hydropower station, The optimized output value for the scheduling period t. This represents the initial output value for the scheduling period t.
[0035] In this embodiment, when optimizing the output sequence of each hydropower station step by step, output range constraints and daily total power balance constraints are set for each level of hydropower station. The output range constraint requires that the output value of the hydropower station at any time period must not be lower than its technical minimum output to ensure operational safety, nor higher than its installed capacity or maximum allowable output to avoid equipment overload, ensuring that the output at each time period is within the feasible range during the optimization process. The daily total power balance constraint requires that the total power generation of the hydropower station after optimization be consistent with the initial total power generation before optimization. That is, while keeping the total power generation of the hydropower station unchanged for the day, only the output distribution at each time period is readjusted, so that the optimization process does not change the total power generation efficiency of the hydropower station, but only changes the temporal distribution of output to match the changes in net load, thereby ensuring the feasibility of the optimization results in medium- and long-term water allocation.
[0036] Specifically, in step S2, a sequential quadratic programming algorithm is used to optimize the output sequence of each hydropower station. During the optimization process, a quadratic programming subproblem is constructed using the gradient information of the objective function to determine the search direction. The Hessian matrix approximation is updated using the quasi-Newton method. A one-dimensional search is performed along the search direction to determine the step size and update the current output process. The iteration is repeated until the relative improvement of the variance of the remaining load before and after optimization is less than a set threshold, at which point the optimization is considered to have converged.
[0037] In this embodiment, the Sequential Quadratic Programming (SLSQP) algorithm is used to optimize the output shape. First, a convergence tolerance is set, the gradient components are calculated using the objective function, and the gradient information is used to find directions for improvement. , ; in, The power output of the hydropower station during the dispatch period t, This represents the gradient of the objective function with respect to the force output at each time interval. Let μ be the difference between the output and net load of the cascade hydropower stations during the dispatch period t, and let μ be the mean of this difference.
[0038] Construct a quadratic programming subproblem at the current point, perform a local quadratic approximation of the optimization objective, and calculate feasible optimization search directions: ; Where d represents the search direction. The Hessian matrix is approximated and updated using the BFGS method.
[0039] Perform a one-dimensional search along the search direction and determine the optimal step size according to the sufficient descent criterion: ; in, Let α be the current output process corresponding to the k-th iteration, where α is the step size and c is the sufficient descent coefficient.
[0040] The current output process is updated using the determined optimal step size and search direction: ; Update the approximation of the Hessian matrix based on gradient information: ; in, y is an approximation of the Hessian matrix in the (k+1)th iteration, s is the difference between the output variables of two adjacent iterations, and y is the difference between the gradients of two adjacent iterations.
[0041] A convergence check is performed. If the improvement in variance before and after optimization is less than a threshold, the current output shape optimization is considered to have converged. ; in, To optimize the variance of the pre-load margin, ε is a set threshold value to optimize the residual load variance. After optimizing the current hydropower station, the initial output process of the next-level hydropower station is corrected based on the changes in downstream flow and the lag time of upstream and downstream water flow corresponding to the optimized output, and the optimization of all cascade hydropower stations is completed in sequence.
[0042] Specifically, in step S2, the downstream flow sequence of the current hydropower station is determined based on the optimized output sequence of the current hydropower station. The downstream flow sequence is then delayed and corrected according to the upstream and downstream flow lag time, and superimposed with the interval flow to obtain the inflow sequence of the next-level hydropower station. The initial output sequence of the next-level hydropower station is then corrected based on the inflow sequence.
[0043] In this embodiment, after optimizing the output sequence of the current-level hydropower station, the optimized output values for each time period are converted into corresponding power generation flow values based on the conversion relationship between the power output value and the power generation flow. Then, combined with other necessary downstream discharge flows (such as ecological flow and wastewater discharge), the downstream discharge flow sequence for each time period of the hydropower station is obtained. Since there is a clear flow lag between cascade hydropower stations, the water discharged from the upper-level hydropower station at a certain time period needs a certain propagation time to reach the reservoir area of the lower-level hydropower station. Therefore, the downstream discharge flow sequence is delayed according to the flow lag between upstream and downstream, so that the downstream discharge flow of each time period of the upper-level station corresponds to the inflow time axis of the downstream power station. Then, it is superimposed with the concurrent inflow flow of the lower-level hydropower station to obtain the inflow flow sequence of each time period of the lower-level hydropower station. Based on the inflow sequence, combined with the reservoir capacity characteristic curve and water level-storage capacity relationship of the next-level hydropower station, the available power output range and initial power output process are recalculated. This corrects the typical power output sequence of the next-level hydropower station extracted in step S1, ensuring that the corrected initial power output sequence matches the actual available inflow to the station. On this basis, the power output shape of the next-level hydropower station is further optimized. This process is continued step by step until the optimization of all cascade hydropower stations is completed, ensuring that the optimization of each hydropower station is based on hydraulic boundaries that are coordinated with the actual outflow from the upstream.
[0044] This embodiment sets output range constraints and daily total power balance constraints to ensure the optimization process can reconstruct the output time sequence while maintaining the safety and feasibility of single-station output and without changing the medium- and long-term water distribution. It adopts a sequential quadratic programming algorithm, using the gradient information of the objective function to construct a quadratic programming subproblem, updating the Hessian matrix with a quasi-Newton method to approximate the optimal search direction, and combining a one-dimensional search to determine the optimal step size and iterating until convergence, effectively solving the output shape optimization problem. At the same time, it determines the downstream flow rate based on the optimized output sequence, corrects the initial output sequence of the next-level hydropower station by adjusting the upstream and downstream water flow lag time and superimposing it with the interval flow, and promotes the process step by step downwards, ensuring the accurate connection of water transfer between cascade power stations in time sequence. This ensures that the optimization of each level of hydropower station is based on the hydraulic boundary coordinated with the actual upstream outflow, improving the feasibility of cascade hydraulic coupling and the consistency of global optimization.
[0045] Specifically, in step S3, the optimization objective of the total power generation of the cascade is to maximize it, and its expression is: ; Where E represents the total power generation of the cascade hydropower stations, M represents the number of cascade hydropower stations, and T represents the total number of scheduling periods. Let Δt be the average output of the m-th hydropower station during time period t, where Δt is the duration of the time period.
[0046] In this embodiment, the first-stage output sequence obtained in step S2 is used as the initial solution. The sum of the products of the output of each level of hydropower station and the duration of the time period during the entire scheduling day is taken as the cascade comprehensive power generation, and maximizing this power generation is one of the optimization objectives. Since the total power generation of each hydropower station has been kept constant through the daily total power balance constraint in step S2, but the output time sequence distribution of each power station has been initially adjusted at this time, step S3 aims to maximize the cascade comprehensive power generation. This aims to fully tap the power generation potential of the cascade hydropower station group under the current hydraulic boundary conditions and inflow conditions, and to improve the water energy utilization rate as much as possible. This objective reflects the core demand for pursuing economic benefits in the short-term scheduling of cascade hydropower stations. Together with the subsequent objective of minimizing the mean square error of the remaining load, it constitutes a multi-objective optimization framework, enabling the scheduling scheme to achieve a coordinated balance between economy and safety.
[0047] Specifically, in step S3, the optimization objective of the mean square error of the remaining load sequence is to minimize it, and its expression is: ; in, To account for the mean square error of the remaining load during the scheduling cycle, The grid surplus load during time period t, Let t be the grid load. Let m be the output of the m-th hydropower station during time period t.
[0048] In this embodiment, minimizing the root mean square error of the residual load sequence is used as another optimization objective, based on maximizing the total power generation of the cascade hydropower stations. For each time period within the scheduling day, the net load value of the power grid for that time period is first obtained. Then, the output values of each hydropower station in the cascade are summed to obtain the total output of the cascade. The net load value is subtracted from the total output of the cascade to obtain the residual load value for that time period. The above calculation is performed for all time periods one by one. After obtaining the residual load value for each time period, the average value of the residual load value for all time periods is calculated. Then, the sum of the squares of the differences between the residual load value for each time period and the average value is calculated and divided by the total number of time periods. The result is the root mean square error of the residual load sequence for that scheduling cycle. Since the residual load reflects the remaining part of the system load that still needs to be borne by other power sources after being absorbed by hydropower, the smaller the root mean square error value, the higher the degree of matching between the total output of the cascade hydropower stations and the net load in each time period, and the smoother the fluctuation of the residual load, thereby effectively reducing the peak-shaving pressure of other power sources such as thermal power. The goal of minimizing the mean square error is combined with the goal of maximizing the total power generation of the cascade to form a multi-objective optimization relationship.
[0049] Specifically, in step S3, the hydraulic connection and operational boundary constraints include at least water balance constraints, reservoir capacity constraints, outflow constraints, power generation flow constraints, power output limit constraints, upstream and downstream hydraulic connection constraints, and final water level limit constraints. The water balance constraint is: ; The reservoir capacity constraint is: ; The discharge flow constraint is: ; The power generation flow constraint is: ; The output limit constraint is as follows: ; The upstream and downstream hydraulic connection constraints are as follows: ; The final water level limit constraint is as follows: ; in, , These represent the reservoir capacity at time periods t and t+1, respectively. , Let be the average inflow and outflow of the m-th reservoir during time period t, respectively. Let m be the dead storage capacity or minimum allowable storage capacity of the m-th reservoir. This is the maximum storage capacity allowed under normal operating conditions. , Let be the minimum and maximum discharge flows of the m-th reservoir, respectively. , Let F be the minimum and maximum power generation flow rates of the m-th reservoir, respectively. Let m be the minimum allowable output of the m-th hydropower station. This is the maximum allowable output or installed capacity constraint for the m-th hydropower station; Let m be the inflow rate of the m-th hydropower station during time period t. For interval flow, The outflow from the reservoir of the next higher-level hydropower station is calculated based on the water flow lag time. The water flow delay time between adjacent cascade hydropower stations; Let m be the water level at the end of the short-term dispatch period of the m-th hydropower station. Let be the target water level at the end of the scheduling period of the m-th hydropower station, as determined by the medium- and long-term scheduling model.
[0050] In this embodiment, the medium-to-long-term scheduling model refers to a medium-to-long-term optimized scheduling model with a monthly, quarterly, or annual scheduling cycle and a group of cascade hydropower stations as the control object. It is established in advance independently of the short-term optimized scheduling method of this application. The input of the model includes medium-to-long-term runoff forecasts, annual inflow forecasts, and load forecasts. The output includes the target water level, target outflow, and planned power generation of each hydropower station for each medium-to-long-term period. The output directly related to this application is the target water level at the end of the short-term scheduling period of each hydropower station. This target water level serves as the boundary value of the end-of-term water level constraint in step S3.
[0051] The medium- and long-term scheduling model and the short-term optimization scheduling method of this application form a two-way closed-loop mutual feedback relationship: in the forward transmission direction, the medium- and long-term model outputs boundary conditions such as the target water level at the end of the period to the short-term model, so that the short-term scheduling is executed under the medium- and long-term water allocation framework; in the reverse feedback direction, step S4 outputs the actual execution results of the short-term scheduling (power output, outflow, and water level at the end of the period) to the medium- and long-term model. The medium- and long-term model performs rolling corrections on the water level boundary, water allocation, and adjustment space of subsequent periods based on the deviation between the actual water level at the end of the period and the target water level, and re-optimizes after obtaining updated inflow and load forecast data, providing new boundary conditions for the next round of short-term scheduling, thereby realizing information connection and dynamic calibration between scheduling at different time scales.
[0052] In this embodiment, the water balance constraint ensures that the reservoir's capacity at the end of any given time period equals its initial capacity plus the difference between the inflow and outflow during that time period multiplied by the time period length, thus ensuring that the reservoir's water volume strictly adheres to the law of conservation. The reservoir capacity constraint ensures that the reservoir's capacity at each time period remains between its dead storage capacity and the capacity corresponding to its normal storage level, preventing the reservoir from emptying or exceeding its storage capacity. The discharge flow constraint ensures that the discharge flow of each reservoir at each time period falls between its minimum and maximum discharge flow, meeting the comprehensive utilization needs of downstream water supply, ecological conditions, and flood control. The power generation flow constraint ensures that the power generation flow of each reservoir at each time period falls between the minimum and maximum allowable power generation flow of the generating units, ensuring that the generating units operate within a safe and efficient range. The power output constraint ensures that the power output of each hydropower station at each time period falls between its minimum allowable output and its installed capacity or maximum allowable output, ensuring that the unit's output does not exceed its stable operating range. Upstream and downstream hydraulic linkage constraints mean that the inflow to any downstream reservoir is composed of the outflow from the upstream hydropower station (calculated by adjusting for flow lag time) and the inflow between the downstream reservoirs, accurately reflecting the hydraulic connection between cascade reservoirs. Final water level constraints mean that the final water level of each hydropower station during the scheduling period must be strictly equal to the target final water level given by the medium- and long-term scheduling model, ensuring effective alignment between short-term scheduling results and medium- and long-term plans.
[0053] This embodiment aims to minimize the mean square error of the residual load sequence, thereby achieving optimal matching of the total output of the cascade to the net load in each time period and minimizing residual load fluctuations. Simultaneously, it introduces water balance constraints to ensure that reservoir water volume strictly adheres to the law of conservation, reservoir capacity constraints to prevent emptying or over-storage, downstream flow constraints to meet the comprehensive utilization needs of downstream water supply, ecology, and flood control, power generation flow constraints and output limits to ensure the units operate in a safe and efficient range, upstream and downstream hydraulic connection constraints to accurately reflect the hydraulic connection between cascade reservoirs, and final water level constraints to ensure effective alignment between short-term scheduling results and medium- and long-term plans. Thus, the scheduling scheme achieves dual optimization of power generation efficiency and supply guarantee / peak shaving while satisfying various hydraulic connections and operational boundaries.
[0054] This application also introduces an adaptive weighting mechanism for the objective function. Specifically, in the dual-objective optimization process of step S3 (maximizing total cascade power generation and minimizing the mean square error of remaining load), the weight coefficients or priority order between the two objectives are dynamically adjusted based on the current supply demand level or grid operating status on the dispatch day, rather than using fixed weights or a fixed optimization order. When the supply demand is high or the predicted net load peak-valley difference is large, the weight or priority of the objective of minimizing the mean square error of remaining load is automatically increased; when water inflow is abundant and supply pressure is low, the weight or priority of the objective of maximizing power generation is automatically increased.
[0055] In this embodiment, the supply demand level is pre-set to two levels: if the daily net load peak-valley difference exceeds a set threshold or the power grid issues a power supply guarantee warning, it is determined to be a high supply demand level. During optimization, a hierarchical optimization method is adopted, prioritizing minimizing the residual load mean square error, and then maximizing the total cascade power generation while ensuring the residual load mean square error does not exceed an acceptable range. If the daily net load peak-valley difference does not exceed the set threshold and there is no power supply guarantee warning, it is determined to be a normal operation level. During optimization, a normalized weighted summation method is used for the two objectives, with a power generation target weight coefficient of 0.4 and a residual load mean square error target weight coefficient of 0.6. When the daily net load peak-valley difference is 45% (exceeding the set threshold of 30%) and the power grid issues a power supply guarantee warning, hierarchical optimization is automatically adopted, prioritizing minimizing residual load fluctuations to ensure the system's peak-shaving capacity. When the daily net load peak-valley difference is 20% and there is no warning, a weighted summation method is used to simultaneously consider power generation efficiency and peak-shaving demand.
[0056] Specifically, in step S4, the output sequence, flow rate, and water level for each time period are output as feedback quantities to the medium- and long-term scheduling model to correct the water level boundary, water volume boundary, and available adjustment space for subsequent time periods in the medium- and long-term scheduling model.
[0057] In this embodiment, the results obtained in step S3, such as the power output sequence of each level of hydropower station, the reservoir capacity or water level change process of each reservoir, and the inflow and outflow of each period, are summarized and organized to form a complete short-term scheduling execution plan. Key state variables in this plan, such as the final water level, actual available water consumption, actual outflow process of each period, and remaining regulating capacity, are output as feedback information to the medium- and long-term scheduling model. After receiving the feedback, the medium- and long-term scheduling model, based on the actual water level drop points and water consumption in the short-term scheduling plan, corrects and updates the water level boundaries, water allocation plans, and available regulating space in the subsequent remaining period. This ensures that the medium- and long-term plan is no longer statically executed based on initial assumptions, but dynamically adjusts the scheduling boundaries of subsequent periods based on the actual short-term scheduling results. Simultaneously, as time progresses, after obtaining updated grid load forecast data, new energy output forecast data, and inflow forecast data, steps S1 to S3 are called again for a new round of short-term optimization calculations.
[0058] This embodiment feeds back key state variables such as the end-of-period water level, actual available water consumption, and remaining regulating capacity from the short-term scheduling results to the medium- and long-term scheduling model. This allows the medium- and long-term model to dynamically adjust the water level boundaries, water allocation plans, and available regulating space for subsequent periods based on the actual short-term execution. This achieves dynamic calibration of the medium- and long-term plan based on the short-term execution results. Simultaneously, after obtaining updated load, renewable energy output, and inflow forecast data, steps S1 to S3 are called back for rolling re-optimization, forming a closed-loop feedback and continuous coordination between short-term and medium- and long-term scheduling. This ensures the information flow and consistency of scheduling decisions across different time scales.
[0059] The above embodiments are merely illustrative examples and are not intended to limit the implementation. Those skilled in the art will recognize that other variations or modifications can be made based on the above description. It is neither necessary nor possible to exhaustively list all possible implementations. However, obvious variations or modifications derived therefrom are still within the scope of protection of this application.
Claims
1. A short-term optimal scheduling method for cascade hydropower stations based on supply guarantee demand, characterized in that, include: Step S1: Obtain the power grid load data, new energy output data and output data of each hydropower station in the cascade for each time period within the historical day. Calculate the net load sequence for each historical day based on the power grid load data and the new energy output data. Combine and cluster the output sequences of each hydropower station within the same historical day, and extract the typical output sequence of each hydropower station corresponding to each cluster center. Step S2: Using the typical output sequence as the initial value, optimize the output sequence of each hydropower station in the order of upstream and downstream of the cascade, with the goal of minimizing the deviation between the net load sequence and the total output sequence of the cascade. Determine the downstream flow rate based on the optimized output sequence, and correct the initial value of the next level hydropower station in combination with the water flow lag time. After completing the optimization of all hydropower stations, the first stage output sequence is obtained. Step S3: Determine the remaining load sequence based on the difference between the net load sequence and the output sequence of the first stage. Use the output and corresponding water level and flow of each hydropower station in each time period as decision variables, and the root mean square error of the total power generation of the cascade and the remaining load sequence as optimization objectives. Solve under hydraulic connection and operational boundary constraints to obtain the output sequence and corresponding flow and water level of each hydropower station in each time period. Step S4: Output the time-period output sequence and the corresponding flow rate and water level to the medium- and long-term scheduling model, and obtain updated load data, new energy output data and inflow data.
2. The method according to claim 1, characterized in that, In step S1, the power grid load data for each time period within each historical day is subtracted from the new energy output data for the corresponding time period to obtain the net load value for each time period of each historical day and form a net load sequence. The power output values of each hydropower station in each cascade for each time period within each historical day are combined into a T-dimensional vector. Clustering is then performed using the T-dimensional vectors of all historical days as samples. The clustering cost function is as follows: ; Where J is the clustering cost function and K is the number of clusters. Let x be the sample vector for the k-th cluster. Let K be the kth cluster center; the number of clusters K is determined by the elbow rule, and the vector of each cluster center is the typical output sequence of each hydropower station in the corresponding category.
3. The method according to claim 1, characterized in that, In step S2, the deviation between the net load sequence and the total output sequence of the cascade is measured by the residual load variance, and the objective function is: ; in, Let T be the objective function, and T be the number of time periods in the scheduling cycle. denoted as t, represents the difference between the output and net load of the cascade hydropower stations during the scheduling period t, and μ represents the average value of this difference within the scheduling cycle.
4. The method according to claim 1, characterized in that, In step S2, when optimizing the power output sequence of each hydropower station, power output range constraints and daily total power balance constraints are set: , ; in, The power output of the hydropower station during the dispatching period t. For the minimum output of the hydropower station, To maximize the output of the hydropower station, The optimized output value for the scheduling period t. This represents the initial output value for the scheduling period t.
5. The method according to claim 1, characterized in that, In step S2, a sequential quadratic programming algorithm is used to optimize the output sequence of each hydropower station. During the optimization process, a quadratic programming subproblem is constructed using the gradient information of the objective function to determine the search direction. The Hessian matrix approximation is updated using the quasi-Newton method. A one-dimensional search is performed along the search direction to determine the step size and update the current output process. The iteration is repeated until the relative improvement of the variance of the remaining load before and after optimization is less than a set threshold, at which point the optimization is considered to have converged.
6. The method according to claim 1, characterized in that, In step S2, the downstream flow sequence of the current hydropower station is determined based on the optimized output sequence of the current hydropower station. The downstream flow sequence is then delayed and corrected according to the upstream and downstream flow lag time, and superimposed with the interval flow to obtain the inflow sequence of the next-level hydropower station. The initial output sequence of the next-level hydropower station is then corrected based on the inflow sequence.
7. The method according to claim 1, characterized in that, In step S3, the optimization objective of the total power generation of the cascade is to maximize it, and its expression is: ; Where E represents the total power generation of the cascade hydropower stations, M represents the number of cascade hydropower stations, and T represents the total number of scheduling periods. Let Δt be the average output of the m-th hydropower station during time period t, where Δt is the duration of the time period.
8. The method according to claim 1, characterized in that, In step S3, the optimization objective of the mean square error of the remaining load sequence is to minimize it, and its expression is: ; in, To account for the mean square error of the remaining load during the scheduling cycle, The grid surplus load during time period t, Let t be the grid load. Let m be the output of the m-th hydropower station during time period t.
9. The method according to claim 1, characterized in that, In step S3, the hydraulic connection and operational boundary constraints include at least water balance constraints, reservoir capacity constraints, outflow constraints, power generation flow constraints, power output limit constraints, upstream and downstream hydraulic connection constraints, and final water level limit constraints. The water balance constraint is: ; The reservoir capacity constraint is: ; The discharge flow constraint is: ; The power generation flow constraint is: ; The output limit constraint: ; The upstream and downstream hydraulic connection constraints: ; The final water level limit constraint: ; in, , These represent the reservoir capacity at time periods t and t+1, respectively. , Let be the average inflow and outflow of the m-th reservoir during time period t, respectively. Let m be the dead storage capacity or minimum allowable storage capacity of the m-th reservoir. This is the maximum storage capacity allowed under normal operating conditions. , Let be the minimum and maximum discharge flows of the m-th reservoir, respectively. , Let F be the minimum and maximum power generation flow rates of the m-th reservoir, respectively. Let m be the minimum allowable output of the m-th hydropower station. This is the maximum allowable output or installed capacity constraint for the m-th hydropower station; Let m be the inflow rate of the m-th hydropower station during time period t. For interval flow, The outflow from the reservoir of the next higher-level hydropower station is calculated based on the water flow lag time. The water flow delay time between adjacent cascade hydropower stations; Let m be the water level at the end of the short-term dispatch period of the m-th hydropower station. Let be the target water level at the end of the scheduling period of the m-th hydropower station, as determined by the medium- and long-term scheduling model.
10. The method according to claim 1, characterized in that, In step S4, the output sequence, flow rate, and water level for each time period are output as feedback quantities to the medium- and long-term scheduling model to correct the water level boundary, water volume boundary, and available adjustment space for subsequent time periods in the medium- and long-term scheduling model.
