Source network coordinated distribution robust optimization planning method and system

Through the source-network coordinated distribution robust optimization planning method, a frequency security constraint model under multiple scenarios is constructed, which solves the problems of frequency security and inertia response in traditional power system planning, and achieves the safety and efficiency of power grid operation.

CN118676948APending Publication Date: 2024-09-20HUNAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310264565.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-17
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

Traditional power system planning methods are difficult to simultaneously meet the frequency security requirements and inertia response requirements in high-proportion renewable energy power systems, and the complexity of frequency security constraints increases the difficulty of planning.

Method used

The source network coordinated distribution robust optimization planning method is used to construct a frequency security constraint model under multiple scenarios by calculating planning decision values ​​and dual variables. The distributed robust optimization framework is used to identify extreme scenarios of new energy output, and in the intraday dispatch model Incorporate linear frequency safety constraints to ensure the safety of power grid operation.

Benefits of technology

It has realized a planning solution that meets the frequency security of the power grid in multiple scenarios, ensures the operational safety of a high proportion of renewable power systems, and effectively utilizes multiple types of resources to provide inertia and frequency support.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118676948A
    Figure CN118676948A
Patent Text Reader

Abstract

The invention discloses a source-network coordinated distribution robust optimization planning method and system, and the method comprises the steps: constructing a linear constraint set which meets the dynamic frequency safety of a power grid through considering the inertia level and frequency modulation capability provided by multiple types of resources, and bringing the frequency safety constraint set into an intra-day scheduling model, and the effectiveness of providing inertia and frequency support by multiple types of resources in intra-day scheduling is reflected. And performing safety feasibility verification on the scheme of the planning model by using the constructed intra-day scheduling model to obtain a planning scheme meeting power grid operation and frequency safety in multiple scenes, thereby ensuring the operation safety of the high-proportion renewable power system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power system planning, and in particular to a method and system for source-grid coordinated distributed robust optimization planning. Background Art

[0002] Traditional power system planning methods only focus on the power balance of the system. However, as large-scale renewable energy is incorporated through inertia-free / low-inertia power electronic devices to replace some synchronous power sources, the inertia level and primary frequency regulation capacity of the power system are continuously reduced, which brings challenges to the frequency security of the power grid. On the one hand, in the construction of a high-proportion renewable energy power system, it is increasingly difficult to simultaneously meet the renewable energy consumption goals and frequency security requirements by relying solely on traditional synchronous units (thermal power and hydropower) to provide inertia response and frequency regulation services. It is urgent to tap the inertia support and primary frequency regulation capabilities of wind power, photovoltaic and other resources. On the other hand, the frequency security constraints under multi-type frequency response methods are highly nonlinear functions. Directly incorporating them into the planning problem greatly increases the difficulty and complexity of the problem. How to construct frequency security constraints associated with planning variables is the key and difficulty in planning a high-proportion renewable energy power system.

[0003] In the field of power system planning, it is necessary to propose a power system optimization planning method that takes frequency security into consideration to ensure the safety of operation of a high-proportion renewable power system and reflect the effectiveness of multiple types of resources in providing inertia and frequency support. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a source-grid coordinated distributed robust optimization planning method and system in view of the deficiencies in the existing technology, so as to obtain a planning scheme that satisfies power grid operation and frequency safety in multiple scenarios.

[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is: a source network coordinated distribution robust optimization planning method, comprising the following steps:

[0006] 1) Calculate the main problem of the Ith outer loop and obtain the planning decision value v (I) and the day-ahead unit start-up and shutdown decision value u (I) 、Day-ahead operation decision value x (I) , the value of the dual variable θ (I) , π +(I) , π -(I) and λ (I) , and the value of the auxiliary variable γ (I) ; Set the lower bound value LB of the outer loop outer Update the objective function value of the main problem; set the initial values ​​of the upper and lower bounds of the inner loop to LB inter = -∞ and UB inter =+∞, set the number of inner loops K=1; the main problem expression is as follows:

[0007]

[0008] oeLh (I) +b1≤0;

[0009] A2v (I) +Bu (I) +Gx (I) +b2≤0;

[0010] |γ (I) |≤λ (I) ;

[0011]

[0012]

[0013] Where c1 represents the investment cost coefficient; c2 is the start-up and shutdown cost coefficient of the unit a day ago; ρ s is the probability value of the sth typical day, where s is the index number of the typical day; θ (I) , (I) , π +(I) and π -(I) is the dual variable obtained by Slater condition transformation; ε is the Wasserstein radius; represents the historical data of the nth new energy forecast error; ζ (i) represents the prediction error value of the i-th selected new energy source; γ (I) is the auxiliary variable introduced; A1 is the planning decision value in the network source planning model The coefficient matrix of the network source planning; b1 is the coefficient vector in the network source planning; A2 is the planning decision value in the day-ahead unit combination model The coefficient matrix of ; B and G are the start-stop decision values ​​u in the day-ahead unit commitment model (I) and the day-ahead decision value x (I) The coefficient matrix of the day-ahead unit combination model; b2 is the coefficient vector in the day-ahead unit combination model; d is the operating cost coefficient of the intraday scheduling model; z (i) is the decision vector for intraday operation, which is a 0-1 variable; (i) is the intraday operation status value in the intraday scheduling model; A3, E, F and L are the planning decision values ​​v3 in the intraday scheduling model respectively. (I) , start-stop decision value u (I) 、Day-ahead operation decision value x (I) and the new energy prediction error value ζ (i) The coefficient matrix of the intraday scheduling model; J1 and J2 are the intraday operation status values ​​y (i) and the decision value z for intraday operation (i)The coefficient matrix of ; q is the coefficient vector in the intraday scheduling model; δ + and δ - are positive and negative slack variables respectively; μ + and μ - are random variables The upper and lower limits of the conditional expectation value; M is a constant term; N is the number of historical data of new energy prediction errors;

[0014] 2) The v obtained by calculating the first main problem (I) 、u (I) 、x (I) , π +(I) , π -(I) and γ (I) Substitute into the SP-U model; calculate the SP-U model of the Kth inner loop and obtain the value of the uncertain variable ζ (K) , and update The SP-U model expression is as follows:

[0015]

[0016]

[0017]

[0018] Among them, τ (K) is the auxiliary variable introduced; α (k) is the dual variable of the intraday scheduling constraint; (k) It is the decision value of new energy participating in frequency regulation in the intraday dispatch model;

[0019] 3) The ζ obtained by SP-U calculation for the Kth time (K) Substitute into the SP-L model; calculate the SP-L model and obtain the decision variable y (K) 、z (K) ,δ +(K) and δ -(K) , and update UB inner =f sp (v,u,x,ζ); the SP-L model expression is as follows:

[0020]

[0021] ikB (I) +Eu (I) +Fx (I) +Lζ (K) -q≤J1y (K) +J2z (K) +δ +(K) -δ -(K) ;

[0022] in,

[0023] 4) If |UB inner -LB inner |≤ε inner , then update And go to 5); otherwise, add 1 to the value of K and go to 2);

[0024] 5) If |LB outer -UB outer |≤ε outer , stop the loop and get the final investment plan (new energy units and line construction plan, new energy units virtual synchronization plan and thermal power unit retirement plan); otherwise, add 1 to the value of I and return 1); where ε outer and ε inter are the error thresholds of the inner and outer loops respectively.

[0025] Using the above planning process, an initial planning scheme that meets the planning model and the unit combination model under the classic scenario can be obtained in advance. Then, the intraday scheduling model considering the frequency safety constraint is used to verify the feasibility of the initial planning scheme in uncertain scenarios and the frequency safety after the disturbance occurs. The data that does not meet the safe and stable operation conditions are returned to the planning model, and the planning model is solved iteratively. Finally, the planning scheme can meet the grid operation and frequency safety in multiple scenarios.

[0026] The main problem determination process includes:

[0027] The source network coordination distribution robust optimization planning model is expressed as follows:

[0028]

[0029] stA1v+b1≤0

[0030] A2v+Bu+Gx+b2≤0

[0031]

[0032] stA3v+Eu+Fx+Lζ-q≤J1y+J2z+δ + -δ -

