Electric quantity data verification method and system and computer
By adopting the power data calibration method in a multi-main environment, combined with single table and inter-table data rules, the problem of insufficient calibration of power data in the existing technology is solved, and higher calibration accuracy and reliability of power data is achieved.
Patent Information
- Application Number
- CN202411676210.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-20
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2044-11-20
AI Technical Summary
The existing power data verification methods have accuracy problems in multi-main environments, and a single verification rule is difficult to fully cover the potential sources of errors.
A power data verification method is used to obtain the power working data of multiple main stations to determine whether it complies with the single table data verification rules (missing rules, large numbers rules and load curve verification rules), and after passing the single table verification, the data rules between tables are checked.
It improves the accuracy of power data verification, can identify data abnormalities caused by electricity meter, reduces the problem of low calibration accuracy caused by wrong data, and ensures the accuracy of power working data.
Smart Images

Figure CN119760787A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric energy billing, and in particular to a method, system and computer for verifying electric quantity data. Background Art
[0002] In the electric energy billing system, the energy metering and billing system master station system (EAS) is the core of the electric energy telemetry system. It can directly extract the data of the collectors at each metering point, and perform data verification, validation and storage, and perform data processing, calculation and report generation. It realizes the verification of the electricity report between the master stations. Only after the verification is passed can the final daily electricity report, monthly electricity report and annual electricity report be generated.
[0003] At present, there are multiple master stations collecting electricity data from electricity meters, and most of the electricity data verification uses a single rule. However, the measurement verification of electricity meters is affected by many interference factors. If the verification rule is single, it may not be able to fully cover all potential sources of error, thus affecting the accuracy of the verification. Summary of the invention
[0004] The technical problem to be solved by the present invention is how to improve the accuracy of electric quantity data verification, and provides an electric quantity data verification method, system and computer.
[0005] The technical solution adopted by the present invention to solve the technical problem is: a method for verifying electric quantity data, which is applied to verifying electric quantity working data between multiple master stations, wherein the multiple master stations include a statistical master station and at least one master station to be verified; the verification method includes the following steps:
[0006] Acquire the power data to be checked, the power data to be checked includes the power working data of the statistical master station and the power working data of all the master stations to be checked in the multiple master stations, the power working data includes the power working data of at least one electric energy meter;
[0007] Determine whether each electric quantity working data in the electric quantity data to be checked complies with the single table data verification rule;
[0008] If the power working data of the statistical master station and the power working data of at least one of all the master stations to be verified meet the single-meter data verification rule, then determine whether the power working data of the statistical master station and the power working data of each of the master stations to be verified meet the inter-meter data rule among the power working data that pass the single-meter data verification rule;
[0009] If there are electricity working data of the statistical master station that meet the inter-table data rules and electricity working data of the master station to be verified, it is determined that the electricity working data of the statistical master station that meet the inter-table data rules and the electricity working data of the master station to be verified pass the verification.
[0010] Preferably, the single table data verification rules include: missing number rule, large number rule and load curve verification rule;
[0011] The step of judging whether each electric quantity working data in the electric quantity to be checked conforms to the single table data verification rule comprises:
[0012] Determine whether each electric quantity working data in the electric quantity data to be checked meets the missing number rule, wherein each electric quantity working data is the electric quantity working data of a single electric energy meter;
[0013] If there is power working data that meets the missing number rule, then determine whether each power working data that meets the missing number rule meets the large number rule;
[0014] If there is electric quantity working data that meets the large number rule, then determining whether each electric quantity working data that meets the large number rule meets the load curve verification rule;
[0015] If there is electric quantity working data that meets the load curve verification rule, it is determined that each electric quantity working data that satisfies the missing number rule, the large number rule and the load curve verification rule meets the single table data verification rule.
[0016] Preferably, the determining whether each of the electric quantity working data that conforms to the missing number rule conforms to the large number rule includes:
[0017] On each load curve formed based on each power working data that meets the missing number rule, adjacent load values are obtained according to a preset interval time to obtain the first load value V in sequence. i-1 , the second load value V i , the third load value V i+1 and the fourth load value V i+2 , where i is an integer greater than or equal to 1;
[0018] If the second load value V i If the power requirement is greater than a first preset power requirement value, it is determined that the large number rule is not met, and the first preset power requirement value is a preset maximum power requirement value;
[0019] If the second load value V i is less than or equal to the first preset power demand value, then the second load value V i and the first load value V i-1 whether it is equal to a second preset power requirement value, the second preset power requirement value being less than the first preset power requirement value;
[0020] If the second load value Vi Or the first load value V i-1 is equal to the second preset power demand value, the first preset change rate is set to the second load value V i The rate of change of
[0021] If the second load value V i and the first load value V i-1 are not equal to the second preset power demand value, then the second load value V i Subtract the first load value V i-1 The difference between the second load value V i and the first load value V i-1 The ratio of the minimum value in is set to the second load value V i The rate of change of
[0022] If the second load value V i The rate of change of is greater than the maximum preset rate of change, and the third load value V i+1 Or the fourth load value V i+2 If the third preset power requirement value is equal to the third preset power requirement value, it does not meet the large number rule, and the third preset power requirement value is greater than the second preset power requirement value.
[0023] Preferably, the determining whether each of the electric quantity working data conforming to the large number rule conforms to the load curve verification rule comprises:
[0024] Acquire the power working data within a first preset time period from each power working data that conforms to the large number rule to obtain the first time period power data;
[0025] Acquire first power data and second power data from the first duration power data, the first power data being power working data delayed by a first set time from the starting time of the first preset duration in the first duration power data, and the second power data being power working data advanced by a second set time from the ending time of the first preset duration in the first duration power data;
[0026] Subtracting the first power data from the second power data to obtain a difference between the first and last power data;
[0027] Accumulate all the power working data of the first duration power data to obtain accumulated power;
[0028] It is determined whether the head-to-tail power difference and the accumulated power meet the preset load curve requirements; if so, the load curve verification rule is met.
[0029] Preferably, the determining whether the head-to-tail power difference and the accumulated power meet the preset load curve requirement, and if so, the load curve verification rule is met, includes:
[0030] If the head-to-tail power difference and the accumulated power are both equal to the preset power constant, the load curve verification rule is met;
[0031] If the difference between the first and last electric quantities or the accumulated electric quantity is not equal to the preset electric quantity constant, the load curve verification rule is not met;
[0032] If the data of the head-to-tail power difference and the accumulated power are not equal to the preset power constant, then the load curve change rate between the head-to-tail power difference and the accumulated power is calculated to obtain the load change rate;
[0033] If the load change rate is greater than the preset hourly change rate, the load curve verification rule is not met.
[0034] Preferably, the calculating the load curve change rate between the head and tail power difference and the accumulated power to obtain the load change rate includes:
[0035] Calculate the absolute value of the difference between the first and last power and the accumulated power to obtain a change;
[0036] The load change rate is obtained by dividing the change by the head-to-tail power difference.
[0037] Preferably, the power working data of the statistical master station includes the main power working data of the main meter of the statistical master station, the backup power working data of the backup meter of the statistical master station, and the calibration power working data of the calibration meter of the statistical master station; the power working data of the master station to be calibrated includes the main to-be-calibrated power working data of the main meter of the master station to be calibrated; the judging whether the power working data of the statistical master station and the power working data of each of the master stations to be calibrated in the power working data passing the single-meter data verification rule meet the inter-meter data rule includes:
[0038] Determine whether the main power working data and the backup power working data comply with the inter-table data rule;
[0039] Determine whether the main power working data and the calibration power working data conform to the inter-meter data rule;
[0040] Determine whether the main power working data and the main power working data to be verified meet the inter-table data rule;
[0041] If the main power working data and the backup power working data, the main power working data and the calibration power working data, and the main power working data and the main power working data to be verified all comply with the inter-table data rules, then it is determined that the power data to be verified complies with the inter-table data rules.
[0042] Preferably, there is a sequential relationship between the main power working data and the backup power working data, the calibration power working data, and the main power working data to be verified; the judgment of whether the power working data of the statistical master station and the power working data of each master station to be verified in the power working data passing the single-table data verification rule meet the inter-table data rules includes:
[0043] If the main power working data and the backup power working data meet the inter-meter data rule, then determine whether the main power working data and the calibration power working data meet the inter-meter data rule;
[0044] If the main electric quantity working data and the main electric quantity working data to be verified meet the inter-table data rule, then it is determined whether the main electric quantity working data and the main electric quantity working data to be verified meet the inter-table data rule.
[0045] Preferably, judging whether two pieces of electrical quantity working data conform to the inter-table data rule includes:
[0046] The two electric quantity working data are respectively set as the first electric quantity working data and the second electric quantity working data;
[0047] Respectively acquiring accumulated values of the first electric quantity working data and the second electric quantity working data within a preset time period to obtain a first accumulated value and a second accumulated value;
[0048] comparing the first accumulated value and the second accumulated value with an accumulated maximum threshold constant;
[0049] If both the first accumulated value and the second accumulated value are less than or equal to the accumulated maximum threshold constant, the absolute value of the difference between the first accumulated value and the second accumulated value is calculated to obtain the accumulated difference; if the accumulated difference is less than or equal to the accumulated minimum threshold constant, it is determined that the first electric quantity working data and the second electric quantity working data meet the inter-meter data rule; if the accumulated difference is greater than the accumulated minimum threshold constant, the first electric quantity working data and the second electric quantity working data do not meet the inter-meter data rule;
[0050] If the first accumulated value or the second accumulated value is greater than the accumulated maximum threshold constant, comparing the first accumulated value, the second accumulated value with the accumulated threshold constant;
[0051] If the first accumulated value and the second accumulated value are both equal to the accumulated threshold constant, the first electric quantity working data and the second electric quantity working data comply with the inter-meter data rule;
[0052] If only one of the first accumulated value and the second accumulated value is equal to the accumulated threshold constant, the first electric quantity working data and the second electric quantity working data do not comply with the inter-meter data rule;
[0053] If both the first accumulated value and the second accumulated value are not equal to the accumulated threshold constant, calculating a cumulative error according to the first accumulated value and the second accumulated value;
[0054] If the accumulated error is less than the preset comparison error, the first power working data and the second power working data comply with the inter-meter data rule.
[0055] A power data verification system is applied to the verification of power working data between multiple master stations, wherein the multiple master stations include a statistical master station and at least one master station to be verified; the verification system includes:
[0056] The to-be-verified electric quantity data acquisition unit is used to acquire the to-be-verified electric quantity data, wherein the to-be-verified electric quantity data includes the electric quantity working data of the statistical master station and the electric quantity working data of all the to-be-verified master stations in the multiple master stations, and the electric quantity working data includes the electric quantity working data of at least one electric energy meter;
[0057] A single-meter data verification rule judgment unit, used to judge whether each electric quantity working data in the electric quantity data to be checked complies with the single-meter data verification rule;
[0058] An inter-meter data rule judgment unit is used to judge whether the electric power working data of the statistical master station and the electric power working data of each of the master stations to be verified among the electric power working data that pass the single-meter data verification rule meet the inter-meter data rule if the electric power working data of the statistical master station and the electric power working data of at least one of all the master stations to be verified meet the single-meter data verification rule;
[0059] The power data verification unit is used to determine whether the power working data of the statistical main station that complies with the inter-meter data rules and the power working data of the main station to be verified have passed the verification if there are power working data of the statistical main station that complies with the inter-meter data rules and the power working data of the main station to be verified.
[0060] A computer comprises a processor and a memory storing a computer program, wherein the processor implements the steps of any one of the above-mentioned verification methods when executing the computer program.
[0061] The implementation of the present invention has the following beneficial effects:
[0062] The present invention compares the electricity working data of the statistical main station through the single-meter calibration rule with the electricity working data of at least one main station to be calibrated through the single-meter calibration rule through the inter-meter calibration rule, and can calibrate the data abnormalities caused by the electric energy meter, avoid the problem of low calibration accuracy caused by using wrong electricity data as reference data for calibration of electricity data, and ensure the accuracy of the electricity working data, so as to reduce the situation of electricity data errors caused by failures or problems of the electric energy meter and related equipment, prevent inaccurate measurement, or the situation that the power supply unit under-measures electricity, and confirm the fairness and correctness of the electricity measurement. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] The present invention will be further described below with reference to the accompanying drawings and embodiments:
[0064] Figure 1 A flowchart of a method for verifying electric quantity data in an embodiment of the present invention;
[0065] Figure 2 This is a schematic diagram of data interaction between a statistical master station and a master station to be verified in one embodiment;
[0066] Figure 3 FIG. 1 is a schematic diagram of a verification process between master stations in an embodiment. DETAILED DESCRIPTION
[0067] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, specific embodiments of the present invention are now described in detail with reference to the accompanying drawings.
[0068] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.
[0069] An electric quantity data verification method provided by an embodiment of the present invention is applied to the verification of electric quantity working data between multiple master stations, wherein the multiple master stations include a statistical master station and at least one master station to be verified.
[0070] Specifically, the master station is used to collect the power working data of the energy meter. Among the multiple master stations, the one responsible for collecting the power working data collected by other master stations, processing and analyzing the power working data is the statistical master station, and the other master stations are the master stations to be verified. The statistical master station and the master stations to be verified can be polled and exchanged.
[0071] The execution subject of the verification method of the electric quantity data provided in the embodiment of the present invention is the statistical master station. When each verification master station serves as a statistical master station, it has the function of executing the verification method of the electric quantity data of the present invention. Specifically in each embodiment, the execution subject is an electronic device or a mobile terminal with data collection and data processing functions of the statistical master station, which is not specifically limited here.
[0072] Furthermore, the power working data includes the power working data of the statistical master station and the power working data of at least one master station to be verified. Figure 1 As shown, the verification method includes the following steps:
[0073] S1: Acquire the power data to be verified, the power data to be verified includes the power working data of the statistical master station and the power working data of all the master stations to be verified among the multiple master stations, and the power working data includes the power working data of at least one electric energy meter.
[0074] Further, the electric power working data is the electric energy meter data collected by the statistical master station and the master station to be verified within a preset time. Specifically, the electric power data to be verified is the electric power working data that is not marked with a verification mark by the statistical master station and the master station to be verified. In some executable embodiments, the preset time is 1 hour. Specifically, according to different collection requirements, the preset time can also be changed, which is not limited here.
[0075] It should be noted that verifying the power data through the statistical master station can avoid distributing the data of the statistical master station to the master station to be verified, and then transmitting the verification results to the statistical master station, thereby reducing the number of data transmissions and the probability of data loss.
[0076] In some executable embodiments, the statistical master station obtains the measurement data of the main energy meter, the backup energy meter and the calibration energy meter through the network as the power working data of the statistical master station, and then obtains the measurement data of the main energy meter obtained by the to-be-calibrated master station through the network as the power working data of the to-be-calibrated master station. The two batches of data are unified as the to-be-calibrated power data.
[0077] S2: Determine whether each electric quantity working data in the electric quantity data to be checked complies with the single table data verification rule.
[0078] Specifically, the single-meter data verification rules include a variety of verification rules, which are used to verify whether there are problems with the electricity working data of the electricity meters collected by different master stations. For example, determine whether there are missing numbers in the electricity working data of each electricity meter. If there are missing numbers, it may be caused by an abnormality in the electricity meter or transmission fluctuations in the network. For another example, if there is a problem with the load curve of the electricity working data, it is possible that the electricity meter is faulty. Therefore, the single-meter data verification rules can verify data anomalies caused by the electricity meter, avoid the problem of low verification accuracy caused by using incorrect electricity data as reference data for electricity data verification, and effectively prevent billing anomalies caused by electricity meters.
[0079] S3: If the electricity working data of the statistical master station and the electricity working data of at least one of all the master stations to be calibrated meet the single-meter data verification rules, then determine whether the electricity working data of the statistical master station and the electricity working data of each master station to be calibrated in the electricity working data that pass the single-meter data verification rules meet the inter-meter data rules.
[0080] Furthermore, if the electricity working data of the statistical master station does not meet the single-meter data verification rules, the relevant personnel will be notified to verify the electricity working data of the statistical master station. The statistical master station is used as the benchmark data for the verification of the electricity working data. If there is an abnormality, the correctness of the data of other master stations to be verified cannot be guaranteed. On the basis of ensuring the correctness of the electricity working data of the statistical master station, verifying the electricity working data of the master station to be verified can effectively reduce the error rate of the electricity working data verification, and at the same time save a lot of manpower and material resources in the later data verification work.
[0081] It should be noted that in order to further improve the verification efficiency and accuracy of power data, in some scenarios, only the power working data that passes the single-meter data verification rules will be verified between meters.
[0082] S4: If there are electricity working data of the statistical master station and electricity working data of the master station to be verified that comply with the inter-meter data rules, it is determined that the electricity working data of the statistical master station and the electricity working data of the master station to be verified that comply with the inter-meter data rules have passed the verification.
[0083] Furthermore, if there is no electricity working data of the statistical master station and electricity working data of the master station to be verified that conforms to the data rule between meters, it is determined that all electricity working data verification has failed. Relevant personnel are notified to conduct inspection.
[0084] The accuracy and reliability of the electric energy meter can be verified by mutual verification between multiple electric power working data, thereby ensuring the fairness and accuracy of billing. At the same time, the electric power working data is verified between the statistical master station and the master station to be verified, and the data of both parties are compared, which can prevent the statistical master station or the master station to be verified from unilaterally tampering with the electric power working data, thereby ensuring the accuracy of the electric power working data.
[0085] The present invention transmits the power working data of the main station to be verified to the statistical main station, and then uses the power working data of the statistical main station to verify the power data, thereby reducing the transmission of the power working data and further reducing the probability of losing the power working data. At the same time, the present invention can reduce the power data errors caused by failures or problems of the electric energy meter and related equipment through single-meter verification rules and inter-meter verification rules, prevent inaccurate measurement, or the power supply unit under-measures the power, and confirm the fairness and correctness of the power measurement.
[0086] In some executable embodiments, the single-table data verification rules include: missing number rules, large number rules and load curve verification rules.
[0087] It is understandable that the missing number rule mainly verifies from the integrity dimension to ensure that the data is complete and not missing. Specifically, it involves null value verification and record number verification, etc., to check whether there are null values in the data or whether the number of records meets expectations, thereby ensuring data integrity.
[0088] The rule of large numbers mainly verifies from the dimension of rationality, and it focuses on whether the logical relationship between data is reasonable. The rule of large numbers may involve volatility verification, checking whether the data has abnormal large fluctuations, or whether it is within a preset reasonable range, so as to ensure the rationality of the data.
[0089] The load curve verification rules are mainly verified from the dimensions of rationality and accuracy. The load curve verification rules verify the accuracy and rationality of the meter data by comparing the actual readings of the meter with the expected power consumption pattern (load curve). This may involve logic verification, relationship verification, etc. to ensure that the meter readings match the actual power usage.
[0090] In some executable embodiments, determining whether each electric quantity working data in the electric quantity to be checked complies with the single table data verification rule includes:
[0091] It is determined whether each electric quantity working data in the electric quantity data to be checked meets the missing number rule, and each electric quantity working data is the electric quantity working data of a single electric energy meter.
[0092] Furthermore, if each electric quantity working data in the electric quantity data to be checked does not meet the missing number rule, no subsequent verification is performed.
[0093] Specifically, it is determined whether any measurement point in the electricity to be checked has no bottom value, which is considered to be missing. For example, if the electricity working data of the main electric energy meter obtained by the statistical master station does not have a bottom value, that is, the electricity working data is empty, it is considered to be missing.
[0094] In some other executable embodiments, the electric energy meter used by the statistical master station and the master station to be statistically checked is C3000. If the electric energy meter does not collect or import data, the missing data check will fail. Therefore, if the report value is only modified on the interface of the electric energy meter but the statistical master station or the master station to be checked does not collect data, it is also considered as missing data.
[0095] If there is electric quantity working data that meets the missing number rule, it is determined whether each electric quantity working data that meets the missing number rule meets the large number rule.
[0096] Specifically, the power working data of the electric energy meter should theoretically reflect the actual power consumption, so there are some physical and engineering limitations that make it impossible for some values to be too large. For example, the circuits or devices connected to the electric energy meter have their rated power, and the power working data should not exceed the maximum carrying capacity of these devices. Secondly, the power is the product of power and time, so there is a theoretical upper limit to the accumulation of power within a fixed time interval. If the power displayed by the electric energy meter exceeds the maximum possible value calculated based on power and time, the power working data may be inaccurate. Therefore, by judging whether the power data to be checked conforms to the rule of large numbers, the reliability and representativeness of the power working data can be improved, and at the same time, the statistical analysis of the power data can be made more stable and accurate.
[0097] If there is electric quantity working data that meets the large number rule, it is determined whether each electric quantity working data that meets the large number rule meets the load curve verification rule.
[0098] Generally speaking, the verification of load curves usually includes the inspection of curve shape, data consistency, prediction accuracy, etc. The shape and characteristics of the load curve can reflect the operating status of the power grid. Accurate load curves are essential for formulating electricity price policies, arranging power generation plans, and conducting electricity transactions. The verification of load curves helps to improve the transparency and fairness of the market.
[0099] If there is electricity working data that meets the load curve verification rule, it is determined that each electricity working data that satisfies the missing number rule, the large number rule and the load curve verification rule meets the single table data verification rule.
[0100] This embodiment performs verification in the order of missing numbers, large numbers, and load curve verification rules. The verification order first ensures the integrity of the data, then ensures the interval of the data, and finally ensures the rationality of the data as a whole. Following this order can reduce the waste of computing resources and avoid wasting resources to verify the interval of data or even rationality in the case of missing numbers. In the case of high time resolution, it can also save time for verifying data and improve verification efficiency.
[0101] In some executable embodiments, determining whether each electric quantity working data that complies with the missing number rule complies with the large number rule includes:
[0102] On each load curve formed based on each electric quantity working data conforming to the missing number rule, adjacent load values are obtained according to the preset interval time, and the first load value V is obtained in sequence. i-1 , the second load value V i , the third load value V i+1 and the fourth load value V i+2 , where i is an integer greater than or equal to 1.
[0103] Specifically, each electrical quantity working data that meets the missing number rule is arranged in chronological order to form a load curve.
[0104] The integration period (preset time interval) of a general load curve is a multiple of 60 minutes, and the preset time intervals usually used for electricity statistics are 15 minutes and 5 minutes.
[0105] In some other executable embodiments, the preset interval is 1 minute. The 1-minute recording interval provides a higher time resolution, which can capture the short-term fluctuations and instantaneous changes of the load more finely. Load data with high time resolution helps to analyze power quality-related issues, such as voltage fluctuations, frequency deviations, etc., and helps to take corresponding measures to improve power quality. At the same time, load curves with high time resolution also help to promptly detect abnormal conditions in the power grid, such as equipment failures, power outages, or abnormal power consumption behavior.
[0106] If the second load value V i If the power requirement is greater than the first preset power requirement value, it is determined that the large number rule is not met, and the first preset power requirement value is a preset maximum power requirement value.
[0107] It should be noted that the preset maximum power demand value is generally the estimated maximum power demand. If the power working data differs greatly from the first preset power demand value, it means that the demand estimate is not in line with reality. This may cause problems in power supply planning and scheduling, affecting the stability and efficiency of the power grid. At the same time, if the power working data differs too much from the first preset demand value, it may affect the stability and security of the power system and affect the normal operation of the power system. Therefore, by judging V i Whether it is greater than the preset demand value can help to promptly discover whether there are hidden dangers in the stability and safety of the power system.
[0108] If the second load value V i is less than or equal to the first preset power demand value, then the second load value V i and the first load value V i-1 Is it equal to a second preset power requirement value, where the second preset power requirement value is less than the first preset power requirement value.
[0109] Specifically, the rate of change between each point of the power working data and the previous point reflects the relative change of load, power generation or consumption in the power system. This relationship can be expressed by calculating the ratio of the power difference between two consecutive time points to the power at the previous time point.
[0110] If the second load value V i Or the first load value V i-1 is equal to the second preset power demand value, the first preset change rate is set to the second load value V i The rate of change.
[0111] Specifically, when the second load value V i Equal to the second preset power demand value or the first load value V i-1 When the second load value V i The value of the rate of change is set to the value of the first preset rate of change.
[0112] If the second load value V i and the first load value V i-1 are not equal to the second preset power demand value, then the second load value V i Reduce the first load value V i-1 The difference between the second load value V i and the first load value V i-1 The ratio of the minimum value in is set as the second load value V i The rate of change.
[0113] Specifically, when the second load value V i is not equal to the second preset power demand value, and the first load value V i-1When both are not equal to the second preset power demand value, the second load value V i The rate of change is equal to the second load value V i Reduce the first load value V i-1 The difference between the second load value V i and the first load value V i-1 The ratio of the minimum value in .
[0114] In some scenarios, the second preset power requirement value may be 0.
[0115] If the second load value V i The rate of change of is greater than the maximum preset rate of change, and the third load value V i+1 Or the fourth load value V i+2 If the third preset power requirement value is equal to the third preset power requirement value, it does not meet the large number rule. The third preset power requirement value is greater than the second preset power requirement value.
[0116] Specifically, the second load value V of each electric quantity working data that meets the missing number rule i The rate of change of is greater than the maximum preset rate of change, and the third load value V i+1 Or the fourth load value V i+2 is equal to the third preset power requirement value, then each power working data does not meet the large number rule.
[0117] In some scenarios, the third preset power requirement value is 2.
[0118] Specifically, a large rate of change may be due to the increase or decrease or failure of electrical equipment. When a large number of electrical equipment is added or a certain electrical equipment fails, it will cause a large fluctuation in current, thereby increasing the rate of change of power data. In this case, it is necessary to check and repair the electrical equipment in time to ensure the stable operation of the power system. A large rate of change may also be due to the theft of the line or the presence of leakage points. These situations will cause abnormal flow of current, thereby affecting the accuracy of power data. In this case, the unnecessary loss of electricity and safety hazards can be prevented by timely checking and repairing the line.
[0119] In some other executable embodiments, for each piece of power working data, the step of determining whether the power data to be checked conforms to the large number rule includes:
[0120] a) Calculate the rate of change of each load value and the previous load value within 1 hour. Let these two points be the second load value V i , the first load value V i-1 .
[0121]
[0122] b) Calculate the transition state of each point.
[0123]
[0124] c) If V i >big_value or (Flag i =1 and (the third load value V i+1 =2 or the fourth load value V i+2 =2)) does not comply with the large number rule and the large number rule check fails.
[0125] Among them, rate is the rate of change; Flag i is the jump state; big_rate is the second preset change rate; V i is the load value for each minute; V i-1 V i The load value of the previous minute; V i+1 V i The load value for the next minute; V i+2 V i The load value for the next two minutes; big_value is the maximum power demand value for each minute; abs() is a function for finding the absolute value of data.
[0126] In some executable embodiments, determining whether each electric quantity working data that complies with the large number rule complies with the load curve verification rule includes:
[0127] The electric power working data within a first preset time period is obtained from each electric power working data that conforms to the large number rule to obtain the electric power data of the first time period.
[0128] It should be noted that the first preset time length here is the integration period of the load curve.
[0129] The first power data and the second power data are obtained from the power data of the first duration, the first power data being the power working data within the first duration delayed from the starting time of the first preset duration within the first set time, and the second power data being the power working data within the first duration advanced from the end time of the first preset duration within the second set time.
[0130] Specifically, the first preset time is greater than the first set time and the second set time. Further, the first set time is equal to the second set time. The first set time and the second set time may be the interval time measured by the electric energy meter. The first set time may also be the starting time. The second set time may be the ending time.
[0131] Subtract the first power data from the second power data to obtain the difference between the first and last power data.
[0132] All the power working data of the first duration power data are accumulated to obtain the accumulated power.
[0133] Determine whether the difference between the first and last power and the accumulated power meet the preset load curve requirements. If so, it complies with the load curve verification rules.
[0134] Specifically, the load curve verification rule verifies whether the difference between the accumulated power working data of a single meter and the beginning and end of the power working data meets the requirements. By comparing the change in power data and total consumption within a specific time period, it verifies whether the meter reading matches the expected power usage pattern, thereby ensuring the accuracy and rationality of the meter data.
[0135] In some executable embodiments, determining whether the difference between the first and last power and the accumulated power meet the preset load curve requirements, and if so, complying with the load curve verification rule, includes:
[0136] If the difference between the first and last electric quantities and the accumulated electric quantity are both equal to the preset electric quantity constant, the load curve verification rule is met.
[0137] Specifically, the preset power constant can be set based on the observation experience of historical power changes. The preset power constant can also be set based on the expected changes in power working data.
[0138] If the difference between the first and last electric quantities or the accumulated electric quantity is not equal to the preset electric quantity constant, the load curve verification rule is not met.
[0139] Furthermore, the preset electric quantity constant may be 0.
[0140] If the data of the head-to-tail power difference and the accumulated power are not equal to the preset power constant, the load curve change rate between the head-to-tail power difference and the accumulated power is calculated to obtain the load change rate.
[0141] If the load change rate is greater than the preset hourly change rate, the load curve verification rule is not met.
[0142] It is understandable that if the load change rate is greater than the preset hourly change rate, it means that the change in power consumption exceeds the expected maximum value, which indicates that there is a problem with the power meter data or the power usage pattern does not match the expected load curve. The preset hourly change rate is an expected maximum value of the load change over a period of time. The preset hourly change rate is usually the expected maximum value of the load change within an hour.
[0143] In some executable embodiments, calculating the load curve change rate between the first and last power difference and the accumulated power to obtain the load change rate includes:
[0144] Calculate the absolute value of the difference between the first and last power and the accumulated power to get the change.
[0145] The load change rate is obtained by dividing the change by the difference in the first and last power.
[0146] The load change rate reflects the ratio between the actual change in the power data and the expected change. A high load change rate may indicate a problem with the operation of the power system or an abnormality in the power meter data. By calculating the load change rate, abnormalities in the power data can be detected in real time, improving inspection efficiency and reducing waste of human resources.
[0147] In some other executable embodiments, the difference in the power values at both ends of the 1-hour load curve is set to v1 (the difference in power between the beginning and the end), and the accumulation of the power values in the 1-hour load curve is v2 (the accumulated power). If v1 and v2 are both 0 (preset power constant), the verification is passed. If v1 and v2 have one and only one 0, the verification fails. If both are not 0, and abs(v2-v1) / v1*100 (load change rate)>lp_ate (preset hourly change rate), the verification fails, otherwise the verification passes. Wherein, abs() is a function for finding the absolute value of data.
[0148] In some executable embodiments, counting the power working data of the master station includes counting the main power working data of the main meter of the master station, counting the backup power working data of the backup meter of the master station, and counting the calibration power working data of the calibration meter of the master station.
[0149] It should be noted that the main meter refers to the electric energy meter used for the main measurement of electric energy in the power system. It is usually used to measure the electricity consumption of large users, such as large industrial users or high-voltage users. The data provided by the main meter is the direct basis for the settlement of electricity bills between the power company and the user, so its accuracy and reliability are crucial. The standby meter is a backup electric energy meter for the main meter. When the main meter fails or needs maintenance, the standby meter can take over the main meter for electric energy measurement to ensure the continuity and reliability of electric energy measurement. The existence of the standby meter is to reduce the metering interruption caused by the main meter problem and ensure the stability of power measurement. The calibration meter is used to verify the accuracy of other electric energy meters. It is a high-precision electric energy meter, usually used to calibrate and test whether other electric energy meters meet the specified accuracy standards. The calibration meter itself needs to undergo rigorous calibration and testing to ensure the accuracy of its measurement results. In the power system, the calibration meter is used to ensure the accuracy of the electric energy meter and maintain the fairness of the power market.
[0150] The power working data of the master station to be verified includes the main power working data to be verified of the master meter of the master station to be verified. It is judged whether the power working data of the statistical master station in the power working data of the single meter data verification rule and the power working data of each master station to be verified meet the inter-meter data rules, including:
[0151] Determine whether the main power working data and the backup power working data comply with the inter-meter data rules.
[0152] Determine whether the main power working data and the calibration power working data comply with the inter-meter data rules.
[0153] Determine whether the main power working data and the main power working data to be verified comply with the inter-meter data rules.
[0154] It should be noted that the main power working data and the main power working data to be verified are data collected by different master stations from the same electric energy meter. Therefore, the main power working data and the main power working data to be verified should be essentially consistent. Therefore, by comparing the main power working data with the main power working data to be verified, it can be checked whether there are omissions, errors or inconsistencies in the data transmission or recording process to ensure the integrity and accuracy of the data. Secondly, even if the two sites use the same main meter, data records may be abnormal due to external factors (such as power grid fluctuations, equipment failures, etc.). Judging whether the main power working data and the main power working data to be verified meet the inter-meter data rules can help identify these abnormal situations.
[0155] If the main power working data and the backup power working data, the main power working data and the calibration power working data, and the main power working data and the main power working data to be verified all meet the inter-meter data rules, then it is determined that the two power data to be verified meet the inter-meter data rules.
[0156] By checking whether the main power working data, backup power working data, calibration power working data, and main to-be-calibrated power working data comply with the inter-meter data rules, we can ensure data consistency and accuracy, reduce economic losses caused by data errors, and improve the accuracy and reliability of power market and grid operation data.
[0157] In some executable embodiments, there is a sequential relationship between the main power working data and the backup power working data, the calibration power working data, and the main power working data to be verified. Judging whether the power working data of the statistical master station in the power working data of the single table data verification rule and the power working data of each master station to be verified meet the inter-table data rules includes:
[0158] If the main power working data and the backup power working data meet the inter-meter data rule, then determine whether the main power working data and the calibration power working data meet the inter-meter data rule.
[0159] If the main electric quantity working data and the main electric quantity working data to be verified meet the inter-meter data rule, then it is determined whether the main electric quantity working data and the main electric quantity working data to be verified meet the inter-meter data rule.
[0160] The power working data between the main meter, standby meter and calibration meter are interdependent. If the power working data between the main meter, standby meter and calibration meter do not meet the inter-meter rules, it means that there is a problem with the power working data of the statistical master station. In this case, it is meaningless to check the main power working data with the main power working data to be checked. Therefore, checking the data between meters in the above order can avoid meaningless verification to the greatest extent and improve the efficiency of verification.
[0161] In some executable embodiments, determining whether two pieces of power working data comply with an inter-table data rule includes:
[0162] The two electric quantity operating data are respectively set as the first electric quantity operating data and the second electric quantity operating data.
[0163] The accumulated values of the first electric quantity working data and the second electric quantity working data within a preset time period are respectively acquired to obtain a first accumulated value and a second accumulated value.
[0164] The first accumulated value and the second accumulated value are compared to an accumulated maximum threshold constant.
[0165] If both the first accumulated value and the second accumulated value are less than or equal to the accumulated maximum threshold constant, the absolute value of the difference between the first accumulated value and the second accumulated value is calculated to obtain the accumulated difference. If the accumulated difference is less than or equal to the accumulated minimum threshold constant, it is determined that the first power working data and the second power working data meet the inter-meter data rule. If the accumulated difference is greater than the accumulated minimum threshold constant, the first power working data and the second power working data do not meet the inter-meter data rule;
[0166] If the first accumulated value or the second accumulated value is greater than the accumulated maximum threshold constant, the first accumulated value, the second accumulated value and the accumulated threshold constant are compared.
[0167] If the first accumulated value and the second accumulated value are both equal to the accumulated threshold constant, the first electric quantity working data and the second electric quantity working data comply with the inter-table data rule.
[0168] If only one of the first accumulated value and the second accumulated value is equal to the accumulated threshold constant, the first power working data and the second power working data do not comply with the inter-table data rule.
[0169] If both the first accumulated value and the second accumulated value are not equal to the accumulated threshold constant, the accumulated error is calculated according to the first accumulated value and the second accumulated value.
[0170] If the accumulated error is less than the preset comparison error, the first electrical quantity working data and the second electrical quantity working data comply with the inter-meter data rule.
[0171] Furthermore, in some scenarios, the accumulated values of two power working data within 1 hour are set to v1 (first accumulated value) and v2 (second accumulated value); High is the corresponding high threshold (accumulated maximum threshold constant), low is the corresponding low threshold (accumulated minimum threshold constant), and bias is the comparison error. Then, the pseudo code for judging whether the two power working data meet the inter-table data rules is as follows:
[0172] If v1<=high And v2<=high Then
[0173] If abs(v2-v1)<=low Then
[0174] Success
[0175] Else
[0176] Fail
[0177] End If
[0178] Else
[0179] If v1=0And v2=0Then
[0180] Success
[0181] Else If(v1=0And v2<>0)Or(v1<>0And v2=0)Then
[0182] Fail
[0183] Else If abs(v2-v1) / v1*100<=bias Then
[0184] Success
[0185] Else
[0186] Fail
[0187] End If.
[0188] In an executable embodiment, the statistical master station obtains the power working data of its own main meter, standby meter and calibration meter respectively, and obtains the power working data of the main meter obtained by the main station to be verified through network transmission technology, and verifies it. The statistical master station verifies whether there are missing numbers in the main power working data, the standby power working data, the calibration power working data and the main power working data to be verified. If there are no missing numbers in the above power working data, then the main power working data, the standby power working data, the calibration power working data and the main power working data to be verified are respectively checked to see whether they meet the large number verification rules. Only after the above power working data are verified in the large number verification rule verification link, it is verified whether the above power working data meet the load curve verification rules. When the above power working data meet the load curve verification rules, the inter-table rule verification is performed in the order of comparing the main power working data with the calibration power working data, comparing the main power working data with the standby power working data, and comparing the main power working data with the main power working data to be verified. When all the above rules are completed, the verification is considered passed.
[0189] Furthermore, the statistical master station verifies data on an hourly basis, obtains the power working data of the statistical master station and the master station to be verified once every hour, and each electric energy meter collects power data once every minute as power working data. At the same time, the database of the statistical master station will record the last time of each data verification and align it with the hour. The data of the current hour will not be re-verified after automatic verification. If an abnormal situation such as an alarm occurs, the data needs to be manually verified.
[0190] Furthermore, after the power working data is verified, the power working data will be backed up to the corresponding backup table. If the backup table has the corresponding power working data or the backup table is in a locked state, the backup table will not be performed, otherwise it will be backed up.
[0191] Furthermore, during the verification of the power working data, the power working data is divided into one group per hour. During the data verification process, the power working data of the current hour will be locked, and there will only be one alarm result for each group verification per hour.
[0192] Furthermore, the power working data can also be marked, and the mark can be set to a) S: indicating successful verification; b) F: indicating failed verification; c) X: indicating that such verification is not required. For example, the data of the standby meter measurement point does not require the main-main and main-calibration verification. For example, the verification status of a certain measurement point of the standby meter may be: SSSXSX; d) A: For failed verification, you can confirm to accept the data on the interface, and update the status in the backup table after acceptance.
[0193] For the missing power working data, an alarm will be issued directly without recording. For the other 5 verifications, the verification status of 60 values of each power working data every hour will be recorded at the same time. If the power working data of a certain hour is locked, the 6 verification states must be S, A, and X, and cannot be other states. If other states appear, the verification will be interrupted and an alarm will be issued.
[0194] In some executable embodiments, the statistical master station acquires the statistical master station working data and the to-be-verified master station working data through a network transmission technology according to a preset time, and obtains the to-be-verified power data, including:
[0195] The master station to be verified exports the working data of the master station to be verified according to the preset time, and generates the working file to be verified in the first preset directory.
[0196] The master station to be verified transfers the working files to be verified to the second preset directory of the statistics master station through SFTP.
[0197] Specifically, SFTP is the abbreviation of Secure File Transfer Protocol, which is a secure file transfer protocol. It can provide a secure encryption method for transferring files. SFTP adds encryption and feedback controllable links in the communication process to achieve complete data transmission. Even if the power working data transmission fails and causes missing data, the program can automatically discover and notify the other party to re-transmit, and this process no longer requires manual intervention. This reduces the phenomenon of data loss. The statistical master station imports the data in the working file to be verified into the preset database.
[0198] According to the preset time, the statistical main station working data and the main station working data to be verified are queried from the preset database to obtain the power data to be verified.
[0199] In some embodiments, there are two master stations. Figure 3As shown in the figure, the two master stations define the other party's plant-side acquisition device and measurement point name respectively, and apply the import / export function of electricity metering and billing. The electricity metering and billing system of master station A can export the measurement point data (electricity working data) into a text file, and apply the SFTP function to transmit these text files to master station B at regular intervals. The electricity metering and billing system of master station B can import these text files into the database of master station B. Similarly, when master station A is a statistical master station, master station A can also obtain the measurement point data of master station B. In the calibration of the electricity working data between the corresponding measurement points of the two master stations on the statistical master station, the calibration object should be the corresponding measurement points of the two master stations, for example, the main meter, standby meter, calibration meter and main meter to be calibrated of the statistical master station. The calibration can be performed automatically and manually, and the calibration results can be queried. However, there is no flag bit for the working data. The calibration of the electricity working data between the two master stations does not depend on the data calibration task in the same master station. Because the system functions of the two master stations A and B are independent of each other, that is, the automatic process of the electricity metering and billing system can include different process tasks, different process execution times, etc. If the data verification between the master stations must be based on the successful data verification of the local master station, then inevitably, the two master stations must define the same automatic process and the same master / verification tasks, that is, this association condition depends on the manual process definition, and there is a possibility of human error and the data verification between the two master stations cannot be performed. Therefore, this condition should be sufficient, but not necessary.
[0200] In some executable embodiments, the to-be-checked master station transmits the to-be-checked work file to the second preset directory of the statistics master station through SFTP, including:
[0201] The main station to be verified searches the receiving queue of the received statistical main station in the sending queue of this end. If the packet in the sending queue does not match the packet in the receiving queue within the preset receiving time, it is determined that the second preset directory has not received the work file to be verified. The main station to be verified resends the work file to be verified to the second preset directory through SFTP until the second preset directory receives the work file to be verified.
[0202] In some other executable embodiments, such as Figure 2As shown, the statistics work master station (CLP side) and the to-be-verified work master station (GPGP side) increase the sending and receiving packet queues, and send the local sending and receiving packet queues to the other party at regular intervals. First, when using the data acquisition interface provided by Switzerland to acquire data, decompression is not implemented to keep the data compressed. Then, when forming the file, CRC check (Cyclic Redundancy Check, which is the most commonly used error check code in the field of data communication, is characterized by the length of the information field and the check field can be arbitrarily selected). Then, it is transmitted to the designated directory of the other party through SFTP. The receiving queue of the other party is searched in the sending queue of the local end. If the packet in the sending queue does not match the packet in the receiving end queue within a certain period of time, it means that the data of this packet is lost and the other party has not received it. The local end automatically resends the data of this packet, and continues until the other party receives this packet.
[0203] The present invention also provides a power data verification system, which is applied to the verification of power working data between multiple master stations, wherein the multiple master stations include a statistical master station and at least one master station to be verified. The verification system includes:
[0204] The unit for acquiring the electric quantity data to be verified is used to acquire the electric quantity data to be verified. The electric quantity data to be verified includes the electric quantity working data of the statistical master station and the electric quantity working data of all the master stations to be verified in the multiple master stations. The electric quantity working data includes the electric quantity working data of at least one electric energy meter.
[0205] The single-meter data verification rule judgment unit is used to judge whether each electric quantity working data in the electric quantity data to be verified conforms to the single-meter data verification rule.
[0206] The inter-meter data rule judgment unit is used to judge whether the electric power working data of the statistical master station and the electric power working data of each master station to be verified in the electric power working data passing the single-meter data verification rule meet the inter-meter data rule if the electric power working data of the statistical master station and the electric power working data of at least one master station to be verified among all the master stations to be verified meet the single-meter data verification rule.
[0207] The electric quantity data verification unit is used to determine whether the electric quantity working data of the statistical master station that conforms to the inter-meter data rules and the electric quantity working data of the master station to be verified have passed the verification if there are such data.
[0208] The present invention obtains the to-be-checked electric quantity data through the to-be-checked electric quantity data acquisition unit, and then determines whether the to-be-checked electric quantity data satisfies the corresponding rules through the single-table data verification rule judgment unit and the inter-table data rule judgment unit. Finally, the electric quantity data verification unit is used to determine whether the to-be-checked electric quantity data passes the verification.
[0209] The present invention also constructs a computer, which includes a processor and a memory storing a computer program. The processor implements the steps of the above-mentioned verification method when executing the computer program.
[0210] The above embodiments only express the preferred implementation modes of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the patent scope of the present invention. It should be pointed out that, for ordinary technicians in this field, the above technical features can be freely combined without departing from the concept of the present invention, and several deformations and improvements can be made, which all belong to the protection scope of the present invention. Therefore, all equivalent changes and modifications made to the scope of the claims of the present invention should belong to the scope covered by the claims of the present invention.
Claims
1. A method for verifying electric quantity data, applied to verifying electric quantity working data between multiple master stations, characterized in that: The multi-master station includes a statistical master station and at least one master station to be verified; the verification method includes the following steps: Acquire the power data to be checked, the power data to be checked includes the power working data of the statistical master station and the power working data of all the master stations to be checked in the multiple master stations, the power working data includes the power working data of at least one electric energy meter; Determine whether each electric quantity working data in the electric quantity data to be checked complies with the single table data verification rule; If the power working data of the statistical master station and the power working data of at least one of all the master stations to be verified meet the single-meter data verification rule, then determine whether the power working data of the statistical master station and the power working data of each of the master stations to be verified meet the inter-meter data rule among the power working data that pass the single-meter data verification rule; If there are electricity working data of the statistical master station that meet the inter-table data rules and electricity working data of the master station to be verified, it is determined that the electricity working data of the statistical master station that meet the inter-table data rules and the electricity working data of the master station to be verified pass the verification.
2. The verification method according to claim 1, characterized in that: The single table data verification rules include: missing number rule, large number rule and load curve verification rule; The step of judging whether each electric quantity working data in the electric quantity to be checked conforms to the single table data verification rule comprises: Determine whether each electric quantity working data in the electric quantity data to be checked meets the missing number rule, wherein each electric quantity working data is the electric quantity working data of a single electric energy meter; If there is power working data that meets the missing number rule, then determine whether each power working data that meets the missing number rule meets the large number rule; If there is electric quantity working data that meets the large number rule, then determining whether each electric quantity working data that meets the large number rule meets the load curve verification rule; If there is electric quantity working data that meets the load curve verification rule, it is determined that each electric quantity working data that satisfies the missing number rule, the large number rule and the load curve verification rule meets the single table data verification rule.
3. The verification method according to claim 2, characterized in that: The determining whether each of the electric quantity working data that meets the missing number rule meets the large number rule includes: On each load curve formed based on each power working data that meets the missing number rule, adjacent load values are obtained according to a preset interval time to obtain the first load value V in sequence. i-1 , the second load value V i , the third load value V i+1 and the fourth load value V i+2 , where i is an integer greater than or equal to 1; If the second load value V i If the power requirement is greater than a first preset power requirement value, it is determined that the large number rule is not met, and the first preset power requirement value is a preset maximum power requirement value; If the second load value V i is less than or equal to the first preset power demand value, then the second load value V i and the first load value V i-1 whether it is equal to a second preset power requirement value, the second preset power requirement value being less than the first preset power requirement value; If the second load value V i Or the first load value V i-1 is equal to the second preset power demand value, the first preset change rate is set to the second load value V i The rate of change of If the second load value V i and the first load value V i-1 are not equal to the second preset power demand value, then the second load value V i Subtract the first load value V i-1 The difference between the second load value V i and the first load value V i-1 The ratio of the minimum value in is set to the second load value V i The rate of change of If the second load value V i The rate of change of is greater than the maximum preset rate of change, and the third load value V i+1 Or the fourth load value V i+2 If the third preset power requirement value is equal to the third preset power requirement value, it does not meet the large number rule, and the third preset power requirement value is greater than the second preset power requirement value.
4. The verification method according to claim 2, characterized in that: The determining whether each of the electric quantity working data conforming to the large number rule conforms to the load curve verification rule comprises: Acquire the power working data within a first preset time period from each power working data that conforms to the large number rule to obtain the first time period power data; Acquire first power data and second power data from the first duration power data, the first power data being power working data delayed by a first set time from the starting time of the first preset duration in the first duration power data, and the second power data being power working data advanced by a second set time from the ending time of the first preset duration in the first duration power data; Subtracting the first power data from the second power data to obtain a difference between the first and last power data; Accumulate all the power working data of the first duration power data to obtain accumulated power; It is determined whether the head-to-tail power difference and the accumulated power meet the preset load curve requirements; if so, the load curve verification rule is met.
5. The verification method according to claim 4, characterized in that: The determining whether the head-end power difference and the accumulated power meet the preset load curve requirement, and if so, the load curve verification rule is met, including: If the head-to-tail power difference and the accumulated power are both equal to the preset power constant, the load curve verification rule is met; If the difference between the first and last electric quantities or the accumulated electric quantity is not equal to the preset electric quantity constant, the load curve verification rule is not met; If the data of the head-to-tail power difference and the accumulated power are not equal to the preset power constant, then the load curve change rate between the head-to-tail power difference and the accumulated power is calculated to obtain the load change rate; If the load change rate is greater than the preset hourly change rate, the load curve verification rule is not met.
6. The verification method according to claim 5, characterized in that: The calculating the load curve change rate between the first and last power difference and the accumulated power to obtain the load change rate includes: Calculate the absolute value of the difference between the first and last power and the accumulated power to obtain a change; The load change rate is obtained by dividing the change by the head-to-tail power difference.
7. The verification method according to claim 1, characterized in that: The power working data of the statistical master station includes the main power working data of the main meter of the statistical master station, the backup power working data of the backup meter of the statistical master station, and the calibration power working data of the calibration meter of the statistical master station; the power working data of the master station to be calibrated includes the main to-be-calibrated power working data of the main meter of the master station to be calibrated; the judging whether the power working data of the statistical master station and the power working data of each of the master stations to be calibrated in the power working data passing the single-meter data verification rule meet the inter-meter data rule includes: Determine whether the main power working data and the backup power working data comply with the inter-table data rule; Determine whether the main power working data and the calibration power working data conform to the inter-meter data rule; Determine whether the main power working data and the main power working data to be verified meet the inter-table data rule; If the main power working data and the backup power working data, the main power working data and the calibration power working data, and the main power working data and the main power working data to be verified all comply with the inter-table data rules, then it is determined that the power data to be verified complies with the inter-table data rules.
8. The verification method according to claim 7, characterized in that: The judgment between the main power working data and the backup power working data, the calibration power working data, and the main power working data to be verified is in a sequential relationship; the judgment of whether the power working data of the statistical master station and the power working data of each master station to be verified in the power working data passing the single-meter data verification rule meet the inter-meter data rules includes: If the main power working data and the backup power working data meet the inter-meter data rule, then determine whether the main power working data and the calibration power working data meet the inter-meter data rule; If the main electric quantity working data and the main electric quantity working data to be verified meet the inter-table data rule, then it is determined whether the main electric quantity working data and the main electric quantity working data to be verified meet the inter-table data rule.
9. The verification method according to claim 7, characterized in that: Determining whether two pieces of electrical quantity working data conform to the inter-table data rule includes: The two electric quantity working data are respectively set as the first electric quantity working data and the second electric quantity working data; Respectively acquiring accumulated values of the first electric quantity working data and the second electric quantity working data within a preset time period to obtain a first accumulated value and a second accumulated value; comparing the first accumulated value and the second accumulated value with an accumulated maximum threshold constant; If both the first accumulated value and the second accumulated value are less than or equal to the accumulated maximum threshold constant, the absolute value of the difference between the first accumulated value and the second accumulated value is calculated to obtain the accumulated difference; if the accumulated difference is less than or equal to the accumulated minimum threshold constant, it is determined that the first electric quantity working data and the second electric quantity working data meet the inter-meter data rule; if the accumulated difference is greater than the accumulated minimum threshold constant, the first electric quantity working data and the second electric quantity working data do not meet the inter-meter data rule; If the first accumulated value or the second accumulated value is greater than the accumulated maximum threshold constant, comparing the first accumulated value, the second accumulated value with the accumulated threshold constant; If the first accumulated value and the second accumulated value are both equal to the accumulated threshold constant, the first electric quantity working data and the second electric quantity working data comply with the inter-meter data rule; If only one of the first accumulated value and the second accumulated value is equal to the accumulated threshold constant, the first electric quantity working data and the second electric quantity working data do not comply with the inter-meter data rule; If both the first accumulated value and the second accumulated value are not equal to the accumulated threshold constant, calculating a cumulative error according to the first accumulated value and the second accumulated value; If the accumulated error is less than the preset comparison error, the first power working data and the second power working data comply with the inter-meter data rule.
10. A power data verification system, applied to the verification of power working data between multiple master stations, characterized in that: The multiple master stations include a statistical master station and at least one master station to be verified; The verification system comprises: The to-be-verified electric quantity data acquisition unit is used to acquire the to-be-verified electric quantity data, wherein the to-be-verified electric quantity data includes the electric quantity working data of the statistical master station and the electric quantity working data of all the to-be-verified master stations in the multiple master stations, and the electric quantity working data includes the electric quantity working data of at least one electric energy meter; A single-meter data verification rule judgment unit, used to judge whether each electric quantity working data in the electric quantity data to be checked complies with the single-meter data verification rule; An inter-meter data rule judgment unit is used to judge whether the electric power working data of the statistical master station and the electric power working data of each of the master stations to be verified among the electric power working data that pass the single-meter data verification rule meet the inter-meter data rule if the electric power working data of the statistical master station and the electric power working data of at least one of all the master stations to be verified meet the single-meter data verification rule; The power data verification unit is used to determine whether the power working data of the statistical main station that complies with the inter-meter data rules and the power working data of the main station to be verified have passed the verification if there are power working data of the statistical main station that complies with the inter-meter data rules and the power working data of the main station to be verified.
11. A computer comprising a processor and a memory storing a computer program, characterized in that: The processor implements the steps of the verification method according to any one of claims 1 to 9 when executing the computer program.
Citation Information
Patent Citations
Base station database inspection method based on Drools rule engine
CN103064909A
Primary station data quality optimizing method for intelligent power grid dispatching technical support system
CN105046344A
Multi-source heterogeneous data verification system and method for intelligent power grid big data
CN107992519A
Table calibration method based on active self-calibration of meter
CN109738846A
Data checking method and device
CN111061718A
Cited By
Electric energy meter security data encryption transmission method
CN121711161A