A method for optimizing energy storage configuration considering transient support

By performing probability normalization processing on the historical disturbance data of the power system and system state-space model evaluation, combined with the projected gradient descent method to optimize the energy storage configuration, the problem of failing to fully utilize the transient characteristics of energy storage in the existing technology is solved. Improves the transient performance of the power system.

CN114825387BActive Publication Date: 2024-09-17ZHEJIANG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210450180.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-26
Publication Date
2024-09-17
Estimated Expiration
2042-04-26

AI Technical Summary

Technical Problem

The existing technology fails to fully utilize the transient characteristics of energy storage in the optimal configuration of energy storage, resulting in insufficient transient analysis of new energy access to the power system and the inability to effectively support the frequency stability of the system.

Method used

By performing probability normalization processing on the system's historical disturbance data, the H2 norm based on the system state-space model is used to evaluate the virtual inertia of the energy storage device, and combined with the projected gradient descent method for multiple iterative calculations, the energy storage configuration is optimized to improve Transient performance of the system.

Benefits of technology

It improves the comprehensiveness of energy storage configuration, improves the transient performance of the power system at the lowest point of frequency and the maximum frequency change rate, and enhances the transient support effect of energy storage equipment on the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114825387B
    Figure CN114825387B
Patent Text Reader

Abstract

The present invention discloses an energy storage optimization configuration method considering transient support, comprising: statistically analyzing the historical power data of all line nodes and access devices within a preset line range, and calculating the probability of occurrence of disturbances at each node; constructing system topology information based on the preset line range, and constructing a system state-space model; using a simplification method to obtain a simplified Laplace matrix of system admittance and a simplified probability of occurrence of node disturbances; obtaining a simplified system state-space model according to the Laplace matrix of the simplified system admittance and the simplified probability of occurrence of node disturbances, calculating the gradient of the system H2 norm relative to the node virtual inertia by a projected gradient calculation method, and iterating repeatedly until an optimal solution x is obtained. * , according to the optimal solution x * The energy storage virtual inertia value to be configured is determined in combination with the rated power value. The present invention can be used for the planning and design of low-inertia power systems containing a high proportion of new energy, solving the problem of low comprehensiveness.
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 optimization configuration method considering transient support. Background Art

[0002] Faced with increasingly serious environmental pollution problems, reducing carbon emissions has become a widely recognized consensus in human society. One of the means is to vigorously develop renewable energy to replace traditional fossil energy. With the access of large-scale distributed renewable energy in power systems and the application of a large number of related power electronic devices, traditional synchronous generators are gradually replaced, but also bring frequency stability problems due to the reduction of system rotational inertia. By applying virtual synchronous machine control to power electronic equipment, it can provide virtual inertia during system transients.

[0003] Generally speaking, the optimization configuration of energy storage equipment mainly focuses on the site selection and sizing problems under the steady state of the system. Commonly used methods include the converter capacity based on the power shortage of new energy, the power energy calculation and configuration method of energy storage equipment, the two-stage optimization method that comprehensively considers the site selection and sizing and optimized operation, the probabilistic optimization method that considers the conditional risk value of new energy power fluctuations, and the robust optimization method that considers the extreme cases of new energy power fluctuations.

[0004] The transient evaluation indicators of the system mainly include the lowest frequency point, the maximum frequency change rate, the calculation of the system H2 norm, and the system H ∞ Norm calculation.

[0005] For disturbance analysis of each node in the system, the main methods include extracting disturbance probability from historical data and using disturbance interval to characterize the range. For disturbance interval methods, there are conditional value-at-risk methods that balance disturbance risk and configuration cost, and robust optimization methods that ensure stable and economic operation under the worst disturbance.

[0006] At present, there are many studies on various aspects of energy storage optimization configuration, but the systematic and comprehensive analysis still needs to be further developed. Existing solutions usually consider the steady-state perspectives such as energy storage to smooth the power fluctuations of new energy or loads, or to support power supply after faults, which plays a role in improving the economic operation and reliability of the system. However, due to the focus on steady-state characteristics, there is less transient analysis of the power system connected to new energy, and the rapid response characteristics of energy storage are not fully utilized.

[0007] The Chinese patent "Distribution Network Hybrid Energy Storage Configuration Method in High Proportion Uncertain Power Source Scenarios" with authorization announcement number CN 108599206 B, published on June 1, 2021, introduces a distribution network hybrid energy storage configuration method in high proportion uncertain power source scenarios, solving the configuration problem of hybrid energy storage systems in distributed renewable energy scenarios. This method achieves peak shaving and valley filling of the system and enhances the system's ability to absorb uncertain power sources, but the functions of energy storage equipment in engineering practice are not fully utilized; at the same time, the transient characteristics of the hybrid energy storage system and its configuration are not involved.

[0008] In summary, in order to better ensure the safe and stable operation of the system against the background of increasing renewable energy and provide a reference for power system planning, it is necessary not only to study the effect of energy storage on system steady state, but also to study the disturbance characteristics of the power system connected to renewable energy and the transient inertia support of energy storage in the study of optimal configuration of energy storage. Summary of the invention

