Novel electric power system area inertia evaluation method based on improved ARMAX model
By improving the ARMAX model and the recursive least squares algorithm of the forgetting factor, the problem of large data requirements and low accuracy of the power system inertia assessment method under small disturbances is solved, and high-precision monitoring and frequency stability of the power system inertia level are achieved. Analysis, suitable for regional inertia assessment of new power systems.
Patent Information
- Application Number
- CN202410774947.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-09-10
AI Technical Summary
Existing power system inertia assessment methods require large amounts of data and have low accuracy under small disturbances, and fail to effectively consider the impact of new power systems on inertia, especially in the analysis of frequency stability and spatial distribution characteristics in new energy grid-connected environments. insufficient.
A new power system regional inertia assessment method based on the improved ARMAX model is adopted, and the network topology and algebraic connectivity are divided through the spectral clustering method. An improved ARMAX model is constructed to describe the mathematical relationship between frequency change and power increment, and the progression of the forgetting factor is used. The least squares algorithm is used to identify the parameters, extract the discrete transfer function of the generator inertia characteristics and perform continuous processing, and calculate the regional inertia estimate.
It achieves normalized monitoring of power system inertia levels under small disturbances, improves the accuracy and robustness of inertia assessment, provides auxiliary support for power grid dispatching and safety and stability control, and satisfies the spatial distribution and frequency of nodes with similar frequency responses. stability requirements.
Smart Images

