Energy storage configuration analysis method, device, electronic device and medium for regional power grid frequency and voltage regulation needs

By establishing a node network in the MATLAB environment and using genetic algorithms to optimize energy storage configuration, the problem of reliability and rationality of energy storage configuration in power grid frequency regulation is solved, and the stability and economic benefits of the power grid are improved.

CN115473243BActive Publication Date: 2024-09-03STATE GRID GANSU ELECTRIC POWER RESEARCH INSTITUTE +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211146413.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-20
Publication Date
2024-09-03
Estimated Expiration
2042-09-20

AI Technical Summary

Technical Problem

The existing technology is insufficient in the reliability and rationality of energy storage configuration in power grid frequency regulation. Especially when large-scale energy storage power stations assist power grid frequency regulation, there are problems of overcharge and over-discharge of energy storage, and the site selection of multiple energy storage power stations is not considered. capacity problems, leading to safety accidents and frequency instability.

Method used

The energy storage configuration analysis method for regional power grids is adopted, by establishing a node network in the MATLAB environment, optimizing the objective function based on genetic algorithms, flexibly selecting the optimization goals, and determining the location and capacity of energy storage to improve the frequency regulation capability and stability of the power grid.

Benefits of technology

By flexibly selecting optimization targets and locations, the reliability and rationality of energy storage configuration are achieved, the grid operating costs and frequency deviations are reduced, and the stability and economic benefits of the grid are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115473243B
    Figure CN115473243B
Patent Text Reader

Abstract

The embodiments of the present invention provide a method, device, electronic device and medium for analyzing energy storage configuration for the frequency and voltage regulation needs of a regional power grid, and relate to the technical field of power systems. The method includes: establishing a node network corresponding to the power grid, setting the reference voltage, total active load and generator power of the node network, and determining multiple groups of energy storage capacity configuration data based on the total active load and the set power factor. For each group of energy storage capacity configuration data, based on a genetic algorithm, according to the optimal conditions of the set objective function, the location and capacity of the energy storage configured in the power grid are obtained based on the node network analysis. Furthermore, based on the location and capacity of the energy storage configured in the power grid obtained by analyzing each group of energy storage capacity configuration data, the final location and capacity of the energy storage configured in the power grid are determined, thereby improving the reliability and rationality of the energy storage configuration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power systems, and in particular to an energy storage configuration analysis method, device, electronic equipment and medium for frequency and voltage regulation requirements of a regional power grid. Background Art

[0002] Energy storage technology is widely used in many scenarios, for example, it can be used to configure new energy, load shaving, power supply in emergency situations, frequency and voltage regulation in power systems, etc. The basic principle of frequency regulation based on energy storage technology is to track the frequency of the power grid in real time according to the active power of the power system to keep it within an appropriate range.

[0003] As the frequency regulation capacity of conventional units in the power grid continues to decrease, the power grid frequency regulation capacity is limited under this background. As a frequency regulation resource with high flexibility, high frequency regulation efficiency, high safety and high environmental protection, power grid energy storage will be the main way of power grid frequency regulation in the future. At present, large-scale energy storage power stations mainly use the fixed factor method to assist the power grid frequency regulation problem. It has been verified that the reliability and rationality of this treatment method need to be improved. Summary of the invention

[0004] One of the purposes of the present invention includes, for example, providing a method, device, electronic device and medium for analyzing energy storage configuration for regional power grid frequency and voltage regulation needs, so as to at least partially improve the reliability and rationality of power grid frequency regulation based on energy storage.

[0005] The embodiments of the present invention can be implemented as follows:

[0006] In a first aspect, the present invention provides an energy storage configuration analysis method for regional power grid frequency and voltage regulation requirements, comprising:

[0007] Establishing a node network corresponding to the power grid in the MATLAB environment, and setting a reference voltage, total active load, and generator set power of the node network;

[0008] Determining multiple sets of energy storage capacity configuration data based on the total active load and the set power factor;

[0009] For each group of energy storage capacity configuration data, based on a genetic algorithm, according to the optimal condition of a set objective function, with at least one of voltage frequency deviation reduction, network loss reduction, grid operation cost reduction, grid voltage stability, and voltage sensitivity as an optimization target, the location and capacity of the energy storage configured in the grid are obtained based on the node network analysis;

[0010] Based on the location and capacity of the energy storage configured in the power grid obtained by analyzing each set of the energy storage capacity configuration data, the final location and capacity of the energy storage configured in the power grid are determined.

[0011] In an optional implementation manner, the step of determining multiple groups of energy storage capacity configuration data based on the total active load and the set power factor includes:

[0012] After multiplying the total active load of the power grid by a first ratio less than 1, the result is divided by a power factor less than 1 to obtain a first set of energy storage capacity configuration data; after multiplying the total active load of the power grid by a second ratio less than 1, the result is divided by a power factor less than 1 to obtain a second set of energy storage capacity configuration data; after multiplying the total active load of the power grid by a third ratio less than 1, the result is divided by a power factor less than 1 to obtain a third set of energy storage capacity configuration data;

[0013] Wherein, the first ratio is smaller than the second ratio, and the second ratio is smaller than the third ratio;

[0014] The step of obtaining the location and capacity of the energy storage configured in the power grid based on the node network analysis for each group of the energy storage capacity configuration data, based on the genetic algorithm, according to the set optimal condition of the objective function, taking at least one of voltage frequency deviation reduction, network loss reduction, power grid operation cost reduction, power grid voltage stability, and voltage sensitivity as the optimization target, comprises:

[0015] For the first group of energy storage capacity configuration data, based on a genetic algorithm and according to a multi-objective optimization method, with the reduction of voltage-frequency deviation, the reduction of network loss and the reduction of grid operation cost as the goals, a first position and capacity of the energy storage configured in the grid are analyzed;

[0016] For the second set of energy storage capacity configuration data, based on a genetic algorithm and according to a multi-objective optimization method, with the reduction of voltage-frequency deviation, the reduction of network loss and the reduction of grid operation cost as the goals, a second position and capacity of the energy storage configured in the grid are analyzed;

[0017] For the third set of energy storage capacity configuration data, based on a genetic algorithm and according to a multi-objective optimization method, with the reduction of voltage-frequency deviation, network loss and grid operation cost as the goals, a third position and capacity of the energy storage configured in the grid are analyzed;

[0018] For the first set of energy storage capacity configuration data, based on a genetic algorithm and according to a multi-objective optimization method, with grid voltage stability, voltage sensitivity and network loss reduction as goals, an analysis is performed to obtain a fourth position and capacity of the energy storage configured in the grid.

[0019] In an optional embodiment, the first ratio, the second ratio and the third ratio are in the range of 5% to 45%; the power factor is 0.85 to 0.95; and the range of each group of energy storage capacity configuration data is greater than 0 and less than 95MW / 95MWh.

[0020] In an optional embodiment, the method further comprises:

[0021] Performing simulation analysis on the node network to obtain initial line loss, voltage deviation, frequency change and grid operation cost in the grid without additional energy storage configuration;

[0022] Increasing the total active load of the node network, determining the energy storage demand of the power grid after the total active load is increased, and the line loss, voltage deviation, frequency change and power grid operation cost in the power grid after the total active load is increased;

[0023] Calculating line losses, voltage deviations, frequency changes, and grid operation costs in the grid when energy storage is added to the grid at the second position and capacity, compared to a first change in line losses, voltage deviations, frequency changes, and grid operation costs in the grid after increasing the total active load;

[0024] Calculate a second change in line loss, frequency deviation, and grid operation cost in the grid when energy storage is added to the grid at the third position and capacity compared to when energy storage is added to the grid at the first position and capacity;

[0025] Calculating a third change in voltage stability, voltage sensitivity, network loss, and grid operation cost in the grid when energy storage is added to the grid at the fourth position and capacity compared to a third change in a case where energy storage is added to the grid at the first position and capacity;

[0026] The step of determining the final position and capacity of the energy storage configured in the power grid based on the position and capacity of the energy storage configured in the power grid obtained by analyzing each group of the energy storage capacity configuration data comprises:

[0027] The final location and capacity of the energy storage configured in the power grid are determined based on the initial line loss, voltage deviation, frequency change and power grid operation cost, as well as the first change condition, the second change condition and the third change condition.

[0028] In an optional embodiment, the step of determining the final position and capacity of the energy storage configured in the power grid according to the initial line loss, voltage deviation, frequency change and power grid operation cost, and the first change condition, the second change condition and the third change condition comprises:

[0029] Performing comparative analysis based on initial line loss, voltage deviation, frequency change and grid operation cost, as well as the first change situation, the second change situation and the third change situation;

[0030] Simulating and analyzing voltage stability, voltage sensitivity, network loss, and grid operation cost in the grid when energy storage is added to the grid at a first position and capacity, a second position and capacity, a third position and capacity, and a fourth position and capacity, respectively;

[0031] Based on the results of the comparative analysis and the results of the simulation analysis, the final location and capacity of the energy storage configured in the power grid are determined.

[0032] In an optional embodiment, for each group of the energy storage capacity configuration data, based on a genetic algorithm, according to the set optimal condition of the objective function, with at least one of voltage frequency deviation reduction, network loss reduction, grid operation cost reduction, grid voltage stability, and voltage sensitivity as an optimization target, the step of obtaining the location of the energy storage configured in the grid based on the node network analysis includes:

[0033] According to the following formula, the sensitivity of each node in the node network to frequency adjustment after energy storage is configured is calculated:

[0034]

[0035] in, The frequency deviation change rate of the energy storage configuration unit increment at node j relative to node i, the frequency sensitivity FS of node i i for The sum of the nodes at each node, n is the total number of nodes in the node network;

[0036] According to the sensitivity of each node to frequency adjustment after energy storage is configured, at least one candidate node whose sensitivity meets the set conditions is selected;

