CN-119646372-B - Electric energy meter correction electric quantity calculation method and device, electronic equipment and storage medium
Abstract
The application provides a method, a device, electronic equipment and a storage medium for calculating correction electric quantity of an electric energy meter, wherein the method comprises the steps of obtaining metering historical data of a target electric energy meter; the method comprises the steps of analyzing measurement historical data by adopting a phase angle feature portrait algorithm, identifying a wiring error type corresponding to a target electric energy meter, determining a corresponding correction transformation matrix based on the wiring error type, and calculating correction electric quantity of the target electric energy meter based on the correction transformation matrix. The application provides a novel electric energy meter correction electric quantity calculation scheme, which can more accurately calculate the electric energy meter correction electric quantity by adopting an advanced algorithm and a mathematical model, reduce interference of human factors, and adapt to various complicated wiring error conditions, thereby improving the accuracy and reliability of an electric energy meter correction electric quantity calculation method of an electric power system.
Inventors
- YANG HAO
- CHEN HOUAN
- WANG JING
- LI BO
- LIAO YAOHUA
- ZHAO DONGYANG
- JIANG YIHAO
- XIAO YU
- YU YEHONG
- SU JINRONG
- YANG LIN
Assignees
- 云南电网有限责任公司大理供电局
Dates
- Publication Date
- 20260512
- Application Date
- 20241023
Claims (8)
- 1. The method for calculating the correction electric quantity of the electric energy meter is characterized by comprising the following steps of: Acquiring metering history data of a target electric energy meter; Analyzing the metering historical data by adopting a phase angle feature portrait algorithm to identify the type of wiring errors corresponding to the target electric energy meter, wherein the construction mode of the phase angle feature portrait algorithm comprises the steps of acquiring operation data of a plurality of electric energy meters of different types, carrying out data preprocessing on the operation data to obtain preprocessed operation data, extracting corresponding phase angle features and power features from the preprocessed operation data, classifying the phase angle features and the power features according to different wiring types, and constructing a typical phase angle feature learning set; determining a corresponding correction transformation matrix based on the wiring error type; The method comprises the steps of determining time intervals of data recording of a target electric energy meter, collecting current data and voltage data of the target electric energy meter in each time interval, correcting metering power data of each time interval through a correction transformation matrix based on the current data and the voltage data of the target electric energy meter in each time interval to obtain corrected actual measurement power, respectively calculating electric quantity of the target electric energy meter in each time interval based on the actual measurement power to obtain corrected electric quantity of each time interval, and accumulating all corrected electric quantity of each time interval to obtain total corrected electric quantity of the whole charging period.
- 2. The method for calculating corrected electric quantity of electric energy meter according to claim 1, wherein the analyzing the measurement history data by using the phase angle feature portrait algorithm, and identifying the type of wiring error corresponding to the target electric energy meter, comprises: Performing feature extraction on the measurement history data by adopting the phase angle feature portrait algorithm to obtain phase angle features and power features of the target electric energy meter; integrating the phase angle characteristic and the power characteristic to obtain a comprehensive characteristic vector; Matching the comprehensive feature vector with the typical phase angle features in the typical phase angle feature learning set to obtain a plurality of matching combinations with highest matching degree; Respectively calculating Euclidean distances corresponding to the plurality of matching combinations, and taking the matching combination with the smallest Euclidean distance as a voltage wiring combination corresponding to the target electric energy meter to generate a matching result; And determining the type of the wiring error of the target electric energy meter according to the matching result.
- 3. The method of claim 1, wherein determining a corresponding correction transformation matrix based on the type of wiring error comprises: Constructing a correction model corresponding to the target electric energy meter based on the wiring error type; a corresponding correction transformation matrix is determined based on the correction model.
- 4. The method for calculating the corrected electric quantity of the electric energy meter according to claim 3, wherein the constructing the correction model corresponding to the target electric energy meter based on the wiring error type comprises: determining a standard phase angle of the target electric energy meter under a correct wiring condition; determining an actual phase angle of the target electric energy meter based on the type of wiring error; Calculating a phase difference between the standard phase angle and the actual phase angle; and constructing a corresponding correction transformation matrix based on the phase difference to serve as a correction model corresponding to the target electric energy meter.
- 5. The method of claim 4, wherein determining a corresponding correction transformation matrix based on the correction model comprises: calculating theoretical power of the target electric energy meter under the condition of correct wiring; Determining a correction transformation matrix of the target electric energy meter based on the wiring error type; and correcting the actual measured power based on the correction transformation matrix to obtain corrected actual measured power.
- 6. An electric energy meter correction electric quantity calculating device, comprising: the acquisition module is used for acquiring metering historical data of the target electric energy meter; The analysis module is used for analyzing the metering historical data by adopting a phase angle characteristic portrait algorithm and identifying the type of wiring errors corresponding to the target electric energy meter, and comprises the steps of acquiring operation data of a plurality of electric energy meters of different types, carrying out data preprocessing on the operation data to obtain preprocessed operation data, extracting corresponding phase angle characteristics and power characteristics from the preprocessed operation data, classifying the phase angle characteristics and the power characteristics according to different wiring types, and constructing a typical phase angle characteristic learning set; the determining module is used for determining a corresponding correction transformation matrix based on the wiring error type; the calculation module is used for calculating corrected electric quantity of the target electric energy meter based on the correction transformation matrix, and comprises the steps of determining time intervals of data record of the target electric energy meter, collecting current data and voltage data of the target electric energy meter in each time interval, correcting metering power data of each time interval through the correction transformation matrix based on the current data and the voltage data of the target electric energy meter in each time interval, obtaining corrected actual measured power, respectively calculating electric quantity of the target electric energy meter in each time interval based on the actual measured power, obtaining corrected electric quantity of each time interval, and accumulating all corrected electric quantity of each time interval to obtain total corrected electric quantity of the whole charging period.
- 7. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to correct the steps of the method for power calculation of the electric energy meter according to any one of claims 1-5.
- 8. A storage medium storing a computer program loadable by a processor and performing the method for calculating the corrected electrical quantity of an electrical energy meter according to any one of claims 1 to 5.
Description
Electric energy meter correction electric quantity calculation method and device, electronic equipment and storage medium Technical Field The present application relates to the field of power computing technologies, and in particular, to a method and apparatus for computing corrected electric quantity of an electric energy meter, an electronic device, and a storage medium. Background With the continuous expansion and intellectualization of power systems, electric energy meters are used as key devices for metering the consumption of electric energy by electric power devices, and the accuracy of the electric energy meters is critical for both electric power suppliers and consumers. However, in practical applications, wiring errors of the electric energy meter are a common problem, which may lead to inaccuracy of electric energy metering, thereby affecting fairness of electric power transaction and economic benefits of the electric power system. At present, the electric quantity calculation method for correcting the wrong wiring of the electric energy meter widely adopted by power supply enterprises is a correction coefficient method. The method is based on an ideal electric energy meter working model, and the metering deviation caused by wiring errors is corrected by calculating a correction coefficient, wherein the correction coefficient is obtained by comparing correct power and wrong power, and then the electric quantity to be complemented or refunded is calculated by using the coefficient. However, the existing correction electric quantity calculation method has some limitations that the correction effect is poor for unbalanced load or special wiring mode mainly in the case of three-phase load balance, and in addition, under certain wiring error types, such as non-correspondence of current and voltage, correction coefficients can not be calculated, so that effective correction electric quantity can not be obtained. Meanwhile, since the calculation of the correction coefficient depends on the selection of the average power factor, the correction value may be significantly different due to different selections, which increases the influence of human factors and reduces the reliability of the calculation result. Therefore, the existing correction electric quantity calculation method has lower accuracy and reliability and poorer applicability. The foregoing description is provided for general background information and does not necessarily constitute prior art. Disclosure of Invention Aiming at the technical problems, the application provides a method, a device, electronic equipment and a storage medium for calculating the correction electric quantity of an electric energy meter, which solve the problems of lower accuracy and lower reliability in the prior art, calculate the correction electric quantity of the electric energy meter more accurately, reduce the interference of human factors, and adapt to various complicated wiring error conditions, thereby improving the accuracy and the reliability of calculating the correction electric quantity of the electric energy meter of an electric power system. In order to solve the technical problems, the application provides a method for calculating correction electric quantity of an electric energy meter, which comprises the following steps: Acquiring metering history data of a target electric energy meter; analyzing the measurement history data by adopting a phase angle feature portrait algorithm, and identifying the type of wiring error corresponding to the target electric energy meter; determining a corresponding correction transformation matrix based on the wiring error type; and calculating the corrected electric quantity of the target electric energy meter based on the corrected transformation matrix. Further, in some embodiments, the phase angle feature portrait algorithm is constructed in a manner including: acquiring operation data of a plurality of electric energy meters of different types; Performing data preprocessing on the operation data to obtain preprocessed operation data; Extracting corresponding phase angle characteristics and power characteristics from the preprocessed operation data; Classifying the phase angle characteristics and the power characteristics according to different wiring types, and constructing a typical phase angle characteristic learning set; training a preset machine learning algorithm based on the typical phase angle characteristic learning set to obtain a phase angle characteristic image algorithm. Further, in some embodiments, the analyzing the metering history data by using a phase angle feature portrait algorithm, and identifying a wiring error type corresponding to the target electric energy meter includes: Performing feature extraction on the measurement history data by adopting the phase angle feature portrait algorithm to obtain phase angle features and power features of the target electric energy meter; integrating the