Test system and method for abnormal data recovery strategy of electricity utilization information acquisition system

By using real-time digital simulation equipment and virtual electricity meters to simulate the abnormal data of the power information collection system, and using the time series database to verify the data repair strategy, it solves the problem of insufficient verification in the existing technology, provides a more realistic and customized test environment, and ensures Correctness of data repair strategy.

CN118568003APending Publication Date: 2024-08-30MARKETING SERVICE CENT OF STATE GRID HENAN ELECTRIC POWER CO
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410911686.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

It is difficult for the existing technology to effectively simulate the diverse user types and complex power usage scenarios of the power information collection system, resulting in insufficient verification of abnormal data identification and repair strategies, and deviations between verification results and actual applications.

Method used

Real-time digital simulation equipment is used to build simulation models of typical user types and different power consumption scenarios, various abnormal data are simulated through virtual electricity meters, and data anomaly repair strategies based on time series databases are used for verification.

Benefits of technology

It achieves full and effective verification of the abnormal data repair strategy of the power information collection system, overcomes the difficulty of simulating complex working conditions with existing technology, and provides a more realistic and customized testing environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568003A
    Figure CN118568003A
Patent Text Reader

Abstract

The invention belongs to the technical field of electricity utilization information acquisition, and particularly relates to a test system and method for an abnormal data recovery strategy of an electricity utilization information acquisition system. Comprising a real-time digital simulation device, a data protocol conversion board card, a switch, a virtual electric meter running in an industrial personal computer, and a tested data exception repair strategy based on a time sequence database. The real-time digital simulation equipment builds a simulation model, and voltage and current, which are calculated and output in real time, of each metering point are packaged into SV and then are accessed to the industrial personal computer provided with virtual electric meter software after passing through the data protocol conversion board card and the switch; the virtual electricity meter uploads a data file with abnormal data to a time sequence database according to a specified format, and verifies a data recovery strategy by comparing normal data with recovered data; according to the invention, various common abnormalities of the electricity utilization information acquisition system are simulated through the virtual electricity meter, and the correctness of the abnormal data identification and repair strategy of the electricity utilization information acquisition system is fully and effectively verified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of electricity consumption information collection, and in particular relates to a testing system and method for an abnormal data repair strategy of an electricity consumption information collection system. Background Art

[0002] The increasing number of industrial and commercial users in the power market and the new business model of power grid agent power purchase have put forward higher requirements for the quality of power collection data. Due to reasons such as collection equipment failure, unstable communication channels and external interference, abnormal data is often collected using the power information collection system. Electricity is the most important collected data in the power information collection system. If the electricity data is abnormal, various application analyses based on electricity data will lose accuracy or even be unable to be carried out. In addition, abnormal measurement data will cause trust crisis, doubts about transaction fairness, economic losses and other problems in spot transactions. Therefore, it is necessary to identify and repair the abnormal data of the power information collection system to restore the correct data.

[0003] The structure of the collection system is complex and involves many levels. Abnormalities at each level will lead to data collection abnormalities. In addition, due to the diversity of user types, electricity usage scenarios and behaviors, there are many different data abnormalities. When verifying the abnormal data identification and repair strategies and algorithms, if the test is conducted according to the method of building an actual experimental environment during the test process, it is impossible to systematically simulate the abnormal working conditions of each level of the collection system and the complex working conditions of existing user-side equipment. The verification is insufficient, and the verification results will deviate from the actual application results to varying degrees. How to simulate data anomalies in the electricity information collection system and verify the correctness of abnormal data identification and repair has become a technical problem that needs to be solved urgently. Summary of the invention

[0004] The purpose of the present invention is to overcome the shortcomings of the prior art and to provide a testing system and method for the abnormal data repair strategy of the electricity consumption information collection system. By using real-time digital simulation equipment to truly simulate typical user types and different electricity consumption scenarios, and by using virtual electric meters to simulate various common anomalies in the electricity consumption information collection system, the correctness of the abnormal data identification and repair strategy of the electricity consumption information collection system is fully and effectively verified.