Figure CN118630790A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of novel power system inertia assessment, and relates to but is not limited to a novel power system regional inertia assessment method based on an improved ARMAX model. Background Art
[0002] Under the global energy crisis, the decline in the inertia level of the power system has become one of the main constraints on improving the penetration rate of renewable energy. In areas where new energy is connected to the grid on a large scale, the decoupling of power electronic equipment and system frequency leads to insufficient inertia, which easily causes frequency safety problems, resulting in uneven regional inertia distribution of new power systems and obvious spatiotemporal distribution characteristics under frequency disturbances. At the same time, it will also weaken the ability of the power system to maintain frequency stability. Therefore, it is of great significance to study the inertia estimation method of the power system.
[0003] In order to effectively evaluate the regional / system inertia, it is necessary to analyze the unit / node level of the sub-region, which has higher flexibility in inertia evaluation. It is necessary to ensure that the partitioning results can meet the spatial distribution of nodes with similar frequency responses and have similar frequency stability under different faults and disturbances. According to the current research status of new power system partitioning methods, the power system inertia partitioning methods are mainly divided into the following three types. The first is the unit coherence partitioning method, which is a commonly used technology in power system stability analysis. It aims to partition the generator sets in the power system according to their dynamic behavior and response characteristics, so that the units in each area have similar coherence. The second is the inertia center partitioning method. Due to the uneven distribution of inertia in the power system and the obvious spatiotemporal distribution characteristics of the frequency response after disturbance, it is proposed to use the deviation between the node frequency and the center of inertia frequency (Center of Inertia, COI) to represent the size of the node inertia level. This method requires the determination of the inertia of a single generator. The third is the node frequency response characteristic partitioning method. Common evaluation methods include: a system frequency characteristic analysis based on a modal analysis method for the inertia response stage is proposed. The proposed method retains the motion equations of all generator rotors in the system; by measuring the frequency spectrum of each node after the disturbance occurs, by extracting indicators that can characterize the strength of the node inertia and taking visual analysis; by spectral clustering analysis, the eigenvector of the smallest non-zero eigenvalue of the network Laplace matrix is mapped to the frequency stability of the node; In summary, current research mainly focuses on using clustering methods to partition the power system, while relatively little consideration is given to the size of the inertia level at the node level.
[0004] Research status of regional inertia assessment of new power systems. The assessment method based on frequency disturbance events is an important assessment method. It uses the coupling relationship between system frequency, active power and inertia. After the disturbance event occurs, the dynamic changes of the system are monitored by PMU to evaluate the current system inertia. Common assessment methods include: analyzing the problem of parameter extraction in the system steady-state data, and using the power spectrum density method to evaluate the system inertia during normal operation of the power grid. It is necessary to consider the changes in the power grid operation status and the impact of data quality; proposing a method to continuously estimate the power grid inertia using active-frequency noise disturbance information, and using the output error model to estimate the regional inertia; the literature uses a parameter identification method based on the least squares principle, such as the autoregressive moving average model, and dynamic regression extension and hybrid model. Compared with directly calculating the rotor motion equation, model parameter identification can provide a more accurate estimate of the inertia constant. In summary, the inertia assessment method under small disturbance events still has problems such as large data demand and low inertia assessment accuracy. Most methods only consider the inertia of synchronous generators, and do not consider the impact of new power systems on inertia. Summary of the invention
[0005] In view of this, an embodiment of the present invention provides a new power system regional inertia assessment method based on an improved ARMAX model, which realizes the normalized monitoring of the power system inertia level under small disturbances and provides auxiliary support for the dispatching and safe and stable control of the power grid.
[0006] The technical solution of the embodiment of the present invention is achieved as follows:
[0007] An embodiment of the present invention provides a novel power system regional inertia assessment method based on an improved ARMAX model, the method comprising:
[0008] The improved IEEE-39 node power system is divided into regions by using the spectral clustering method using network topology and algebraic connectivity to obtain the partition results; an improved ARMAX model is constructed to evaluate the inertia of each region to obtain the estimated inertia value of each region; wherein the improved ARMAX model is used to describe the mathematical relationship between the frequency change and the power increment; the parameters to be identified of the improved ARMAX model are obtained by solving the recursive least squares algorithm with a forgetting factor; the estimated inertia values of each region are summed to obtain the total inertia of the system.
[0009] In some possible embodiments, the improved IEEE-39 node power system is divided into regions using network topology and algebraic connectivity through a spectral clustering method to obtain partitioning results, including: constructing a Laplace matrix based on the network topology structure; calculating a characteristic matrix based on the Laplace matrix and determining the number of partitions; using the number of partitions as the number of clusters, and using a hierarchical clustering algorithm to perform cluster analysis on the characteristic matrix to obtain the partitioning results.
[0010] In some possible embodiments, the construction of a Laplace matrix based on a network topology structure includes: determining a graph structure corresponding to the improved IEEE-39 node power system; wherein data points in the system are represented as nodes of the graph, and lines between data points are represented as edges of the graph; constructing a similarity matrix characterizing the degree of similarity between any two nodes in the graph structure through a similarity calculation method; constructing a degree matrix using a node degree index; and constructing a Laplace matrix based on the similarity matrix and the degree matrix.
[0011] In some possible embodiments, calculating the characteristic matrix based on the Laplacian matrix and determining the number of partitions includes: calculating the eigenvalues and eigenvectors of the Laplacian matrix, mapping the nodes in the network to a low-dimensional representation; determining the number of partitions k based on algebraic connectivity; and forming the characteristic matrix from eigenvectors corresponding to k smallest eigenvalues.
[0012] In some possible embodiments, the improved ARMAX model is constructed to evaluate the inertia of each region to obtain an estimated value of the inertia of each region, including: collecting active power change and frequency data output by nodes in the power system and preprocessing them; constructing the improved ARMAX model for each partition; reducing the order of the improved ARMAX model in combination with the AIC criterion and the model fitting index; identifying the parameters of the improved ARMAX model using a recursive least squares algorithm containing a forgetting factor in a small disturbance scenario, and extracting a discrete transfer function that characterizes the inertia characteristics of the generator in the ARMAX identification model; continuousizing the discrete transfer function to obtain a continuous-time transfer function, and applying a unit step signal; and calculating the size of the generator inertia time constant as the estimated value of the regional inertia through the unit step response of the continuous-time transfer function.
[0013] In some possible embodiments, the functional expression of the improved ARMAX model is:
[0014]
[0015] In the formula, z -1 is defined as the backshift operator, i.e. z -1u(t)=u(t-1), u(t) corresponds to the change in active power output at the node connected to the generator, which serves as the data input of the model; y(t) corresponds to the change in frequency of the node connected to the generator, which serves as the output of the model, and e(t) represents noise.
[0016] In some possible embodiments, the improved ARMAX model includes an autoregressive part, an external input part and a moving average part;
[0017] The parameter vector A(z) of the autoregressive part, the parameter vectors B(z) and C(z) of the external input part, and the parameter vector of the moving average part are all based on z. -1 are constant time-invariant polynomials of variables, respectively defined as:
[0018]
[0019] In the formula, and is the parameter to be identified in the ARMAX identification model, n a and n b are the orders of the polynomials A(z) and B(z), respectively.
[0020] The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least:
[0021] In the embodiment of the present invention, firstly, the improved IEEE10 machine 39 node system is divided into regions by using the spectral clustering method using the network topology and algebraic connectivity, and then a new power system regional inertia assessment method based on the improved controlled autoregressive moving average (ARMAX) model is proposed, and the recursive least squares algorithm containing the forgetting factor is used to identify the system transfer function, and the inertia assessment problem is transformed into the problem of parameter identification of the ARMAX model system transfer function. The normalized monitoring of the inertia level of the power system under small disturbance conditions is realized, providing auxiliary support for the dispatching and safe and stable control of the power grid. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work, among which:
[0023] Figure 1A schematic flow chart of a novel power system regional inertia assessment method based on an improved ARMAX model provided in an embodiment of the present invention;
[0024] Figure 2 A research content framework diagram of a novel power system regional inertia assessment method based on an improved ARMAX model provided by an embodiment of the present invention;
[0025] Figure 3 A novel power system partitioning flow chart of spectral clustering provided by an embodiment of the present invention;
[0026] Figure 4 A logic flow chart of a novel power system regional inertia assessment method based on an improved ARMAX model provided by an embodiment of the present invention;
[0027] Figure 5 A schematic diagram of the network structure of an IEEE-39 node power system provided in an embodiment of the present invention;
[0028] Figure 6 The electrical distance between other nodes and the disturbance node of the IEEE-39 system provided in the embodiment of the present invention;
[0029] Figure 7 The node degree index of all nodes of the IEEE-39 system provided by the embodiment of the present invention;
[0030] Figure 8 The maximum frequency change rate of all nodes of the IEEE-39 system provided by the embodiment of the present invention;
[0031] Fig. 9 Improved algebraic connectivity of IEEE-39 nodes with different k values provided by the embodiment of the present invention;
[0032] Fig.10 A dendrogram of hierarchical clustering of an improved IEEE-39 node system provided by an embodiment of the present invention;
[0033] Fig.11 The clustering result when the node k of the improved IEEE-39 provided in the embodiment of the present invention is 6;
[0034] Fig.12 The recursive least squares algorithm using the forgetting factor provided in the embodiment of the present invention is compared with the 29-node inertia estimation value of the algorithm before improvement. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the technical scheme 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, rather than all the embodiments. The following embodiments are used to illustrate the present invention, but are not used to limit the scope of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0036] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0037] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those generally understood by those skilled in the art in the field to which the embodiments of the present invention belong. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with those in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as here.
[0038] The embodiment of the present invention provides a novel power system regional inertia assessment method based on an improved ARMAX model. Figure 1 A flow chart of a novel power system regional inertia assessment method based on an improved ARMAX model provided by an embodiment of the present invention is shown in FIG. Figure 1 As shown, the method comprises at least the following steps:
[0039] Step S110, using a spectral clustering method to adopt network topology and algebraic connectivity to divide the improved IEEE-39 node power system into regions, and obtain a partition result.
[0040] Here, the improved IEEE10-machine 39-node system is divided into regions by using network topology and algebraic connectivity through the spectral clustering method. Taking into account the partitioning characteristics of the power system frequency response and the active power change of the nodes in the defined region can reflect the power imbalance of the nodes, based on the needs of inertia level monitoring and stable operation of the power system in the new power system, a spectrum evaluation inertia partitioning scheme considering the network Laplace matrix is proposed, and easy-to-interpret indicators are provided on the partitioning results to meet the spatial perception of the power system network in terms of frequency stability areas.
[0041] The IEEE-39 node network includes more complex node connection relationships, different transmission line reactances and generator inertia distributions, which can more realistically simulate the operating conditions of the actual power system. The network topology refers to the improved IEEE-39 node power system network represented by a graph F(X,E), where the data set x containing 39 nodes is assigned to the nodes of the graph F(X,E), x∈ m×m is a data matrix. Nodes are represented as X, and lines are represented as edges E. Algebraic connectivity, also known as Fiedler eigenvalue, is a measure of the connectivity of the graph. The larger the algebraic connectivity, the stronger the connectivity of the graph, the more accurate the division of sub-regions, and regions with similar frequency behaviors can be found in the network.
[0042] Step S120, constructing an improved ARMAX model to evaluate the inertia of each region to obtain an estimated value of the inertia of each region.
[0043] Here, the improved ARMAX model is used to describe the mathematical relationship between the frequency change and the power increment; the parameters to be identified of the improved ARMAX model are solved by using a recursive least squares algorithm containing a forgetting factor. The traditional ARMAX model is a time series model that can be used to describe and predict the behavior of a system. The improved model proposed in an embodiment of the present invention includes adjustments to the model parameters to better adapt to the characteristics and requirements of the power system. At the same time, a recursive least squares algorithm containing a forgetting factor is proposed for system regional inertia assessment. The forgetting factor helps the algorithm adapt to new data and improves the accuracy and robustness of the assessment.
[0044] Step S130, summing the estimated inertia values of the various regions to obtain the total inertia of the system.
[0045] Here, if Figure 2 As shown, it is a research framework diagram of the regional inertia assessment method of a new power system based on an improved ARMAX model provided by an embodiment of the present invention. First, the power system is required to be partitioned. The regional inertia assessment of the new power system with the improved ARMAX model sums up the inertia constants of each region to obtain the total inertia of the system. The system regional inertia assessment method of the recursive least squares algorithm containing the forgetting factor adopts the ARMAX parameter identification method to identify the system transfer function, and transforms the inertia assessment problem into the problem of solving the system transfer function of the ARMAX model. The proposed method is used in a small disturbance scenario and a comprehensive comparison of the new energy system to estimate the regional inertia of the improved IEEE10 machine 39 node system embodying the new power system, and the inertia of all nodes in the system is obtained. The proposed partition inertia assessment algorithm has fast convergence and strong robustness. The assessment method has high accuracy in the assessment of the system inertia level.
[0046] In the embodiment of the present invention, firstly, the improved IEEE10 machine 39 node system is divided into regions by using the spectral clustering method using the network topology and algebraic connectivity, and then a new power system regional inertia assessment method based on the improved controlled autoregressive moving average (ARMAX) model is proposed, and the recursive least squares algorithm containing the forgetting factor is used to identify the system transfer function, and the inertia assessment problem is transformed into the problem of parameter identification of the ARMAX model system transfer function. The normalized monitoring of the inertia level of the power system under small disturbance conditions is realized, providing auxiliary support for the dispatching and safe and stable control of the power grid.
[0047] In some possible embodiments, the improved IEEE-39 node power system is divided into regions using network topology and algebraic connectivity through a spectral clustering method to obtain partitioning results, including: constructing a Laplace matrix based on the network topology structure; calculating a characteristic matrix based on the Laplace matrix and determining the number of partitions; using the number of partitions as the number of clusters, and using a hierarchical clustering algorithm to perform cluster analysis on the characteristic matrix to obtain the partitioning results.
[0048] Here, the role of spectral clustering in power system partitioning is to identify strongly correlated areas within the system based on the Laplace matrix of the network topology structure, and to divide the areas according to the frequency response characteristics of the power system. Spectral clustering is a clustering method based on spectral graph theory. The basic idea is to construct a similarity matrix through the similarity between data points, where the data points represent the nodes of the graph, calculate the eigenvalues and eigenvectors of the Laplace matrix of the graph, perform eigendecomposition to obtain the eigenvectors that reflect the intrinsic structure of the data, and use the eigenvector (algebraic connectivity) corresponding to the minimum non-zero eigenvalue as the new feature space. Apply traditional clustering methods (such as k-means clustering) to the feature space to divide the data into different regions. The new power system partitioning flow chart of spectral clustering is shown below. Figure 3 shown.
[0049] Hierarchical clustering (Hierarchical) uses a bottom-up strategy, first treating each data point as a cluster, and then iteratively merging the two most similar clusters according to the objective function. In contrast, split hierarchical clustering initially treats all data points as one cluster, then iteratively selects a cluster and divides it into two sub-clusters. Compared with other types of clustering algorithms, the proximity between clusters is additionally considered and then used as the basic criterion for merging or splitting clusters.
[0050] Here is the hierarchical clustering algorithm process:
[0051] Input: data set, number of clusters k, number of representative points r, scaling factor α;
[0052] Output: clustering results.
[0053] (1): Select r representative points from the data set;
[0054] (2): Scale α toward the cluster center to obtain the reduced representative point;
[0055] (3): Merge the two nearest sub-clusters, and the distance between the clusters is the distance between the two nearest representative points;
[0056] (4): Repeat step (3) above until k clusters are merged;
[0057] (5): Assign the remaining points to the nearest cluster;
[0058] (6): Return the clustering results.
[0059] In addition, it can be seen that hierarchical clustering does not have a global objective function like the basic K-means, and does not have the problem of local minima or difficulty in selecting the initial point. The merging operation is often final, and once two clusters are merged, it cannot be undone.
[0060] In some possible embodiments, the construction of a Laplace matrix based on a network topology structure includes: determining a graph structure corresponding to the improved IEEE-39 node power system; wherein data points in the system are represented as nodes of the graph, and lines between data points are represented as edges of the graph; constructing a similarity matrix characterizing the degree of similarity between any two nodes in the graph structure through a similarity calculation method; constructing a degree matrix using a node degree index; and constructing a Laplace matrix based on the similarity matrix and the degree matrix.
[0061] Here, the corresponding similarity calculation method is selected to construct the similarity matrix, such as Euclidean distance, cosine similarity, etc. The construction of the similarity matrix directly affects the clustering effect of spectral clustering. The Laplace matrix is calculated using the similarity matrix. There are two main forms of the Laplace matrix, namely the normalized Laplace matrix and the non-normalized Laplace matrix. The specific construction process includes the following:
[0062] (1) Definition of a graph: F(X, E), where the connection between objects is described by its node set X and edge set E. It can be divided into undirected graphs and directed graphs according to whether the edges have directions: the edges of a directed graph have directions, indicating that there is a bidirectional relationship between two nodes. Undirected graphs reduce the complexity of the graph and are easier to analyze. The embodiment of the present invention only studies undirected graphs.
[0063] (2) The node set X can be expressed as: X = x1, x2, …, x m , m represents the number of nodes.
[0064] (3) The edge set can be expressed as: E = {(x i ,x j )|x i ,x j ∈X,(x i ,x j )∈E}, where (x i ,x j ) represents the node x i and x j The edge between.
[0065] (4) Definition of similarity matrix W: The similarity matrix is a matrix used to represent the similarity between nodes, W = w ij , where w ij Represents node x i and x j The degree of similarity between nodes. These similarities can be calculated based on the characteristics of the nodes. Common similarity metrics include Euclidean distance, cosine similarity, etc.
[0066] In some implementations, if the Euclidean distance is used to calculate the similarity, then two nodes x i and x j The similarity between ij It can be expressed as:
[0067]
[0068] Where σ is a parameter used to control the range of similarity.
[0069] In some other embodiments, cosine similarity is used to calculate the similarity, then two nodes x i and x j The similarity between ij It can be expressed as:
[0070]
[0071] In the formula, x i ·x j Represents x i and x j The dot product of ||x i || and ||x j || are x i and x j The Euclidean norm of .
[0072] (5) Construct the degree matrix A: The degree matrix is the number of edges d connected to each node in the graph. i The diagonal matrix A = diag(d1,…,dn ).
[0073] (6) Construct the Laplace matrix L: L∈ m×m , the unnormalized Laplace matrix is defined as L = AW.
[0074]
[0075] Mathematical properties of the Laplacian matrix in spectral clustering, including positive semidefiniteness, singularity, and symmetry.
[0076] (7) Normalized Laplace matrix L norm : Where I represents the unit matrix, L norm ∈ m×m .
[0077]
[0078] The quadratic form of the normalized Laplace is:
[0079]
[0080] The quadratic form of the normalized Laplace calculates the sum of the squares of the differences in the vector x, and the inverse of the reactance of the transmission line connecting node i and node j represents the edge weight.
[0081] The Laplacian matrix is a real symmetric matrix with a complete set of orthogonal eigenvectors. The corresponding eigenvalue set {0·λ1·λ2·...·λ N For a connected graph with λ1=0,λ2>0, the smallest non-zero eigenvalue λ2 is the algebraic connectivity, also known as the Federer eigenvalue.
[0082] Solve x T L norm The minimization problem of the quadratic form of the x-normalized Laplace determines the regions to which the nodes should be assigned, defining the boundaries in the power system network.
[0083] In some possible embodiments, calculating the characteristic matrix based on the Laplacian matrix and determining the number of partitions includes: calculating the eigenvalues and eigenvectors of the Laplacian matrix, mapping the nodes in the network to a low-dimensional representation; determining the number of partitions k based on algebraic connectivity; and forming the characteristic matrix from eigenvectors corresponding to k smallest eigenvalues.
[0084] Here, in the spectral clustering algorithm, constructing the similarity matrix and the Laplacian matrix is a preliminary step. Calculating the eigenvalues and eigenvectors of the Laplacian matrix, and arranging the eigenvalues and corresponding eigenvectors in ascending order reveals the partition characteristics of the network.
[0085] The Courant-Fischer theorem proves that the eigenvectors of a symmetric matrix are solutions to the following maximization and minimization problems: Let the Laplace matrix L norm is an m-dimensional symmetric matrix with eigenvalues λ1·λ2·...·λ m , the corresponding eigenvectors are u1,...,u m .So,
[0086]
[0087] The minimum eigenvalue λ1 of the Laplace matrix is the minimum value of the Laplace quadratic form. For a connected graph, the Laplace matrix will have a unique zero eigenvalue, and the minimum eigenvalue λ1 is equal to zero. The second smallest eigenvalue λ2 of the Laplace matrix is the algebraic connectivity, which can reveal the densely connected sub-regions in the graph and cluster the results. The larger the algebraic connectivity, the stronger the connectivity of the graph, and the more accurate the partitioning results.
[0088] It is worth noting that these eigenvectors that make up the feature matrix need to be normalized for subsequent clustering operations.
[0089] In some possible embodiments, the improved ARMAX model is constructed to evaluate the inertia of each region to obtain an estimated value of the inertia of each region, including: collecting active power change and frequency data output by nodes in the power system and preprocessing them; constructing the improved ARMAX model for each partition; reducing the order of the improved ARMAX model in combination with the AIC criterion and the model fitting index; identifying the parameters of the improved ARMAX model using a recursive least squares algorithm containing a forgetting factor in a small disturbance scenario, and extracting a discrete transfer function that characterizes the inertia characteristics of the generator in the ARMAX identification model; continuousizing the discrete transfer function to obtain a continuous-time transfer function, and applying a unit step signal; and calculating the size of the generator inertia time constant as the estimated value of the regional inertia through the unit step response of the continuous-time transfer function.
[0090] Here, if Figure 4 The figure shows the logic flow chart of the new power system regional inertia assessment method based on the improved ARMAX model, which mainly includes the following steps:
[0091] S1, data acquisition and preprocessing.
[0092] The data of active power and frequency change at the node outlet are collected, and the window size is dynamically adjusted through the sliding window method. The collected data includes the power of each node in the area, P1, P2...P n , and the frequency values f1,f2...f in each node n .
[0093] Data preprocessing, dynamically adjust the window size through the sliding window method, set the initial window length M for reading the online monitoring data after data preprocessing, define the calculation value of the current window as H(i), and introduce a criterion based on the difference ΔH between the inertia estimates of two consecutive windows in order to dynamically adjust the window length to adapt to data changes. The inertia estimates of two consecutive windows vary greatly, and the window length needs to be adjusted to obtain a more accurate assessment. Set the window adjustment range to the low threshold value M min To the high threshold value M max , adjust the step size to M step .
[0094]
[0095] When H(i) satisfies ΔHH2, the judgment window length should be reduced. The specific adjustment conditions of H1 and H2 are set according to the expected error size of inertia evaluation. The window length is always limited to M<h1> min To M max to ensure the rationality and effectiveness of the window length.
[0096] Preprocessing the data of the input model can ensure the validity and accuracy of the model. The preprocessing steps include removing abnormal data in the sampling, standardization, data segmentation, and de-meaning processing. The high-frequency noise disturbance signal with a frequency generally exceeding 0.5Hz is effectively filtered out by a low-pass filter. The active power disturbance is set as the input of the model identification, and the frequency disturbance is used as the output to further identify the regional inertia.
[0097] S2, construct ARMAX identification model.
[0098] The controlled autoregressive moving average (ARMAX) model is a type of error model. The model consists of three parts: autoregressive (AR), exogenous input (X) and moving average (MA). The relationship between the output of a linear time-invariant discrete-time system and its input and random disturbance can be expressed by the following formula:
[0099]
[0100] In the formula, z -1 is defined as the backshift operator, i.e. z -1u(t)=u(t-1), u(t) corresponds to the change in active power output at the node connected to the generator, which serves as the data input of the model; y(t) corresponds to the change in frequency of the node connected to the generator, which serves as the output of the model, and e(t) represents noise.
[0101] The parameter vector A(z) of the autoregressive part of the model, the parameter vectors B(z) and C(z) of the external input part, and the parameter vector of the moving average part are all based on z. -1 are constant time-invariant polynomials of variables, respectively defined as:
[0102]
[0103] In the formula, and is the parameter to be identified in the ARMAX identification model, n a and n b are the orders of the polynomials A(z) and B(z), respectively. These parameters are estimated through a data fitting process to best reflect the dynamic characteristics of the system.
[0104] S3, ARMAX model reduction combining AIC criterion and model fit index.
[0105] In the process of power system inertia assessment and identification, the Akaike Information Criterion (AIC) is used to determine the appropriate order of the ARMAX model. By combining the model fitting index, it aims to balance the complexity and fitting accuracy of the model, avoid over-matching the data set resulting in too high an order, capturing the noise in the data instead of reflecting the basic physical process of the system, thereby affecting the generalization performance of the model, and too low an order may cause the model to fail to fully capture the dynamic characteristics of the system. The definition of AIC is as follows:
[0106]
[0107] In the formula, Parameters (θ=[θ1,θ2,...,θ n ]) is the maximum likelihood estimate; represents the likelihood function of the model; is an estimate of the order of the ARMAX model.
[0108] Assessing how well a model fits the data usually involves the use of a likelihood function, which quantifies the probability of the observed data occurring given the model parameters. The model with the smallest AIC value is usually considered the best choice.
[0109] The steps of the ARMAX model order identification algorithm based on the AIC criterion and model fitting index are as follows:
[0110] S31: Calculate the AIC value at the corresponding order and compare the size intuitively by drawing a point-line graph.
[0111] S32: Using formula (11) to calculate the model fitting index of each order, it can describe the degree of fit of the identification model to the overall data:
[0112]
[0113] In the formula, x * Represents the calculated value, while the actual output value x and its mean
[0114] S33: Select the value with higher model fitting index and reasonable AIC range as the order of the final identified model.
[0115] S4, ARMAX model parameter identification using recursive least squares algorithm with forgetting factor.
[0116] The embodiment of the present invention uses a recursive least squares algorithm containing a forgetting factor to perform an ARMAX model parameter identification method on a new power system inertia. The forgetting factor is used to improve the correction of the parameter estimation value by new data, and the recursive algorithm is used to improve the algorithm tracking performance, so that the local trend of the non-stationary signal can be quickly tracked.
[0117] Finally, the least squares estimate at time t is:
[0118]
[0119] Where J(θ) is the weighted recursive least squares criterion function of the parameter vector; λ is the forgetting factor; is the predicted output at time k; t-k is the weight of the measurement value at time k.
[0120] In order to make the criterion function reach the minimum value, that is By reasonably setting the forgetting factor to balance the algorithm in terms of convergence speed and stability, the partial derivative of formula (13) is taken as 0 to obtain is the optimal parameter vector, and we get Parameter size.
[0121] S5, continuousize the discrete transfer function and solve the inertia estimate.
[0122] After the order of the ARMAX model is identified, (B(z) / A(z)) represents the deterministic part of the model, and the discrete transfer function G(z) of the dynamic relationship between power and frequency of the power system can be extracted, corresponding to the inertia time constant value:
[0123]
[0124] Using the Euler transform is an important step in linking the analysis of discrete-time systems to continuous-time systems. The operator z of the Z transform and the operator s of the Laplace transform are converted using the Euler formula:
[0125] z=e Ts ≈1+Ts formula (15);
[0126] Where Ts is the sampling period of the system. This approximation is based on the case where Ts is small, making e Ts It can be approximated by a first-order Taylor expansion.
[0127] To ensure that the identified model is stable in practical applications, the model is continuous and all the poles of the model in the s domain are checked to be located in the left half plane to ensure the stability of the continuous-time linear time-invariant system. The discrete transfer function G(z) can be converted to the general form of the continuous transfer function G(s). By replacing z with e Ts , the continuous transfer function G(s) is expressed as:
[0128]
[0129] Wherein, the coefficients in the converted continuous transfer function need to be recalculated and determined.
[0130] When a small disturbance occurs in the system, a small power imbalance can be represented by the inertia response of the virtual synchronous generator at the node in the system. It can be described by the rotor motion equation:
[0131]
[0132] Where Δf1 is the frequency deviation at the node, H G1 is the node virtual synchronous generator rotor inertia; P m1 is the mechanical power of the rotor, P e1 is the electromagnetic power of the rotor, both are expressed in per-unit values.
[0133] When a small disturbance occurs in the system, it can be assumed that the primary frequency modulation does not take effect, that is, the mechanical power input by the prime mover is constant, that is, ΔP m1 = 0, the time domain form of formula (17) is Laplace transformed into the complex frequency domain, and described as the transfer function G1(s) of the active power and frequency dynamic model with inertia characteristics:
[0134]
[0135] Where G1(s) is ΔP e1 The transfer function to Δf1, s is the Laplace operator.
[0136] Converting formula (18) into the time domain form yields:
[0137]
[0138] In the formula, g1(t) is directly obtained from the transfer function of the system, and its initial value in the time domain response when t approaches 0 is -1 / (2H G1 ), unit is s.
[0139] The regional equivalent inertia time constant is expressed as: Using the wind farm virtual inertia time constant To measure the inertia response effect of wind farm aggregation is to quantitatively describe the impact of wind farm virtual inertia control technology. It can be calculated by the following formula:
[0140]
[0141] In the formula, H G,i , H WF,j are the inertia of the i-th synchronous machine and the j-th wind farm with virtual inertia control, respectively; S G,i , S WF,j are the rated capacities of the i-th synchronous machine and the j-th wind farm with virtual inertia control, respectively; n and m are the number of synchronous machines and wind farms, respectively.
[0142] Inertia time constant H of power system with wind power virtual inertia response sys for:
[0143]
[0144] In the formula, is the inertia time constant of the entire network when no new energy units are included; is the inertia time constant of the whole network of the wind farm including virtual inertia control.
[0145] Compared with the existing new power system inertia assessment scheme, the embodiment of the present invention proposes an improved ARMAX model new power system regional inertia assessment method, by considering the regional division method of the new power system under the spectral clustering of the frequency response, taking into account the partition characteristics of the power system frequency response, and defining the active power change of the nodes in the region to reflect the power imbalance of the nodes, based on the needs of inertia level monitoring and stable operation of the power system in the new power system, the improved 10-machine 39-node system is divided into regions to obtain the partition results; then, an improved controlled autoregressive moving average (Auto Regressive Moving Average With Exogenous Inputs, ARMAX) model new power system regional inertia assessment method is proposed, and finally, a new power system regional inertia assessment method using a recursive least squares algorithm containing a forgetting factor is used to transform the inertia assessment problem into a problem of parameter identification of the improved ARMAX model, and the inertia constants of each region are summed to obtain the total inertia of the system. It provides a certain idea for solving the problem of regional inertia assessment of the power system, and the applicability of the method proposed by the present invention is verified by simulation and the following conclusions are drawn:
[0146] 1) The improved IEEE10-machine 39-node system is divided into regions using algebraic connectivity through the spectral clustering method, and the spectrum evaluation inertia partitioning scheme of the network Laplace matrix is considered. The partitioning method proposed in the embodiment of the present invention can meet the spatial perception of the power system in terms of frequency stability area.
[0147] 2) An improved ARMAX model for identifying the inertia of the power system is established, and on this basis, a system regional inertia assessment method using a recursive least squares algorithm with a forgetting factor is proposed. By comparing the method in this paper with the estimated value of the system inertia without partitioning, the solution of the method proposed in the embodiment of the present invention can obtain an assessment of the system inertia level with higher accuracy.
[0148] The novel power system regional inertia assessment method based on the improved ARMAX model is described below in conjunction with a specific embodiment. However, it should be noted that this specific embodiment is only for better illustrating the present invention and does not constitute an improper limitation to the present invention.
[0149] The IEEE-39 node network includes more complex node connection relationships, different transmission line reactances and generator inertia distributions, which can more realistically simulate the operating conditions of the actual power system. Load step disturbances are simulated at node 29. The electrical distance, node degree index, and the relationship with the maximum frequency change rate are analyzed. Figure 5 This is a schematic diagram of the network structure of the IEEE-39 node power system. Figure 6Displays the electrical distance from each node to the disturbance node (node 29). The node 34 is the farthest from node 29, followed by nodes 28 and 38, and 26. The electrical distance considers the impedance from the disturbance source to other nodes, which reflects the difficulty of the disturbance propagating in the power network. The greater the impedance of the line, the longer the electrical distance, and the weaker the effect of the disturbance propagation. Nodes located in different positions in the network but with similar electrical distances are identified by color coding (17, 25)-burgundy, (19, 23)-blue, (20, 20, 32)-orange, and other nodes are identified in green.
[0150] Figure 7 The node degree index from each node to the disturbance node (node 29) is displayed. The node degree index here uses a weighted node degree, where the weight is determined by the capacity of the unit connected to the node. Observe that a group of nodes with the same electrical distance are marked with burgundy. The node degree index is not related to the electrical distance. Considering not only the number of node connections but also the capacity of the units connected to the node, the node degree index can identify the key nodes in the network as nodes 5, 6, 10, 11, 13, and 16.
[0151] Figure 8 The maximum frequency change rate from each node to the disturbance node (node 29) is displayed. By analyzing the smaller amplitude of the frequency change rate of key nodes 5, 6, 10, 11, 13, and 16, it can be concluded that the larger the node degree index, the stronger the ability to disperse disturbances. By analyzing the role of the node degree index and the electrical distance in frequency stability, it can be concluded that the node 34 with the farthest electrical distance corresponds to the smallest frequency change rate, although its node degree index level is relatively small at 7 p.u., which proves that the electrical distance can better maintain the system frequency stability than the node degree index. Analyzing a group of burgundy nodes with the same electrical distance, node 16 with a higher node degree index has a slightly smaller frequency change rate under disturbance than node 25, so the node degree index is positively correlated with frequency stability.
[0152] In summary, although the electrical distance has a more significant effect on the frequency change rate than the node degree in the IEEE-39 node network simulation, both have an important impact on the dynamic stability of the network. A group of nodes with the same electrical distance shows that the response to disturbances is similar even if they are located in different positions in the network. Nodes with larger unit capacity connected to the node mean that the node has direct connections with more nodes in the network, and theoretically has stronger stability and the ability to disperse disturbances. The simulation results of the IEEE-39 node system confirm the importance of analysis based on graph theory for understanding the stability of power system networks.
[0153] Therefore, in the frequency response partitioning method of the new power system, the eigenvalues and eigenvectors of the network Laplace matrix need to consider not only the node degree index, that is, the diagonal elements of the Laplace matrix, but also the other component of the Laplace matrix, which is the similarity matrix, containing the sum of the electrical distance information between the nodes, which can provide a theoretical basis for the frequency stability of the network.
[0154] Fig. 9 To improve the algebraic connectivity of IEEE-39 nodes with different k values, we use formula (6) to calculate the minimum non-zero eigenvalue. The algebraic connectivity is a measure based on the connectivity of the graph. The larger the algebraic connectivity, the stronger the connectivity of the graph, the more accurate the division of sub-regions is, and the regions with similar frequency behavior are found in the network.
[0155] Table 1 Improved algebraic connectivity of IEEE-39 nodes with different k values
[0156]
[0157] When k=7, the algebraic connectivity is close to zero, indicating that a single node is partitioned, so this value needs to be eliminated. When k=6, the algebraic connectivity is larger, 3.074pu, followed by k=5, with a value of 2.891pu. The clustering method should focus on the algebraic connectivity of the cluster, which measures the connectivity of the network. The optimal k value for the improved IEEE-39 node is obtained, k=6.
[0158] It is allowed to cluster the characteristic matrix composed of the characteristic vectors corresponding to the minimum eigenvalues of the determined partition number k=6, and the 39 nodes are divided into six areas by the hierarchical clustering algorithm.
[0159] The tree diagram of the hierarchical clustering of the improved IEEE-39 node system is as follows Fig.10 As shown, the horizontal red dashed lines represent the six partitions. The dendrogram provides an intuitive view of how the data points are grouped into regions, reflecting the clustering relationships at different levels.
[0160] The results of improved IEEE-39 node partitioning using spectral clustering are shown in Table 2 and Fig.11 The system is divided into 6 areas. Area 1 and area 4 contain only single generators, namely G1 and G9. Area 2 contains generators G7 and wind farms with the same capacity as G6. Area 3 contains generators G4 and G5. Area 5 contains generators G2 and G3. Area 6 contains generators G8 and G10.
[0161] Table 2 Improved IEEE-39 node Hierarchical clustering partition results of spectral clustering
[0162]
[0163]
[0164] In order to verify the effectiveness of the evaluation method, an improved IEEE 10-machine 39-bus power system model was built in DIgSILENT / PowerFactory software. The partition results are shown in the figure below. Fig.11 As shown in the figure, it is the clustering result of the improved IEEE-39 node k when it is 6. It can be seen that after the power system is partitioned by the spectral clustering algorithm, the nodes in each area are highly connected, which not only reflects the topological structure of the power grid, but also can be used to analyze the spatiotemporal distribution characteristics of the system frequency response.
[0165] In the new online evaluation method of regional inertia of power system considering frequency dynamic response partitioning, a wind farm with equal capacity of synchronous generator set G6 is replaced at node 35 and equipped with virtual inertia control function. The total rated capacity of the system is taken as 1000MVA, and the rated capacity and inertia of each generator are shown in Table 3.
[0166] Table 3 Rated capacity and inertia of generator
[0167]
[0168] 1. Analysis of the Improved 10-machine 39-bus Power System Case Study under Disturbance
[0169] Set up scenario 1: Set up random loads based on steady-state frequency fluctuations, add disturbance loads with small fluctuations at nodes 7, 15, 23, 27, and 31, and replace generator G6 with a wind turbine controlled by virtual inertia. Calculate the regional estimated inertia under scenario 1, as shown in Table 4.
[0170] Table 4 Inertia identification results of the area containing new energy units under small disturbance in scenario 1
[0171]
[0172] The estimated inertia errors in scenario 1 are all in the range of 3.81%-7.91%, and the overall inertia assessment is relatively accurate and maintained at around 8%. The error in scenario 1 for region 3 is 7.91%, which is slightly higher than that in other regions. Analysis region 3 contains new energy units that are close to the disturbance location, making the region more sensitive to the swing, and the error analysis results in a higher error. The inertia estimation results of each region are combined to obtain the inertia estimation of the entire system, which can take into account both the global and local characteristics of the power system.
[0173] 2. Comparison of recursive least squares inertia evaluation algorithms with forgetting factor
[0174] In order to verify the accuracy of the established ARMAX model and the recursive least squares algorithm with forgetting factor, the active power fluctuation data was input into the model, and the frequency deviation value output by the model was compared with the actual measured frequency deviation. By comparing the accuracy of the full network inertia estimation results between the proposed method and the traditional least squares method, the accuracy of the model can be verified.
[0175] The random fluctuating load is applied to the load connected to the 29 nodes, and the inertia evaluation results of the 29 nodes are as follows: Fig.12 , showing that this method can achieve effective estimation of inertia at the node level. Method 1 uses the recursive least squares algorithm with the forgetting factor corresponding to Fig.12 The red curve in the middle corresponds to the traditional recursive least squares algorithm used in method 2. Fig.12 Medium blue curve.
[0176] The recursive least squares method with forgetting factor used in this study can effectively track the theoretical value of inertia and maintain the error within 3.5%, with a maximum error of 3.4% and a minimum error of 2.3%. The model output value of the proposed method is more consistent with the actual data. Compared with the maximum error of 6.8% and the minimum error of 3.6% before the improved algorithm, it proves that the improved algorithm has higher accuracy. When the system operation mode remains unchanged, the theoretical value of inertia remains basically stable, but there are still fluctuations. This shows that to a certain extent, the estimation algorithm is inevitably prone to certain errors. These errors come from a variety of factors, including data quality, the mathematical model assumptions of the algorithm, and the ability to process data during operation.
[0177] By comparing the calculation results of the model fitting indicators of the algorithms, the model fitting degree of method 1 using the recursive least squares algorithm with forgetting factor is 96%, and that of method 2 using the traditional recursive least squares algorithm is 89%. Such analysis results confirm that the recursive least squares algorithm containing the forgetting factor combined with the ARMAX model has high sensitivity to new data in processing the dynamic response analysis of power systems and is not affected by historical bad data. It has practical value, especially in dynamic tracking, and has better robustness in accurately evaluating system inertia.
[0178] 3. Comparative analysis of new power system partitioning methods using spectral clustering
[0179] Setting scenario 2: The disturbance is a sudden increase of 300MW load at node 27. The comparative analysis results of the system inertia estimation results of the spectral clustering partitioning algorithm in this paper and the system without partitioning are shown in Table 5.
[0180] Table 5 System inertia estimation results under different partitioning methods
[0181]
[0182] It can be seen from Table 5 that the estimation error when the spectral clustering partitioning algorithm provided by the embodiment of the present invention is 3.38%, which has a high accuracy. Compared with the system inertia estimation error of -7.61% when the system is not partitioned, the partitioning method adopted in aspect thirty-six divides the entire system into six regions, and the algebraic connectivity under spectral clustering can be used to analyze the power system partitions, and the regional inertia estimation accuracy of the power system frequency response is high.
[0183] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present invention. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present invention, the size of the serial number of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention. The serial numbers of the above-mentioned embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments.
[0184] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0185] The methods disclosed in several method embodiments provided by the present invention can be arbitrarily combined without conflict to obtain new method embodiments. The features disclosed in several method embodiments provided by the present invention can be arbitrarily combined without conflict to obtain new method embodiments.
[0186] The above is only an embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A new method for evaluating regional inertia of power system based on improved ARMAX model, characterized in that: include: The improved IEEE-39 node power system is divided into regions using network topology and algebraic connectivity through spectral clustering method, and the partition results are obtained. An improved ARMAX model is constructed to evaluate the inertia of each region to obtain an estimated value of the inertia of each region; wherein the improved ARMAX model is used to describe the mathematical relationship between the frequency change and the power increment; and the parameters to be identified of the improved ARMAX model are solved by using a recursive least squares algorithm containing a forgetting factor; The estimated inertia values of each region are summed to obtain the total inertia of the system.
2. The method according to claim 1, characterized in that: The improved IEEE-39 node power system is divided into regions by using the network topology and algebraic connectivity through the spectral clustering method, and the partition results are obtained, including: Construct a Laplacian matrix based on the network topology; Calculate a feature matrix based on the Laplacian matrix and determine the number of partitions; The number of partitions is used as the number of clusters, and a hierarchical clustering algorithm is used to perform cluster analysis on the feature matrix to obtain the partition result.
3. The method according to claim 2, characterized in that The constructing of the Laplace matrix based on the network topology structure includes: Determine a graph structure corresponding to the improved IEEE-39 node power system; wherein data points in the system are represented as nodes of the graph, and lines between the data points are represented as edges of the graph; Constructing a similarity matrix representing the degree of similarity between any two nodes in the graph structure by a similarity calculation method; Construct the degree matrix using node degree indicators; A Laplacian matrix is constructed based on the similarity matrix and the degree matrix.
4. The method according to claim 2, characterized in that: The step of calculating a feature matrix based on the Laplace matrix and determining the number of partitions includes: Calculating the eigenvalues and eigenvectors of the Laplacian matrix to map nodes in the network to a low-dimensional representation; Determine the number of partitions k based on algebraic connectivity; The characteristic matrix is composed of the eigenvectors corresponding to the k smallest eigenvalues.
5. The method according to any one of claims 1 to 4, characterized in that: The improved ARMAX model is constructed to evaluate the inertia of each region to obtain the estimated value of the inertia of each region, including: Collect active power change and frequency data output by nodes in the power system and perform preprocessing; Constructing the improved ARMAX model for each partition; The improved ARMAX model is reduced in order by combining the AIC criterion and the model fitting index; In a small disturbance scenario, the parameters of the improved ARMAX model are identified using a recursive least squares algorithm with a forgetting factor, and a discrete transfer function representing the inertia characteristics of the generator in the ARMAX identification model is extracted; Continuizing the discrete transfer function to obtain a continuous-time transfer function, and applying a unit step signal; The magnitude of the generator inertia time constant is calculated according to the unit step response of the continuous-time transfer function as the regional inertia estimation value.
6. The method according to claim 5, characterized in that The functional expression of the improved ARMAX model is: In the formula, z -1 is defined as the backshift operator, i.e. z -1 u(t)=u(t-1), u(t) corresponds to the change in active power output at the node connected to the generator, which serves as the data input of the model; y(t) corresponds to the change in frequency of the node connected to the generator, which serves as the output of the model, and e(t) represents noise.
7. The method according to claim 5, characterized in that The improved ARMAX model includes an autoregressive part, an external input part and a moving average part; The parameter vector A(z) of the autoregressive part, the parameter vectors B(z) and C(z) of the external input part, and the parameter vector of the moving average part are all based on z. -1 are constant time-invariant polynomials of variables, respectively defined as: In the formula, and is the parameter to be identified in the ARMAX identification model, n a and n b are the orders of the polynomials A(z) and B(z), respectively.
Citation Information
Cited By
Intelligent dosing method and system for wastewater treatment based on Internet of Things technology
CN119761748A
An intelligent dosing method and system for wastewater treatment based on Internet of Things technology
CN119761748B
Power system region division method considering frequency space-time distribution characteristics
CN120372335A
Intelligent park digital twinning system and method based on artificial intelligence
CN120372915A
A Smart Park Digital Twin System and Method Based on Artificial Intelligence
CN120372915B
