Flexible resource aggregation and multi-energy station emergency scheduling method for urban power grid emergency recovery

By constructing a system model and distributed algorithm of multi-energy cluster control stations in urban power grids, the problem of traditional centralized recovery technology being difficult to ensure grid stability is solved, optimal allocation of distributed resources is achieved, and disaster emergency recovery is improved. capacity and grid resilience.

CN118611070APending Publication Date: 2024-09-06WUXI POWER SUPPLY BRANCH OF STATE GRID JIANGSU ELECTRIC POWER CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410624164.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-20
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Traditional centralized power restoration technology is difficult to ensure the timeliness and stability of urban power grids in extreme disaster situations. In particular, there is a significant gap in the emergency dispatch of multi-energy cluster control stations in the face of natural disasters.

Method used

This paper proposes a flexible resource aggregation and multi-energy station emergency dispatch method for urban power grids. A system model for multi-energy cluster control stations to participate in emergency dispatch is constructed based on grid parameters and energy storage battery parameters. A distributed algorithm is used to satisfy the optimization constraints. Under the circumstances, the objective function is solved to obtain the optimal emergency dispatch parameters and realize the optimal allocation of distributed resources in the distribution network.

Benefits of technology

It improves the emergency recovery capability of urban power grids in disaster situations. By constructing system models and power generation cost optimization objective functions, it achieves optimal allocation of resources within the distribution network, solves centralized optimization problems, and improves the resilience and recovery of the power grid. efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118611070A
    Figure CN118611070A
Patent Text Reader

Abstract

The invention provides a flexible resource aggregation and multi-energy station emergency scheduling method for urban power grid emergency recovery. The method comprises the following steps: constructing a system model in which a multi-energy cluster control station participates in emergency scheduling based on power grid parameters and energy storage battery parameters; based on the system model and the power generation cost, obtaining an objective function and a centralized optimization constraint condition which take the minimization of the total operation cost of the producer and the consumer as an objective; and under the condition that the centralized optimization constraint condition is met, solving the target function by adopting a distributed algorithm to obtain an optimal emergency scheduling parameter, and performing emergency scheduling based on the optimal emergency scheduling parameter. The method provided by the invention can improve the emergency recovery capability of the urban power grid to disasters.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of power system resilience, and in particular to a flexible resource aggregation and multi-energy station emergency dispatching method for emergency recovery of urban power grids. Background Art

[0002] Extreme disasters such as hurricanes and earthquakes can instantly destroy a large number of power facilities, causing multiple faults, and can also lead to the destruction of power generation equipment or transmission corridors, and the distribution network loses its upstream power supply. When a power system fails, traditional centralized recovery technology will be difficult to ensure the timeliness of recovery and the stability of the power system.

[0003] With the increasing popularity of distributed energy, the research on multi-energy cluster control stations has received increasing attention. Although previous studies have emphasized the substantial grid flexibility and economic advantages associated with multi-energy cluster control stations, there is still a significant gap in fully addressing the emergency dispatch of multi-energy cluster control stations in the face of natural disasters. Summary of the invention

[0004] The present invention aims to solve one of the technical problems in the related art at least to a certain extent.

[0005] To this end, the first purpose of the present invention is to propose a flexible resource aggregation and multi-energy station emergency dispatching method for emergency recovery of urban power grids, so as to improve the emergency recovery capability of urban power grids in the face of disasters.

[0006] The second object of the present invention is to propose a flexible resource aggregation and multi-energy station emergency dispatching system for emergency recovery of urban power grids.

[0007] A third objective of the present invention is to provide an electronic device.

[0008] A fourth object of the present invention is to provide a computer-readable storage medium.

[0009] To achieve the above-mentioned purpose, the first embodiment of the present invention proposes a flexible resource aggregation and multi-energy station emergency dispatching method for emergency recovery of urban power grid, including:

[0010] Construct a system model for multi-energy cluster control stations to participate in emergency dispatch based on grid parameters and energy storage battery parameters;