[0005] The object of the present invention is achieved as follows: a test system for an abnormal data repair strategy of an electricity consumption information collection system comprises a real-time digital simulation device, a data protocol conversion board, a switch, a virtual electric meter running on an industrial computer, and a tested data abnormality repair strategy based on a time series database; The real-time digital simulation device builds a simulation model of typical electricity consumption scenarios including different types of users, new energy and energy storage facilities based on the topology and parameters of the power system, combined with the electricity consumption behavior characteristics of typical users and the electrical characteristics of the equipment; the voltage and current of each metering point output by its real-time calculation are packaged into SV and then connected to the industrial computer equipped with virtual meter software after passing through the data protocol conversion board and switch, and the real operation of each meter is simulated through the meters of each metering point created in the virtual meter and the voltage and current of the SV message received; through the abnormal simulation function of the virtual meter, various common abnormalities in the consumption system are simulated, and the virtual meter sends the data file with abnormal data to the time series database in the specified format, which is repaired by the abnormal data repair strategy based on the time series database, and the data repair strategy is verified by comparing the normal data with the repaired data.

[0006] The real-time digital simulation device can build a simulation model including distributed power sources such as wind and solar, energy storage, generator equivalent power supply, power grid, and user load according to the system structure and electrical parameters of the power consumption scenario, so as to simulate different user types and different power consumption scenarios; at the same time, the voltage and current of each metering point calculated in real time by the simulation are packaged into SV messages (IEC61850-9-2LE), connected to the switch through the data protocol conversion board, and then connected to the virtual meter through the switch.

[0007] The data protocol conversion board can output multiple groups of SV messages. The number of channels in each group of SV messages can be defined, and the maximum number of channels supported is not less than 23. The data of each channel can be associated with the voltage and current of each metering point.

[0008] The switch supports VLAN management, and divides the switch VLAN by port according to the VLAN ID in the SV message, thereby reducing the mutual influence of SV messages sent by different ports of the data protocol conversion board.

[0009] The virtual meter is software running on an industrial computer. It can create multiple single-phase meters and three-phase meters, access the switch through the network port of the industrial computer, receive and parse the SV message of the real-time digital simulation device. After setting the meter parameters, the virtual meter obtains the voltage and current of each energy meter according to the corresponding relationship of the data items of the received SV message, simulates the real operation of the meters at each metering point under different user types and different electricity consumption scenarios, generates various data items required by the DL / T698 communication protocol, and saves them in the MySQL database, and regularly uploads them to the time series database with abnormal data identification and repair functions. Through the data abnormality setting, the data abnormality type (such as data missing, data mutation, stop, fly away, etc.), abnormal object (such as forward / reverse active energy, forward / reverse active energy of each rate, etc.), abnormal time, etc. of the electricity information collection system can be simulated. After the abnormality is enabled, the data saved in the local MySQL database and uploaded to the time series database are all abnormal values.

[0010] The abnormal data repair strategy of the electricity consumption information collection system under test is based on a time series database. After receiving a data file with abnormal data from a virtual meter, the abnormal data is identified and repaired according to a set strategy.

