Method and system for tracking and compensating for fault power of electric energy metering device based on digital twinning
By constructing a mathematical model of the electricity metering device using digital twin technology, the system automatically calculates the electricity consumption compensation, solving the problems of large errors after the metering device becomes inaccurate and low efficiency of manual calculation, thus realizing intelligent and accurate calculation of electricity consumption compensation.
Patent Information
- Application Number
- CN202211127710.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-16
- Publication Date
- 2026-02-10
- Estimated Expiration
- 2042-09-16
AI Technical Summary
In existing technologies, the calculation of electricity consumption after metering inaccuracies in electricity metering devices lacks automation, resulting in large calculation errors. Manual calculation is inefficient and has a high error rate. Furthermore, digital twin technology is not widely used in the field of smart electricity metering.
A mathematical model of the power metering device is constructed using digital twin technology. By collecting power load data and actual operating data, the device automatically calculates power loss and compensation. It is applicable to three-phase four-wire and three-phase three-wire power metering devices, including fault types such as voltage loss and current loss, and realizes intelligent processing of power loss and compensation.
It enables accurate calculation of power loss after metering inaccuracies in electricity metering devices, reducing errors and improving calculation efficiency and accuracy. It is applicable to various electricity metering devices and fault types, and supports intelligent management and optimization of electricity metering devices.
Smart Images