[0011] Based on the system model and the power generation cost, an objective function and centralized optimization constraints are obtained with the goal of minimizing the total operating cost of the prosumer;

[0012] When the centralized optimization constraint conditions are met, a distributed algorithm is used to solve the objective function to obtain optimal emergency dispatch parameters, and emergency dispatch is performed based on the optimal emergency dispatch parameters.

[0013] In the method of the first aspect of the present invention, the system model includes network modeling, response demand modeling and battery modeling; the network modeling includes grid constraints; the response demand modeling includes response demand constraints and inconvenience costs; the battery modeling includes battery state constraints and battery depreciation costs; the total operating cost includes inconvenience costs, battery depreciation costs and power generation costs.

[0014] In the method of the first aspect of the present invention, the inconvenience cost satisfies:

[0015]

[0016] In the formula, is the inconvenience cost of the i-th prosumer in time period t, is the coefficient of the cost function of the ith prosumer, d i,t is the preference coefficient of the i-th prosumer in period t, is the actual response demand of the ith prosumer in period t.

[0017] In the method of the first aspect of the present invention, the battery depreciation cost satisfies:

[0018]

[0019] In the formula, is the depreciation cost of the energy storage battery of the i-th prosumer in period t, is the depreciation coefficient of the energy storage battery of the i-th prosumer, is the charging power of the energy storage battery of the i-th prosumer in time period t, is the discharge power of the energy storage battery of the i-th prosumer in time period t.

[0020] In the method of the first aspect of the present invention, the power generation cost satisfies:

[0021]

[0022] In the formula, is the power generation cost of the ith prosumer in period t, is the quadratic coefficient of the generation cost function of the ith prosumer, is the power generation of the ith prosumer in time period t, is the linear coefficient of the power generation cost function of the ith prosumer.

[0023] In the method of the first aspect of the present invention, the objective function is solved by a distributed algorithm to obtain the optimal emergency dispatch parameters, including: based on a consistent matrix form and Lagrange multipliers, a relaxation term is added to the objective function to obtain the required objective function; the required objective function is decomposed into multiple optimization sub-objectives, and each optimization sub-objective is solved separately to obtain the optimal emergency dispatch parameters.

[0024] To achieve the above-mentioned purpose, the second embodiment of the present invention proposes a flexible resource aggregation and multi-energy station emergency dispatching system for emergency recovery of urban power grids, including:

[0025] System modeling module, used to build a system model of multi-energy cluster control station participating in emergency dispatch based on grid parameters and energy storage battery parameters;

[0026] An optimization modeling module, for obtaining an objective function and centralized optimization constraints with the goal of minimizing the total operating cost of the prosumer based on the system model and the power generation cost;

[0027] The dispatch control module is used to use a distributed algorithm to solve the objective function to obtain optimal emergency dispatch parameters when the centralized optimization constraint conditions are met, and perform emergency dispatch based on the optimal emergency dispatch parameters.

[0028] In the system of the second aspect of the present invention, in the system modeling module, the system model includes network modeling, response demand modeling and battery modeling; the network modeling includes grid constraints; the response demand modeling includes response demand constraints and inconvenience costs; the battery modeling includes battery status constraints and battery depreciation costs; the total operating cost includes inconvenience costs, battery depreciation costs and power generation costs.

[0029] To achieve the above-mentioned purpose, the third aspect of the present invention proposes an electronic device, comprising: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the method proposed in the first aspect of the present invention.

[0030] To achieve the above-mentioned purpose, the fourth aspect of the present invention proposes a computer-readable storage medium, in which computer-readable storage medium is stored computer execution instructions, and when the computer execution instructions are executed by a processor, they are used to implement the method proposed in the first aspect of the present invention.

