A robust dispatching method for distribution network and multi-microgrid, electronic device and storage medium

By combining the minimum volume closed ellipsoid and the extreme scenario method, a robust dispatching model of the distribution network and multiple microgrids is established, which solves the problem of renewable energy output correlation processing, reduces dispatching costs and improves calculation efficiency, achieving Taking into account both robustness and economy.

CN113241759BActive Publication Date: 2024-08-23STATE GRID SHANGHAI MUNICIPAL ELECTRIC POWER CO +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110525777.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-13
Publication Date
2024-08-23
Estimated Expiration
2041-05-13

AI Technical Summary

Technical Problem

Existing distribution network and multi-microgrid dispatching methods are difficult to consider output correlation when dealing with renewable energy output uncertainty, resulting in excessive robustness and poor economic efficiency, and the traditional robust optimization model is complex to solve. Computational efficiency is low.

Method used

The data-driven method of the minimum volume closed ellipsoid is used to establish the ellipsoid uncertainty set of renewable energy output. The day-ahead-real-time two-stage economic dispatch model is processed through the extreme scenario method, and the robust optimization problem is divided into main sub-components using the improved C&CG algorithm. The problem is solved iteratively, considering the correlation of renewable energy output, and reducing dispatch costs.

Benefits of technology

It improves the ability of distribution networks and multi-microgrid systems to handle the uncertainty of renewable energy, reduces dispatch costs, simplifies the solution process of robust optimization problems, and improves computational efficiency and economy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113241759B
    Figure CN113241759B
Patent Text Reader

Abstract

The present invention discloses a method for robust scheduling of distribution networks and multi-microgrids, an electronic device and a storage medium. The method comprises: establishing an uncertain set of renewable energy output ellipsoids by a data-driven method based on a minimum volume closed ellipsoid; establishing a day-ahead real-time two-stage economic scheduling model that considers the overall operating costs of distribution networks and multi-microgrids; obtaining a renewable energy output extreme scenario by solving the ellipsoid uncertainty set, using an extreme scenario method to process the uncertainty factors of the scheduling model, and proposing a two-stage robust scheduling method for distribution networks and multi-microgrids based on the extreme scenario method. Finally, the two-stage robust optimization problem is split into main and sub-problems for iterative solution by an improved column constraint generation algorithm based on the extreme scenario method. The present invention can reduce the conservatism of the scheduling of distribution networks and multi-microgrid systems and improve the economy of scheduling while ensuring the robustness of the scheduling of distribution networks and multi-microgrids. At the same time, the model solution is relatively simple and efficient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a dispatching method for a distribution network, and in particular to a robust dispatching method for a distribution network and a multi-microgrid taking into account the output correlation of renewable energy, an electronic device and a storage medium. Background Art

[0002] In recent years, as global energy and environmental issues have become increasingly prominent, distributed power generation has been favored by experts and scholars from all over the world. Microgrids, with their flexible and efficient distributed power generation integration functions, can improve the absorption rate of renewable energy. Multi-microgrids are a further extension of microgrid research. They coordinate the energy management of adjacent distributed units, microgrids and loads in a region and are an indispensable part of the new smart grid. Due to the volatility of distributed power sources, the access of large-scale distributed power sources will bring challenges to the operation and scheduling of distribution networks and multi-microgrid systems. At present, in the research of distribution networks and multi-microgrids, the methods for dealing with the uncertainty of renewable energy output mainly include stochastic optimization, chance constrained optimization and robust optimization. Although random optimization can simulate daily uncertain scenarios, it is difficult to deal with extreme scenarios; the chance constraint method needs to calculate the accurate probability distribution function of uncertain variables, which makes data acquisition difficult and difficult to solve; robust optimization uses intervals to describe parameter uncertainty, which improves the robustness of the distribution network and multi-microgrid system, but it assumes that the output of each renewable energy unit in the worst scenario is the maximum or minimum output of each unit, does not consider the correlation of renewable energy output in the dispatching area, and over-considers the worst case with a very low probability of occurrence, resulting in overly conservative optimization results and poor economic performance. At the same time, traditional robust optimization uses dual optimization for solution, and its transformation process is more complicated, and introduces more nonlinear terms, making the model more difficult to solve. Summary of the invention

[0003] In order to solve the above problems, the purpose of the present invention is to provide a robust scheduling method for distribution networks and multi-microgrids taking into account the correlation of renewable energy output, an electronic device and a storage medium, so as to achieve the purpose of reducing the scheduling costs of distribution networks and multi-microgrids while ensuring robustness, and taking into account the economy of system scheduling.

[0004] In order to achieve the above objectives, the present invention is implemented by the following technical solutions:

[0005] A robust dispatching method for a distribution network and multiple microgrids comprises: step S1, using a data-driven method of a minimum volume closed ellipsoid to establish an ellipsoidal uncertainty set of outputs of multiple renewable energy sources.

[0006] Step S2: Establish a day-ahead and real-time two-stage economic dispatch model that takes into account the overall dispatch cost of the distribution network and multiple microgrids.

[0007] Step S3, by solving the ellipsoid uncertainty set to obtain the renewable energy output limit scenario, the limit scenario method is used to deal with the uncertainty factors of the day-ahead-real-time two-stage economic dispatch model, and a two-stage robust dispatch method for distribution network and multi-microgrid based on the limit scenario method is established, including a first stage and a second stage, the first stage is the day-ahead dispatch decision stage, which determines the day-ahead start and shutdown plan of the gas turbine, the day-ahead power purchase plan of the distribution network, and the day-ahead transmission power of the interconnection line between the distribution network and the multi-microgrid.

