Online measurement method and system of regional power system generalized inertia based on frequency space distribution and operating condition adaptation

By adopting an adaptive method based on frequency spatial distribution and operating conditions, the problems of unutilized frequency spatial differences and insufficient weight adaptability in regional inertial measurement are solved. This enables the quantification of accuracy and reliability of inertial measurement under conditions of high proportion of new energy and energy storage access, and supports online evaluation.

CN123136238APending Publication Date: 2026-11-20NANJING NORMAL UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611384449.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-08
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing regional inertia measurement methods fail to fully utilize frequency spatial differences, the weight of measurement points is not adaptable to changes in operating mode, instantaneous differential is sensitive to bad data, and inertia results lack reliable quantification, making it difficult to adapt to power systems with a high proportion of new energy and energy storage.

Method used

By using a method based on frequency spatial distribution and adaptive operating conditions, regional power system parameters and historical data are obtained, cluster analysis is performed, frequency spatial distribution indices and weights are calculated, robust estimation and reliability assessment are adopted, and measurement point weights and time windows are adaptively adjusted to reduce error sensitivity and provide real-time online measurement of generalized inertia.

Benefits of technology

It improves the accuracy and reliability of inertia measurement in regional power systems under conditions of high integration of new energy and energy storage, reduces the misleading effect of local frequency characteristics and data noise, and provides reliable quantitative support for online evaluation of inertia results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123136238A_ABST
    Figure CN123136238A_ABST
Patent Text Reader

Abstract

The application discloses a kind of based on frequency space distribution and operating condition adaptive regional power system generalized inertia on-line measurement method and system, method includes: solving regional inertia center frequency;Calculate regional frequency space distribution index, and solve the weight of measuring point frequency to regional inertia center frequency;Select the most similar N typical operating mode cluster, match to obtain current weight;Calculate regional current inertia center frequency and frequency change rate;Construct event trigger criterion, adaptively determine inertia measurement effective time window;In effective time window, using robust parameter estimation obtains regional generalized inertia;Calculate inertia measurement reliability, based on reliability, complete abnormal inertia result rejection and final inertia result selection.The application can reduce the influence of single-point frequency, fixed weight and instantaneous difference on inertia measurement result, and is suitable for online sensing and evaluation of regional power system generalized inertia under the condition of high proportion of new energy and energy storage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of power and relates to online monitoring and stability analysis technology. Specifically, it relates to an online measurement method and system for the generalized inertia of a regional power system based on frequency spatial distribution and adaptive operating conditions. Background Technology

[0002] Power system inertia reflects the system's ability to suppress rapid frequency changes after a power imbalance occurs. Traditional regional inertia estimation usually assumes a high degree of consistency in frequency changes among nodes within the region, and often uses a single representative frequency, a fixed weighted frequency, or is calculated from synchronous machine parameters.

[0003] As the proportion of new energy, energy storage, and power electronic interface loads increases, the sources of regional power system inertia are gradually expanding from synchronous rotating inertia to synchronous machine inertia, load inertia, and virtual inertia response generated by controllers. Meanwhile, weak power grids and power electronic control can cause significant spatial differences in disturbance propagation, with different measurement points exhibiting different frequency deviations and rates of change under the same disturbance. If single-point frequencies or fixed-weighted synthesized frequencies are still used, local frequency characteristics can easily be mistaken for the overall regional response.

[0004] Existing inertia measurement methods still have three engineering problems: First, the weights are usually determined by offline experience or static parameters, which makes it difficult to adapt to changes in unit combination, network topology, and power flow patterns; second, inertia is often calculated based on the difference components within a single moment or fixed time window, and PMU bad data, local oscillations, and premature intervention of primary frequency regulation may amplify the error; third, the measurement results usually only give a single inertia value, lacking a quantitative description of the reliability of the result, making it difficult to directly support online operation evaluation.

[0005] Therefore, it is necessary to propose an online measurement method that can explicitly characterize the spatial distribution of regional frequency, adaptively correct the measurement point weights according to the operating mode and real-time frequency feedback, robustly estimate the regional generalized inertia using multiple sampling points, and simultaneously provide the reliability of the results. Summary of the Invention