[0031] The flexible resource aggregation and multi-energy station emergency dispatch method, system, electronic device and storage medium for emergency recovery of urban power grids provided by the present invention construct a system model for multi-energy cluster control stations to participate in emergency dispatch based on power grid parameters and energy storage battery parameters; obtain the objective function and centralized optimization constraints with the goal of minimizing the total operating cost of producers and consumers based on the system model and power generation costs; when the centralized optimization constraints are met, a distributed algorithm is used to solve the objective function to obtain the optimal emergency dispatch parameters, and emergency dispatch is performed based on the optimal emergency dispatch parameters. In this case, by constructing a system model, an objective function with the goal of minimizing the total operating cost of producers and consumers is obtained based on the system model and power generation costs; and then a distributed algorithm is used to solve the objective function to obtain the optimal emergency dispatch parameters for emergency dispatch, thereby achieving the optimal allocation of distributed resources in the distribution network, solving the centralized optimization problem, and improving the emergency recovery capability of the urban power grid in the face of disasters.

[0032] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0034] Figure 1 A flow chart of a flexible resource aggregation and multi-energy station emergency dispatching method for emergency recovery of urban power grids provided by an embodiment of the present invention;

[0035] Figure 2 A block diagram of a flexible resource aggregation and multi-energy station emergency dispatching system for emergency recovery of urban power grids provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0036] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0037] The following describes the flexible resource aggregation and multi-energy station emergency dispatching method and system for emergency recovery of urban power grid according to an embodiment of the present invention with reference to the accompanying drawings.

[0038] The embodiment of the present invention provides a flexible resource aggregation and multi-energy station emergency dispatching method for emergency recovery of urban power grids, so as to improve the emergency recovery capability of urban power grids in the face of disasters.

[0039] Figure 1 A flow chart of a flexible resource aggregation and multi-energy station emergency dispatching method for emergency recovery of an urban power grid provided by an embodiment of the present invention.

[0040] like Figure 1 As shown, the flexible resource aggregation and multi-energy station emergency dispatching method for urban power grid emergency recovery includes the following steps:

[0041] Step S101, constructing a system model for a multi-energy cluster control station to participate in emergency dispatch based on power grid parameters and energy storage battery parameters.

[0042] In step S101, the grid parameters include the square of the complex voltage of each bus, the net active power and net reactive power of each bus, the maximum voltage and minimum voltage of the bus, the maximum active power, the minimum active power, the maximum reactive power and the minimum reactive power. The grid parameters also include the resistance, inductance, square of complex current, active power and reactive power of any bus group. The grid parameters also include the actual response demand of each producer and consumer (referred to as producer and consumer) in each time period, the minimum demand and maximum demand of each producer and consumer in each time period, the minimum consumption demand in each time period, the number of time periods, the coefficient of the cost function of each producer and consumer and the preference coefficient of each producer and consumer in each time period, the quadratic coefficient of the power generation cost function of each producer and consumer, the power generation power of each producer and consumer in each time period, the linear coefficient of the power generation cost function of each producer and consumer and the upper and lower bounds of the power generation power of each producer and consumer in each time period, etc. Among them, the preference coefficient is related to the power consumption, and the higher the power consumption, the higher the preference coefficient.

[0043] In step S101, the energy storage battery parameters include the state of charge of the energy storage battery of each prosumer in each time period, the charging efficiency and discharging efficiency of the energy storage battery of each prosumer, the charging power and discharging power of the energy storage battery of each prosumer in each time period, the battery capacity of the energy storage battery of each prosumer, the minimum state of charge of the energy storage battery of each prosumer, the maximum state of charge of the energy storage battery of each prosumer, the actual state of charge of the energy storage battery of each prosumer at the end of the time range, the expected state of charge of the energy storage battery of each prosumer at the end of the time range, the maximum charging power of the energy storage battery of each prosumer, the maximum discharging power of the energy storage battery of each prosumer, the battery depreciation cost of the energy storage battery of each prosumer in each time period, the depreciation coefficient of the energy storage battery of each prosumer, etc.

[0044] In step S101, the system model of the multi-energy cluster control station participating in emergency dispatch includes network modeling, response demand modeling and battery modeling. Among them, network modeling includes power grid constraints; response demand modeling includes response demand constraints and inconvenience costs; battery modeling includes battery state constraints and battery depreciation costs.