[0008] The second stage is the real-time dispatching stage. In the first stage, the day-ahead decision-making stage, the real-time dispatching conditions of the distribution network and multiple microgrids under various extreme scenarios are simulated, and the worst scenario is optimized.

[0009] Step S4, based on the improved C&CG algorithm of the extreme scenario method, the two-stage robust optimization problem is split into main and sub-problems for iterative solution. The optimal day-ahead scheduling plan under the extreme scenario contained in the main problem solution of the main sub-problem is passed to the sub-problem in the main sub-problem. The sub-problem is to find the worst scenario under the current day-ahead scheduling plan through the extreme scenario method, and add relevant real-time scheduling constraints of the worst scenario to the main problem to affect the decision of the main problem. The main and sub-problems are iteratively solved to obtain the optimal solution to the distribution network and multi-microgrid scheduling problem.

[0010] Preferably, step S1 comprises: constructing a historical set ω of renewable energy output: assuming that the distribution network and the multi-microgrid area have N w Renewable energy output units, and collect historical data on renewable energy output Divide by day, and set the number of days of historical data collected to be N d : Then the historical set ω is expressed by the following formula:

[0011]

[0012]

[0013] In the formula, ω i Represents the historical output data of renewable energy units in each period on the i-th day, T represents the scheduling period, i represents the number of days, and takes 1 to N d ;

[0014] Constructing an ellipsoid uncertainty set of renewable energy output according to the historical data of the renewable energy output;

[0015] Through the data-driven algorithm of the minimum volume closed ellipsoid, we construct an N W The T-dimensional ellipsoid is used to enclose all the historical data of renewable energy output, and the optimization model is obtained as follows:

[0016] minρdetQ -1 / 2

[0017] (ω i -c) T Q(ω i -c)≤1,i=1,2,…N d

[0018] Q=Q T ,

[0019] Among them, ρ is a constant, representing N W The volume of the T-dimensional closed ellipsoid; Q, c is the quantity to be determined, Q is N W The deviation direction of the symmetry axis of the T-dimensional ellipsoid relative to the coordinate axis, c is N W The center point of the T-dimensional ellipsoid, N d Indicates the number of days of historical data collected.

[0020] The optimization model is solved to obtain the ellipsoid uncertainty set E(Q,c) of renewable energy output as follows:

[0021]

[0022] In the formula, N w The set of T-dimensional real numbers.

[0023] Preferably, step S2 includes: the objective function of the day-ahead-real-time two-stage economic dispatch model mainly includes the day-ahead dispatch cost and the real-time dispatch cost of the distribution network and multiple microgrids; the day-ahead-real-time two-stage economic dispatch model includes the following two stages, wherein the first stage of the two stages is the day-ahead dispatch stage, and the constraints adopt the day-ahead dispatch constraints, and the objective function is to minimize the day-ahead dispatch cost and the real-time dispatch cost of the distribution network and the microgrid; the day-ahead dispatch stage constraints include the minimum start / shutdown time constraints of the gas turbine and the interconnection line power transmission constraints.

[0024] The second stage is the real-time dispatch stage. The constraints adopt the real-time dispatch constraints. The objective function is to minimize the real-time dispatch cost of the distribution network and the microgrid under the determined day-ahead dispatch plan.

[0025] The real-time scheduling stage constraints include distribution network node power balance constraints, distribution network line voltage balance constraints, distribution network line capacity constraints, microgrid gas turbine output climbing constraints, microgrid power balance constraints, energy storage charging and discharging constraints, renewable energy abandonment and load loss constraints, and gas turbine output maximum / minimum constraints.

[0026] Preferably, step S3 comprises: solving the ellipsoid uncertainty set E(Q,c) of the renewable energy output, and obtaining the vertex ω of the ellipsoid uncertainty set e,i ,i=1,2,…,2N w T, then N w There are 2N uncertain sets of T-dimensional ellipsoids w T vertices; 2N w The scene at T vertices is called the extreme scene.

[0027] Preferably, the two-stage robust dispatching method of distribution network and multi-microgrid based on extreme scenario method in step S3 is represented by the following mathematical model:

[0028]

[0029] Dx≤d

[0030]

[0031]

[0032] Where x is the day-ahead scheduling decision variable; subscript s represents the extreme scenario number; N s represents the number of extreme scenarios; ξ s represents the value of renewable energy output under extreme scenario s; y s represents the real-time dispatch decision variables such as line power and voltage under extreme scenarios; Ax is the day-ahead dispatch cost; By s +Cξ s is the real-time scheduling cost under the extreme scenario s; A, BC, D, F, H, L, M, d, f, and h all represent coefficient matrices.

[0033] Preferably, the step S4 comprises: the main problem is expressed by the following formula:

[0034]

[0035] Dx≤d

[0036]

[0037]

[0038]

[0039] Where n represents the number of iterations of the current C&CG algorithm; k m Indicates the limit scenario number returned by the subproblem at the mth iteration; For the extreme scenario k mThe real-time scheduling decision variable under this condition; η is the maximum real-time scheduling cost in the extreme scenario of the current main problem; represents the extreme scenario k m The value of renewable energy output under For the extreme scenario k m Real-time scheduling cost under .

[0040] Solve the main problem to get the value of the day-ahead scheduling decision variable x, and pass it to the sub-problem. The sub-problem uses the extreme scenario method to find the worst scenario under the day-ahead scheduling of the main problem, and add the real-time scheduling constraints of the worst scenario to the main problem.

[0041] The sub-problem is expressed by the formula:

[0042]

[0043]

[0044]