[0009] In order to overcome the shortcomings of the above technologies, the present invention provides an energy storage optimization configuration method considering transient support. The energy storage optimization configuration method considering transient support proposed in the present invention solves the problem of low comprehensiveness in the prior art and takes into account economic efficiency.

[0010] Solution Overview:

[0011] The present invention performs probability normalization processing on the historical disturbance data of the system; adopts the H2 norm based on the system state-space model, which is an important evaluation index for energy storage equipment that provides virtual inertia, and verifies the compliance of key indicators such as the lowest frequency point and the maximum frequency change rate by optimized time domain simulation; proposes a node disturbance probability equivalence method that takes into account the system topology information and the disturbance conduction mechanism; uses the projected gradient descent method to perform multiple iterative calculations on the system H2 norm to obtain the optimal energy storage configuration scheme based on virtual inertia.

[0012] The technical solution adopted by the present invention to overcome the technical problems is:

[0013] A method for optimizing energy storage configuration considering transient support comprises the following steps:

[0014] Step S1: Count the historical power data of all line nodes and their access devices within the preset line range, and calculate the probability of disturbance occurrence at each node;

[0015] Step S2: constructing system topology information based on the preset line range in step S1, and constructing a system state-space model based on the system topology information;

[0016] Step S3, using a simplification method to reduce nodes connected to devices without inertia, and obtaining a simplified Laplace matrix of system admittance and a simplified probability of occurrence of node disturbance;

[0017] Step S4: According to the simplified Laplace matrix of the system admittance obtained in step S3 and the simplified probability of occurrence of node disturbance, the simplified system state-space model is obtained. By using the projected gradient calculation method, under the constraint of the total energy storage virtual inertia, the gradient of the system H2 norm relative to the node virtual inertia is calculated, and it is iterated repeatedly until the optimal solution x is obtained. * , according to the optimal solution x * Determine the energy storage virtual inertia value to be configured based on the rated power value.

[0018] Furthermore, in step S1, the access equipment includes but is not limited to synchronous generators, new energy power generation equipment, and loads.

[0019] Furthermore, in step S1, the historical power data is historical power data of the number of occurrences of system disturbance events; the acquisition of historical power data includes but is not limited to statistical methods of historical data, direct calculation methods of equipment characteristics, and data-driven methods based on machine learning.

[0020] Furthermore, through step S1, the normalized original disturbance occurrence probability λ of each node is obtained g,i as follows:

[0021]

[0022] In the above formula, s i is the frequency of disturbance events occurring at node i, and n is the total number of nodes within the preset line range;

[0023] Based on the original disturbance occurrence probability λ of each node g,i , the net input power p of node i at the time of disturbance in,i It is expressed as the product of the disturbance occurrence probability of the node and the equivalent disturbance intensity of the node, that is:

[0024] p in,i =λ g,i u i (2)

[0025] In the above formula, p in,i is the net input power of node i, λ g,i is the original perturbation probability of node i, u i is the equivalent disturbance intensity of node i.

[0026] Furthermore, step S2 specifically includes:

[0027] Based on the preset line range in step S1, construct system topology information, the system topology information including but not limited to line impedance, original equivalent inertia m of each node, and damping coefficient d;

[0028] For line nodes connected to inertial devices, their transient characteristics after disturbance satisfy:

[0029]

[0030]

[0031] In the above formula, θ i is the phase angle of node i, ω i is the frequency of node i, p e,i is the outflow power of node i, m i is the equivalent inertia of node i, d i is the damping coefficient of node i, represents the derivative of the corresponding variable with respect to time;

[0032] According to the DC power flow calculation method, assuming that the voltage at each node V i ≈1, and the phase angle difference θ at both ends of line ij ij =θ i -θ j Satisfy sinθ ij ≈θ ij , the outflow power of node i is calculated as follows:

[0033] p e,i =∑ j∈δ(i) b ij (θ i -θ j ) (5)

[0034] In the above formula, b ij represents the admittance of the line ij starting at node i and ending at node j, which is calculated by taking the inverse of the impedance of the line of the system, δ(i) represents the set of adjacent nodes of node i, i, j∈N, N is the set of system nodes within the preset line range, and the size is the total number of nodes n within the preset line range in step S1;

[0035] Then the Laplace matrix L of the system admittance is defined as follows, referred to as the system admittance matrix, and its i-th row and j-th column elements are defined to satisfy:

[0036]

[0037] In the above formula, b ik represents the admittance of the line ik starting at node i and ending at node k;

[0038] The node net input power p in step S1 isin Substitute the equivalent formula (2) into formula (4), substitute the system admittance matrix L defined by formula (6) into formula (5), write formula (3) and formula (4) in matrix form, and obtain the system state-space model as follows:

[0039]

[0040]