[0037] For each group of energy storage capacity configuration data, based on a genetic algorithm, according to the optimal condition of a set objective function, with at least one of voltage-frequency deviation reduction, network loss reduction, grid operation cost reduction, grid voltage stability, and voltage sensitivity as an optimization target, a target node for adding energy storage is obtained from all the candidate nodes;

[0038] The position corresponding to the target node in the power grid is used as the position of the energy storage configured in the power grid.

[0039] In an optional implementation, the objective function is:

[0040] minF=f1+f2+f3+f4+f5

[0041]

[0042] Among them, f1 is the grid operation cost; f2 is the network loss cost; f3 is the grid load cost; f4 is the grid carbon penalty cost; f5 is the cost of frequency deviation and voltage deviation; ΔP is the unit capacity of energy storage; ΔU is the voltage deviation of energy storage; K is the frequency regulation effect coefficient of the power system; c1 is the cost required to adjust the frequency by configuring 1MW of energy storage; c2 is the loss of voltage deviation after configuring energy storage; the power system frequency regulation effect coefficient K in f5 is 100.

[0043] In a second aspect, an embodiment of the present invention provides an energy storage configuration analysis device for regional power grid frequency and voltage regulation requirements, including:

[0044] A configuration module is used to establish a node network corresponding to the power grid in the MATLAB environment, and set the reference voltage, total active load and generator set power of the node network;

[0045] An analysis module, for determining a plurality of groups of energy storage capacity configuration data based on the total active load and the set power factor; for each group of the energy storage capacity configuration data, based on a genetic algorithm, according to the set optimal condition of the objective function, with at least one of voltage-frequency deviation reduction, network loss reduction, grid operation cost reduction, grid voltage stability, and voltage sensitivity as an optimization target, and obtaining the location and capacity of the energy storage configured in the grid based on the node network analysis;

[0046] A determination module is used to determine the final position and capacity of the energy storage configured in the power grid based on the position and capacity of the energy storage configured in the power grid obtained by analyzing each group of the energy storage capacity configuration data.

[0047] In a third aspect, the present invention provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the energy storage configuration analysis method for regional power grid frequency and voltage regulation requirements as described in any one of the aforementioned implementation modes is implemented.

[0048] In a fourth aspect, the present invention provides a computer-readable storage medium, which includes a computer program. When the computer program is running, it controls the electronic device where the computer-readable storage medium is located to execute the energy storage configuration analysis method for regional power grid frequency and voltage regulation requirements as described in any of the aforementioned implementation methods.

[0049] The beneficial effects of the embodiments of the present invention include, for example: by establishing a node network, based on a genetic algorithm, according to the optimal conditions of the objective function, the optimization target is flexibly selected, the location and capacity of the energy storage configured in the power grid are analyzed, and then a more optimal energy storage configuration plan is obtained, thereby ensuring the reliability and rationality of the energy storage configuration. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0051] Figure 1 A schematic diagram of an application scenario provided by an embodiment of the present invention is shown.

[0052] Figure 2 A schematic flow chart of an energy storage configuration analysis method provided in an embodiment of the present invention is shown.

[0053] Figure 3 An example diagram of obtaining an optimal solution based on a genetic algorithm provided by an embodiment of the present invention is shown.

[0054] Figure 4 An example diagram of an IEEE 30-node network provided by an embodiment of the present invention is shown.

[0055] Figure 5 A simulation schematic diagram without energy storage provided by an embodiment of the present invention is shown.

[0056] Figure 6 A 98MW / 98MWh energy storage capacity location diagram configured according to an embodiment of the present invention is shown.

[0057] Figure 7 A diagram showing voltage deviations of nodes when different capacities of energy storage are configured, provided in an embodiment of the present invention.

[0058] Figure 8 A branch loss diagram when configuring energy storage of different capacities provided by an embodiment of the present invention is shown.

[0059] Fig. 9 A comparison diagram of maximum frequency deviation of a power system when different energy storage capacities are configured is shown in an embodiment of the present invention.

[0060] Fig.10 A location diagram for configuring a 22MW / 22MWh energy storage capacity provided by an embodiment of the present invention is shown.

[0061] Fig.11 A simulation example diagram of a configuration of an energy storage capacity of 22MW / 22MWh provided in an embodiment of the present invention is shown.

[0062] Fig.12 An example diagram of configuring a 67MW / 67MWh energy storage capacity for grid access provided by an embodiment of the present invention is shown.

[0063] Fig.13 A simulation example diagram of a configuration of an energy storage capacity of 67MW / 67MWh provided in an embodiment of the present invention is shown.

[0064] Fig.14 An example diagram of configuring an energy storage capacity of 89MW / 89MWh for access to a power grid provided by an embodiment of the present invention is shown.

[0065] Fig.15 A simulation example diagram of a configuration of an energy storage capacity of 89MW / 89MWh provided in an embodiment of the present invention is shown.

[0066] Fig.16 An example diagram showing the costs required for different energy storage capacity configuration solutions provided by an embodiment of the present invention is shown.

[0067] Fig.17 An example diagram of grid operation costs after energy storage configuration provided by an embodiment of the present invention is shown.

[0068] Fig.18 An exemplary structural block diagram of an energy storage configuration analysis device provided by an embodiment of the present invention is shown.

[0069] Icons: 100 - electronic device; 110 - memory; 120 - processor; 130 - communication module; 140 - energy storage configuration analysis device; 141 - configuration module; 142 - analysis module; 14 determination module. DETAILED DESCRIPTION

[0070] Nowadays, with the development of society, various new energy technologies have been rapidly developed. Due to its flexible configuration and response speed, energy storage systems can well ensure the balance and continuity of new energy. As part of the smart grid, the status of energy storage technology in the power system is becoming increasingly prominent. In the face of various interferences, in order to ensure the safe and stable operation of the power grid, the use of battery energy storage for grid frequency regulation has become an important issue in the current power system.

[0071] Research has found that currently, large-scale energy storage power stations mostly use fixed factor methods to assist grid frequency regulation, and their reliability and rationality need to be improved. For example, continuous load interference can cause overcharging and over-discharging of energy storage, leading to uncontrollable safety accidents. For another example, in order to reduce the deterioration of the initial frequency of interference, most existing studies treat the energy storage system as a whole for energy distribution, without considering the site selection and sizing of multiple energy storage power stations. In actual applications, energy storage power stations are composed of multiple groups of batteries connected in parallel.

[0072] Based on the above research, an embodiment of the present invention provides an energy storage configuration analysis solution, which can flexibly select multiple optimization objectives. Based on a genetic algorithm, according to the optimal conditions of the objective function (multi-objective optimization method), the location and capacity of the energy storage configured in the power grid are analyzed, and then a more optimal energy storage configuration solution is obtained, thereby ensuring the reliability and rationality of the energy storage configuration.

[0073] The defects existing in the above solutions are the results obtained by the inventors after practice and careful research. Therefore, the discovery process of the above problems and the solutions proposed in the embodiments of the present invention for the above problems below should all be the contributions made by the inventors in the invention process.

[0074] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0075] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0076] It should be noted that 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.

[0077] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0078] It should be noted that, in the absence of conflict, the features in the embodiments of the present invention may be combined with each other.

[0079] Please refer to Figure 1 , is a block diagram of an electronic device 100 provided in this embodiment. The electronic device 100 in this embodiment may be a server, a processing device, a processing platform, etc. capable of data interaction, processing and analysis. The electronic device 100 includes a memory 110, a processor 120, and a communication module 130. The memory 110, the processor 120, and the communication module 130 are electrically connected to each other directly or indirectly to achieve data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses or signal lines.

[0080] The memory 110 is used to store programs or data. The memory 110 may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), etc.

[0081] The processor 120 is used to read / write data or programs stored in the memory 110 and execute corresponding functions.

[0082] The communication module 130 is used to establish a communication connection between the electronic device 100 and other communication terminals through the network, and to send and receive data through the network.

[0083] It should be understood that Figure 1 The structure shown is only a schematic diagram of the structure of the electronic device 100. The electronic device 100 may also include Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown. Figure 1 Each component shown in the figure can be implemented by hardware, software or a combination thereof.

[0084] Please refer to Figure 2 , which is a flow chart of a method for analyzing energy storage configuration for frequency and voltage regulation requirements of a regional power grid provided by an embodiment of the present invention, can be Figure 1 The electronic device 100 executes, for example, the processor 120 in the electronic device 100. The energy storage configuration analysis method includes S110, S120, S130 and S140.

[0085] S110, establishing a node network corresponding to the power grid in the MATLAB environment, and setting a reference voltage, total active load and generator set power of the node network.

[0086] S120: Determine multiple groups of energy storage capacity configuration data based on the total active load and the set power factor.

[0087] S130, for each group of the energy storage capacity configuration data, based on a genetic algorithm, according to the set optimal conditions of the objective function, with at least one of the reduction of voltage-frequency deviation, reduction of network loss, reduction of grid operation cost, grid voltage stability, and voltage sensitivity as an optimization goal, the location and capacity of the energy storage configured in the grid are obtained based on the node network analysis.

[0088] S140, determining the final position and capacity of the energy storage configured in the power grid based on the position and capacity of the energy storage configured in the power grid obtained by analyzing each group of the energy storage capacity configuration data.

[0089] In this embodiment, based on the genetic algorithm, according to the optimal conditions of the objective function, the optimization target is flexibly selected, the location and capacity of the energy storage configured in the power grid are analyzed, and then the optimal energy storage configuration scheme for each target is obtained, thereby ensuring the reliability and rationality of the energy storage configuration.

[0090] In order to reliably and reasonably analyze the energy storage configuration, this embodiment takes the high-voltage network (also referred to as the power grid) as the research object, and the distributed generators and storage units are connected to the high-voltage network. For example, the high-voltage network is described by the point (N, ε), where N = (1, 2, ..., n) is the set of nodes (buses) and ε is the set of edges (lines). The admittance of bus i to the ground is y ii The line admittance between busbars i and j is yi j Indicates that, and satisfies y ij =y ji .if That is, busbars i and j are not directly connected by a straight line, then y ij = 0. The high voltage network admittance matrix is ​​a symmetric matrix, defined as:

[0091]

[0092] Considering that the discrete time step is denoted as t=1,2,…, the complex voltage and complex current injected into node k at time t are denoted as V k (t) and I k (t), and P k (t) and Q k (t) represent the corresponding active power injection and reactive power injection respectively. The power balance equation of node k at time t is expressed as:

[0093]

[0094] Where j is the imaginary unit, (·) * represents the complex conjugate operator,

[0095] Assume that bus 1 is a slack bus, which means it is interconnected with the network. The characteristics of a slack bus are that the voltage amplitude and phase are fixed, that is, V1(t) is known. In contrast, the complex voltage V k (t) on the busbar k∈N L ={2,...,n} are free variables in the power flow problem. For them, the voltage quality requires the value to remain within the specified range, that is:

[0096]

[0097] when For a given range, the limit on the capacity of the transmission line also includes a limit on the actual power drawn from the bus, namely:

[0098]

[0099] The actual power transferred from bus i to bus j at time t is:

[0100]

[0101] in, is a given upper bound.

[0102] The bus equipped with the energy storage system is represented as For s∈S, use e s (t) represents the energy storage level of bus s at time t. s The kinetic model of (t) is a first-order difference equation:

[0103] e s (t+1)=e s (t)+r s (t)Δt (5)

[0104] Among them, r s(t) is the average active power exchanged with the storage unit at each moment, Δt is the time step, r s (t) can take positive and negative values ​​(charge and discharge, respectively). Assume that the initial conditions of the stored energy level are known:

[0105]

[0106] Moreover, s (t) and e s (t) all have boundary conditions:

[0107]

[0108] 0≤e s (t)≤E s (8)

[0109] R s , Greater than 0 is the power rate limit, E s It is the storage capacity installed on the busbar.

[0110] Similar to formula (7), the average reactive power b that can be exchanged with the energy storage system is s (t) Define boundaries:

[0111]

[0112] use and represents the active power demand and reactive power demand of bus k at time t. Similarly, and represents the active power output and reactive power output of bus k at time t. For a common bus with loads, generators, and storage units connected to it, the active power injection P k (t) and reactive power injection Q k (t) Take the general expression:

[0113]

[0114]

[0115] Additional constraints on buses without energy storage systems include:

[0116] r h (t) = b h (t)=0,h∈N L \S (12)

[0117] are known inputs in equations (10) and (11). Each generator can be connected to the grid via a grid-tied inverter. High-quality modern grid-tied inverters have a fixed power factor close to 1, so It has been verified that, except for the relaxed bus, this embodiment regards the bus with load as the loaded bus. If there is no load or generator connected to the bus k∈N L , the corresponding demand or generation is assumed to be zero.

[0118] Assuming that the set S is given, the storage sizing problem considered aims to find the most appropriate energy storage capacity and its configuration location so that it can possibly meet the voltage constraint at the discrete time level T. T can be flexibly selected, for example, T can be one day or one week to illustrate the demand and generation profile. In addition to the typical OPF optimization variables, the optimization variables in this problem also include the energy storage capacity Es and the active power r exchanged with each ESS s (t) and reactive power b s (t), t∈T. Conversely, the demand and generation profiles are given.

[0119] In order to consider the line losses in the high voltage power grid, the cost function is defined as follows:

[0120] J(C s ,C L )=C L +γC S (13)

[0121] When C S =∑ s∈S E s is its total installed storage capacity, C L =∑t∈T∑k∈NP k (t)Δt[kWh] represents the average bus loss per sampling time, |T| represents the cardinality of the set T, and γ≥0 is a weighting parameter. The multi-period OPF problem of storage size adjustment can be considered as:

[0122]

[0123] st(2)-(12),k∈N L ,s∈S,(i,j)∈ε,t∈T (14)

[0124] According to formula (2), formula (13) needs to evaluate C L The active power injection P k (t) can be replaced by In the formula, Re(·) is the real part of the complex number. k Represents R n The kth standard basis vector of , and define:

[0125]

[0126]

[0127]

[0128] y ij =y ij ∈ i (∈ i -∈ j ) T (18)

[0129]

[0130] Where (·) T is the transpose operator of a matrix, and Im(·) is the imaginary part of a complex number. Define a matrix of rank 1 W(t) = U(t)U(t) T , where U(t)=[Re(V(t)) T Im(V(t) T )] T and V(t)=[V1(t)...V n (t)] T Taking the real and imaginary parts of (2), the active power and reactive power balance equations of bus k and time t can be rewritten as:

[0131] tr(Y k W(t))=P k (t) (20)

[0132]

[0133] Where tr(X) is the trace of the square matrix X. Similarly, we can conclude that:

[0134]

[0135]

[0136] When added together, we get a convex relaxation form:

[0137]

[0138]

[0139]

[0140]

[0141]

[0142] e s (t+1)=e s (t)+r s (t)Δt (24f)

[0143]

[0144]

[0145] 0≤e s (t)≤E s (24i)

[0146]

[0147] r h (t) = b h (t)=0,h∈N L \S (24k)

[0148] W(t)≥0 (24l)

[0149] k∈N L ,s∈S,(i,j)∈ε,t∈T

[0150] Where X ≥ 0 means that the symmetric matrix X is semi-positive definite. Constraints (24b) and (24c) express the power balance equation (2), P k (t) and Q k (t) is given by (10) and (11), constraints (24d) and (24e) impose limits (3) and (4) on the voltage and line capacity respectively, constraints (24f)-(24j) model the storage dynamics (5)-(9), and finally, (24l) is a technical constraint resulting from the transformation of the variable V(t) to W(t).

[0151] To ensure feasibility, the size of the ESS is selected as the maximum Consider all possible requirements and generation profiles. When historical data is available, a feasible approach is to solve Problem (24) separately for each sample in the dataset and then measure each ESS according to the maximum capacity found. Formally, let represents the sample d = 1, ..., D. Then, its final size Selected as:

[0152]

[0153] In this embodiment, it is assumed that the time range T of a sample is one day. An additional constraint stipulates that the stored energy level at the beginning of the day is equal to the stored energy level at the end of the day, that is:

[0154]

[0155] Added in (24).

[0156] If necessary, the ESS size E s Determining the Ramp Rate Limit R s and To replace equations (7) and (24h):

[0157]

[0158] For a fixed positive constant ρ s and Since (27) is in convex form, this extension does not change the computational complexity of the optimization problem (24).

[0159] Based on the above research, in this embodiment, the objective function in S130 can be flexibly set according to the selected optimization goal. The main goal of the objective function is to determine the optimal location of the new energy storage by minimizing different function goals. Exemplarily, the optimization goal may include: reducing the cost of grid operation, reducing grid loss (also known as network loss) costs, reducing grid load electricity costs, reducing grid carbon penalty costs, reducing grid frequency deviation costs, etc. One or more.

[0160] For example, the objective function can be defined as

[0161] minF=f1+f2+f3+f4+f5 (28)

[0162]

[0163] In the formula, f1 is the grid operation cost; f2 is the grid loss cost; f3 is the grid load cost; f4 is the grid carbon penalty cost; f5 is the cost of grid frequency deviation and voltage deviation; ΔP is the unit capacity of energy storage; ΔU is the voltage deviation of energy storage; K is the frequency regulation effect coefficient of the power system; c1 is the cost required to adjust the frequency by configuring 1MW of energy storage; c2 is the loss of voltage deviation after configuring energy storage; in f5, the power system frequency regulation effect coefficient K=100.

[0164] The genetic algorithm (GA) in S130 imitates the genetic evolution principle of organisms, and continuously improves the fitness of individuals in the population through operation mechanisms such as selection, crossover, and mutation. Its core idea is: survival of the fittest (“natural selection” refers to the fitness function). Please refer to Figure 3, which is an example diagram of obtaining an optimal solution based on a genetic algorithm provided in this embodiment.

[0165] Among them, the elements of the individual space are called individuals, which are entities with chromosome characteristics.

[0166] Population: A subset of N individuals in the individual space S (individuals are allowed to be repeated) is called a population, denoted as: Among them A j (j=1,2,···,N)∈S, where N is called the population size.

[0167] Fitness: When studying the genetics and evolution of organisms in nature, biologists use the term fitness to measure the degree of adaptation of a species to its living environment. Species with a higher degree of adaptation to the living environment will have more opportunities to reproduce, while species with a lower degree of adaptation to the living environment will have relatively fewer opportunities to reproduce, or even gradually become extinct. In genetic algorithms, the fitness function is generally used to measure the fitness of an individual.

[0168] Encoding: The process of converting the actual feasible solution of a problem to be solved from its solution space to the search space (i.e., individual space) that the genetic algorithm can handle is called encoding. Decoding: The process of converting the chromosome of the optimal individual searched by the genetic algorithm into the actual optimal solution to the problem to be solved, i.e., the inverse process of encoding.

[0169] Selection operation: According to the fitness of each individual and certain rules, some excellent individuals are selected from the t-th generation population P(t) and inherited to the next generation population P(t+1). Generally, the selection operation is performed through the selection operator.

[0170] Crossover operation: Randomly pair the individuals in the population P(t), and for each pair of individuals, exchange some of their chromosomes with a certain probability (called crossover rate) following a certain rule.

[0171] Mutation operation: For each individual in the population P(t), the gene value at one or some loci is changed to other alleles with a certain probability (called mutation probability, MutationRate).

[0172] In S110, the node network corresponding to the power grid established in the MATLAB environment may be an IEEE30 node network. Figure 4 , which is an example diagram of an IEEE 30-node network provided in an embodiment of the present invention.

[0173] The reference voltage, total active load and generator power of the node network can be flexibly selected and configured. For example, they can be consistent with the corresponding data of the power grid. For another example, they can be in a certain proportional relationship with the corresponding data of the power grid. For another example, they can be in a mapping relationship with the corresponding data of the power grid.