[0045] Among them, f SP A mathematical expression representing a subproblem.

[0046] The sub-problem uses enumeration method to obtain the real-time scheduling cost under each extreme scenario. If the sub-problem has a solution under all extreme scenarios, the scenario with the largest real-time scheduling cost is the worst scenario under the current scheduling conditions; if there is an extreme scenario that makes the real-time scheduling problem have no feasible solution, then this extreme scenario is the worst scenario.

[0047] Preferably, the C&CG algorithm in step S4 iteratively solves the main sub-problem to obtain the optimal solution to the distribution network and multi-microgrid scheduling problem, including the following process:

[0048] Step S4.1, set the lower bound L B =-∞, upper bound U B =+∞, number of algorithm iterations n=1.

[0049] Step S4.2: Solve the main problem and obtain the optimal solution for the day-ahead scheduling decision Day-ahead dispatch cost And the real-time scheduling cost in this scenario And update the lower bound value

[0050] Step S4.3: Fix the day-ahead scheduling decision variables Solve the subproblems and get all the subproblems under the extreme scenarios

[0051] Step S4.4: Determine the sub-problems under all the extreme scenarios Do all of the subproblems have feasible solutions? All have feasible solutions, then go to step S4.5; if the sub-problem under a certain extreme scenario s If there is no feasible solution, go to step S4.6.

[0052] Step S4.5: Find the maximum value of feasible solutions under all extreme scenarios The extreme scenario corresponding to this maximum value is the current worst scenario s, and the process goes to step S4.7.

[0053] Step S4.6: The current extreme scenario s is the current worst scenario s, and the process goes to step S4.9.

[0054] Step S4.7: According to the maximum value Update upper bound value Go to step S4.8.

[0055] Step S4.8, set ε as the convergence criterion, if U B -L B ≤ε, and the optimal solution for the day-ahead scheduling decision is obtained This iteration process ends; if U B -L B >ε, go ​​to step S4.9.

[0056] Step S4.9, update the worst extreme scenario s of the main problem under the current scheduling conditions, and add the constraints corresponding to the current worst extreme scenario s to the main problem; update the number of algorithm iterations to n=n+1, return to step S4.2, and repeat steps S4.2 to S4.9.

[0057] On the other hand, the present invention also provides an electronic device, including a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the robust scheduling method for distribution network and multi-microgrid is as described above.

[0058] On the other hand, the present invention further provides a readable storage medium, wherein the readable storage medium stores a computer program, and when the computer program is executed by a processor, the robust scheduling method for distribution network and multi-microgrids as described above is implemented.

[0059] The present invention has at least one of the following advantages:

[0060] The method proposed in the present invention can effectively improve the ability of the distribution network and multi-microgrid system to cope with the uncertainty of renewable energy, while taking into account the correlation of renewable energy output, and using a data-driven method to construct a renewable energy output uncertainty set. Compared with the traditional robust optimization using a box-type uncertainty set, the scheduling cost of the distribution network and multi-microgrid is reduced while ensuring robustness, and the economy of system scheduling is taken into account. At the same time, compared with the two-stage robust scheduling model using conventional methods, the sub-problem of robust optimization in the present invention is a problem without integer variables, which is simpler to solve and has higher computational efficiency.

[0061] The present invention provides a scientific scheduling basis for the dispatchers of the distribution network and the multi-microgrid system by establishing a distribution network and multi-microgrid scheduling model that takes into account the uncertainty and correlation of renewable energy output, thereby improving the reliability and economy of the scheduling of the distribution network and the multi-microgrid system. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] Figure 1 A schematic flow chart of a robust dispatching method for a distribution network and multiple microgrids provided in one embodiment of the present invention;

[0063] Figure 2 A schematic diagram of an ellipsoid uncertainty set provided by an embodiment of the present invention;

[0064] Figure 3 A flow chart of a C&CG algorithm based on an extreme scenario method in a robust scheduling method for a distribution network and multiple microgrids provided in one embodiment of the present invention. DETAILED DESCRIPTION

[0065] The following is a further detailed description of a distribution network and multi-microgrid robust scheduling method proposed by the present invention in combination with the accompanying drawings and specific implementation methods. According to the following description, the advantages and features of the present invention will be clearer. It should be noted that the accompanying drawings are in a very simplified form and use non-precise proportions, which are only used to conveniently and clearly assist in explaining the purpose of the implementation method of the present invention. In order to make the purposes, features and advantages of the present invention more obvious and easy to understand, please refer to the accompanying drawings. It should be noted that the structure, proportion, size, etc. illustrated in the drawings of this specification are only used to match the contents disclosed in the specification for people familiar with this technology to understand and read, and are not used to limit the limiting conditions for the implementation of the present invention, so they have no technical substantive significance. Any modification of the structure, change in the proportional relationship or adjustment of the size, without affecting the effects that the present invention can produce and the purposes that can be achieved, should still fall within the scope of the technical content disclosed by the present invention.

[0066] like Figure 1 As shown, this embodiment provides a distribution network and multi-microgrid robust scheduling method, specifically a distribution network and multi-microgrid robust scheduling method considering the correlation of renewable energy output, including:

[0067] Step S1: Aiming at the uncertainty and correlation of multiple renewable energy sources, a data-driven method of a minimum volume closed ellipsoid is used to establish an ellipsoid uncertainty set of multiple renewable energy outputs.

[0068] Step S2: With the goal of adapting to the uncertainty of the output of various renewable energy sources, the day-ahead start and shutdown plan of the gas turbine and the day-ahead interconnection line transmission power of the distribution network and multi-microgrid are used as the day-ahead dispatch decision content, and a day-ahead-real-time two-stage economic dispatch model is established that considers the overall dispatch cost of the distribution network and multi-microgrid.