[0041] In the above formula, the state variable are the phase angles and frequencies of all nodes, M is the diagonal matrix of equivalent inertia of all nodes, D is the diagonal matrix with node damping coefficients, Λ is the diagonal matrix of the probability of node disturbance occurrence, u is the vector of disturbance intensity, and it can be deduced from formula (2) that A, B and C are the state matrix, input matrix and output matrix of the system state-space model respectively, y is the output variable used to characterize the transient performance of the system, H is the index weight of the line phase difference during transient, and K is the index weight of the node frequency during transient.

[0042] Furthermore, in step S3, obtaining a simplified system admittance matrix specifically includes:

[0043] Based on the DC power flow calculation method, the voltage-current algebraic equation is given as follows:

[0044]

[0045] In the above formula, the subscript α indicates that the node is a node with inertia and needs to be retained after simplification; the subscript β indicates that the node is a node without inertia and is eliminated according to the simplification method; I α and V α are the current vector and voltage vector of the nodes to be retained respectively; I β and V β are the current vector and voltage vector of the nodes to be eliminated respectively; L is the original system admittance matrix obtained in step S2, and it is divided into L blocks according to the definition of subscripts α and β αα , L αβ , L βα and L ββ Four parts, the number of nodes of two types meets: n α +n β =n, where: L αα represents the n in the upper left corner of matrix L α ×n α The submatrix L consists of elements. αβ represents the n in the upper right corner of matrix L α ×n β The submatrix L consists of elements. βα represents the lower left corner of matrix L β ×nα The submatrix L consists of elements. ββ n represents the lower right corner of matrix L α ×n β A submatrix consisting of elements;

[0046] Eliminate the inertia-free n β The node voltage is rewritten as:

[0047] I α +L ac I β =L red V α (10)

[0048] Among them, L red Represents the admittance matrix of the simplified system, satisfying: It is the system admittance matrix L used in the system state-space model defined by equations (7)-(8); L ac The current I of the simplified node without inertia β The current I of the node with inertia retained after relative simplification α The adjoint admittance matrix satisfies:

[0049] Furthermore, in step S3, based on the disturbance occurrence probability of each node obtained in step S1, a node disturbance occurrence probability equivalent method taking into account system topology information and disturbance conduction mechanism is used to obtain a simplified node disturbance occurrence probability.

[0050] Furthermore, in step S3, a node disturbance occurrence probability equivalent method taking into account system topology information and disturbance conduction mechanism is used to obtain a simplified node disturbance occurrence probability, which specifically includes:

[0051] By using the simplification method, the current I of the node without inertia is simplified from formula (10) β As a representation of node disturbance, an equivalent method for the probability of node disturbance occurrence taking into account system topology information and disturbance conduction mechanism is proposed as follows:

[0052]

[0053] In the above formula, λ g,i is the probability of occurrence of the original disturbance at node i, L ac,ij Denotes the adjoint admittance matrix L ac The element in row i and column j, Indicates the first (n α +j) nodes, which belongs to the n nodes that have been removed. β nodes, λ i is the probability of occurrence of equivalent disturbance after simplification of node i;

[0054] Therefore, through the adjoint admittance matrix L ac , and the transmission mechanism of node disturbance based on system topology information is given.

[0055] Furthermore, in step S3, the simplification method adopts the Krono simplification method.

[0056] Furthermore, step S4 specifically includes:

[0057] The square of the system H2 norm is calculated as follows:

[0058]

[0059] In the above formula, the operator tr() represents the trace operation of the matrix, W o represents the observable Gramian matrix of the reduced system state-space model;

[0060] The gradient of the system H2 norm relative to the node virtual inertia is iterated. The iterative optimization algorithm specifically includes:

[0061] 1) Initialize the iteration number k of the iterative optimization algorithm = 1, and the optimization variable x0 = 0;

[0062] 2) Input the optimization search direction error ε and iterative step error ε of the iterative optimization algorithm α , maximum number of iterations K MAX ;

[0063] 3) For the kth iteration: the simplified system admittance matrix L obtained in step S3 is red and the probability of occurrence of equivalent disturbance after simplification of node i λ i Substitute the diagonalization into L and Λ in the system state-space model defined by formulas (7)-(8) to obtain the simplified system state-space model, and then obtain the state matrix A and input matrix B. The observable Gramian matrix W of the simplified system state-space model is calculated according to the following formula: o :

[0064]

[0065] 4) Select node i to calculate the directional gradient and mark the direction where e i is the standard basis, that is, the n-dimensional column vector is equal to 1 except the i-th row, and the remaining rows are equal to 0; the matrix related to calculating the directional gradient is as follows:

[0066]

[0067]

[0068] In the above formula, A (1) represents the directional gradient matrix associated with the state matrix A, B (1) Represents the directional gradient matrix associated with the input matrix B;

[0069] Calculate the following constraints in, Represents the observable Gramian matrix W of the simplified system state-space model o The associated directional gradient matrix:

[0070]

[0071] Traverse all nodes of the system, and then obtain the directional gradient g of the square of the system H2 norm relative to the node virtual inertia at each node i i :

[0072]

[0073] And the above-mentioned direction gradients g i The total directional gradient of the matrix is ​​denoted as g k , represents the directional gradient of the objective function in the kth iteration;