[0033] Where v is the planning decision vector, in represents the decision-making quantity of whether the w-th wind power plant should be built; Indicates the decision-making quantity of whether the photovoltaic unit p is to be built; Indicates the decision-making quantity of whether the l*th transmission line is to be built; The decision quantity indicating whether wind power plant w should be virtually synchronized; The decision quantity indicating whether the p-th PV unit should be virtually synchronized; represents the decision variable of whether the thermal power unit g is retired; u is the decision variable of the unit start and stop in the day before, in and They represent the start and stop operation of thermal power unit g in scenario s and period t, respectively, and u g,s,t represents the start and stop status of thermal power unit g in scenario s and period t; x is the day-ahead operation state vector, in is the power generation capacity of thermal power unit g in scenario s and period t in the day-ahead operation plan, and are the existing route l and the candidate route l in the day-ahead operation plan respectively. * The transmission power at time t in scenario s; and are the existing route l and the candidate route l in the day-ahead operation plan respectively. * The voltage phase angle of the starting node i at the time t of scenario s; z is the decision vector for intraday operation, in is the unit trip variable, and They respectively represent whether the w-th wind power plant and the p-th thermal power unit in the s-scenario and the t-time period participate in frequency regulation; y is the intraday operation state vector, P g,s,t is the power generation of thermal power unit g in the daily operation in the s scenario and the t period, F l,s,t and F l*,s,t They are the existing line l and the candidate line l in operation within the day respectively * The transmission power at time t in scenario s is: and They are the existing line l and the candidate line l in operation within the day respectively * The voltage phase angle of the starting node i at time t in scenario s is, and are the output power and frequency regulation reserve of wind power plant w in daily operation at time t in scenario s, and are the output power and frequency regulation reserve of photovoltaic unit p in daily operation at time t in scenario s, and The virtual inertia time constant and droop control coefficient of wind power plant w at time t in scenario s are respectively, and They are the inertia time constant and static adjustment error coefficient of the power grid respectively; is the characteristic parameter of the steam turbine, and are the power shortage value and shortage ratio at time t in scenario s; ζ represents the new energy prediction error value; Ρ ζ represents the distribution function distance set; express expectations; represents the maximum expected value;

[0034] Using the Slater condition Expressed as a tractable equivalent model, the main problem expression is obtained.

[0035] The distributed robust optimization framework is used in the construction of the main problem of the present invention, and the extreme scenarios of new energy output can be identified based on the new energy prediction error data set and added to the planning model to avoid missing extreme scenarios or other conventional scenarios in the network source coordination planning stage.

[0036] The source-network coordination distributed robust optimization planning model is formed by integrating the source-network coordination planning model, the day-ahead unit commitment model and the intraday scheduling model; the objective function expression of the source-network coordination planning model is:

[0037]

[0038] Among them, c w and c pv are the unit construction costs of wind power plants and photovoltaic units respectively; c line is the unit construction cost of the transmission line; c v1 and c v2 are the investment costs of virtual synchronization of wind power plants and photovoltaic units respectively; c s is the scrapping cost of thermal power units; c d The equipment disposal cost of retired thermal power units; m is the maintenance cost of the in-service thermal power units; c o is the return cost of the in-service thermal power unit; W 、v PV and v L They represent the construction decision vectors of wind power plants, photovoltaic units and transmission lines, 1 means that the candidate facilities have been built, and 0 means that the candidate facilities have not been built; v V1 and v V2 They represent the investment decision vectors of virtual synchronization of wind power plants and photovoltaic units, 1 means that the units of the plant are virtually synchronized, and 0 means that the units of the plant are not virtually synchronized; v G represents the retirement decision vector of the thermal power unit, 1 means the thermal power unit has been retired, and 0 means the thermal power unit is still in service;

[0039] The constraints of the source network coordination planning model are:

[0040]

[0041]

[0042]

[0043] is the upper limit of annual investment cost; is the upper limit of the renewable energy that can be developed; represents a collection of wind farms; represents a collection of photovoltaic units; and are the unit installed capacities of wind power plant w and photovoltaic unit p respectively; is the total installed capacity; is the target value of the proportion of new energy installed capacity; σ G , σ W and σ PV They represent the reserve rates of thermal power units, wind power plants and photovoltaic units respectively; RM is the system reserve capacity factor; PD max The maximum demand of the system load.

[0044] The present invention utilizes the objective function and constraint conditions of the source-network coordination planning model to achieve the economic optimality of the investment plan while satisfying the basic requirements of power grid planning.

[0045] The objective function of the intraday scheduling model is:

[0046]

[0047] The basic operating constraints of the intraday scheduling model include:

[0048]

[0049]

[0050]

[0051] |F l,s,t |≤F l max ,

[0052]

[0053]

[0054]

[0055]

[0056]

[0057]

[0058]

[0059]

[0060]

[0061]

[0062]

[0063]

[0064] Among them, P g,s,t is the actual output of thermal power unit g at time t in scenario s, is the power demand of system node i in scenario s, is the predicted power of the new energy unit r in the s scenario and the t period, in and are the predicted power of wind power plant w and photovoltaic unit p in scenario s and period t respectively; The error between the predicted power and the output power of the new energy; is the actual maximum output power of the new energy unit r at time t in scenario s, in and are the maximum output power of wind power plant w and photovoltaic unit p in scenario s and period t respectively; is the output power of the new energy unit r, in and are the output power of wind power plant w and photovoltaic unit p in scenario s and period t respectively; It is the frequency regulation standby of the new energy unit r at time t in scenario s. in and u are the frequency regulation standby active powers reserved by the wind power plant w and the photovoltaic unit p in the scenario s and period t respectively (the standby is divided into many types, and the present invention assumes that the standby reserved by the new energy unit is only used for frequency regulation); g,s,t represents the start and stop status of thermal power unit g in scenario s and period t, u g,s,t =1 means the thermal power unit g is in the start-up state, u g,s,t =0 means the thermal power unit g is in shutdown state; G g (P g,s,t) is the power generation cost function of thermal power unit g, Represents a collection of thermal power units; and Respectively represent the maximum and minimum output of thermal power unit g, A l and A l* For the existing route l and the candidate route l * The node association matrix of l,s,t and F l*,s,t are the existing route l and the candidate route l respectively * The actual transmission power at time t in scenario s; Candidate line l * The construction state variable of b l and b l* are the existing route l and the candidate route l respectively * The size of the reactance; and The existing lines are * The actual voltage phase angle value between the starting node i and the ending node j at time t in scenario s is: and They are the proposed lines l * The actual voltage phase angle between the starting node i and the ending node j at time t in scenario s; is the upper limit of the voltage phase angle of node i; It is a 0-1 variable, indicating whether the unit is faulty, 1 indicates that the unit has tripped, and 0 indicates that the unit has not tripped; is the disturbance power at time t in scenario s; and are the virtual synchronous inertia time and droop control characteristic parameters of wind power plant w in scenario s and period t, respectively, W is the frequency threshold for wind power plant w to participate in, is the rated capacity of the wind power plant w, is a 0-1 variable, indicating whether wind power plant w participates in frequency regulation; and is the virtual synchronous inertia time constant and droop control characteristic parameter of the PV power station p, κ PV is the threshold of the frequency of participation of the photovoltaic power station p, is the rated capacity of the photovoltaic power station p, It is a 0-1 variable, indicating whether the photovoltaic power station p participates in frequency modulation; is the synchronous inertia time constant of thermal power unit g, F g is the characteristic parameter of the steam turbine of thermal power unit g, is the static adjustment error coefficient of thermal power unit g, is the ratio of disturbance power to total demand, D sys is the equivalent damping coefficient, is the maximum frequency deviation threshold; f0 is the reference frequency, f ss is the quasi-steady-state frequency, is the maximum limit of the lowest frequency, is the maximum limit of the frequency change rate at the initial moment, is the equivalent inertia coefficient, R sys is the equivalent static adjustment error coefficient, is the characteristic parameter value of the equivalent steam turbine, a k , b k and c k are the kth linear functions respectively and The coefficient of k is the constant term of the kth linear function.

[0065] The present invention utilizes the objective function and constraints of the intraday dispatch model to verify whether the planning scheme meets the basic requirements of power grid operation in extreme scenarios or other conventional scenarios.

[0066] Virtual synchronous inertia time of wind power plant w in scenario s during period t The expression is:

[0067] Droop control characteristic parameters of wind power plant w in scenario s during period t The expression is:

[0068] Among them, η is the spare parameter of the motor group w participating in the primary frequency modulation response, is the maximum frequency deviation threshold.

[0069] The expression of the linear function is:

[0070]

[0071]

[0072] in, n represents the nth sampling point, represents the set of integers {1,…,N}, n * Indicates the nth * sampling points, K is the number of linear functions; For the selected n * Equivalent inertia value; For the selected n * Equivalent static adjustment coefficient; For the selected n * The characteristic parameter values ​​of an equivalent steam turbine; For the selected n * Active disturbance value; n * A minimum inertia value.

[0073] The process of determining the linear function includes:

[0074] A) Set the number of iterations Itera max , error threshold ε0, number of linear functions K, initial number of iterations Itera=1;

[0075] B) The parameter space χ to be fitted n* Randomly divide to form K sub-parameter spaces Ω k ,k=1,…,K, each sub-parameter space is a disjoint convex hull;

[0076] C) Perform linear fitting on the points in the sub-parameter space k, k=1,…,K to obtain the best fitting affine function:

[0077]

[0078]

[0079] in, n represents the nth sampling point, represents the set of integers {1,…,N}, n * represents the n*th sampling point, K is the number of linear functions; For the selected n * Equivalent inertia value; For the selected n * Equivalent static adjustment coefficient; For the selected n * The characteristic parameter values ​​of an equivalent steam turbine;

[0080] For the selected n * Active disturbance value; n * A minimum inertia value;

[0081] D) Through renew And according to

[0082] Reshape the parameter space to be fitted Divide into K disjoint sub-parameter spaces Ω * k ,k=1,…,K;

[0083] E) If the sub-parameter space Ω * k The division of Then it ends;

[0084] Otherwise, go to step F); ε0 is the set threshold;

[0085] F) Add 1 to the current number of iterations. If the current number of iterations is less than Itera max , then end; otherwise, return to step C.

[0086] The present invention utilizes the determination process of the linear function to obtain the linear constraint that satisfies the maximum frequency deviation safety. The linear constraint can be directly incorporated into the intraday scheduling model to realize the verification of the maximum frequency deviation safety of the planning scheme.

[0087] random variable The formula for calculating the conditional expected value of is:

[0088]

[0089] in, for The expected function of is a conditional fuzzy set, and represents the empirical distribution and true distribution of new energy prediction errors, ||·|| is the norm, represents the set of all probability distributions, express and The joint distribution of The support set of ζ max is the maximum value of the new energy prediction error, ζ ave is the average value of the new energy prediction error; is the historical sample value of the new energy prediction error.

[0090] Using random variables The calculation process of the conditional expected value makes the generated conditional fuzzy set closer to the actual fluctuation of renewable energy power.

[0091] The objective function of the day-ahead unit commitment model is:

[0092]

[0093] The constraints of the day-ahead unit commitment model are:

[0094]

[0095]

[0096]

[0097]

[0098]

[0099]

[0100]

[0101] in, and are the start-up and shutdown costs and fixed no-load costs of thermal power units g; u g,s,t represents the start and stop status of thermal power unit g in scenario s and period t, u g,s,t =1 means the thermal power unit g is in the start-up state, u g,s,t =0 means the thermal power unit g is in shutdown state; and They represent the start and stop operation of thermal power unit g in scenario s and period t respectively. Start the thermal power unit g. Indicates that the thermal power unit is shutting down, T on and T off Respectively represent the minimum start and stop time of thermal power units, is the power generation of thermal power unit g in scenario s during period t; and Respectively represent the maximum and minimum output of thermal power unit g; SD g Respectively represent the closing climbing ability, A l and are the existing route l and the candidate route l respectively * The node association matrix of and are the existing route l and the candidate route l respectively * The transmission power at time t in scenario s; is the predicted power of the new energy unit r in the s scenario and the t period, is the predicted power of wind power plant w in scenario s during period t, is the predicted power of PV unit p in scenario s during period t; is the predicted power demand of system node i in scenario s, period t, and b l and b l* are the existing route l and the candidate route l respectively * The size of the reactance; and is the voltage phase angle between the starting node i and the ending node j of the existing line l; is the upper limit of the voltage phase angle of node i; and Candidate line l *The voltage phase angle between the starting node i and the ending node j at time t in scenario s; F l max and are the existing route l and the candidate route l respectively * Maximum transmission power; Candidate line l * The construction state variable.

[0102] The present invention utilizes the objective function and constraints of the day-ahead unit combination model to enable the planning scheme to meet basic start-up and shutdown requirements and basic grid operation requirements in classic scenarios, and to achieve the lowest grid operation cost in the day-ahead plan.

[0103] The present invention also provides a source network coordinated distribution robust optimization planning system, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned method of the present invention when executing the program.

[0104] Compared with the prior art, the present invention has the following beneficial effects: the present invention takes into account the inertia level and frequency regulation capability that can be provided by multiple types of resources, constructs a linear constraint set that satisfies the dynamic frequency security of the power grid, incorporates the frequency security constraint set into the intraday dispatch model, and reflects the effectiveness of multiple types of resources in providing inertia and frequency support in intraday dispatch. The constructed intraday dispatch model is used to verify the safety and feasibility of the planning model scheme, and a planning scheme that satisfies the power grid operation and frequency security in multiple scenarios is obtained, ensuring the safety of the operation of a high-proportion renewable power system. BRIEF DESCRIPTION OF THE DRAWINGS

[0105] Figure 1 It is a flow chart of a source network coordination distribution and optimization planning method considering frequency safety provided by an embodiment of the present invention;

[0106] Figure 2 It is a schematic diagram of comparing frequency dynamic curves of different network source coordination optimization planning methods in the calculation examples of the present invention;

[0107] Figure 3 It is a schematic diagram of a source network coordination distribution and robust optimization planning system considering frequency safety provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0108] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0109] Example 1

[0110] This embodiment provides a source network coordinated distribution robust optimization planning method considering frequency security, including the following steps:

[0111] Step S1: Obtaining future planning data of the power grid, daily load data, new energy output data and generator technical parameter data, such as the inertia time constant of the generator set, static adjustment error coefficient and characteristic parameters of the steam turbine;

[0112] Step S2: Based on the data from step S1, a source-network coordination planning model and a day-ahead unit combination model are established to determine the investment and construction of new energy and lines, the retirement of thermal power units, the installation of virtual synchronous machines, and the status of day-ahead units;

[0113] Step S3: According to the investment and construction of new energy, retirement of thermal power units, installation of virtual synchronous machines and the status of the units on the day before, the maximum frequency deviation, the maximum frequency change rate and the quasi-steady-state frequency constraints are constructed, and the convex piecewise linear fitting model and the heuristic solution algorithm are used to process the nonlinear maximum frequency deviation constraints, and the minimum inertia linear function of the coupled maximum frequency deviation is obtained, and then a linear frequency safety constraint set is constructed;

[0114] Step S4: Introduce the linear frequency security constraint set into the intraday dispatch model, and establish an intraday dispatch model that takes into account the uncertainty of new energy and frequency security;

[0115] Step S5: Based on the distributed robust optimization method, the source-network coordination planning model, the day-ahead unit combination model (see: Yan Mingyu, Ai Xiaomeng, Zhang Yipiao, Shu Kangan, Gan Wei, Wen Jinyu. Robust unit combination including wind power considering the prohibited operation interval of the unit [J]. Proceedings of the CSEE, 2018, 38(11): 3195-3203.) and the intraday scheduling model (see: Yan Mingyu, Ai Xiaomeng, Zhang Yipiao, Shu Kangan, Gan Wei, Wen Jinyu. Robust unit combination including wind power considering the prohibited operation interval of the unit [J]. Proceedings of the CSEE, 2018, 38(11): 3195-3203.) are integrated into a source-network coordination distributed robust optimization planning model considering frequency security, and the nested C&CG algorithm is used to solve it.

[0116] This embodiment is described by taking electric power information equipment as an example. The specific modeling process and the meaning of the parameters in each model are shown in the following embodiments.

[0117] Step S2 includes the following steps:

[0118] Step S21: Establishing the objective function of the network resource planning model;

[0119]