[0174] In the case where the node network is established and configured based on S110, in S120, the number of energy storage capacity configuration data determined can be flexibly set, for example, it can be two groups, three groups, four groups, four groups or more. For example, if it is necessary to more comprehensively obtain the impact of different energy storage configurations on the operation of the power grid, the number of energy storage capacity configuration data can be increased; if it is necessary to more quickly obtain a relatively better energy storage configuration for the power grid, the number of energy storage capacity configuration data can be controlled.

[0175] In this embodiment, three groups of energy storage capacity configuration data are taken as an example for illustration. In this case, in S120, the step of determining multiple groups of energy storage capacity configuration data based on the total active load and the set power factor may include: multiplying the total active load of the power grid by a first ratio less than 1, and dividing it by a power factor less than 1 to obtain a first group of energy storage capacity configuration data. Multiplying the total active load of the power grid by a second ratio less than 1, and dividing it by a power factor less than 1 to obtain a second group of energy storage capacity configuration data. Multiplying the total active load of the power grid by a third ratio less than 1, and dividing it by a power factor less than 1 to obtain a third group of energy storage capacity configuration data.

[0176] It is understandable that the first ratio, the second ratio and the third ratio have different values, and the power factor can be flexibly set. For example, the first ratio can be smaller than the second ratio, and the second ratio can be smaller than the third ratio. As a result, there are differences in the three sets of energy storage capacity configuration data. In this embodiment, the energy storage capacity configuration data is used to characterize the energy storage capacity demand of the regional power grid.

[0177] In order to improve the efficiency of obtaining a better energy storage configuration, it has been verified that the first ratio, the second ratio and the third ratio can range from 5% to 45%; the power factor can be from 0.85 to 0.95; the range of each group of energy storage capacity configuration data can be greater than 0 and less than 95MW / 95MWh.

[0178] In this embodiment, the optimization target can be flexibly selected, for example, it can be one or more of reducing voltage-frequency deviation, reducing network losses, reducing grid operation costs, grid voltage stability, voltage sensitivity, etc.

[0179] When the node network is established and configured based on S110 and the energy storage capacity configuration data is determined based on S120, the genetic algorithm is used to solve the optimal configuration of the energy storage location and energy storage access capacity based on the optimal conditions of the objective function based on S130. The access location and capacity of the energy storage will affect the voltage difference and power flow distribution of each node in the power grid system, and the network loss of the system will also change accordingly. The optimal value of the objective function composed of multiple variables such as power grid operation cost, frequency deviation, and network loss is affected by changes in access location and capacity.

[0180] Optionally, in the case where the above three groups of energy storage capacity configuration data are obtained with the reduction of voltage-frequency deviation, network loss and grid operation cost as the goals, S130 may include: for the first group of energy storage capacity configuration data, based on a genetic algorithm, according to a multi-objective optimization method, with the reduction of voltage-frequency deviation, network loss and grid operation cost as the goals, analyzing and obtaining the first position and capacity of the energy storage configured in the grid. For the second group of energy storage capacity configuration data, based on a genetic algorithm, according to a multi-objective optimization method, with the reduction of voltage-frequency deviation, network loss and grid operation cost as the goals, analyzing and obtaining the second position and capacity of the energy storage configured in the grid. For the third group of energy storage capacity configuration data, based on a genetic algorithm, according to a multi-objective optimization method, with the reduction of voltage-frequency deviation, network loss and grid operation cost as the goals, analyzing and obtaining the third position and capacity of the energy storage configured in the grid. For the first group of energy storage capacity configuration data, based on a genetic algorithm, according to a multi-objective optimization method, with the grid voltage stability, voltage sensitivity and network loss reduction as the goals, analyzing and obtaining the fourth position and capacity of the energy storage configured in the grid.

[0181] In order to achieve reliable analysis of energy storage configuration, in this embodiment, the node network can be simulated and analyzed to obtain the initial line loss, voltage deviation, frequency change and grid operation cost in the grid without additional energy storage configuration. The corresponding data in the grid after different energy storage configurations are compared with the initial line loss, voltage deviation, frequency change and grid operation cost in the grid to understand the impact of energy storage configuration on the grid.

[0182] In order to further improve the rationality of energy storage configuration, in this embodiment, the total active load of the node network can be increased to determine the energy storage demand of the power grid after the total active load is increased, as well as the line loss, voltage deviation, frequency change and power grid operation cost in the power grid after the total active load is increased, so as to further lay the foundation for energy storage configuration analysis.

[0183] Exemplarily, when the position and capacity are respectively analyzed according to each energy storage capacity configuration data, various data of the power grid under the corresponding energy storage configuration can be calculated, and the final position and capacity of the energy storage configured in the power grid can be comprehensively determined based on the changes between the various data of the power grid calculated based on the various energy storage capacity configuration data, between the various data of the initial power grid, and between the various data of the power grid after the total active load is increased.

[0184] For example, when energy storage is added to the power grid at the second position and capacity, the line loss, voltage deviation, frequency change, and power grid operation cost in the power grid can be calculated compared to the first change in the line loss, voltage deviation, frequency change, and power grid operation cost in the power grid after the total active load is increased. When energy storage is added to the power grid at the third position and capacity, the line loss, frequency deviation, and power grid operation cost in the power grid can be calculated compared to the second change in the case where energy storage is added to the power grid at the first position and capacity. When energy storage is added to the power grid at the fourth position and capacity, the voltage stability, voltage sensitivity, network loss, and power grid operation cost in the power grid can be calculated compared to the third change in the case where energy storage is added to the power grid at the first position and capacity.

[0185] Accordingly, the step of determining the final position and capacity of the energy storage configured in the power grid based on the position and capacity of the energy storage configured in the power grid obtained by analyzing each group of the energy storage capacity configuration data includes: determining the final position and capacity of the energy storage configured in the power grid based on initial line losses, voltage deviations, frequency changes and power grid operating costs, as well as the first change situation, the second change situation and the third change situation.

[0186] Among them, the selection of energy storage configuration nodes (energy storage locations) is one of the important research links when conducting site selection and capacity determination research on energy storage configuration on the grid side. This embodiment takes the optimization target including frequency deviation as an example. When selecting configuration nodes, nodes with obvious frequency changes after energy storage configuration are considered. In order to describe the different adjustment effects of different nodes on frequency deviation after energy storage configuration, the frequency sensitivity index is introduced here to describe the sensitivity of different nodes to frequency adjustment after energy storage configuration.

[0187] Accordingly, for each group of energy storage capacity configuration data, based on a genetic algorithm, according to the optimal condition of a set objective function, with at least one of voltage frequency deviation reduction, network loss reduction, grid operation cost reduction, grid voltage stability, and voltage sensitivity as an optimization target, the step of obtaining the location of the energy storage configured in the grid based on the node network analysis includes:

[0188] According to the following formula, the sensitivity of each node in the node network to frequency adjustment after energy storage is configured is calculated:

[0189]

[0190] in The frequency deviation change rate of the energy storage configuration unit increment at node j relative to node i, the frequency sensitivity FS of node i i for The sum of the individual nodes, n is the total number of grid nodes.

[0191] According to the sensitivity of each node to frequency adjustment after energy storage is configured, at least one candidate node whose sensitivity meets the set conditions is selected.

[0192] The setting condition can be flexibly selected. For example, nodes with a sensitivity greater than a set threshold can be selected as candidate nodes. For another example, several nodes with the highest sensitivity can be selected as candidate nodes.

[0193] For each group of energy storage capacity configuration data, based on a genetic algorithm, according to the optimal conditions of the set objective function, with at least one of the reduction of voltage-frequency deviation, reduction of network loss, reduction of grid operation cost, grid voltage stability, and voltage sensitivity as the optimization goal, the target node for adding energy storage is obtained from all the candidate nodes.

[0194] The position corresponding to the target node in the power grid is used as the position of the energy storage configured in the power grid.

[0195] By introducing the sensitivity index, the effect of frequency adjustment after energy storage is configured at each node in the power grid can be effectively measured. By selecting nodes with high frequency sensitivity, the frequency regulation capability of the power grid can be improved while the cost of configuring energy storage is effectively reduced, thereby improving the economic benefits of the power grid.

[0196] In order to more clearly illustrate the implementation process of this embodiment, an IEEE 30-node network is established in a MATLAB environment, the reference voltage at the head end of the node network is 110kV, the total active load is connected to a total of 200MW, the connected generator set is a thermal power unit, and the power of the thermal power unit is 400MW. As an example, the energy storage configuration analysis scheme is illustrated.

[0197] Genetic algorithm is used to solve the optimal configuration of energy storage location and energy storage access capacity according to the optimal conditions of the objective function. The access location and capacity of energy storage affect the voltage difference and power flow distribution of each node, and the network loss of the system will also change accordingly. The optimal value of the objective function composed of multiple variables such as grid operation cost, frequency deviation, and network loss is affected by the change of access location and capacity. Please continue to refer to the IEEE 30-node network diagram Figure 4 .

[0198] The example settings in the study of energy storage power station configuration under the regional power grid frequency regulation requirements are as follows:

[0199] Example 1: The IEEE 30-node standard power grid is used for simulation analysis. This example does not configure additional energy storage. The line loss and voltage deviation are observed, the frequency changes are monitored, and the overall economic benefits of the power grid are recorded.

[0200] Example 2: An IEEE 30-node network will be established in the MATLAB environment, with a reference voltage of 110kV at the head end of the network and a 400MW thermal power unit connected. At this time, the active load of the given power system is 300MW. In this case, the regional power grid energy storage demand analysis is carried out to lay the foundation for the subsequent energy storage capacity configuration analysis.

[0201] Example 3: The energy storage capacity of the power grid in this region is configured as 22MW / 22MWh (the energy storage capacity is 10% of the total active load of the power grid, and the power factor is 0.9). Through the multi-objective optimization method, the energy storage is optimized in terms of site selection and capacity determination with the goal of reducing voltage and frequency deviations, network losses, and power grid operation costs to improve the economic benefits of the power grid.