[0074] 5) Optimization variable value x for the kth iteration k , calculate the kth iteration optimization search direction d after projection k :

[0075] d k =pr(x k -g k )-x k (18)

[0076] In the above formula, pr() is the projection operator, which aims to transform the current directional gradient g k Projection into the feasible region of the optimization variable;

[0077] 6) Use the Armiho backtracking search method to determine the iteration step length α k , and calculate:

[0078] x k+1 =x k +α k d k (19)

[0079] In the above formula, x k+1 Represents the optimization variable value in the next iteration. Since the kth optimization search direction d k has been projected so that x k+1 Located within the feasible region;

[0080] 7) If one of the following four conditions is met, the iteration is stopped, otherwise k = k + 1, and the iteration calculation continues until the optimal solution x is obtained * ;

[0081] g k d k >0

[0082] ||d k ||≤ε

[0083] ||α k ||≤ε α

[0084] k>K MAX

[0085] 8) According to the optimal solution x * Determine the energy storage virtual inertia value to be configured based on the rated power value.

[0086] The beneficial effects of the present invention are:

[0087] 1. The present invention studies the optimal configuration of energy storage equipment from the perspective of system transient support, improves the comprehensiveness of energy storage configuration, and greatly improves the transient performance of the power system in terms of the lowest frequency point, the maximum absolute value of the frequency change rate, etc.

[0088] 2. Integrate the topological characteristics of the system and the conduction mechanism of node disturbances into the optimization iteration. By equivalently aggregating the probability of node disturbances, it conforms to the construction trend of new power systems, thereby further improving the efficiency of optimal configuration of energy storage equipment. Under the condition of the same construction cost, the support effect of the optimal configuration of energy storage on system transients is enhanced. BRIEF DESCRIPTION OF THE DRAWINGS

[0089] Figure 1 This is an overall flow chart of the energy storage optimization configuration method according to an embodiment of the present invention.

[0090] Figure 2 This is a flow chart of the algorithm for solving the virtual inertia capacity of the energy storage optimization configuration used in the embodiment of the present invention.

[0091] Figure 3 It is a system model diagram used for simulation verification in an embodiment of the present invention.

[0092] Figure 4 It is a system transient frequency comparison diagram used for simulation verification in an embodiment of the present invention.

[0093] Figure 5 It is a comparison diagram of the system transient frequency change rate used for simulation verification in an embodiment of the present invention. DETAILED DESCRIPTION

[0094] In order to facilitate those skilled in the art to better understand the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. The following is only exemplary and does not limit the protection scope of the present invention.

[0095] like Figure 1 and Figure 2 As shown, the energy storage optimization configuration method considering transient support described in the present invention includes the following steps:

[0096] Step S1: define the line range, collect historical power data of all line nodes and their access devices within the preset line range, and calculate the probability of disturbance occurrence at each node.

[0097] Among them, the access equipment includes but is not limited to synchronous generators, new energy power generation equipment, and loads; the historical power data is the historical power data of the number of system disturbance events, and the acquisition of historical power data includes but is not limited to statistical methods of historical data, direct calculation methods of equipment characteristics, and data-driven methods based on machine learning.

[0098] Normalized probability of occurrence of original disturbance of each node λ g,i as follows:

[0099]

[0100] In the above formula, s i is the frequency of disturbance events occurring at node i, and n is the total number of nodes within the preset line range;

[0101] Based on the original disturbance occurrence probability λ of each node g,i , the net input power p of node i at the time of disturbance in,i It is expressed as the product of the disturbance occurrence probability of the node and the equivalent disturbance intensity of the node, that is:

[0102] p in,i =λ g,i u i (2)

[0103] In the above formula, p in,i is the net input power of node i, λ g,i is the original perturbation probability of node i, u i is the equivalent disturbance intensity of node i. Formula (2) can be used for the transformation of the input matrix in the system state-space model in the following step S2.

[0104] Step S2: construct system topology information based on the preset line range of step S1, and construct a system state-space model based on the system topology information.

[0105] The system topology information includes but is not limited to line impedance, original equivalent inertia m of each node, and damping coefficient d; for line nodes connected to inertia devices, their transient characteristics after disturbance satisfy:

[0106]

[0107]

[0108] In the above formula, θ i is the phase angle of node i, ω i is the frequency of node i, p e,i is the outflow power of node i, m i is the equivalent inertia of node i, d i is the damping coefficient of node i, the operator Represents the derivative of the corresponding variable with respect to time; for nodes that are not connected to inertia devices, simplification can be performed in the following step S3.

[0109] According to the DC power flow calculation method, assuming that the voltage at each node V i ≈1, and the phase angle difference θ at both ends of line ij ij =θ i -θ j Relatively small, the θ ij Relatively small means that sinθ ij ≈θ ij , the outflow power of node i is calculated as follows:

[0110] p e,i =∑ j∈δ(i) b ij (θ i -θ j ) (5)