[0120] In the formula, c w and c pv are the unit construction costs of wind power plants and photovoltaic units respectively; c line is the unit construction cost of the transmission line; c v1 and c v2 are the investment costs of virtual synchronization of wind power plants and photovoltaic units respectively; c s is the scrapping cost of thermal power units; c d The equipment disposal cost of retired thermal power units; m is the maintenance cost of the in-service thermal power units; c o is the return cost of the in-service thermal power unit; W 、v PV and v L They represent the construction decision vectors of wind power plants, photovoltaic units and transmission lines, 1 means that the candidate facilities have been built, and 0 means that the candidate facilities have not been built; v V1 and v V2 They represent the investment decision vectors of virtual synchronization of wind power plants and photovoltaic units, 1 means that the units of the plant are virtually synchronized, and 0 means that the units of the plant are not virtually synchronized; v G Represents the retirement decision vector of the thermal power unit, 1 means that the thermal power unit has been retired, and 0 means that the thermal power unit is still in service.

[0121] Step S22: Determine the power grid planning scope and establish relevant constraints;

[0122] (1) Ensure that the investment funds do not exceed the estimated upper limit, and the investment and construction volume of new energy must be within the exploitable volume, and the proportion of new energy installed capacity can meet the expected value:

[0123]

[0124]

[0125]

[0126] In the formula, is the upper limit of annual investment cost; is the upper limit of the renewable energy that can be developed; represents a collection of wind farms; represents a collection of photovoltaic units; and are the unit installed capacities of wind power plant w and photovoltaic unit p respectively; is the total installed capacity; It is the target value for the proportion of new energy installed capacity.

[0127] (2) Ensure that the system's installed power capacity can meet the adequacy requirements:

[0128]

[0129] In the formula, σ G , σ W and σ PV They represent the reserve rates of thermal power units, wind power plants and photovoltaic units respectively; RM is the system reserve capacity factor; PD max The maximum demand of the system load.

[0130] Step S23: using the scene screening technology K-means to screen out typical days in a year;

[0131] Step S24: constructing the objective function of the day-ahead unit commitment according to the typical day;

[0132]

[0133] In the formula, ρ s is the probability value of the sth typical day; and are the start-up and shutdown costs and fixed no-load costs of thermal power units g; u g,s,t represents the start and stop status of thermal power unit g in scenario s and period t, u g,s,t =1 means the thermal power unit g is in the start-up state, u g,s,t =0 means the thermal power unit g is in shutdown state; and They represent the start and stop operation of thermal power unit g in scenario s and period t respectively. Start the thermal power unit g. Indicates that the thermal power unit is shutting down.

[0134] Step S25: constructing the day-ahead unit combination constraint according to the typical day;

[0135] (1) In the day-ahead plan, the operating state constraints and start / stop constraints of thermal power units are:

[0136]

[0137]

[0138]

[0139]

[0140] Where, T on and T off Indicates the minimum start and stop time of thermal power units.

[0141] (2) In the current plan, the active power output constraints of thermal power units are:

[0142]

[0143]

[0144] In the formula, is the power generation of thermal power unit g in scenario s during period t; and Respectively represent the maximum and minimum output of thermal power unit g; SD g Respectively indicate turning off the gradeability.

[0145] (3) In the current plan, the thermal power unit ramp constraints are:

[0146]

[0147]

[0148] In the formula, RU g and RD g They represent the upward and downward climbing capabilities of thermal power units g; SU g Start climbing ability.

[0149] (4) In the current plan, the system node power balance constraints are:

[0150]

[0151] In the formula, A l and are the existing route l and the candidate route l respectively * The node association matrix of and are the existing route l and the candidate route l respectively * The transmission power at time t in scenario s; is the predicted power of the new energy unit r in the s scenario and the t period, in is the predicted power of wind power plant w in scenario s during period t, is the predicted power of PV unit p in scenario s during period t; is the predicted required power of system node i in scenario s and period t.

[0152] (5) Current power flow constraints of existing transmission lines and planned transmission lines:

[0153]

[0154]

[0155]

[0156]

[0157] Where: b l and are the existing route l and the candidate route l respectively * The size of the reactance; and is the voltage phase angle between the starting node i and the ending node j of the existing line l; is the upper limit of the voltage phase angle of node i; and Candidate line l * The voltage phase angle between the starting node i and the ending node j at time t in scenario s; F l max and are the existing route l and the candidate route l respectively * The maximum transmission power; M represents a sufficiently large constant term; Candidate line l * The construction state variable.

[0158] Step S3 includes the following steps:

[0159] Step S31: obtaining a maximum frequency deviation expression according to a system frequency response model;

[0160] The frequency response model under the expected fault is:

[0161]

[0162] In the formula, H sys is the inertia time constant of the power grid; ΔP loss is the power disturbance; is the rate of change of the system grid frequency; D is the damping coefficient of the system; Δf(t) is the center frequency of the system; ΔP G (t) is the primary frequency modulation response power of the thermal power unit; P W (t) is the primary frequency regulation response power of the wind power plant; ΔP PV (t) is the primary frequency modulation response power of the photovoltaic power station.

[0163] The expression of the frequency response curve can be derived according to the frequency response model:

[0164]

[0165] In the formula, T is the reheating time constant of the steam turbine; R sys F is the system static adjustment coefficient; sys is the characteristic parameter of the steam turbine.

[0166] According to the frequency response curve Δf(t), the maximum frequency deviation Δf can be derived nadir The expression is:

[0167]

[0168] Where, t nadir is the time of the lowest frequency point,

[0169] Step S32: Due to the maximum frequency deviation Δf nadir Since it is a nonlinear function, it cannot be directly substituted into the optimization model for solution. Therefore, a fitting sample data set is constructed based on the data-driven idea to establish a convex piecewise linear fitting model, and the Clustering Gauss–Newton heuristic algorithm is used for solution. The specific steps are as follows:

[0170] (1) Construct the minimum inertia function with respect to the maximum deviation of coupling frequency:

[0171] Since the maximum frequency deviation function In parameter space The above is a monotonically decreasing function, so the nonlinear maximum frequency deviation constraint The minimum inertia constraint of the system converted into the maximum deviation of the coupling frequency is:

[0172]

[0173] In the formula, is the minimum inertia; f0 is the reference frequency of the system, f0 = 50Hz; G(·) is the function of the minimum inertia, which is a high-order function and has no explicit expression.

[0174] (2) The convex piecewise linear fitting method is used to process the minimum inertia function of the maximum deviation of the coupling frequency to obtain the linear constraint formula of the minimum inertia function; the specific steps are as follows:

[0175] (2-1) Construct the lowest inertia data set:

[0176] According to the planning data and the parameters of the generator set, determine the size of the parameters D, T and the parameter H sys , R sys 、F sys as well as The range of variation of p . Using random number generation technology, in the parameter space Ω p Randomly generate N sampling points within Where n represents the nth sampling point, represents the set of integers {1,…,N}. According to the maximum frequency deviation function Δfnadir Calculate the maximum frequency deviation at N sampling points and get the data set From the dataset f Select the maximum frequency deviation threshold The maximum frequency deviation around Thus forming a new data set Among them, n * Indicates the nth * sampling points, δ f is a sufficiently small frequency deviation parameter value, here it is set to 0.007Hz From the new dataset f* A new parameter space can be obtained Since the new dataset So the new parameter space Ω p1 middle There are the following relations:

[0177]

[0178]

[0179] Therefore, the data set with the lowest inertia is

[0180] (2-2) Based on the data set with the lowest inertia, a convex piecewise linear fitting model is constructed:

[0181] Because of the function is a convex function, so In the parameter space Ω p1 It also shows convexity. In the parameter space Ω p1 In the example, the convex piecewise linear fitting method is used to fit Can get with A more accurate piecewise linear display expression In the parameter space Ω p1 Construct K linear functions and build the corresponding convex piecewise linear fitting model. The specific model is as follows:

[0182]

[0183]

[0184] In the formula, a k , b k and c k are the kth linear functions respectively and The coefficient of k is the constant term of the kth linear function.

[0185] (2-3) Solve the convex piecewise linear fitting model;

[0186] Since the constraints of the convex piecewise linear fitting model contain the max{·} function, the convex piecewise linear fitting model belongs to a quadratic optimization model with nonlinear constraints and cannot be directly solved using existing solvers. Here, the Clustering Gauss–Newton heuristic algorithm is used to solve the convex piecewise linear fitting model and obtain the coefficients {a k ,b k ,c k ,d k}, and then obtain the piecewise linear function expression The specific solution steps are as follows:

[0187] 1) Set the number of iterations Itera max , error threshold ε0, number of linear functions K, initial number of iterations Itera=1;

