Distributed robust maintenance method and system of hydrothermal power system
The Jensen-Shannon distance is used to construct fuzzy sets and two-level decomposition algorithms to optimize the maintenance plan of the hydrothermal power system, solve the problem of natural water uncertainty affecting power generation stability, and improve the stability of the system and the reliability of power supply.
Patent Information
- Application Number
- CN202410846825.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-09-27
AI Technical Summary
Due to the uncertainty of natural water in hydrothermal power systems, it is difficult to accurately predict power generation capacity, affecting the effectiveness of maintenance plans and thus affecting system stability.
The Jensen-Shannon distance is used to construct a fuzzy set to describe the randomness of natural water, and a distributed robust maintenance optimization model is established through a two-level decomposition algorithm to optimize the maintenance plan to improve system stability.
By describing the uncertainty of natural water through fuzzy sets, the maintenance plan is optimized, which improves the power generation stability of hydrothermal power systems, avoids the risks of stochastic optimization methods and the over-conservatism of robust optimization methods, and enhances the stability of the power system. .
Smart Images

Figure CN118710248A
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of power system optimization operation and planning, and in particular relates to a distributed rod maintenance method and system for a hydro-thermal power system. Background Art
[0002] In order to meet the growing demand for electricity, the current common practices include expanding the scale of power generation and improving the reliability of power generation equipment. Regular maintenance of generator sets is one of the important methods to improve the reliability of power generation equipment. A good maintenance plan can not only improve the reliability of power generation equipment, but also extend the service life of the unit. A good maintenance plan can also cooperate with many short-term and medium-term plans, including the formulation of unit combination configuration plan, unit power generation plan and fuel plan.
[0003] In hydro-thermal power systems, the power generation of hydro-generator units is not stable, and a large part of their power generation capacity is affected by the distribution of natural water. Since natural water is difficult to accurately predict over a long time scale, it is essentially a random quantity, which makes the unit maintenance optimization problem in hydro-thermal power systems essentially an optimization problem with uncertain parameters. For maintenance plans with a long planning cycle, the uncertainty of natural water over a long time scale can easily lead to an erroneous assessment of the power generation capacity of the hydro-generator units, resulting in larger errors in the estimation and analysis of the power balance, affecting the stability of the entire hydro-thermal power system. Summary of the invention
[0004] One of the purposes of the present invention is to provide a distributed robust maintenance method for a hydro-thermal power system. The method describes the randomness of natural water based on the fuzzy set of Jensen-Shannon distance, thereby optimizing the maintenance plan of the units in the hydro-thermal power system and improving the stability of power generation of the units in the hydro-thermal power system.
[0005] The second object of the present invention is to provide a system for implementing the distributed maintenance method of the hydro-thermal power system.
[0006] The present invention provides a method for inspecting and repairing a distributed rod of a hydro-thermal power system, comprising the following steps:
[0007] S1. Obtain basic data;
[0008] S2. Construct fuzzy sets based on Jensen-Shannon distance;
[0009] S3. Establishing a maintenance optimization model for distributed rods;
[0010] S4. Solve the maintenance optimization model of the subdivision blue stick obtained in step S3 using a two-level decomposition algorithm to obtain an optimized maintenance plan;
[0011] S5. Complete the actual unit maintenance according to the optimized maintenance plan obtained in step S4.
[0012] The basic data obtained in step S1 specifically includes the output upper limit of the thermal power unit Thermal power unit output lower limit Output limit of hydropower units Lower limit of hydropower unit output Thermal power unit maintenance time T i Th , Maintenance time of hydropower units Initial storage capacity of hydropower station v h,0 , hydropower station power flow u h,t 、Amount of water abandoned by hydropower station w h,t 、Upper limit of hydropower station storage capacity v h,max 、Lower limit of hydropower station storage capacity v h,min , Line transmission capacity limit Line transmission capacity lower limit Annual load curve.
[0013] Step S2 specifically constructs a fuzzy set based on Jensen-Shannon distance to simulate the uncertainty of natural water supply, including the following steps:
[0014] A. Build a scenario tree: Based on the existing natural water information, sampling is performed in N stages within a year, and A n samples, and finally a combination containing A=1×A2×A3×...×A N A scenario tree with equal probability for each scenario;
[0015] B. Using the scene reduction technique, a sub-scene tree is determined from the initial scene tree, and the scene reduction is performed through the fast forward selection method. The scenes are deleted based on the Kantorovich distance. Each retained scene inherits the probability of the deleted scene closest to it, and a reduced scene tree containing S scenes is obtained, whose discrete probability distribution p 0 is the reference probability distribution of natural water ξ;
[0016] C. Taking the reference probability p of natural water ξ 0 And the boundary λ constructs the fuzzy set, which is expressed as follows:
[0017] Ω p :{p:D JS (p,p 0 )≤λ} (1)
[0018] Among them, the boundary λ satisfies 0≤λ≤1; D JS (p,p 0 ) are two probability distributions p and p0 The distance between them; using JS divergence measurement D JS (p,p 0 ), expressed using the following formula:
[0019]
[0020] Among them, p is the desired probability variable; S is the set of all scenes in the scene tree.
[0021] Step S3 describes the establishment of a distributed maintenance optimization model, which is specifically modeled using the following steps:
[0022] a. Taking the minimization of maintenance cost and operating cost as the goal, the objective function is constructed using the following formula:
[0023]
[0024] in, is the maintenance status of the thermal power unit in period t, is the maintenance status of the hydropower unit in period t; and is a 0-1 variable. When the variable is 0, it means the unit is not under maintenance. When the variable is 1, it means the unit is under maintenance. E{·} is the expected value of the operating cost under random natural water conditions. C i (·) represents the cost of thermal power unit i; is the output of thermal power unit i in period t; is the output of hydropower unit j in period t; ρ is the electricity price; β h is the flow-power conversion coefficient of the hydropower station h; w h,t is the water discharge of hydropower station h at time t.
[0025] b. Use the following formula to establish the constraint conditions:
[0026] Power balance constraints:
[0027] Among them, D t is the load of the system in time period t; T is the total duration of the maintenance plan;
[0028] Unit output constraints:
[0029]
[0030] Where, I is the total number of thermal power units in the maintenance plan; J is the total number of hydropower units in the maintenance plan;
[0031] Spinning reserve constraints:
[0032] Among them, r is the system reserve rate;
[0033] Transmission capacity constraints:
[0034]
[0035] Among them, P l,t is the transmission capacity of line l at time t; is the power transfer factor of thermal power unit i to line l, is the power transfer factor of hydropower unit j to line l; α n,l is the power transfer factor of load node n to line l; D n,t is the load demand of node n at time t; N is the number of load nodes;
[0036] Reservoir safe operation constraints:
[0037]
[0038] Among them, u h,t is the amount of water used for power generation by the h-th hydropower station at time t, called power generation flow; u h,max is the maximum power generation flow of the h-th hydropower station; w h,t is the water discharge of hydropower station h at time t; w h,max The upper limit of the water discharge of the hydropower station h; v h,t is the reservoir capacity of hydropower station h at time t; v h,min is the lower limit of the storage capacity of the hydropower station h; v h,max is the upper limit of the storage capacity of the hydropower station h; H is the total number of hydropower stations in the maintenance plan;
[0039] Output constraints of hydropower units:
[0040] in, is the output of reservoir h at time t;
[0041] Water volume coupling constraints of cascade hydropower stations:
[0042]
[0043] Among them, ξ h,t is the natural water inflow of the hydropower station in period t, obtained through the fuzzy set obtained in step S2; For the upstream hydropower station - The power generation flow in period t; For the upstream hydropower station - The abandoned water flow in period t;
[0044] Maintenance task constraints:
[0045]
[0046] Among them, T i Th is the maintenance task duration of thermal power unit i; is the maintenance task duration of hydropower unit j;
[0047] Maintenance continuity constraints:
[0048]
[0049] The two-level decomposition algorithm described in step S4 is used to solve the distributed robust maintenance optimization model obtained in step S3 to obtain an optimized maintenance plan, which specifically includes the following steps:
[0050] A. The distributed robust maintenance optimization model obtained in step S3 is expressed using the following formula:
[0051]
[0052] stEx≤e(21)
[0053] Ax+By≤a(22)
[0054] Cy n +Dy n-1 =b(ξ)(23)
[0055] Ω p ={Hp≤h}(24)
[0056] Since discrete probability distribution is used to describe random natural water inflow, the original objective function is rewritten as the weighted form in formula (20); formula (23) is the original model cascade hydropower station water coupling constraint formula (15) rewritten; the objective function (20) is restricted by constraints (21-23) and fuzzy sets (24); fuzzy sets (24) are constructed by constraint formulas (1-3); for the convenience of description, the model is expressed in abbreviated form according to formulas (20-24), where a, b(ξ), c, h, A, B, C, D, E, H are the abbreviated coefficient matrices; p s , e are known parameters; x, y, p are variables of the abbreviated model function; is the maintenance cost part in the original objective function; is the operating cost part of the original objective function;
[0057] B. According to the formula in step A, the column and constraint generation algorithm is used to decompose the distributed robust maintenance optimization model into the main problem (MP) and sub-problems (SP), where the main problem is expressed by the following formula:
[0058]
[0059] stEx≤e(26)
[0060] Ax+By≤a,m=1,2,...,M(27)
[0061]
[0062] Where η is an auxiliary variable, which is limited by equation (29); constraints (27-29) are a set of constraints corresponding to the worst probability distribution produced by the subproblem. Therefore, in each iteration, a new set of constraints will be added to the main problem. m is the current iteration number; M is the total number of iterations; the solution of the main problem is used to update the lower bound of the original problem;
[0063] The subproblem is expressed using the following formula:
[0064]
[0065] stΩ p ={Hp≤h}(31)
[0066]
[0067] Cy n +Dy n-1 =b(ξ)(33)
[0068] Among them, x% is the sub-problem variable;
[0069] The subproblem is a two-level optimization problem. The Stochastic Dual Dynamic Programming (SDDP) algorithm is used to decompose the subproblem and convert it into a multi-stage problem:
[0070]
[0071] Among them, p s,n is the probability of the sth scene appearing in the nth stage; in the scene tree, all nodes except the last stage have a set of descendant nodes D(s,n), and all nodes except the first stage have an ancestor node A(s,n), so the multi-stage problem is converted into the form of Bellman equation:
[0072] When n=1,
[0073] When n=2,3,4,...,N,
[0074]
[0075] As shown in the above formula, the multi-stage problem is decomposed into stage sub-problems that can be optimized piecewise; where V is the value function of the first stage; Q d,2 (y1,ξ d,2 ) is the value function; a is a node in the ancestor node A(s,n); the value function Q s,n (y a,n-1 ,ξ s,n ) represents the optimal operating cost of all possible probability distributions in the subsequent stages under the optimal decision of the current scenario. When n = N, the value function Q s,n (y a,n-1 ,ξ s,n ) is equal to 0; the stochastic dual dynamic programming algorithm is used to approximate the value function from the lower bound through a value function consisting of a set of plane equations generated by Benders cut. Therefore, the stage subproblem that can be optimized piecewise can be relaxed into the following form:
[0076]
[0077] Among them, z is the number of scenes in the nth stage; the coefficient is the intercept of Benders cut; is the slope of the Benders cut;
[0078] C. Use the algorithm to obtain the most accurate intercept and slope to construct the Benders cut and solve the subproblem, including the following steps:
[0079] a. Forward iteration: Optimize equations (37) and (38) in sequence stage by stage; after solving equation (37), store the objective function value of the optimal solution as the lower bound (LB2) of the subproblem, and save the optimal solution y1 to the next stage; when solving equation (38), use the solution y1 saved in the ancestor node each time. a.n-1 Optimize and save the corresponding solution and function value; after the iteration, the upper bound (UB2) of the subproblem is obtained through the saved optimal value. The specific calculation is as follows:
[0080]
[0081] Calculate the difference between UB2 and LB2, ε2 is the critical value of the upper and lower bounds of the subproblem. When (1-LB2 / UB2)≤ε2, the algorithm converges and obtains the solution to the subproblem. If the algorithm does not converge, continue to enter the reverse iteration step.
[0082] b. Reverse iteration: In the reverse iteration process, all stages in the scene tree are traversed from back to front, and the coefficients of the Benders cut are calculated from the subproblems of the last stage to the subproblems of the second stage, using the following formula:
[0083]
[0084] Among them, π d,n is the optimal solution of equation (37) and equation (38), the value of this multiplier is obtained from the stage coupling constraint (33); The probability distribution in the worst case is obtained by using the optimal value saved in the forward iteration process through the following formula:
[0085]
[0086] At the end of each forward process, solve equation (42) and save the corresponding worst-case probability distribution In the first iteration of the randomized dual dynamic programming algorithm, we get the probability distribution Substitute it into equation (40) and equation (41) to calculate the coefficients and retain them in subsequent iterations of the randomized dual dynamic programming algorithm. Assume that after l iterations, the algorithm converges and the calculated probability distribution is The worst-case probability distribution is returned to the main problem for subsequent calculations. By adding new cuts to equations (37) and (38), the lower bound LB2 of the subproblem is updated. ε2 is the critical value of the upper and lower bounds of the subproblem. When (1-LB2 / UB2)≤ε2, the algorithm converges and the solution to the subproblem is obtained.
[0087] D. Based on the worst-case probability distribution obtained in step C As well as the solution results of the sub-problems, the upper bound UB of the original problem is updated; the main problem equations (25~29) are solved and the lower bound LB of the original problem is updated; ε1 is the critical value of the upper and lower bounds of the original problem. When (1-LB / UB)≤ε1, the algorithm converges and the optimized maintenance plan is obtained.
[0088] The present invention also provides a system for implementing the distributed maintenance method of the hydro-thermal power system, comprising the following modules: a data acquisition module, a fuzzy set construction module, a model construction module, a model solving module, and a unit maintenance module;
[0089] The data acquisition module acquires basic data and uploads the data to the fuzzy set construction module;
[0090] The fuzzy set construction module constructs fuzzy sets based on the Jensen-Shannon distance according to the received data and uploads the data to the model construction module;
[0091] The model building module builds a distributed rod maintenance optimization model based on the received data and uploads the data to the model solving module;
[0092] The model solving module uses a two-level decomposition algorithm to solve the distributed maintenance optimization model based on the received data, obtains the optimized maintenance plan, and uploads the data to the unit maintenance module;
[0093] The unit maintenance module completes the actual unit maintenance based on the received data.
[0094] The present invention discloses a distributed robust maintenance method and system for hydro-thermal power systems. By establishing fuzzy sets to describe random natural water inflow, the established model can obtain the optimal maintenance plan for the hydro-thermal power system under the worst natural water inflow condition, thereby increasing the stability of the power system. The model established by the present invention can handle uncertainty according to the required robustness by adjusting the boundary λ of the fuzzy set, thereby avoiding the risks that may occur when using a random optimization method and the disadvantage of being overly conservative when using a robust optimization method. BRIEF DESCRIPTION OF THE DRAWINGS
[0095] Figure 1 It is a schematic diagram of the process of the present invention;
[0096] Figure 2 The structure and watershed diagram of the IEEE 6-machine 30-node hydro-thermal power system modified in the embodiment;
[0097] Figure 3 The load curve and the annual curve of natural water in the embodiment;
[0098] Figure 4 is a maintenance plan diagram of the unit obtained under different λ values in the embodiment;
[0099] Figure 5 It is a schematic diagram of the structure of the system of the present invention. DETAILED DESCRIPTION
[0100] The present invention provides a method for repairing a distributed rod in a hydro-thermal power system. The flow chart of the method is as follows: Figure 1 As shown, the following steps are included:
[0101] S1. Obtain basic data, including the output limit of thermal power units Thermal power unit output lower limit Output limit of hydropower units Lower limit of hydropower unit output Thermal power unit maintenance time T i Th , Maintenance time of hydropower units Initial storage capacity of hydropower station v h,0 , hydropower station power flow u h,t、Amount of water abandoned by hydropower station w h,t 、Upper limit of hydropower station storage capacity v h,max 、Lower limit of hydropower station storage capacity v h,min , Line transmission capacity limit Line transmission capacity lower limit Annual load curve.
[0102] S2. Based on the Jensen-Shannon distance, a fuzzy set is constructed. Specifically, a fuzzy set is constructed based on the Jensen-Shannon distance to simulate the uncertainty of natural water, including the following steps:
[0103] A. Build a scenario tree: Based on the existing natural water information, sampling is performed in N stages within a year, and A n samples, and finally a combination containing A=1×A2×A3×...×A N A scenario tree with equal probability for each scenario;
[0104] B. Using the scene reduction technique, a sub-scene tree is determined from the initial scene tree, and the scene reduction is performed through the fast forward selection method. The scenes are deleted based on the Kantorovich distance. Each retained scene inherits the probability of the deleted scene closest to it, and a reduced scene tree containing S scenes is obtained, whose discrete probability distribution p 0 is the reference probability distribution of natural water ξ;
[0105] C. Taking the reference probability p of natural water ξ 0 And the boundary λ constructs the fuzzy set, which is expressed as follows:
[0106] Ω p :{p:D JS (p,p 0 )≤λ} (1)
[0107] Among them, the boundary λ satisfies 0≤λ≤1; D JS (p,p 0 ) are two probability distributions p and p 0 The distance between them; using JS divergence measurement D JS (p,p 0 ), expressed using the following formula:
[0108]
[0109] Among them, p is the desired probability variable; S is the set of all scenes in the scene tree.
[0110] S3. Establish a distributed rod maintenance optimization model, specifically adopt the following steps to model:
[0111] a. Taking the minimization of maintenance cost and operating cost as the goal, the objective function is constructed using the following formula:
[0112]
[0113] in, is the maintenance status of the thermal power unit in period t, is the maintenance status of the hydropower unit in period t; and is a 0-1 variable. When the variable is 0, it means the unit is not under maintenance. When the variable is 1, it means the unit is under maintenance. E{·} is the expected value of the operating cost under random natural water conditions. C i (·) represents the cost of thermal power unit i; is the output of thermal power unit i in period t; is the output of hydropower unit j in period t; ρ is the electricity price; β h is the flow-power conversion coefficient of the hydropower station h; w h,t is the water discharge of hydropower station h at time t.
[0114] b. Use the following formula to establish the constraint conditions:
[0115] Power balance constraints: Among them, D t is the load of the system in time period t; T is the total duration of the maintenance plan;
[0116] Unit output constraints:
[0117]
[0118] Where, I is the total number of thermal power units in the maintenance plan; J is the total number of hydropower units in the maintenance plan;
[0119] Spinning reserve constraints:
[0120] Among them, r is the system reserve rate;
[0121] Transmission capacity constraints:
[0122]
[0123] Among them, P l,t is the transmission capacity of line l at time t; is the power transfer factor of thermal power unit i to line l, is the power transfer factor of hydropower unit j to line l; α n,l is the power transfer factor of load node n to line l; Dn,t is the load demand of node n at time t; N is the number of load nodes;
[0124] Reservoir safe operation constraints:
[0125]
[0126] Among them, u h,t is the amount of water used for power generation by the h-th hydropower station at time t, called power generation flow; u h,max is the maximum power generation flow of the h-th hydropower station; w h,t is the water discharge of hydropower station h at time t; w h,max The upper limit of the water discharge of the hydropower station h; v h,t is the reservoir capacity of hydropower station h at time t; v h,min is the lower limit of the storage capacity of the hydropower station h; v h,max is the upper limit of the storage capacity of the hydropower station h; H is the total number of hydropower stations in the maintenance plan;
[0127] Output constraints of hydropower units:
[0128] in, is the output of reservoir h at time t;
[0129] Water volume coupling constraints of cascade hydropower stations:
[0130]
[0131] Among them, ξ h,t is the natural water inflow of the hydropower station in period t, obtained through the fuzzy set obtained in step S2; For the upstream hydropower station - The power generation flow in period t; For the upstream hydropower station - The abandoned water flow in period t;
[0132] Maintenance task constraints:
[0133]
[0134] Among them, T i Th is the maintenance task duration of thermal power unit i; is the maintenance task duration of hydropower unit j;
[0135] Maintenance continuity constraints:
[0136]
[0137] S4. Using a two-level decomposition algorithm to solve the distributed maintenance optimization model obtained in step S3, to obtain an optimized maintenance plan, specifically comprising the following steps:
[0138] A. The distributed robust maintenance optimization model obtained in step S3 is expressed using the following formula:
[0139]
[0140] stEx≤e(21)
[0141] Ax+By≤a(22)
[0142] Cy n +Dy n-1 =b(ξ)(23)
[0143] Ω p ={Hp≤h}(24)
[0144] Since discrete probability distribution is used to describe random natural water inflow, the original objective function is rewritten as the weighted form in formula (20); formula (23) is the original model cascade hydropower station water coupling constraint formula (15) rewritten; the objective function (20) is restricted by constraints (21-23) and fuzzy sets (24); fuzzy sets (24) are constructed by constraint formulas (1-3); for the convenience of description, the model is expressed in abbreviated form according to formulas (20-24), where a, b(ξ), c, h, A, B, C, D, E, H are the abbreviated coefficient matrices; p s , e are known parameters; x, y, p are variables of the abbreviated model function; is the maintenance cost part in the original objective function; is the operating cost part of the original objective function;
[0145] B. According to the formula in step A, the column and constraint generation algorithm is used to decompose the distributed robust maintenance optimization model into the main problem (MP) and sub-problems (SP), where the main problem is expressed by the following formula:
[0146]
[0147] stEx≤e(26)
[0148] Ax+By≤a,m=1,2,...,M(27)
[0149]
[0150]
[0151] Where η is an auxiliary variable, which is limited by equation (29); constraints (27-29) are a set of constraints corresponding to the worst probability distribution produced by the subproblem. Therefore, in each iteration, a new set of constraints will be added to the main problem. m is the current iteration number; M is the total number of iterations; the solution of the main problem is used to update the lower bound of the original problem;
[0152] The subproblem is expressed using the following formula:
[0153]
[0154] stΩ p ={Hp≤h}(31)
[0155]
[0156] Cy n +Dy n-1 =b(ξ)(33)
[0157] in, is the sub-problem variable;
[0158] The subproblem is a two-level optimization problem. The Stochastic Dual Dynamic Programming (SDDP) algorithm is used to decompose the subproblem and convert it into a multi-stage problem:
[0159]
[0160] Among them, p s,n is the probability of the sth scene appearing in the nth stage; in the scene tree, all nodes except the last stage have a set of descendant nodes D(s,n), and all nodes except the first stage have an ancestor node A(s,n), so the multi-stage problem is converted into the form of Bellman equation:
[0161] When n=1,
[0162] When n=2,3,4,...,N,
[0163]
[0164] As shown in the above formula, the multi-stage problem is decomposed into stage sub-problems that can be optimized piecewise; where V is the value function of the first stage; Q d,2 (y1,ξ d,2 ) is the value function; a is a node in the ancestor node A(s,n); the value function Q s,n (y a,n-1 ,ξ s,n) represents the optimal operating cost of all possible probability distributions in the subsequent stages under the optimal decision of the current scenario. When n = N, the value function Q s,n (y a,n-1 ,ξ s,n ) is equal to 0; the stochastic dual dynamic programming algorithm is used to approximate the value function from the lower bound through a value function consisting of a set of plane equations generated by Benders cut. Therefore, the stage subproblem that can be optimized piecewise can be relaxed into the following form:
[0165]
[0166] Among them, z is the number of scenes in the nth stage; the coefficient is the intercept of Benders cut; is the slope of the Benders cut;
[0167] C. Use the algorithm to obtain the most accurate intercept and slope to construct the Benders cut and solve the subproblem, including the following steps:
[0168] a. Forward iteration: Optimize equations (37) and (38) in sequence stage by stage; after solving equation (37), store the objective function value of the optimal solution as the lower bound (LB2) of the subproblem, and save the optimal solution y1 to the next stage; when solving equation (38), use the solution y1 saved in the ancestor node each time. a.n-1 Optimize and save the corresponding solution and function value; after the iteration, the upper bound (UB2) of the subproblem is obtained through the saved optimal value. The specific calculation is as follows:
[0169]
[0170] Calculate the difference between UB2 and LB2. When (1-LB2 / UB2)≤ε2, the algorithm converges and obtains the solution to the subproblem. If the algorithm does not converge, continue to the reverse iteration step.
[0171] b. Reverse iteration: In the reverse iteration process, all stages in the scene tree are traversed from back to front, and the coefficients of the Benders cut are calculated from the subproblems of the last stage to the subproblems of the second stage, using the following formula:
[0172]
[0173] Among them, π d,n is the optimal solution of equation (37) and equation (38), the value of this multiplier is obtained from the stage coupling constraint (33); The probability distribution in the worst case is obtained by using the optimal value saved in the forward iteration process through the following formula:
[0174]
[0175] At the end of each forward process, solve equation (42) and save the corresponding worst-case probability distribution In the first iteration of the randomized dual dynamic programming algorithm, we get the probability distribution Substitute it into equation (40) and equation (41) to calculate the coefficients and retain them in subsequent iterations of the randomized dual dynamic programming algorithm. Assume that after l iterations, the algorithm converges and the calculated probability distribution is The worst-case probability distribution is returned to the main problem for subsequent calculations. By adding new cuts to equations (37) and (38), the lower bound LB2 of the subproblem is updated. When (1-LB2 / UB2)≤ε2, the algorithm converges and the solution to the subproblem is obtained.
[0176] D. Based on the worst-case probability distribution obtained in step C And the solution results of the sub-problems are used to update the upper bound UB of the original problem; the main problem equations (25~29) are solved and the lower bound LB of the original problem is updated; when (1-LB / UB)≤ε1, the algorithm converges and the optimized maintenance plan is obtained.
[0177] S5. Complete the actual unit maintenance according to the optimized maintenance plan obtained in step S4.
[0178] The present invention also provides a system including the distributed blue stick maintenance method of the hydro-thermal power system, comprising the following modules: a data acquisition module, a fuzzy set construction module, a model construction module, a model solving module, and a unit maintenance module;
[0179] The data acquisition module acquires basic data and uploads the data to the fuzzy set construction module;
[0180] The fuzzy set construction module constructs fuzzy sets based on the Jensen-Shannon distance according to the received data and uploads the data to the model construction module;
[0181] The model building module builds a distributed rod maintenance optimization model based on the received data and uploads the data to the model solving module;
[0182] The model solving module uses a two-level decomposition algorithm to solve the distributed maintenance optimization model based on the received data, obtains the optimized maintenance plan, and uploads the data to the unit maintenance module;
[0183] The unit maintenance module completes the actual unit maintenance based on the received data.
[0184] The method of the present invention is further described below in conjunction with an embodiment:
[0185] This embodiment adopts a modified IEEE 6-machine 30-node hydro-thermal power system to implement the distributed maintenance method of the hydro-thermal power system proposed by the present invention.
[0186] The modified IEEE 6-machine 30-node hydro-thermal power system includes 3 thermal power units and 3 hydro-power units, of which the 3 hydro-power units are distributed in two reservoirs in the same basin. The system and basin structure are as follows: Figure 2 The relevant parameters of the unit are shown in Table 1, and the annual curve of load demand and natural water supply is shown in Figure 3 This chapter divides a year into four stages. Based on the known natural water inflow information and prediction errors, 20 samples are drawn in each stage, generating a total of 20 3 The scenario tree of the scenarios is then reduced to 10 using the fast forward selection method, and a discrete reference probability distribution is obtained. The convergence criterion of the algorithm is set to ε1 = 10 -4 and ε2=10 -6 .
[0187] Table 1 Modified parameters of the units in the IEEE 6-machine 30-node hydrothermal power system
[0188]
[0189] Before calculating the distributed robust maintenance optimization model, the reduced scenario tree with 10 scenarios and its corresponding probability distribution are used to obtain the random maintenance optimization model, which can be solved directly in the Gurobi solver, and its optimal result is 2,951,706.79. In addition, a robust maintenance optimization model is constructed to find the worst case in the reduced scenario tree, and the optimal result of the model is calculated to be 2,965,732.17.
[0190] The solution results of the robust optimization model under different λ values are shown in Table 2. Obviously, the total operating cost increases with the increase of λ. When λ = 0, the boundary of the fuzzy set is zero, and the probability distribution in the fuzzy set is the same as the reference probability distribution. Therefore, the solution is equivalent to the result obtained when solving using the stochastic optimization model. When λ becomes larger, the range of the fuzzy set becomes larger, the penalty for abandoning water in the solution result decreases, and the power generation cost also increases. This is because the larger the range of the fuzzy set, the worse the probability distribution of the worst case, which leads to a decrease in the total amount of natural water. In order to cope with the deterioration of the probability distribution, the model needs to sacrifice economy to obtain a more conservative solution. When λ = 0.5, it can be observed from the table that the results are close to those of the robust model. This is because when λ = 0.5, the probability distribution of the worst case is close to the worst case in the robust model. Of course, the dispatcher can make a trade-off between the robustness and economy of the solution by adjusting λ.
[0191] Table 2 Solution results under different λ in IEEE30-node example
[0192]
[0193] As can be seen from Table 2, the solution results are the same when λ increases from 0.5 to 0.6. When λ = 0.1, the probability distribution of the worst case includes all ten scenarios. When λ increases to 0.3, three scenarios are excluded. When λ = 0.5, only one scenario is retained. This means that the adjustable range of λ is limited, and even if λ is further increased, the probability distribution of the worst case will not get worse, so the solution results remain unchanged.
[0194] The maintenance plan under different λ values is as follows: Figure 4 As shown, the gray blocks indicate that the units are in operation, and the colored blocks indicate that the units are in maintenance. Regardless of the value of λ, in order to avoid wasting potential water resources and to ensure the power generation of the units as much as possible, the maintenance plans of the three hydropower units are not scheduled during the flood season. Idle (i.e., no output is required) thermal power units can be overhauled during this period. At the same time, the maintenance plans obtained by solving the model in this chapter are robust and can cope with the worst-case probability distribution of natural water inflow in the corresponding fuzzy set. As λ increases from 0 to 0.5, the worst-case probability distribution becomes worse. In response to this change, the maintenance date of the hydropower units is also moved to a period with less natural water inflow.
[0195] Through simulation tests on the modified IEEE 6-machine 30-node hydro-thermal power system and the provincial actual hydro-thermal power system, the following conclusions were drawn:
[0196] 1) The distributed robust maintenance optimization model proposed in the present invention can handle uncertainty with the required robustness by adjusting the boundary λ of the fuzzy set, thereby avoiding possible risks and overly conservative solutions. When λ = 0, the result is the same as the result of random optimization. As λ increases, the conservatism of the solution increases until λ reaches the limit of the adjustable range, and the solution is the same as the solution of robust optimization. The adjustable range of λ is affected by the number of scenarios in the scenario tree after reduction.
[0197] 2) The simulation results prove the correctness and effectiveness of the proposed two-level decomposition algorithm: when solving the proposed model, the algorithm has finite convergence; at the same time, the use of randomized dual dynamic programming algorithm in sub-problems can further improve the computational efficiency.
Claims
1. A method for repairing a distributed rod in a hydro-thermal power system, characterized in that: The following steps are involved: S1. Obtain basic data; S2. Construct fuzzy sets based on Jensen-Shannon distance; S3. Establishing a maintenance optimization model for distributed rods; S4. Solve the maintenance optimization model of the subdivision blue stick obtained in step S3 using a two-level decomposition algorithm to obtain an optimized maintenance plan; S5. Complete actual unit maintenance according to the optimized maintenance plan obtained in step S4.
2. The method for repairing the distributed rods of the hydro-thermal power system according to claim 1, characterized in that: The basic data obtained in step S1 specifically includes the output upper limit of the thermal power unit Thermal power unit output lower limit Output limit of hydropower units Lower limit of hydropower unit output Thermal power unit maintenance time T i Th , Maintenance time of hydropower units Initial storage capacity of hydropower station v h,0 , hydropower station power flow u h,t 、Amount of water abandoned by hydropower station w h,t 、Upper limit of hydropower station storage capacity v h,max 、Lower limit of hydropower station storage capacity v h,min , Line transmission capacity limit Line transmission capacity lower limit Annual load curve.
3. The method for repairing the distributed rods of the hydro-thermal power system according to claim 2, characterized in that: Step S2 specifically constructs a fuzzy set based on Jensen-Shannon distance to simulate the uncertainty of natural water supply, including the following steps: A. Build a scenario tree: Based on the existing natural water information, sampling is performed in N stages within a year, and A n samples, and finally a combination containing A=1×A2×A3×...×A N A scenario tree with equal probability for each scenario; B. Using the scene reduction technique, a sub-scene tree is determined from the initial scene tree, and the scene reduction is performed through the fast forward selection method. The scenes are deleted based on the Kantorovich distance. Each retained scene inherits the probability of the deleted scene closest to it, and a reduced scene tree containing |S| scenes is obtained, and its discrete probability distribution p 0 is the reference probability distribution of natural water ξ; C. Taking the reference probability p of natural water ξ 0 And the boundary λ constructs the fuzzy set, which is expressed as follows: Ω p :{p:D JS (p,p 0 )≤λ} (1) Among them, the boundary λ satisfies 0≤λ≤1; D JS (p,p 0 ) are two probability distributions p and p 0 The distance between them; using JS divergence measurement D JS (p,p 0 ), expressed using the following formula: Among them, p is the desired probability variable; S is the set of all scenes in the scene tree.
4. The method for repairing the distributed rods of the hydro-thermal power system according to claim 3 is characterized in that: Step S3 describes the establishment of a distributed maintenance optimization model, which is specifically modeled using the following steps: a. Taking the minimization of maintenance cost and operating cost as the goal, the objective function is constructed using the following formula: in, is the maintenance status of the thermal power unit in period t, is the maintenance status of the hydropower unit in period t; and is a 0-1 variable. When the variable is 0, it means the unit is not under maintenance. When the variable is 1, it means the unit is under maintenance. E{·} is the expected value of the operating cost under random natural water conditions. C i (·) represents the cost of thermal power unit i; is the output of thermal power unit i in period t; is the output of hydropower unit j in period t; ρ is the electricity price; β h is the flow-power conversion coefficient of the hydropower station h; w h,t is the water discharge of hydropower station h at time t. b. Use the following formula to establish the constraint conditions: Power balance constraints: Among them, D t is the load of the system in time period t; T is the total duration of the maintenance plan; Unit output constraints: Where, I is the total number of thermal power units in the maintenance plan; J is the total number of hydropower units in the maintenance plan; Spinning reserve constraints: Among them, r is the system reserve rate; Transmission capacity constraints: Among them, P l,t is the transmission capacity of line l at time t; is the power transfer factor of thermal power unit i to line l, is the power transfer factor of hydropower unit j to line l; α n,l is the power transfer factor of load node n to line l; D n,t is the load demand of node n at time t; N is the number of load nodes; Reservoir safe operation constraints: Among them, u h,t is the amount of water used for power generation by the h-th hydropower station at time t, called power generation flow; u h,max is the maximum power generation flow of the h-th hydropower station; w h,t is the water discharge of hydropower station h at time t; w h,max The upper limit of the water discharge of the hydropower station h; v h,t is the reservoir capacity of hydropower station h at time t; v h,min is the lower limit of the storage capacity of the hydropower station h; v h,max is the upper limit of the storage capacity of the hydropower station h; H is the total number of hydropower stations in the maintenance plan; Output constraints of hydropower units: in, is the output of reservoir h at time t; Water volume coupling constraints of cascade hydropower stations: Among them, ξ h,t is the natural water inflow of hydropower station h in period t, obtained through the fuzzy set obtained in step S2; For the upstream hydropower station - The power generation flow in period t; For the upstream hydropower station - The abandoned water flow in period t; Maintenance task constraints: Among them, T i Th is the maintenance task duration of thermal power unit i; is the maintenance task duration of hydropower unit j; Maintenance continuity constraints:
5. The method for repairing the distributed rods of the hydro-thermal power system according to claim 4, characterized in that: Step S4 specifically includes the following steps: A. The distributed robust maintenance optimization model obtained in step S3 is expressed using the following formula: Since discrete probability distribution is used to describe random natural water inflow, the original objective function is rewritten as the weighted form in formula (20); formula (23) is the original model cascade hydropower station water coupling constraint formula (15) rewritten; the objective function (20) is restricted by constraints (21-23) and fuzzy sets (24); fuzzy sets (24) are constructed by constraint formulas (1-3); for the convenience of description, the model is expressed in abbreviated form according to formulas (20-24), where a, b(ξ), c, h, A, B, C, D, E, H are the abbreviated coefficient matrices; p s , e are known parameters; x, y, p are variables of the abbreviated model function; is the maintenance cost part in the original objective function; is the operating cost part of the original objective function; B. According to the formula in step A, the column and constraint generation algorithm is used to decompose the distributed robust maintenance optimization model into a main problem and sub-problems, where the main problem is expressed using the following formula: Where η is an auxiliary variable, which is limited by equation (29); constraints (27-29) are a set of constraints corresponding to the worst probability distribution produced by the subproblem. Therefore, in each iteration, a new set of constraints will be added to the main problem. m is the current iteration number; M is the total number of iterations; the solution of the main problem is used to update the lower bound of the original problem; The subproblem is expressed using the following formula: in, is the sub-problem variable; The subproblem is a two-level optimization problem. The stochastic dual dynamic programming algorithm is used to decompose the subproblem and convert it into a multi-stage problem: Among them, p s,n is the probability of the sth scene appearing in the nth stage; in the scene tree, all nodes except the last stage have a set of descendant nodes D(s,n), and all nodes except the first stage have an ancestor node A(s,n), so the multi-stage problem is converted into the form of Bellman equation: When n=1, When n=2,3,4,...,N, As shown in the above formula, the multi-stage problem is decomposed into stage sub-problems that can be optimized piecewise; where V is the value function of the first stage; Q d,2 (y1,ξ d,2 ) is the value function; a is a node in the ancestor node A(s,n); the value function Q s,n (y a,n-1 ,ξ s,n ) represents the optimal operating cost of all possible probability distributions in the subsequent stages under the optimal decision of the current scenario. When n = N, the value function Q s,n (y a,n-1 ,ξ s,n ) is equal to 0; the stochastic dual dynamic programming algorithm is used to approximate the value function from the lower bound through a value function consisting of a set of plane equations generated by Benders cut. Therefore, the stage subproblem that can be optimized piecewise can be relaxed into the following form: Among them, z is the number of scenes in the nth stage; the coefficient is the intercept of Benders cut; is the slope of the Benders cut; C. Use the algorithm to obtain the most accurate intercept and slope to construct the Benders cut and solve the sub-problems to obtain the probability distribution in the worst case. And the solution results of the sub-problems; D. Based on the worst-case probability distribution obtained in step C As well as the solution results of the sub-problems, the upper bound UB of the original problem is updated; the main problem equations (25~29) are solved and the lower bound LB of the original problem is updated; ε1 is the critical value of the upper and lower bounds of the original problem. When (1-LB / UB)≤ε1, the algorithm converges and the optimized maintenance plan is obtained.
6. The method for repairing the distributed rods of the hydro-thermal power system according to claim 5, characterized in that: Step C obtains the most accurate intercept and slope through an algorithm to construct the Benders cut and solve the subproblem, which specifically includes the following steps: a. Forward iteration: Optimize equations (37) and (38) in sequence stage by stage; after solving equation (37), store the objective function value of the optimal solution as the lower bound LB2 of the subproblem, and save the optimal solution y1 to the next stage; when solving equation (38), use the solution y1 saved in the ancestor node each time. a.n-1 Optimize and save the corresponding solution and function value; after the iteration, the upper bound UB2 of the subproblem is obtained through the saved optimal value. The specific calculation is as follows: Calculate the difference between UB2 and LB2, ε2 is the critical value of the upper and lower bounds of the subproblem. When (1-LB2 / UB2)≤ε2, the algorithm converges and obtains the solution to the subproblem. If the algorithm does not converge, continue to enter the reverse iteration step. b. Reverse iteration: In the reverse iteration process, all stages in the scene tree are traversed from back to front, and the coefficients of the Benders cut are calculated from the subproblems of the last stage to the subproblems of the second stage, using the following formula: in, π d,n is the optimal solution of equation (37) and equation (38), the value of this multiplier is obtained from the stage coupling constraint (33); The probability distribution in the worst case is obtained by using the optimal value saved in the forward iteration process through the following formula: At the end of each forward process, solve equation (42) and save the corresponding worst-case probability distribution In the first iteration of the randomized dual dynamic programming algorithm, we get the probability distribution Substitute it into equation (40) and equation (41) to calculate the coefficients and retain them in the subsequent iterations of the randomized dual dynamic programming algorithm; after l iterations, the algorithm converges and the calculated probability distribution is The worst-case probability distribution is returned to the main problem for subsequent calculations. By adding new cuts to equations (37) and (38), the lower bound LB2 of the subproblem is updated. ε2 is the critical value of the upper and lower bounds of the subproblem. When (1-LB2 / UB2)≤ε2, the algorithm converges and the solution to the subproblem is obtained.
7. A system for implementing the method for distributing and repairing the hydro-thermal power system according to any one of claims 1 to 6, characterized in that: It includes the following modules: data acquisition module, fuzzy set construction module, model construction module, model solution module, unit maintenance module; The data acquisition module acquires basic data and uploads the data to the fuzzy set construction module; The fuzzy set construction module constructs fuzzy sets based on the Jensen-Shannon distance according to the received data and uploads the data to the model construction module; The model building module builds a distributed rod maintenance optimization model based on the received data and uploads the data to the model solving module; The model solving module uses a two-level decomposition algorithm to solve the distributed maintenance optimization model based on the received data, obtains the optimized maintenance plan, and uploads the data to the unit maintenance module; The unit maintenance module completes the actual unit maintenance based on the received data.