[0111] In the above formula, b ij represents the admittance of the line ij starting at node i and ending at node j, which is calculated by taking the inverse of the impedance of the line of the system, δ(i) represents the set of adjacent nodes of node i, i, j∈N, N is the set of system nodes within the preset line range, and the size is the total number of nodes n within the preset line range in step S1;

[0112] Then the Laplace matrix L of the system admittance is defined as follows, referred to as the system admittance matrix, and its i-th row and j-th column elements are defined to satisfy:

[0113]

[0114] In the above formula, b ikrepresents the admittance of the line ik starting from node i and ending at node k; summing k∈δ(i) means: summing the admittances of all lines corresponding to nodes k connected to node i, including the line ij corresponding to node j;

[0115] The node net input power p in step S1 is in Substitute the equivalent formula (2) into formula (4), substitute the system admittance matrix L defined by formula (6) into formula (5), write formula (3) and formula (4) in matrix form, and obtain the system state-space model as follows:

[0116]

[0117]

[0118] In the above formula, the state variable are the phase angles and frequencies of all nodes, M is the diagonal matrix of equivalent inertia of all nodes, D is the diagonal matrix with node damping coefficients, Λ is the diagonal matrix of the probability of node disturbance occurrence, u is the vector of disturbance intensity, and it can be deduced from formula (2) that A, B and C are the state matrix, input matrix and output matrix of the system state-space model respectively, y is the output variable used to characterize the transient performance of the system, H is the index weight of the line phase difference during transient, and K is the index weight of the node frequency during transient.

[0119] Step S3: using a simplification method to eliminate nodes connected to devices without inertia, and obtaining a simplified Laplace matrix of the system admittance and a simplified probability of occurrence of node disturbances.

[0120] 1) This embodiment adopts the Krono reduction method to obtain the simplified system admittance matrix, which specifically includes:

[0121] Based on the DC power flow calculation method, the voltage-current algebraic equation is given as follows:

[0122]

[0123] In the above formula, the subscript α indicates that the node is a node with inertia and needs to be retained after simplification; the subscript β indicates that the node is a node without inertia and is eliminated according to the simplification method; I α and V α are the current vector and voltage vector of the nodes to be retained respectively; I β and V β are the current vector and voltage vector of the nodes to be eliminated respectively; L is the original system admittance matrix obtained in step S2, and it is divided into L blocks according to the definition of subscripts α and β αα , L αβ , L βα and L ββFour parts, the number of nodes of two types meets: n α +n β =n, where: L αα represents the n in the upper left corner of matrix L α ×n α The submatrix L consists of elements. αβ represents the n in the upper right corner of matrix L α ×n β The submatrix L consists of elements. βα represents the lower left corner of matrix L β ×n α The submatrix L consists of elements. ββ n represents the lower right corner of matrix L α ×n β The submatrix consists of elements; the n without inertia is eliminated β The node voltage is rewritten as:

[0124] I α +L ac I β =L red V α (10)

[0125] Among them, L red Represents the admittance matrix of the simplified system, satisfying: It is the system admittance matrix L used in the system state-space model defined by equations (7)-(8); L ac The current I of the simplified node without inertia β The current I of the node with inertia retained after relative simplification α The adjoint admittance matrix satisfies:

[0126] 2) This embodiment adopts the Krono reduction method to obtain the simplified node disturbance occurrence probability, which specifically includes:

[0127] Based on the disturbance occurrence probability of each node obtained in step S1, a node disturbance occurrence probability equivalent method taking into account the system topology information and the disturbance conduction mechanism is used to obtain the simplified node disturbance occurrence probability, which specifically includes:

[0128] According to the same Krono reduction method, the current I of the node without inertia can be simplified by formula (10): β As a representation of node disturbance, an equivalent method for the probability of node disturbance occurrence taking into account system topology information and disturbance conduction mechanism is proposed as follows:

[0129]

[0130] In the above formula, λ g,iis the probability of occurrence of the original disturbance at node i, L ac,ij Denotes the adjoint admittance matrix L ac The element in row i and column j, Indicates the first (n α +j) nodes, which belongs to the n nodes that have been removed. β nodes, λ i is the probability of occurrence of the equivalent disturbance after simplification of node i.

[0131] Therefore, through the adjoint admittance matrix L ac , and the transmission mechanism of node disturbance based on system topology information is given.

[0132] Step S4: According to the simplified Laplace matrix of the system admittance obtained in step S3 and the simplified probability of occurrence of node disturbance, the simplified system state-space model is obtained. By using the projected gradient calculation method, under the constraint of the total energy storage virtual inertia, the gradient of the system H2 norm relative to the node virtual inertia is calculated, and it is iterated repeatedly until the optimal solution x is obtained. * , according to the optimal solution x * Combined with the rated power value, determine the energy storage virtual inertia value to be configured. Specifically include:

[0133] The square of the system H2 norm is calculated as follows:

[0134]

[0135] In the above formula, the operator tr() represents the trace operation of the matrix, W o represents the observable Gramian matrix of the reduced system state-space model;