[0006] Purpose of the invention: To address the problems in existing regional inertia measurements, such as underutilization of frequency spatial differences, insufficient adaptability of measurement point weights to changes in operating conditions, sensitivity of instantaneous differences to bad data, and lack of reliable quantification of inertia results, this invention provides an online measurement method and system for generalized inertia of regional power systems based on frequency spatial distribution and operating conditions. This method can reduce the impact of single-point frequency, fixed weights, and instantaneous differences on inertia measurement results and is suitable for online sensing and evaluation of generalized inertia of regional power systems under conditions of high integration of new energy sources and energy storage.

[0007] Technical Solution: To achieve the above objectives, this invention provides an online method for measuring the generalized inertia of a regional power system based on frequency spatial distribution and operating conditions, comprising the following steps:

[0008] S1: Obtain parameter data, current operating data, and historical operating data of the regional power system;

[0009] S2: Cluster the acquired historical operating data according to operating conditions to obtain K typical operating mode clusters; for each typical operating mode cluster, solve for the regional inertia center frequency under the historical operating mode;

[0010] S3: Based on the frequency, frequency change rate and spatial differences of multiple frequency measurement points in the historical sample set, calculate the regional frequency spatial distribution index, and combine the electrical distance of the measurement points and the measurement data to solve the weight of the measurement point frequency on the regional inertia center frequency.

[0011] S4: Obtain the frequency measurement values ​​of the frequency measurement points of the current regional power system, select the N most similar typical operating mode clusters, and select or interpolate the current weight based on the matching degree between the current operating mode and the similar operating mode clusters.

[0012] S5: Calculate the current inertia center frequency and frequency change rate of the region based on the current power grid measurement point frequency measurement value and the weight of the measurement point frequency to the regional inertia center frequency.

[0013] Based on the rate of change of the regional inertia center frequency, the change of active power at the regional boundary, and the frequency spatial consistency, an event triggering criterion is constructed, and the effective time window for inertia measurement is adaptively determined when the triggering conditions are met.

[0014] S6: Within the effective time window, the generalized inertia of the region is obtained by robust parameter estimation based on the dynamic relationship between the active power imbalance at the regional boundary and the rate of change of the regional inertia center frequency.

[0015] S7: Calculate the reliability of inertia measurement based on frequency spatial consistency, PMU measurement quality, and multi-time window estimation stability. Based on the reliability, complete the elimination of abnormal inertia results and the selection of the final inertia result.

[0016] Furthermore, the parameter data of the regional power system in step S1 includes: parameters of various types of generating units, load parameters, and network parameters;

[0017] Network parameter data includes: power grid topology and AC / DC connection methods of power lines;

[0018] The unit parameter data includes: the capacity of the synchronous generator, synchronous condenser, new energy sources, energy storage, and the unit's inertia time constant;

[0019] Load parameter data includes: motor inertia time constant and static load equivalent inertia time constant;

[0020] Current operational data for the regional power system includes:

[0021] Frequency measurement point frequency value: The frequency value of the measurement point is calculated based on the voltage sampling value of the measurement point and must include a time stamp;

[0022] The PMU measurements at the area boundary include: the time-stamped voltage, current, and phase values ​​of all tie lines from within the area to outside the area;

[0023] Historical operational data for the regional power system includes:

[0024] Measurement point frequency value: The measurement point frequency value is calculated based on the voltage sampling value of the measurement point and needs to be time-stamped;

[0025] The inertia center frequency value of the regional power system is calculated based on the inertia parameters and node frequencies.

[0026] Weight of measurement point frequency to regional inertia center frequency: calculated based on the measurement point frequency value and the regional inertia center frequency value.

[0027] Furthermore, the clustering algorithm in step S2 is K-means; the operating conditions include: total system load level, start-up mode or spinning reserve level, proportion or level of renewable energy output, power flow or DC transmission power at key sections, network topology status or status of important lines in operation or shutdown. Each group of historical operating modes is represented as a feature vector. Sample of each historical operation mode The distances to each cluster center are calculated using Euclidean distance.

[0028] Furthermore, in step S2, the calculation of the regional inertia center frequency under the historical operating mode considers the generalized inertia, including the virtual inertia of new energy / energy storage and the load inertia of the region. The calculation formula is as follows:

[0029]

[0030] in, Let j be the inertial constant of the new energy unit. Let j be the node frequency of the new energy unit. Let k be the inertial constant of the load. Let k be the node frequency of load k; = , This represents the frequency response coefficient of the controller.

[0031] Furthermore, the method for calculating the weight of the regional inertia center frequency in step S3 is as follows:

[0032] Calculate the reference inertia center frequency based on a similar historical sample set. And construct regional frequency spatial distribution index ;

[0033] The degree of dispersion of the measurement point relative to the reference center frequency:

[0034]

[0035] in, Used to characterize the spatial consistency of frequency response within a region Let i be the frequency of the i-th measurement point. The reference center frequency is obtained from similar historical samples;

[0036] Weight of measurement point frequency to the regional inertia center frequency By solving a constrained optimization problem, we obtain the objective function, which combines reconfiguration bias and electrical distance penalty. and Solving for the initial weights under the constraint of =1 This constraint ensures that the reconstructed center frequency always lies within the convex hull of the measurement point frequency and prevents a single abnormal measurement point from receiving a large, non-physical weight.

[0037] Minimize the deviation between the reconstructed center frequency and the reference center frequency in similar historical samples, while simultaneously incorporating an electrical distance penalty term; constraints include... ≥0 and =1;

[0038]

[0039]

[0040] in: This is the initial frequency weight vector; For similar historical sample sets; Penalty items related to the electrical distance of the measuring point; This corresponds to the regularization coefficient.

[0041] Furthermore, in step S4, the current operating data is constructed into the same operating condition feature vector as the cluster and standardized, and its Euclidean distance with the cluster center of each typical operating mode cluster is calculated; the weight corresponding to the cluster with the highest matching degree is selected; if the current operating condition is between multiple clusters, the weights of each cluster are weighted and interpolated according to the inverse of the distance to obtain the weights adapted to the current operating mode, which are used for subsequent calculation of the regional inertia center frequency.

[0042] Furthermore, in step S5, the current inertia center frequency of the region The calculation formula is:

[0043]

[0044] Rate of change of frequency The calculation method is as follows:

[0045] .

[0046] Furthermore, the construction of the event triggering criterion in step S5 includes:

[0047] The event triggering condition must meet at least two of the following conditions simultaneously:

[0048] Rate of change of frequency at the center of regional inertia | |Exceeds the first threshold;

[0049] The active power mutation at the regional boundary, |ΔP|, exceeds the second threshold; the frequency spatial consistency index meets the preset range.

[0050] The starting point of the effective time window for inertia measurement is based on the moment when the power exceeds the threshold or The threshold time is determined, and the endpoint is determined by the percentage of the frequency change rate decaying to the maximum rate of change. The effective time window is used to obtain power and frequency data from multiple sampling points, avoiding large errors caused by differential calculations at single points.

[0051] Furthermore, in step S6, the generalized inertia of the region is obtained by robustly regressing multiple sampling points within the effective time window and using the changes in active power at the region boundary and the rate of change of the region's inertia center frequency at multiple times. The calculation formula is as follows:

[0052]

[0053] in, It is the change in power at the regional boundary. This represents the change in total power at the regional boundary; yes The center frequency of inertia in the time region and The deviation of the center frequency of inertia in the time region; It is the generalized inertia of the region; ε is the residual term formed by measurement noise and unmodeled fast power response.

[0054] Unlike methods that directly calculate ratios based on single-point differences, this invention utilizes multiple sampling points within an effective time window for parameter regression. It employs at least one robust estimation method, either random sample consensus estimation or weighted least squares, to reduce the impact of PMU bad points, local oscillations, and short-term control pulses on the inertia results, thereby obtaining the regional generalized inertia. .

[0055] Furthermore, the reliability of the inertia measurement in step S7 The results are derived from a combination of four indices: fitting residuals, regional frequency spatial consistency, PMU data integrity and timescale quality, and multi-time-window estimation stability. When the result is below the threshold, it is marked as low confidence and not included in the final inertia output; when multiple qualified events exist, the one with higher confidence and frequency change rate is selected first. Results with larger amplitude and lower residuals within the effective time window.

[0056]

[0057]

[0058] in: To ensure the reliability of inertia measurements; The score is the score of the fitted residual. Frequency space consistency score; PMU data quality score; To obtain the multi-window stability score, robust regression estimation is used within the effective time window. And obtained through repeated estimation via sliding sub-window. 1. ,2… m. Calculated based on the dispersion of the results from each sub-window. The rest are obtained by comparing current data with historical data; The weights for each component are obtained based on historical measurement data.

