Electric power system electric quantity compensation method and system based on abnormal gateway analysis

By building a power system model for electricity retroactive compensation and combining correlation analysis of electricity meter data and telemetry data, the problem of inaccurate electricity compensation in the power system is solved, the operating efficiency and data security of the power system are improved, and the reliability of the analysis results is enhanced.

CN120749686APending Publication Date: 2025-10-03JINING POWER SUPPLY CO OF STATE GRID SHANDONG ELECTRIC POWER CO
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202510634462.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-16
Publication Date
2025-10-03

Smart Images

  • Figure CN120749686A_ABST
    Figure CN120749686A_ABST
Patent Text Reader

Abstract

The invention provides a power system electric quantity compensation method and system based on abnormal gateway analysis, relates to the technical field of abnormal gateway analysis, and aims to solve the problems that the prior art is not suitable for complex scene coverage and poor in dynamic applicability, real-time performance and robustness, and system data is directly called and analyzed, so that the power consumption is low. Data relevance is insufficient, reliability and accuracy of analysis results are not high, and efficiency is low. The method comprises the following steps: acquiring electricity meter bottom data of a related gateway from a constructed power system model in real time, and inputting the electricity meter bottom data and telemetering data into an analysis model for correlation analysis; according to a correlation analysis result, a suspected abnormal gateway is judged; acquiring equipment elements with abnormal line loss rates of the corresponding gateways from the power system model, and further judging the equipment elements as abnormal gateways; and calculating the compensation electric quantity according to the error ratio of the two data and the line loss rate of the corresponding equipment. According to the invention, problems in the prior art are solved, effective electric quantity compensation is realized, and the operation efficiency, accuracy and transparency of a power system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of abnormal gateway analysis, and in particular relates to a method and system for replenishing electric power in an electric power system based on abnormal gateway analysis. Background Art