[0011] The test method of the abnormal data repair strategy of the power consumption information collection system, using the test system of the abnormal data repair strategy of the power consumption information collection system, comprises the following steps: Step 1: In the real-time simulation system, according to the topology and parameters of the power system, combined with the power consumption behavior characteristics of typical users and the electrical characteristics of equipment, a typical power consumption scenario simulation model including different types of users, new energy and energy storage facilities is built; SV message output is set, the voltage and current of each metering point in the simulation model are associated with the corresponding channel of the SV message, and the SV message is bound to the corresponding data protocol conversion board; Step 2: Connect the data protocol conversion board to the switch, and then connect it to the industrial computer with the virtual meter software installed. Divide the switch VLAN by port according to the VLAN ID in the SV message, so that the switch port connected to the virtual meter can pass all group SVs, and other interactive machine ports can only pass the SV of this group. Step 3. According to the metering point setting requirements in the simulation model, create corresponding single-phase meters and three-phase meters in the virtual meter, set the meter number, address, SV message data items and the corresponding relationship between the voltage and current of each electric energy meter, the voltage and current coefficient and multiple, set the freezing method, freezing object, and freezing interval; create two meters at the same metering point, and the two meters have the same settings except for the meter number and address. When simulating an abnormality, simulate one of the meters for abnormality; set the data abnormality type, abnormal object, and abnormal time according to the test item requirements; Step 4: Log in to the time series database, establish a connection between the local data and the time series database, and upload the electric energy meter data to the time series database according to the set upload method; Step 5. Write a script based on the user's electricity consumption characteristics to automatically control the changes in the user's active power, reactive power, power factor in the real-time simulation equipment, as well as the wind speed, light intensity, etc. in the wind-solar distributed renewable energy power generation system, to simulate the impact of user load changes / new energy power generation fluctuations. After running for a period of time (no less than one week), export the data in the time series database, compare the data of the normal meter at the same metering point with the meter data of the simulated abnormality, analyze the fitting success rate and deviation rate of the abnormal data, and verify the correctness of the data repair.

[0012] Beneficial effects of the present invention: The test system for the abnormal data repair strategy of the electricity consumption information collection system of the present invention uses real-time digital simulation equipment to test the abnormal data repair strategy of the electricity consumption information collection system. It can build simulation models of different electricity consumption scenarios including different types of users, new energy and energy storage facilities based on the system structure and electrical parameters of the electricity consumption scenario, combined with the electricity consumption behavior characteristics of typical users and the electrical characteristics of the equipment. It solves the problem that conventional testing methods are difficult to simulate complex working conditions such as diverse user types, large differences in electricity consumption scenarios and electricity consumption behaviors, and has stronger customization, and the test environment and user data are more realistic.

[0013] The virtual meter is connected to the real-time digital simulation device to output voltage and current, and replaces the real meter to measure the electric energy of each metering point in different user types and different electricity consumption scenarios in the simulated power grid, and generates various data items required by the DL / T698 communication protocol. The data abnormality type, abnormal object, and abnormal time can be set arbitrarily, overcoming the problem that various abnormal data of real meters are difficult to simulate (such as data loss / stop, etc.). The system built can truly reflect the support of abnormal data repair strategy of the electricity information collection system, and the system can also be used for on-site fault simulation, processing and analysis. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0015] Figure 1 Structure diagram of the abnormal data repair strategy test system for the electricity consumption information collection system.

[0016] Figure 2 Flowchart of abnormal data repair strategy testing of electricity consumption information collection system. DETAILED DESCRIPTION

[0017] The present invention will be further described below in conjunction with the accompanying drawings.

[0018] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0019] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0020] like Figure 1-2 As shown, the test system of the abnormal data repair strategy of the power consumption information collection system of the present invention includes a real-time digital simulation device, a data protocol conversion board, a switch, a virtual meter running on an industrial computer, and a tested data anomaly repair strategy based on a time series database; The real-time digital simulation device builds a simulation model of typical electricity consumption scenarios including different types of users, new energy and energy storage facilities based on the topology and parameters of the power system, combined with the electricity consumption behavior characteristics of typical users and the electrical characteristics of the equipment; the voltage and current of each metering point output by its real-time calculation are packaged into SV and then connected to the industrial computer equipped with virtual meter software after passing through the data protocol conversion board and switch, and the real operation of each meter is simulated through the meters of each metering point created in the virtual meter and the voltage and current of the SV message received; through the abnormal simulation function of the virtual meter, various common abnormalities in the consumption system are simulated, and the virtual meter sends the data file with abnormal data to the time series database in the specified format, which is repaired by the abnormal data repair strategy based on the time series database, and the data repair strategy is verified by comparing the normal data with the repaired data.