[0059] This invention also provides an online measurement system for the generalized inertia of a regional power system based on frequency spatial distribution and operating conditions, comprising:

[0060] Data acquisition module: Acquires parameter data, current operating data, and historical operating data of the regional power system;

[0061] Historical Operating Mode Regional Inertia Center Frequency Calculation Module: Used to calculate the regional inertia center frequency based on inertia parameters and node frequencies for historical operating modes;

[0062] The module for calculating the weight of the measurement point frequency to the regional inertia center frequency is used to calculate the weight of the measurement point frequency to the regional inertia center frequency based on the regional inertia center frequency and the measurement point frequency, which are similar to those in historical operation modes.

[0063] Start measurement and calculation module: used to construct event triggering criteria to start measurement and calculation events based on the rate of change of the regional inertia center frequency, the change of active power at the regional boundary, and frequency spatial consistency;

[0064] Regional inertia calculation module: Calculates the regional power system inertia based on regional boundary PMU measurement data and system inertia center frequency;

[0065] The module for verifying and selecting regional inertia calculation results: Based on credibility, it completes the elimination of abnormal inertia results and the selection of the final inertia result.

[0066] Beneficial effects: Compared with the prior art, the present invention has the following advantages:

[0067] 1. Upgrade from a single frequency to a dynamic center frequency that considers the spatial distribution of frequencies. By explicitly calculating the regional frequency spatial distribution index and simultaneously considering the consistency of electrical distance and frequency change rate, the misleading effect of local frequency characteristics on regional inertia estimation can be reduced.

[0068] 2. Method for obtaining the weight of measurement point frequency to regional inertia center frequency: Existing technology obtains it based on a certain operating condition. This invention is based on the cluster weight solution of historical operating conditions clustering, and real-time operating condition matching and adaptive weight adjustment.

[0069] 3. Existing technologies use a single frequency change rate as the trigger criterion. This invention uses the regional inertia center frequency change rate, regional boundary active power change, and frequency spatial consistency trigger criterion to adaptively determine the effective time window for inertia measurement when the trigger conditions are met.

[0070] 4. The calculation method has been upgraded from single-moment ratio calculation to robust estimation with multiple sampling points within the event time window. It is less sensitive to bad data, local oscillations, and noise.

[0071] 5. The output has been upgraded from a single inertia value to a structured output of "inertia value + credibility + effective measurement point set + measurement time window", which helps dispatchers and operators determine whether the results can be used for online safety assessment.

[0072] 6. The synchronous machine, load, and rapid inertial sample response formed by the control of new energy and energy storage are uniformly characterized as the generalized inertia of the observable region within the disturbance window, avoiding the insufficient online applicability caused by relying solely on the summation of equipment nameplate parameters. Attached Figure Description

[0073] Figure 1 This is a schematic flowchart of the method of the present invention;

[0074] Figure 2 This is a schematic diagram illustrating the principle of inertia measurement in a regional power system. Detailed Implementation

[0075] The present invention will be further illustrated below with reference to the accompanying drawings and specific embodiments. It should be understood that these embodiments are for illustrative purposes only and are not intended to limit the scope of the invention. After reading this invention, any modifications of the invention in various equivalent forms by those skilled in the art will fall within the scope defined by the appended claims.

[0076] Example 1:

[0077] like Figure 1 As shown, this embodiment provides an online measurement method for the generalized inertia of a regional power system based on frequency spatial distribution and operating conditions, including the following steps:

[0078] S1: Obtain parameter data, current operating data, and historical operating data of the regional power system;

[0079] The parameter data of the regional power system includes: parameters of various types of generating units, load parameters, and network parameters;

[0080] Network parameter data includes: power grid topology and AC / DC connection methods of power lines;

[0081] The unit parameter data includes: the capacity of the synchronous generator, synchronous condenser, new energy sources, energy storage, and the unit's inertia time constant;

[0082] Load parameter data includes: motor inertia time constant and static load equivalent inertia time constant;

[0083] Current operational data for the regional power system includes:

[0084] Frequency measurement point frequency value: The frequency value of the measurement point is calculated based on the voltage sampling value of the measurement point and must include a time stamp;

[0085] The PMU measurements at the area boundary include: the time-stamped voltage, current, and phase values ​​of all tie lines from within the area to outside the area;

[0086] Historical operational data for the regional power system includes:

[0087] Measurement point frequency value: The measurement point frequency value is calculated based on the voltage sampling value of the measurement point and needs to be time-stamped;

[0088] The inertia center frequency value of the regional power system is calculated based on the inertia parameters and node frequencies.

[0089] Weight of measurement point frequency to regional inertia center frequency: calculated based on the measurement point frequency value and the regional inertia center frequency value.

[0090] S2: Cluster the acquired historical operating data according to operating conditions to obtain K typical operating mode clusters; for each typical operating mode cluster, solve for the regional inertia center frequency under the historical operating mode;

[0091] The clustering algorithm is K-means; the operating conditions include: total system load level, operating mode or spinning reserve level, proportion or level of renewable energy output, power flow or DC transmission power at key sections, network topology status or status of important lines in operation or shutdown. Each historical operating mode is represented as a feature vector. Sample of each historical operation mode The distances to each cluster center are calculated using Euclidean distance.

[0092] The solution for the regional inertia center frequency under historical operating conditions considers the generalized inertia, including the virtual inertia of new energy / energy storage and the load inertia of the region. The calculation formula is as follows:

[0093]

[0094] in, Let j be the inertial constant of the new energy unit. Let j be the node frequency of the new energy unit. Let k be the inertial constant of the load. Let k be the node frequency of load k; = , This represents the frequency response coefficient of the controller.

[0095] S3: Based on the frequency, frequency change rate and spatial differences of multiple frequency measurement points in the historical sample set, calculate the regional frequency spatial distribution index, and combine the electrical distance of the measurement points and the measurement data to solve the weight of the measurement point frequency on the regional inertia center frequency.

[0096] In this embodiment, the method for calculating the weight of the regional inertia center frequency is as follows:

[0097] Calculate the reference inertia center frequency based on a similar historical sample set. And construct regional frequency spatial distribution index ;

[0098] The degree of dispersion of the measurement point relative to the reference center frequency:

[0099]

[0100] in, Used to characterize the spatial consistency of frequency response within a region Let i be the frequency of the i-th measurement point. The reference center frequency is obtained from similar historical samples;

[0101] Weight of measurement point frequency to the regional inertia center frequency By solving a constrained optimization problem, we obtain the objective function, which combines reconfiguration bias and electrical distance penalty. and Solving for the initial weights under the constraint of =1 This constraint ensures that the reconstructed center frequency always lies within the convex hull of the measurement point frequency and prevents a single abnormal measurement point from receiving a large, non-physical weight.

[0102] Minimize the deviation between the reconstructed center frequency and the reference center frequency in similar historical samples, while simultaneously incorporating an electrical distance penalty term; constraints include... ≥0 and =1;

[0103]

[0104]

[0105] in: This is the initial frequency weight vector; For similar historical sample sets; Penalty items related to the electrical distance of the measuring point; This corresponds to the regularization coefficient.

[0106] S4: Obtain the frequency measurement values ​​of the frequency measurement points of the current regional power system, select the N most similar typical operating mode clusters, and select or interpolate the current weight based on the matching degree between the current operating mode and the similar operating mode clusters.

[0107] The current operating data is constructed into the same operating condition feature vector as the cluster and standardized. The Euclidean distance between the vector and the cluster center of each typical operating mode is calculated. The weight corresponding to the cluster with the highest matching degree is selected. If the current operating condition is between multiple clusters, the weights of each cluster are weighted and interpolated according to the inverse of the distance to obtain the weights adapted to the current operating mode, which are used for subsequent calculation of the regional inertia center frequency.

[0108] S5: Calculate the current inertia center frequency and frequency change rate of the region based on the current power grid measurement point frequency measurement value and the weight of the measurement point frequency to the regional inertia center frequency.

[0109] Based on the rate of change of the regional inertia center frequency, the change of active power at the regional boundary, and the frequency spatial consistency, an event triggering criterion is constructed, and the effective time window for inertia measurement is adaptively determined when the triggering conditions are met.

[0110] Current inertia center frequency of the region The calculation formula is:

[0111]

[0112] Rate of change of frequency The calculation method is as follows:

[0113]

[0114] The construction of event triggering criteria includes:

[0115] The event triggering condition must meet at least two of the following conditions simultaneously:

[0116] Rate of change of frequency at the center of regional inertia | |Exceeds the first threshold;

[0117] The active power mutation at the regional boundary, |ΔP|, exceeds the second threshold; the frequency spatial consistency index meets the preset range.