[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

[0003] In power systems, the use of anomaly checkpoint analysis to recover energy consumption is designed to address issues of missed or inaccurate energy measurements due to equipment failure, metering device malfunction, or communication interruptions. Accurate electricity metering is crucial for settlements between power companies and users. However, in practice, due to various external factors, some metering points in the power system may experience anomalies or data loss. These abnormal checkpoints not only impact the power company's energy settlement but also affect the grid's security management and load scheduling. Therefore, recovering and correcting energy consumption data at these abnormal checkpoints through effective energy recovery methods is crucial for improving the efficiency, accuracy, and transparency of power system operations.

[0004] At present, the inventors have found that the existing technology has proposed a method for catching up on electricity based on abnormal gateway analysis. Although it can obtain abnormal data in the electricity and perform electricity compensation, it is only based on gateway-related data for judgment, and does not consider the impact of equipment abnormalities on gateway abnormality judgment, resulting in inaccurate abnormal judgment results and inability to effectively compensate for electricity.

[0005] In addition, existing technologies have also proposed power recovery methods based on abnormal gateway analysis and equipment analysis. Although these methods take into account both gateway-related data judgment and the impact of equipment abnormalities on gateway abnormality judgment, and can achieve effective power compensation, they still have certain shortcomings:

[0006] (1) Existing technologies are not suitable for complex scene coverage and have poor dynamic adaptability, real-time performance, and robustness.

[0007] (2) Directly obtaining data from the power system topology structure without considering the security of the data is prone to the risk of information leakage. Moreover, for large-scale power system data, direct calling is inefficient, has poor real-time performance, and poor data correlation, which is prone to erroneous queries or missed queries. At the same time, directly analyzing the obtained data will result in scattered data logic and poor correlation, which will affect the reliability and accuracy of the analysis results. It is also inefficient and increases the burden on the power system, thereby affecting the performance of the power system. Summary of the Invention

[0008] In order to overcome the deficiencies of the above-mentioned prior art, the present invention provides a method and system for tracing back electricity in an electric power system based on abnormal gateway analysis. By constructing a power system model, the electricity meter data of relevant gateways in the topology structure are obtained in real time. By constructing an analysis model, the electricity meter data and telemetry data are correlated and analyzed to determine suspected abnormal gateways. The abnormal gateway is comprehensively judged based on the suspected abnormal gateways and equipment abnormalities. Finally, the error ratio of the two data and the historical line loss rate are comprehensively analyzed to perform electricity tracing, which can effectively restore and correct the electricity data of the abnormal gateways, thereby improving the operating efficiency, accuracy and transparency of the power system.

[0009] To achieve the above objectives, one or more embodiments of the present invention provide the following technical solutions:

[0010] A first aspect of the present invention provides a method for recovering power system electricity based on abnormal gateway analysis, comprising:

[0011] From the constructed power system model, real-time electricity meter data at relevant gateways is obtained, and telemetry data is obtained from the power grid automation system;

[0012] Inputting the electricity meter bottom data and the telemetry data into an analysis model to perform correlation analysis;

[0013] According to the correlation analysis results, if the corresponding checkpoint has data deviation, it is considered a suspected abnormal checkpoint;

[0014] Based on the suspected abnormal gateway, obtain the corresponding equipment components with abnormal line loss rate from all equipment components covered by the corresponding gateway line from the power system model;

[0015] Based on the deviation value of the equipment components with abnormal line loss rate and the suspected abnormal gateway, it is determined whether the suspected abnormal gateway is an abnormal gateway. If so, the compensatory power is calculated based on the error ratio of the power meter data and telemetry data of the corresponding gateway and the line loss rate of the corresponding equipment, and the power is compensated.

[0016] As an implementation method, before obtaining the electricity meter data of relevant gateways in real time from the constructed power system model, the preparation work is as follows:

[0017] Obtain the topology of the power system, analyze the topology, and obtain the equipment components corresponding to the topology and parameter information corresponding to the equipment components;

[0018] Constructing a power system model through device elements corresponding to the topological structure and parameter information corresponding to the device elements;

[0019] In the power system model, a corresponding line loss rate and line loss rate type are set for each equipment element according to the equipment element and its corresponding parameter information;

[0020] Equipment is classified according to line loss rate type.

[0021] As an implementation method, a power system model is constructed using device elements corresponding to the topology structure and parameter information corresponding to the device elements. The specific process is as follows:

[0022] Construct a logic table based on the topological structure of the power system;

[0023] Writing corresponding device elements and parameter information corresponding to the device elements into the logic table to construct a logic editor;

[0024] Set the port information of the device component in the logic editor;

[0025] Setting a first import port of the entity model and a second import port of the data model based on the port information;

[0026] In the entity model, a node model of the equipment component is established according to the equipment component corresponding to the topological structure;

[0027] Configuring the configuration data of the node model into the entity model through the first import port;

[0028] Based on the topology of the power system, the equipment components corresponding to the power system are sequentially configured into the data model through the second import port;

[0029] Construct a power system model based on the physical model and data model.

[0030] As an implementation method, a logic table is constructed according to the topological structure of the power system. The specific process is as follows:

[0031] Obtain the coupling relationship between device components in the topology;

[0032] According to the coupling relationship, the equipment components are extracted in sequence and the corresponding initial indicators are established;

[0033] Performing type configuration on the equipment element according to its operating characteristics and basic parameters in the power system, and writing the type configuration into the corresponding initial indicator to obtain an application indicator;

[0034] Construct the coupling relationship matrix between equipment components;

[0035] Determine the topological arrangement between equipment components according to the coupling relationship matrix and generate a record table;

[0036] According to the topological arrangement and the record table, the device elements are matched with the application indicators in sequence to obtain a logic table.

[0037] As an implementation method, the electricity meter bottom data and the telemetry data are input into an analysis model for correlation analysis, wherein the analysis model includes a reference clock, an extraction module, and at least one group of analysis units. The specific process is as follows:

[0038] According to the same timing of the reference clock, the power meter bottom data and the telemetry data of the same gateway are respectively extracted by the extraction module;

[0039] By means of an analysis unit, error detection is performed on the electricity meter bottom data and the telemetry data according to the same time sequence, and missing data are supplemented to obtain supplemented electricity meter bottom data and telemetry data;

[0040] Through statistical feature comparison and residual value analysis, correlation analysis is performed on the completed electricity meter data and telemetry data.

[0041] As an implementation method, correlation analysis is performed on the completed electricity meter data and telemetry data through statistical feature comparison and residual value analysis. The specific process is as follows:

[0042] By comparing statistical features, the difference between the completed electricity meter data and the telemetry data is calculated;

[0043] When the difference is greater than a first preset threshold, it is determined that data deviation occurs at the corresponding checkpoint.

[0044] As an implementation method, the formula for calculating the replenishment power is:

[0045] Q r =f(e, l h , Q t , T);

[0046] Among them, Q r Indicates the replenishment power, Q t Refers to the theoretical power of the analysis time period, e represents the error ratio, l h It represents the relative relationship between the equipment's historical line loss rate, T represents the catch-up period, and f is a comprehensive calculation function determined based on the error ratio and historical line loss rate factors.

[0047] A second aspect of the present invention provides a power system power replenishment system based on abnormal gateway analysis, comprising:

[0048] The data acquisition module is used to obtain the electricity meter data of relevant gateways in real time from the constructed power system model, and obtain telemetry data from the power grid automation system;

[0049] A model correlation analysis module, configured to input the electricity meter bottom data and the telemetry data into an analysis model to perform correlation analysis;

[0050] The abnormality judgment and power replenishment module is used to judge the corresponding checkpoint for data deviation based on the correlation analysis results, which is a suspected abnormal checkpoint;

[0051] Based on the suspected abnormal gateway, obtain the corresponding equipment components with abnormal line loss rate from all equipment components covered by the corresponding gateway line from the power system model;

[0052] Based on the deviation value of the equipment components with abnormal line loss rate and the suspected abnormal gateway, it is determined whether the suspected abnormal gateway is an abnormal gateway. If so, the compensatory power is calculated based on the error ratio of the power meter data and telemetry data of the corresponding gateway and the line loss rate of the corresponding equipment, and the power is compensated.

[0053] A third aspect of the present invention provides a computer device comprising a memory, a processor, and a program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the method described in the first aspect of the present invention are implemented.

[0054] The fourth aspect of the present invention aims to provide a computer-readable storage medium having a program stored thereon, which, when executed by a processor, implements the steps in the method described in the first aspect of the present invention.

[0055] One or more of the above technical solutions have the following beneficial effects:

[0056] In this implementation, the power system model is used to obtain the electricity meter data of the relevant gateways in the topology in real time; the electricity meter data and the telemetry data obtained from the power grid automation system are input into the analysis model for correlation analysis; based on the analysis results, the suspected abnormal gateway is preliminarily determined; the equipment components with abnormal line loss rates covered by the corresponding gateway lines are found from the power system model; based on the deviation values ​​of the equipment components with abnormal line loss rates and the suspected abnormal gateways, the suspected abnormal gateways are further determined to be true abnormal gateways. This method integrates gateway anomaly analysis and equipment anomaly analysis, and considers multiple anomaly judgment criteria to effectively avoid interference with anomaly judgment caused by factors such as light load, critical statistical error, load characteristics, and data mutation. The abnormal gateways are judged through reasonable judgment analysis, making the obtained abnormal gateways more accurate; finally, based on the error ratio of the electricity meter data and telemetry data of the corresponding gateway in the power system model and the historical line loss rate of the equipment, the compensatory electricity is calculated. After multiple judgments and combinations, the electricity data of the abnormal gateways is effectively restored and corrected, thereby improving the operating efficiency, accuracy, and transparency of the power system.

[0057] In this implementation, by constructing a power system model, we were able to effectively digitally represent the grid structure, device parameters, and operating status, enabling real-time access to electricity meter data at relevant points in the topology. This model not only provides a data foundation for subsequent analysis but also ensures the security of power system data, improves data access efficiency and real-time performance, and avoids erroneous and missed queries.

[0058] In this embodiment, by constructing an analysis model, effective correlation analysis can be performed on the electricity meter data and telemetry data of relevant gateways, thereby enhancing the correlation of the data, improving the reliability and accuracy of the analysis results, and increasing the analysis efficiency, thereby improving the performance of the power system.

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

[0060] The accompanying drawings, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0061] Figure 1 This is a flow chart of a method for recovering power system electricity based on abnormal gateway analysis in the first embodiment of the present invention;