[0021] The real-time digital simulation device can build a simulation model including distributed power sources such as wind and solar, energy storage, generator equivalent power supply, power grid, and user load according to the system structure and electrical parameters of the power consumption scenario, so as to simulate different user types and different power consumption scenarios; at the same time, the voltage and current of each metering point calculated in real time by the simulation are packaged into SV messages (IEC61850-9-2LE), connected to the switch through the data protocol conversion board, and then connected to the virtual meter through the switch.

[0022] The data protocol conversion board can output multiple groups of SV messages. The number of channels in each group of SV messages can be defined, and the maximum number of channels supported is not less than 23. The data of each channel can be associated with the voltage and current of each metering point.

[0023] The switch supports VLAN management, and divides the switch VLAN by port according to the VLAN ID in the SV message, thereby reducing the mutual influence of SV messages sent by different ports of the data protocol conversion board.

[0024] The virtual meter is software running on an industrial computer. It can create multiple single-phase meters and three-phase meters, access the switch through the network port of the industrial computer, receive and parse the SV message of the real-time digital simulation device. After setting the meter parameters, the virtual meter obtains the voltage and current of each energy meter according to the corresponding relationship of the data items of the received SV message, simulates the real operation of the meters at each metering point under different user types and different electricity consumption scenarios, generates various data items required by the DL / T698 communication protocol, and saves them in the MySQL database, and regularly uploads them to the time series database with abnormal data identification and repair functions. Through the data abnormality setting, the data abnormality type (such as data missing, data mutation, stop, fly away, etc.), abnormal object (such as forward / reverse active energy, forward / reverse active energy of each rate, etc.), abnormal time, etc. of the electricity information collection system can be simulated. After the abnormality is enabled, the data saved in the local MySQL database and uploaded to the time series database are all abnormal values.

[0025] The abnormal data repair strategy of the electricity consumption information collection system under test is based on a time series database. After receiving a data file with abnormal data from a virtual meter, the abnormal data is identified and repaired according to a set strategy.

[0026] The test method of the abnormal data repair strategy of the power consumption information collection system, using the test system of the abnormal data repair strategy of the power consumption information collection system, comprises the following steps: Step 1: In the real-time simulation system, according to the topology and parameters of the power system, combined with the power consumption behavior characteristics of typical users and the electrical characteristics of equipment, a typical power consumption scenario simulation model including different types of users, new energy and energy storage facilities is built; SV message output is set, the voltage and current of each metering point in the simulation model are associated with the corresponding channel of the SV message, and the SV message is bound to the corresponding data protocol conversion board; Step 2: Connect the data protocol conversion board to the switch, and then connect it to the industrial computer with the virtual meter software installed. Divide the switch VLAN by port according to the VLAN ID in the SV message, so that the switch port connected to the virtual meter can pass all group SVs, and other interactive machine ports can only pass the SV of this group. Step 3. According to the metering point setting requirements in the simulation model, create corresponding single-phase meters and three-phase meters in the virtual meter, set the meter number, address, SV message data items and the corresponding relationship between the voltage and current of each electric energy meter, the voltage and current coefficient and multiple, set the freezing method, freezing object, and freezing interval; create two meters at the same metering point, and the two meters have the same settings except for the meter number and address. When simulating an abnormality, simulate one of the meters for abnormality; set the data abnormality type, abnormal object, and abnormal time according to the test item requirements; Step 4: Log in to the time series database, establish a connection between the local data and the time series database, and upload the electric energy meter data to the time series database according to the set upload method; Step 5. Write a script based on the user's electricity consumption characteristics to automatically control the changes in the user's active power, reactive power, power factor in the real-time simulation equipment, as well as the wind speed, light intensity, etc. in the wind-solar distributed renewable energy power generation system, to simulate the impact of user load changes / new energy power generation fluctuations. After running for a period of time (no less than one week), export the data in the time series database, compare the data of the normal meter at the same metering point with the meter data of the simulated abnormality, analyze the fitting success rate and deviation rate of the abnormal data, and verify the correctness of the data repair.