[0069] Step S3: Obtain the renewable energy output limit scenario by solving the ellipsoid uncertainty set, use the limit scenario method to deal with the uncertainty factors in the day-ahead-real-time two-stage economic dispatch model, and establish a two-stage robust economic dispatch method for distribution network and multi-microgrid based on the limit scenario method. The dispatch method includes the following two stages (the first stage and the second stage). The first stage is the day-ahead dispatch stage, which determines the day-ahead start and shutdown plan of the gas turbine, the charging and discharging plan of the energy storage, and the day-ahead transmission power of the interconnection line between the distribution network and the multi-microgrid. The second stage is the real-time dispatch stage. Under the first stage dispatch scheme, the real-time dispatch status of the distribution network and the multi-microgrid under each extreme scenario is simulated, and the worst extreme scenario is optimized.

[0070] Step S4: The improved C&CG (column-and-constraint generation) algorithm based on the extreme scenario method splits (transforms) the two-stage robust optimization problem into main and sub-problems for iterative solution. The main problem solves the optimal day-ahead scheduling plan under the extreme scenario it contains and passes it to the sub-problem. The sub-problem uses the extreme scenario method to find the worst extreme scenario under the current day-ahead scheduling plan, and adds the relevant real-time scheduling constraints of the worst extreme scenario to the main problem to affect the decision of the main problem. Finally, the optimal solution to the robust scheduling problem is obtained through iterative solution of the main and sub-problems.

[0071] The step S1 includes: first constructing a historical set ω of multiple renewable energy outputs. Assuming that the distribution network and the multi-microgrid area have N w Renewable energy output units, and collect the historical data of renewable energy output units Divide by day, and the daily scheduling period is T. Suppose the number of days of the collected historical data is N d Since the spatiotemporal correlation between new energy stations (renewable energy output units) needs to be considered, the output of all new energy stations within the scheduling period T should be considered when constructing the ellipsoid uncertainty set. The expression of the historical set ω is as follows:

[0072]

[0073] In the formula, ω i Represents the historical data of the output of renewable energy units in each period on the i-th day; i represents the number of days, ranging from 1 to N d .

[0074] Then, based on the historical data of renewable energy output ω, an ellipsoid uncertainty set of multiple renewable energy outputs is constructed. A high-dimensional (N W The ellipsoid of T dimension is used to enclose all historical scenarios (historical data of renewable energy output), and the optimization model is as follows:

[0075]

[0076] Among them, ρ is a constant, representing N W The volume of the T-dimensional unit sphere; Q,c is the quantity to be determined, Q is the deviation direction of the symmetry axis of the high-dimensional ellipsoid relative to the coordinate axis, c is the center point of the high-dimensional ellipsoid, N d Indicates the number of days of historical data.

[0077] The optimization model is a convex optimization model, which can be quickly solved in polynomial time, so that the ellipsoid uncertainty set E(Q,c) of renewable energy output is expressed by the following formula:

[0078]

[0079] In the formula, N w The set of T-dimensional real numbers.

[0080] Compared with the traditional box uncertainty set, the ellipsoid uncertainty set takes into account the correlation between renewable energy sources, covers a smaller uncertainty output space, considers fewer impossible scenarios, and reduces the conservatism of robust optimization. As an example, the single-period ellipsoid uncertainty set and the box uncertainty set of adjacent wind turbines in the system area are shown in the attached figure. Figure 2 As shown, it can be seen that under the premise of enclosing all historical data, the uncertainty space enclosed by the ellipsoid uncertainty set is smaller and less conservative.

[0081] The objective function of the day-ahead-real-time two-stage economic dispatch model (the two-stage dispatch model of the distribution network and the multi-microgrid system) in step S2 mainly includes the day-ahead dispatch cost and the real-time dispatch cost of the distribution network and the multi-microgrid. The process of optimizing the dispatch using the day-ahead-real-time two-stage economic dispatch model is divided into two stages. The first stage of the two stages is the day-ahead dispatch stage, and the constraints are the day-ahead dispatch constraints (the constraints are the day-ahead dispatch constraints); the second stage of the two stages is the real-time dispatch stage, and the constraints are the real-time dispatch constraints (the constraints are the real-time dispatch constraints). In this two-stage model, the day-ahead dispatch stage model determines the day-ahead dispatch decision variables and passes them to the real-time dispatch layer, and the real-time dispatch stage affects the day-ahead dispatch decision by adding the real-time dispatch constraints of renewable energy under different extreme scenarios to the day-ahead dispatch layer.

[0082] Specifically, the first stage of the two stages is the day-ahead scheduling stage, and the constraints adopt the day-ahead scheduling constraints. The objective function is to minimize the day-ahead scheduling cost and real-time scheduling cost of the distribution network and the microgrid; the day-ahead scheduling stage constraints include the minimum start / shutdown time constraints of the gas turbine and the interconnection line power transmission constraints.

[0083] The second stage is the real-time dispatch stage. The constraints adopt the real-time dispatch constraints. The objective function is to minimize the real-time dispatch cost of the distribution network and the microgrid under the determined day-ahead dispatch plan.

[0084] The real-time scheduling stage constraints include distribution network node power balance constraints, distribution network line voltage balance constraints, distribution network line capacity constraints, microgrid gas turbine output climbing constraints, microgrid power balance constraints, energy storage charging and discharging constraints, renewable energy abandonment and load loss constraints, and gas turbine output maximum / minimum constraints.

[0085] The specific objective function of the two-stage model is as follows:

[0086]

[0087] Among them, OC is the day-ahead dispatching cost of the distribution network and multi-microgrid system; RC is the real-time dispatching cost of the distribution network and multi-microgrid system; x is the day-ahead dispatching decision variable; y is the real-time dispatching decision variable; ξ is the uncertain variable; f loss is the distribution network loss cost; f main The cost of purchasing electricity from the main grid for the distribution network; is the k abandoned load cost of the microgrid; Foregoing renewable energy costs for microgrids; is the real-time output cost of gas turbine k in microgrid; k is the microgrid number; N MG is the number of microgrids; C tr , Closs , C d , C re They are the unit electricity purchase cost of the distribution network from the main grid, the network loss cost of the distribution network, the penalty coefficient for microgrid load abandonment, and the penalty coefficient for abandoning renewable energy; Purchase power from the main grid for the distribution network; Real-time output of gas turbine in microgrid k; k,t is a 0-1 variable, representing the output state variable of the gas turbine unit in microgrid k; They are the load shedding power and abandoned renewable energy power of microgrid k respectively; is the square of the distribution network line current; r ij is the line resistance; Ω PE ,Ω TR are the distribution network line set and the distribution network transformer node set respectively; a k 、b k 、c k are the gas turbine output cost coefficients respectively; T is the total dispatch period; t represents the dispatch time; i and j represent the distribution network node numbers.

[0088] The constraints of the day-ahead scheduling phase in step S2 mainly include the minimum start-up / shutdown time constraints of the gas turbine and the tie-line power transmission constraints, specifically:

[0089] 2.1) Minimum start / shutdown time constraints for gas turbines