[0062] Figure 2 Schematic diagram of the method for constructing the power system model of the first embodiment;

[0063] Figure 3 Schematic diagram of the method for constructing the logic table of the first embodiment;

[0064] Figure 4 This is a schematic diagram of a method for configuring port information of a device component in a logic editor according to the first embodiment of the present invention. DETAILED DESCRIPTION

[0065] It should be noted that the following detailed descriptions are exemplary and intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which the present invention belongs.

[0066] It should be noted that the terms used herein are for describing particular embodiments only and are not intended to be limiting of exemplary embodiments according to the present invention.

[0067] In the absence of conflict, the embodiments of the present invention and the features thereof may be combined with each other.

[0068] Example 1

[0069] This embodiment discloses a method for recovering power system electricity based on abnormal checkpoint analysis.

[0070] To more clearly illustrate this embodiment, a process for implementing power system power replenishment based on abnormal gateway analysis can be specifically described as follows:

[0071] A method for replenishing power system electricity based on abnormal gateway analysis, comprising:

[0072] S1. Obtain real-time electricity meter data at relevant gateways from the constructed power system model, and obtain telemetry data from the power grid automation system;

[0073] S2. Inputting the electricity meter bottom data and the telemetry data into an analysis model to perform correlation analysis;

[0074] S3. Based on the correlation analysis results, if the corresponding checkpoint has data deviation, it is considered a suspected abnormal checkpoint;