[0202] Example 4: The energy storage capacity of the power grid in this region is configured as 67MW / 67MWh (the energy storage capacity is 30% of the total active load of the power grid, and the power factor is 0.9). The multi-objective optimization method is used to optimize the location and capacity of the energy storage. This example is compared with Example 2 to study whether the increase in energy storage capacity will change the grid loss, grid frequency, and grid cost.

[0203] Example 5: The energy storage capacity of the power grid in this region is configured to be 89MW / 89MWh (the energy storage capacity is 40% of the total active load of the power grid, and the power factor is 0.9). The energy storage is optimized for site selection and capacity determination through multi-objective optimization method. A comparative experiment is conducted with Example 3 to study whether the increase in energy storage capacity will change the power grid loss, power grid frequency change, and power grid cost.

[0204] Example 6: At present, most of the energy storage site selection and capacity determination adopts the optimization solution of Example 3 with the grid voltage stability and grid loss as the target. In order to compare the effectiveness and economy of the multi-objective comprehensive optimization method, Example 6 is set up as a comparative experiment. In Example 6, the optimization method is also used to select the site and capacity of the IEEE30-node network for energy storage, and the optimization targets are voltage sensitivity and grid loss.

[0205] At present, the scale of frequency regulation energy storage power stations is usually 100MW / 200MWh. The example is set from no energy storage capacity to 89MW / 89MWh. The optimal capacity configuration and site selection of energy storage under the optimal objective function can be effectively verified. Examples 3 to 5 can complete the optimal site selection and capacity determination for the given energy storage capacity of the regional power grid. If the regional power grid configuration capacity is not given, the capacity configuration plan of the regional power grid and the optimal site selection of energy storage can be completed by Example 2. Example 6 is used as a comparative example to compare other methods with the optimization plan to verify the superiority and economy of the corresponding method.

[0206] In order to verify the application effect of the energy storage configuration analysis solution in this embodiment, the following analysis is performed.

[0207] Example 1 is the basic operation of the power grid without energy storage, and considers monitoring the frequency change of the power grid under continuous load disturbance. The simulation results are as follows Figure 5 shown.

[0208] When no energy storage is configured, the system frequency changes greatly under continuous load disturbance. Figure 5 (a) shows that the maximum frequency deviation reaches 0.44Hz. At the same time, the frequency changes violently, with the frequency deviation fluctuating greatly around 0.3Hz. In summary, the frequency deviation of the entire power grid far exceeds the safety requirement of ±0.2Hz, and energy storage is needed to assist the power grid in frequency regulation.

[0209] When no energy storage is configured, basically Figure 5 All nodes in (b) will experience voltage deviation, and the trend is that the actual voltage is less than the rated voltage. It can be seen that the voltage from node 1 to node 18 gradually decreases, and after the voltage of node 19 returns to normal, the voltage change range from node 19 to node 25 is small and basically remains stable, while the voltage of node 26 suddenly decreases, and the voltage from node 26 to node 30 gradually decreases, but the degree of change is less than that from node 1 to node 18. In summary, the voltage change of node 18 is the largest, and configuring energy storage at node 18 can better support the reduction of voltage deviation.

[0210] When no energy storage is configured, the branch losses are mainly concentrated in Figure 5 In (c), the losses of other branches are relatively low. Meanwhile, the line losses of branches 3 to 7 are relatively large. Improving the loss problems of these branches can effectively reduce the network losses. In addition, the loss of branch 19 is relatively high. In summary, configuring energy storage at node 5 can effectively reduce the losses of the power grid.

[0211] Example 2 changes the active load of the power system in the original example and increases the active load to 300MW. At this time, the required energy storage capacity of the regional power grid is analyzed. In order to distinguish it from the subsequent examples 3 to 5, different load capacities are used. Without a given configuration of energy storage capacity, find the optimal location and capacity solution for the regional power grid. The obtained solution is shown in Table 4-2 below, and the configuration energy storage location diagram is shown in Figure 6 shown.

[0212] Table 4-2 Energy storage input table

[0213] Energy storage access node Energy storage capacity / MW / MWh 8 40 12 30 16 28

[0214] Through simulation analysis, it is found that the objective function reaches the optimal value when 8 nodes are configured with 40MW / 40MWh energy storage capacity, 12 nodes are configured with 30MW / 30MWh energy storage capacity, and 16 nodes are configured with 28MW / MWh energy storage capacity. The total configured energy storage capacity is 98MW / 98MWh.

[0215] When configuring different capacity energy storage, the voltage deviation of each node is as follows: Figure 7 As shown. The configuration capacities selected in the figure are all 10%, 15%, 20%, 25%, 30%, and 35% of the active load and then divided by the power factor of 0.9. From the image analysis, it can be seen that when the energy storage capacity is configured to 98MW / 98MWh, the voltage of each node in the power system is basically near the rated voltage, and the power system is the most stable. After configuring the remaining energy storage capacity, the maximum voltage difference of each node in the power system exceeds the rated voltage by 2%. In summary, when the energy storage configuration capacity is 98MW / 98MWh, it has the best support effect on the grid voltage.

[0216] When configuring different capacity energy storage, the branch loss is as follows: Figure 8 As shown. The configuration capacities selected in the figure are all 10%, 15%, 20%, 25%, 30%, and 35% of the active load and then divided by the power factor of 0.9. From the image analysis, it can be seen that when the energy storage capacity is configured to 98MW / 98MWh, the branch losses of each branch of the power system are the smallest, and the network loss of the power system is the smallest. After configuring the remaining energy storage capacity, the network loss in the power system is greater than the branch loss when the energy storage capacity is configured to 98MW / 98MWh. In summary, when the energy storage configuration capacity is 98MW / 98MWh, the power grid loss is the smallest and the economic benefit of the power grid is the highest.

[0217] as follows Fig. 9As shown in the figure, when different energy storage capacities are configured, the maximum frequency deviation of the power system is different. As the configured energy storage capacity increases, the maximum frequency deviation of the system gradually decreases, and all schemes for configuring energy storage capacity can make the grid frequency meet the safe operation requirements of the grid. When the energy storage capacity is configured to be 98MW / 98MWh and 117MW / 117MWh, the maximum frequency deviation is not much different, far less than 0.2Hz. In summary, choosing to configure 98MW / 98MWh energy storage capacity can meet the grid frequency regulation needs and achieve better economic benefits.

[0218] Example 3 is a 22MW / 22MWh energy storage capacity configuration for the power grid in the region (the energy storage capacity is 10% of the total active load of the power grid, and the power factor is 0.9). Through the multi-objective optimization method, the energy storage is optimized to reduce voltage deviation, network loss, and power grid operation costs to improve the economic benefits of the power grid. The simulation results of Example 2 are compared with those of Example 1 to analyze the improvement effect of adding energy storage on the power grid. The energy storage location is shown in Table 4-3, and the energy storage location is shown in Figure 4-3. Fig.10 shown.

[0219] Table 4-3 Energy storage input table

[0220] Energy storage access node Energy storage capacity / 22MW / MWh 11 22

[0221] The multi-objective optimization function is used to realize the research on energy storage capacity configuration under the demand of power grid frequency regulation: taking the minimum power grid loss, minimum frequency deviation and minimum power grid cost as the comprehensive goals, the genetic algorithm is used for optimization, and verified by specific examples. At the same time, the frequency change of energy storage participating in power grid frequency regulation during load disturbance is simulated and analyzed. The energy storage capacity configuration of the regional power grid is analyzed to determine the optimal energy storage configuration capacity and to select the site and capacity to obtain the optimal solution. Then, the site selection and capacity planning of the regional power grid is carried out under the given configuration capacity. The conclusions drawn in the above two cases can verify each other. At the same time, the economic analysis of all schemes is carried out, and the example verifies that the adoption of this scheme can improve the economic benefits of the power grid. Finally, a comparative scheme is set to demonstrate the advantages of the scheme. The results show that the energy storage site selection and capacity scheme implemented by this method can meet the demand of power grid frequency regulation, effectively reduce network losses, and improve the economic benefits of the power grid.

[0222] A multi-objective optimization method with grid loss, grid frequency deviation and grid cost as the optimal targets is proposed, and the capacity allocation problem is solved by an intelligent algorithm. At the same time, considering the voltage deviation during grid operation, after determining the capacity, the voltage deviation of the grid can be effectively improved to ensure the stable operation of the grid. In the loss calculation of the power system, the power point method is used to divide the ring network into two closed power supply networks at both ends, and the calculation is performed. By optimizing the fixed capacity of the grid-side energy storage system, the system is ensured to respond quickly to the primary frequency regulation, and its operation safety and economy are ensured.

[0223] As can be seen from the table, the best energy storage location is 11 nodes with a storage capacity of 22MW / 22MWh, which is the best choice to meet the target. Since the energy storage capacity is small, it can meet the target by investing in a single location. When the energy storage capacity is further increased, energy storage can be invested in multiple nodes. The simulation results are as follows Fig.11 shown.

[0224] When energy storage is configured to connect to the grid, the frequency variation of the system is greatly improved after the energy storage is put into use, and the maximum frequency deviation is only 0.2Hz, which meets the safety requirements of the grid. At the same time, the frequency variation range is reduced and the grid stability is improved. In summary, configuring energy storage to assist grid frequency regulation can reduce the frequency variation range of the grid and quickly stabilize the frequency, which is of great significance for grid frequency regulation.

[0225] When the energy storage capacity is configured to be 22MW / 22MWh and connected to the grid, Fig.11 (b) shows that the voltage change of all nodes is reduced, and the voltage deviation is improved to a certain extent. Among them, the voltage change amplitude of nodes 10, 11, 12, 17, and 18 is the largest. Due to the configuration of energy storage at node 11, the voltage change amplitude of node 11 and its nearby nodes is large. The voltage of nodes 25 to 30 also rebounds to a certain extent, and the voltage drop is improved. The nodes with large voltage drops in the figure have some improvement after configuring energy storage. In summary, the voltage deviation of each node in the power grid is improved after configuring energy storage.