[0090]

[0091] in, It is the minimum startup and shutdown time of the gas turbine unit.

[0092] 2.2) The power transmission constraints of the tie line are as follows:

[0093]

[0094] in, The distribution network transmits power to the microgrid k; are the lower and upper limits of the power transmitted between the microgrid and the distribution network, respectively.

[0095] The constraints in the real-time dispatching phase in step S2 include power balance constraints of distribution network nodes, voltage balance constraints of distribution network lines, current of distribution network lines, voltage capacity constraints, gas turbine output ramp constraints, microgrid power balance constraints, energy storage charging and discharging constraints, renewable energy abandonment and load loss constraints, and gas turbine output maximum / minimum constraints. Specifically as follows:

[0096] 2.3) Power balance constraints of distribution network nodes:

[0097]

[0098] Among them, δ (j) is the set of lines with j as the first end; π (j) is the set of lines with j as the end; Ω PB is the set of power grid nodes; P ij,t ,Q ij,t are the active and reactive power of line ij respectively; x ij is the reactance value of line ij; are the active and reactive load demands of node j respectively; Transmit reactive power to the main grid; P jh,t Represents the active power of line jh at time t; Ω MG represents the microgrid set; Ω TR represents the set of transformer nodes; Q jk,t represents the reactive power of line jk at time t; i, j, h, k represent distribution network nodes; t represents the dispatching time.

[0099] 2.4) Distribution network line voltage balance constraints:

[0100]

[0101] in, is the square of the voltage at node i in the distribution network, Represents the square of the voltage at distribution network node j.

[0102] 2.5) Current and voltage capacity constraints of distribution network lines:

[0103]

[0104]

[0105] in, is the upper limit of the square of the line current; are the upper and lower limits of the node voltage square.

[0106] 2.6) Gas turbine output climbing constraints:

[0107]

[0108] Among them, RU g ,RD g are the maximum up and down ramp rates of the gas turbine unit, respectively; is the output of the gas turbine in microgrid k at time t; is the output of the gas turbine in microgrid k at time t-1.

[0109] 2.7) Microgrid power balance constraints:

[0110]

[0111] in, The output of renewable energy is uncertain variable; is the load of microgrid k, The charging power and discharging power of energy storage are

[0112] 2.8) Energy storage charging and discharging constraints:

[0113]

[0114] in, are 0-1 variables, representing the energy storage charging state and discharging state respectively; are the charging power and discharging power of energy storage of distribution network k at time t, are the charging power and discharging power of energy storage of distribution network k at time t-1 respectively; They are the upper and lower limits of energy storage charging power and the upper and lower limits of discharging power respectively; E is the charging efficiency and discharging efficiency respectively; k,t is the energy storage charge capacity; E k , are the upper and lower limits of energy storage capacity; Δt represents the length of the dispatch period; E k,0 Indicates the initial charge capacity of energy storage; E k,T Indicates the energy storage charge capacity at time T.

[0115] 2.9) Abandonment of renewable energy and load loss constraints:

[0116]

[0117] in, are the maximum values ​​of load loss and abandoned renewable energy power respectively;

[0118] 2.10) Maximum / minimum constraints on gas turbine output:

[0119]

[0120] in, They are the upper and lower limits of the active power output of the gas turbine unit respectively.

[0121] The above step S3 uses the extreme scenario method to deal with the uncertainty and correlation of renewable energy. The extreme scenario method is specifically as follows:

[0122] The error scenario is defined as a scenario in which the predicted value of renewable energy output is offset. Robust optimization must meet the real-time scheduling constraints of all error scenarios. However, the number of error scenarios is infinite and cannot be solved, so the extreme scenario method is introduced.

[0123] First, solve the ellipsoid uncertainty set E(Q,c) of the output of various renewable energy sources established in step S1, and obtain the vertex ω of the ellipsoid uncertainty set E(Q,c) e,i ,i=1,2,…,2N w T, N above w There are 2N uncertain sets of T-dimensional ellipsoids w T vertices.