[0118] Crossing the threshold or The threshold time is determined, and the endpoint is determined based on the percentage of the frequency change rate decaying to the maximum rate of change (20% in this embodiment). The effective time window is used to obtain power and frequency from multiple sampling points, avoiding large errors caused by differential calculations at a single point.

[0119] S6: Within the effective time window, the generalized inertia of the region is obtained by robust parameter estimation based on the dynamic relationship between the active power imbalance at the regional boundary and the rate of change of the regional inertia center frequency.

[0120] like Figure 2 As shown, the generalized inertia of the region is obtained by robust regression of multiple sampling points within the effective time window, using the changes in active power at the region boundary and the rate of change of the region's inertia center frequency at multiple times. The calculation formula is as follows:

[0121]

[0122] in, It is the change in power at the regional boundary. This represents the change in total power at the regional boundary; yes The center frequency of inertia in the time region and The deviation of the center frequency of inertia in the time region; It is the generalized inertia of the region; ε is the residual term formed by measurement noise and unmodeled fast power response.

[0123] Unlike methods that directly calculate ratios based on single-point differences, this invention utilizes multiple sampling points within an effective time window for parameter regression. It employs at least one robust estimation method, either random sample consensus estimation or weighted least squares, to reduce the impact of PMU bad points, local oscillations, and short-term control pulses on the inertia results, thereby obtaining the regional generalized inertia. .

[0124] S7: Calculate the reliability of inertia measurement based on frequency spatial consistency, PMU measurement quality, and multi-time window estimation stability. Based on the reliability, complete the elimination of abnormal inertia results and the selection of the final inertia result.

[0125] Inertia measurement reliability The results are derived from a combination of four indices: fitting residuals, regional frequency spatial consistency, PMU data integrity and timescale quality, and multi-time-window estimation stability. When the result is below the threshold, it is marked as low confidence and not included in the final inertia output; when multiple qualified events exist, the one with higher confidence and frequency change rate is selected first. Results with larger amplitude and lower residuals within the effective time window.

[0126]

[0127]

[0128] in: To ensure the reliability of inertia measurements; The score is the score of the fitted residual. Frequency space consistency score; PMU data quality score; To obtain the multi-window stability score, robust regression estimation is used within the effective time window. And obtained through repeated estimation via sliding sub-window. 1. ,2… m. Calculated based on the dispersion of the results from each sub-window. The rest are obtained by comparing current data with historical data; The weights for each component are obtained based on historical measurement data.

[0129] In this embodiment, if a line is put into service or shut down, a synchronous machine is started or stopped, a new energy source changes significantly, or a boundary exchange power jump occurs in the region, causing the distance between the current operating mode feature vector and the existing sample center to exceed a threshold, then the original initial weights are suspended, and similar operating modes are re-selected from the historical sample library.

[0130] The initial weights are recalculated for a new set of similar samples, and these new weights are used as the starting point for online recursion. This mechanism ensures that weight changes are driven not only by frequency measurement errors but also by changes in the operational structure, thereby reducing long-term weight drift.

[0131] In this embodiment, when a short-term jump, packet loss, or time stamp anomaly occurs at a certain frequency measurement point, the data quality module reduces the corresponding... The maximum weight is limited during online weight projection; if the anomaly persists for more than a set time, the measurement point is removed from the set of valid measurement points.

[0132] In the inertia regression stage, a robust loss function is used to reduce the weight of sampling points with large residuals. If the number of effective samples is insufficient after removing outliers, the inertia result is directly marked as low confidence and is not output as the final measurement value.

[0133] Example 2:

[0134] Based on the method of Embodiment 1, this embodiment provides a regional power system generalized inertia online measurement system based on frequency spatial distribution and operating condition adaptation, including:

[0135] Data acquisition module: Acquires parameter data, current operating data, and historical operating data of the regional power system;

[0136] Historical Operating Mode Regional Inertia Center Frequency Calculation Module: Used to calculate the regional inertia center frequency based on inertia parameters and node frequencies for historical operating modes;

[0137] The module for calculating the weight of the measurement point frequency to the regional inertia center frequency is used to calculate the weight of the measurement point frequency to the regional inertia center frequency based on the regional inertia center frequency and the measurement point frequency, which are similar to those in historical operation modes.