[0075] Based on the suspected abnormal gateway, obtain the corresponding equipment components with abnormal line loss rate from all equipment components covered by the corresponding gateway line from the power system model;

[0076] Based on the deviation value of the equipment components with abnormal line loss rate and the suspected abnormal gateway, it is determined whether the suspected abnormal gateway is an abnormal gateway. If so, the compensatory power is calculated based on the error ratio of the power meter data and telemetry data of the corresponding gateway and the line loss rate of the corresponding equipment, and the power is compensated.

[0077] like Figure 1-Figure 4 As shown, in step S1, the electricity meter data of the relevant gateways are obtained in real time from the constructed power system model, and the telemetry data are obtained from the power grid automation system.

[0078] S1-1. Before obtaining the electricity meter data of relevant checkpoints in real time from the constructed power system model, some preparation work needs to be done.

[0079] First, obtain the relevant data.

[0080] In this embodiment, the topology of the power system is acquired, and the topology is analyzed to obtain device elements corresponding to the topology and parameter information corresponding to the device elements.

[0081] Secondly, construct the power system model.

[0082] like Figure 2 As shown, in this embodiment, the power system model is constructed by using the device elements corresponding to the topology structure and the parameter information corresponding to the device elements. The specific process is:

[0083] (1) Construct a logical table based on the topological structure of the power system.

[0084] like Figure 3 As shown, in this embodiment, the specific process is:

[0085] 1) Obtain the coupling relationship between device components in the topology.

[0086] 2) According to the coupling relationship, the device components are extracted in sequence and the corresponding initial indicators are established.

[0087] 3) The equipment element is configured according to its operating characteristics and basic parameters in the power system, and the type configuration is written into the corresponding initial indicator to obtain an application indicator.

[0088] The application indicator has: (I) indicating the type of the equipment element and the position in the power system, and (II) indicating the type of the equipment element.

[0089] 4) Constructing a coupling relationship matrix between device components; determining the topological arrangement between device components based on the coupling relationship matrix, and generating a record table.

[0090] In this embodiment, an n×n matrix is ​​used to define the coupling relationship between the device components. The topological arrangement between the device components is determined by defining the coupling relationship between the device components, and a record table is formed.

[0091] 5) According to the topological arrangement and the record table, the device components are matched with the application indicators in sequence to obtain a logic table.

[0092] (2) Writing corresponding device components and parameter information corresponding to the device components into the logic table, and constructing a logic editor.

[0093] (3) Set the port information of the device component in the logic editor.

[0094] like Figure 4 As shown, in this embodiment, a port configuration program is established, and corresponding port configuration instructions are run to configure port groups in batches, and the function corresponding to each port is specified. At the same time, the ports are isolated from each other.

[0095] The data transmission protocol of each port is configured according to the function of each port, and the configuration information of each port is recorded to form a configuration table.

[0096] Among them, the ports related to the physical model are defined as distributed logical nodes, and the configuration is dynamically propagated through the transmission protocol. The data ports are defined as logical channels and are uniformly configured by setting the remote control protocol.

[0097] (4) The first import port of the entity model and the second import port of the data model are set based on the port information.

[0098] In this embodiment, the specific process is:

[0099] 1) Obtain a configuration table of port information, and derive distributed logical nodes and logical channels according to the configuration table.

[0100] 2) Obtaining device components corresponding to the physical model and parameter information corresponding to the device components, establishing configuration rules based on the parameter information, and obtaining coupling relationships based on application indicators corresponding to the device components, establishing limiting conditions for the configuration rules through the coupling relationships, and editing and configuring the limiting conditions in the form of a first script to form a first introduction port that corresponds one-to-one to the physical model.

[0101] In this embodiment, the first script has a one-to-one correspondence with the entity model. At the same time, the association relationship between the first script and the entity model is dynamically configured by setting a script manager. When the entity model is replaced or missing, the script manager will delete the corresponding first script.

[0102] 3) Obtaining a transmission protocol corresponding to the data model, setting port configuration rules through the transmission protocol, and editing and configuring the configuration rules in the form of a second script to form a second import port corresponding to the data model.

[0103] 4) Writing the configuration data of the first import port of the entity model and the second import port of the data model into the logic rule script, including: integrating the first script of the first import port corresponding to the entity model and the second script of the second import port corresponding to the data model into the logic rule script.