[0027] Specifically, when testing the abnormal data repair strategy of the power consumption information collection system, the following steps are included: 1) In the real-time simulation system, according to the system structure of typical power consumption scenarios, a simulation model is built including distributed power sources such as wind and solar, as well as energy storage, generators / equivalent power sources, power grids, and user loads.

[0028] Simulation models of wind turbines, photovoltaic units, and energy storage devices are built based on the topological structures of wind turbines, photovoltaic units, and energy storage devices in power consumption scenarios. Models include wind speed / light, wind turbines / photovoltaic arrays / battery units, wind turbine converters / photovoltaic converters / energy storage converters, converter controllers, transformers, etc. These models are tested and verified in accordance with national standards for wind turbines, photovoltaic units, and energy storage devices. Combined with actual product characteristic curves of wind turbines, photovoltaic units, and energy storage devices, a simulation model of distributed new energy and energy storage is formed.

[0029] Generator / equivalent power supply simulation model: Build a generator / equivalent power supply simulation model based on the generator set / equivalent power supply parameters in the power consumption scenario, including capacity, voltage, frequency, impedance, etc.

[0030] The power grid simulation model builds a power grid model based on the topological structure of the power consumption scenario and the parameters of the primary equipment of the power grid, including transmission line parameters, transformer parameters, switch parameters, mutual inductor parameters, as well as power grid voltage, frequency, fault simulator, etc., to simulate the normal operation conditions of the power grid and the fault / abnormal conditions of the power grid.

[0031] The user load simulation model is built based on the typical user's electricity consumption behavior characteristics and equipment electrical characteristics, including active power, reactive power, voltage, current, frequency, and changes in load characteristics over time, and compared with the actual load curve to form a typical user load model.

[0032] Write a test script and use it to change the active power, reactive power / power factor of the load in combination with time changes to simulate user load characteristics; use the script in combination with weather forecasts to change wind speed, light intensity, etc. at different times to simulate the power generation fluctuations of wind and solar distributed renewable energy.

[0033] According to the above-mentioned tested and verified wind power, photovoltaic, energy storage, generator / equivalent power source, power grid and user load models, combined with the wiring method of the electricity meters at each metering point, the installation of voltage transformers and current transformers, the voltage and current of the electricity meter that needs to be connected to the metering point are associated with the corresponding channel of the SV message, and the SV message is bound to the corresponding data protocol conversion board to form a typical electricity consumption scenario model including different user types.

[0034] 2) Connect the data protocol conversion board to the switch, and then to the industrial computer with the virtual meter software. Configure the switch port according to the SV message VLANID so that the switch port connected to the virtual meter can pass all group SVs, and other interactive machine ports can only pass this group SV.

[0035] 3) Create meters for each metering point in the virtual meter, including single-phase and three-phase meters Select the type of meter to be created, set the meter number, address, number of SV message groups, correspondence between data items and voltage and current of each meter, voltage and current coefficient in SV message, and multiples of each meter, so that the single-phase meter and three-phase meter created in the virtual meter can be connected to the voltage and current of each metering point output by the real-time digital simulation device to simulate the operation of the real meter. When creating a meter, create two meters at the same metering point. The two meters have the same settings except for the meter number and address. When simulating an abnormality, simulate one of the meters abnormally, so as to compare the normal data of the meter at the same metering point with the data after the abnormality is repaired.

[0036] Set the freezing method, freezing object, freezing interval, and rate period. Each single-phase meter and three-phase meter created in the virtual meter generates various data items according to the requirements of the DL / T698 communication protocol and saves them in the MySQL database.

[0037] Set data exceptions, including exception objects, exception time, and exception types. Exception objects include voltage, current, active power (including phase-by-phase active power and total active power), reactive power (including phase-by-phase reactive power and total reactive power), active energy (including positive and negative active energy, positive and negative active energy in each rate period), reactive energy, etc. The exception time can be set to start time and end time, and the time scale is year, month, day, hour, minute, and second. When setting exceptions, it can simulate one meter and multiple meters being abnormal at the same time. The exception object, exception time, and exception type can be set separately for each meter.