[0226] When the energy storage capacity is configured to be 22MW / 22MWh and connected to the grid, Fig.11 It can be seen from (c) that the branch losses of branches 1 to 10 are reduced, while the losses from branches 11 to 29 are unchanged. Among them, the branch loss of branch 5 is reduced the most, while the branch loss of branch 2 is reduced less. In summary, when energy storage is configured in the power grid, it can significantly reduce the branch loss of the power grid and effectively improve the economic benefits of the power grid.

[0227] Example 4 configures the energy storage capacity of the local power grid to 67MW / 67MWh. Through the multi-objective optimization method, the energy storage is optimized to reduce voltage deviation, network loss, and grid operation costs to improve the economic benefits of the grid. The simulation results of Example 4 are compared with those of Example 1 to analyze the improvement effect of adding energy storage on grid frequency deviation and network loss. The energy storage locations are shown in Table 4-4, and the energy storage locations are shown in Figure 4-4. Fig.12 shown.

[0228] Table 4-4 Energy storage input table

[0229] Energy storage access node Energy storage capacity / MW / MWh 13 17 29 50

[0230] From the table analysis, we can see that when the energy storage capacity is 67MW / 67MWh, the optimal site sizing scheme is to configure 17MW / 17MWh energy storage capacity for 13 nodes and 50MW / 50MWh energy storage capacity for 29 nodes. The simulation results are as follows: Fig.13 shown.

[0231] When the energy storage capacity is configured to be 67MW / 67MWh in the power grid, the frequency variation is further reduced, and the effect is better than the frequency regulation result when the energy storage capacity is configured to be 22MW / 22MWh. The frequency fluctuation range is further reduced, and the power grid can enter a stable state faster. Energy storage-assisted frequency regulation can optimize the frequency regulation effect. In summary, under certain load disturbance conditions, the energy storage capacity increases, the energy storage participates in the frequency regulation result more obviously, and the frequency regulation effect is more significant.

[0232] When the energy storage capacity is 67MW / 67MWh, the voltage change diagram is as follows: Fig.13 As shown in (b), the voltage variation amplitude decreases, and the reduction amplitude is greater than when the energy storage capacity is configured to be 67MW / 67MWh. After energy storage is configured at nodes 13 and 29, it can be clearly found that the voltage rises from nodes 9 to 18 to a per-unit value of 0.002, and the voltage deviation is significantly reduced. Due to the investment in energy storage at node 29, the voltage deviation from nodes 26 to 30 is greatly reduced, approaching 0.001.

[0233] When the energy storage capacity is configured to be 67MW / 67MWh and connected to the grid, Fig.13 The losses of each branch in (c) are significantly smaller than those when the energy storage capacity is 22MW / 22MWh. The loss of branch 5 has decreased the most, and the losses of the remaining branches have also decreased to varying degrees. The losses of branches 27 and 28 have increased slightly because the current of nearby branches increased after the energy storage was put into use at node 29, which increased the losses. In summary, when the energy storage capacity is 67MW / 67MWh in the power grid, the branch losses of the power grid are reduced, and the configuration of energy storage in the power grid can effectively reduce network losses.

[0234] Example 5 configures the energy storage capacity of the local power grid to 89MW / 89MWh. Through the multi-objective optimization method, the energy storage is optimized to reduce voltage deviation, network loss, and grid operation costs to improve the economic benefits of the grid. The simulation results are compared and analyzed with Example 3 and Example 4 to analyze the relationship between the investment in energy storage capacity and the improvement of grid voltage deviation, network loss, and frequency deviation. The energy storage investment location is shown in Table 4-5, and the energy storage configuration location is shown in Figure 4-5. Fig.14 shown.

[0235] Table 4-5 Energy storage input table

[0236] Energy storage access node Energy storage capacity / MW / MWh 12 49 18 30 19 10

[0237] It is easy to see from the results that the best optimization results are obtained when 49MW / 49MWh energy storage capacity is configured at 12 nodes, 30MW / 30MWh energy storage capacity is configured at 18 nodes, and 10MW / 10MWh energy storage capacity is configured at 19 nodes. From the above example analysis, it can be concluded that when the energy storage capacity increases, configuring energy storage at multiple nodes in the power grid can effectively improve the operation of the power grid. Configuring energy storage at nodes with large voltage drops can effectively improve the voltage imbalance of the power grid and reduce the network loss of the power grid. The simulation results are as follows Fig.15 shown.

[0238] When the grid is equipped with 89MW / 89MWh of energy storage capacity, Fig.15 In (a), it can be concluded that the auxiliary frequency regulation effects of configuring energy storage capacity of 67MW / 67MWh and configuring energy storage capacity of 89MW / 89MWh are not much different, and both can obtain good frequency regulation results. This situation occurs because the load disturbance level is less than the energy storage frequency regulation margin. Within the energy storage frequency regulation range, whether the energy storage capacity is configured with 67MW / 67MWh or 89MW / 89MWh, a good frequency regulation effect can be obtained. If the load disturbance increases further, a larger energy storage can be used to assist in frequency regulation. In summary, the frequency regulation effects of configuring energy storage capacity of 89MW / 89MWh and configuring energy storage capacity of 67MW / 67MWh are not much different.

[0239] When 89MW / 89MWh of energy storage capacity is configured in the grid, Fig.15In (b), it can be concluded that the grid voltage is basically in a stable state, with the maximum change amplitude not exceeding 0.1%. Each node can maintain voltage stability, and the grid operation is safer and more reliable. The voltage deviation improvement effect is significantly better than when the energy storage capacity is configured to be 22MW / 22MWh and when the energy storage capacity is configured to be 67MW / 67MWh. All nodes with large voltage amplitude changes can be in a normal state. Energy storage has a great effect on improving voltage deviation. In summary, when the energy storage capacity is configured to be 89MW / 89MWh, the grid voltage is in a stable state.

[0240] When the grid is equipped with an energy storage capacity of 89MW / 89MWh, the branch losses are much smaller than when the energy storage capacity is 22MW / 22MWh. The losses of branches 1 to 12, which are branches with large losses, have all dropped significantly, while the losses of other branches are extremely small. In summary, after the energy storage capacity of 89MW / 89MWh is configured, the branch losses of the grid are greatly reduced, and the effect is significant.

[0241] Through the above simulation analysis, it can be concluded that when the power grid is put into energy storage, the network loss of the power grid gradually decreases with the increase of the configured energy storage capacity, and the degree of improvement of voltage deviation increases with the increase of energy storage capacity, and the frequency regulation effect becomes more significant with the increase of energy storage capacity. The frequency regulation effect of the energy storage capacity of 67MW / 67MWh and the energy storage capacity of 89MW / 89MWh is not much different. This is because the energy storage capacity of 67MW / 67MWh is sufficient to complete the frequency regulation for the artificially increased load disturbance. When a greater degree of load disturbance occurs, the frequency regulation requirements can be met by investing in a larger capacity of energy storage.

[0242] In summary, the following conclusions can be drawn through the above simulation analysis: Energy storage-assisted grid-side frequency regulation has a good effect. Energy storage participating in frequency regulation can make the grid frequency deviation meet the requirements of safe grid operation, and can quickly reach a stable state. The more energy storage capacity the grid is equipped with, the more effectively the grid voltage deviation can be improved and the grid branch losses can be reduced. The application of energy storage site selection and capacity determination in actual grid construction can effectively reduce grid losses and maintain safe and stable operation of the grid. The grid-side energy storage site selection strategy can effectively allocate energy storage capacity and save costs as much as possible. Installing energy storage in different locations will have different effects. The method proposed in this embodiment can efficiently configure energy storage capacity and improve the economic benefits of the grid.

[0243] This example uses the grid active load of 300MW as an example to conduct economic analysis. The costs required for different energy storage capacity configuration schemes are as follows: Fig.16As shown, it can be seen that the grid loss cost is the lowest when the energy storage capacity is configured to be 98MW / 98MWh, and the operating cost continues to increase with the increase of the configured energy storage capacity. The load cost required for grid operation continues to decrease with the increase of the configured energy storage capacity. Due to the high cost required for configuring the 117MW / 117MWh energy storage capacity, the load electricity fee has increased. In summary, the comprehensive cost required for configuring the 98MW / 98MWh energy storage capacity is the lowest, and the economic benefits of the grid using this solution are the highest.

[0244] When the energy storage capacity of the power grid in this region is configured to be 22MW / 22MWh, the multi-objective optimization method is used to optimize the location and capacity of energy storage with the goal of reducing voltage deviation, network loss, and power grid operation costs to improve the economic benefits of the power grid. The required costs are shown in Table 4-7 below.

[0245] Table 4-7 Cost table for 22MW / 22MWh

[0246]

[0247] From Table 4-7, we can see that configuring energy storage will increase the grid operation cost, reduce grid loss costs, and reduce load electricity costs. In summary, configuring energy storage can reduce the comprehensive cost of the grid. Configuring energy storage can effectively reduce load electricity costs, and the money saved is greater than the operating cost required to install energy storage, so it can effectively reduce the comprehensive cost of grid operation.

[0248] The energy storage capacity of the local power grid is configured to be 67MW / 67MWh. Through the multi-objective optimization method, the energy storage is optimized to select the site and determine the capacity with the goal of reducing voltage deviation, network loss, and power grid operation costs to improve the economic benefits of the power grid. The required costs are shown in Table 4-8 below.

[0249] Table 4-8 Cost table for 67MW / 67MWh

[0250]

[0251] It can be seen from Table 4-8 that configuring a storage capacity of 67MW / 67MWh can reduce grid losses more effectively than configuring a storage capacity of 22MW / 22MWh. The operating cost required for installing energy storage increases linearly. Configuring energy storage can not only effectively reduce grid losses, but also effectively save load electricity charges. In summary, configuring a storage capacity of 67MW / 67MWh has higher economic benefits than configuring a storage capacity of 22MW / 22MWh.