[0124] In the convex optimization model, the extreme value must exist at a vertex of the polyhedron solution space. The scene at the vertex of the uncertain set is called the extreme scene. The extreme scene is completely robust to all error scenarios. For the day-ahead scheduling decision variable x, as long as the real-time scheduling variable y is adjusted to adapt to all extreme scenarios, it can adapt to all error scenarios. According to the extreme scenario method, a two-stage robust scheduling model of the distribution network and multi-microgrid system can be established.

[0125] The two-stage robust dispatching method of the distribution network and multi-microgrid system based on the extreme scenario method established in step S3 is specifically:

[0126] The first stage of the two-stage robust dispatch model of distribution network and multi-microgrid is the day-ahead dispatch stage, which includes the day-ahead start and shutdown plan of gas turbines, the charging and discharging plan of energy storage, and the day-ahead transmission power of the interconnection line between the distribution network and multi-microgrid. The second stage is the real-time dispatch stage, which conducts real-time simulation operation under the day-ahead dispatch plan of the first stage, with the goal of optimal economic efficiency. The specific mathematical model is:

[0127]

[0128] Where x is the day-ahead scheduling decision variable; subscript s represents the extreme scenario number; N s represents the number of extreme scenarios; ξ s represents the value of renewable energy output under extreme scenario s; y s represents the real-time dispatch decision variables such as line power and voltage under extreme scenarios; Ax is the day-ahead dispatch cost; By s +Cξ s is the real-time scheduling cost under the extreme scenario s; A is the cost coefficient matrix of day-ahead scheduling; B and C are the cost coefficient matrices of real-time scheduling; D and d are the correlation coefficient matrices of day-ahead scheduling constraints; F, H, L, M, f, and h are the correlation coefficient matrices of real-time scheduling constraints.

[0129] In step S4, the two-stage robust optimization problem is split into main and sub-problems for iterative solution through the improved C&CG algorithm based on the extreme scenario method. The main problem solves the optimal day-ahead scheduling plan under a single extreme scenario and passes it to the sub-problem. The sub-problem uses the extreme scenario method to find the worst renewable energy output scenario under the current day-ahead scheduling plan. By adding relevant real-time scheduling constraints of the worst scenario to the main problem, the decision of the main problem is affected. Finally, the optimal solution to the robust scheduling problem is obtained through the iteration of the main and sub-problems.

[0130] In step S4, the mathematical model of the main problem is:

[0131]

[0132] Among them, x is the day-ahead scheduling decision variables such as the day-ahead start-up and shutdown plan of the gas turbine, the charging and discharging plan of the energy storage, and the day-ahead transmission power of the interconnection line between the distribution network and the multi-microgrid; n represents the number of iterations of the current C&CG algorithm; k m Indicates the number of the extreme scenario selected at the mth iteration; For the extreme scenario k m The real-time scheduling decision variables under η are: the maximum real-time scheduling cost in the extreme scenario of the main problem; represents the extreme scenario k m The value of renewable energy output under For the extreme scenario k m Real-time scheduling cost under .

[0133] Solve the main problem to obtain the value of the day-ahead scheduling decision variable x (solution result) The subproblem is passed to the subproblem, which uses the extreme scenario method to find the worst scenario under the day-ahead scheduling decision of the main problem, and adds the real-time scheduling constraints of the worst scenario to the main problem.

[0134] The mathematical model of the subproblem in step S4 is as follows:

[0135]

[0136] Among them, f SP A mathematical expression representing a subproblem, It is the solution result of the day-ahead scheduling decision variables of the main problem at the nth iteration.

[0137] In step S4, the subproblems are enumerated to obtain the real-time scheduling cost under each extreme scenario. If all the subproblems have solutions under all extreme scenarios, the worst scenario with the highest real-time scheduling cost is the worst scenario under the current scheduling conditions. If there is a bad scenario that makes scheduling unfeasible, then the bad scenario is the worst scenario. Compared with the conventional dual method, the subproblems of each extreme scenario in this method are scheduling problems that do not contain integer variables, and the solution is relatively simple.

[0138] like Figure 3 As shown, the C&CG algorithm in step S4 iteratively solves the main sub-problem to obtain the optimal solution of the distribution network and multi-microgrid scheduling problem, including the following process:

[0139] Step S4.1, set the lower bound L B =-∞, upper bound U B =+∞, number of algorithm iterations n=1.

[0140] Step S4.2: Solve the main problem and obtain the optimal solution for the day-ahead scheduling decision Day-ahead dispatch cost And the real-time scheduling cost in this scenario And update the lower bound value

[0141] Step S4.3: Fix the day-ahead scheduling decision variables Solve the subproblems and get all the subproblems under the extreme scenarios

[0142] Step S4.4: Determine the sub-problems under all the extreme scenarios Do all of the subproblems have feasible solutions? All have feasible solutions, then go to step S4.5; if the sub-problem under a certain extreme scenario s If there is no feasible solution, go to step S4.6.

[0143] Step S4.5: Find the maximum value of feasible solutions under all extreme scenarios The extreme scenario corresponding to this maximum value is the current worst scenario s, and the process goes to step S4.7.

[0144] Step S4.6: The current extreme scenario s is the current worst scenario s, and the process goes to step S4.9.

[0145] Step S4.7: According to the maximum value Update upper bound value Go to step S4.8.

[0146] Step S4.8, set ε as the convergence criterion, if U B -L B ≤ε, and the optimal solution for the day-ahead scheduling decision is obtained This iteration process ends; if U B -L B >ε, go ​​to step S4.9.