[0038] When setting the data anomaly type, the virtual meter considers the basic process of data collection in the collection system, common data collection anomaly manifestations, and data anomaly causes, and classifies the data anomaly types. By setting the anomaly type, it can cover common data anomaly conditions. The data anomaly types set in the virtual meter include data missing, data mutation, stop and go, etc.

[0039] Data missing includes continuous missing and random missing. Continuous missing means missing data within the set abnormal time period. The random missing ratio can be set. For example, if the missing ratio is set to 10%, one data will be randomly lost for every 10 data within the set abnormal time period. Data mutation is mainly used to simulate the reverse running, flying away and unbalanced indication of the electric energy meter. After selecting data mutation, you can set the mutation coefficient. The coefficient range is 0-9999. When simulating the reverse running of the electric energy meter, set the abnormal coefficient to a smaller value, such as 0.1; when simulating flying away, set the abnormal coefficient to a larger value, such as 100; when the indication is unbalanced, the abnormal object only selects the active / reactive electric energy or the total active / reactive electric energy in each rate period, and the abnormal coefficient is set to a non-1 value, such as 10, to simulate that the total positive / reverse active electric energy indication is not equal to the sum of the positive / reverse active indications in each rate period.

[0040] Stop and Go mainly simulates the situation where the collected data remains unchanged for a long time due to various reasons, such as actual meter / collection terminal failure or memory overflow. When the exception type is selected as Stop and Go, the value of the abnormal data object remains the same as the data before the exception within the set abnormal time period.

[0041] Create two meters at the same metering point. The two meters have exactly the same settings except for the meter number and address. When simulating an abnormality, simulate one of the meters for abnormality (the purpose of setting up two meters is to compare normal data with abnormal data and data after abnormality repair). Set the data abnormality type, abnormal object, and abnormal time as needed.

[0042] 4) Log in to the implementation database, establish a connection between the local data and the time series database, and upload the electric energy meter data to the implementation database according to the set upload method.

[0043] 5) Run the real-time digital simulation system and virtual electric meter, enable the set data anomaly simulation function, and after running for a period of time, export the data in the time series database, compare the data of the normal electric meter with the data of the electric meter with set abnormalities, analyze the fitting success rate and deviation rate of the abnormal data, and verify the correctness of the data repair.

[0044] Specific implementation methods are given above, but the present invention is not limited to the implementation methods described above. The basic idea of ​​the present invention lies in the above basic scheme. For ordinary technicians in this field, it does not take creative work to design various deformed models, formulas, and parameters according to the teachings of the present invention. Changes, modifications, substitutions, and deformations of the implementation methods without departing from the principles and spirit of the present invention still fall within the scope of protection of the present invention.

[0045] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments, and the above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, and these changes and improvements all fall within the scope of the present invention to be protected.

Claims

1. A test system for abnormal data repair strategy of power consumption information collection system, characterized in that: It includes real-time digital simulation equipment, data protocol conversion boards, switches, virtual meters running on industrial computers, and the tested data anomaly repair strategy based on the time series database; The real-time digital simulation device builds a simulation model of typical electricity consumption scenarios including different types of users, new energy and energy storage facilities based on the topology and parameters of the power system, combined with the electricity consumption behavior characteristics of typical users and the electrical characteristics of the equipment; the voltage and current of each metering point output by its real-time calculation are packaged into SV and then connected to the industrial computer equipped with virtual meter software after passing through the data protocol conversion board and switch, and the real operation of each meter is simulated through the meters of each metering point created in the virtual meter and the voltage and current of the SV message received; through the abnormal simulation function of the virtual meter, various common abnormalities in the consumption system are simulated, and the virtual meter sends the data file with abnormal data to the time series database in the specified format, which is repaired by the abnormal data repair strategy based on the time series database, and the data repair strategy is verified by comparing the normal data with the repaired data.