[0188] 2) Parameter space to be fitted Randomly divide to form K sub-parameter spaces Ω k ,k=1,…,K, each sub-parameter space is a disjoint convex hull;

[0189] 3) Perform linear fitting on the points in the sub-parameter space k, k=1,…,K to obtain the best fitting affine function. The specific model is as follows:

[0190]

[0191]

[0192] 4) Pass renew And according to Re-divided into K disjoint sub-parameter spaces Ω k ,k=1,…,K;

[0193] 5) If the sub-parameter space Ω k ,k=1,…,K’s division does not change any more, then stop the iterative calculation, otherwise jump to step 7;

[0194] 6) If Here, if 0.4 is taken, the iterative calculation stops; otherwise, go to step 7;

[0195] 7) Let Itera = Itera + 1, if Itera ≤ Itera max , then stop the iterative calculation; otherwise go to step 3.

[0196] Step S34: construct a frequency safety linear constraint set;

[0197] (1) The system minimum inertia linear constraint coupled with the maximum frequency deviation:

[0198] Through the above process, the minimum inertia calculation formula for the maximum frequency deviation is obtained: because Therefore, the nonlinear constraint on the minimum inertia of the system is The nonlinear term max{·} in the formula is processed and finally transformed into the following system minimum inertia linear constraint on the maximum frequency deviation:

[0199]

[0200] (2) Maximum frequency change rate constraint:

[0201]

[0202] Where, RoCoF max is the rate of change of system frequency at the initial moment; It is the maximum limit of the frequency change rate at the initial moment.

[0203] (3) Steady-state frequency constraint:

[0204]

[0205] In the formula, f ss is the quasi-steady-state frequency of the system; is the maximum limit of the lowest frequency.

[0206] Further, the step S4 comprises the following steps:

[0207] Step S41: Construct new energy prediction error uncertainty constraints:

[0208] Since the output of renewable energy is highly uncertain, its day-ahead forecast value may differ greatly from the actual value within the day, resulting in strong uncertainty in the forecast error of renewable energy. Therefore, the Wasserstein theory and conditional fuzzy sets are used to construct the uncertainty constraints of the forecast error of renewable energy.

[0209] Assuming that the true distribution of new energy prediction errors is within a given Wasserstein distance range, the probability distribution set containing the true distribution can be composed of the following:

[0210]

[0211]

[0212] In the formula, and represents the empirical distribution and true distribution of new energy prediction errors; ||·|| is the norm, and the one-norm is used here; express and The joint distribution of represents the probability distribution set within the Wasserstein distance radius; ε represents the Wasserstein radius, Where D is the support diameter of the random variable, and β is the confidence level of the random variable; represents the set of all probability distributions; Θ is a random variable The support set of Among them, max is the maximum value of the new energy prediction error; ave is the average value of the new energy prediction error; Γ is the control value of the new energy prediction error range.

[0213] Conditional fuzzy sets is defined as the set of all conditional probability distributions that can be derived within a specified range The conditional expected value of is:

[0214]

[0215] In the formula, for The expected function of + and μ - They are The upper and lower bounds of the conditional expectation of .

[0216] Step S42: constructing the objective function of the intraday scheduling model;

[0217]

[0218] Where P g,s,t is the actual output of thermal power unit g at time t in scenario s; G g (P g,s,t ) is the power generation cost function of thermal power unit g.

[0219] Step S43: constructing basic operation constraints of the intraday scheduling model;

[0220] (1) In intraday dispatch, the power balance constraints of the system are:

[0221]

[0222] In the formula, F l,s,t and For the existing route l and the candidate route l * The actual transmission power at time t in scenario s; Pr, R s,t is the actual output of the new energy unit r,

[0223] (2) In daily dispatch, the output constraints of renewable energy and thermal power units are:

[0224]

[0225]

[0226]

[0227]

[0228] In the formula, is the actual maximum output value of the new energy unit r at time t in scenario s; It is a frequency regulation standby of the new energy unit r at time t in scenario s.

[0229] (3) In intraday dispatching, power flow constraints of existing transmission lines and planned transmission lines:

[0230]

[0231]

[0232]

[0233]

[0234] In the formula, For existing lines * The actual voltage phase angle value of the starting node i at time t in scenario s; For the proposed line * The voltage phase angle of the starting node at time t in scenario s.

[0235] Step S44: Considering the maximum online unit tripping event that occurs within a day, constructing the maximum online unit identification constraint;

[0236] Power disturbance caused by the tripping of the largest online unit during intraday dispatch By formula Determine, where the maximum value function max{·} is a nonlinear function and needs to be linearized. The maximum online unit identification constraint after linearization is as follows:

[0237]

[0238]

[0239]

[0240]

[0241] In the formula, It is a 0-1 variable, indicating whether the unit is faulty, 1 indicates that the unit has tripped, and 0 indicates that the unit has not tripped; M is a sufficiently large constant.

[0242] Step S45: Considering the maximum online unit tripping event, constructing frequency safety constraints;

[0243] (1) Primary frequency regulation constraints of wind power plants:

[0244] Assume that all wind farms equipped with virtual synchronous machines adopt the de-rating control mode, that is, the wind farm must have an active output greater than a given threshold to provide primary frequency regulation service. It can be calculated by the following formula:

[0245]

[0246]

[0247]

[0248] In the formula, is the actual maximum output of wind power plant w in scenario s during period t; W is the threshold value of wind power plant w participating in the primary frequency; is the rated capacity of the wind power plant w; It is a 0-1 variable, indicating whether wind power plant w participates in primary frequency regulation.

[0249] In the de-rating mode, the synchronous inertia time and droop control characteristic parameters of the wind power plant are related to the actual maximum output and primary frequency regulation reserve of the wind power plant at different times. Virtual synchronous inertia time of wind power plant w in scenario s during period t and droop control characteristic parameters It can be determined by the following calculation formula:

[0250]

[0251]

[0252] Where η is the standby parameter of the motor group w participating in the primary frequency modulation response.

[0253] (2) Primary frequency regulation constraints of photovoltaic units:

[0254] The dynamic frequency response process of a photovoltaic power station participating in primary frequency regulation is as follows:

[0255]

[0256] In the formula, is the frequency response power of the photovoltaic power station; is the virtual synchronous inertia time constant of the PV power station p, which is a fixed value.

[0257] Assume that all PV power stations use load reduction control mode to participate in the primary frequency regulation service, that is, the actual maximum output of the PV unit is greater than the given threshold to provide primary frequency regulation backup. In intraday scheduling, the PV unit p is in the primary frequency regulation backup in the s scenario t period The following constraints must be met:

[0258]

[0259]

[0260]

[0261]

[0262] In the formula, is the actual active power output of PV unit p in scenario s during period t; is the actual maximum output of PV unit p in scenario s during period t; κ PV is the threshold value of the primary frequency for the PV power station p to participate; is the rated capacity of the photovoltaic power station p; It is a 0-1 variable, indicating whether the photovoltaic power station p participates in primary frequency regulation; is the droop control characteristic parameter of the photovoltaic power station p, which is a fixed value.

[0263] (3) Constraints on system equivalent inertia time constant, system static adjustment error coefficient and turbine characteristic parameters:

[0264]

[0265]

[0266]

[0267] In the formula, is the synchronous inertia time constant of thermal power unit g; F g is the characteristic parameter of the steam turbine of thermal power unit g; is the static adjustment error coefficient of thermal power unit g; is the droop control characteristic parameter of the wind power plant w.

[0268] (3) Frequency change rate constraint, quasi-steady-state frequency constraint and maximum frequency deviation constraint:

[0269]

[0270]

[0271]

[0272]

[0273] In the formula, It is the ratio of disturbance power to total grid demand.

[0274] (3) Primary frequency regulation reserve constraints for wind power, photovoltaic and thermal power units:

[0275]

[0276]

[0277]

[0278] Step S5 includes the following steps:

[0279] Step S51: using a distributed robust optimization method, the planning model, the day-ahead unit commitment model and the intraday dispatching model taking into account the uncertainty of renewable energy and frequency security are integrated into a source-grid coordinated distributed robust optimization planning model.

[0280] There are two stages in the source-grid coordination and distributed robust optimization planning model: 1) The main problem of the first stage: the network-source coordination planning model and the day-ahead unit combination model based on typical days; 2) The safety feasibility verification sub-problem of the second stage: the intraday scheduling model under the most extreme scenario of renewable energy output, which considers normal operation and the N-1 fault of the generator set. In order to better illustrate, the source-grid coordination and distributed robust optimization planning model is written as a compact mathematical expression, as follows:

[0281]

[0282] stA1v1+b1≤0

[0283] A2v2+Bu+Gx+b2≤0

[0284]

[0285] stA3v3+Eu+Fx+Lζ-q≤J1y+J2z+δ + -δ -

[0286] Where c1 represents the investment cost coefficient; c2 is the start-up and shutdown cost coefficient of the unit on the day before; v is the planning decision vector, u is the day-ahead unit start-up and shutdown decision variable, x is the day-ahead running state vector, A1 is the coefficient matrix of the planning decision value v1 in the network source planning model; b1 is the coefficient vector in the network source planning; A2 is the coefficient matrix of the planning decision value v2 in the day-ahead unit combination model; B and G are the start-stop decision values ​​u in the day-ahead unit combination model respectively. (I) and the day-ahead decision value x (I) The coefficient matrix of b2 is the coefficient vector in the day-ahead unit commitment model; Indicates that the uncertainty variable ζ is distributed The expected operating cost caused by the above; ζ represents the vector of uncertain variables; M is a sufficiently large constant; δ + and δ - are positive and negative slack variables respectively; d is the operation cost coefficient of the intraday scheduling model; y is the intraday operation state vector, z is the decision vector for intraday operation, A3, E, F and L are respectively the investment decision value v3, the start-stop decision value, and the day-ahead operation decision value x3 in the intraday scheduling model. (I) and the new energy prediction error value ζ (i) The coefficient matrix of the intraday scheduling model; J1 and J2 are the intraday operation decision values ​​y (i) and frequency modulation decision value z (i) The coefficient matrix of ; q is the coefficient in the intraday scheduling model.

[0287] Step S52: Decomposing the source network coordination distribution blue stick optimization planning model;

[0288] Since the safety feasibility check sub-problem contains 0-1 variables (the maximum online generator identification variable and the state variable of whether the wind / solar unit participates in the primary frequency regulation), the constructed source-grid coordination distribution robust optimization planning model belongs to the two-level mixed integer programming, so the nested column and constraint generation algorithm is used to solve the model. Since the nested C&CG algorithm solves the model through two inner and outer loops, the model needs to be decomposed as follows:

[0289] (1) In the outer loop, the planning model is decomposed into two parts: the main problem (MP) and the subproblem (SP). is a non-convex problem with fuzzy sets. Here, we use the Slater condition to convert Re-formulate it into a tractable equivalent model. Therefore, in the first outer loop, the final form of the main problem is as follows:

[0290]

[0291]

[0292]

[0293] |γ (I) |≤λ (I)

[0294]

[0295]

[0296] In the formula, θ (I) , (I) , π +(I) and π -(I) is the dual variable obtained through Slater conditional transformation; Represents the historical data of n new energy prediction errors; ζ (i) represents the prediction error value of the i-th selected new energy source; γ (I) is an introduced auxiliary variable.

[0297] (2) In the inner loop, SP is decomposed into the upper-level problem (SP-U) and the lower-level problem (SP-L). In the Kth inner loop, the SP-U model is as follows:

[0298] SP-U:

[0299]

[0300]

[0301] In the formula, τ (K) is the auxiliary variable introduced; α (k) is the dual variable of the intraday scheduling constraint.

[0302] Since the constraints of the SP-U model contain a bilinear term ζ (K) α (k) , cannot be solved directly. Here we take the solution result ζ of SP-L in the K-1th inner loop (K-1) and The bilinear term ζ is approximated by the outer approximation method. (K) α (k) to be processed.

[0303]

[0304] In the Kth inner loop, the SP-L model is as follows:

[0305] SP-L:

[0306] ikB (I) +Eu (I) +Fx (I) +Lζ (i) -q+J2z (k) ≤J1y (K) +J2z (K) +δ +(K) -δ -(K)

[0307] Step S53: using a nested C&CG algorithm to solve the network source coordination distribution robust optimization planning model, including the following steps;

[0308] Initialization: Set the number of outer loops I≤I max , and I = 1; the error threshold of the internal and external loops ε outer and ε inter ; Initial values ​​LB of the upper and lower bounds of the outer loop outer = -∞ and UB outer =+∞.

[0309] 1) Solve the MP of the first outer loop and obtain the investment and unit combination decision value v (I) , running decision value x (I) , the value of the dual variable θ (I) , π +(I) , π -(I) and λ (I) , and the value of the auxiliary variable γ (I) ; Then, the lower bound value LB of the outer loop outer Update to the objective function value of MP; set the initial values ​​of the upper and lower bounds of the inner loop to LB inter = -∞ and UB inter = +∞, set the number of inner loops K = 1;

[0310] 2) The v obtained by the first MP solution (I) 、x (I) ,θ (I) , π +(I) , π -(I) , (I) and γ (I) Substitute into the SP-U model; solve the SP-U model of the Kth inner loop and obtain the value of the uncertain variable ζ (K) , and update

[0311] 3) The ζ obtained by solving the Kth SP-U (K) Substitute into the SP-L model; solve SP-L and obtain the decision variable y (K) 、z (K) ,δ+(K) and δ -(K) , and update UB inner =f sp (v,u,x,ζ).

[0312] 4) If |UB inner -LB inner |≤ε inner , then update And go to 5); otherwise, update K=K+1, and go to 2).

[0313] 5) If |LB outer -UB outer |≤ε outer , stop the loop and get the final investment plan, including the new energy unit and line investment plan, the new energy unit virtual synchronization plan and the thermal power unit retirement plan. Otherwise, update I = I + 1 and return 1).

[0314] This embodiment applies a source network coordination distribution robust optimization planning method considering frequency security to a modified IEEE-24 node system. The system parameters are shown in Table 1.

[0315] Table 1 System parameters

[0316]

[0317] In this embodiment, two thermal power units are planned to be retired, namely G2 and G5; a total of 1900MW wind power plants are planned to be built, located at nodes 4, 5, 7 and 12; a total of 1150MW wind power plants are planned to be built, located at nodes 11, 23, 16 and 9; a total of 4 new lines are planned to be installed; and a total of 5 virtual synchronous machine devices are planned to be installed. For specific planning results, please refer to Table 2.

[0318] Table 2 Specific planning results

[0319]

[0320] In order to illustrate the effectiveness of the minimum inertia linear constraint of the maximum frequency deviation coupled to the embodiment of the present invention, the model of the embodiment of the present invention is compared with another model based on RoCoF. max The constraint is used to obtain the minimum inertia linear constraint for comparative analysis. The frequency dynamic curves obtained by different methods are as follows: Figure 2 . Figure 2 The red line in the figure shows the frequency dynamic curve obtained by the proposed minimum inertia linear calculation formula for the maximum frequency deviation of the coupling. Figure 2 The black line in the figure shows the frequency dynamic curve finally obtained by the proposed source network coordination distribution robust optimization planning method considering frequency security; Figure 2 The blue line in the figure shows themax The maximum frequency deviation of the frequency dynamic curve obtained by the constrained minimum inertia calculation formula has exceeded the allowed range.

[0321] Example 2

[0322] Figure 3 It is a schematic diagram of a source network coordinated distribution and optimization planning system considering frequency safety provided by an embodiment of the present invention. The system is suitable for executing the method provided by any embodiment of the present invention.

[0323] A source network coordination distribution robust optimization planning system considering frequency security, comprising:

[0324] Data input module, used to input future planning data of power grid, technical data of existing generator sets and historical output data of new energy into the system;

[0325] A model building module is used to build a network source planning model according to the future planning data of the power grid; based on the daily load data, typical days are selected from the daily load data using K-means, and a day-ahead unit combination model is established based on the typical days; a frequency safety linear constraint set of associated planning variables and unit combination variables is constructed using a convex piecewise linear fitting method; an intraday scheduling model taking into account the uncertainty of new energy and frequency safety is established according to the new energy data and the frequency safety linear constraint set; a network source coordinated distributed robust optimization planning model taking into account frequency safety is established according to the network source planning model, the day-ahead unit combination model and the intraday scheduling model taking into account the uncertainty of new energy and frequency safety;

[0326] A model conversion module, used to convert the network source coordination distribution robust optimization planning model considering frequency security into a main problem, an upper sub-problem and a lower sub-problem;