[0147] Step S4.9, update the worst extreme scenario s of the main problem under the current scheduling conditions, and add the constraints corresponding to the current worst extreme scenario s to the main problem; update the number of algorithm iterations to n=n+1, return to step S4.2, and repeat steps S4.2 to S4.9.

[0148] On the other hand, this embodiment further provides an electronic device, including a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the robust scheduling method for distribution network and multi-microgrid as described above is implemented.

[0149] On the other hand, the present embodiment further provides a readable storage medium, wherein the readable storage medium stores a computer program, and when the computer program is executed by a processor, the robust scheduling method for distribution network and multi-microgrids as described above is implemented.

[0150] In summary, this embodiment discloses a robust dispatching method for distribution network and multi-microgrid considering the correlation of renewable energy output, including: first, in view of the uncertainty and correlation of renewable energy, a data-driven method based on the minimum volume closed ellipsoid is used to establish an uncertain set of renewable energy output ellipsoids; then, with the goal of adapting to the uncertainty of renewable energy, the day-ahead start and shutdown plan of gas turbines, the day-ahead power purchase plan of distribution network, and the day-ahead interconnection line transmission power of distribution network and multi-microgrid are used as the day-ahead dispatching decision content, and a day-ahead-real-time two-stage economic dispatching model considering the overall operation cost of distribution network and multi-microgrid is established; by solving the ellipsoid uncertainty set, the output limit scenario of renewable energy is obtained, and the uncertainty factors of the dispatching model are processed by the extreme scenario method, and a two-stage robust dispatching method for distribution network and multi-microgrid based on the extreme scenario method is proposed. Finally, the two-stage robust optimization problem is split into main and sub-problems for iterative solution through an improved column constraint generation algorithm based on the extreme scenario method. This embodiment can reduce the conservatism of the dispatching of distribution network and multi-microgrid system while ensuring the robustness of the dispatching of distribution network and multi-microgrid, and improve the economy of the dispatching. At the same time, the model solution is relatively simple and efficient.

[0151] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0152] It should be noted that the devices and methods disclosed in the embodiments of this article can also be implemented in other ways. The device implementation described above is only schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of this article. In this regard, each box in the flowchart or block diagram can represent a part of a module, program or code, and the module, program segment or part of the code contains one or more executable instructions for implementing the specified logical function, and the module, program segment or part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented by a dedicated hardware-based system for performing a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0153] Although the content of the present invention has been described in detail through the above preferred embodiments, it should be appreciated that the above description should not be considered as a limitation of the present invention. After reading the above content, it will be apparent to those skilled in the art that various modifications and substitutions of the present invention will occur. Therefore, the protection scope of the present invention should be limited by the appended claims.

Claims

1. A robust dispatching method for distribution network and multi-microgrid, characterized in that: include: Step S1, using a data-driven method of a minimum volume closed ellipsoid to establish an ellipsoid uncertainty set of multiple renewable energy outputs; The step S1 comprises: constructing a historical set ω of renewable energy output; Assume that there are N w Renewable energy output units, and collect historical data on renewable energy output Divide by day, and set the number of days of historical data collected to be N d : Then the historical set ω is expressed by the following formula: In the formula, ω i Represents the historical output data of renewable energy units in each period on the i-th day; T represents the scheduling period, i represents the number of days, ranging from 1 to N d ; Constructing an ellipsoid uncertainty set of renewable energy output according to the historical data of the renewable energy output; Through the data-driven algorithm of the minimum volume closed ellipsoid, we construct an N W The T-dimensional ellipsoid is used to enclose all the historical data of renewable energy output to obtain the optimization model as follows: minρdetQ -1 / 2 (ω i -c) T Q(ω i -c)≤1,i=1,2,…N d Q=Q T ,Q>0 Among them, ρ is a constant, representing N W The volume of the T-dimensional closed ellipsoid; Q, c is the quantity to be determined, Q is N W The deviation direction of the symmetry axis of the T-dimensional ellipsoid relative to the coordinate axis, c is N W The center point of the T-dimensional ellipsoid, N d Indicates the number of days of historical data collected; The optimization model is solved to obtain the ellipsoid uncertainty set E(Q,c) of renewable energy output as follows: In the formula, N w T-dimensional real number set; Step S2, establishing a day-ahead-real-time two-stage economic dispatch model considering the overall dispatch cost of the distribution network and multiple microgrids; Step S3, obtaining the renewable energy output limit scenario by solving the ellipsoid uncertainty set, using the limit scenario method to process the uncertainty factors of the day-ahead-real-time two-stage economic dispatch model, and establishing a two-stage robust dispatch method for distribution network and multi-microgrid based on the limit scenario method, including a first stage and a second stage, wherein the first stage is a day-ahead dispatch decision stage, determining the day-ahead start and shutdown plan of the gas turbine, the day-ahead power purchase plan of the distribution network, and the day-ahead transmission power of the interconnection line between the distribution network and the multi-microgrid; The second stage is the real-time dispatch stage. In the first stage, the day-ahead decision-making stage, the real-time dispatch status of the distribution network and multiple microgrids under various extreme scenarios is simulated, and the worst scenario is optimized; Step S4, based on the improved C&CG algorithm of the extreme scenario method, the two-stage robust optimization problem is split into main and sub-problems for iterative solution. The optimal day-ahead scheduling plan under the extreme scenario contained in the main problem solution of the main sub-problem is passed to the sub-problem in the main sub-problem. The sub-problem is to find the worst scenario under the current day-ahead scheduling plan through the extreme scenario method, and add relevant real-time scheduling constraints of the worst scenario to the main problem to affect the decision of the main problem. The main and sub-problems are iteratively solved to obtain the optimal solution to the distribution network and multi-microgrid scheduling problem.