[0252] The energy storage capacity of the local power grid is configured to be 89MW / 89MWh. Through the multi-objective optimization method, the energy storage is optimized to select the site and determine the capacity with the goal of reducing voltage deviation, network loss, and power grid operation costs to improve the economic benefits of the power grid. The required costs are shown in Table 4-9 below.

[0253] Table 4-9 Cost table for 89MW / 89MWh

[0254]

[0255] It can be seen from Table 4-8 that configuring a storage capacity of 89MW / 89MWh can effectively reduce grid losses and grid loss costs. It has little impact on the increase in grid operating costs, can more effectively save load electricity charges, and has a good regulating effect on grid voltage stability, which is beneficial to grid stability and has a good effect on grid auxiliary frequency regulation.

[0256] Depend on Fig.17 It can be seen that when the energy storage capacity increases, its operating costs will gradually decrease. When the energy storage capacity installed in the power grid is appropriate, the economic benefits of the power grid can be improved. However, as can be seen from the figure, the comprehensive cost savings of configuring a storage capacity of 67MW / 67MWh is not much different from configuring a storage capacity of 89MW / 89MWh. However, in the face of frequency regulation requirements, a storage capacity of 67MW / 67MWh is sufficient to meet the needs of power grid operation. Therefore, the construction of energy storage power stations still needs to be combined with actual conditions and the appropriate capacity should be selected to ensure that the energy storage power stations play their maximum role. Fig.17 The data shows that when other solutions are used to configure 67MW / 67MWh energy storage capacity, the comprehensive cost generated is still higher than the energy storage optimization site selection and sizing solution mentioned in this embodiment. Therefore, the solution used in this embodiment is better than the energy storage optimization site selection and sizing solution used in Example 5. In terms of economy, the optimization solution proposed in this embodiment has certain advantages.

[0257] From the calculation and analysis of the investment income of grid-side energy storage power stations, it can be seen that large-scale energy storage power stations will become an important means of peak load regulation and frequency regulation in the future, and have broad application prospects. The construction of energy storage power stations is convenient for operation and maintenance, and is easy to achieve peak load centralized dispatching and optimize frequency regulation. The construction of energy storage power stations will become one of the important directions of grid construction.

[0258] In summary, the following conclusions can be drawn from the above analysis: The configuration of energy storage capacity is constrained by economic benefits. The larger the capacity, the better. As long as it meets the needs of the regional power grid, it is sufficient. The energy storage site selection and capacity determination plan takes into account the economic benefits of the power grid and can reduce the operating costs of the power grid, thereby improving the economic benefits of the power grid. When the regional power grid is configured with energy storage capacity of 30% of the total active load, the operating cost of the power grid is reduced and the economic benefits of the power grid are improved.

[0259] This embodiment studies the frequency regulation mechanism of the power grid and the optimal site selection and capacity determination of energy storage participating in the frequency regulation of the power grid. The principle of energy storage participating in the frequency regulation of the power grid is analyzed, and then the objective function of site selection and capacity determination of energy storage participating in the frequency regulation of the power grid is established. The voltage-frequency deviation, power grid loss and power grid cost are determined to be comprehensively optimized, and a specific example is used to perform simulation analysis to verify its effectiveness. The following conclusions can be drawn from the analysis:

[0260] By comparing the traditional frequency regulation method, the participation of thermal power units and hydropower units in frequency regulation, and the participation of energy storage in frequency regulation, it can be concluded that the participation of energy storage in grid frequency regulation has a timely response and low construction requirements. It can be configured according to the specific conditions of the grid in both the south and the north. At the same time, the participation of energy storage in grid frequency regulation can also extend the life of the unit and improve the economic benefits of the grid. The construction of energy storage power stations can also reduce grid losses, effectively improve the voltage quality of the grid, and maintain the stable operation of the grid. Combined with the above examples, it can be seen that the effect of energy storage participating in grid frequency regulation is far better than that of conventional unit frequency regulation. The construction of energy storage power stations can effectively maintain the safe operation of the grid.

[0261] A multi-objective function based on minimizing grid frequency deviation, grid loss and grid cost is established to achieve optimal site selection and capacity determination for energy storage participating in grid frequency regulation. Regional grid energy storage capacity configuration analysis is performed. By building a model and algorithm, the optimal configuration capacity of the regional grid and the specific plan for energy storage site selection and capacity determination can be obtained, and the superiority of the plan can be verified by using comparative examples of other energy storage capacity configurations. Through comparative analysis, it can be seen that the optimal configuration capacity obtained by the method in this embodiment reduces the grid loss the most and greatly improves the economic benefits of the grid.

[0262] Based on the analysis of regional power grid energy storage capacity configuration, the optimal location and capacity planning of regional power grid energy storage under given energy storage capacity is continued. By analyzing the frequency regulation and network loss of the power grid under different energy storage capacity configurations, the optimal location and capacity planning of the power grid under given energy storage capacity is obtained. Through case analysis, it can be seen that when the power grid is configured with different energy storage capacities, the operation of the power grid is slightly different. When the regional power grid is configured with energy storage capacity of 30% of the total shared load, the network loss of the power grid is the smallest and the economic benefits are the best.

[0263] By comparing and analyzing the method mentioned in this embodiment with other methods through Example 6, it can be obtained that the method proposed in this embodiment is better than the optimization method with grid voltage deviation and network loss as the target, and the site selection and capacity determination scheme proposed in this embodiment is better than the scheme used in Example 6, which can obtain higher economic benefits and make the grid operation more stable.

[0264] In order to execute the corresponding steps in the above embodiments and various possible methods, a method for implementing an energy storage configuration analysis device is provided below. Fig.18 , Fig.18A functional module diagram of an energy storage configuration analysis device 140 provided in an embodiment of the present invention. The energy storage configuration analysis device 140 can be applied to Figure 1 The electronic device 100 is shown. It should be noted that the basic principle and technical effect of the energy storage configuration analysis device 140 provided in this embodiment are the same as those of the above embodiments. For the sake of brief description, for the parts not mentioned in this embodiment, reference can be made to the corresponding contents in the above embodiments. The energy storage configuration analysis device 140 includes a configuration module 141, an analysis module 142 and a determination module 143.

[0265] The configuration module 141 is used to establish a node network corresponding to the power grid in the MATLAB environment, and to set the reference voltage, total active load and generator set power of the node network.

[0266] The analysis module 142 is used to determine multiple groups of energy storage capacity configuration data based on the total active load and the set power factor; for each group of the energy storage capacity configuration data, based on a genetic algorithm, according to the optimal conditions of the set objective function, with at least one of reducing voltage-frequency deviation, reducing network losses, reducing grid operation costs, grid voltage stability, and voltage sensitivity as an optimization goal, the location and capacity of the energy storage configured in the grid are obtained based on the node network analysis.

[0267] The determination module 143 is used to determine the final position and capacity of the energy storage configured in the power grid based on the position and capacity of the energy storage configured in the power grid obtained by analyzing each group of the energy storage capacity configuration data.

[0268] With the development of society, new energy technologies have developed rapidly, and wind and solar energy have been integrated into the power grid on a large scale, which has led to a decline in the frequency regulation capability of the power grid, so new frequency regulation methods are needed to be applied to the power grid. In the case that traditional thermal power units cannot increase the installed capacity and the proportion of new energy is increasing, the energy storage technology used in the embodiment of the present invention has the advantages of rapid, convenient and accurate power compensation capabilities. The application of energy storage-assisted frequency regulation can also improve the frequency regulation level of the power grid. Large-scale energy storage systems have fast response speeds, strong short-term power throughput capabilities, and are easy to change the regulation direction. When used in combination with thermal power units, they can enhance the overall frequency regulation capability of the power grid.

[0269] The construction of energy storage power stations can reduce the rotating reserve capacity of the power grid itself. This is because energy storage has a fast power compensation capability and its response speed is faster than other frequency regulation methods. Based on this advantage, part of the reserve capacity replaced by energy storage can be used for power grid peak regulation and accident backup, etc., which can make the power grid operate safely and stably. In addition to the technical advantages brought by the characteristics of energy storage itself, the configuration of energy storage will also improve the economic benefits of the power grid. It can not only reduce the operating costs of the power grid, but its own construction costs are also much lower than the operating costs of the power grid. At the same time, it can also reduce coal consumption and improve static benefits. Because it can quickly respond to changes in the frequency of the power grid and automatically configure, it can meet the frequency regulation needs of the system when load disturbances occur and generate dynamic benefits.

[0270] The construction of energy storage power stations in the power grid can solve the current difficulties of the power system more conveniently and effectively. Energy storage technology can be widely used in all aspects of the power system and play an important role in it. Energy storage power stations play an important role in the generation, transmission, distribution and use of power grids. At the same time, they can help the power grid to complete peak shaving and valley filling, smooth fluctuations, etc. The increasing proportion of renewable energy in the power grid can reduce the resource consumption of traditional power generation energy such as thermal power, and contribute to improving the earth's environment. In the face of increasingly serious environmental problems, increasing the proportion of renewable energy will become a top priority, and the construction of energy storage power stations can effectively ensure the safe and reliable operation of new energy.

[0271] Based on the above, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium includes a computer program, and when the computer program is executed, the electronic device where the computer-readable storage medium is located is controlled to execute the above energy storage configuration analysis method.

[0272] By adopting the above scheme in the embodiment of the present invention, the professional ability of the auditors can be accurately quantified, and different confidence data can be allocated to auditors with different abilities, which greatly improves the efficiency and quality of the audit and reduces the cost of personnel input. Each calculation step in the audit process can be traced back, clear and transparent, and provides a data basis for personnel promotion, elimination or performance formulation. The adoption of this scheme can shorten the time from storage to delivery of the content to be audited while ensuring the quality of the audit, improve user perception, and reduce the impact of the spread of harmful content.