[0327] The model calculation module is used to perform model calculation on the grid source coordinated distributed robust optimization planning model considering frequency safety to obtain a planning scheme, including new energy and line construction, thermal power unit retirement and virtual synchronous machine configuration.

[0328] The above-mentioned model building module includes: a network source planning model building unit, a day-ahead unit combination model building unit, a linearized frequency security constraint building unit and an intraday scheduling model building unit taking into account new energy uncertainty and frequency security.

[0329] Example 3

[0330] Embodiment 3 of the present invention provides a source network coordinated distribution robust optimization planning system corresponding to the above-mentioned embodiment 1, including a memory, a processor and a computer program stored in the memory; the processor executes the computer program in the memory to implement the steps of the method in the above-mentioned embodiment 1.

[0331] In some implementations, the memory may be a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory.

[0332] In some other implementations, the processor may be a central processing unit (CPU), a digital signal processor (DSP), or other general-purpose processors of various types, which are not limited herein.

[0333] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0334] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A method for optimizing source-network coordinated distribution and robust planning, characterized in that: The following steps are involved: 1) Calculate the main problem of the Ith outer loop and obtain the planning decision value v (I) and the day-ahead unit start-up and shutdown decision value u (I) 、Day-ahead operation decision value x (I) , the value of the dual variable θ (I) , π +(I) , π -(I) and λ (I) , and the value of the auxiliary variable γ (I) ; Set the lower bound value LB of the outer loop outer Update the objective function value of the main problem; set the initial values ​​of the upper and lower bounds of the inner loop to LB inter = -∞ and UB inter =+∞, set the number of inner loops K=1; the main problem expression is as follows: |c (I) |≤λ (I) ; Where c1 represents the investment cost coefficient; c2 is the start-up and shutdown cost coefficient of the unit a day ago; ρ s is the probability value of the sth typical day, where s is the index number of the typical day; θ (I) , (I) , π +(I) and π -(I) is the dual variable obtained by Slater condition transformation; ε is the Wasserstein radius; represents the historical data of the nth new energy forecast error; ζ (i) represents the prediction error value of the i-th selected new energy source; γ (I) is the auxiliary variable introduced; A1 is the planning decision value in the network source planning model The coefficient matrix of the network source planning; b1 is the coefficient vector in the network source planning; A2 is the planning decision value in the day-ahead unit combination model The coefficient matrix of ; B and G are the start-stop decision values ​​u in the day-ahead unit commitment model (I) and the day-ahead decision value x (I) The coefficient matrix of the day-ahead unit combination model; b2 is the coefficient vector in the day-ahead unit combination model; d is the operating cost coefficient of the intraday scheduling model; z (i) is the decision vector for intraday operation, which is a 0-1 variable; (i) is the intraday operation status value in the intraday scheduling model; A3, E, F and L are the planning decision values ​​in the intraday scheduling model Start-stop decision value u (I) 、Day-ahead operation decision value x (I) and the new energy prediction error value ζ (i) The coefficient matrix of the intraday scheduling model; J1 and J2 are the intraday operation status values ​​y (i) and the decision value z for intraday operation (i) The coefficient matrix of ; q is the coefficient vector in the intraday scheduling model; δ + and δ - are positive and negative slack variables respectively; μ + and μ - are random variables The upper and lower limits of the conditional expectation value; M is a constant term; N is the number of historical data of new energy prediction errors; 2) The v obtained by calculating the first main problem (I) 、u (I) 、x (I) , π +(I) , π -(I) and γ (I) Substitute into the SP-U model; calculate the SP-U model of the Kth inner cycle and obtain the new energy prediction error value ζ (K) , and update The SP-U model expression is as follows: stt (K) ≤(A3v (I) +Eu (I) +Fx (I) +Lζ (K) -q+J2z (k) )a (k) ; Among them, τ (K) is the auxiliary variable introduced; α (k) is the dual variable of the intraday scheduling constraint; (k) It is the decision value of new energy participating in frequency regulation in the intraday dispatch model; 3) The ζ obtained by SP-U calculation for the Kth time (K) Substitute into the SP-L model; calculate the SP-L model and obtain the decision variable y (K) 、z (K) ,δ +(K) and δ -(K) , and update UB inner =f sp (v,u,x,ζ); the SP-L model expression is as follows: stA3v (I) +Eu (I) +Fx (I) +Lζ (K) -q≤J1y (K) +J2z (K) +d +(K) -d -(K) ; in, 4) If |UB inner -LB inner |≤ε inner , then update And go to 5); otherwise, add 1 to the value of K and go to 2); 5) If |LB outer -UB outer |≤ε outer , stop the loop and get the final investment plan; otherwise, add 1 to the value of I and return 1); where ε outer and ε inter are the error thresholds of the inner and outer loops respectively.

2. The method for optimizing the source network coordination distribution according to claim 1 is characterized in that: The main problem determination process includes: The source network coordination distribution robust optimization planning model is expressed as follows: stA1v+b1≤0 A2v+Bu+Gx+b2≤0 stA3v+Eu+Fx+Lζ-q≤J1y+J2z+δ + -d - Where v is the planning decision vector, in represents the decision-making quantity of whether the w-th wind power plant should be built; Indicates the decision-making quantity of whether the photovoltaic unit p is to be built; Indicates the decision-making quantity of whether the l*th transmission line is to be built; The decision quantity indicating whether wind power plant w should be virtually synchronized; The decision quantity indicating whether the p-th PV unit should be virtually synchronized; represents the decision variable of whether the thermal power unit g is retired; u is the decision variable of the unit start and stop in the day before, in and They represent the start and stop operation of thermal power unit g in scenario s and period t, respectively, and u g,s,t represents the start and stop status of thermal power unit g in scenario s and period t; x is the day-ahead operation state vector, in is the power generation capacity of thermal power unit g in scenario s and period t in the day-ahead operation plan, and are the existing route l and the candidate route l in the day-ahead operation plan respectively. * The transmission power at time t in scenario s; and are the existing route l and the candidate route l in the day-ahead operation plan respectively. * The voltage phase angle of the starting node i at the time t of scenario s; z is the decision vector for intraday operation, in is the unit trip variable, and They respectively represent whether the w-th wind power plant and the p-th thermal power unit in the s-scenario and the t-time period participate in frequency regulation; y is the intraday operation state vector, P g,s,t is the power generation of thermal power unit g in the daily operation in the s scenario and the t period, F l,s,t and F l*,s,t They are the existing line l and the candidate line l in operation within the day respectively * The transmission power at time t in scenario s is: and They are the existing line l and the candidate line l in operation within the day respectively * The voltage phase angle of the starting node i at time t in scenario s is, and are the output power and frequency regulation reserve of wind power plant w in daily operation at time t in scenario s, and are the output power and frequency regulation reserve of photovoltaic unit p in daily operation at time t in scenario s, and The virtual inertia time constant and droop control coefficient of wind power plant w at time t in scenario s are respectively, and They are the inertia time constant and static adjustment error coefficient of the power grid respectively; is the characteristic parameter of the steam turbine, and are the power shortage value and shortage ratio at time t in scenario s; ζ represents the planned output value of renewable energy within the day; Ρ ζ represents the distribution function distance set; express expectations; represents the maximum expected value; Using the Slater condition Expressed as a tractable equivalent model, the main problem expression is obtained.

3. The method for optimizing the source network coordination distribution according to claim 2 is characterized in that: The source-network coordination distributed robust optimization planning model is formed by integrating the source-network coordination planning model, the day-ahead unit commitment model and the intraday scheduling model; the objective function expression of the source-network coordination planning model is: Among them, c w and c pv are the unit construction costs of wind power plants and photovoltaic units respectively; c line is the unit construction cost of the transmission line; c v1 and c v2 are the investment costs of virtual synchronization of wind power plants and photovoltaic units respectively; c s is the scrapping cost of thermal power units; c d The equipment disposal cost of retired thermal power units; m is the maintenance cost of the in-service thermal power units; c o is the return cost of the in-service thermal power unit; W 、v PV and v L They represent the decision vectors for the construction of wind power plants, photovoltaic units and transmission lines respectively; v V1 and v V2 They represent the investment decision vectors of wind power plants and photovoltaic units for virtual synchronization respectively; v G represents the retirement decision vector of the thermal power unit, 1 means the thermal power unit has been retired, and 0 means the thermal power unit is still in service; The constraints of the source network coordination planning model are: is the upper limit of annual investment cost; is the upper limit of the renewable energy that can be developed; represents a collection of wind farms; represents a collection of photovoltaic units; and are the unit installed capacities of wind power plant w and photovoltaic unit p respectively; is the total installed capacity; is the target value of the proportion of new energy installed capacity; σ G , σ W and σ PV They represent the reserve rates of thermal power units, wind power plants and photovoltaic units respectively; RM is the system reserve capacity factor; PD max The maximum demand of the system load.