2. The test system for abnormal data repair strategy of the power consumption information collection system according to claim 1, characterized in that: The real-time digital simulation device can build a simulation model including distributed power sources such as wind and solar power, energy storage, generator equivalent power sources, power grids, and user loads according to the system structure and electrical parameters of the power consumption scenario. At the same time, the voltage and current of each metering point calculated in real time by the simulation are packaged into SV messages, which are connected to the switch through the data protocol conversion board and then connected to the virtual meter through the switch.

3. The test system for abnormal data repair strategy of the power consumption information collection system according to claim 1, characterized in that: The data protocol conversion board can output multiple groups of SV messages. The number of channels in each group of SV messages can be defined, and the data of each channel can be associated with the voltage and current of each metering point.

4. The test system for abnormal data repair strategy of the power consumption information collection system according to claim 1, characterized in that: The switch supports VLAN management, and divides the switch VLAN by port according to the VLAN ID in the SV message, thereby reducing the mutual influence of SV messages sent by different ports of the data protocol conversion board.

5. The test system for abnormal data repair strategy of the power consumption information collection system according to claim 1, characterized in that: The virtual electric meter is software running on an industrial computer. It is connected to a switch through the network port of the industrial computer, receives and parses SV messages from real-time digital simulation equipment. After setting the meter parameters, the virtual electric meter obtains the voltage and current of each electric energy meter according to the corresponding relationship between the data items of the received SV message, simulates the actual operation of the electric meters at each metering point under different user types and different electricity usage scenarios, generates various data items required by the DL / T698 communication protocol, and saves them in the MySQL database, and regularly sends them to a time series database with abnormal data identification and repair functions.

6. The test system for abnormal data repair strategy of the power consumption information collection system according to claim 1, characterized in that: The abnormal data repair strategy of the tested electricity consumption information collection system is based on a time series database. After the time series database receives a data file with abnormal data from a virtual electricity meter, it identifies and repairs the abnormal data according to a set strategy.

7. A method for testing an abnormal data repair strategy of an electricity consumption information collection system, using a testing system for an abnormal data repair strategy of an electricity consumption information collection system as claimed in any one of claims 1 to 6, characterized in that: The following steps are involved: Step 1: In the real-time simulation system, based on the topology and parameters of the power system, combined with the power consumption behavior characteristics of typical users and the electrical characteristics of equipment, a typical power consumption scenario simulation model including different types of users, new energy and energy storage facilities is built; Set up SV message output, associate the voltage and current of each metering point in the simulation model with the corresponding channel of the SV message, and bind the SV message to the corresponding data protocol conversion board; Step 2: Connect the data protocol conversion board to the switch, and then connect it to the industrial computer with the virtual meter software installed. Divide the switch VLAN by port according to the VLAN ID in the SV message, so that the switch port connected to the virtual meter can pass all group SVs, and other interactive machine ports can only pass the SV of this group. Step 3. According to the metering point setting requirements in the simulation model, create corresponding single-phase meters and three-phase meters in the virtual meter, set the meter number, address, SV message data items and the corresponding relationship between the voltage and current of each electric energy meter, the voltage and current coefficient and multiple, set the freezing method, freezing object, and freezing interval; create two meters at the same metering point, and the two meters have the same settings except for the meter number and address. When simulating an abnormality, simulate one of the meters for abnormality; set the data abnormality type, abnormal object, and abnormal time according to the test item requirements; Step 4: Log in to the time series database, establish a connection between the local data and the time series database, and upload the electric energy meter data to the time series database according to the set upload method; Step 5. Write a script based on the user's electricity consumption characteristics to automatically control the changes in the user's active power, reactive power, power factor in the real-time simulation equipment, as well as the wind speed, light intensity, etc. in the wind-solar distributed renewable energy power generation system, to simulate the impact of user load changes / new energy power generation fluctuations. After running for a period of time, export the data in the time series database, compare the data of the normal meter at the same metering point with the meter data of the simulated abnormality, analyze the fitting success rate and deviation rate of the abnormal data, and verify the correctness of the data repair.

Citation Information

Cited By

  • Cryptographic security management method applied to industrial security

    CN121309367B