[0138] Start measurement and calculation module: used to construct event triggering criteria to start measurement and calculation events based on the rate of change of the regional inertia center frequency, the change of active power at the regional boundary, and frequency spatial consistency;

[0139] Regional inertia calculation module: Calculates the regional power system inertia based on regional boundary PMU measurement data and system inertia center frequency;

[0140] The module for verifying and selecting regional inertia calculation results: Based on credibility, it completes the elimination of abnormal inertia results and the selection of the final inertia result.

Claims

1. A method for online measurement of generalized inertia of regional power systems based on adaptive frequency spatial distribution and operating conditions, characterized in that, Includes the following steps: S1: Obtain parameter data, current operating data, and historical operating data of the regional power system; S2: Cluster the acquired historical operating data according to operating conditions to obtain K typical operating mode clusters; for each typical operating mode cluster, solve for the regional inertia center frequency under the historical operating mode; S3: Based on the frequency, frequency change rate and spatial differences of multiple frequency measurement points in the historical sample set, calculate the regional frequency spatial distribution index, and combine the electrical distance of the measurement points and the measurement data to solve the weight of the measurement point frequency on the regional inertia center frequency. S4: Obtain the frequency measurement values ​​of the frequency measurement points of the current regional power system, select the N most similar typical operating mode clusters, and select or interpolate the current weight based on the matching degree between the current operating mode and the similar operating mode clusters. S5: Calculate the current inertia center frequency and frequency change rate of the region based on the current power grid measurement point frequency measurement value and the weight of the measurement point frequency to the regional inertia center frequency. Based on the rate of change of the regional inertia center frequency, the change of active power at the regional boundary, and the frequency spatial consistency, an event triggering criterion is constructed, and the effective time window for inertia measurement is adaptively determined when the triggering conditions are met. S6: Within the effective time window, the generalized inertia of the region is obtained by robust parameter estimation based on the dynamic relationship between the active power imbalance at the regional boundary and the rate of change of the regional inertia center frequency. S7: Calculate the reliability of inertia measurement based on frequency space consistency, PMU measurement quality, and multi-time window estimation stability. Based on the reliability, complete the elimination of abnormal inertia results and the selection of the final inertia result.

2. The method for online measurement of generalized inertia of a regional power system based on frequency spatial distribution and adaptive operating conditions as described in claim 1, characterized in that, The parameter data of the regional power system in step S1 includes: parameters of various types of generating units, load parameters, and network parameters. Network parameter data includes: power grid topology and AC / DC connection methods of power lines; The unit parameter data includes: the capacity of the synchronous generator, synchronous condenser, new energy sources, energy storage, and the unit's inertia time constant; Load parameter data includes: motor inertia time constant and static load equivalent inertia time constant; Current operational data for the regional power system includes: Frequency measurement point frequency value: The frequency value of the measurement point is calculated based on the voltage sampling value of the measurement point and must include a time stamp; The PMU measurements at the area boundary include: the time-stamped voltage, current, and phase values ​​of all tie lines from within the area to outside the area; Historical operational data for the regional power system includes: Measurement point frequency value: The measurement point frequency value is calculated based on the voltage sampling value of the measurement point and needs to be time-stamped; The inertia center frequency value of the regional power system is calculated based on the inertia parameters and node frequencies. Weight of measurement point frequency to regional inertia center frequency: calculated based on the measurement point frequency value and the regional inertia center frequency value.

3. The method for online measurement of generalized inertia of a regional power system based on frequency spatial distribution and operating condition adaptation as described in claim 1, characterized in that, In step S2, the clustering algorithm is K-means; the operating conditions include: total system load level, operating mode or spinning reserve level, proportion or level of renewable energy output, power flow or DC transmission power at key sections, network topology status or status of important lines in operation or shutdown. Each set of historical operating modes is represented as a feature vector. Sample of each historical operation mode The distances to each cluster center are calculated using Euclidean distance.

4. The method for online measurement of generalized inertia of a regional power system based on frequency spatial distribution and operating condition adaptation as described in claim 1, characterized in that, The solution for the regional inertia center frequency under the historical operating mode in step S2 considers the generalized inertia, including the virtual inertia of new energy / energy storage and the load inertia of the region. The calculation formula is as follows: ; in, Let j be the inertial constant of the new energy unit. Let j be the node frequency of the new energy unit. Let k be the inertial constant of the load. Let k be the node frequency of load k; = , This is the frequency response coefficient of the controller.