4. The method for optimizing the source network coordination distribution according to claim 1, characterized in that: The objective function of the intraday scheduling model is: The basic operating constraints of the intraday scheduling model include: |F l,s,t |≤F l max , Among them, P g,s,t is the actual output of thermal power unit g at time t in scenario s, is the power demand of system node i in scenario s, is the predicted power of the new energy unit r in the s scenario and the t period, in and are the predicted power of wind power plant w and photovoltaic unit p in scenario s and period t respectively; The error between the predicted power and the output power of the new energy; is the actual maximum output power of the new energy unit r at time t in scenario s, in and are the maximum output power of wind power plant w and photovoltaic unit p in scenario s and period t respectively; is the output power of the new energy unit r, in and are the output power of wind power plant w and photovoltaic unit p in scenario s and period t respectively; It is the frequency regulation standby of the new energy unit r at time t in scenario s. in and u are the frequency regulation reserve active power reserved by wind power plant w and photovoltaic unit p in scenario s and period t respectively; g,s,t represents the start and stop status of thermal power unit g in scenario s and period t, u g,s,t =1 means the thermal power unit g is in the start-up state, u g,s,t =0 means the thermal power unit g is in shutdown state; G g (P g,s,t ) is the power generation cost function of thermal power unit g, Represents a collection of thermal power units; and Respectively represent the maximum and minimum output of thermal power unit g, A l and A l* For the existing route l and the candidate route l * The node association matrix, F l,s,t and F l*,s,t are the existing route l and the candidate route l respectively * The actual transmission power at time t in scenario s; Candidate line l * The construction state variable of b l and b l* are the existing route l and the candidate route l respectively * The size of the reactance; and The existing lines are * The actual voltage phase angle value between the starting node i and the ending node j at time t in scenario s is, and They are the proposed lines l * The actual voltage phase angle between the starting node i and the ending node j at time t in scenario s; F l max and are the existing route l and the candidate route l respectively * Maximum transmission power; is the upper limit of the voltage phase angle at node i; It is a 0-1 variable, indicating whether the unit is faulty, 1 indicates that the unit has tripped, and 0 indicates that the unit has not tripped; is the disturbance power at time t in scenario s; and are the virtual synchronous inertia time and droop control characteristic parameters of wind power plant w in scenario s and period t, respectively, W is the frequency threshold for wind power plant w to participate in, is the rated capacity of the wind power plant w, is a 0-1 variable, indicating whether wind power plant w participates in frequency regulation; and is the virtual synchronous inertia time constant and droop control characteristic parameter of the PV power station p, κ PV is the threshold of the frequency of participation of the photovoltaic power station p, is the rated capacity of the photovoltaic power station p, It is a 0-1 variable, indicating whether the photovoltaic power station p participates in frequency modulation; is the synchronous inertia time constant of thermal power unit g, F g is the characteristic parameter of the steam turbine of thermal power unit g, is the static adjustment error coefficient of thermal power unit g, ΔP loss* is the ratio of disturbance power to total demand, D sys is the equivalent damping coefficient, is the maximum frequency deviation threshold; f0 is the reference frequency, f ss is the quasi-steady-state frequency, is the maximum limit of the lowest frequency, is the maximum limit of the frequency change rate at the initial moment, is the equivalent inertia coefficient, R sys is the equivalent static adjustment error coefficient, is the characteristic parameter value of the equivalent steam turbine, a k , b k and c k are the kth linear functions respectively and ΔP loss* The coefficient of k is the constant term of the kth linear function.

5. The method for optimizing the source network coordination distribution according to claim 4 is characterized in that: Virtual synchronous inertia time of wind power plant w in scenario s during period t The expression is: Droop control characteristic parameters of wind power plant w in scenario s during period t The expression is: Among them, η is the spare parameter of the motor group w participating in the primary frequency modulation response, is the maximum frequency deviation threshold.

6. The method for optimizing the source network coordination distribution according to claim 4, characterized in that: The expression of the linear function is: in, n represents the nth sampling point, represents the set of integers {1,…,N}, n * Indicates the nth * sampling points, K is the number of linear functions; H sys,(n*) For the selected n * Equivalent inertia value; R sys,(n*) For the selected n * Equivalent static adjustment coefficient; F sys,(n*) For the selected n * The characteristic parameter value of an equivalent steam turbine; ΔP loss,(n*) For the selected n * Active disturbance value; n * A minimum inertia value.

7. The method for robust optimization planning of source network coordination distribution according to claim 4 or 6, characterized in that: The process of determining the linear function includes: A) Set the number of iterations Itera max , error threshold ε0, number of linear functions K, initial number of iterations Itera=1; B) The parameter space χ to be fitted n* Randomly divide to form K sub-parameter spaces Ω k ,k=1,…,K, each sub-parameter space is a disjoint convex hull; C) Perform linear fitting on the points in the sub-parameter space k, k=1,…,K to obtain the best fitting affine function: in, n represents the nth sampling point, represents the set of integers {1,…,N}, n * Indicates the nth * sampling points, K is the number of linear functions; H sys,(n*) For the selected n * Equivalent inertia value; R sys,(n*) For the selected n * Equivalent static adjustment coefficient; F sys,(n*) For the selected n * The characteristic parameter value of an equivalent steam turbine; ΔP loss,(n*) For the selected n * Active disturbance value; n * A minimum inertia value; D) Through Update h(χ n* ), and according to h(χ n* ) Re-fit the parameter space χ n* Divide into K disjoint sub-parameter spaces Ω * k ,k=1,…,K; E) If the sub-parameter space Ω * k The division of Then it ends; otherwise, go to step F); ε0 is the set threshold; F) Add 1 to the current number of iterations. If the current number of iterations is less than Itera max , then end; otherwise, return to step C=.

8. The method for optimizing the source-network coordinated distribution according to claim 1, characterized in that: random variable The formula for calculating the conditional expected value of is: in, for The expected function of is a conditional fuzzy set, and represents the empirical distribution and true distribution of new energy prediction errors, ||·|| is the norm, represents the set of all probability distributions, express and The joint distribution of The support set of ζ max is the maximum value of the new energy prediction error, ζ ave is the average value of the new energy prediction error; is the historical sample value of the new energy prediction error.

9. The method for robust optimization planning of source-network coordinated distribution according to claim 1, characterized in that: The objective function of the day-ahead unit commitment model is: The constraints of the day-ahead unit commitment model are: in, and are the start-up and shutdown costs and fixed no-load costs of thermal power units g; u g,s,t represents the start and stop status of thermal power unit g in scenario s and period t, u g,s,t =1 means the thermal power unit g is in the start-up state, u g,s,t =0 means the thermal power unit g is in shutdown state; and They represent the start and stop operation of thermal power unit g in scenario s and period t respectively. Start the thermal power unit g. Indicates that the thermal power unit is shutting down, T on and T off Respectively represent the minimum start and stop time of thermal power units, is the power generation capacity of thermal power unit g in scenario s and time period t in the day-ahead plan; and Respectively represent the maximum and minimum output of thermal power unit g; SD g They represent the closing climbing ability, A l and A l* are the existing route l and the candidate route l respectively * The node association matrix of and are the existing route l and the candidate route l respectively * The transmission power at time t in scenario s; is the predicted power of the new energy unit r in the s scenario and the t period, is the predicted power of wind power plant w in scenario s during period t, is the predicted power of PV unit p in scenario s during period t; is the predicted power demand of system node i in scenario s, period t, and b l and b l* are the existing route l and the candidate route l respectively * The size of the reactance; and is the voltage phase angle between the starting node i and the ending node j of the existing line l; is the upper limit of the voltage phase angle at node i; and Candidate line l * The voltage phase angle between the starting node i and the ending node j at time t in scenario s; F l max and are the existing route l and the candidate route l respectively * Maximum transmission power; Candidate line l * The construction state variable.

10. A source network coordinated distribution robust optimization planning system, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 9 is implemented.