[0045] Specifically, the constructed network modeling satisfies:

[0046]

[0047]

[0048]

[0049]

[0050] v min ≤v i ≤v max (5)

[0051] P min ≤P (i,j) ≤P max (6)

[0052] Q min ≤Q (i,j) ≤Q max (7)

[0053] In the formula, v i is the square of the complex voltage of the ith bus, v j is the square of the complex voltage of the jth bus, r (i,j) 、x (i,j) , l (i,j) , P (i,j) , Q (i,j) are the resistance, inductance, complex current square, active power and reactive power of bus group (i, j) respectively. Bus group (i, j) represents the bus between the i-th bus and the j-th bus. j and q j are the net active power and net reactive power of the ith bus, respectively, both of which are equal to the generation load. max and v min are the maximum and minimum voltages of the busbars respectively. max and P min are the maximum active power and the minimum active power, Q max and Q min are the maximum reactive power and the minimum reactive power respectively. is the sum of the active powers between any two buses in the range from the jth bus to the kth bus, It is the sum of the reactive powers between any two buses in the range from the jth bus to the kth bus.

[0054] Considering that the feasible function of the optimal power flow (OPF) is non-convex, the following second-order constraints are also obtained when modeling the network:

[0055] ||(2P (i,j),2Q (i,j) ,v i -l (i,j) )||2≤v i +l (i ,j) (8)

[0056] Among them, the above equations (1) to (8) constitute the grid constraint conditions.

[0057] The constructed response requirements modeling meets:

[0058]

[0059]

[0060] In the formula, is the actual response demand of the ith producer and consumer (i.e., producer and consumer) in period t (i.e., the t-th period), p i.t , are the minimum and maximum demands of the i-th prosumer in time period t, respectively. represents the minimum consumption demand in time period t, T is the number of time periods, and Δt is the duration. The actual response demand allows the demand adjustment range to be as shown in formula (9). Formula (10) limits the total demand in time period t to This means that some loads can be transferred in different time intervals. Equations (9) and (10) constitute the response demand constraints.

[0061] In order to reflect the inconvenience caused by demand response to production consumers, this embodiment uses a convex quadratic function to simulate the inconvenience cost of the response demand modeling, and the inconvenience cost satisfies:

[0062]

[0063] In the formula, is the inconvenience cost of the i-th prosumer in time period t, is the coefficient of the cost function of the i-th prosumer, which is related to the electricity price, d i,t is the preference coefficient of the i-th prosumer in period t, is the actual response demand of the ith prosumer in period t.

[0064] When building battery modeling, a linear Soc (State of charge) model is used to represent the dynamic update of the battery, which is as follows:

[0065]

[0066] In the formula, Soc i,t+1 is the state of charge of the energy storage battery of the i-th prosumer in time period t+1, is the charging efficiency of the energy storage battery of the i-th prosumer, is the charging power of the energy storage battery of the i-th prosumer in time period t, is the discharge efficiency of the energy storage battery of the i-th prosumer, is the discharge power of the energy storage battery of the i-th prosumer in time period t, is the battery capacity of the energy storage battery of the i-th prosumer.

[0067] Additional constraints are required:

[0068]

[0069]

[0070]

[0071]

[0072]

[0073] In the formula, Soc i,t is the state of charge of the energy storage battery of the i-th prosumer in time period t, Soc i is the minimum state of charge of the energy storage battery of the i-th prosumer, is the maximum state of charge of the energy storage battery of the i-th prosumer, Soc i,T is the actual state of charge of the energy storage battery of the i-th prosumer at the end of the time range, is the expected state of charge of the energy storage battery of the i-th prosumer at the end of the time horizon, is the maximum charging power of the energy storage battery of the i-th prosumer, is the maximum discharge power of the energy storage battery of the i-th prosumer. The state of charge that varies with time is bounded in equation (13). The charge and discharge power limits are shown in equations (15) and (16). Equation (17) ensures that the energy storage battery is only charged or only discharged in time period t. Among them, equations (12)-(17) constitute the battery state constraints.