[0273] In several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely 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 the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical functions. 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 with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0274] In addition, the functional modules in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0275] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0276] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for analyzing energy storage configuration for frequency and voltage regulation requirements of regional power grids, characterized in that: include: Establishing a node network corresponding to the power grid in the MATLAB environment, and setting a reference voltage, total active load, and generator set power of the node network; Determining multiple sets of energy storage capacity configuration data based on the total active load and the set power factor; For each group of energy storage capacity configuration data, based on a genetic algorithm, according to the optimal condition of a set objective function, with at least one of voltage frequency deviation reduction, network loss reduction, grid operation cost reduction, grid voltage stability, and voltage sensitivity as an optimization target, the location and capacity of the energy storage configured in the grid are obtained based on the node network analysis; Determining the final position and capacity of the energy storage configured in the power grid based on the position and capacity of the energy storage configured in the power grid obtained by analyzing each set of the energy storage capacity configuration data; The step of obtaining the location of the energy storage configured in the power grid based on the node network analysis for each group of energy storage capacity configuration data, based on a genetic algorithm, according to the optimal condition of a set objective function, taking at least one of voltage frequency deviation reduction, network loss reduction, power grid operation cost reduction, power grid voltage stability, and voltage sensitivity as an optimization target, comprises: According to the following formula, the sensitivity of each node in the node network to frequency adjustment after energy storage is configured is calculated: in, The frequency deviation change rate of the energy storage configuration unit increment at node j relative to node i, the frequency sensitivity FS of node i i for The sum of the nodes at each node, n is the total number of nodes in the node network; According to the sensitivity of each node to frequency adjustment after energy storage is configured, at least one candidate node whose sensitivity meets the set conditions is selected; For each group of energy storage capacity configuration data, based on a genetic algorithm, according to the optimal condition of a set objective function, with at least one of voltage-frequency deviation reduction, network loss reduction, grid operation cost reduction, grid voltage stability, and voltage sensitivity as an optimization target, a target node for adding energy storage is obtained from all the candidate nodes; Using the position corresponding to the target node in the power grid as the position of energy storage configured in the power grid; The objective function is: min F=f1+f2+f3+f4+f5 Among them, f1 is the grid operation cost; f2 is the network loss cost; f3 is the grid load cost; f4 is the grid carbon penalty cost; f5 is the cost of frequency deviation and voltage deviation; ΔP is the unit capacity of energy storage; ΔU is the voltage deviation of energy storage; K is the frequency regulation effect coefficient of the power system; c1 is the cost required to adjust the frequency by configuring 1MW of energy storage; c2 is the loss of voltage deviation after configuring energy storage; the power system frequency regulation effect coefficient K in f5 is 100.

2. The energy storage configuration analysis method for regional power grid frequency and voltage regulation requirements according to claim 1 is characterized in that: The step of determining multiple groups of energy storage capacity configuration data based on the total active load and the set power factor includes: After multiplying the total active load of the power grid by a first ratio less than 1, the result is divided by a power factor less than 1 to obtain a first set of energy storage capacity configuration data; after multiplying the total active load of the power grid by a second ratio less than 1, the result is divided by a power factor less than 1 to obtain a second set of energy storage capacity configuration data; after multiplying the total active load of the power grid by a third ratio less than 1, the result is divided by a power factor less than 1 to obtain a third set of energy storage capacity configuration data; Wherein, the first ratio is smaller than the second ratio, and the second ratio is smaller than the third ratio; The step of obtaining the location and capacity of the energy storage configured in the power grid based on the node network analysis for each group of the energy storage capacity configuration data, based on the genetic algorithm, according to the set optimal condition of the objective function, taking at least one of voltage frequency deviation reduction, network loss reduction, power grid operation cost reduction, power grid voltage stability, and voltage sensitivity as the optimization target, comprises: For the first group of energy storage capacity configuration data, based on a genetic algorithm and according to a multi-objective optimization method, with the reduction of voltage-frequency deviation, the reduction of network loss and the reduction of grid operation cost as the goals, a first position and capacity of the energy storage configured in the grid are analyzed; For the second set of energy storage capacity configuration data, based on a genetic algorithm and according to a multi-objective optimization method, with the reduction of voltage-frequency deviation, the reduction of network loss and the reduction of grid operation cost as the goals, a second position and capacity of the energy storage configured in the grid are analyzed; For the third set of energy storage capacity configuration data, based on a genetic algorithm and according to a multi-objective optimization method, with the reduction of voltage-frequency deviation, network loss and grid operation cost as the goals, a third position and capacity of the energy storage configured in the grid are analyzed; For the first set of energy storage capacity configuration data, based on a genetic algorithm and according to a multi-objective optimization method, with grid voltage stability, voltage sensitivity and network loss reduction as goals, an analysis is performed to obtain a fourth position and capacity of the energy storage configured in the grid.

3. The energy storage configuration analysis method for regional power grid frequency and voltage regulation requirements according to claim 2 is characterized in that: The first ratio, the second ratio and the third ratio have a value range of 5% to 45%; the power factor is 0.85 to 0.95; and the range of each group of energy storage capacity configuration data is greater than 0 and less than 95MW / 95MWh.

4. The energy storage configuration analysis method for regional power grid frequency and voltage regulation requirements according to claim 2 is characterized in that: The method further comprises: Performing simulation analysis on the node network to obtain initial line loss, voltage deviation, frequency change and grid operation cost in the grid without additional energy storage configuration; Increasing the total active load of the node network, determining the energy storage demand of the power grid after the total active load is increased, and the line loss, voltage deviation, frequency change and power grid operation cost in the power grid after the total active load is increased; Calculating line losses, voltage deviations, frequency changes, and grid operation costs in the grid when energy storage is added to the grid at the second position and capacity, compared to a first change in line losses, voltage deviations, frequency changes, and grid operation costs in the grid after increasing the total active load; Calculate a second change in line loss, frequency deviation, and grid operation cost in the grid when energy storage is added to the grid at the third position and capacity compared to when energy storage is added to the grid at the first position and capacity; Calculating a third change in voltage stability, voltage sensitivity, network loss, and grid operation cost in the grid when energy storage is added to the grid at the fourth position and capacity compared to a third change in a case where energy storage is added to the grid at the first position and capacity; The step of determining the final position and capacity of the energy storage configured in the power grid based on the position and capacity of the energy storage configured in the power grid obtained by analyzing each group of the energy storage capacity configuration data comprises: The final location and capacity of the energy storage configured in the power grid are determined based on the initial line loss, voltage deviation, frequency change and power grid operation cost, as well as the first change condition, the second change condition and the third change condition.

5. The energy storage configuration analysis method for regional power grid frequency and voltage regulation requirements according to claim 4 is characterized in that: The step of determining the final position and capacity of the energy storage configured in the power grid according to the initial line loss, voltage deviation, frequency change and power grid operation cost, as well as the first change condition, the second change condition and the third change condition comprises: Performing comparative analysis based on initial line loss, voltage deviation, frequency change and grid operation cost, as well as the first change situation, the second change situation and the third change situation; Simulating and analyzing voltage stability, voltage sensitivity, network loss, and grid operation cost in the grid when energy storage is added to the grid at a first position and capacity, a second position and capacity, a third position and capacity, and a fourth position and capacity, respectively; Based on the results of the comparative analysis and the results of the simulation analysis, the final location and capacity of the energy storage configured in the power grid are determined.

6. An energy storage configuration analysis device for regional power grid frequency and voltage regulation needs, characterized in that: include: A configuration module is used to establish a node network corresponding to the power grid in the MATLAB environment, and set the reference voltage, total active load and generator set power of the node network; The analysis module is used to determine multiple groups of energy storage capacity configuration data based on the total active load and the set power factor; for each group of the energy storage capacity configuration data, based on the genetic algorithm, according to the optimal condition of the set objective function, with at least one of the voltage-frequency deviation reduction, network loss reduction, grid operation cost reduction, grid voltage stability, and voltage sensitivity as the optimization target, and based on the node network analysis, the location and capacity of the energy storage configured in the grid are obtained, including: calculating the sensitivity of the node network to frequency adjustment after the energy storage is configured at each node according to the following formula: in, The frequency deviation change rate of the energy storage configuration unit increment at node j relative to node i, the frequency sensitivity FS of node i i for The sum of the nodes at each node, n is the total number of nodes in the node network; According to the sensitivity of each node to frequency adjustment after energy storage is configured, at least one candidate node whose sensitivity meets the set conditions is selected; For each group of energy storage capacity configuration data, based on a genetic algorithm, according to the optimal condition of a set objective function, with at least one of voltage-frequency deviation reduction, network loss reduction, grid operation cost reduction, grid voltage stability, and voltage sensitivity as an optimization target, a target node for adding energy storage is obtained from all the candidate nodes; The position corresponding to the target node in the power grid is used as the position of the energy storage configured in the power grid; the objective function is: min F=f1+f2+f3+f4+f5 Among them, f1 is the grid operation cost; f2 is the network loss cost; f3 is the grid load cost; f4 is the grid carbon penalty cost; f5 is the cost of frequency deviation and voltage deviation; ΔP is the unit capacity of energy storage; ΔU is the voltage deviation of energy storage; K is the frequency regulation effect coefficient of the power system; c1 is the cost of configuring 1MW of energy storage to regulate the frequency; c2 is the loss of voltage deviation after configuring energy storage; the power system frequency regulation effect coefficient K in f5 is 100; A determination module is used to determine the final position and capacity of the energy storage configured in the power grid based on the position and capacity of the energy storage configured in the power grid obtained by analyzing each group of the energy storage capacity configuration data.

7. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the program, implements the energy storage configuration analysis method for regional power grid frequency and voltage regulation requirements as described in any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a computer program, which, when executed, controls the electronic device where the computer-readable storage medium is located to execute the energy storage configuration analysis method for regional power grid frequency and voltage regulation requirements as described in any one of claims 1 to 5.