5. The method for online measurement of generalized inertia of a regional power system based on frequency spatial distribution and operating condition adaptation as described in claim 4, characterized in that, The method for calculating the weight of the regional inertia center frequency in step S3 is as follows: Calculate the reference inertia center frequency based on a similar historical sample set. And construct regional frequency spatial distribution index ; The degree of dispersion of the measurement point relative to the reference center frequency: ; in, Used to characterize the spatial consistency of frequency response within a region Let i be the frequency of the i-th measurement point. The reference center frequency is obtained from similar historical samples; Weight of measurement point frequency to the regional inertia center frequency By solving a constrained optimization problem, we obtain the objective function, which combines reconfiguration bias and electrical distance penalty. and Solving for the initial weights under the constraint of =1 ; Minimize the deviation between the reconstructed center frequency and the reference center frequency in similar historical samples, while simultaneously incorporating an electrical distance penalty term; constraints include... ≥0 and =1; ; ; in: This is the initial frequency weight vector; For similar historical sample sets; Penalty items related to the electrical distance of the measuring point; This corresponds to the regularization coefficient.

6. The method for online measurement of generalized inertia of a regional power system based on frequency spatial distribution and operating condition adaptation as described in claim 5, characterized in that, In step S4, the current operating data is constructed into the same working condition feature vector as the clustering and standardized, and its Euclidean distance with the cluster center of each typical operating mode cluster is calculated; the weight corresponding to the cluster with the highest matching degree is selected. If the current operating condition lies between multiple clusters, then the weights of each cluster are weighted and interpolated according to the inverse of the distance to obtain the weights that are suitable for the current operating mode.

7. The method for online measurement of generalized inertia of a regional power system based on frequency spatial distribution and operating condition adaptation as described in claim 6, characterized in that, The current inertia center frequency of the region in step S5 The calculation formula is: ; Rate of change of frequency The calculation method is as follows: 。 8. The method for online measurement of generalized inertia of a regional power system based on frequency spatial distribution and operating condition adaptation as described in claim 7, characterized in that, The construction of the event triggering criterion in step S5 includes: The event triggering condition must meet at least two of the following conditions simultaneously: Rate of change of frequency at the center of regional inertia | |Exceeds the first threshold; The change in active power |ΔP| at the region boundary exceeds the second threshold; The frequency space consistency index meets the preset range; The starting point of the effective time window for inertia measurement is determined based on the moment when the power change exceeds the threshold or the moment when the frequency change rate exceeds the threshold, and the ending point is determined based on the percentage of the frequency change rate decaying to the maximum change rate.

9. The method for online measurement of generalized inertia of a regional power system based on frequency spatial distribution and operating condition adaptation as described in claim 8, characterized in that, In step S6, the region's generalized inertia is obtained by robustly regressing multiple sampling points within the effective time window. This is achieved using the changes in active power at the region boundary and the rate of change of the region's inertia center frequency at multiple time points. The calculation formula is as follows: ; in, It is the change in power at the regional boundary. This represents the change in total power at the regional boundary; yes The center frequency of inertia in the time region and The deviation of the center frequency of inertia in the time region; It is the generalized inertia of the region; ε is the residual term formed by measurement noise and unmodeled fast power response.

10. A regional power system generalized inertia online measurement system based on frequency spatial distribution and operating condition adaptation, characterized in that, The system for implementing the method according to any one of claims 1 to 9 comprises: Data acquisition module: Acquires parameter data, current operating data, and historical operating data of the regional power system; Historical Operating Mode Regional Inertia Center Frequency Calculation Module: Used to calculate the regional inertia center frequency based on inertia parameters and node frequencies for historical operating modes; The module for calculating the weight of the measurement point frequency to the regional inertia center frequency is used to calculate the weight of the measurement point frequency to the regional inertia center frequency based on the regional inertia center frequency and the measurement point frequency, which are similar to those in historical operation modes. Start measurement and calculation module: used to construct event triggering criteria to start measurement and calculation events based on the rate of change of the regional inertia center frequency, the change of active power at the regional boundary, and frequency spatial consistency. Regional inertia calculation module: Calculates the regional power system inertia based on regional boundary PMU measurement data and system inertia center frequency; The module for verifying and selecting regional inertia calculation results: Based on credibility, it completes the elimination of abnormal inertia results and the selection of the final inertia result.