[0136] The gradient of the system H2 norm relative to the node virtual inertia is iterated. The iterative optimization algorithm specifically includes:

[0137] 1) Initialize the iteration number k of the iterative optimization algorithm to 1 and the optimization variable x0 to 0.

[0138] 2) Input the optimization search direction error ε and iterative step error ε of the iterative optimization algorithm α , maximum number of iterations K MAX .

[0139] 3) For the kth iteration: the simplified system admittance matrix L obtained in step S3 is red and the probability of occurrence of equivalent disturbance after simplification of node i λ iSubstitute the diagonalization into L and Λ in the system state-space model defined by formulas (7)-(8) to obtain the simplified system state-space model, and then obtain the state matrix A and input matrix B. The observable Gramian matrix W of the simplified system state-space model is calculated according to the following formula: o :

[0140]

[0141] 4) Select node i to calculate the directional gradient and mark the direction where e i is the standard basis, that is, the n-dimensional column vector is equal to 1 except the i-th row, and the remaining rows are equal to 0; the matrix related to calculating the directional gradient is as follows:

[0142]

[0143]

[0144] In the above formula, A (1) represents the directional gradient matrix associated with the state matrix A, B (1) Represents the directional gradient matrix associated with the input matrix B;

[0145] Calculate the following constraints in, Represents the observable Gramian matrix W of the simplified system state-space model o The associated directional gradient matrix:

[0146]

[0147] Traverse all nodes of the system, and then obtain the directional gradient g of the square of the system H2 norm relative to the node virtual inertia at each node i i :

[0148]

[0149] And the above-mentioned direction gradients g i The total directional gradient of the matrix is ​​denoted as g k , which represents the directional gradient of the objective function in the kth iteration.

[0150] 5) Optimization variable value x for the kth iteration k , calculate the kth iteration optimization search direction d after projection k :

[0151] d k =pr(x k -g k )-x k (18)

[0152] In the above formula, pr() is the projection operator, which aims to transform the current directional gradient g k Projection to the feasible domain of optimization variables, such as the total energy storage and virtual inertia constraints of the configuration, is usually given by the Euclidean distance method.

[0153] 6) Use the Armiho backtracking search method to determine the iteration step length α k , and calculate:

[0154] x k+1 =x k +α k d k (19)

[0155] In the above formula, x k+1 Represents the optimization variable value in the next iteration. Since the kth optimization search direction d k has been projected so that x k+1 is within the feasible domain.

[0156] 7) If one of the following four conditions is met, the iteration is stopped, otherwise k = k + 1, and the iteration calculation continues until the optimal solution x is obtained * ;

[0157] g k d k >0

[0158] ||d k ||≤ε

[0159] ||α k ||≤ε α

[0160] k>K MAX

[0161] 8) According to the optimal solution x * Determine the energy storage virtual inertia value to be configured based on the rated power value.

[0162] The following simulation is used to verify the configuration effect of the energy storage virtual inertia by the energy storage optimization configuration method considering transient support described in the present invention.

[0163] like Figure 3As shown, this embodiment simulates the proposed energy storage optimization configuration method considering transient support, G1~G4 indicates that nodes 1~node 4 are connected to devices with inertia, such as synchronous generators or new energy power generation equipment controlled by virtual synchronous machines. These four nodes are the nodes that need to be configured with energy storage after simplification, L5 and L6 indicate that nodes 5 and node 6 are connected to devices without inertia, such as loads or new energy power generation equipment controlled by constant power, and these two nodes are the nodes that need to be simplified; the distance between the nodes indicates the length of the corresponding transmission line.

[0164] The transient performance of the system is verified by taking a power step disturbance occurring at node 5 at time 0. Figure 4 and Figure 5 The advantages of the method of the present invention (Opt.) over the system before energy storage configuration (Orig.) and the configuration method without considering disturbance equivalence (Comp.) are shown.

[0165] Figure 4 The system transient frequency comparison diagram shows that the energy storage system configured by the method (Opt.) of the present invention has the lowest frequency point (f nadir ) are significantly improved compared to the system before energy storage configuration (Orig.) and the superiority of the configuration method considering disturbance equivalence (Comp.), indicating that the configuration method described in the present invention improves the transient performance of the system.

[0166] Figure 5 The system transient frequency change rate comparison chart shows that the energy storage system configured by the method (Opt.) of the present invention has the maximum absolute value of the frequency change rate during the system transient process. They are both much smaller than the system before energy storage configuration (Orig.) and the superiority of the configuration method without considering disturbance equivalence (Comp.), indicating that the configuration method described in the present invention alleviates the transient pressure of the system.

[0167] In summary, the node disturbance equivalent method based on network topology and disturbance propagation mechanism proposed in the present invention fully considers the disturbance characteristics of various loads and new energy sources, conforms to the construction trend of new power systems, and further improves the efficiency of optimal configuration of energy storage equipment. Under the condition of the same construction cost, the system has better transient performance.

[0168] The above only describes the basic principles and preferred embodiments of the present invention. Those skilled in the art may make many changes and improvements based on the above description, and these changes and improvements should fall within the protection scope of the present invention.