[0074] The constructed battery modeling also includes the battery depreciation cost, which satisfies:

[0075]

[0076] In the formula, is the depreciation cost of the energy storage battery of the i-th prosumer in period t, is the depreciation coefficient of the energy storage battery of the i-th prosumer, is the charging power of the energy storage battery of the i-th prosumer in time period t, is the discharge power of the energy storage battery of the i-th prosumer in time period t. It should be noted that this embodiment ignores the constraints on each time period t. or This is because for any solution, and Both are greater than 0, there is a solution where one is zero and the other is a smaller value that makes the battery depreciation cost less.

[0077] Step S102, based on the system model and the power generation cost, an objective function and centralized optimization constraints are obtained with the goal of minimizing the total operating cost of the prosumer.

[0078] In step S102, a strictly convex cost function widely used in power systems is used to solve the distributed generators in flexible resource aggregation and multi-energy stations (i.e., multi-energy cluster control stations). The power generation cost satisfies:

[0079]

[0080] In the formula, is the power generation cost of the ith prosumer in period t, is the quadratic coefficient of the generation cost function of the ith prosumer, is the power generation of the ith prosumer in time period t, is the linear coefficient of the power generation cost function of the ith prosumer. The power generation power of the ith prosumer in time period t has upper and lower bounds, as shown in formula (20):

[0081]

[0082] In the formula, is the lower bound of the power generation capacity of the ith prosumer, is the upper bound of the power generation of the ith prosumer. Formula (20) is the power generation constraint.

[0083] In step S102, an objective function and centralized optimization constraints are constructed for the centralized optimization problem, with the goal of minimizing the total operating cost of the prosumer, where the total operating cost includes the inconvenience cost, the battery depreciation cost, and the power generation cost. The centralized optimization constraints include the grid constraints, the response demand constraints, the battery status constraints, and the power generation constraints. Therefore, the total operating cost C of the i-th prosumer in time period t is i,t satisfy:

[0084]

[0085] Define the decision variable vector x of the i-th prosumer in period t i,t yes Considering the dynamic changes of energy storage batteries, load shifting and power consumption forecast of each prosumer, the centralized optimization problem is modeled with the number of time periods T and the duration Δt of each time period. Therefore, the centralized optimization problem is formulated as:

[0086]

[0087] Where N is the number of producers and consumers, and C is the total operating cost of all producers and consumers in all time periods. Equation (22) is the objective function of the centralized optimization problem. Equations (1)-(10), (12)-(17) and (20) together constitute the centralized optimization constraint conditions. The model predictive control (MPC) technology is used to manage the constraints of different time periods. All constraints in the centralized optimization constraint conditions are compact and convex, and the objective function is also strictly convex. Therefore, the centralized optimization problem is a convex optimization problem with a unique optimal solution.

[0088] Step S103, when the centralized optimization constraint conditions are met, a distributed algorithm is used to solve the objective function to obtain optimal emergency dispatch parameters, and emergency dispatch is performed based on the optimal emergency dispatch parameters.

[0089] In step S103, a distributed algorithm is used to solve the objective function to obtain the optimal emergency dispatch parameters, including: adding relaxation terms to the objective function based on the consistent matrix form and Lagrange multipliers to obtain the required objective function; decomposing the required objective function into multiple optimization sub-objectives, and solving each optimization sub-objective separately to obtain the optimal emergency dispatch parameters. The optimal emergency dispatch parameters are the decision variable vector x of the i-th producer and consumer in time period t i,t The optimal solution of .

[0090] Specifically, in step S103, the centralized optimization problem is first expressed as a consistent matrix form, as shown below:

[0091]

[0092] st

[0093] A[x1,x2,...,x N ]=B (24)

[0094] x i ∈X i (25)