2. The robust dispatching method for distribution network and multi-microgrids according to claim 1, characterized in that: The step S2 includes: the objective function of the day-ahead-real-time two-stage economic dispatch model mainly includes the day-ahead dispatch cost and the real-time dispatch cost of the distribution network and the multi-microgrid; the day-ahead-real-time two-stage economic dispatch model includes the following two stages, wherein the first stage of the two stages is the day-ahead dispatch stage, and the constraint condition adopts the day-ahead dispatch constraint condition, and the objective function is to minimize the day-ahead dispatch cost and the real-time dispatch cost of the distribution network and the microgrid; the day-ahead dispatch stage constraint condition includes the minimum start / shutdown time constraint of the gas turbine and the tie line power transmission constraint; The second stage is the real-time dispatch stage. The constraints are real-time dispatch constraints. The objective function is to minimize the real-time dispatch cost of the distribution network and the microgrid under the determined day-ahead dispatch plan. The real-time scheduling stage constraints include distribution network node power balance constraints, distribution network line voltage balance constraints, distribution network line capacity constraints, microgrid gas turbine output climbing constraints, microgrid power balance constraints, energy storage charging and discharging constraints, renewable energy abandonment and load loss constraints, and gas turbine output maximum / minimum constraints.

3. The robust dispatching method for distribution network and multi-microgrids according to claim 2, characterized in that: The step S3 comprises: solving the ellipsoid uncertainty set E(Q,c) of the renewable energy output, and obtaining the vertex ω of the ellipsoid uncertainty set e,i ,i=1,2,…,2N w T, then N w There are 2N uncertain sets of T-dimensional ellipsoids w T vertices; 2N w The scene at T vertices is called the extreme scene.

4. The robust dispatching method for distribution network and multi-microgrids according to claim 1, characterized in that: The two-stage robust dispatching method of the distribution network and multi-microgrid based on the extreme scenario method in step S3 is represented by the following mathematical model: Dx≤d Where x is the day-ahead scheduling decision variable; subscript s represents the extreme scenario number; N s represents the number of extreme scenarios; ξ s represents the value of renewable energy output under extreme scenario s; y s represents the real-time dispatch decision variables such as line power and voltage under extreme scenarios; Ax is the day-ahead dispatch cost; By s +Cξ s is the real-time scheduling cost under the extreme scenario s; A, BC, D, F, H, L, M, d, f, and h all represent coefficient matrices.

5. The robust dispatching method for distribution network and multi-microgrids according to claim 4, characterized in that: The step S4 comprises: The main problem is expressed as follows: Dx≤d Where n represents the number of iterations of the current C&CG algorithm; k m Indicates the limit scenario number returned by the subproblem at the mth iteration; For the extreme scenario k m The real-time scheduling decision variable under this condition; η is the maximum real-time scheduling cost in the extreme scenario of the current main problem; represents the extreme scenario k m The value of renewable energy output under For the extreme scenario k m Real-time scheduling cost under ; Solve the main problem to get the value of the day-ahead scheduling decision variable x, and pass it to the sub-problem. The sub-problem uses the extreme scenario method to find the worst scenario under the day-ahead scheduling of the main problem, and add the real-time scheduling constraints of the worst scenario to the main problem. The sub-problem is expressed by the formula: Among them, f SP A mathematical expression representing the subproblem; The sub-problem uses enumeration method to obtain the real-time scheduling cost under each extreme scenario. If the sub-problem has a solution under all extreme scenarios, the scenario with the largest real-time scheduling cost is the worst scenario under the current scheduling conditions; if there is an extreme scenario that makes the real-time scheduling problem have no feasible solution, then this extreme scenario is the worst scenario.

6. The robust dispatching method for distribution network and multi-microgrids according to claim 5, characterized in that: The C&CG algorithm in step S4 iteratively solves the main and sub-problems to obtain the optimal solution to the distribution network and multi-microgrid scheduling problem, including the following process: Step S4.1, set the lower bound L B =-∞, upper bound U B = +∞, number of algorithm iterations n = 1; Step S4.2: Solve the main problem and obtain the optimal solution for the day-ahead scheduling decision Day-ahead dispatch cost And the real-time scheduling cost in this scenario And update the lower bound value Step S4.3: Fix the day-ahead scheduling decision variables Solve the subproblems and get all the subproblems under the extreme scenarios Step S4.4: Determine the sub-problems under all the extreme scenarios Do all of the subproblems have feasible solutions? All have feasible solutions, then go to step S4.5; if the sub-problem under a certain extreme scenario s If there is no feasible solution, go to step S4.6; Step S4.5: Find the maximum value of feasible solutions under all extreme scenarios The extreme scenario corresponding to the maximum value is the current worst scenario s, and the process goes to step S4.7; Step S4.6: The current extreme scenario s is the current worst scenario s, and the process goes to step S4.9; Step S4.7: According to the maximum value Update upper bound value Go to step S4.8; Step S4.8, set ε as the convergence criterion, if U B -L B ≤ε, and the optimal solution for the day-ahead scheduling decision is obtained This iteration process ends; if U B -L B >ε, go ​​to step S4.9; Step S4.9, update the worst extreme scenario s of the main problem under the current scheduling conditions, and add the constraints corresponding to the current worst extreme scenario s to the main problem; update the number of algorithm iterations to n=n+1, return to step S4.2, and repeat steps S4.2 to S4.

9.

7. An electronic device, characterized in that: The method comprises a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the method according to any one of claims 1 to 6 is implemented.

8. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.