Claims

1. A method for optimizing energy storage configuration considering transient support. It is characterized in that Includes steps: Step S1: Count the historical power data of all line nodes and their access devices within the preset line range, and calculate the probability of disturbance occurrence at each node; Step S2: constructing system topology information based on the preset line range in step S1, and constructing a system state-space model based on the system topology information; Step S2 specifically includes: Based on the preset line range in step S1, construct system topology information, the system topology information including but not limited to line impedance, original equivalent inertia m of each node, and damping coefficient d; For line nodes connected to inertial devices, their transient characteristics after disturbance satisfy: In the above formula, θ i is the phase angle of node i, ω i is the frequency of node i, p in,i is the net input power of node i, p e,i is the outflow power of node i, m i is the equivalent inertia of node i, d i is the damping coefficient of node i, the operator represents the derivative of the corresponding variable with respect to time; According to the DC power flow calculation method, assuming that the voltage at each node V i ≈1, and the phase angle difference θ at both ends of line ij ij =θ i -θ j Satisfy sinθ ij ≈θ ij , the outflow power of node i is calculated as follows: p e,i =∑ j∈δ(i) b ij (i i -θ j ) (5) In the above formula, b ij represents the admittance of the line ij starting at node i and ending at node j, which is calculated by taking the inverse of the impedance of the line of the system, δ(i) represents the set of adjacent nodes of node i, i, j∈N, N is the set of system nodes within the preset line range, and the size is the total number of nodes n within the preset line range in step S1; Then the Laplace matrix L of the system admittance is defined as follows, referred to as the system admittance matrix, and its i-th row and j-th column elements are defined to satisfy: In the above formula, b ik represents the admittance of the line ik starting at node i and ending at node k; The node net input power p in step S1 is in,i Equivalent formula p in,i =λ g,i u i Substitute into formula (4), where λ g,i is the original perturbation probability of node i, u i is the equivalent disturbance intensity of node i. Substitute the system admittance matrix L defined by formula (6) into formula (5), write formula (3) and formula (4) in matrix form, and obtain the system state-space model as follows: In the above formula, the state variable are the phase angles and frequencies of all nodes, M is the diagonal matrix of equivalent inertia of all nodes, D is the diagonal matrix with node damping coefficients, Λ is the diagonal matrix of the probability of node disturbance, u is the vector of disturbance intensity, A, B and C are the state matrix, input matrix and output matrix of the system state-space model respectively, y is the output variable used to characterize the transient performance of the system, H is the index weight of the line phase angle difference during transient, and K is the index weight of the node frequency during transient; Step S3, using a simplification method to reduce nodes connected to devices without inertia, and obtaining a simplified Laplace matrix of system admittance and a simplified probability of occurrence of node disturbance; Step S4: Based on the simplified Laplace matrix of the system admittance obtained in step S3 and the simplified node disturbance occurrence probability, the simplified system state-space model is obtained, and the system H is calculated under the constraints of the total energy storage and virtual inertia by the projected gradient calculation method. 2 The norm is the gradient of the virtual inertia of the node, and it is iterated repeatedly until the optimal solution x is obtained. * , according to the optimal solution x * Determine the energy storage virtual inertia value to be configured based on the rated power value.

2. The energy storage optimization configuration method considering transient support according to claim 1, It is characterized in that In step S1, the access equipment includes but is not limited to synchronous generators, new energy power generation equipment, and loads.

3. The energy storage optimization configuration method considering transient support according to claim 1, It is characterized in that In step S1, the historical power data is the historical power data of the number of system disturbance events; the acquisition of historical power data includes but is not limited to a statistical method of historical data, a direct calculation method of equipment characteristics, and a data-driven method based on machine learning.

4. The energy storage optimization configuration method considering transient support according to claim 1, It is characterized in that Through step S1, the normalized original disturbance occurrence probability λ of each node is obtained g,i as follows: In the above formula, s i is the frequency of disturbance events occurring at node i, and n is the total number of nodes within the preset line range; Based on the original disturbance occurrence probability λ of each node g,i , the net input power p of node i at the time of disturbance in,i It is expressed as the product of the disturbance occurrence probability of the node and the equivalent disturbance intensity of the node, that is: p in,i =λ g,i you i (2) In the above formula, p in,i is the net input power of node i, λ g,i is the original perturbation probability of node i, u i is the equivalent disturbance intensity of node i.