[0095] Formula (23) is the consistent matrix form of Formula (22), where f = C, x i is the decision variable vector of the ith prosumer in all periods, f i is a convex function, A is a constant matrix, B is a constant vector, and st means that it satisfies. Formula (24) represents a set of coupling all local variables (i.e., decision variable vector x i ). i is a convex set, and equation (25) represents the local constraint of the i-th prosumer. Therefore, in equation (23), the decision variable vector of each prosumer is coupled with the decision variable vectors of other prosumers through equation (24). Due to the complexity of network modeling, it is impractical to directly decouple the constraint. In this embodiment, an auxiliary variable z is first introduced for each prosumer. i To restate equation (23), the auxiliary variable z is introduced i represents the decision variable vector x on the SO (system scheduling) side i A copy of some variables in, auxiliary variable z i It includes the net active power and net reactive power of the i-th prosumer, so the detailed energy production and consumption information of the prosumer is not shared, which ensures the privacy and autonomy of the individual prosumers. After restating equation (23), it is as follows:

[0096]

[0097] st

[0098] A[z1,z2,...,z N ]=B (27)

[0099] x i ∈X i (28)

[0100] z i -x i =0 (29)

[0101] In the formula, z i is the auxiliary variable of the i-th producer and consumer. Then the dual decomposition method is used to decouple equation (29). i Relaxing equation (29) and adding relaxation terms to the common terms of equations (23) and (26), the Lagrangian function L can be defined as:

[0102]

[0103] In the formula, λ i (z i -x i ) is the relaxation term.

[0104] Therefore, the required objective function satisfies:

[0105] Due to the decomposability of the Lagrangian function L and equations (28) and (29), the required objective function is decomposed into N+1 optimization sub-objectives (also called optimization sub-problems), where, at the local level, each producer and consumer independently solves the problem of minimizing its operating cost as follows:

[0106] min f i +λ i (z i -x i ) (31)

[0107] The condition that the producer and consumer must satisfy to independently solve the problem of minimizing its operating costs is equation (28).

[0108] An operating system solves the following sub-problems:

[0109]

[0110] The condition satisfied by this sub-problem is equation (27).

[0111] In order to solve equations (31) and (32), this embodiment uses the gradient method to update the Lagrange multiplier λ i , the Lagrange multiplier λ in this embodiment i is also the DistributionLocational Marginal Pricing (DLMP) of the i-th prosumer. The Lagrange multiplier is initially set to a non-negative value and is updated at each interaction in the manner that satisfies (33):

[0112]

[0113] In the formula, is the number of updates, For the The Lagrange multiplier after the update. i is the step size of each interaction. The adjustment of the Lagrange multiplier can be interpreted as the SO (system dispatch) fluctuating the node marginal price (Locational Marginal Price, LMP) to balance supply and demand. Different from the prior art where all prosumers have the same LMP without considering network constraints, in the method of the present invention, each prosumer has a different DLMP (i.e., a different Lagrange multiplier λ i ), the DLMP includes not only the energy component but also the congestion and loss components.

[0114] In step S103, when the centralized optimization constraint conditions are met, the optimal emergency dispatch parameter is obtained through the above-mentioned distributed algorithm. The optimal emergency dispatch parameter is the decision variable vector x of the i-th producer and consumer in time period t. i,tThe optimal solution of . Using the decision variable vector x of the i-th producer and consumer in time period t i,t The optimal solution is used to carry out emergency dispatch for each producer and seller in the corresponding period.

[0115] In order to implement the above-mentioned embodiment, the present invention also proposes a flexible resource aggregation and multi-energy station emergency dispatching system for emergency recovery of urban power grids.

[0116] Figure 2 A block diagram of a flexible resource aggregation and multi-energy station emergency dispatching system for emergency recovery of urban power grids provided by an embodiment of the present invention.

[0117] like Figure 2 As shown, the flexible resource aggregation and multi-energy station emergency dispatching system for emergency restoration of urban power grid includes a system modeling module 11, an optimization modeling module 12 and a dispatching control module 13, wherein:

[0118] System modeling module 11, used to build a system model of multi-energy cluster control station participating in emergency dispatch based on power grid parameters and energy storage battery parameters;

[0119] An optimization modeling module 12, for obtaining an objective function and centralized optimization constraints with the goal of minimizing the total operating cost of the prosumer based on the system model and the power generation cost;

[0120] The dispatch control module 13 is used to use a distributed algorithm to solve the objective function to obtain the optimal emergency dispatch parameters when the centralized optimization constraint conditions are met, and perform emergency dispatch based on the optimal emergency dispatch parameters.

[0121] Furthermore, in a possible implementation of an embodiment of the present invention, in the system modeling module 11, the system model includes network modeling, response demand modeling and battery modeling; network modeling includes grid constraints; response demand modeling includes response demand constraints and inconvenience costs; battery modeling includes battery state constraints and battery depreciation costs; and the total operating cost includes inconvenience costs, battery depreciation costs and power generation costs.

[0122] Furthermore, in a possible implementation of an embodiment of the present invention, when the dispatch control module 13 is used to solve the objective function using a distributed algorithm to obtain the optimal emergency dispatch parameters, it is specifically used to: based on a consistent matrix form and Lagrange multipliers, add a relaxation term to the objective function to obtain the required objective function; decompose the required objective function into multiple optimization sub-objectives, and solve each optimization sub-objective separately to obtain the optimal emergency dispatch parameters.

[0123] It should be noted that the aforementioned explanation of the embodiment of the flexible resource aggregation and multi-energy station emergency dispatch method for emergency recovery of urban power grids is also applicable to the flexible resource aggregation and multi-energy station emergency dispatch system for emergency recovery of urban power grids of this embodiment, and will not be repeated here.

[0124] In an embodiment of the present invention, a system model for multi-energy cluster control stations to participate in emergency dispatch is constructed based on power grid parameters and energy storage battery parameters; an objective function and centralized optimization constraints with the goal of minimizing the total operating cost of producers and consumers are obtained based on the system model and power generation costs; when the centralized optimization constraints are met, a distributed algorithm is used to solve the objective function to obtain the optimal emergency dispatch parameters, and emergency dispatch is performed based on the optimal emergency dispatch parameters. In this case, by constructing a system model, an objective function with the goal of minimizing the total operating cost of producers and consumers is obtained based on the system model and power generation costs; and then a distributed algorithm is used to solve the objective function to obtain the optimal emergency dispatch parameters for emergency dispatch, thereby achieving optimal allocation of distributed resources in the distribution network, solving the centralized optimization problem, and improving the emergency recovery capability of the urban power grid in the face of disasters.

[0125] The method and system of the present invention are applied to power system failures, considering that traditional centralized recovery technologies will be difficult to ensure the timeliness of recovery and the stability of the power system. In order to avoid the failure of the centralized power communication network after a disaster, a high-reliability, decentralized emergency recovery architecture is proposed, and a flexible resource aggregation and multi-energy station emergency dispatch method and system based on a distributed algorithm are constructed to optimally allocate distributed resources in the distribution network, with the goal of optimizing the recovery load and shortening the recovery time, so as to achieve resilience improvement. First, a system model is established, a centralized optimization problem is proposed, and MPC technology is used to manage constraints in different time periods. Then, an effective distributed algorithm is used to specifically solve the central optimization problem, thereby improving the emergency recovery capability of the urban power grid in the face of disasters, thereby improving the resilience of the urban power grid.

[0126] In order to implement the above embodiments, the present invention also proposes an electronic device, comprising: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the method provided by the above embodiments.

[0127] In order to implement the above embodiments, the present invention further proposes a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the methods provided by the above embodiments.

[0128] In order to implement the above embodiments, the present invention further provides a computer program product, including a computer program, which implements the methods provided by the above embodiments when executed by a processor.

[0129] In the description of the aforementioned embodiments, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0130] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0131] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present invention belong.