[0104] (5) In the entity model, a node model of the device components is established based on the device components corresponding to the topological structure.

[0105] (6) The configuration data of the node model is configured into the entity model through the first introduction port.

[0106] In this embodiment, the specific process is:

[0107] According to the topological structure and the coupling relationship between the equipment components, the node model is mapped to the entity model corresponding to the equipment component. The first script in the logic rule script is called to configure the first introduction port between the entity model and the equipment component, and the equipment component coordinate data and physical interface information are bound to the first introduction port. Through topological verification, it is ensured that the spatial position and coupling relationship of the equipment component corresponding to the entity model are consistent.

[0108] (7) Based on the topological structure of the power system, the equipment components corresponding to the power system are sequentially configured into the data model through the second introduction port.

[0109] In this embodiment, the specific process is:

[0110] Inject the devices into the data model according to the topological structure, define the data flow relationship between the acquisition devices set on the device components through the data model, and determine the transmission protocol of each acquisition device. Call the second script in the logic rule script to establish a second introduction port between the data model and the acquisition device.

[0111] (8) Construct a power system model based on the physical model and data model.

[0112] By building a power system model through these steps, we can effectively digitally represent the grid structure, equipment parameters, and operating status, and obtain real-time electricity meter data at relevant points in the topology. This power system model not only provides a data foundation for subsequent analysis but also ensures the security of power system data, improves data access efficiency and real-time performance, and avoids erroneous and missed queries.

[0113] In the power system model, the logic script is released and initialized through the logic rule controller to complete the basic configuration of the power system model.

[0114] In this embodiment, the configuration data of the first import port of the entity model and the second import port of the data model are written into the logic rule script, and the logic rule script is configured into the logic editor to form a logic rule controller.

[0115] Finally, in the power system model, line loss rate and line loss rate type are set for equipment components to classify the equipment.

[0116] In this embodiment, the equipment is divided into three categories according to the line loss rate: equipment with no fluctuation in line loss rate, equipment with large fluctuation in line loss rate, and light no-load equipment.

[0117] S1-2. From the constructed power system model, obtain the electricity meter data of relevant gateways in real time, and obtain telemetry data from the power grid automation system.

[0118] In this embodiment, the electricity meter data of the relevant gateway, all equipment components covered by the relevant gateway lines and the corresponding parameter information of the equipment components can be obtained in real time from the power system model, mainly including: equipment component line loss rate, line loss rate type, and equipment classification.

[0119] The power grid automation system uses sensors and monitoring equipment located at key locations throughout the grid to collect various parameters of grid operation in real time. This telemetry data includes information such as voltage, current, and power. This data can be used to indirectly calculate the amount of electricity consumed at the gateway. The system processes and stores this collected telemetry data, providing another important source of data for correlation analysis.

[0120] like Figure 1 As shown, in step S2, the electricity meter bottom data and the telemetry data are input into the analysis model for correlation analysis.

[0121] In this embodiment, the electricity meter data and the telemetry data are input into an analysis model for correlation analysis, wherein the analysis model includes a reference clock, an extraction module, and at least one group of analysis units.

[0122] The specific process is:

[0123] (1) According to the same timing of the reference clock, the electricity meter bottom data and the telemetry data of the same gateway are respectively extracted by the extraction module.

[0124] The extraction module extracts the electricity meter bottom data and the telemetry data in the same gateway respectively according to the same timing provided by the reference clock.

[0125] (2) By means of an analysis unit, error detection is performed on the electricity meter bottom data and the telemetry data according to the same time sequence, and missing data are supplemented to obtain supplemented electricity meter bottom data and telemetry data.

[0126] At least one group of analysis units, and at least one group of the analysis units is configured to: detect the time series corresponding to the electricity meter data and the telemetry data, align the electricity meter data and the telemetry data according to timestamps, and when errors occur, enable the corresponding completion program to complete the missing points using linear interpolation or sliding window averaging method.

[0127] (3) Through statistical feature comparison and residual value analysis, correlation analysis is performed on the completed electricity meter data and telemetry data.

[0128] In this embodiment, 1) the difference between the completed electricity meter data and the telemetry data is calculated by comparing statistical features.

[0129] By comparing the statistical characteristics, the difference of statistical quantities such as mean, variance, and range over the same period is calculated. The formula is:

[0130] S=|X 表底 -X 遥测 ∣ / (σ 2 表底 +σ 2遥测 ) / 2;

[0131] Among them, X 表底 Indicates the average value of the electricity meter bottom data, X 遥测 represents the average value of telemetry data; σ 2 表底 Indicates the variance of the electricity meter data, σ 2 遥测 Represents the variance of the telemetry data.