5. The energy storage optimization configuration method considering transient support according to claim 4, It is characterized in that In step S3, obtaining the simplified system admittance matrix specifically includes: Based on the DC power flow calculation method, the voltage-current algebraic equation is given as follows: In the above formula, the subscript α indicates that the node is a node with inertia and needs to be retained after simplification; the subscript β indicates that the node is a node without inertia and is eliminated according to the simplification method; I α and V α are the current vector and voltage vector of the nodes to be retained respectively; I β and V β are the current vector and voltage vector of the nodes to be eliminated respectively; L is the original system admittance matrix obtained in step S2, and it is divided into L blocks according to the definition of subscripts α and β αα , L αβ , L βα and L ββ Four parts, the number of nodes of two types meets: n α +n β =n, where: L αα represents the n in the upper left corner of matrix L α ×n α The submatrix L consists of elements. αβ n represents the upper left and right corners of matrix L α ×n β The submatrix L consists of elements. βα n represents the lower left corner of matrix L β ×n α The submatrix L consists of elements. ββ n represents the upper left and lower right corners of matrix L α ×n β A submatrix consisting of elements; Eliminate the inertia-free n β The node voltage is rewritten as: I α +L ac I β =L red V α (10) Among them, L red Represents the admittance matrix of the simplified system, satisfying: It is the system admittance matrix L used in the system state-space model defined by equations (7)-(8); L ac The current I of the simplified node without inertia β The current I of the node with inertia retained after relative simplification α The adjoint admittance matrix satisfies:

6. The energy storage optimization configuration method considering transient support according to claim 5, It is characterized in that In step S3, based on the disturbance occurrence probability of each node obtained in step S1, a node disturbance occurrence probability equivalent method taking into account system topology information and disturbance conduction mechanism is used to obtain a simplified node disturbance occurrence probability.

7. The energy storage optimization configuration method considering transient support according to claim 6, It is characterized in that In step S3, a simplified node disturbance occurrence probability is obtained by using a node disturbance occurrence probability equivalent method taking into account system topology information and disturbance conduction mechanism, specifically including: By using the simplification method, the current I of the node without inertia is simplified from formula (10) β As a representation of node disturbance, an equivalent method for the probability of node disturbance occurrence taking into account system topology information and disturbance conduction mechanism is proposed as follows: In the above formula, λ g,i is the probability of occurrence of the original disturbance at node i, L ac,ij Denotes the adjoint admittance matrix L ac The element in row i and column j, Indicates the first (n α +j) nodes, which belongs to the n nodes that have been removed. β nodes, λ i is the probability of occurrence of equivalent disturbance after simplification of node i; Therefore, through the adjoint admittance matrix L ac , and the transmission mechanism of node disturbance based on system topology information is given.

8. The energy storage optimization configuration method considering transient support according to claim 5, 6 or 7, It is characterized in that In step S3, the simplification method adopts the Krona simplification method.

9. The energy storage optimization configuration method considering transient support according to claim 7, It is characterized in that Step S4 specifically includes: System H 2 The square of the norm is calculated as follows: In the above formula, the operator tr() represents the trace operation of the matrix, W o represents the observable Gramian matrix of the reduced system state-space model; For system H 2 The norm is iterated relative to the gradient of the node virtual inertia. The iterative optimization algorithm specifically includes: 1) Initialize the iteration number k of the iterative optimization algorithm to 1 and optimize the variable x 0 =0; 2) Input the optimization search direction error ε and iterative step error ε of the iterative optimization algorithm α , maximum number of iterations K MAX ; 3) For the kth iteration: the simplified system admittance matrix L obtained in step S3 is red and the probability of occurrence of equivalent disturbance after simplification of node i λ i Substitute the diagonalization into L and Λ in the system state-space model defined by formulas (7)-(8) to obtain the simplified system state-space model, and then obtain the state matrix A and input matrix B. The observable Gramian matrix W of the simplified system state-space model is calculated according to the following formula: o : 4) Select node i to calculate the directional gradient and mark the direction where e i is the standard basis, that is, the n-dimensional column vector is equal to 1 except the i-th row, and the remaining rows are equal to 0; the matrix related to calculating the directional gradient is as follows: In the above formula, A (1) represents the directional gradient matrix associated with the state matrix A, B (1) Represents the directional gradient matrix associated with the input matrix B; Calculate the following constraints in, Represents the observable Gramian matrix W of the simplified system state-space model o The associated directional gradient matrix: Traverse all nodes of the system and get the system H 2 The square of the norm relative to the directional gradient of the node virtual inertia at each node i g i : And the above-mentioned directional gradients g i The total directional gradient of the matrix is ​​denoted as g k , represents the directional gradient of the objective function in the kth iteration; 5) Optimization variable value x for the kth iteration k , calculate the kth iteration optimization search direction d after projection k : d k =pr(x k -g k )-x k (18) In the above formula, pr() is the projection operator, which aims to transform the current directional gradient g k Projection into the feasible region of the optimization variable; 6) Use the Armiho backtracking search method to determine the iteration step length α k , and calculate: x k+1 =x k +a k d k (19) In the above formula, x k+1 Represents the optimization variable value in the next iteration. Since the kth optimization search direction d k has been projected so that x k+1 Located within the feasible region; 7) If one of the following four conditions is met, the iteration is stopped, otherwise k = k + 1, and the iteration calculation continues until the optimal solution x is obtained * ; g k d k >0 ||d k ||≤ε ||a k ||≤e α k>K MAX 8) According to the optimal solution x * Determine the energy storage virtual inertia value to be configured based on the rated power value.