[0132] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0133] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0134] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0135] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0136] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.

Claims

1. A flexible resource aggregation and multi-energy station emergency dispatching method for urban power grid emergency recovery, characterized in that: include: Construct a system model for multi-energy cluster control stations to participate in emergency dispatch based on grid parameters and energy storage battery parameters; Based on the system model and the power generation cost, an objective function and centralized optimization constraints are obtained with the goal of minimizing the total operating cost of the prosumer; When the centralized optimization constraint conditions are met, a distributed algorithm is used to solve the objective function to obtain optimal emergency dispatch parameters, and emergency dispatch is performed based on the optimal emergency dispatch parameters.

2. The flexible resource aggregation and multi-energy station emergency dispatching method for urban power grid emergency recovery according to claim 1 is characterized in that: The system model includes network modeling, response demand modeling and battery modeling; the network modeling includes grid constraints; the response demand modeling includes response demand constraints and inconvenience costs; the battery modeling includes battery state constraints and battery depreciation costs; the total operating cost includes inconvenience costs, battery depreciation costs and power generation costs.

3. The flexible resource aggregation and multi-energy station emergency dispatching method for emergency recovery of urban power grid according to claim 2 is characterized in that: The inconvenience cost meets: In the formula, is the inconvenience cost of the i-th prosumer in time period t, is the coefficient of the cost function of the ith prosumer, d i,t is the preference coefficient of the i-th prosumer in period t, is the actual response demand of the ith prosumer in period t.

4. The flexible resource aggregation and multi-energy station emergency dispatching method for emergency recovery of urban power grid according to claim 2 is characterized in that: The battery depreciation cost satisfies: In the formula, is the depreciation cost of the energy storage battery of the i-th prosumer in period t, is the depreciation coefficient of the energy storage battery of the i-th prosumer, is the charging power of the energy storage battery of the i-th prosumer in time period t, is the discharge power of the energy storage battery of the i-th prosumer in time period t.

5. The flexible resource aggregation and multi-energy station emergency dispatching method for urban power grid emergency recovery according to claim 2 is characterized in that: The power generation cost satisfies: In the formula, is the power generation cost of the ith prosumer in period t, is the quadratic coefficient of the generation cost function of the ith prosumer, is the power generation of the ith prosumer in time period t, is the linear coefficient of the power generation cost function of the ith prosumer.

6. The flexible resource aggregation and multi-energy station emergency dispatching method for urban power grid emergency recovery according to claim 1 is characterized in that: The adopting of a distributed algorithm to solve the objective function to obtain the optimal emergency dispatch parameter includes: Based on the consistent matrix form and Lagrange multipliers, a relaxation term is added to the objective function to obtain a desired objective function; The required objective function is decomposed into multiple optimization sub-objectives, and each optimization sub-objective is solved separately to obtain the optimal emergency dispatch parameters.

7. A flexible resource aggregation and multi-energy station emergency dispatch system for urban power grid emergency recovery, characterized in that: include: System modeling module, used to build a system model of multi-energy cluster control station participating in emergency dispatch based on grid parameters and energy storage battery parameters; An optimization modeling module, for obtaining an objective function and centralized optimization constraints with the goal of minimizing the total operating cost of the prosumer based on the system model and the power generation cost; The dispatch control module is used to use a distributed algorithm to solve the objective function to obtain optimal emergency dispatch parameters when the centralized optimization constraint conditions are met, and perform emergency dispatch based on the optimal emergency dispatch parameters.

8. The flexible resource aggregation and multi-energy station emergency dispatching system for emergency recovery of urban power grid according to claim 7 is characterized in that: In the system modeling module, the system model includes network modeling, response demand modeling and battery modeling; the network modeling includes grid constraints; the response demand modeling includes response demand constraints and inconvenience costs; the battery modeling includes battery state constraints and battery depreciation costs; the total operating cost includes inconvenience costs, battery depreciation costs and power generation costs.

9. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 6.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 6 when executed by a processor.