[0132] 2) When the difference is greater than a first preset threshold, it is determined that data deviation occurs at the corresponding checkpoint.

[0133] When S>3, it is considered a significant deviation.

[0134] After the above steps, the analysis model can be used to effectively perform correlation analysis on the electricity meter data and telemetry data of relevant gateways, enhance the correlation of data, improve the reliability and accuracy of the analysis results, increase the analysis efficiency, and thus improve the performance of the power system.

[0135] like Figure 1 As shown, in step S3, based on the correlation analysis results, it is determined that the corresponding checkpoint has data deviation, which is a suspected abnormal checkpoint;

[0136] Based on the suspected abnormal gateway, obtain the corresponding equipment components with abnormal line loss rate from all equipment components covered by the corresponding gateway line from the power system model;

[0137] Based on the deviation value of the equipment components with abnormal line loss rate and the suspected abnormal gateway, it is determined whether the suspected abnormal gateway is an abnormal gateway. If so, the compensatory power is calculated based on the error ratio of the power meter data and telemetry data of the corresponding gateway and the line loss rate of the corresponding equipment, and the power is compensated.

[0138] S3-1. Based on the correlation analysis results, if the corresponding checkpoint is found to have data deviation, it is considered a suspected abnormal checkpoint.

[0139] According to the analysis results, if the difference is greater than the first preset threshold and the corresponding checkpoint has data deviation, the checkpoint is preliminarily judged to be a suspected abnormal checkpoint.

[0140] S3-2. Based on the suspected abnormal gateway, obtain, from the power system model, the corresponding device element with abnormal line loss rate from all device elements covered by the corresponding gateway line.

[0141] When it is determined that data deviation occurs at a gateway, that is, it is preliminarily determined to be a suspected abnormal gateway, the corresponding equipment elements with abnormal line loss rates among all equipment elements covered by the corresponding gateway line are retrieved from the power system model.

[0142] The power system model has already defined the line loss rates and line loss types for these equipment components. The equipment is also categorized, allowing for direct access and improving diagnostic efficiency. Furthermore, the power system model provides stronger data correlation, resulting in more accurate line loss rate information for equipment components covering corresponding gateway lines. The line loss rate reflects the extent of energy loss during power transmission, while the line loss type identifies the cause of the loss, such as technical loss or administrative loss. For each type of equipment in the power system model, the line loss rate is compared with the normal operating range to determine whether any equipment components have abnormal line loss rates. If the line loss rate of a particular device is significantly above or below the normal range for that type of equipment, the device component is considered abnormal. This helps narrow the scope of troubleshooting and improves troubleshooting efficiency.

[0143] S3-3. Determine whether the suspected abnormal gateway is an abnormal gateway based on the deviation value of the equipment component with abnormal line loss rate and the suspected abnormal gateway. If so, calculate the compensatory power according to the error ratio of the power meter data and telemetry data of the corresponding gateway and the line loss rate of the corresponding equipment, and perform the compensatory power.

[0144] If multiple equipment components exhibit abnormal line loss rates and the gateway data exhibits significant deviations, the likelihood of a gateway anomaly is very high. Conversely, if only a single device exhibits a minor line loss anomaly, and the gateway data deviations are within an acceptable range, further observation and analysis are necessary to determine whether this is a true anomaly. This comprehensive assessment method avoids misjudgments caused by a single factor and improves the accuracy of the assessment results.

[0145] The error ratio reflects the difference between the two data points and is a crucial basis for calculating energy recapture. By analyzing the error ratio over multiple time periods, we can understand the error's changing trend and stability. In addition to error ratio analysis, we also need to consider the equipment's historical line loss rate. This historical line loss rate reflects the equipment's energy loss during normal operation and provides a reasonable reference for energy recapture.

[0146] The formula for calculating the replenishment power is:

[0147] Q r =f(e, l h , Q t , T);

[0148] Among them, Q r Indicates the replenishment power, Q t Refers to the theoretical power of the analysis time period, e represents the error ratio, l h It represents the relative relationship between the equipment's historical line loss rate, T represents the catch-up period, and f is a comprehensive calculation function determined based on the error ratio and historical line loss rate factors.