Figure CN115469262B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to a method and system for tracking, returning, and compensating for faulty electricity consumption in an electricity metering device based on digital twins, and belongs to the field of electricity metering technology. Background Technology
[0002] Electricity metering devices include those installed by electricity users, those installed in charging piles, and instruments related to energy monitoring with electricity metering functions. The accuracy of electricity metering directly affects the economic interests of both power supply departments and electricity users. Inaccurate metering devices can lead to unfair electricity trade settlements; therefore, the supervision, management, and dispute resolution of electricity metering devices are particularly important. For cases of inaccurate metering, it is necessary to accurately calculate the refund / refund amount. This requires accurately defining the start and end times of the metering malfunction and the erroneous electricity consumption recorded by the malfunctioning device. Then, based on the start and end times of the metering malfunction, the correct electricity consumption during the malfunction period must be accurately calculated. The erroneous electricity consumption is then subtracted, and finally, the refund / refund amount is accurately calculated. Traditional refund / refund methods directly use traditional static correction coefficients based on the fault type and metering principle, combined with the erroneous electricity consumption, to calculate the refund / refund amount. This does not consider the actual electricity load process, resulting in significant calculation errors.
[0003] Incorrect wiring or metering malfunctions in electricity metering devices will lead to inaccurate electricity metering and affect the accuracy of electricity consumption. Common malfunctions include voltage loss, current loss, poor contact, incorrect wiring, and metering device failure. Incorrect wiring of metering devices mainly includes incorrect phase sequence, reverse polarity of voltage transformers, reverse polarity of current transformers, poor grounding of the common point, floating, and mismatch between the voltage and current phase sequence of metering elements. Incorrect phase sequence mainly refers to the mismatch of the phase sequence of three-phase four-wire electricity metering devices, three-phase three-wire electricity metering devices, voltage transformers, and current transformers. When incorrect phase sequence or reversed polarity occurs, the voltage and current connections of the same element will be in different phases. In addition to incorrect wiring, the metering device may also have fault phenomena such as abnormal metering voltage, abnormal metering current, and abnormal power factor. In actual work, analysis and judgment are very complex, and it is even more complex to perform electricity consumption recovery calculations based on incorrect wiring and fault conditions. Currently, there is no automated calculation system or equipment for compensating for electricity consumption after metering devices malfunction. During a fault, electricity consumption compensation needs to be calculated manually, but the calculation methods are inconsistent. The human factor and the arbitrary selection of relevant parameters in the manual calculation method are also relatively large. The three-phase load status is constantly changing in actual production, which makes manual analysis and calculation not only inefficient, but also has a relatively high error rate. It is also difficult for the power supply and consumption parties to reach a consensus on electricity consumption compensation.
[0004] In the smart electricity metering industry, the application of digital twin technology still requires in-depth research, and the application trials of digital twin technology in power systems are only in the preliminary verification and exploration stage. Digital twins, by collecting data from equipment and combining it with an understanding of the equipment's dynamic characteristics, construct a mathematical model that can map the physical equipment. This allows for a better understanding of the equipment's operating status through virtualization and digitization technologies. When applied to electricity metering devices, it can enhance the management of equipment operation. Summary of the Invention
[0005] This invention provides a method and system for tracking, refunding, and compensating for faulty electricity consumption using a digital twin-based electricity metering device, aiming to at least solve one of the technical problems existing in the prior art.
[0006] The technical solution of this invention relates, on one hand, to a method for power metering based on digital twins, applied to power metering devices. The method according to this invention includes the following steps:
[0007] S100. Determine the time period for power metering and its start and end times, and diagnose the fault type and collect power load data for each recording time interval from the start time.
[0008] S200. Based on the power load data associated with the fault type and the power load data, obtain the actual operating data within each recording time interval;
[0009] S300: The digital twin model obtains the actual electrical energy for each recording time interval based on the input electrical load data and the actual operating data, and determines the supplementary electrical energy for the supplementary measurement period.
[0010] Another aspect of the technical solution of the present invention relates to a power loss and compensation processing method based on digital twins, applied to a three-phase four-wire power metering device with a voltage loss fault. The method according to the present invention includes the following steps:
[0011] S150. Determine the time period for power metering and its start and end times. Starting from the start time, diagnose the fault type during the power metering device fault period and collect the power load data for each recording time interval. The fault type includes single-phase voltage loss fault, and the power load data includes the recorded current of the voltage loss phase, the recorded voltage of the two normal phases, and the recorded power factor of the two normal phases.
[0012] S250, Set the actual voltage of the voltage-depleted phase in the nth recording time interval to be equal to the arithmetic mean of the recording voltages of the two normal phases; Set the actual power factor of the voltage-depleted phase in the nth recording time interval to be equal to the arithmetic mean of the recording power factors of the two normal phases;
[0013] S331, Based on the actual voltage U of the undervoltage phase un The actual power factor cosΦ of the undervoltage phase un Recording current I of the undervoltage phase un The actual active power of the depressurized phase during the nth recording time interval is obtained; where,
[0014] The actual active power P of the phase under voltage loss during the nth recording time interval un The calculation method is as follows:
[0015] P un =U un *I un *cosΦ un ,
[0016] S332. Based on the power replenishment measurement period and the actual active power of the voltage-loss phase, obtain the actual electrical energy E of the voltage-loss phase during the nth recording time interval. un To obtain the actual electrical charge E of the phase with voltage loss during the power loss measurement period. u ;in,
[0017] The actual electrical charge E of the phase that lost voltage during the electrical charge recovery measurement period. u The calculation method is as follows:
[0018]
[0019] In the formula, t represents the duration of each recording time interval; n represents the nth recording time interval, and the value of n is in the range of (1, k), where k represents the total number of recording time intervals contained between the start time and the end time of the power replenishment measurement period;
[0020] S333, Obtain the actual total electricity consumption of the power metering device during the voltage loss phase, EZ = E u And obtain the erroneous charge EX of the voltage loss phase during the power compensation measurement period, so as to obtain the compensation charge E = EZ – EX during the power compensation measurement period.
[0021] Another aspect of the technical solution of the present invention relates to a power loss and compensation processing method based on digital twins, applied to a three-phase four-wire power metering device with a voltage loss fault. The method according to the present invention includes the following steps:
[0022] S160. Determine the time period for power metering and its start and end times. Starting from the start time, diagnose the fault type during the power metering device fault period and collect the power load data for each recording time interval. The fault type includes two-phase voltage loss fault, and the power load data includes the recorded current of the two voltage loss phases, the recorded voltage of the normal phase, and the recorded power factor of the normal phase.
[0023] S260. Set the actual voltage of both voltage-deficient phases to be equal to the recording voltage of the normal phase during the nth recording time interval; set the actual power factor of both voltage-deficient phases to be equal to the recording power factor of the normal phase during the nth recording time interval.
[0024] S341, Based on the actual voltage U1 of the two undervoltage phases n U2 n The actual power factor cosΦ1 of the two unloaded phases n cosΦ2 n The recording current I1 of the two undervoltage phases n I2 n The actual active power of the two depressurized phases during the nth recording time interval is obtained; where,
[0025] The actual active power P1 of the two depressurized phases during the nth recording time interval n P2 n The calculation method is as follows:
[0026] P1 n =U1 n *I1 n *cosΦ1 n ,
[0027] P2 n =U2 n *I2 n *cosΦ2 n ,
[0028] S342. Based on the measured period of the power loss and compensation, and the actual active power of the two phases that lost voltage, obtain the actual electrical energy E1 of the two phases that lost voltage during the nth recording time interval. n E2 n This is to obtain the actual electrical quantities E1 and E2 of the two voltage-loss phases during the electrical quantity recovery and compensation measurement period; among which...
[0029] The actual electrical charge E of the phase experiencing voltage loss during the power loss measurement period is calculated as follows:
[0030]
[0031] In the formula, t represents the duration of each recording time interval; n represents the nth recording time interval, and the value of n is in the range of (1, k), where k represents the total number of recording time intervals contained between the start time and the end time of the power replenishment measurement period;
[0032] S343. Obtain the actual total power of the power metering device in the phase of power loss EZ=E1+E2, and obtain the erroneous power EX of the power loss phase during the power loss measurement period, so as to obtain the power loss measurement period's power loss compensation E=EZ–EX.
[0033] Another aspect of the technical solution of the present invention relates to a power loss and compensation processing method based on digital twins, applied to a three-phase three-wire power metering device in the event of a voltage loss fault. The method according to the present invention includes the following steps:
[0034] S170. Determine the time period for power metering and its start and end times. Starting from the start time, diagnose the fault type of the power metering device during the fault period and collect the power load data for each recording time interval. The fault type includes the loss of voltage of one of the metering elements of the three-phase three-wire power metering device. The power load data includes the recorded current of the normal metering element and the metering element that lost voltage, the recorded voltage of the normal metering element, and the recorded power factor of the normal metering element.
[0035] S270. Set the actual voltage of the undervoltage metering element to be equal to the recording voltage of the normal metering element during the nth recording time interval; set the actual power factor of the undervoltage metering element to be equal to the recording power factor of the normal metering element during the nth recording time interval.
[0036] S351, Based on the actual voltage U of the undervoltage metering element un ', The actual power factor cosΦ of the underpressure metering element un 'and the recording current I of the two undervoltage phases un ', to obtain the actual active power of the pressure loss metering element during the nth recording time interval; where,
[0037] The actual active power P of the pressure loss metering element during the nth recording time interval un The calculation method for ' is as follows:
[0038] P un '=U un '*I un '*cosΦ un ',
[0039] S352. Based on the power replenishment measurement period and the actual active power of the undervoltage metering element, obtain the actual electrical energy E of the undervoltage metering element in the nth recording time interval.un ', to obtain the actual electrical charge E of the pressure loss metering element during the power loss measurement period. u ';in,
[0040] The actual electrical charge E of the phase experiencing voltage loss during the power loss measurement period is calculated as follows:
[0041]
[0042] In the formula, t represents the duration of each recording time interval; n represents the nth recording time interval, and the value of n is in the range of (1, k), where k represents the total number of recording time intervals contained between the start time and the end time of the power replenishment measurement period;
[0043] S353, Obtain the actual total electricity consumption of the power metering device during the voltage loss phase, EZ = E u And obtain the erroneous charge EX of the voltage loss phase during the power compensation measurement period, so as to obtain the compensation charge E = EZ – EX during the power compensation measurement period.
[0044] Another aspect of the technical solution of the present invention relates to a power loss and compensation processing method based on digital twins, applied to a three-phase four-wire power metering device with current loss fault. The method according to the present invention includes the following steps:
[0045] S180. Determine the time period for power metering and its start and end times. Starting from the start time, diagnose the fault type during the power metering device fault period and collect the power load data for each recording time interval. The fault type includes single-phase current loss fault, and the power load data includes current transformer ratio, recorded voltage of the current-loss phase, recorded current on the primary side of the current-loss phase, and recorded power factor on the primary side of the current-loss phase.
[0046] S280. Set the actual current on the user side of the current-loss phase during the nth recording time interval to be equal to the quotient obtained by dividing the recorded current on the primary side of the current-loss phase by the current transformer ratio; set the actual power factor on the user side of the current-loss phase during the nth recording time interval to be equal to the actual power factor on the primary side of the current-loss phase.
[0047] S361, Based on the recorded voltage U of the decurrent phase in The actual power factor cosΦ on the user side of the off-current phase in and the actual current I on the user side of the non-current phase in The actual active power of the current-depleted phase during the nth recording time interval is obtained; where,
[0048] The actual active power P of the current-loss phase during the nth recording time interval in The calculation method is as follows:
[0049] P in =U in *I in *cosΦ in ,
[0050] S362. Based on the measured period of the current recovery and compensation, and the actual active power of the current-loss phase, obtain the actual electrical energy E of the current-loss phase in the nth recording time interval. in To obtain the actual electrical charge E of the current-loss phase during the current recovery measurement period. i ;in,
[0051] The actual electrical charge E of the current-loss phase during the electrical charge replenishment measurement period. i The calculation method is as follows:
[0052]
[0053] In the formula, t represents the duration of each recording time interval; n represents the nth recording time interval, and the value of n is in the range of (1, k), where k represents the total number of recording time intervals contained between the start time and the end time of the power replenishment measurement period;
[0054] S363. Obtain the actual total electricity consumption of the current-loss phase of the power metering device, EZ = E i And obtain the erroneous charge EX of the current-loss phase during the power replenishment measurement period, so as to obtain the replenishment charge E = EZ – EX during the power replenishment measurement period.
[0055] Another aspect of the technical solution of the present invention relates to a power loss and compensation processing method based on digital twins, applied to a three-phase three-wire power metering device with current loss fault. The method according to the present invention includes the following steps:
[0056] S190. Determine the time period for power metering and its start and end times. Starting from the start time, diagnose the fault type during the power metering device fault period and collect the power load data for each recording time interval. The fault type includes a current loss fault of a metering element. The power load data includes the current transformer ratio, the recording voltage of the current loss metering element, the recording current on the primary side of the current loss metering element, and the recording power factor on the primary side of the current loss metering element.
[0057] S290. Set the actual current on the user side of the current loss metering element during the nth recording time interval to be equal to the quotient obtained by dividing the recorded current on the primary side of the current loss metering element by the current transformer ratio; set the actual power factor on the user side of the current loss metering element during the nth recording time interval to be equal to the actual power factor on the primary side of the current loss metering element.
[0058] S371, based on the recorded voltage U of the current-loss metering element in The actual power factor cosΦ on the user side of the current-loss metering element. in The actual current I on the user side of the current metering element and the current loss metering element in ', to obtain the actual active power of the current-loss metering element during the nth recording time interval; where,
[0059] The actual active power P of the current-loss metering element during the nth recording time interval in The calculation method for ' is as follows:
[0060] P in '=U in '*I in '*cosΦ in ',
[0061] S372. Based on the measured period of the current loss and replenishment, and the actual active power of the current loss metering element, obtain the actual electrical energy E of the current loss metering element in the nth recording time interval. in ', to obtain the actual current E of the current loss metering element during the current loss measurement period. i ';in,
[0062] The actual electrical charge E of the current-loss metering element during the power loss measurement period. i The calculation method for ' is as follows:
[0063]
[0064] In the formula, t represents the duration of each recording time interval; n represents the nth recording time interval, and the value of n is in the range of (1, k), where k represents the total number of recording time intervals contained between the start time and the end time of the power replenishment measurement period;
[0065] S373, Obtain the actual total electricity consumption of the current-loss phase of the power metering device, EZ = E i ', and obtain the erroneous charge EX of the current-loss phase during the charge recovery measurement period, so as to obtain the recovery charge E = EZ – EX during the charge recovery measurement period.
[0066] Another aspect of the technical solution of the present invention relates to a computer-readable storage medium having program instructions stored thereon, which, when executed by a processor, implement the above-described method.
[0067] Another aspect of the technical solution of the present invention relates to a power tracking, compensation and refund processing system based on digital twins, comprising: a computer device, the computer device including the aforementioned computer-readable storage medium.
[0068] Another aspect of the technical solution of the present invention relates to an energy metering device for tracking, refunding, and compensating for energy usage, comprising:
[0069] The system includes: a power parameter sampling channel module; an analog board module comprising an analog circuit and an A / D conversion circuit, wherein the A / D conversion circuit is connected to the output terminal of the data sampling channel module via the analog circuit; a data acquisition and metering processor circuit connected to the output terminal of the analog board module; a control processing module connected to the output terminal of the data acquisition and metering processor circuit; and a power supply circuit that supplies power to the analog board module, the data acquisition and metering processor circuit, and the control processing module, respectively.
[0070] The beneficial effects of this invention are as follows.
[0071] This invention relates to a method and system for tracking and compensating for faulty electricity consumption in electricity metering devices based on digital twins. By innovatively applying digital twin technology to map the metered electricity device, it constructs an intelligent application for tracking and compensating for electricity consumption after metering inaccuracies. This allows for precise simulation of the metering failure process, enabling accurate calculation of the necessary compensation for miscalculations. The calculated results are more reliable and have smaller errors. Based on digital twin technology, the electricity metering device can be simulated, verified, and predicted throughout its physical lifecycle using real-time data, historical data, opening records, and algorithm models. This allows for performance optimization, operational status assessment, and historical operational process simulation, providing more comprehensive intelligent analysis, data analysis, power prediction, and electricity metering fault analysis to better serve the proper operation of the electricity metering device. The method and system of this invention are applicable to various energy metering devices, such as three-phase four-wire energy metering devices and three-phase three-wire energy metering devices, and are also applicable to various fault types of energy metering devices, such as incorrect wiring, undervoltage faults, and undercurrent faults, thus having wide applicability. Attached Figure Description
[0072] Figure 1 The diagram shown is a schematic block diagram of the power metering device, power tracking and compensation calculator, according to the present invention.
[0073] Figure 2 The diagram shown is a schematic diagram of the interface panel configuration of the measuring instrument according to the present invention.
[0074] Figure 3 The diagram shown illustrates the workflow of the measuring instrument.
[0075] Figure 4 The diagram shown is a basic flowchart of the power replenishment and compensation method according to the present invention. Detailed Implementation
[0076] The following will provide a clear and complete description of the concept, specific structure, and technical effects of the present invention in conjunction with the embodiments and accompanying drawings, so as to fully understand the purpose, solution, and effects of the present invention.
[0077] It should be noted that all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. The term "and / or" as used herein includes any combination of one or more of the associated listed items.
[0078] It should be understood that although the terms first, second, third, etc., may be used in this disclosure to describe various elements, these elements should not be limited to these terms. These terms are only used to distinguish elements of the same type from one another. The use of any and all instances or exemplary language (“e.g.,” “such as,” etc.) provided herein is intended only to better illustrate embodiments of the invention and, unless otherwise required, does not impose a limitation on the scope of the invention.
[0079] Reference Figure 1 The metering device power compensation calculator according to the present invention includes a power supply circuit, a power parameter sampling channel module, an analog circuit, a data acquisition and metering processor circuit, and a control processing module. The power supply circuit supplies power to the analog circuit, A / D conversion module, data acquisition and metering processor circuit, and control processing module circuit, respectively. During on-site verification, the voltage sampling channel module and current sampling channel module collect real-time power parameters such as voltage and current connected to the metering device. The voltage sampling channel module and current sampling channel module are connected to the analog circuit, and the analog circuit, A / D conversion module, data acquisition and metering processor circuit, and control processing module are connected together in sequence.
[0080] The voltage sampling channel module includes a voltage sampling circuit and a voltage range switching circuit, used to connect to the metering device's power compensation terminal to collect voltage values. The current sampling channel module includes current transformer sampling, clamp meter sampling, current sampling circuit switching, and current range switching, used to connect to the metering device's power compensation terminal to collect current values.
[0081] The analog board module, serving as the motherboard of the supplementary measuring instrument according to the present invention, not only connects to the voltage sampling channel module and the current sampling channel module, but is also associated with the data acquisition and metering processor circuit control processing module circuit. The analog circuit is connected to the A / D conversion module, and the output terminal of the A / D conversion module circuit is connected to the data acquisition and metering processor circuit.
[0082] The data acquisition and metering processor circuit includes a DSP high-speed processor and a computing input / output module. The data acquisition and metering processor circuit is connected to the A / D conversion module through the SPI interface and to the metering input / output module through the I / O interface. The metering input / output module outputs standard electrical pulse signals for standard meters to calibrate the instrument's accuracy and is connected to the control processing module circuit through a serial port.
[0083] The control processing module circuit includes an ARM processor, a capacitive touch screen, and a memory. The ARM processor is connected to the data acquisition and metering processor circuit via a serial port and to the capacitive touch screen via an I / O interface. It reads the data stored in the metering device through methods such as RS-485 and carrier wave.
[0084] The analog board module is connected to the interface panel of the supplementary measurement instrument, such as... Figure 2 As shown. The interface is described below.
[0085] 1. Host USB Port: Connects external devices such as USB flash drives, barcode scanners, wireless keyboards, and mice. 2. Network Port / Extension Port: Connects to the Internet via network cable / extends functionality. 3. Pulse 1 Interface: Connects to a photoelectric sampler and pulse lines (pulse input, pulse output, manual switch). 4. Pulse 2 Interface: Connects to a photoelectric sampler and pulse lines (pulse input, pulse output, manual switch). 5. C-Phase Clamp Meter Port: Connects to 1A, 5A, 20A, 100A, 500A, 1000A, and 2500A clamp meters. 6. B-Phase Clamp Meter Port: Connects to 1A, 5A, 20A, 100A, 500A, 1000A, and 2500A clamp meters. 7. A-Phase Clamp Meter Port: Connects to 1A, 5A, 20A, 100A, 500A, 1000A, and 2500A clamp meters. 8. C-phase current terminal: Connect to the C-phase current output line (C-phase current flows out); 9. C-phase current terminal: Connect to the C-phase current input line (C-phase current flows in); 10. B-phase current terminal: Connect to the B-phase current output line (B-phase current flows out); 11. B-phase current terminal: Connect to the B-phase current input line (B-phase current flows in); 12. A-phase current terminal: Connect to the A-phase current output line (A-phase current flows out); 13. A-phase current terminal: Connect to the A-phase current input line (A-phase current flows in); 14. B-phase voltage terminal: Connect to the B-phase voltage line; 15. A-phase voltage terminal: Connect to the A-phase voltage line; 16. C-phase voltage terminal: Connect to the C-phase voltage line; 17. Common voltage terminal: Connect to the neutral voltage line. 18. Power Switch: I. On: Indicates online power supply; the instrument is powered by any two phases of voltage from the field or via Micro USB. II. Off: Indicates power off; connecting a Micro USB cable while off allows charging. III. Battery: Indicates battery power; the instrument is powered by an internal battery. 19. Micro USB Port: Connect a Micro USB cable for charging or connect a 5V Micro USB adapter to power the instrument.
[0086] In one embodiment, the data acquisition and metering processor circuit mainly receives the digital signals of the voltage and current being measured, and simultaneously receives the pulses of the meter being calibrated. Based on the meter constant, number of revolutions, and number of acquisition pulses set by the ARM host computer program, it calculates the cumulative power value within the set number of revolutions. It performs real-time analysis and calculation on the digital signal stream of the voltage and current being measured to obtain the required electrical parameters such as voltage, current, waveform distortion, harmonic content, active power / power, reactive power / power, apparent power, phase, power factor, and frequency.
[0087] In one embodiment, the control processing module includes a supplementary measurement module and a meter reading module. The meter reading module includes various communication methods such as a RS-232 communication module, an RS-485 communication module, and a carrier communication module. These modules are connected to the ARM processor module and can be used to read and collect electricity data recorded by the metering device. The control processing module also includes a capacitive touchscreen, which uses a large-screen color LCD to display test parameters and control the commands sent to the data acquisition and metering processor circuit. It can simultaneously display three-phase voltage, current, phase angle, power, vector diagram, and identify incorrect wiring methods of the metering device. The control processing module's input / output module can exchange data with a computer and a USB storage device via a USB interface.
[0088] In one embodiment, the control processing module uses communication modules such as a RS-232 communication module, an RS-485 communication module, and a carrier communication module to collect data records stored in the metering device, including instantaneous voltage, current, active power, reactive power, power factor, and load curve records, as well as event records of the metering device. If the metering device has fault records such as voltage or current loss, it can read the start time and duration of the voltage or current loss fault, as well as load record data such as voltage, current, active power, reactive power, power factor, total active energy, total reactive energy, and current demand during the fault period.
[0089] In one embodiment, the power replenishment calculation module collects electrical parameter data such as voltage, current, and power factor from the metering device on-site. It then analyzes the collected electrical parameters using a vector diagram to determine the wiring configuration of the metering device and identify any faults. This process identifies the cause of the fault and determines a reasonable power replenishment calculation method. Simultaneously, the module reads the stored power data from the metering device via the RS-232, RS-485, and carrier communication modules of the control processing module. It analyzes and identifies potential faults such as voltage loss, current loss, phase loss, and short circuits. Furthermore, by combining the voltage, current, and power factor data collected on-site by the power replenishment precision calculation instrument, the module analyzes and processes fault data to facilitate rapid calculation of power replenishment.
[0090] In one application scenario, this metering device's precise power replenishment calculator comprehensively reads data from a multi-function meter, including voltage, current, power, undervoltage, undercurrent, angle, event records, incorrect wiring, and load curves. It also collects on-site data on the metering device's voltage, current, transformer ratio, angle, power factor, and wiring. The recorded data is categorized and analyzed. For undervoltage faults, the time of undervoltage is identified, along with the load conditions within that time period, and the corresponding power replenishment is calculated. For undercurrent faults, abnormal current data is identified, the cause of the anomaly is analyzed, and the required power replenishment is calculated. Based on the actual voltage, current, angle, and wiring verified on-site, the corresponding power factor deviation is determined, and the required power replenishment under correct wiring is calculated as the basis for power replenishment. Load curve data analysis identifies the cause of events, including start and end times, reasons for power anomalies, and wiring conditions, providing detailed analysis results, calculation formulas, and corresponding power replenishment calculations. The data is compiled into charts and reports for on-site confirmation and signature. The program implementation principle block diagram is shown below. Figure 3 As shown.
[0091] Reference Figure 4 The technical solution of the present invention is a power consumption tracking, refund, and compensation method based on digital twins, applied to power metering devices, and includes at least the following steps:
[0092] S100. Determine the time period for power metering and its start and end times, and diagnose the fault type and collect power load data for each recording time interval from the start time.
[0093] S200: Based on the power load data associated with the fault type and the power load data, obtain the actual operating data within each recording time interval;
[0094] The S300 and digital twin model obtain the actual electrical energy for each recording time interval based on the input power load data and actual operation data, and determine the supplementary power for the power supplementation measurement period.
[0095] Detailed Implementation of Step S100
[0096] This invention utilizes key information such as the functional parameters, environmental parameters, historical operating data, and fault characteristics of an energy metering device. It constructs a digital mirror image of the energy metering device in the virtual space of a software system, using power load data including voltage, current, active power, reactive power, power factor, total positive active energy, and total reactive energy, as well as fault periods (energy recovery measurement periods). This results in a digital twin system for the energy metering device in virtual space. This system can perform feature mining and processing analysis of the energy metering device's operating status based on the input operating data, and assists in… By employing load curve analysis and fault type identification, and utilizing fault period data from electricity metering devices along with digital twin technology, this invention can accurately pinpoint the start and end times of metering inaccuracies. It enables the reconstruction of actual operating data for each recording time interval based on the recorded data, precisely tracing the actual operating data and electricity consumption during the fault period. Furthermore, by combining the recorded electricity consumption from the inaccurate metering device, it automatically calculates precise compensation amounts, transforming manual calculation of compensation amounts into automated calculation based on a digital twin system. This invention not only calculates compensation amounts for incorrect wiring in electricity metering devices but also enables precise calculation of compensation amounts in cases of metering inaccuracies such as voltage and current loss, voltage and current transformer faults, metering faults, and reactive power over-compensation.
[0097] Furthermore, the embodiments of the present invention are applicable to various types of electricity metering devices, including three-phase four-wire electricity metering devices and three-phase three-wire electricity metering devices. The fault types applicable to the embodiments of the present invention include various incorrect wiring, undervoltage faults, and undercurrent faults, further including undervoltage, undercurrent, poor contact, incorrect wiring, and metering device malfunctions. Incorrect wiring of metering devices mainly includes phase sequence recording, reverse polarity of voltage transformers, reverse polarity of current transformers, poor grounding of the common point, floating, and mismatch between the voltage and current phase sequence of metering elements. Phase sequence recording mainly refers to mismatched phase sequences in the wiring of three-phase four-wire electricity metering devices, three-phase three-wire electricity metering devices, voltage transformers, and current transformers. When phase sequence recording or reverse polarity occurs, the voltage and current wiring of the same element are of different phases. In addition to incorrect wiring, the metering device may also exhibit fault phenomena such as abnormal metering voltage, abnormal metering current, and abnormal power factor.
[0098] The calculation method for supplementary power consumption varies depending on the type of electricity metering device and the type of fault. After determining the measurement period for supplementary power consumption, as well as its start and end times, the system selects different load data to calculate the supplementary power consumption based on the type of electricity metering device and the type of fault.
[0099] In one embodiment of the present invention, for a three-phase four-wire power metering device, when the fault type is incorrect wiring, the selected power load data includes the recorded active power and the recorded reactive power of each phase, or the read power load data includes the recorded current, the recorded voltage and the recorded power factor of each phase.
[0100] In one embodiment of the present invention, for a three-phase three-wire power metering device, when the fault type is incorrect wiring, the selected power load data includes the recorded active power and the recorded reactive power of the first metering element and the second metering element, or the data read includes the recorded current, the recorded voltage and the recorded power factor of the first metering element and the second metering element.
[0101] In one embodiment of the present invention, for a three-phase four-wire power metering device, when the fault type is a single-phase voltage loss fault, the selected data includes the recorded current of the three phases, the recorded voltage of the two normal phases, and the recorded power factor of the two normal phases. Alternatively, when the fault type is a two-phase voltage loss fault, the recorded load data includes the recorded current of the three phases, the recorded voltage of the normal phases, and the recorded power factor of the normal phases.
[0102] In one embodiment of the present invention, for a three-phase three-wire power metering device, when the fault type is that one of the metering elements loses voltage, the selected power load data includes the recorded current of the normal metering element and the metering element that lost voltage, the recorded voltage of the normal metering element and the recorded power factor of the normal metering element.
[0103] In one embodiment of the present invention, for a three-phase four-wire power metering device, when the fault type is a current loss fault, the recorded current on the primary side of the current loss phase, the recorded power factor on the primary side of the current loss phase, the current transformer ratio TA, and the recorded voltage on the user side of the current loss phase are selected.
[0104] In one embodiment of the present invention, for a three-phase three-wire energy metering device, when the fault type is current loss of the metering element, the recorded current on the primary side of the current-loss metering element, the recorded power factor on the primary side of the current-loss metering element, the current transformer ratio TA, and the recorded voltage of the current-loss metering element on the user side are selected.
[0105] Specific implementation methods for steps S210 and S220 (three-phase four-wire power metering device with faults including incorrect wiring)
[0106] In some specific embodiments of the present invention, the energy metering device is a three-phase four-wire energy metering device, and the fault type includes incorrect wiring, then:
[0107] When measured correctly, the actual active power expression (2-A) for phases A, B, and C is:
[0108] Pa=Ua*Ia*cosΦa, Pb=Ub*Ib*cosΦb, Pc=Uc*Ic*cosΦc,
[0109] In the formula, Pa, Pb, and Pc represent the actual active power of phases A, B, and C, respectively; Ua, Ub, and Uc represent the actual voltages of phases A, B, and C, respectively; Ia, Ib, and Ic represent the actual currents of phases A, B, and C, respectively; COSΦa, COSΦb, and COSΦc represent the actual power factors of phases A, B, and C, respectively; and Φa, Φb, and Φc represent the actual phase angles of phases A, B, and C, respectively.
[0110] When the wiring is incorrect, the recorded active power expression (2-B) for phases A, B, and C is:
[0111] Pa1=Ua1*Ia1*cosΦa1, Pb1=Ub1*Ib1*cosΦb1, Pc1=Uc1*Ic1*cosΦc1,
[0112] In the formula, Pa1, Pb1, and Pc1 represent the recorded active power of phases A, B, and C, respectively; Ua1, Ub1, and Uc1 represent the recorded voltages of phases A, B, and C, respectively; Ia1, Ib1, and Ic1 represent the recorded currents of phases A, B, and C, respectively; cosΦa1, cosΦb1, and cosΦc1 represent the recorded power factors of phases A, B, and C, respectively; and Φa1, Φb1, and Φc1 represent the recorded phase angles of phases A, B, and C, respectively.
[0113] Based on the electrical load correlation data (refer to Equation 2-C1 below), the relationships between the actual voltage, actual current, actual power factor, and actual phase angle and the recorded voltage, recorded current, recorded power factor, and recorded phase angle are obtained respectively. Combining this with Equations 2-A and 2-B above, correction coefficients can be calculated to obtain the correct active power and ultimately the compensation power during the fault period. The electrical load correlation data includes voltage correlation data, current correlation data, power factor correlation data, and phase angle correlation data.
[0114] In one embodiment, the energy metering device is a three-phase four-wire energy metering device, the fault types include incorrect wiring, and the power load data includes the recorded active power and the recorded reactive power of each phase, then:
[0115] S211. Based on the recorded active power Pa of each phase during the nth recording time interval. n 1. Pb n 1. Pc n 1. Record the reactive power Qa for each phase. n 1, Qb n 1,Qc n 1. Obtain the calculated power factor cosΦa for each phase during the nth recording time interval. n 1. cosΦb n 1. cosΦc n 1, to obtain the phase angle Φa for each phase within the nth recording time interval. n 1. Φb n 1. Φc n 1; among which,
[0116] The calculation method for the measured power factor of each phase in the nth recording time interval is as follows:
[0117]
[0118] S212. Based on the actual phase angle correlation data of the fault type and the measured phase angle of each phase, obtain the actual phase angle Φa of each phase in the nth recording time interval. n Φb n Φc n and the actual power factor cosΦa of each phase n cosΦb n cosΦc n .
[0119] In one application scenario, the electricity metering device is a three-phase four-wire electricity metering device. The incorrect wiring configuration is a voltage phase sequence of Ub, Ua, Uc while the current phase sequence is Ia, Ib, Ic. The electricity load data includes the recorded active power and the recorded reactive power for each phase. Therefore:
[0120] S211A, Based on the active power Pa recorded for each phase during the nth recording time interval. n 1. Pb n 1. Pc n 1. Record reactive power Qa for each phase n 1, Qb n 1,Qc n 1. Obtain the calculated power factor cosΦa for each phase during the nth recording time interval. n 1. cosΦb n 1. cosΦc n 1, to obtain the phase angle Φa of each phase within the nth recording time interval. n 1. Φb n 1. Φcn 1; among which,
[0121] The calculation method for the measured power factor of each phase in the nth recording time interval is as follows:
[0122]
[0123]
[0124] S212A. Based on the actual phase angle correlation data of the fault type (see Equation 2-C1 below), Equation 2-C11 can be obtained:
[0125] Pa1=Ua1*Ia1*cosΦa1=Ub*Ia*cos(120°-Φa),
[0126] Pb1=Ub1*Ib1*cosΦb1=Ua*Ib*cos(120°+Φb),
[0127] Pc1=Uc1*Ic1*cosΦc1=Uc*Ic*cosΦc,
[0128] According to Equation 2-C11 above, the relationship between the actual phase angle and the recorded phase angle can be obtained, namely Φa1=120°-Φa, Φb1=120°+Φb, Φc1=Φc. Therefore, by obtaining the measured phase angle of each phase, the actual phase angle Φa of each phase in the nth recording time interval can be obtained. n Φb n Φc n and the actual power factor cosΦa of each phase n cosΦb n cosΦc n ,in,
[0129] The actual phase angle Φa of each phase in the nth recording time interval n Φb n Φc n The calculation method is as follows:
[0130] Φa n =120°-arccos(cosΦa n 1),
[0131] Φb n =arccos(cosΦb n 1) -120°,
[0132] Φc n =arccos(cosΦc n 1).
[0133] In one embodiment, and in some specific embodiments of the present invention, the energy metering device is a three-phase four-wire energy metering device, the fault type includes incorrect wiring, and the power load data includes the recorded current of each phase, the recorded voltage of each phase, and the recorded power factor of each phase, then:
[0134] S221. Based on the voltage correlation data, current correlation data, and power factor correlation data of the fault type, and the recorded voltage Ua of each phase in the nth recording time interval. n 1. Ub n 1. Uc n 1. Recording current Ia for each phase n 1. Ib n 1. Ic n 1 and the recorded power factor cosΦa for each phase n 1. cosΦb n 1. cosΦc n 1. Obtain the measured active power of each phase during the nth recording time interval; where,
[0135] Calculated active power (Pa) for each phase during the nth recording time interval. n 1. Pb n 1. Pc n The calculation method for 1 is as follows:
[0136] Pa n 1 = Ua n 1*Ia n 1*cosΦa n 1,
[0137] Pb n 1 = Ub n 1*Ib n 1*cosΦb n 1,
[0138] Pc n 1 = Uc n 1*Ic n 1*cosΦc n 1,
[0139] S222. Based on the recorded power factor, obtain the measured phase angle Φa of each phase during the nth recording time interval. n 1. Φb n 1. Φc n 1. Based on the actual phase angle correlation data of the fault type and the calculated phase angle, obtain the actual phase angle Φa of each phase in the nth recording time interval. n Φb n Φc n and actual power factor.
[0140] In one application scenario, the electricity metering device is a three-phase four-wire electricity metering device. The incorrect wiring configuration is a voltage phase sequence of Ub, Ua, Uc while the current phase sequence is Ia, Ib, Ic. The electricity load data includes the recorded active power and the recorded reactive power for each phase. Therefore:
[0141] S221A, based on voltage correlation data, current correlation data, and power factor correlation data of the fault type, and the recorded voltage Ua of each phase in the nth recording time interval. n 1. Ub n 1. Uc n 1. Recording current Ia for each phase n 1. Ib n 1. Ic n 1 and the recorded power factor cosΦa for each phase n 1. cosΦb n 1. cosΦc n 1. Obtain the measured active power of each phase during the nth recording time interval; where,
[0142] Calculated active power (Pa) for each phase during the nth recording time interval. n 1. Pb n 1. Pc n The calculation method for 1 is as follows:
[0143] Pa n 1 = Ua n 1*Ia n 1*cosΦa n 1,
[0144] Pb n 1 = Ub n 1*Ib n 1*cosΦb n 1,
[0145] Pc n 1 = Uc n 1*Ic n 1*cosΦc n 1,
[0146] S222A. Based on the recorded power factor, obtain the measured phase angle Φa of each phase during the nth recording time interval. n 1. Φb n 1. Φc n 1; Based on the actual phase angle correlation data of the fault type (see Equation 2-C1 below), Equation 2-C11 can be obtained:
[0147] Pa1=Ua1*Ia1*cosΦa1=Ub*Ia*cos(120°-Φa),
[0148] Pb1=Ub1*Ib1*cosΦb1=Ua*Ib*cos(120°+Φb),
[0149] Pc1=Uc1*Ic1*cosΦc1=Uc*Ic*cosΦc,
[0150] According to Equation 2-C11 above, the relationship between the actual phase angle and the recorded phase angle can be obtained, namely Φa1=120°-Φa, Φb1=120°+Φb, Φc1=Φc. Thus, by obtaining the measured phase angle, the actual phase angle Φa of each phase in the nth recording time interval can be obtained. n Φb n Φc n and actual power factor cosΦa n cosΦb n cosΦc n ,in,
[0151] The actual phase angle Φa of each phase in the nth recording time interval n Φb n Φc n The calculation method is as follows:
[0152] Φa n =120°-arccos(cosΦa n 1),
[0153] Φb n =arccos(cosΦb n 1) -120°,
[0154] Φc n =arccos(cosΦc n 1).
[0155] Furthermore, when the electricity metering device is a three-phase four-wire electricity metering device, in some incorrect wiring cases under different embodiments, the recorded active power and recorded reactive power of phases A, B, and C are expressed as follows (2-C1). The associated power load data can also be obtained through equation (2-C1).
[0156]
[0157]
[0158] Specific implementation method of step S310 (three-phase four-wire power metering device with fault types including incorrect wiring)
[0159] S311. Based on the recorded power factor cosΦa for each phase n1. cosΦb n 1. cosΦ n c1 and the actual power factor cosΦa of each phase n cosΦb n cosΦc n , to obtain the correction coefficients for each phase within the nth recording time interval; where,
[0160] Correction coefficient Ka for each phase during the nth recording time interval n ,Kb n Kc n The calculation formula is as follows:
[0161] Ka n =cosΦa n / cosΦa n 1,
[0162] Kb n =cosΦb n / cosΦb n 1,
[0163] Kc n =cosΦc n / cosΦc n 1,
[0164] S312. Based on the correction factor and the calculated active power, obtain the correct active power of each phase in the nth recording time interval, so as to obtain the actual electrical energy and actual electrical quantity of each phase in the nth recording time interval; where,
[0165] The correct active power PA of each phase during the nth recording time interval. n PB n PC n The calculation method is as follows:
[0166] PA n =Ka n *Pa n 1, PB n =Kb n *Pb n 1, PC n =Kc n *Pc n 1,
[0167] The actual electrical energy Ea of each phase during the nth recording time interval n Eb n Ec n The calculation method is as follows:
[0168] Ea n =PAn *t,Eb n =PB n *t,Ec n =PC n *t,
[0169] In the formula, t represents the duration of each recording time interval;
[0170] Based on the power replenishment and compensation measurement period, the actual power EA, EB, and EC of each phase are obtained, and their calculation method is as follows:
[0171]
[0172] In the formula, n represents the nth recording time interval; the value of n is (1, k), where k represents the total number of recording time intervals contained between the start and end times of the power tracking and compensation measurement period;
[0173] S313. Obtain the actual total electricity consumption of the electricity metering device EZ=EA+EB+EC, and obtain the erroneous electricity consumption EX during the electricity compensation measurement period, so as to obtain the compensation electricity consumption E=EZ–EX during the electricity compensation measurement period.
[0174] Specific implementation methods for steps S230 and S240 (three-phase three-wire power metering device with faults including incorrect wiring)
[0175] In some specific embodiments of the present invention, when the energy metering device is a three-phase three-wire energy metering device, for the calculation of the supplementary power when the fault type is incorrect wiring, the actual phase angle and actual power factor can also be obtained based on the recorded active power and recorded reactive power of the first and second metering elements obtained by the data acquisition module, as well as the associated data of the power load. Alternatively, the actual phase angle and actual power factor can be obtained based on the recorded current, recorded voltage, and recorded power factor of the first and second metering elements obtained by the data acquisition module, as well as the associated data of the power load.
[0176] In one embodiment, the electricity metering device is a three-phase three-wire electricity metering device, the fault types include incorrect wiring, and the electricity load data includes the active power recorded by the first metering element and the reactive power recorded by the first metering element and the second metering element, then:
[0177] S231. Based on the active power P1 recorded by the first and second measuring elements during the nth recording time interval. n '、P2 n 'and the recorded reactive power Q1 of the first and second metering elements' n'、Q2 n ', obtain the measured power factor cosΦ1 of the first and second metering elements in the nth recording time interval. n '、cosΦ2 n ', to obtain the measured phase angle Φ1 of each phase in the nth recording time interval. n '、Φ2 n ';in,
[0178] The calculation method for the measured power factor of the first and second measuring elements during the nth recording time interval is as follows:
[0179]
[0180] S232. Based on the actual phase angle correlation data of the fault type and the calculated phase angles of the first and second metering elements, obtain the actual phase angles Φ1 of the first and second metering elements in the nth recording time interval. n Φ2 n and the actual power factor cosΦ1 of each phase n cosΦ2 n ;
[0181] In one embodiment, the electricity metering device is a three-phase three-wire electricity metering device, the fault types include incorrect wiring, and the electricity load data includes the recorded current of the first metering element and the second metering element, the recorded voltage of the first metering element and the second metering element, and the recorded power factor of the first metering element and the second metering element.
[0182] S241. Based on the power load correlation data according to the fault type, and the recorded voltage U1 of the first metering element and the second metering element in the nth recording time interval. n '、U2 n ', Recording current I1 of the first measuring element and the second measuring element n '、I2 n 'and the recorded power factor cosΦ1 of the first and second measuring elements n '、cosΦ2 n ', to obtain the measured active power of the first and second metering elements during the nth recording time interval; where,
[0183] The measured active power Pa1 of the first and second measuring elements during the nth recording time interval. n '、Pb2 n The calculation method for ' is as follows:
[0184] P1 n '=U1 n '*I1 n'*cosΦ1 n ',
[0185] P2 n '=U2 n '*I2 n '*cosΦ2 n ',
[0186] S242. Based on the recorded power factor, obtain the measured phase angle Φ1 of the first and second metering elements during the nth recording time interval. n Φ2 n Based on the actual phase angle correlation data of the fault type and the calculated phase angle, the actual phase angle Φ1 of each phase in the nth recording time interval is obtained. n Φ2 n and actual power factor.
[0187] Specific implementation method of step S320 (three-phase three-wire power metering device and fault type includes incorrect wiring)
[0188] S321. Based on the measured power factor and the actual power factor, obtain the correction coefficients for the first and second metering elements during the nth recording time interval; where,
[0189] The correction coefficient K1 of the first and second measuring elements during the nth recording time interval. n K2 n The calculation method is as follows:
[0190] K1 n =cosΦ1 n / cosΦ1 n ',
[0191] K2 n =cosΦ2 n / cosΦ2 n ',
[0192] S322. Based on the correction coefficient and the recorded active power, obtain the correct active power of the first and second metering elements in the nth recording time interval, so as to obtain the actual electrical energy of the first and second metering elements and the actual electrical quantity of each phase in the nth recording time interval; wherein,
[0193] The correct active power P of the first and second measuring elements during the nth recording time interval. n 10. P n The calculation method for 20 is as follows:
[0194] P10 n =K1 n *P1 n', P20 n =K2 n *P2 n ',
[0195] The actual electrical energy E1 of the first and second metering elements during the nth recording time interval n E2 n The calculation method is as follows:
[0196] E1 n =P10 n *t,E2 n =P20 n *t,
[0197] In the formula, t represents the duration of each recording time interval;
[0198] Based on the electricity charge tracking and compensation measurement period, the actual electricity charges E1 and E2 of the first and second metering elements are obtained, and their calculation method is as follows:
[0199]
[0200] In the formula, n represents the nth recording time interval; the value of n is (1, k), where k represents the total number of recording time intervals contained between the start and end times of the power tracking and compensation measurement period;
[0201] S323. Obtain the actual total electricity consumption of the electricity metering device EZ=E1+E2, and obtain the erroneous electricity consumption EX during the electricity compensation measurement period, so as to obtain the compensation electricity consumption E=EZ–EX during the electricity compensation measurement period.
[0202] Furthermore, the method of this embodiment is also applicable to three-phase three-wire energy metering devices. In some incorrect wiring cases under different embodiments of the three-phase three-wire energy metering device, the active power recorded by the first metering element and the reactive power recorded by the first metering element and the second metering element are expressed as follows (2-C2). The associated power load data can also be obtained through equation (2-C2).
[0203]
[0204]
[0205]
[0206] Specific implementation methods for steps S250 and 330 (three-phase four-wire power metering device with faults including single-phase voltage loss faults)
[0207] In some specific embodiments of the present invention, the power metering device is a three-phase four-wire power metering device, the fault type includes single-phase undervoltage fault, and the power load data includes the recorded current of the undervoltage phase, the recorded voltage of the two normal phases and the recorded power factor of the two normal phases.
[0208] S250, Set the actual voltage of the voltage-loss phase in the nth recording time interval to be equal to the arithmetic mean of the recording voltages of the two normal phases; Set the actual power factor of the voltage-loss phase in the nth recording time interval to be equal to the arithmetic mean of the recording power factors of the two normal phases.
[0209] S331, Based on the actual voltage U of the undervoltage phase un The actual power factor cosΦ of the undervoltage phase un Recording current I of the undervoltage phase un The actual active power of the depressurized phase during the nth recording time interval is obtained; where,
[0210] The actual active power P of the depressurized phase during the nth recording time interval un The calculation method is as follows:
[0211] P un =U un *I un *cosΦ un ,
[0212] S332. Based on the power loss measurement period and the actual active power of the voltage-loss phase, obtain the actual electrical energy E of the voltage-loss phase during the nth recording time interval. un To obtain the actual electrical charge E of the phase with voltage loss during the power loss measurement period. u ;in,
[0213] The actual electrical charge E of the voltage-loss phase during the electrical charge recovery measurement period. u The calculation method is as follows:
[0214]
[0215] In the formula, t represents the duration of each recording time interval; n represents the nth recording time interval, and the value of n is in the range of (1, k), where k represents the total number of recording time intervals contained between the start and end times of the power tracking and compensation measurement period;
[0216] S333, Obtain the actual total electricity consumption of the voltage-loss phase of the electricity metering device, EZ = E u The erroneous charge EX of the voltage loss phase during the power compensation measurement period is obtained, and the compensation charge E = EZ – EX is obtained during the power compensation measurement period.
[0217] In one application scenario, the electricity metering device is a three-phase four-wire electricity metering device. When the fault type is a voltage loss in phase A while phases B and C are metered normally, the recorded voltage of phase A is abnormal due to the voltage loss, and the recorded power factor of phase A cannot be accurately measured. Meanwhile, the voltages of phases B and C are normal. The actual voltages and actual power factors of phases B and C are the recorded voltages and recorded actual power factors obtained by the data acquisition module. The actual current Ia of phase A is the recorded current obtained by the data acquisition module. Therefore, the actual voltage Ua of phase A can be replaced by the arithmetic mean of the recorded voltages Ub and Uc of phases B and C, and the actual power factor cosΦa of phase A can be replaced by the arithmetic mean of the recorded power factors cosΦb and cosΦc of phases B and C. The calculation methods are as follows:
[0218] Ua = (Ub + Uc) / 2,
[0219] cosΦa=(cosΦb+cosΦc) / 2,
[0220] Then, based on the active power expression Pa=Ua*Ia*cosΦa and the actual current of phase A (recorded current), the actual active power Pa of phase A can be calculated. The actual active power of phase A is the correct active power of phase A.
[0221] Based on the power replenishment measurement period and the actual active power of phase A, the actual electrical energy E of phase A in the nth recording time interval is obtained. un To obtain the actual electrical charge E of phase A during the nth recording time interval. u The actual electrical charge E of phase A u EZ is the actual total electricity consumption of the phase with voltage loss during the period when the electricity metering device malfunctions (the period for electricity return and compensation measurement), i.e., EZ = E u Finally, based on the erroneous voltage EX during the voltage recovery measurement period, the recovery voltage E = EZ – EX can be obtained for the voltage recovery measurement period.
[0222] Specific implementation methods for steps S260 and 340 (three-phase four-wire power metering device with faults including two-phase undervoltage faults)
[0223] In some specific embodiments of the present invention, the energy metering device is a three-phase four-wire energy metering device, the fault type includes two-phase undervoltage fault, and the power load data includes the recorded current of the two undervoltage phases, the recorded voltage of the normal phase, and the recorded power factor of the normal phase. Therefore:
[0224] S260. Set the actual voltage of the two undervoltage phases to be equal to the recording voltage of the normal phase during the nth recording time interval; set the actual power factor of the two undervoltage phases to be equal to the recording power factor of the normal phase during the nth recording time interval.
[0225] S341, Based on the actual voltage U1 of the two undervoltage phases n U2 n The actual power factor cosΦ1 of the two unloaded phases n cosΦ2 n The recording current I1 of the two undervoltage phases n I2 n The actual active power of the two depressurized phases during the nth recording time interval is obtained; where,
[0226] The actual active power P1 of the two depressurized phases during the nth recording time interval n P2 n The calculation method is as follows:
[0227] P1 n =U1 n *I1 n *cosΦ1 n P2 n =U2 n *I2 n *cosΦ2 n ,
[0228] S342. Based on the power replenishment measurement period and the actual active power of the two power loss phases, obtain the actual electrical energy E1 of the two power loss phases during the nth recording time interval. n E2 n This is to obtain the actual electrical quantities E1 and E2 of the two voltage-loss phases during the electrical quantity recovery and compensation measurement period; among which...
[0229] The actual electrical charge E of the voltage-loss phase during the power loss measurement period is calculated as follows:
[0230]
[0231] In the formula, t represents the duration of each recording time interval; n represents the nth recording time interval, and the value of n is in the range of (1, k), where k represents the total number of recording time intervals contained between the start and end times of the power tracking and compensation measurement period;
[0232] S343. Obtain the actual total electricity consumption of the electricity metering device EZ=E1+E2, and obtain the erroneous electricity consumption EX during the electricity compensation measurement period, so as to obtain the compensation electricity consumption E=EZ–EX during the electricity compensation measurement period.
[0233] Specific implementation methods for steps S270 and 350 (three-phase three-wire power metering device with fault types including undervoltage fault)
[0234] In some specific embodiments of the present invention, the energy metering device is a three-phase three-wire energy metering device, the fault type includes the loss of voltage of one of the metering elements of the three-phase three-wire energy metering device, and the power load data includes the recorded current of the normal metering element and the metering element under voltage, the recorded voltage of the normal metering element and the recorded power factor of the normal metering element, then:
[0235] S270. Set the actual voltage of the undervoltage metering element to be equal to the recording voltage of the normal metering element during the nth recording time interval; set the actual power factor of the undervoltage metering element to be equal to the recording power factor of the normal metering element during the nth recording time interval.
[0236] S351, Based on the actual voltage U of the undervoltage metering element un ', The actual power factor cosΦ of the underpressure metering element un 'and the recording current I of the two undervoltage phases un ', to obtain the actual active power of the pressure loss metering element during the nth recording time interval; where,
[0237] The actual active power P of the pressure loss metering element during the nth recording time interval un The calculation method for ' is as follows:
[0238] P un '=U un '*I un '*cosΦ un ',
[0239] S352. Based on the power loss measurement period and the actual active power of the undervoltage metering element, obtain the actual electrical energy E of the undervoltage metering element in the nth recording time interval. un ', to obtain the actual electrical charge E of the pressure loss metering element during the power loss measurement period. u ';in,
[0240] The actual electrical charge E of the voltage-loss phase during the electrical charge recovery measurement period. u The calculation method is as follows:
[0241]
[0242] In the formula, t represents the duration of each recording time interval; n represents the nth recording time interval, and the value of n is in the range of (1, k), where k represents the total number of recording time intervals contained between the start and end times of the power tracking and compensation measurement period;
[0243] S353, Obtain the actual total electricity consumption of the power metering device during the voltage loss phase, EZ = E uThe error charge EX of the voltage loss phase during the power compensation measurement period is obtained, and the compensation charge E = EZ – EX is obtained during the power compensation measurement period.
[0244] Specific implementation methods for steps S280 and 360 (three-phase four-wire power metering device with fault types including current loss fault)
[0245] In some specific embodiments of the present invention, the energy metering device is a three-phase four-wire energy metering device, the fault type includes single-phase current loss fault, and the power load data includes the current transformer ratio, the recorded voltage of the current-loss phase, the recorded current on the primary side of the current-loss phase, and the recorded power factor on the primary side of the current-loss phase. Therefore:
[0246] S170. Determine the time period for power metering and its start and end times. Starting from the start time, diagnose the fault type of the power metering device during the fault period and collect the power load data for each recording time interval. The power metering device is a three-phase four-wire power metering device. The fault type includes single-phase current loss fault. The power load data includes the current transformer ratio, the recorded voltage of the current-loss phase, the recorded current on the primary side of the current-loss phase, and the recorded power factor on the primary side of the current-loss phase.
[0247] S270. The actual current on the user side of the current-loss phase during the nth recording time interval is set to be equal to the quotient obtained by dividing the recorded current on the primary side of the current-loss phase by the current transformer ratio; the actual power factor on the user side of the current-loss phase during the nth recording time interval is set to be equal to the actual power factor on the primary side of the current-loss phase. It is understood that for a three-phase four-wire energy metering device, in the event of a single-phase current loss fault, a two-phase current loss fault, or a three-phase current loss fault, the actual current on the user side of any current-loss phase can be calculated using the recorded current on the primary side of the corresponding current-loss phase and the current transformer ratio. Simultaneously, the actual power factor on the user side of any current-loss phase can be obtained using the power factor on the primary side of the corresponding current-loss phase.
[0248] S361, Based on the recorded voltage U of the decurrent phase in The actual power factor cosΦ on the user side of the off-current phase in and the actual current I on the user side of the non-current phase in The actual active power of the current-depleted phase during the nth recording time interval is obtained; where,
[0249] The actual active power P of the current-loss phase during the nth recording time interval in The calculation method is as follows:
[0250] P in =U in *I in *cosΦ in ,
[0251] S362. Based on the measurement period for power loss and replenishment, and the actual active power of the current-loss phase, obtain the actual electrical energy E of the current-loss phase during the nth recording time interval. in To obtain the actual electrical charge E of the current-loss phase during the current recovery measurement period. i ;in,
[0252] The actual electrical charge E of the current-loss phase during the current recovery measurement period. i The calculation method is as follows:
[0253]
[0254] In the formula, t represents the duration of each recording time interval; n represents the nth recording time interval, and the value of n is in the range of (1, k), where k represents the total number of recording time intervals contained between the start and end times of the power tracking and compensation measurement period;
[0255] S363. Obtain the actual total electricity consumption of the current-loss phase from the electricity metering device, EZ = E i The erroneous charge EX of the current-loss phase during the power replenishment measurement period is obtained, and the replenishment charge E = EZ – EX is obtained during the power replenishment measurement period.
[0256] In one application scenario, the electricity metering device is a three-phase four-wire electricity metering device. The fault type is current loss in phase A while phases B and C are metered normally. Because phase A experiences current loss, the recorded current of phase A on the user side is abnormal. Simultaneously, the recorded power factor of phase A cannot be accurately measured. Meanwhile, the electricity consumption of phases B and C is measured normally. The actual voltage Ua of phase A is the recorded voltage obtained by the data acquisition module. Therefore, the actual current Ia on the user side of phase A is... in The current Ia of phase A on the primary side can be used. in The actual power factor cosΦa of phase A is calculated from the current transformer ratio TA. in The power factor cosΦa of the primary side A phase can be used for recording. in Alternatively, the calculation methods for both are as follows:
[0257] Ia in =Ia in ' / TA,
[0258] cosΦa in =cosΦa in ',
[0259] Then, according to the active power expression Pa in =Ua in *Ia in *cosΦa inFrom the actual voltage (recorded voltage) of phase A, the actual active power Pa of phase A can be calculated. in The actual active power of phase A is the correct active power of phase A.
[0260] Based on the power replenishment measurement period and the actual active power of phase A, the actual electrical energy E of phase A in the nth recording time interval is obtained. in To obtain the actual electricity E of phase A during the electricity replenishment measurement period. i The actual electrical charge E of phase A i The actual total electricity consumption of phase A during the period of power metering failure is EZ, i.e., EZ = E i Finally, based on the erroneous charge EX of phase A during the charge recovery measurement period, the compensation charge E = EZ – EX can be obtained for the charge recovery measurement period.
[0261] Understandably, for a three-phase four-wire power metering device, when a current loss fault occurs in phase B, the actual current of phase B can be calculated using the recorded current on the primary side of phase B and the current transformer ratio. The actual power factor on the user side of phase B can also be obtained using the power factor on the primary side of phase B. Similarly, when a current loss fault occurs in phase C, the actual current of phase C can be calculated using the recorded current on the primary side of phase B and the current transformer ratio. The actual power factor on the user side of phase C can also be obtained using the power factor on the primary side of phase C.
[0262] Specific implementation methods for steps S290 and 370 (three-phase three-wire power metering device with fault types including current loss fault)
[0263] In some specific embodiments of the present invention, the energy metering device is a three-phase three-wire energy metering device, the fault type includes a current loss fault of one metering element, and the power load data includes the current transformer ratio, the recorded voltage of the current loss metering element, the recorded current on the primary side of the current loss metering element, and the recorded power factor on the primary side of the current loss metering element. Therefore:
[0264] S290. Set the actual current on the user side of the current loss metering element during the nth recording time interval to be equal to the quotient obtained by dividing the recorded current on the primary side of the current loss metering element by the current transformer ratio; set the actual power factor on the user side of the current loss metering element during the nth recording time interval to be equal to the actual power factor on the primary side of the current loss metering element.
[0265] S371, based on the recorded voltage U of the current-loss metering element in 'The actual power factor cosΦ on the user side of the current-loss metering element' in 'and the actual current I on the user side of the current metering element in', to obtain the actual active power of the current-loss metering element during the nth recording time interval; where,
[0266] The actual active power P of the current-loss metering element during the nth recording time interval in The calculation method for ' is as follows:
[0267] P in '=U in '*I in '*cosΦ in ',
[0268] S372. Based on the power loss measurement period and the actual active power of the current loss metering element, obtain the actual electrical energy E of the current loss metering element in the nth recording time interval. in ', to obtain the actual current E of the current loss metering element during the current loss measurement period. i ';in,
[0269] The actual current E of the current-loss metering element during the current-loss measurement period. i The calculation method for ' is as follows:
[0270]
[0271] In the formula, t represents the duration of each recording time interval; n represents the nth recording time interval, and the value of n is in the range of (1, k), where k represents the total number of recording time intervals contained between the start and end times of the power tracking and compensation measurement period;
[0272] S373, Obtain the actual total electricity consumption of the current-loss phase from the electricity metering device: EZ = E i ', and obtain the erroneous charge EX of the current-loss phase during the charge recovery measurement period, so that the recovery charge E = EZ – EX is obtained during the charge recovery measurement period.
[0273] It is understandable that for a three-phase three-wire power metering device, when two metering elements experience a current loss fault, the actual current and actual power factor on the user side of any one metering element can be obtained according to the above step S290.
[0274] The digital twin model of this invention traces the correct power load data for each recorded time interval from the start to the end of the power replenishment measurement period, based on the type and fault type of the power metering device, thereby restoring the actual power consumption for each recorded time interval and achieving the effect of simulating the normal operation of the power metering device.
[0275] Furthermore, the digital twin model of the energy metering device in this embodiment of the invention can also trace the situation where a three-phase three-wire metering device under-meters due to reactive power over-compensation. Generally, when a three-phase three-wire energy metering device is confirmed to be properly wired, reading and recording load data reveals a negative active power phenomenon, indicating that the metering device is under-compensated for reactive power. Under this metering condition, under-metering will also occur, thus requiring retroactive compensation calculation. For situations where reactive power over-compensation results in one metering element being normally metered while another metering element shows negative power, the retroactive compensation method is as follows: First, calculate the actual power factor of the over-compensated metering element based on the load data of the normally metered element. Based on the calculated actual power factor and the recorded voltage and current data read by the data acquisition module, the digital twin model automatically accumulates and calculates the actual power load during the reactive power over-compensation period. Finally, subtract the recorded power consumption measured by the energy metering device during the reactive power over-compensation period to accurately calculate the power consumption to be retroactively compensated.
[0276] Experimental verification of the power replenishment method and system according to the present invention
[0277] The method of the present invention is illustrated here with a specific embodiment. The energy metering device is a three-phase four-wire energy metering device. The incorrect wiring method is a wiring method with voltage phase sequence Ub, Ua, Uc and current phase sequence Ia, Ib, Ic. Then:
[0278] The expression for the active power of the metered electricity is as follows:
[0279] P error=Ub*Ia*cos(120°-Φa)+Ua*Ib*cos(120°+Φb)+Uc*Ic*cosΦc;
[0280] The expression for active power when measured correctly is:
[0281] P positive=Ua*Ia*cosΦa+Ub*Ib*cosΦb+Uc*Ic*cosΦc;
[0282] If the traditional static correction coefficient algorithm is used, it is necessary to assume that the three-phase load is balanced, that is, U=Ua=Ub=Uc, I=Ia=Ib=Ic, cosΦa=cosΦb=cosΦc, then P_error=0, and the static correction coefficient K=P_correct / P_error, so the traditional static correction coefficient algorithm cannot be used for calculation. This invention, based on a digital twin system, collects historical operating load data of the electricity metering device during a fault, reconstructs the actual electricity load data according to the type of incorrect wiring, and maps and simulates the actual electricity load of the user when the electricity metering device is normally connected (the mapping process is described in Example 1). Then, it calculates the actual electricity consumption during the entire period of incorrect wiring using an energy method, Ej = 533.51 kWh. In comparison, the actual electricity consumption of the electricity metering device with normal wiring is Es = 541.88 kWh, with an error of 100*(Ej-Es) / Es = -1.54%. This indicates that the compensation electricity calculated using this invention is more reliable and has a smaller error than the algorithm using traditional static correction coefficients.
[0283] The method of the present invention is described here with reference to another specific embodiment. The energy metering device is a three-phase four-wire energy metering device. The incorrect wiring method is that the voltage phase sequence is Ua, Uc, Ub while the current phase sequence is Ia, Ib, Ic, and Ia is reversed. Then:
[0284] The expression for the active power being measured at this time is:
[0285] P is wrong=Ua*Ia*cos(180°-Φa)+Uc*Ib*cos(120°-Φb)+Ub*Ic*cos(120°+Φc)
[0286] The expression for active power when measured correctly is:
[0287] Ppositive=Ua*Ia*cosΦa+Ub*Ib*cosΦb+Uc*Ic*cosΦc
[0288] If the traditional static correction coefficient algorithm is used, it is necessary to assume that the three-phase load is balanced. Then U = Ua = Ub = Uc, I = Ia = Ib = Ic, cosΦ = cosΦa = cosΦb = cosΦc. Then P_error = -2UIcosΦ, P_positive = 3UIcosΦ. Therefore, the static correction coefficient K = P_positive / P_error = -3 / 2. Using this method will result in a negative electricity value and a relatively large error value. Therefore, using the traditional static correction coefficient algorithm to calculate the supplementary electricity will lead to a problem in the recorded results. This invention, based on a digital twin system, collects historical operating load data of the electricity metering device during incorrect wiring. It then reconstructs the actual electricity load data according to the type of incorrect wiring, maps this data to the user's actual electricity load when the metering device is properly connected, and finally calculates the total electricity consumption during the incorrect wiring period as Ej = 533.74 kWh using an energy-based method. In comparison, the actual electricity consumption during the period of correct wiring is Es = 541.88 kWh, with an error of 100*(Ej-Es) / Es = -1.50%. This demonstrates that the energy consumption calculated by mapping and accumulating the historical operating data of the electricity metering device using this invention is highly reliable and suitable for calculating the supplementary electricity consumption when the electricity metering device malfunctions.
[0289] Furthermore, for a three-phase four-wire energy metering device, the actual phase angles Φa, Φb, and Φc of phases A, B, and C under each incorrect wiring can be calculated according to the above expression (2-C1). The actual electricity consumption during the incorrect wiring period can be calculated using a twin digital model. The electricity consumption data and its errors during the incorrect wiring period are calculated using active and reactive power data algorithms and algorithms based on voltage, current, and power factor, as shown in the table below:
[0290]
[0291]
[0292]
[0293] Table 1
[0294] Table 1 shows that P statistics and P error represent the electrical data and their errors obtained through active and reactive power processing methods, while UIΦ statistics and UIΦ error represent the electrical data and their errors obtained through voltage, current, and power factor processing methods.
[0295] The statistical analysis in Table 1 shows that the method of the present invention can select different data processing methods to calculate the power replenishment and compensation based on the set duration threshold, thereby making the calculation results supported by data, with small errors and high reliability.
[0296] Here, the method of the present invention is illustrated by another specific embodiment. The electric energy metering device is a three-phase three-wire electric energy metering device. The incorrect wiring method is that the voltage wiring is Ub, Ua, Uc and the current wiring is Ia, Ic. Then, there is:
[0297] At this time, the power expression for metering is:
[0298] P wrong = Uba * Ia * cos(150° - Φa) + Uca * Ic * cos(30° + Φc)
[0299] The power expression for correct metering is:
[0300] P correct = Uab * Ia * cos(30° + Φa) + Ucb * Ic * cos(30° + Φc)
[0301] If the traditional static correction factor algorithm is used, it is necessary to assume that the three-phase load is balanced. Then, Uba = Uca, Ia = Ic, cosΦ = cosΦa = cosΦc. According to the formula, it is calculated that P wrong = 0, P correct = √3UIcosΦ. And the existing electronic electric energy metering device will not measure the forward active power in this incorrect wiring state. Obviously, the traditional static correction factor algorithm cannot be used to calculate the amount of electricity to be recovered or compensated. The digital twin system of the present invention collects the historical operation data of the electric energy metering device during the fault period, restores the actual power consumption situation of the user according to the fault type, simulates the operation state of the electric energy metering device under normal wiring, and accumulatively calculates the actual electricity during the incorrect wiring period (the specific calculation process is shown in the embodiment below). Ej = 7.4117 kWh, and the actual electricity consumption under normal wiring is Es = 7.476 kWh. The error is 100 * (Ej - Es) / Es = -0.86%. This shows that the present invention is also applicable to the calculation of the amount of electricity to be recovered or compensated for the incorrect wiring of three-phase three-wire.
[0302] Furthermore, for a three-phase three-wire electric energy metering device, according to the expression (2 - C2), calculate the actual phase angle of each phase under each incorrect wiring, and then obtain the actual electric energy at each recording time interval through the twin digital model, and automatically accumulatively calculate the actual electricity during the incorrect wiring period. Specifically, the test data date is from May 1, 2022 to June 1, 2022. During this period, the meter runs 7.476 kWh. The metering results in various incorrect wiring states are compared with this value. The electricity data and its error during the incorrect wiring period are calculated by using the active power and reactive power data algorithm and the voltage, current, power factor algorithm, as shown in the following table:
[0303]
[0304]
[0305] Table 2
[0306] In Table 2, P statistics and P error represent the electrical data and their errors obtained through the data processing methods for active power and reactive power, while UIΦ statistics and UIΦ error represent the electrical data and their errors obtained through the data processing methods for collected voltage, current, and power factors.
[0307] The statistical analysis in Table 2 above shows that the power replenishment calculated by the method of the present invention has high reliability, and also indicates that the method of the present invention is applicable to power replenishment measurement for incorrect three-phase three-wire wiring.
[0308] The method of this invention is illustrated here with a specific embodiment. In a case where the electricity metering device experiences a voltage loss in phase A while phases B and C are metered normally, calculations are performed based on the method described above and the collected data. The method calculates the electricity consumption of phase A as Ea = 316.2 kWh. Adding this to the meter reading, the calculated electricity consumption is Ej = 960.1 kWh. Comparing this to a normally metered electricity meter, the actual normally metered electricity consumption is Es = 949.26 kWh, with an error of 100*(Ej-Es) / Es = 1.15%, which is very close to the original data. Compared to the original algorithm using the theoretical static correction coefficient, this method has a smaller error and is more reliable.
[0309] This invention is applicable to the aforementioned incorrect wiring of three-phase four-wire systems, as well as to other incorrect wiring methods for three-phase four-wire systems not mentioned above, for power loss compensation. It is also applicable to various incorrect wiring methods for three-phase three-wire systems and power loss compensation methods for systems without power compensation. Furthermore, it is applicable to metering inaccuracies caused by voltage and current loss in three-phase four-wire and three-phase three-wire systems. It has very broad applicability and can be applied to power loss compensation for various metering inaccuracies in electricity metering devices in practical work.
[0310] Based on the electricity payment habits of power supply departments and users, this invention uses a digital twin system to calculate the actual active power Pz (actual power factor) and recorded active power Px (recorded power factor) according to the start and end times of electricity billing and the time periods during which electricity needs to be billed and refunded each month. It then calculates the dynamic correction coefficient K = Pz / Px for the time periods during which electricity needs to be billed and refunded each month. Based on the formula for electricity billing and refunding = (correct electricity - recorded electricity) = recorded electricity × (dynamic correction coefficient - 1), the electricity billing and refunding required each month is calculated, making it convenient for power supply departments and users to bill and refund the electricity that needs to be billed and refunded one by one each month. Meanwhile, since power companies implement tiered pricing for electricity, the rates charged for electricity load vary at different times. Therefore, the digital twin system also divides the data into peak, flat, valley, and peak periods based on the input electricity metering device. According to the above method, it automatically calculates the amount of electricity that needs to be supplemented during each peak, flat, valley, and peak period when the electricity metering device is inaccurate. This improves the accuracy of the supplementary electricity amount and makes it easier for power supply bureaus and users to verify their monthly electricity consumption. It provides more detailed electricity data information for both power suppliers and users, making the supplementary electricity amount work progress more smoothly.
[0311] This invention relates to a method and system for processing electricity metering data based on digital twins. By fully considering key information such as primary-side smart circuit breaker switching data, historical operating data of the metering device, operating parameters, meter opening operation records (fault time), and fault characteristics, a digital twin system of the electricity metering device is constructed, creating a virtual mirror of the metering device with the same accuracy level as the physical metering device. This allows for tracing back to the actual operating data when the metering device malfunctions, and enables automated and accurate calculation of electricity metering data based on digital twin technology. In the absence of faults in the current transformer, the accuracy of electricity metering data can reach twice that of the physical metering device; that is, no more than ±0.4% for 0.2S class meters, no more than ±1% for 0.5 class meters, and within ±2% for residential meters. This achieves the goal of accurately calculating electricity metering data after metering malfunctions, maintaining fairness and impartiality in electricity trade settlement, protecting the rights and interests of users and power supply companies, and filling the gap in standardized methods and standards for electricity metering data tracking.
[0312] It should be understood that the method steps in the embodiments of the present invention can be implemented or carried out by computer hardware, a combination of hardware and software, or by computer instructions stored in a non-transitory computer-readable storage medium. The method can use standard programming techniques. Each program can be implemented in a high-level procedural or object-oriented programming language to communicate with the computer system. However, if necessary, the program can be implemented in assembly or machine language. In any case, the language can be a compiled or interpreted language. Furthermore, for this purpose, the program can run on a programmed application-specific integrated circuit (ASIC).
[0313] Furthermore, the procedures described herein may be performed in any suitable order unless otherwise indicated herein or otherwise clearly contradicted by the context. The procedures described herein (or variations and / or combinations thereof) may be executed under the control of one or more computer systems configured with executable instructions, and may be implemented by hardware or a combination thereof as code (e.g., executable instructions, one or more computer programs, or one or more applications) that commonly executes on one or more processors. The computer program comprises a plurality of instructions executable by one or more processors.
[0314] Furthermore, the method can be implemented in any suitable type of computing platform, including but not limited to personal computers, minicomputers, mainframes, workstations, networked or distributed computing environments, standalone or integrated computer platforms, or in communication with charged particle tools or other imaging devices. Aspects of the invention can be implemented as machine-readable code stored on a non-transitory storage medium or device, whether removable or integrated into a computing platform, such as a hard disk, optical read and / or write storage medium, RS1M, ROM, etc., such that it is readable by a programmable computer, and when the storage medium or device is read by the computer, it can be used to configure and operate the computer to perform the processes described herein. Furthermore, the machine-readable code, or portions thereof, can be transmitted via wired or wireless networks. The invention described herein includes these and other different types of non-transitory computer-readable storage media when such media comprises instructions or programs that implement the steps described above in conjunction with a microprocessor or other data processor. When programmed according to the methods and techniques described in the invention, the invention may also include the computer itself.
[0315] A computer program can be applied to input data to perform the functions described herein, thereby transforming the input data to generate output data stored in non-volatile memory. The output information can also be applied to one or more output devices, such as a display. In a preferred embodiment of the invention, the transformed data represents physical and tangible objects, including specific visual depictions of physical and tangible objects generated on the display.
[0316] The above description is merely a preferred embodiment of the present invention. The present invention is not limited to the above-described embodiments. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention, as long as they achieve the technical effects of the present invention by the same means, should be included within the scope of protection of the present invention. Within the scope of protection of the present invention, the technical solutions and / or implementation methods can have various modifications and variations.
Claims
1. A method for processing electricity consumption based on digital twins, applied to an electricity metering device, characterized in that: S100. Determine the time period for power metering and its start and end times, and diagnose the fault type and collect power load data for each recording time interval from the start time. S200. Based on the power load data associated with the fault type and the power load data, obtain the actual operating data within each recording time interval; S300: The digital twin model obtains the actual electrical energy for each recording time interval based on the input electrical load data and the actual operating data, and determines the supplementary electrical energy for the supplementary measurement period. Among them, the power metering device is a three-phase three-wire power metering device, the fault types include incorrect wiring, and the power load data includes the recorded current of the first metering element and the second metering element, the recorded voltage of the first metering element and the second metering element, and the recorded power factor of the first metering element and the second metering element. S241. Based on the power load correlation data according to the fault type, and the recorded voltage U1 of the first metering element and the second metering element in the nth recording time interval. n '、U2 n ', Recording current I1 of the first measuring element and the second measuring element n '、I2 n 'and the recorded power factor cosΦ1 of the first and second measuring elements n '、cosΦ2 n ', to obtain the measured active power of the first and second metering elements during the nth recording time interval; where, The measured active power P1 of the first and second measuring elements during the nth recording time interval. n '、P2 n The calculation method for ' is as follows: P1 n ' = U1 n '*I1 n '*cosΦ1 n ', P2 n ’ = U2 n ’*I2 n ’*cosΦ2 n ’, S242. Based on the recorded power factor, obtain the measured phase angle Φ1 of the first and second metering elements during the nth recording time interval. n Φ2 n Based on the actual phase angle correlation data of the fault type and the calculated phase angle, the actual phase angle Φ1 of each phase in the nth recording time interval is obtained. n Φ2 n and actual power factor; S321. Based on the measured power factor and the actual power factor, obtain the correction coefficients for the first and second metering elements during the nth recording time interval; where, The correction coefficient K1 of the first and second measuring elements during the nth recording time interval. n K2 n The calculation method is as follows: K1 n = cosΦ1 n / cosΦ1 n ’, K2 n = cosΦ2 n / cosΦ2 n ’, S322. Based on the correction coefficient and the recorded active power, obtain the correct active power of the first and second metering elements in the nth recording time interval, so as to obtain the actual electrical energy of the first and second metering elements and the actual electrical quantity of each phase in the nth recording time interval; wherein, The correct active power P of the first and second measuring elements during the nth recording time interval. n 10. P n The calculation method for 20 is as follows: P10 n = K1 n *P1 n ’,P20 n = K2 n *P2 n ’, The actual electrical energy E1 of the first and second metering elements during the nth recording time interval n E2 n The calculation method is as follows: E1 n = P10 n *t,E2 n = P20 n *t, In the formula, t represents the duration of each recording time interval; Based on the electricity charge tracking and compensation measurement period, the actual electricity charges E1 and E2 of the first and second metering elements are obtained, and their calculation method is as follows: , , In the formula, n represents the nth recording time interval; the value of n is (1, k), where k represents the total number of recording time intervals contained between the start and end times of the power tracking and compensation measurement period; S323. Obtain the actual total electricity consumption of the electricity metering device EZ = E1+E2, and obtain the erroneous electricity consumption EX during the electricity compensation measurement period, so as to obtain the compensation electricity consumption E = EZ–EX during the electricity compensation measurement period.
2. A computer-readable storage medium having program instructions stored thereon, characterized in that, When the program instructions are executed by the processor, the method as described in claim 1 is performed.
3. A power tracking, compensation, and refund processing system based on digital twins, characterized in that, include: A computer device comprising the computer-readable storage medium of claim 2.
Citation Information
Patent Citations
Method for automatically recording voltage-losing meter-leaking electric energy in three-phase three-wire electric energy measurement
CN101487855A
Electric quantity compensation measuring instrument and method for metering device
CN111721988A
Electric energy acquisition abnormity monitoring method, monitor, system and electronic equipment
CN114757478A
Metering device fault electric quantity compensation calculation method and device
CN114966193A