Unit commitment state path search iterative optimization method
Through the iterative optimization method of unit combination state path search, combined with the interior point method and recurrent neural network, depth traversal and breadth iteration, the rotating reserve and power flow safety are ensured, which solves the problem of low computational efficiency and poor solution stability in the existing technology, and achieves Efficient and stable unit combination optimization.
Patent Information
- Application Number
- CN202410902253.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-06
- Publication Date
- 2024-09-24
AI Technical Summary
When faced with large-scale power systems, existing unit combination optimization algorithms have low computational efficiency, poor solution stability and consistency, and are difficult to obtain efficient optimization results in a short time. Moreover, they do not fully incorporate the unique characteristics of the power system for optimization.
The unit combination state path search iterative optimization method is adopted. By reading the system and unit parameters, the interior point method is used for initial output optimization allocation, and the recurrent neural network is combined to predict the unit state, depth traversal and breadth iteration to ensure rotating reserve constraints and power flow safety calibration. Kernel, reduce the size of the problem and improve the iterative convergence speed.
It significantly improves the calculation efficiency of unit combination problems, reduces costs, ensures the stability of the system and the reliability of optimization results, reduces the number of traversals and iterations, and avoids invalid state solutions.
Smart Images

Figure CN118690660A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power unit combination, and in particular to an iterative optimization method for searching state paths of unit combination. Background Art
[0002] In order to achieve the dual-carbon strategic goals, my country has proposed an energy system blueprint of "building a new power system with new energy as the main body" and "building a national unified power market". In the new power system where the proportion of new energy is gradually increasing, the power system analysis and calculation faces the following challenges: 1. The physical quantity increases by several to dozens of times: As the proportion of new energy gradually increases, the physical quantity in the power system increases significantly. 2. The proportion of discrete variables increases: The proportion of discrete variables in the system increases, which increases the complexity of calculation. 3. The real-time requirements of analysis and calculation are improved: The real-time requirements become higher, requiring faster and more efficient analysis and calculation.
[0003] In the process of building a unified national electricity market, due to the increase in the proportion of new energy and the need for optimization on a larger scale, the scale of computing problems will be several to dozens of times larger than the current scale. Existing computing methods and algorithm architectures face multiple challenges, including: massive data fusion scale, large number of computing nodes, and real-time requirements for analysis and optimization efficiency.
[0004] The scale of power system analysis and calculation represented by unit commitment (UC) is growing exponentially. Therefore, innovative computing models and methods are needed to meet the real-time security assessment and optimization computing needs of highly uncertain power grids.
[0005] Unit combination refers to the formulation of unit start-up and shutdown and power generation plans within a certain dispatching cycle (usually one day or one week) with the goal of minimizing costs, achieving system active power balance, and meeting certain constraints and backup requirements. As a key link in market clearing, UC realizes the structural optimization of power generation resources in the short-term operation of the power system, reserves sufficient optimization space for dispatching, in order to cope with the uncertainty of future loads and the volatility of new energy power generation, meet the peak load regulation and backup needs of the system, and provide a basis for economic dispatching and safety verification of the power system. At the same time, UC can improve the operating efficiency of high-efficiency large units, make the units operate at the best working point as much as possible, and improve the economy and energy saving of the system.
[0006] Computational challenges of UC: As a mathematical optimization problem, the computational complexity of UC is exponentially related to the dimension of the decision variables. Large-scale UC usually suffers from the "curse of dimensionality" problem, making it difficult to find the theoretical global optimal solution within a reasonable time. Therefore, the efficiency of solving the problem has always been a technical bottleneck restricting the development of UC theory, and it is also a research focus in the UC field.
[0007] Existing UC solution methods are mainly divided into three categories:
[0008] 1. Heuristic algorithm: When solving large-scale UC problems, heuristic algorithms are prone to lose the optimal solution and it is difficult to ensure the quality of the solution.
[0009] 2. Mathematical optimization algorithm: faces the problem of exponential growth in computational complexity.
[0010] 3. Intelligent optimization algorithm: There are defects in the stability, optimality and interpretability of the results.
[0011] At present, the mainstream algorithms for solving UC problems are Lagrangian relaxation and mixed integer programming. However, when solving large-scale UC problems, due to the large number of units, the unit state solutions will grow exponentially, and the original solution algorithm based on the branch and bound method is difficult to obtain the optimal solution to the UC problem in a short time.
[0012] The Chinese patent with the publication number CN117708471A discloses a technical solution of a method, system, equipment and medium for optimizing the unit combination of a power system, including the following steps: 1. Data acquisition: First, the various cost data, unit operation characteristic data and load forecast data of the unit are obtained, which provide the necessary information basis for subsequent optimization. 2. Model construction: Based on the basic data obtained, a mixed integer programming model of the unit combination of the power system is constructed. The model contains unit start-up and shutdown state variables and non-unit start-up and shutdown state variables. The unit start-up and shutdown state variables include unit state variables, startup variables, shutdown variables and cold start variables; non-unit start-up and shutdown state variables are mainly piecewise linear output variables of the unit in each time period. 3. Relaxation solution solution: By solving the relaxation solution of the unit combination mixed integer programming model, the first relaxation solution is first obtained. If the value of the unit start-up and shutdown state variable in the relaxation solution is a feasible solution, the solution is directly adopted as the final integer solution. If it is not feasible, the rounding method is used to handle the infeasible solution. 4. Traverse the infeasible solutions in the first relaxed solution. If the value of the infeasible solution is greater than or equal to the rounding upper limit, set the integer solution to 1; if it is less than the rounding lower limit, set the integer solution to 0; if it is between the rounding upper limit and the lower limit, the integer solution is to be determined. 5. Construction and solution of sub-linear programming model: If the first integer solution is still infeasible, construct a sub-linear programming model and solve a new relaxed solution, and adjust the weight coefficient to gradually approach the feasible solution. 6. Random perturbation processing: If the new integer solution is still infeasible, perform random perturbation processing on it. The specific operation includes calculating the flip probability weight of each unit, and randomly selecting some variables for flipping according to the weight, so that the integer solution after random perturbation is not equal to the original integer solution, thereby exploring more possible feasible solution space. If the integer solution after random perturbation is still infeasible, repeat the above process until a suitable optimization result is found. 7. Through the multi-level optimization steps of relaxation solution, rounding method and random perturbation, the optimal start-up and shutdown plan and output plan of each unit can be efficiently obtained in the end.
[0013] The patent has the following disadvantages: 1. High randomness factor: The existing feasibility pump heuristic method has a high randomness factor in the solution process, and each operation may obtain a different feasible solution, resulting in poor stability and consistency of the solution, affecting the stable operation of the system and the reliability of the optimization results. 2. The quality of the feasible solution is not high: Although the feasibility pump method can quickly find a feasible solution, the quality of the solution is often not high, which may lead to increased operating costs or unstable system operation, affecting the economy and safety of the power system. 3. Lack of targeted optimization: The existing technology does not fully combine the specific characteristics of the power system unit combination problem for optimization. The general heuristic method cannot fully consider the unique operating characteristics and constraints of the system, and it is difficult to obtain efficient optimization results in a short time. 4. Low startup efficiency: In the process of solving the startup unit combination problem, the existing technology can find a feasible solution to start the branch and bound process, but due to the low quality of the feasible solution, it may require multiple iterations and adjustments to achieve a satisfactory optimization result, which increases the solution time and reduces the overall solution efficiency.
[0014] The Chinese patent with the publication number CN116305793A discloses a safety constraint unit combination calculation method based on pre-solution-precise solution double-layer iteration, including the following steps: 1. Data acquisition: Obtain the grid architecture parameter data, collect various parameter data of the grid, including node information, line information, generator unit information, load data, etc., to provide a basis for constructing the original safety constraint unit combination problem. 2. Original problem construction: According to the grid demand and constraints, construct the original safety constraint unit combination problem, judge the feasibility of the problem and deal with the flow constraints. The specific method includes assigning linear penalty terms, quadratic penalties, aggregation addition and removal, etc. to ensure that the flow constraints do not cross the boundary. 3. Linear relaxation method solution: Use linear relaxation method and commercial solver to simplify and solve, add section constraints to the objective function, and transform the original problem into a more solvable form through linear relaxation. Use the integer variable information in the linear relaxation solution for processing, fix some integer variables on the boundary, and the rest participate in the solution of the original problem. 4. Solving with commercial solvers: Utilizing the efficient solving capabilities of commercial solvers, through hot start, the continuous variable information in the linear relaxation solution is used as a prompt to quickly solve the original problem.
[0015] The patent has the following disadvantages: 1. Inconsistent results: This technical solution is based on the principle of feasibility pumps, and combines the characteristics of unit combination problems to perform rounding and random perturbations to obtain high-quality feasible solutions. However, the introduction of random factors may lead to inconsistency and instability in the results of each solution, affecting the reliability and repeatability of the solution, especially in power systems that require high stability and consistency. This is a significant defect. 2. Long solution time: Although the technical solution converts the original problem into a solvable form through Lagrangian relaxation and linear relaxation, the solution time may still be long when facing ultra-large-scale practical problems. No specific time efficiency comparison data is provided, and it is impossible to determine whether its time advantage in practical applications is significant. 3. Increased model complexity: This solution uses a variety of processing methods such as linear penalty terms, quadratic penalties, etc. when dealing with power flow constraints, which increases the complexity of the model. This may lead to increased computational complexity in the solution process. Dealing with complex power flow constraints may require more computing resources and time, affecting the solution efficiency. In addition, these processing methods may have different effects in different scenarios, and a lot of debugging and optimization are required in practical applications. Summary of the invention
[0016] The technical problem to be solved by the present invention is to overcome the deficiencies of the prior art and provide an iterative optimization method for searching the state path of a unit combination, which can effectively solve the unit combination problem and has the significant advantages of improving efficiency, reducing costs and ensuring system stability.
[0017] In order to solve the above technical problems, the present invention adopts the following technical solutions:
[0018] A unit commitment state path search iterative optimization method comprises the following steps:
[0019] S1. Read system and unit parameters, and optimize initial output distribution:
[0020] Read the system load demand, unit parameters and the optimization solution of the previous dispatch cycle; use the interior point method to optimize the initial output allocation to minimize the power company's electricity purchase cost from the power generator; obtain the unit dynamic priority table and determine the unit state traversal and iteration direction;
[0021] The objective function and constraints are used to model the unit combination problem under the market mode. The objective function is to minimize the sum of the power purchase costs of the power company from the power generator. The constraints include: unit segment output constraints, unit active output upper and lower limit constraints, unit climbing constraints, minimum start and stop time constraints, unit start and stop number constraints, system power balance constraints, system spinning reserve constraints and system power flow safety constraints;
[0022] S2. Unit state prediction and initial solution correction:
[0023] The recurrent neural network model is used to predict the unit status. After training, the system load demand, load ramp rate and unit status of the previous cycle are used as boundary conditions to input the unit status prediction value; the units that must be turned on or off and the marginal units are determined, and the initial unit status solution is corrected according to the prediction results;
[0024] S3. Unit status deep traversal:
[0025] Under the premise of satisfying the spinning reserve constraint, the units ranked later in the unit dynamic priority table are selected in turn in each time period as the redundant units to be shut down; in the scheme with the lowest total economic cost within the scheduling cycle, the start and stop time of the unit is not necessarily at the target time. It is necessary to use the time period back-pushing method to compare the objective function values of each scheme and select the optimal scheme as the time when the unit start and stop action occurs;
[0026] S4. Marginal unit classification and breadth iteration:
[0027] According to the initial solution of the unit status, the marginal units are classified; under the guidance of the unit dynamic priority table, the state scheme is iterated extensively to generate multiple unit status schemes;
[0028] S5. Output optimization distribution and power flow safety verification:
[0029] The generated unit status schemes are optimized for output allocation, and a certain proportion of optimization schemes are selected as the target feasible set; each scheme is verified through power flow safety verification to ensure that the power flow of each branch is within a safe range; finally, the unit status scheme that meets all constraints and has the lowest cost is selected as the final UC solution.
[0030] As a further improvement of the above technical solution:
[0031] The unit segmented output constraint is that the sum of the segmented output of the unit in each step quotation segment is equal to the total output of the unit, the upper and lower limits of the unit's active output constraints are that the unit output must be within a specified range; the unit climbing constraint is that the output change of the unit in a continuous period must be within a specified range, the minimum start and stop time constraint is the time during which the state of the unit cannot be changed immediately after it is started or shut down, the unit start and stop times constraint is that the start and stop times of the unit within one day cannot exceed the rated value, the system power balance constraint is that the total power generation of the unit is equal to the system load demand at each moment, the system rotating standby constraint is that the difference between the maximum output and the actual output of the unit is defined as rotating standby, which must meet specific requirements, and the system flow safety constraint is that the flow value passing through each branch must be within a specified range.
[0032] In S1, the unit segment output constraint and system power balance constraint are regarded as equality constraints, denoted as h=0;
[0033] The upper and lower limits of the active output of the unit, the unit ramping constraints and the system spinning reserve constraints are regarded as inequality constraints, denoted as g≤0;
[0034] The logarithmic barrier function is used as the penalty function to make the objective function increase rapidly when approaching the boundary, keep the iterative process within the feasible domain, and make the problem solution smooth and differentiable;
[0035] The Lagrangian function is introduced and combined with the penalty function to construct the augmented Lagrangian function as the objective function of the interior point method;
[0036] Relax the lower limit constraint of the unit output so that the initial output optimization allocation stage of the unit always has a solution;
[0037] According to the optimal allocation results of the initial output of the units, the average bid of the computer group is calculated;
[0038] For units whose output is less than the lower limit, their average bid is regarded as infinite, and the average bid of the unit is used as the sorting index to obtain the dynamic priority table of the units in each time period.
[0039] The S2 includes the following amendments:
[0040] 1) According to the determined units that must be started or stopped, correct the status of the units in each period;
[0041] 2) Verify the status of the unit according to the spinning reserve constraint. In the period when the spinning reserve constraint is not met, start the units with the highest ranking in sequence according to the unit dynamic priority table until all periods meet the spinning reserve constraint;
[0042] 3) Correct the status of the unit according to the start-stop number constraints;
[0043] 4) Correct the status of the unit according to the minimum start and stop time constraint;
[0044] 5) Verify again whether the status of the unit meets the spinning standby constraints.
[0045] In S4, among all the units in operation, except for the units that must be started or shut down, the remaining units are considered marginal units; marginal units are divided into Class I, Class II and Class III units:
[0046] The Class I units are marginal units that are always in the on-state during the entire dispatch cycle. Such units tend to be in the on-state during all periods of the dispatch cycle.
[0047] The Class II units are marginal units that are always in a shutdown state during the entire scheduling cycle. Such units tend to be in a shutdown state during all periods of the scheduling cycle.
[0048] The Class III units are marginal units that have start and stop actions within the scheduling cycle. Due to the start and stop of this type of unit, it is necessary to back-test its start and stop time nodes, compare various plans through output optimization allocation, determine the optimal start and stop action time, and update the unit status plan.
[0049] In S4, based on the unit dynamic priority table, the latter part of the Class I units tends to be converted to Class II and Class III units, the former part of the Class II units tends to be converted to Class I and Class III units, the former part of the Class III units tends to be converted to Class I units, and the latter part tends to be converted to Class II units; the following situations are considered respectively to perform the breadth iteration of the unit status plan:
[0050] 1) Try to replace the lower-ranked Class I units with the higher-ranked Class II units;
[0051] 2) Try to replace the lower-ranked Class I units with the higher-ranked Class III units. Considering that the Class III units have start and stop times, the replaced Class I units also need to try to push back the start and stop time nodes to determine the optimal start and stop action time;
[0052] 3) Try to replace the lower-ranked Class III units with the higher-ranked Class II units, and try to push back the start and stop time nodes of the replaced Class II units to determine the optimal start and stop action time;
[0053] All scenarios from single unit to multiple units are considered until all target units have undergone corresponding replacement attempts.
[0054] In S5, based on the optimal initial solution, a deep traversal is performed first, and the traversal direction is determined by unit sorting, most non-optimal paths are eliminated, invalid traversal attempts are reduced, and a unit state solution with a certain optimization depth is obtained;
[0055] Then, a breadth iteration is performed to extend the breadth of the unit state path to avoid missing the potential optimal solution for the unit state;
[0056] Firstly, the output of each unit state scheme in the feasible set is optimized and allocated to obtain the objective function value corresponding to each scheme. Then, the unit state schemes are sorted from low to high according to the objective function value, and the better unit state schemes with higher rankings are selected in proportion as the target set for solving the power flow safety check.
[0057] Then, the power flow safety check and result correction are performed on the output optimization distribution results of the target set in turn; after the power flow verification, if there is a power flow exceeding the limit branch, the DC power flow constraint of the branch is added to the inequality constraint of the output distribution optimization stage through the PTDF from each node to the branch, and the output optimization distribution is performed again, and the above operation is repeated until there is no power flow exceeding the limit branch;
[0058] Compare the output optimization allocation results of the target feasible set after the power flow safety check and correction, and select the best solution as the final UC solution.
[0059] In the S5, in the deep traversal stage, the initial solution of the unit state optimization is used as the starting point, and the redundant units in each time period are shut down in sequence according to the unit dynamic priority table until the traversal termination condition is met;
[0060] If there are multiple feasible solutions that meet the constraints when the deep traversal terminates, the output of each feasible solution is optimized and the unit state solution with the best objective function is selected as the initial value of the next stage of breadth iteration.
[0061] In the S5, in the breadth iteration stage, the unit state plan after the depth traversal is used as the starting point, and the state plan is iterated according to the unit dynamic priority table. The termination condition is that the permutation and combination plans of marginal units in all situations are fully considered;
[0062] Each iteration requires the generated unit state scheme to be checked for spinning reserve constraints. Unit state schemes that meet the check are included in the feasible set, and those that do not meet the check are discarded.
[0063] If all unit state schemes in the feasible set of unit state schemes obtained by breadth iteration are subjected to power flow safety check, it will affect the calculation efficiency and solution time. Therefore, each unit state scheme in the feasible set is firstly subjected to output optimization allocation to obtain the objective function value corresponding to each scheme. The unit state schemes are sorted from low to high according to the objective function value, and the better unit state schemes with higher rankings are selected in proportion as the target set for power flow safety check solution.
[0064] Compared with the prior art, the advantages of the present invention are:
[0065] 1. By determining the units that must be started or shut down, the decision variables of the unit status are reduced and the scale of the problem is reduced;
[0066] 2. Verify and correct the results based on the unit status prediction to obtain a better initial feasible solution and reduce the number of traversals and iterations;
[0067] 3. Using the unit dynamic priority table as the decision-making basis, the unit status is traversed in depth and iterated in breadth in sequence. During the process, the spinning reserve constraints are used for verification, which greatly reduces the feasible domain and avoids invalid state solutions.
[0068] 4. Use the interior point method to achieve optimal output distribution of the units, perform a power flow safety check on the results, and improve the iterative convergence speed;
[0069] In summary, the present invention effectively solves the unit combination problem by combining data analysis, dynamic optimization and comprehensive verification methods, and has the significant advantages of improving efficiency, reducing costs and ensuring system stability. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] Figure 1 The specific flow chart of the iterative optimization method for unit combination state path search. DETAILED DESCRIPTION
[0071] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0072] like Figure 1 As shown, a method for iterative optimization of unit combination state path search in this embodiment mines historical solution rules through data-driven methods, determines the units that must be turned on or off under specific boundary conditions, and the initial state solutions of the preferred units, and uses the unit dynamic priority table obtained from the average unit quotation as the basis for decision-making. On the basis of the initial solution, depth traversal and breadth iteration are performed in sequence to determine the feasible set of unit state solutions, and finally determine the solution to the unit combination problem through output optimization allocation and power flow safety verification. The method specifically includes the following steps:
[0073] 1. Modeling of unit combination problem under market mode:
[0074] (1) Objective function: The objective function of the unit commitment problem under the market model is to minimize the sum of the power purchase costs from power companies to power generators. Its expression is:
[0075]
[0076] Where: p i,j,t is the active output of unit i in step quotation segment j during time period t; c i,j,t is the unit quotation cost of unit i in the step quotation segment j in time period t; T is the number of time periods in the dispatch interval; N is the number of units; n i is the total number of stages of the i-stage quotation for unit.
[0077] (2) Constraints: Due to the power system operation requirements, the following constraints must be met:
[0078] 1) Unit segment output constraint: The sum of the segment output of the unit in each step quotation segment is equal to the total output of the unit, and its expression is:
[0079]
[0080] Where: P i,t is the total active power output of unit i in time period t.
[0081] 2) Upper and lower limits of active output of the unit: The output of the unit must be within the specified range, and its expression is:
[0082] P i min ≤P i,t ≤P i max
[0083] Where: P i min and P i max are the upper and lower limits of the active output of unit i respectively.
[0084] 3) Generator ramp constraint: The output change of the generator in a continuous period must be within the specified range, and its expression is:
[0085]
[0086] Where: and They are respectively the maximum ramping capacity and maximum climbing capacity of the active output of unit i per hour.
[0087] 4) Minimum start-stop time constraint: Once the unit is started or shut down, its state cannot be changed immediately until a certain time has passed. Its expression is:
[0088]
[0089] Where: and are the continuous start-up and shutdown times of unit i before time period t; T i u and T i d are the minimum continuous start-up and shutdown time of unit i respectively; u i,t is the start / stop status of unit i in period t, 0 means shutdown and 1 means startup.
[0090] 5) Constraint on the number of unit starts and stops: The number of unit starts and stops within one day cannot exceed the rated value, and its expression is:
[0091]
[0092] 6) System power balance constraint: The total power generation of the unit is equal to the system load demand at each moment, and its expression is:
[0093]
[0094] Where: P loadt is the total load demand of the system during period t.
[0095] 7) System spinning reserve constraint: The difference between the maximum output and the actual output of the unit is defined as the spinning reserve, which must meet specific requirements and is expressed as:
[0096]
[0097] Where: R i,t The spinning reserve provided for unit i during period t; P t r is the spinning reserve demand of the system in period t.
[0098] 8) The system power flow safety constraint is that the power flow value through each branch must be within the specified range, and its expression is:
[0099] P l min ≤P l,t ≤P l max
[0100] Where: P l min and P l max are the maximum and minimum powers allowed to pass through branch l respectively; P l,t is the active power passing through branch l during period t.
[0101] 2. Unit dynamic priority table:
[0102] The interior point method is used to optimize the output allocation of the unit. The unit segment output constraints and system power balance constraints are regarded as equality constraints, denoted as h = 0; the upper and lower limits of the unit active output, the unit climbing constraints and the system spinning reserve constraints are regarded as inequality constraints, denoted as g ≤ 0. In order to make the objective function increase rapidly when approaching the boundary, keep the iterative process within the feasible domain, and ensure the smooth and differentiable solution of the problem, the logarithmic barrier function is used as the penalty function, and its expression is:
[0103]
[0104] Where: F is the penalty function; k is the inequality constraint number; m is the total number of inequality constraints.
[0105] The Lagrangian function is introduced and combined with the penalty function to construct the augmented Lagrangian function as the objective function of the interior point method, and its expression is:
[0106]
[0107] Where: is the augmented Lagrangian function; ν and λ are both Lagrangian multipliers.
[0108] In order to ensure that there is always a solution in the initial output optimization allocation stage of the unit, the lower limit constraint of the unit output is relaxed. According to the initial output optimization allocation result of the unit, the average bid of the computer group is calculated, and its expression is:
[0109]
[0110] Where: I i,t is the average bid of unit i in period t.
[0111] For units whose output is less than the lower limit, their average bid is regarded as infinite, and the average bid of the unit is used as the sorting index to obtain the dynamic priority table of the units in each time period.
[0112] 3. Optimal selection of initial solution for unit status:
[0113] (1) Unit status prediction:
[0114] The recurrent neural network (RNN) model is used to predict the unit status. The system load demand, load ramp rate, and the unit status in the previous scheduling cycle are used as specific boundary conditions input, and the unit status in the current scheduling cycle is used as the output result. The RNN model is trained to predict the unit status.
[0115] Under certain specific boundary conditions, the start and stop status of some units can be directly determined, which are called must-start or must-stop units. The maintenance plan of the unit and the minimum start and stop time constraints can be used as deterministic factors to directly determine some of the must-start or must-stop units. According to the dynamic priority table of the units, the units with a certain proportion of the lower ranking and predicted to be in the shutdown state are regarded as the must-stop units, and the units with a certain proportion of the upper ranking and predicted to be in the startup state are regarded as the must-start units. By determining the must-start or must-stop units, the scale of the UC problem can be reduced, the unit state decision variables can be reduced, and the invalid traversal iteration of the unit state scheme can be avoided.
[0116] (2) Initial solution correction:
[0117] According to the day-ahead load forecast data and the unit status during the previous scheduling cycle, the trained RNN model is input to obtain the unit status prediction value. Since the unit status prediction value is directly obtained by the neural network based on the boundary conditions, it cannot be ensured that the solution meets the feasible premise. Therefore, the following corrections need to be made based on the unit status prediction value:
[0118] 1) Correct the status of units in different time periods according to the units that must be started or stopped;
[0119] 2) Verify the status of the units according to the spinning reserve constraints. For the time periods that do not meet the spinning reserve constraints, start the units with the highest ranking in sequence according to the unit dynamic priority table until the spinning reserve constraints are met in all time periods;
[0120] 3) Correct the unit status according to the start and stop times constraint. For units that start and stop multiple times within the scheduling cycle, the number of unnecessary starts and stops of the unit is reduced by merging adjacent unit status periods with shorter durations into unit status periods with longer durations. Three situations are considered based on the duration of the start and stop status: If the duration that the unit maintains the current start and stop status is less than the sum of the durations before and after the status change, the unit status of the current period is modified to be consistent with the previous and next periods, and the unit does not perform the start and stop action instructions; If the duration that the unit maintains the current start and stop status is greater than the sum of the durations before and after the status change, the unit status of the previous and next periods is modified to be consistent with the current period, and the unit does not perform start and stop operations during the entire period; If the duration that the unit maintains the current start and stop status is equal to the sum of the durations before and after the status change, the unit status of the entire period is modified to the unit status with a higher duration in the scheduling cycle;
[0121] 4) Correct the unit status according to the minimum start-stop time constraint, taking into account the unit status in the previous scheduling cycle, and ensure that the duration of the unit start-stop state in the current scheduling cycle is not less than the minimum start-stop time;
[0122] 5) Check the spinning standby constraint of the unit status again. If it is not satisfied, go to step 2 and repeat the above operation until it passes the verification.
[0123] 4. Unit status path search iteration:
[0124] (1) Deep traversal of unit status:
[0125] On the premise of satisfying the spinning reserve constraint, the units ranked later in the unit dynamic priority table are selected in each time period as the redundant units to be shut down. Since the unit status plan within the scheduling cycle is in a gradual transition stage, and considering the minimum start-stop time and climbing ability of the unit, the start-stop time of the unit in the plan with the lowest total economic cost within the scheduling cycle is not necessarily at the target time, it is necessary to use the time period back-pushing method to compare the objective function values of each plan and select the optimal plan as the time when the unit start-stop action occurs. In order to ensure the traversal depth, the shutdown action time of the redundant unit is back-pushed and traversed, and the most appropriate time point is selected to execute the shutdown instruction. Before performing the shutdown operation, the minimum start-stop time constraint needs to be verified to determine whether the shutdown action can be performed in this period, and no startup operation will be performed in the current scheduling cycle after the shutdown.
[0126] In order to ensure the traversal depth while improving the traversal speed and efficiency, and avoid the traversal of too many unit status plans caused by the back-pushing of multi-period shutdown action moments of each unit, for the redundant units that are determined to be shut down, set an appropriate number of back-pushing time periods, and select the time period with the latest ranking of the current unit in this time period range as the execution time of the shutdown command, because the same unit is more likely to be shut down in the later time period.
[0127] (2) Unit status breadth iteration:
[0128] For all the units in operation, except for the units that must be turned on or off, the rest are considered marginal units. According to the initial solution of the unit status, the marginal units are divided into Class I, Class II and Class III units, where Class I units refer to marginal units that are always in the on state during the entire scheduling cycle, and such units tend to be in the on state during all periods of the scheduling cycle; Class II units refer to marginal units that are always in the off state during the entire scheduling cycle, and such units tend to be in the off state during all periods of the scheduling cycle; Class III units refer to marginal units that have start-stop actions during the scheduling cycle. Due to the existence of start-stop, such units need to try to push back their start-stop time nodes, compare various plans through output optimization allocation, determine the optimal start-stop action time, and update the unit status plan.
[0129] For the above three types of units, based on the unit dynamic priority table, the latter part of the Class I units tends to be converted to Class II and Class III units, the former part of the Class II units tends to be converted to Class I and Class III units, the former part of the Class III units tends to be converted to Class I units, and the latter part tends to be converted to Class II units. Therefore, the following three situations are considered to perform the breadth iteration of the unit status plan:
[0130] 1) Case 1: Try to replace the lower-ranked Class I units with the higher-ranked Class II units;
[0131] 2) Case 2: Try to replace the lower-ranked Class I unit with the higher-ranked Class III unit. Since the Class III unit has start and stop times, the replaced Class I unit also needs to try to push back the start and stop time nodes to determine the optimal start and stop action time;
[0132] 3) Case 3: Try to replace the lower-ranked Class III units with the higher-ranked Class II units, and try to back-test the start and stop time nodes of the replaced Class II units to determine the optimal start and stop action times.
[0133] For the iterative attempts of the above three situations, all situations from single unit to multiple units need to be considered until all target units have undergone corresponding replacement attempts.
[0134] (3) Two-stage path search for unit status:
[0135] On the basis of optimizing the initial solution, depth traversal is performed first. The traversal direction is determined by unit sorting, most non-optimal paths are eliminated, invalid traversal attempts are reduced, and a unit state solution with a certain optimization depth is obtained. Subsequently, breadth iteration is performed to extend the breadth of the unit state path to avoid missing the potential optimal solution for the unit state.
[0136] In the deep traversal stage, the initial solution of the unit state optimization is used as the starting point, and the redundant units in each period are shut down in sequence according to the unit dynamic priority table until the following traversal termination condition is met, which is expressed as:
[0137]
[0138] Where: α is the spinning reserve coefficient; β is the maximum allowable redundancy coefficient; P L,t is the system load demand at time t; P max,i is the upper limit of the output of unit i.
[0139] If there are multiple feasible solutions that meet the constraints when the deep traversal terminates, the output of each feasible solution is optimized and the unit state solution with the best objective function is selected as the initial value of the next stage of breadth iteration.
[0140] In the breadth iteration phase, the unit state plan after the depth traversal is taken as the starting point, and the state plan is iterated according to the unit dynamic priority table. The termination condition is that all the permutation and combination plans of marginal units in all cases are fully considered. Each iteration requires the generated unit state plan to be checked for the spinning reserve constraints. The unit state plan that meets the check is included in the feasible set, and the plan that does not meet the check is discarded.
[0141] If all unit state schemes in the feasible set of unit state schemes obtained by breadth iteration are subjected to power flow safety check, the calculation efficiency and solution time will be affected. Therefore, each unit state scheme in the feasible set is firstly subjected to output optimization allocation to obtain the objective function value corresponding to each scheme, and the unit state schemes are sorted from low to high according to the objective function value, and the better unit state schemes with higher rankings are selected in proportion as the target set for power flow safety check solution.
[0142] The power flow safety check and result correction are performed on the optimal output allocation results of the target set. The power transfer distribution factor (PTDF) is used to calculate the DC power flow of each branch, and its expression is:
[0143]
[0144] Where: PTDF klis the power transfer distribution factor from node k to branch l; ΔP k is the injection power change of node k; ΔP l is the power flow change of branch l.
[0145] After the flow verification, if there is a branch with flow exceeding the limit, the DC flow constraint of the branch is added to the inequality constraint of the output distribution optimization stage through the PTDF from each node to the branch, and the output optimization distribution is performed again, and the above operation is repeated until there is no branch with flow exceeding the limit. Compare the output optimization distribution results of the target feasible set after the flow safety check and correction, and select the best solution as the final solution of the UC problem.
[0146] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. For those skilled in the art, improvements and changes obtained without departing from the technical concept of the present invention should also be regarded as the protection scope of the present invention.
Claims
1. A unit commitment state path search iterative optimization method, characterized in that: The following steps are involved: S1. Read system and unit parameters, and optimize initial output distribution: Read system load demand, unit parameters and the optimization solution of the previous scheduling cycle; Use the interior point method to optimize the initial output allocation to minimize the power purchase cost of power companies from power generators; Get the unit dynamic priority table and determine the unit state traversal and iteration direction; The objective function and constraints are used to model the unit combination problem under the market mode. The objective function is to minimize the sum of the power purchase costs of the power company from the power generator. The constraints include: unit segment output constraints, unit active output upper and lower limit constraints, unit climbing constraints, minimum start and stop time constraints, unit start and stop number constraints, system power balance constraints, system spinning reserve constraints and system power flow safety constraints; S2. Unit state prediction and initial solution correction: The recurrent neural network model is used to predict the unit status. After training, the system load demand, load ramp rate and unit status of the previous cycle are used as boundary conditions to obtain the unit status prediction value; the units that must be turned on and off and the marginal units are determined, and the initial unit status solution is corrected according to the prediction results; S3. Unit status deep traversal: Under the premise of satisfying the spinning reserve constraint, the units ranked later in the unit dynamic priority table are selected in turn in each time period as the redundant units to be shut down; in the scheme that minimizes the total economic cost within the scheduling cycle, the start and stop time of the unit is not necessarily at the target time. It is necessary to use the time period back-pushing method to compare the objective function values of each scheme and select the optimal scheme as the time when the unit start and stop action occurs; S4. Marginal unit classification and breadth iteration: According to the initial solution of the unit status, the marginal units are classified; under the guidance of the unit dynamic priority table, the state scheme is iterated extensively to generate multiple unit status schemes; S5. Output optimization distribution and power flow safety verification: The generated unit status schemes are optimized for output allocation, and a certain proportion of optimization schemes are selected as the target feasible set; each scheme is verified through power flow safety verification to ensure that the power flow of each branch is within a safe range; finally, the unit status scheme that meets all constraints and has the lowest cost is selected as the final UC solution.
2. The unit combination state path search iterative optimization method according to claim 1, characterized in that: The unit segmented output constraint is that the sum of the segmented output of the unit in each step quotation segment is equal to the total output of the unit, the upper and lower limits of the unit's active output constraints are that the unit output must be within a specified range; the unit climbing constraint is that the output change of the unit in a continuous period must be within a specified range, the minimum start and stop time constraint is the time during which the state of the unit cannot be changed immediately after it is started or shut down, the unit start and stop times constraint is that the start and stop times of the unit within one day cannot exceed the rated value, the system power balance constraint is that the total power generation of the unit is equal to the system load demand at each moment, the system rotating standby constraint is that the difference between the maximum output and the actual output of the unit is defined as rotating standby, which must meet specific requirements, and the system flow safety constraint is that the flow value passing through each branch must be within a specified range.
3. The unit combination state path search iterative optimization method according to claim 2, characterized in that: In S1, the unit segment output constraint and system power balance constraint are regarded as equality constraints, denoted as h=0; The upper and lower limits of the active output of the unit, the unit ramping constraints and the system spinning reserve constraints are regarded as inequality constraints, denoted as g≤0; The logarithmic barrier function is used as the penalty function to make the objective function increase rapidly when approaching the boundary, keep the iterative process within the feasible domain, and make the problem solution smooth and differentiable; The Lagrangian function is introduced and combined with the penalty function to construct the augmented Lagrangian function as the objective function of the interior point method; Relax the lower limit constraint of the unit output so that the initial output optimization allocation stage of the unit always has a solution; According to the optimal allocation results of the initial output of the units, the average bid of the computer group is calculated; For units whose output is less than the lower limit, their average bid is regarded as infinite, and the average bid of the unit is used as the sorting index to obtain the dynamic priority table of the units in each time period.
4. The unit combination state path search iterative optimization method according to claim 1, characterized in that: The S2 includes the following amendments: 1) According to the determined units that must be started or stopped, correct the status of the units in each period; 2) Verify the status of the unit according to the spinning reserve constraint. In the period when the spinning reserve constraint is not met, start the units with the highest ranking in sequence according to the unit dynamic priority table until all periods meet the spinning reserve constraint; 3) Correct the status of the unit according to the start-stop number constraints; 4) Correct the status of the unit according to the minimum start and stop time constraint; 5) Verify again whether the status of the unit meets the spinning standby constraints.
5. The unit combination state path search iterative optimization method according to claim 1, characterized in that: In S4, among all the units in operation, except for the units that must be started or shut down, the remaining units are considered marginal units; marginal units are divided into Class I, Class II and Class III units: The Class I units are marginal units that are always in the on-state during the entire dispatch cycle. Such units tend to be in the on-state during all periods of the dispatch cycle. The Class II units are marginal units that are always in a shutdown state during the entire scheduling cycle. Such units tend to be in a shutdown state during all periods of the scheduling cycle. The Class III units are marginal units that have start and stop actions within the scheduling cycle. Due to the start and stop of this type of unit, it is necessary to back-test its start and stop time nodes, compare various plans through output optimization allocation, determine the optimal start and stop action time, and update the unit status plan.
6. The unit combination state path search iterative optimization method according to claim 5, characterized in that: In S4, based on the unit dynamic priority table, the latter part of the Class I units tends to be converted to Class II and Class III units, the former part of the Class II units tends to be converted to Class I and Class III units, the former part of the Class III units tends to be converted to Class I units, and the latter part tends to be converted to Class II units; the following situations are considered respectively to perform the breadth iteration of the unit status plan: 1) Try to replace the lower-ranked Class I units with the higher-ranked Class II units; 2) Try to replace the lower-ranked Class I units with the higher-ranked Class III units. Considering that the Class III units have start and stop times, the replaced Class I units also need to try to push back the start and stop time nodes to determine the optimal start and stop action time; 3) Try to replace the lower-ranked Class III units with the higher-ranked Class II units, and try to push back the start and stop time nodes of the replaced Class II units to determine the optimal start and stop action time; The above situation is iterated, considering all situations where substitution occurs from a single unit to multiple units, until all target units have undergone corresponding substitution attempts.
7. The unit combination state path search iterative optimization method according to claim 1, characterized in that: In S5, based on the optimal initial solution, a deep traversal is performed first, and the traversal direction is determined by unit sorting, most non-optimal paths are eliminated, invalid traversal attempts are reduced, and a unit state solution with a certain optimization depth is obtained; Then, a breadth iteration is performed to extend the breadth of the unit state path to avoid missing the potential optimal solution for the unit state; Firstly, the output of each unit state scheme in the feasible set is optimized and allocated to obtain the objective function value corresponding to each scheme. Then, the unit state schemes are sorted from low to high according to the objective function value, and the better unit state schemes with higher rankings are selected in proportion as the target set for solving the power flow safety check. Then, the power flow safety check and result correction are performed on the output optimization distribution results of the target set in turn; after the power flow verification, if there is a power flow exceeding the limit branch, the DC power flow constraint of the branch is added to the inequality constraint of the output distribution optimization stage through the PTDF from each node to the branch, and the output optimization distribution is performed again, and the above operation is repeated until there is no power flow exceeding the limit branch; Compare the output optimization allocation results of the target feasible set after the power flow safety check and correction, and select the best solution as the final UC solution.
8. The unit combination state path search iterative optimization method according to claim 7, characterized in that: In the S5, in the deep traversal stage, the initial solution of the unit state optimization is used as the starting point, and the redundant units in each time period are shut down in sequence according to the unit dynamic priority table until the traversal termination condition is met; If there are multiple feasible solutions that meet the constraints when the deep traversal terminates, the output of each feasible solution is optimized and the unit state solution with the best objective function is selected as the initial value of the next stage of breadth iteration.
9. The unit combination state path search iterative optimization method according to claim 8, characterized in that: In the S5, in the breadth iteration stage, the unit state plan after the depth traversal is used as the starting point, and the state plan is iterated according to the unit dynamic priority table. The termination condition is that the permutation and combination plans of marginal units in all situations are fully considered; Each iteration requires the generated unit state scheme to be checked for spinning reserve constraints. Unit state schemes that meet the check are included in the feasible set, and those that do not meet the check are discarded. If all unit state schemes in the feasible set of unit state schemes obtained by breadth iteration are subjected to power flow safety check, it will affect the calculation efficiency and solution time. Therefore, each unit state scheme in the feasible set is firstly subjected to output optimization allocation to obtain the objective function value corresponding to each scheme. The unit state schemes are sorted from low to high according to the objective function value, and the better unit state schemes with higher rankings are selected in proportion as the target set for power flow safety check solution.
Citation Information
Cited By
Non-directional and directional integrated ACUC unit start-stop optimization method
CN119834379A
A non-directional and directional fusion ACUC unit start-stop optimization method
CN119834379B
Unit commitment rapid solving method based on Lagrange relaxation and neural network
CN122388309A