[0149] In this implementation, the electricity meter data of the relevant gateways in the topology structure are obtained in real time through the power system model; the electricity meter data and the telemetry data obtained from the power grid automation system are input into the analysis model for correlation analysis; based on the analysis results, the suspected abnormal gateway is preliminarily judged; the equipment components with abnormal line loss rate of the corresponding gateway line coverage are found from the power system model; based on the deviation value of the equipment components with abnormal line loss rate and the suspected abnormal gateway, the gateway anomaly analysis and equipment anomaly analysis are integrated to further judge the suspected abnormal gateway to be a true abnormal gateway, so that the obtained abnormal gateway is more accurate; finally, based on the error ratio of the electricity meter data and telemetry data of the corresponding gateway in the power system model and the historical line loss rate of the equipment, the compensatory electricity is calculated to achieve effective recovery and correction of the electricity data of the abnormal gateway, thereby improving the operating efficiency, accuracy and transparency of the power system.

[0150] Example 2

[0151] The purpose of this embodiment is to provide a power system energy replenishment system based on abnormal gateway analysis, including:

[0152] The data acquisition module is used to obtain the electricity meter data of relevant gateways in real time from the constructed power system model, and obtain telemetry data from the power grid automation system;

[0153] A model correlation analysis module, configured to input the electricity meter bottom data and the telemetry data into an analysis model to perform correlation analysis;

[0154] The abnormality judgment and power replenishment module is used to judge the corresponding checkpoint for data deviation based on the correlation analysis results, which is a suspected abnormal checkpoint;

[0155] Based on the suspected abnormal gateway, obtain the corresponding equipment components with abnormal line loss rate from all equipment components covered by the corresponding gateway line from the power system model;

[0156] Based on the deviation value of the equipment components with abnormal line loss rate and the suspected abnormal gateway, it is determined whether the suspected abnormal gateway is an abnormal gateway. If so, the compensatory power is calculated based on the error ratio of the power meter data and telemetry data of the corresponding gateway and the line loss rate of the corresponding equipment, and the power is compensated.

[0157] Based on providing a power system electricity replenishment system based on abnormal gateway analysis, the method steps in embodiment 1 are implemented.

[0158] Example 3

[0159] The purpose of this embodiment is to provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the program.

[0160] Example 4

[0161] The purpose of this embodiment is to provide a computer-readable storage medium.

[0162] A computer-readable storage medium stores a computer program, which, when executed by a processor, performs the steps of the above method.

[0163] Example 5

[0164] The purpose of this embodiment is to provide a computer program product containing instructions, which, when running on a computer, enables the computer to execute the methods and functions involved in any of the above embodiments.

[0165] The steps involved in the apparatus of the above embodiment correspond to those of the method embodiment 1. For detailed implementation, please refer to the relevant description of embodiment 1. The term "computer-readable storage medium" should be understood to mean a single medium or multiple media containing one or more instruction sets; it should also be understood to include any medium capable of storing, encoding, or carrying an instruction set for execution by a processor and causing the processor to perform any method of the present invention.

[0166] Those skilled in the art will appreciate that the modules or steps of the present invention described above can be implemented using a general-purpose computer device. Alternatively, they can be implemented using program code executable by a computing device, which can then be stored in a storage device and executed by the computing device. Alternatively, they can be fabricated into separate integrated circuit modules, or multiple modules or steps can be fabricated into a single integrated circuit module for implementation. The present invention is not limited to any specific combination of hardware and software.

[0167] Although the above describes the specific embodiments of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without any creative work are still within the scope of protection of the present invention.

Claims

1. A method for replenishing power system electricity based on abnormal gateway analysis, characterized in that: include: From the constructed power system model, real-time electricity meter data at relevant gateways is obtained, and telemetry data is obtained from the power grid automation system; Inputting the electricity meter bottom data and the telemetry data into an analysis model to perform correlation analysis; According to the correlation analysis results, if the corresponding checkpoint has data deviation, it is considered a suspected abnormal checkpoint; Based on the suspected abnormal gateway, obtain the corresponding equipment components with abnormal line loss rate from all equipment components covered by the corresponding gateway line from the power system model; Based on the deviation value of the equipment components with abnormal line loss rate and the suspected abnormal gateway, it is determined whether the suspected abnormal gateway is an abnormal gateway. If so, the compensatory power is calculated based on the error ratio of the power meter data and telemetry data of the corresponding gateway and the line loss rate of the corresponding equipment, and the power is compensated.

2. The method for recovering power system electricity based on abnormal gateway analysis according to claim 1, characterized in that: Before obtaining the real-time electricity meter data of relevant gateways from the constructed power system model, the following preparations must be made: Obtain the topology of the power system, analyze the topology, and obtain the equipment components corresponding to the topology and parameter information corresponding to the equipment components; Constructing a power system model through device elements corresponding to the topological structure and parameter information corresponding to the device elements; In the power system model, a corresponding line loss rate and line loss rate type are set for each equipment element according to the equipment element and its corresponding parameter information; Equipment is classified according to line loss rate type.

3. The method for recovering power system electricity based on abnormal gateway analysis according to claim 1, characterized in that: The power system model is constructed using the device components corresponding to the topology structure and the parameter information corresponding to the device components. The specific process is as follows: Construct a logic table based on the topological structure of the power system; Writing corresponding device elements and parameter information corresponding to the device elements into the logic table to construct a logic editor; Set the port information of the device component in the logic editor; Setting a first import port of the entity model and a second import port of the data model based on the port information; In the entity model, a node model of the equipment component is established according to the equipment component corresponding to the topological structure; Configuring the configuration data of the node model into the entity model through the first import port; Based on the topology of the power system, the equipment components corresponding to the power system are sequentially configured into the data model through the second import port; Construct a power system model based on the physical model and data model.

4. The method for replenishing power system electricity based on abnormal gateway analysis according to claim 3, characterized in that: The logic table is constructed according to the topological structure of the power system. The specific process is as follows: Obtain the coupling relationship between device components in the topology; According to the coupling relationship, the equipment components are extracted in sequence and the corresponding initial indicators are established; Performing type configuration on the equipment element according to its operating characteristics and basic parameters in the power system, and writing the type configuration into the corresponding initial indicator to obtain an application indicator; Construct the coupling relationship matrix between equipment components; Determine the topological arrangement between equipment components according to the coupling relationship matrix and generate a record table; According to the topological arrangement and the record table, the device elements are matched with the application indicators in sequence to obtain a logic table.

5. The method for recovering power system electricity based on abnormal gateway analysis according to claim 1, characterized in that: The electricity meter bottom data and the telemetry data are input into an analysis model for correlation analysis, wherein the analysis model includes a reference clock, an extraction module, and at least one group of analysis units. The specific process is as follows: According to the same timing of the reference clock, the power meter bottom data and the telemetry data of the same gateway are respectively extracted by the extraction module; By means of an analysis unit, error detection is performed on the electricity meter bottom data and the telemetry data according to the same time sequence, and missing data are supplemented to obtain supplemented electricity meter bottom data and telemetry data; Through statistical feature comparison and residual value analysis, correlation analysis is performed on the completed electricity meter data and telemetry data.

6. The method for replenishing power system electricity based on abnormal gateway analysis according to claim 5, characterized in that: Through statistical feature comparison and residual value analysis, correlation analysis is performed on the completed electricity meter data and telemetry data. The specific process is as follows: By comparing statistical features, the difference between the completed electricity meter data and the telemetry data is calculated; When the difference is greater than a first preset threshold, it is determined that data deviation occurs at the corresponding checkpoint.

7. The method for replenishing power system electricity based on abnormal gateway analysis according to claim 6, characterized in that: The formula for calculating the replenishment power is: Q r =f(e,l h ,Q t ,T); Among them, Q r Indicates the replenishment power, Q t Refers to the theoretical power of the analysis time period, e represents the error ratio, l h It represents the relative relationship between the equipment's historical line loss rate, T represents the catch-up period, and f is a comprehensive calculation function determined based on the error ratio and historical line loss rate factors.

8. A power system electricity replenishment system based on abnormal gateway analysis, characterized in that: include: The data acquisition module is used to obtain the electricity meter data of relevant gateways in real time from the constructed power system model, and obtain telemetry data from the power grid automation system; A model correlation analysis module, configured to input the electricity meter bottom data and the telemetry data into an analysis model to perform correlation analysis; The abnormality judgment and power replenishment module is used to judge the corresponding checkpoint for data deviation based on the correlation analysis results, which is a suspected abnormal checkpoint; Based on the suspected abnormal gateway, obtain the corresponding equipment components with abnormal line loss rate from all equipment components covered by the corresponding gateway line from the power system model; Based on the deviation value of the equipment components with abnormal line loss rate and the suspected abnormal gateway, it is determined whether the suspected abnormal gateway is an abnormal gateway. If so, the compensatory power is calculated based on the error ratio of the power meter data and telemetry data of the corresponding gateway and the line loss rate of the corresponding equipment, and the power is compensated.

9. A computer device comprising a memory, a processor, and a program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps in the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a program stored thereon, characterized in that: When the program is executed by a processor, the steps in the method according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Power grid gateway setting analysis report automatic generation method and system and storage medium

    CN121684685A

  • Gateway port setting analysis report automatic generation method and system and storage medium

    CN121684685B