CN115469262A - Method and system for tracing back and supplementing fault electric quantity of electric energy metering device based on digital twin - Google Patents

Method and system for tracing back and supplementing fault electric quantity of electric energy metering device based on digital twin Download PDF

Info

Publication number
CN115469262A
CN115469262A CN202211127710.1A CN202211127710A CN115469262A CN 115469262 A CN115469262 A CN 115469262A CN 202211127710 A CN202211127710 A CN 202211127710A CN 115469262 A CN115469262 A CN 115469262A
Authority
CN
China
Prior art keywords
phase
electric quantity
loss
time interval
actual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211127710.1A
Other languages
Chinese (zh)
Inventor
戴伟
邬智江
宋均正
何建新
林远仕
苏恩
苏见
叶彬生
仲崇宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Presley Electronic Technology Co ltd
GUANGDONG INSTITUTE OF METROLOGY
Original Assignee
Zhuhai Presley Electronic Technology Co ltd
GUANGDONG INSTITUTE OF METROLOGY
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Presley Electronic Technology Co ltd, GUANGDONG INSTITUTE OF METROLOGY filed Critical Zhuhai Presley Electronic Technology Co ltd
Priority to CN202211127710.1A priority Critical patent/CN115469262A/en
Publication of CN115469262A publication Critical patent/CN115469262A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass
    • G01R35/04Testing or calibrating of apparatus covered by the other groups of this subclass of instruments for measuring time integral of power or current

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

The invention relates to a method and a system for tracing back and repairing fault electric quantity of an electric energy metering device based on digital twins, wherein the method comprises the following steps: determining an electric quantity tracing and back-up measuring time interval, a starting time and an ending time of the electric quantity tracing and back-up measuring time interval, diagnosing a fault type during a fault period of the electric energy metering device from the starting time, collecting electric load data of each recording time interval, associating data according to the electric load data of the fault type and the electric load data, obtaining actual operation data in each recording time interval, obtaining actual electric energy of each recording time interval according to the input electric load data and the actual operation data by using a digital twin model, and determining tracing and back-up electric quantity of the electric quantity tracing and back-up measuring time interval. The invention realizes the mapping of the nuclear power metering device by innovatively applying a digital twin technology and accurately calculates the electric quantity needing to be subjected to back compensation after the metering of the electric energy metering device is misaligned.

Description

Method and system for tracing back and supplementing fault electric quantity of electric energy metering device based on digital twin
Technical Field
The invention relates to a method and a system for tracing back and compensating fault electric quantity of an electric energy metering device based on digital twins, and belongs to the technical field of electric energy metering.
Background
The electric energy metering device comprises an electric energy metering device installed by a power consumer, an electric energy metering device installed in a charging pile, an instrument related to energy monitoring with an electric energy metering function and the like, whether the electric energy metering is accurate or not is directly related to economic benefits of a power supply department and the power consumer, and the electric energy metering device with inaccurate metering can cause unfairness of electric energy trade settlement, so that supervision, management and dispute handling of the electric energy metering device are particularly important. The method comprises the steps of accurately calculating the back-up electric quantity for the measuring misalignment condition of an electric energy metering device, accurately defining the starting and ending time of the measuring misalignment of the electric energy metering device and the error electric quantity recorded by the misalignment electric energy metering device, then accurately calculating the correct electric quantity during the failure of the electric energy metering device according to the measuring misalignment starting and ending time of the electric energy metering device, then subtracting the recorded error electric quantity, and finally accurately calculating the back-up electric quantity.
The electric energy metering device has the defects of inaccurate electric energy metering caused by wrong wiring or metering faults, the accuracy of electric quantity metering is influenced, common faults mainly include voltage loss, current loss, poor contact, wrong wiring, faults of the metering device and the like, the wrong wiring of the metering device mainly comprises phase sequence errors, reversed polarity connection of a voltage transformer, reversed polarity connection of a current transformer, poor common point grounding, suspension and mismatching of voltage and current phase sequences of metering elements, the phase sequence errors mainly comprise the non-correspondence of the wiring phase sequences of a three-phase four-wire electric energy metering device, a three-phase three-wire electric energy metering device, the voltage transformer and the current transformer, when the phase sequence errors or the reversed polarity connection occur, the voltage and the current wiring of the same element are different, the metering device has the phenomena of faults such as abnormal metering voltage, abnormal metering current, abnormal power factor and the like while having the wrong wiring, the analysis and judgment in actual work are very complicated, and the electric quantity compensation calculation aiming at the wrong wiring and fault conditions is more complicated. At present, an automatic calculation system and equipment for electric quantity compensation after metering misalignment of an electric energy metering device do not exist, electric quantity compensation work during a fault period needs manual calculation, but electric quantity compensation calculation methods are inconsistent, human factors and selection randomness of related parameters in the manual calculation method are large, a three-phase load state is changed continuously in actual production, so that the efficiency is low by means of manual analysis and calculation, the calculated error rate is high, and the electric quantity compensation of power supply and power utilization parties is not easy to achieve a consistent opinion.
For the intelligent electric energy metering industry, the application of the digital twin technology still needs to be deeply researched, and the application test of the digital twin technology of the power system is only in a preliminary verification and exploration stage. The digital twin builds a mathematical model capable of mapping the physical equipment by collecting the data of the equipment and combining the knowledge of the dynamic characteristics of the equipment, realizes better understanding of the running state of the equipment through virtualization and digitization technologies, is applied to an electric energy metering device, and can strengthen the management of the running of the equipment.
Disclosure of Invention
The invention provides a method and a system for tracing back and supplementing fault electric quantity of an electric energy metering device based on digital twins, and aims to at least solve one of technical problems in the prior art.
The technical scheme of the invention relates to an electric quantity tracing back and supplementing processing method based on digital twins, which is applied to an electric energy metering device, and comprises the following steps:
s100, determining an electric quantity tracing-back compensation measurement time period, a starting time and an ending time of the electric quantity tracing-back compensation measurement time period, diagnosing a fault type of the electric energy metering device during a fault period from the starting time, and collecting electric load data of each recording time interval;
s200, acquiring actual operation data in each recording time interval according to the electric load data association data of the fault type and the electric load data;
and S300, acquiring the actual electric energy of each recording time interval by the digital twin model according to the input electric load data and the actual operation data, and determining the electric quantity tracing-back-up and compensation time interval.
The technical scheme of the invention relates to an electric quantity tracing-back-up processing method based on digital twinning, which is applied to a three-phase four-wire electric energy metering device of a voltage loss fault, and the method comprises the following steps:
s150, determining an electric quantity tracing-back compensation measurement time interval, a starting time and an ending time of the electric quantity tracing-back compensation measurement time interval, starting to diagnose the fault type of the electric energy metering device during the fault period from the starting time, and collecting electric load data of each recording time interval; the fault type comprises a single-phase voltage loss fault, and the electric load data comprises recording current of a voltage loss phase, recording voltage of two normal phases and recording power factors of the two normal phases;
s250, setting the actual voltage of the voltage-loss phase in the nth recording time interval to be equal to the arithmetic mean value of the recording voltages of the two normal phases; setting an actual power factor of a decompression phase in an nth recording time interval to be equal to an arithmetic average of the recording power factors of two normal phases;
s331, according to the actual voltage U of the voltage loss phase un Actual power factor cos Φ of the voltage-loss phase un And recording current I of the voltage-loss phase un Obtained byObtaining the actual active power of the decompression phase in the nth recording time interval; wherein,
the actual active power P of the decompression phase in the nth recording time interval un The calculation method of (c) is as follows:
P un =U un *I un *cosΦ un
s332, obtaining actual electric energy E of the voltage-loss phase in the nth recording time interval according to the electric quantity tracing-back compensation measuring time interval and the actual active power of the voltage-loss phase un To obtain the actual electric quantity E of the voltage-losing phase in the electric quantity tracing-back compensation measurement time period u (ii) a Wherein,
the actual electric quantity E of the loss-of-voltage phase in the electric quantity tracing-back compensation measurement period u The calculation method of (c) is as follows:
Figure BDA0003849611500000021
wherein t represents the duration of each recording time interval; n represents the nth recording time interval, and the value range of n is (1, k), wherein k represents the total number of the recording time intervals contained between the starting time and the ending time of the electric quantity compensation measurement period;
s333, acquiring actual total electric quantity EZ = E of the voltage loss phase of the electric energy metering device u And acquiring the error electric quantity EX of the voltage-losing phase in the electric quantity tracing back and supplementing measuring time period so as to acquire the tracing back and supplementing electric quantity E = EZ-EX in the electric quantity tracing back and supplementing measuring time period.
On the other hand, the technical scheme of the invention relates to an electric quantity tracing back and repairing processing method based on digital twins, which is applied to a three-phase four-wire electric energy metering device of a voltage loss fault, and the method comprises the following steps:
s160, determining an electric quantity tracing-back compensation measurement time interval, and a starting time and an ending time of the electric quantity tracing-back compensation measurement time interval, starting to diagnose the fault type of the electric energy metering device during the fault period from the starting time, and collecting electric load data of each recording time interval; the fault type comprises a two-phase voltage loss fault, and the electric load data comprises recording currents of two voltage loss phases, recording voltages of normal phases and recording power factors of the normal phases;
s260, setting the actual voltages of the two voltage-loss phases in the nth recording time interval to be equal to the recording voltage of the normal phase; setting actual power factors of two decompression phases in an nth recording time interval to be equal to the recording power factor of a normal phase;
s341, according to the actual voltage U1 of the two voltage-loss phases n 、U2 n Actual power factor cos Φ 1 of two loss-of-voltage phases n 、cosΦ2 n And recording current I1 of two decompression phases n 、I2 n Obtaining the actual active power of the two decompression phases in the nth recording time interval; wherein,
the actual active power P1 of two loss of voltage phases in the nth recording time interval n 、P2 n The calculation method of (c) is as follows:
P1 n =U1 n *I1 n *cosΦ1 n
P2 n =U2 n *I2 n *cosΦ2 n
s342, obtaining the actual electric energy E1 of the two voltage-loss phases in the nth recording time interval according to the electric quantity tracing-back compensation measuring time interval and the actual active power of the two voltage-loss phases n 、E2 n To obtain the actual electric quantities E1 and E2 of the two decompression phases in the electric quantity tracing and back-up measurement time period; wherein,
the actual electric quantity E of the voltage-loss phase in the electric quantity compensation measurement period is calculated as follows:
Figure BDA0003849611500000031
Figure BDA0003849611500000032
wherein t represents the duration of each recording time interval; n represents the nth recording time interval, and the value range of n is (1, k), wherein k represents the total number of the recording time intervals contained between the starting time and the ending time of the electric quantity compensation measurement period;
and S343, acquiring the actual total electric quantity EZ = E1+ E2 of the voltage-loss phase of the electric energy metering device, and acquiring the error electric quantity EX of the voltage-loss phase during the electric quantity tracing, withdrawing and supplementing measurement periods so as to acquire the tracing, withdrawing and supplementing electric quantity E = EZ-EX during the electric quantity tracing, withdrawing and supplementing measurement periods.
On the other hand, the technical scheme of the invention relates to an electric quantity tracing back and repairing processing method based on digital twinning, which is applied to a three-phase three-wire electric energy metering device of a voltage loss fault, and the method comprises the following steps:
s170, determining an electric quantity tracing-back compensation measurement time period, a starting time and an ending time of the electric quantity tracing-back compensation measurement time period, diagnosing a fault type of the electric energy metering device during a fault period from the starting time, and collecting electric load data of each recording time interval; the fault type comprises voltage loss of one metering element of the three-phase three-wire electric energy metering device, the electric load data comprises a normal metering element and recording current of the voltage loss metering element, and recording voltage of the normal metering element and recording power factor of the normal metering element;
s270, setting the actual voltage of the voltage-loss metering element to be equal to the recording voltage of the normal metering element in the nth recording time interval; setting the actual power factor of the voltage-loss metering element in the nth recording time interval to be equal to the recording power factor of the normal metering element;
s351, according to the actual voltage U of the voltage-loss metering element un ', actual power factor cos phi of voltage loss measuring element un ' and recording current I of two decompression phases un Obtaining the actual active power of the voltage loss metering element in the nth recording time interval; wherein,
said actual active power P of the loss-of-voltage metering element in the nth recording time interval un ' is calculated as follows:
P un ’=U un ’*I un ’*cosΦ un ’,
s352, tracing back and supplementing detection according to the electric quantityMeasuring time interval and the actual active power of the voltage loss metering element to obtain the actual electric energy E of the voltage loss metering element in the nth recording time interval un ', to obtain the actual electric quantity E of the voltage-loss metering element in the electric quantity compensation measuring time period u '; wherein,
the actual electric quantity E of the voltage-loss phase in the electric quantity compensation measurement period is calculated as follows:
Figure BDA0003849611500000041
wherein t represents the duration of each recording time interval; n represents the nth recording time interval, and the value range of n is (1, k), wherein k represents the total number of the recording time intervals contained between the starting time and the ending time of the electric quantity compensation measurement period;
s353, acquiring the actual total electric quantity EZ = E of the voltage loss phase of the electric energy metering device u And acquiring the error electric quantity EX of the voltage loss phase during the electric quantity tracing, withdrawing and supplementing measurement period to acquire the tracing, withdrawing and supplementing electric quantity E = EZ-EX during the electric quantity tracing, withdrawing and supplementing measurement period.
On the other hand, the technical scheme of the invention relates to an electric quantity tracing back and supplementing processing method based on digital twins, which is applied to a three-phase four-wire electric energy metering device of a current loss fault, and the method comprises the following steps:
s180, determining an electric quantity tracing-back compensation measurement time period, a starting time and an ending time of the electric quantity tracing-back compensation measurement time period, diagnosing the fault type of the electric energy metering device during the fault period from the starting time, and collecting electric load data of each recording time interval; the fault type comprises a single-phase current loss fault, and the electric load data comprises the multiplying power of a current transformer, the recording voltage of a current loss phase, the recording current of a primary side of the current loss phase and the recording power factor of the primary side of the current loss phase;
s280, setting the quotient of the actual current of the user of the current-losing phase in the nth recording time interval, which is equal to the recorded current of the user of the current-losing phase once, divided by the multiplying power of the current transformer; setting the actual power factor of the user side of the current-losing phase to be equal to the actual power factor of the primary side of the current-losing phase in the nth recording time interval;
s361, recording voltage U according to the loss current phase in Actual power factor cos phi of user side of current-loss phase in And the actual current I of the user side of the current-losing phase in Obtaining the actual active power of the current loss phase in the nth recording time interval; wherein,
the actual active power P of the current-losing phase in the nth recording time interval in The calculation method of (c) is as follows:
P in =U in *I in *cosΦ in
s362, obtaining the actual electric energy E of the current loss phase in the nth recording time interval according to the electric quantity tracing-back compensation measuring time interval and the actual active power of the current loss phase in To obtain the actual electric quantity E of the current loss phase in the electric quantity tracing and back-up measurement time period i (ii) a Wherein,
actual electric quantity E of loss current phase in electric quantity tracing-back compensation measurement time period i The calculation of (c) is as follows:
Figure BDA0003849611500000051
wherein t represents the duration of each recording time interval; n represents the nth recording time interval, the value range of n is (1, k), wherein k represents the total number of the recording time intervals included between the starting time and the ending time of the electric quantity tracing-back compensation measuring time interval;
s363, acquiring actual total electric quantity EZ = E of the current loss phase of the electric energy metering device i And acquiring the error electric quantity EX of the loss phase in the electric quantity tracing back and compensation measuring time interval so as to acquire the tracing back and compensation electric quantity E = EZ-EX in the electric quantity tracing back and compensation measuring time interval.
The technical scheme of the invention relates to an electric quantity tracing-back-up processing method based on digital twinning, which is applied to a three-phase three-wire electric energy metering device of a current loss fault, and the method comprises the following steps:
s190, determining an electric quantity tracing-back compensation measurement time interval, a starting time and an ending time of the electric quantity tracing-back compensation measurement time interval, starting to diagnose the fault type of the electric energy metering device during the fault period from the starting time, and collecting electric load data of each recording time interval; the fault type comprises a metering element current loss fault, and the electric load data comprises current transformer multiplying power, recording voltage of a current loss metering element, recording current of a primary side of the current loss metering element and recording power factor of the primary side of the current loss metering element;
s290, setting the actual current of the user of the current loss metering element in the nth recording time interval to be equal to the quotient obtained by dividing the recording current of the primary current loss metering element by the multiplying power of the current transformer; setting the actual power factor of the user side of the current loss metering element to be equal to the actual power factor of the primary side of the current loss metering element in the nth recording time interval;
s371, according to the recording voltage U of the loss of current metering element in ', said actual power factor cos phi on the user side of the loss-metering element in ' and the actual current I on the user side of the current loss measuring element in ', obtaining the actual active power of the current loss metering element in the nth recording time interval; wherein,
the actual active power P of the current loss measuring element in the nth recording time interval in The way' is calculated as follows:
P in ’=U in ’*I in ’*cosΦ in ’,
s372, according to the electric quantity tracing-back compensation measurement time interval and the actual active power of the current loss measurement element, obtaining the actual electric energy E of the current loss measurement element in the nth recording time interval in ' to obtain the actual electric quantity E of the current loss metering element in the electric quantity compensation measuring time period i '; wherein,
actual electric quantity E of the loss flow metering element in the electric quantity tracing-back compensation measurement period i ' is calculated as follows:
Figure BDA0003849611500000052
wherein t represents the duration of each recording time interval; n represents the nth recording time interval, the value range of n is (1, k), wherein k represents the total number of the recording time intervals included between the starting time and the ending time of the electric quantity tracing-back compensation measuring time interval;
s373, acquiring the actual total electric quantity EZ = E of the current loss phase of the electric energy metering device i And acquiring the error electric quantity EX of the loss phase in the electric quantity tracing and back-up measurement time period to acquire the tracing and back-up electric quantity E = EZ-EX in the electric quantity tracing and back-up measurement time period.
Another aspect of the present invention relates to a computer-readable storage medium having stored thereon program instructions, which when executed by a processor, implement the above-described method.
Another aspect of the present invention relates to a digital twin-based electric quantity tracing back and complement processing system, including: a computer device comprising the computer-readable storage medium described above.
The technical scheme of the invention relates to an electric quantity tracing-backing compensation measuring instrument of an electric energy metering device on the other hand, which comprises:
a power parameter sampling channel module; the analog board module comprises an analog circuit and an A/D conversion circuit, and the A/D conversion circuit is connected with the output end of the data sampling channel module through the analog circuit; the data acquisition metering processor circuit is connected with the output end of the analog board module; the control processing module is connected with the output end of the data acquisition metering processor circuit; and the power supply circuit is used for respectively supplying power to the analog board module, the data acquisition and metering processor circuit and the control processing module.
The invention has the following beneficial effects.
According to the method and the system for tracing back and supplementing the fault electric quantity of the electric energy metering device based on the digital twin, the mapping of the nuclear electric energy metering device is realized by innovatively applying the digital twin technology, the intelligent application for tracing back and supplementing the electric quantity which is measured by the electric energy metering device and is out of alignment is established, and the process of the measuring out of alignment running state of the electric energy metering device can be accurately simulated, so that the electric quantity which needs to be traced back and supplemented after the electric energy metering device is measured out of alignment is accurately calculated, the calculated result is more reliable, and the error is smaller. The electric energy metering device can simulate, verify and predict the service cycle process of the physical entity of the electric energy metering device through real-time data, historical data, uncapping records, algorithm models and the like based on a digital twin technology, so that the performance optimization, the running state evaluation and the historical running process simulation of the electric energy metering device are realized, more comprehensive intelligent analysis, data analysis, electric power prediction and electric quantity metering fault analysis are provided for the running state of the electric energy metering device, and the electric energy metering device can better serve the good running of the electric energy metering device. The method and the system are suitable for various electric energy metering devices such as a three-phase four-wire electric energy metering device, a three-phase three-wire electric energy metering device and the like, are suitable for various fault types such as various wrong wiring modes, voltage loss faults, current loss faults and the like of the electric energy metering device, and have wide applicability.
Drawings
Fig. 1 is a schematic block diagram of a power backoff and compensation calculator of the power metering device according to the present invention.
FIG. 2 is a schematic view showing the configuration of an interface panel of the measuring instrument according to the present invention.
Fig. 3 is an explanatory diagram illustrating the operation of the measuring instrument.
Fig. 4 is a basic flowchart of the electric quantity backoff compensation processing method according to the present invention.
Detailed Description
The conception, the specific structure and the technical effects of the present invention will be clearly and completely described in conjunction with the embodiments and the accompanying drawings to fully understand the objects, the schemes and the effects of the present invention.
It is to be understood that all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any combination of one or more of the associated listed items.
It will be understood that, although the terms first, second, third, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one type of element from another. The use of any and all examples, or exemplary language ("e.g.," such as "etc.), provided herein is intended merely to better illuminate embodiments of the invention and does not pose a limitation on the scope of the invention unless otherwise claimed.
Referring to fig. 1, the electricity quantity compensation measuring instrument of the measuring device comprises a power circuit, an electricity parameter sampling channel module, an analog circuit, a data acquisition and measurement processor circuit and an operation and control processing module. The power supply circuit respectively supplies power to the analog circuit, the A/D conversion module, the data acquisition and measurement processor circuit, the control processing module circuit and other partial circuits. The voltage sampling channel module and the current sampling channel module are connected with an analog circuit, and the analog circuit, the A/D conversion module, the data acquisition metering processor circuit and the control processing module are sequentially connected together.
The voltage sampling channel module comprises a voltage sampling circuit and a voltage gear switching circuit and is used for being connected to the electric quantity compensation end of the metering device to collect a voltage value. The current sampling channel module comprises current transformer sampling, clamp meter sampling, current sampling circuit switching and current gear switching and is used for being connected to an electric quantity compensation end of the metering device to acquire a current value.
The analog board module is used as a mother board of the compensation measuring and calculating instrument, is connected with the voltage sampling channel module and the current sampling channel module, and is also associated with a circuit control processing module circuit of the data acquisition and measurement processor. The analog circuit is connected with the A/D conversion module, and the circuit output end of the A/D conversion module is connected with the data acquisition metering processor circuit.
The data acquisition metering processor circuit comprises a DSP high-speed processor and a calculation input/output module, the data acquisition metering processor circuit is connected with the A/D conversion module through an SPI interface and is connected with the metering input/output module through an I/O interface, and the metering input/output module outputs a standard electric quantity pulse signal for the standard meter to verify the accuracy of the instrument and is connected with the control processing module circuit through a serial port.
The control processing module circuit comprises an ARM processor, a capacitive touch screen and a memory. The ARM processor is connected with the data acquisition metering processor circuit through a serial port, is connected with the capacitive touch screen through an I/O interface, and reads data stored in the metering device in modes of 485, carrier waves and the like.
Wherein, the analog board module is connected to an interface panel of the compensation measuring instrument, as shown in fig. 2. The interface is described as follows.
Host USB port: and connecting external devices such as a USB flash disk, a scanning gun, a wireless keyboard and a mouse. 2. Network port/expansion port: the network cable is connected with an Internet/extended function port. 3. Pulse 1 interface: connected with a photoelectric sampler and a pulse line (pulse input, pulse output and a manual switch). 4. Pulse 2 interface: connected with a photoelectric sampler and a pulse line (pulse input, pulse output and a manual switch). C phase clamp meter port: connect 1A pincers, 5A pincers, 20A pincers, 100A pincers, 500A pincers, 1000A pincers, 2500A pincers. 6.B phase clamp meter port: connect 1A pincers, 5A pincers, 20A pincers, 100A pincers, 500A pincers, 1000A pincers, 2500A pincers. 7.A phase clamp meter port: connect 1A pincers, 5A pincers, 20A pincers, 100A pincers, 500A pincers, 1000A pincers, 2500A pincers. 8.C phase current terminal port: connecting a C-phase current output line (C-phase current flows out); and 9.C phase current terminal port: connecting a C-phase current input line (C-phase current flows in); 10.b-phase current terminal port: and connecting a B-phase current output line (B-phase current flows out). And 11.B-phase current terminal port: and (4) connecting a phase B current input line (B current flows in). 12.a phase current terminal port: and connecting an A-phase current output line (A-phase current flows out). Phase a current terminal port: and (4) connecting an A-phase current input line (in which the A-phase current flows). B-phase voltage terminal port: and is connected with a B-phase voltage wire. 15.A phase voltage terminal port: and is connected with an A-phase voltage wire. C-phase voltage terminal port: and C-phase voltage lines are connected. 17. Voltage common terminal port: and connecting a zero line voltage line. 18. A power switch: 1. go to "online" (On) gear: representing on-line power supply, the instrument power supply is taken from any two-phase voltage or Micro USB on site; 2. opening to "∘": showing shutdown, and connecting a Micro USB data line under the shutdown condition to charge the instrument; 3. open to "inscription" (Battery) gear: indicating battery power, the instrument power is taken from the internal battery. Micro USB port: and the Micro USB data line is connected for charging or the 5V Micro USB port adapter is connected for supplying power to the instrument.
In one embodiment, the data acquisition metering processor circuit is mainly used for receiving digital signals of voltage and current to be checked, receiving pulses to be checked, obtaining an accumulated electric quantity value within a set range of turns through calculation according to an ammeter constant, turns and an acquisition pulse number set by an ARM upper computer program, and carrying out real-time analysis and calculation on digital signal streams of the voltage and the current to be checked to obtain electric power parameters required by the voltage, the current, the waveform distortion degree, the harmonic content, the active power/electric quantity, the reactive power/electric quantity, the apparent power, the phase, the power factor, the frequency and the like.
In one embodiment, the control processing module comprises a compensation measuring and calculating module and a meter reading module, and the meter reading module comprises a 232 communication module, a 485 communication module, a carrier communication module and other communication meter reading modes. The 232 communication module, the 485 communication module and the carrier communication module of the meter reading module are connected with the ARM processor module and can be used for reading and collecting electric quantity recording data of the metering device. The control processing module also comprises a capacitive touch screen which adopts a large-screen color liquid crystal display to display the checking parameters and control the instructions issued to the data acquisition and measurement processor circuit, and can simultaneously display the three-phase voltage, the current, the phase angle, the power, the vector diagram and the judgment of the wrong wiring mode of the measurement device. The input and output module of the control processing module can exchange data with a computer and USB storage equipment through a USB interface.
In one embodiment, the control processing module acquires the stored data records of the metering device through the communication modules such as the 232 communication module, the 485 communication module and the carrier communication module, wherein the records include instantaneous voltage, current, active power, reactive power, power factor and load curve records, and event records of the metering device. If the metering device has fault records of voltage loss, current loss and the like, load record data such as the initial time and the duration of the voltage loss fault period, the initial time and the duration of the current loss fault period, and the voltage, the current, the active power, the reactive power, the power factor, the active total electric quantity, the reactive total electric quantity, the current demand and the like of the current loss fault period can be read.
In one embodiment, the compensation measuring and calculating module analyzes and judges the wiring condition of the metering device by acquiring the data information of voltage, current, power factor and other electrical parameters of the metering device on site and combining the acquired electrical parameters with a vector diagram, judges whether a fault problem exists or not, determines the fault reason, determines a reasonable electric quantity compensation calculation mode, reads the electric power data information stored by the metering device in modes of a 232 communication module, a 485 communication module, a carrier communication module and the like of an operation and control processing module, analyzes and judges the possible fault information of voltage loss, current loss, phase failure, short circuit and the like of the metering device, combines the data of voltage, current, power factor and other electrical parameters of the metering device acquired on site by the electric quantity compensation precise measuring and calculating instrument, and when the fault occurs in analysis and processing, conveniently and quickly calculates the electric quantity compensation measuring and calculating problem.
In an application scene, the accurate measuring instrument for electric quantity compensation of the metering device reads related data such as voltage, current, power, voltage loss, current loss, angle, event record, wrong wiring condition, load curve and the like by comprehensively reading data of the multifunctional meter, and collects the voltage, the current, the transformation ratio, the angle, the power factor and the wiring condition of the metering device on site. Carrying out classification analysis processing according to the recorded data, finding out the voltage loss time when the voltage loss fault type occurs, finding out the load condition in the voltage loss time period, and then measuring and calculating the corresponding supplemented electric quantity according to the corresponding data; finding out current abnormal data when the current loss fault type occurs, analyzing the abnormal reason, and measuring and calculating the electric quantity needing to be supplemented; and judging the corresponding power factor deviation according to the voltage, the current, the angle and the wiring actually checked on site, and calculating the electric quantity which is required to be in the correct wiring as a basis for tracing back and supplementing the electric quantity. The reasons of the events, the starting time, the ending time, the reasons of abnormal electricity utilization, the wiring conditions and the like are analyzed through the load curve data, corresponding detailed analysis results are given, a calculation formula is given, corresponding electric quantity is calculated, corresponding data are gathered into a graph to give a report form, the report form is convenient for on-site confirmation and signature, and a program implementation principle block diagram is shown in fig. 3.
Referring to fig. 4, the technical scheme of the invention is an electric quantity tracing back and supplementing processing method based on digital twins, which is applied to an electric energy metering device and at least comprises the following steps:
s100, determining an electric quantity tracing-back compensation measurement time period, a starting time and an ending time of the electric quantity tracing-back compensation measurement time period, diagnosing a fault type of the electric energy metering device during a fault period from the starting time, and collecting electric load data of each recording time interval;
s200, acquiring actual operation data in each recording time interval according to the power load data correlation data of the fault type and the power load data;
and S300, acquiring the actual electric energy of each recording time interval by the digital twin model according to the input electric load data and the actual operation data, and determining the electric quantity tracing-back and supplementing in the electric quantity tracing-back and supplementing measuring time period.
Detailed description of step S100
The embodiment of the invention discloses a digital twin system of an electric energy metering device in a virtual space by utilizing key information of functional parameters, environmental parameters, operation history data, fault characteristics and the like of the electric energy metering device and constructing a digital mirror image of the electric energy metering device in the virtual space of a software system through electric load data including voltage, current, active power, reactive power, power factors, forward active total electric energy, reactive total electric energy and the like and fault time intervals (electric quantity compensation measurement time intervals). The invention not only can realize the calculation of the tracing back and supplementing electric quantity of the electric energy metering device with wrong wiring, but also can realize the accurate calculation of the tracing back and supplementing electric quantity under the condition that the metering of the electric energy metering device is inaccurate, such as voltage loss, current loss, voltage and current transformer fault, meter metering fault, reactive power overcompensation and the like.
Further, the embodiment of the invention is suitable for various electric energy metering devices, including a three-phase four-wire electric energy metering device and a three-phase three-wire electric energy metering device. The fault types applicable to the embodiment of the invention comprise various fault connection, voltage loss faults, current loss faults and the like, wherein the fault connection further comprises the problems of voltage loss, current loss, poor contact, wrong connection, faults of a metering device and the like, the wrong connection of the metering device mainly comprises phase sequence record, reversed polarity connection of a voltage transformer, reversed polarity connection of a current transformer, poor common point grounding, suspension and mismatching of the voltage and the current phase sequence of a metering element, the phase sequence record mainly comprises the wiring phase sequence of a three-phase four-wire electric energy metering device, a three-phase three-wire electric energy metering device, the voltage transformer and the current transformer, and when the phase sequence record or the reversed polarity connection occurs, the voltage and the current connection of the same element are different, and the metering device possibly has fault phenomena of abnormal metering voltage, abnormal metering current, abnormal power factor and the like while the metering device has the wrong connection.
The calculation mode of the tracing back and supplementing electric quantity is different according to different electric energy metering devices and different fault types. After the electric quantity tracing-back compensation measuring time period, the starting time and the ending time are determined, the system selects different electric load data to calculate the tracing-back compensation electric quantity according to the type and the fault type of the electric energy metering device.
In one embodiment, in the case that the electric energy metering device is a three-phase four-wire electric energy metering device, when the fault type is wrong wiring, the selected electric load data comprises recorded active power of each phase and recorded reactive power of each phase, or the read electric load data comprises recorded current of each phase, recorded voltage of each phase and recorded power factor of each phase.
In an embodiment, in the embodiment of the present invention, for the electric energy metering device being a three-phase three-wire electric energy metering device, when the fault type is wrong wiring, the selected electric load data includes recorded active power of the first metering element and the second metering element and recorded reactive power of the first metering element and the second metering element, or the read recorded current including the first metering element and the second metering element, recorded voltage of the first metering element and the second metering element and recorded power factor of the first metering element and the second metering element.
In an embodiment, in the embodiment of the present invention, for the electric energy metering device that is a three-phase four-wire electric energy metering device, when the fault type is a single-phase voltage-loss fault, the selected recording currents include three phases of recording currents, two normal phases of recording voltages, and two normal phases of recording power factors. Or, when the fault type is a two-phase voltage loss fault, the recorded electric load data comprises recording current of three phases, recording voltage of a normal phase and recording power factor of the normal phase.
In an embodiment, in the embodiment of the present invention, for the electric energy metering device being a three-phase three-wire electric energy metering device, when the fault type is voltage loss of one of the metering elements, the selected electric load data includes the recording currents of the normal metering element and the voltage loss metering element, the recording voltage of the normal metering element, and the recording power factor of the normal metering element.
In an embodiment, in the embodiment of the present invention, for the case that the electric energy metering device is a three-phase four-wire electric energy metering device, when the fault type is a dead-end fault, the recording current on the primary side of the dead-end phase, the recording power factor on the primary side of the dead-end phase, the multiplying power TA of the current transformer, and the recording voltage on the user side of the dead-end phase are selected.
In an embodiment, in the embodiment of the present invention, for the electric energy metering device being a three-phase three-wire electric energy metering device, when the fault type is a metering element current loss, the recording current at the primary side of the current loss metering element, the recording power factor at the primary side of the current loss metering element, the multiplying factor TA of the current transformer, and the recording voltage of the metering element at the user side of the current loss metering element are selected.
Detailed description of step S210 and step S220 (three-phase four-wire power metering device and fault including faulty connection)
In some embodiments of the invention, the power metering device is a three-phase four-wire power metering device and the fault type includes a faulty connection, then:
when the measurement is correct, the actual active power expressions (2-A) of the A phase, the B phase and the C phase are as follows:
Pa=Ua*Ia*cosΦa,Pb=Ub*Ib*cosΦb,Pc=Uc*Ic*cosΦc,
in the formula, pa, pb and Pc respectively represent the actual active power of the A phase, the B phase and the C phase; ua, ub and Uc respectively represent actual voltages of the A phase, the B phase and the C phase, and Ia, ib and Ic respectively represent actual currents of the A phase, the B phase and the C phase; COS Φ a, COS Φ B, and COS Φ C respectively represent the actual power factors of the A phase, the B phase, and the C phase; Φ a, Φ B, Φ C represent actual phase angles of the a phase, the B phase, and the C phase, respectively.
When the wiring is wrong, the recorded active power expressions (2-B) of the A phase, the B phase and the C phase are as follows:
Pa1=Ua1*Ia1*cosΦa1,Pb1=Ub1*Ib1*cosΦb1,Pc1=Uc1*Ic1*cosΦc1,
in the formula, pa1, pb1, and Pc1 represent recording active power of a phase, B phase, and C phase, respectively; ua1, ub1 and Uc1 are respectively recording voltages of an A phase, a B phase and a C phase, and Ia1, ib1 and Ic1 are respectively recording currents of the A phase, the B phase and the C phase; cos Φ a1, cos Φ B1, and cos Φ C1 represent recording power factors of the a phase, the B phase, and the C phase, respectively; Φ a1, Φ B1, Φ C1 represent recording phase angles of the a phase, the B phase, and the C phase.
And (2) obtaining the respective relations between the actual voltage, the actual current, the actual power factor and the actual phase angle and the recorded voltage, the recorded current, the recorded power factor and the recorded phase angle according to the electric load associated data (refer to the following formula 2-C1), and calculating a correction coefficient by combining the formulas 2-A and 2-B so as to obtain correct active power and finally obtain the tracing-back electricity-supplementing quantity in the fault period. Wherein the electrical load related data comprises voltage related data, current related data, power factor related data and phase angle related data.
In one embodiment, the power metering device is a three-phase four-wire power metering device, the fault type includes misconnection, the electrical load data includes recorded active power per phase and recorded reactive power per phase, and then:
s211, recording active power Pa according to each phase in the nth recording time interval n 1、Pb n 1、Pc n 1 and recording reactive power Qa per phase n 1,Qb n 1,Qc n 1, obtaining the power factor cos Φ a measured for each phase in the nth recording time interval n 1、cosΦb n 1、cosΦc n 1 to obtain the estimated phase angle Φ a per phase in the nth recording time interval n 1、Φb n 1、Φc n 1; wherein,
the calculation of the estimated power factor for each phase in the nth recording interval is as follows:
Figure BDA0003849611500000111
Figure BDA0003849611500000112
Figure BDA0003849611500000113
s212, obtaining the actual phase angle phi a of each phase in the nth recording time interval according to the actual phase angle correlation data of the fault types and the measured phase angle of each phase n 、Φb n 、Φc n And the actual power factor of each phase cos Φ a n 、cosΦb n 、cosΦc n
In an application scenario, the electric energy metering device is a three-phase four-wire electric energy metering device, the wrong wiring mode is a wiring mode with voltage phase sequences Ub, ua and Uc and current phase sequences Ia, ib and Ic, the electric load data comprises the recorded active power of each phase and the recorded reactive power of each phase, and the following steps are provided:
S211A, recording the active power Pa according to each phase in the nth recording time interval n 1、Pb n 1、Pc n 1 and recording reactive power Qa per phase n 1,Qb n 1,Qc n 1, obtaining the power factor cos Φ a measured for each phase in the nth recording time interval n 1、cosΦb n 1、cosΦc n 1 to obtain the estimated phase angle Φ a per phase in the nth recording time interval n 1、Φb n 1、Φc n 1; wherein,
the calculation of the estimated power factor for each phase in the nth recording interval is as follows:
Figure BDA0003849611500000121
Figure BDA0003849611500000122
Figure BDA0003849611500000123
S212A, according to the actual phase angle correlation data of the fault type (see the following formula 2-C1), obtaining the formula 2-C11:
Pa1=Ua1*Ia1*cosΦa1=Ub*Ia*cos(120°-Φa),
Pb1=Ub1*Ib1*cosΦb1=Ua*Ib*cos(120°+Φb),
Pc1=Uc1*Ic1*cosΦc1=Uc*Ic*cosΦc,
the relation between the actual phase angle and the recording phase angle, i.e., Φ a1=120 ° - Φ a, Φ b1=120 ° + Φ b, Φ C1= Φ C, can be obtained from the above equations 2-C11, so that the actual phase angle Φ a of each phase in the nth recording time interval can be obtained from the obtained measured phase angle of each phase n 、Φb n 、Φc n And the actual power factor of each phase cos Φ a n 、cosΦb n 、cosΦc n Wherein, in the process,
actual phase angle of each phase Φ a in the nth recording time interval n 、Φb n 、Φc n The calculation method of (c) is as follows:
Φa n =120°-arccos(cosΦa n 1),
Φb n =arccos(cosΦb n 1)-120°,
Φc n =arccos(cosΦc n 1)。
in one embodiment, in some embodiments of the invention, the power metering device is a three-phase four-wire power metering device, the fault type includes misconnection, the electrical load data includes recorded current per phase, recorded voltage per phase, and recorded power factor per phase, and then:
s221, voltage related data, current related data and power factor related data according to fault types, and recording voltage Ua of each phase in 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 recording power factor cos Φ a per phase n 1、cosΦb n 1、cosΦc n 1, obtaining the measured active power of each phase in the nth recording time interval; wherein,
measuring and calculating active power Pa of each phase in nth recording time interval n 1、Pb n 1、Pc n 1 is calculated as follows:
Pa n 1=Ua n 1*Ia n 1*cosΦa n 1,
Pb n 1=Ub n 1*Ib n 1*cosΦb n 1,
Pc n 1=Uc n 1*Ic n 1*cosΦc n 1,
s222, obtaining a measured phase angle phi a of each phase in the nth recording time interval according to the recording power factor n 1、Φb n 1、Φc n 1; obtaining the actual phase angle phi a of each phase in the nth recording time interval according to the actual phase angle correlation data of the fault type and the measured phase angle n 、Φb n 、Φc n And the actual power factor.
In an application scenario, the electric energy metering device is a three-phase four-wire electric energy metering device, the wrong wiring mode is a wiring mode with voltage phase sequences Ub, ua and Uc and current phase sequences Ia, ib and Ic, and the electric load data comprises the recorded active power and the recorded reactive power of each phase, so that the method comprises the following steps:
S221A, voltage related data, current related data and power factor related data according to fault type, and recording voltage Ua of each phase in 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 recording power factor cos Φ a per phase n 1、cosΦb n 1、cosΦc n 1, obtaining the measured active power of each phase in the nth recording time interval; wherein,
measuring and calculating active power Pa of each phase in nth recording time interval n 1、Pb n 1、Pc n 1 is calculated as follows:
Pa n 1=Ua n 1*Ia n 1*cosΦa n 1,
Pb n 1=Ub n 1*Ib n 1*cosΦb n 1,
Pc n 1=Uc n 1*Ic n 1*cosΦc n 1,
S222A, obtaining a measured phase angle phi a of each phase in the nth recording time interval according to the recording power factor n 1、Φb n 1、Φc n 1; from the actual phase angle correlation data for the fault type (see equation 2-C1 below), equations 2-C11 are available:
Pa1=Ua1*Ia1*cosΦa1=Ub*Ia*cos(120°-Φa),
Pb1=Ub1*Ib1*cosΦb1=Ua*Ib*cos(120°+Φb),
Pc1=Uc1*Ic1*cosΦc1=Uc*Ic*cosΦc,
the relation between the actual phase angle and the recording phase angle can be obtained according to the above formula 2-C11, i.e. Φ a1=120 ° - Φ a, Φ b1=120 ° + Φ b, Φ C1= Φ C, so that each recording time interval in the nth recording time interval is obtained by measuring and calculating the phase angle obtainedActual phase angle of phase Φ a n 、Φb n 、Φc n And the actual power factor cos Φ a n 、cosΦb n 、cosΦc n Wherein
actual phase angle Phia of each phase in the nth recording time interval n 、Φb n 、Φc n The calculation method of (c) is as follows:
Φa n =120°-arccos(cosΦa n 1),
Φb n =arccos(cosΦb n 1)-120°,
Φc n =arccos(cosΦc n 1)。
further, when the electric energy metering device is a three-phase four-wire electric energy metering device, in the case of partial miswiring under different embodiments, the recorded active power of the a-phase, the B-phase, and the C-phase and the recorded reactive power of the a-phase, the B-phase, and the C-phase are expressed as (2-C1) below. The electric load related data can also be obtained by the formula (2-C1).
Figure BDA0003849611500000141
Figure BDA0003849611500000151
Step S310 specific implementation (three-phase four-wire power metering device and fault type including wrong wiring)
S311, recording power factor cos Φ a according to each phase n 1、cosΦb n 1、cosΦ n c1 and actual power factor of each phase cos Φ a n 、cosΦb n 、cosΦc n Obtaining a correction factor for each phase during the nth recording time interval; wherein,
correction factor Ka for each phase in the nth recording time interval n 、Kb n 、Kc n The calculation formula of (a) is as follows:
Ka n =cosΦa n /cosΦa n 1,
Kb n =cosΦb n /cosΦb n 1,
Kc n =cosΦc n /cosΦc n 1,
s312, obtaining the correct active power of each phase in the nth recording time interval according to the correction coefficient and the measured active power so as to obtain the actual electric energy of each phase and the actual electric quantity of each phase in the nth recording time interval; wherein,
correct active power PA for each phase in the nth recording time interval n 、PB n 、PC n The calculation method of (c) is as follows:
PA n =Ka n *Pa n 1,PB n =Kb n *Pb n 1,PC n =Kc n *Pc n 1,
actual electric energy Ea of each phase in the nth recording time interval n 、Eb n 、Ec n The calculation method of (c) is as follows:
Ea n =PA n *t,Eb n =PB n *t,Ec n =PC n *t,
wherein t represents the duration of each recording time interval;
according to the electric quantity tracing back and supplementing measurement time interval, obtaining the actual electric quantity EA, EB and EC of each phase, wherein the calculation mode is as follows:
Figure BDA0003849611500000152
Figure BDA0003849611500000153
Figure BDA0003849611500000154
wherein n represents the nth recording time interval; the value range of n is (1, k), wherein k represents the total number of recording time intervals included between the starting time and the ending time of the electric quantity tracing-back compensation measuring time interval;
and S313, acquiring the actual total electric quantity EZ = EA + EB + EC of the electric energy metering device, and acquiring the electric quantity to track back the error electric quantity EX in the compensation measurement time period so as to obtain the tracking back compensation electric quantity E = EZ-EX in the tracking back compensation measurement time period.
Detailed description of step S230 and step S240 (three-phase three-wire electric energy metering device and fault including wrong wiring)
In some embodiments of the present invention, when the electric energy metering device is a three-phase three-wire electric energy metering device, for calculating the back-up compensation electric quantity when the fault type is wrong wiring, the actual phase angle and the actual power factor can be obtained according to the recorded active power of the first metering element and the second metering element and the recorded reactive power of the first metering element and the second metering element, which are obtained by the data acquisition module, and the electric load related data, or the actual phase angle and the actual power factor can be obtained according to 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, which are obtained by the data acquisition module,
in one embodiment, the power metering device is a three-phase three-wire power metering device, the fault type includes wrong wiring, the power consumption load data includes recorded active power of the first metering element and the second metering element and recorded reactive power of the first metering element and the second metering element, and the following steps are performed:
s231, recording active power P1 of the first metering element and the second metering element in the nth recording time interval n ’、P2 n ' recording reactive power Q1 of first and second metering elements n ’、Q2 n ' obtaining the measured power factors cos phi 1 of the first and second measuring elements in the nth recording time interval n ’、cosΦ2 n ', to obtain a measured phase angle phi 1 for each phase in the nth recording time interval n ’、Φ2 n '; wherein,
the calculation method of the estimated power factors of the first measuring element and the second measuring element in the nth recording time interval is as follows:
Figure BDA0003849611500000161
Figure BDA0003849611500000162
s232, obtaining the actual phase angles phi 1 of the first metering element and the second metering element in the nth recording time interval according to the actual phase angle correlation data of the fault types and the measured phase angles of the first metering element and the second metering element n 、Φ2 n And the actual power factor cos Φ 1 of each phase n 、cosΦ2 n
In one embodiment, the electric energy metering device is a three-phase three-wire electric energy metering device, the fault type comprises wrong wiring, the electric load data comprises recording currents of the first metering element and the second metering element, recording voltages of the first metering element and the second metering element and recording power factors of the first metering element and the second metering element;
s241, the data related to the electric load according to the fault type and the recording 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 first and second measuring elements n ’、I2 n ' and recording power factor cos Φ 1 of the first and second measuring elements n ’、cosΦ2 n ', obtaining the measured active power of the first measuring element and the second measuring element in the nth recording time interval; wherein,
measuring and calculating active power Pa1 of the first measuring element and the second measuring element in the nth recording time interval n ’、Pb2 n ' is calculated as follows:
P1 n ’=U1 n ’*I1 n ’*cosΦ1 n ’,
P2 n ’=U2 n ’*I2 n ’*cosΦ2 n ’,
s242, obtaining the measuring phase angle phi 1 of the first metering element and the second metering element in the nth recording time interval according to the recording power factor n 、Φ2 n (ii) a Obtaining the actual phase angle phi 1 of each phase in the nth recording time interval according to the actual phase angle correlation data of the fault types and the measured phase angles n 、Φ2 n And an actual power factor.
Step S320 embodiment (three-phase three-wire electric energy metering device and fault type including wrong wiring)
S321, obtaining correction coefficients of the first metering element and the second metering element in the nth recording time interval according to the measured power factor and the actual power factor; wherein,
the correction coefficients K1 of the first and second measurement devices in the nth recording time interval n 、K2 n The calculation method of (c) is as follows:
K1 n =cosΦ1 n /cosΦ1 n ’,
K2 n =cosΦ2 n /cosΦ2 n ’,
s322, obtaining correct active power of the first metering element and the second metering element in the nth recording time interval according to the correction coefficient and the recording active power so as to obtain actual electric energy of the first metering element and the second metering element and actual electric quantity of each phase in the nth recording time interval; wherein,
correct active power P of the first and second metering elements in the nth recording time interval n 10、P n The calculation of 20 is as follows:
P10 n =K1 n *P1 n ’,P20 n =K2 n *P2 n ’,
actual electrical energy E1 of the first and second measuring elements in the nth recording time interval n 、E2 n The calculation method of (c) is as follows:
E1 n =P10 n *t,E2 n =P20 n *t,
wherein t represents the duration of each recording time interval;
according to the electric quantity tracing back and supplementing measuring time interval, the actual electric quantities E1 and E2 of the first measuring element and the second measuring element are obtained, and the calculation mode is as follows:
Figure BDA0003849611500000171
Figure BDA0003849611500000172
wherein n represents the nth recording time interval; the value range of n is (1, k), wherein k represents the total number of recording time intervals contained between the starting time and the ending time of the electric quantity tracing-back compensation measuring time period;
and S323, acquiring the actual total electric quantity EZ = E1+ E2 of the electric energy metering device, and acquiring the error electric quantity EX of the electric quantity during the electric quantity tracing, backing and measuring time period to acquire the tracing, backing and measuring electric quantity E = EZ-EX of the electric quantity tracing, backing and measuring time period.
Further, the method of the embodiment of the invention is also applicable to a three-phase three-wire electric energy metering device, and in the case of partial wrong wiring of the three-phase three-wire electric energy metering device under different embodiments, the recorded active power of the first metering element and the second metering element and the recorded reactive power of the first metering element and the second metering element are as follows, and the expression (2-C2) is as follows. The electric load related data can also be obtained by the formula (2-C2).
Figure BDA0003849611500000181
Figure BDA0003849611500000191
Detailed description of step S250 and step 330 (three-phase four-wire power metering device and faults including single-phase voltage loss faults)
In some embodiments of the present invention, the electric energy metering device is a three-phase four-wire electric energy metering device, the fault type includes a single-phase voltage loss fault, and the electric load data includes a recording current of the voltage loss phase, recording voltages of two normal phases and recording power factors of the two normal phases;
s250, setting the actual voltage of the voltage-loss phase in the nth recording time interval to be equal to the arithmetic mean value of the recording voltages of the two normal phases; setting 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;
s331, according to the actual voltage U of the voltage-loss phase un Actual power factor cos Φ of the voltage-loss phase un And recording current I of the voltage-loss phase un Obtaining the actual active power of the decompression phase in the nth recording time interval; wherein,
actual active power P of the decompression phase in the nth recording time interval un The calculation method of (c) is as follows:
P un =U un *I un *cosΦ un
s332, obtaining the actual electric energy E of the voltage-loss phase in the nth recording time interval according to the electric quantity tracing-back compensation measuring time interval and the actual active power of the voltage-loss phase un To obtain the actual electric quantity E of the voltage-losing phase in the electric quantity tracing-back compensation measurement time period u (ii) a Wherein,
actual electric quantity E of voltage-losing phase in electric quantity tracing back and supplementing measurement time interval u The calculation method of (c) is as follows:
Figure BDA0003849611500000201
wherein t represents the duration of each recording time interval; n represents the nth recording time interval, the value range of n is (1, k), wherein k represents the total number of the recording time intervals included between the starting time and the ending time of the electric quantity tracing-back compensation measuring time interval;
s333, acquiring actual total electric quantity EZ = E of the voltage loss phase of the electric energy metering device u And the obtained electric quantity overtakesAnd compensating the error electric quantity EX of the voltage loss phase in the measurement time period, and performing compensation on the compensation electric quantity E = EZ-EX in the obtained electric quantity compensation time period.
In an application scenario, the electric energy metering device is a three-phase four-wire electric energy metering device, when the fault type is a voltage loss of an a phase and normal metering of a B phase and a C phase occurs, because the voltage loss of the a phase occurs, the recording voltage of the a phase is in an abnormal state, meanwhile, the recording power factor of the a phase cannot be accurately metered, phase voltages of the B phase and the C phase are normal, actual voltages and actual power factors of the B phase and the C phase are the recording voltage and the recording actual power factor acquired by a data acquisition module, the actual current Ia of the a phase is the recording current acquired by the data acquisition module, the actual voltage Ua of the a phase can be replaced by an arithmetic mean of the recording voltages Ub and Uc of the B phase and the C phase, and the actual power factor cos Φ a of the a phase can be replaced by an arithmetic mean of the recording power factors cos Φ B and cos Φ C of the B phase and the C phase, wherein the two calculation modes are as follows:
Ua=(Ub+Uc)/2,
cosΦa=(cosΦb+cosΦc)/2,
then, according to the active power expression Pa = Ua × Ia × cos Φ a and the actual current of the a phase (recording current), the actual active power Pa of the a phase can be calculated, and the actual active power of the a phase is the correct active power of the a phase.
According to the electric quantity tracing-back compensation measurement time interval and the actual active power of the phase A, the actual electric energy E of the phase A in the nth recording time interval is obtained un To obtain the actual quantity of electricity E of phase A in the nth recording time interval u In which the actual quantity of electricity E of phase A u For the actual total charge EZ of the voltage-loss phase during the period of time when the electric energy metering device is required to be out of order (charge-back compensation measurement period), i.e. EZ = E u . And finally, according to the error electric quantity EX of the voltage loss in the electric quantity tracing and back-up measurement period, the obtained electric quantity tracing and back-up electric quantity E = EZ-EX in the electric quantity tracing and back-up measurement period.
Detailed description of step S260 and step 340 (three-phase four-wire power metering device and fault including two-phase loss of voltage fault)
In some embodiments of the present invention, the electric energy metering device is a three-phase four-wire electric energy metering device, the fault type includes a two-phase voltage loss fault, the electric load data includes recording current of two voltage loss phases, recording voltage of a normal phase and recording power factor of the normal phase, and then:
s260, setting the actual voltage of the two voltage-loss phases in the nth recording time interval to be equal to the recording voltage of the normal phase; the actual power factors of the two decompression phases in the nth recording time interval are set to be equal to the recording power factor of the normal phase.
S341, according to actual voltage U1 of two voltage loss phases n 、U2 n Actual power factor cos Φ 1 of two loss-of-voltage phases n 、cosΦ2 n And recording current I1 of two decompression phases n 、I2 n Obtaining the actual active power of the two decompression phases in the nth recording time interval; wherein,
actual active power P1 of two loss of voltage phases in the nth recording time interval n 、P2 n The calculation of (c) is as follows:
P1 n =U1 n *I1 n *cosΦ1 n ,P2 n =U2 n *I2 n *cosΦ2 n
s342, obtaining the actual electric energy E1 of the two voltage-loss phases in the nth recording time interval according to the electric quantity tracing-back compensation measuring time interval and the actual active power of the two voltage-loss phases n 、E2 n To obtain the actual electric quantities E1 and E2 of the two decompression phases in the electric quantity tracing and back-up measurement time period; wherein,
the actual electric quantity E of the voltage-loss phase in the electric quantity compensation measurement period is calculated as follows:
Figure BDA0003849611500000211
Figure BDA0003849611500000212
wherein t represents the duration of each recording time interval; n represents the nth recording time interval, the value range of n is (1, k), wherein k represents the total number of the recording time intervals contained between the starting time and the ending time of the electric quantity tracing and back-up measurement time interval;
and S343, acquiring the actual total electric quantity EZ = E1+ E2 of the electric energy metering device, and acquiring the electric quantity to track back the error electric quantity EX in the compensation measurement time period so as to acquire the tracking back compensation electric quantity E = EZ-EX in the tracking back compensation measurement time period.
Detailed description of step S270 and step 350 (three-phase three-wire electric energy metering device and fault type including voltage loss fault)
In some embodiments of the present invention, the electric energy metering device is a three-phase three-wire electric energy metering device, the fault type includes voltage loss of one metering element of the three-phase three-wire electric energy metering device, the electric load data includes recording currents of a normal metering element and the voltage loss metering element, and a recording voltage of the normal metering element and a recording power factor of the normal metering element, then:
s270, setting the actual voltage of the voltage-loss metering element to be equal to the recording voltage of the normal metering element in the nth recording time interval; setting the actual power factor of the voltage-loss metering element in the nth recording time interval to be equal to the recording power factor of the normal metering element;
s351, according to the actual voltage U of the voltage loss measuring element un ', actual power factor cos phi of the voltage loss measuring element un ' and recording current I of two decompression phases un Obtaining the actual active power of the voltage loss metering element in the nth recording time interval; wherein,
actual active power P of the voltage loss measuring element in the nth recording time interval un The way' is calculated as follows:
P un ’=U un ’*I un ’*cosΦ un ’,
s352, obtaining the actual electric energy E of the voltage-loss metering element in the nth recording time interval according to the electric quantity tracing-back compensation measuring time interval and the actual active power of the voltage-loss metering element un ' to obtain the actual electric quantity E of the voltage-loss metering element in the electric quantity tracing-back compensation measuring time period u '; wherein,
after the electric quantityActual electric quantity E of decompression phase in backoff measurement period u The calculation method of (c) is as follows:
Figure BDA0003849611500000213
wherein t represents the duration of each recording time interval; n represents the nth recording time interval, the value range of n is (1, k), wherein k represents the total number of the recording time intervals included between the starting time and the ending time of the electric quantity tracing-back compensation measuring time interval;
s353, acquiring actual total electric quantity EZ = E of the voltage loss phase of the electric energy metering device u ' and obtaining the error electric quantity EX of the voltage-losing phase in the electric quantity tracing and back-up measurement time period, so as to obtain the tracing and back-up electric quantity E = EZ-EX in the electric quantity tracing and back-up measurement time period.
Detailed description of step S280 and step 360 (three-phase four-wire power metering device and fault type including loss of current fault)
In some embodiments of the present invention, the electric energy metering device is a three-phase four-wire electric energy metering device, the fault type includes a single-phase current loss fault, the electric load data includes a multiplying power of the current transformer, a recording voltage of the current loss phase, a recording current of a primary side of the current loss phase, and a recording power factor of the primary side of the current loss phase, and the following are provided:
s170, determining an electric quantity tracing-back compensation measurement time period, a starting time and an ending time of the electric quantity tracing-back compensation measurement time period, diagnosing a fault type of the electric energy metering device during a fault period from the starting time, and collecting electric load data of each recording time interval; the electric energy metering device is a three-phase four-wire electric energy metering device, the fault type comprises a single-phase current loss fault, and the electric load data comprises the multiplying power of a current transformer, the recording voltage of a current loss phase, the recording current of the primary side of the current loss phase and the recording power factor of the primary side of the current loss phase;
s270, setting the actual current of the user with the current loss phase in the nth recording time interval to be equal to the quotient obtained by dividing the recorded current of the user with the current loss phase once by the multiplying power of the current transformer; the actual power factor on the user side of the lost phase during the nth recording interval is set equal to the actual power factor on the primary side of the lost phase. It can be understood that, for a three-phase four-wire electric energy metering device, when a single-phase current loss fault, a two-phase current loss fault and a three-phase current loss fault occur, the actual current of any current loss phase user can be obtained through the recording current of the corresponding current loss phase user and the multiplying power calculation of the current transformer, and meanwhile, the actual power factor of any current loss phase user can be obtained through the power factor of the corresponding current loss phase user.
S361, recording voltage U according to the current loss phase in Actual power factor cos phi of user side of current loss phase in And the actual current I of the user side of the current-losing phase in Obtaining the actual active power of the current loss phase in the nth recording time interval; wherein,
actual active power P of the current loss phase in the nth recording time interval in The calculation method of (c) is as follows:
P in =U in *I in *cosΦ in
s362, obtaining the actual electric energy E of the current-losing phase in the nth recording time interval according to the electric quantity tracing-back compensation measuring time interval and the actual active power of the current-losing phase in To obtain the actual electric quantity E of the current loss phase in the electric quantity tracing and back-up measurement time period i (ii) a Wherein,
actual electric quantity E of current loss phase in electric quantity tracing back and supplementing measurement time period i The calculation method of (c) is as follows:
Figure BDA0003849611500000221
wherein t represents the duration of each recording time interval; n represents the nth recording time interval, the value range of n is (1, k), wherein k represents the total number of the recording time intervals contained between the starting time and the ending time of the electric quantity tracing and back-up measurement time interval;
s363, acquiring actual total electric quantity EZ = E of the current loss phase of the electric energy metering device i And the obtained electric quantity is used for tracing back and supplementing the error electric quantity EX of the loss phase at the measuring time intervalAnd E = EZ-EX.
In an application scene, the electric energy metering device is a three-phase four-wire electric energy metering device, the fault type is A-phase current loss and B-phase and C-phase normal metering, because A-phase current loss occurs, the recording current of A-phase at a user side is in an abnormal state, meanwhile, the recording power factor of A-phase can not be accurately metered, the B-phase and C-phase electric quantity is normally metered, the actual voltage Ua of A-phase is the recording voltage acquired by the data acquisition module, and the actual current Ia of A-phase user side is in Available primary side phase A current Ia in ' the sum current transformer transformation ratio multiplying power TA is calculated, and the actual power factor cos phi a of the A phase in Recording power factor cos Φ a of primary side A phase in ' instead, both calculation methods are as follows:
Ia in =Ia in ’/TA,
cosΦa in =cosΦa in ’,
then, according to the active power expression Pa in =Ua in *Ia in *cosΦa in And the actual voltage (recording voltage) of the phase A, and the actual active power Pa of the phase A can be calculated in The actual active power of phase a is the correct active power of phase a.
According to the electric quantity tracing-back compensation measurement time interval and the actual active power of the phase A, the actual electric energy E of the phase A in the nth recording time interval is obtained in To obtain the actual electric quantity E of the A phase in the electric quantity tracing and withdrawing compensation measuring time period i In which the actual electrical quantity E of phase A i For the purpose of requiring the actual total quantity EZ of phase A during a fault in the energy metering device, i.e. EZ = E i . And finally, according to the error electric quantity EX of the phase A of the electric quantity tracing and back-up measurement time interval, the obtained electric quantity tracing and back-up electric quantity E = EZ-EX of the electric quantity tracing and back-up measurement time interval.
It can be understood that, to three-phase four-wire electric energy metering device, when the out-of-current fault appears in B looks, the actual current of B looks all can calculate through the recording current and the current transformer multiplying power that its corresponding B looks is then once and obtain, the actual power factor that B looks user is then all can obtain through the power factor that B looks is then once, and simultaneously, when the out-of-current fault appears in C looks, the actual current of C looks all can calculate through the recording current and the current transformer multiplying power that its corresponding B looks is then once and obtain, the actual power factor that C looks user is then all can obtain through the power factor that C looks is then once.
Detailed description of steps S290 and 370 (three-phase three-wire electric energy metering device and fault type including current loss fault)
In some embodiments of the present invention, the electric energy metering device is a three-phase three-wire electric energy metering device, the fault type includes a metering element current loss fault, the electric load data includes a multiplying power of a current transformer, a recording voltage of the current loss metering element, a recording current of a primary side of the current loss metering element, and a recording power factor of the primary side of the current loss metering element, and the method includes:
s290, setting the actual current of the user of the current loss metering element in the nth recording time interval to be equal to the quotient obtained by dividing the recording current of the primary current loss metering element by the multiplying power of the current transformer; setting the actual power factor of the user side of the current loss metering element to be equal to the actual power factor of the primary side of the current loss metering element in the nth recording time interval;
s371, according to the recording voltage U of the loss of current metering element in ', actual power factor cos phi of user side of loss flow metering element in ' and actual current I of user side of current loss metering element in ', obtaining the actual active power of the current loss metering element in the nth recording time interval; wherein,
actual active power P of the current loss measuring element in the nth recording time interval in The way' is calculated as follows:
P in ’=U in ’*I in ’*cosΦ in ’,
s372, obtaining the actual electric energy E of the current loss metering element in the nth recording time interval according to the electric quantity tracing-back compensation measuring time interval and the actual active power of the current loss metering element in ' to obtain the actual electric quantity E of the current loss metering element in the electric quantity compensation measuring time period i '; wherein,
after-backing measurement of electric quantityActual electric quantity E of current loss metering element in time interval i The way' is calculated as follows:
Figure BDA0003849611500000241
wherein t represents the duration of each recording time interval; n represents the nth recording time interval, the value range of n is (1, k), wherein k represents the total number of the recording time intervals contained between the starting time and the ending time of the electric quantity tracing and back-up measurement time interval;
s373, acquiring the actual total electric quantity EZ = E of the current loss phase of the electric energy metering device i ' and acquiring the error electric quantity EX of the loss phase at the electric quantity tracing-back compensation measuring time interval so as to obtain the tracing-back compensation electric quantity E = EZ-EX at the electric quantity tracing-back compensation measuring time interval.
It can be understood that, for the three-phase three-wire electric energy metering device, when the two metering elements are in a current loss fault, the actual current and the actual power factor of the user of any one metering element can be obtained according to the step S290.
According to the digital twin model provided by the embodiment of the invention, the correct power load data of each recording time interval from the starting time to the ending time in the electric quantity compensation measuring period is traced according to the type and the fault type of the electric energy metering device, so that the actual electric quantity of each recording time interval is reduced one by one, and the effect of simulating the normal operation of the electric energy metering device is achieved.
Furthermore, the digital twin model of the electric energy metering device in the embodiment of the invention can also trace the situation that the electric quantity of the three-phase three-wire metering device is low due to reactive overcompensation. Generally, when a three-phase three-wire electric energy metering device confirms normal wiring, load data is read and recorded, a phenomenon of negative active power is found, the metering device can be judged to have reactive overcompensation, and in a metering state, the metering of low electric quantity occurs, so that the back compensation calculation is required. For the situation that one element normally measures the negative power of the other metering element in the reactive overcompensation, the processing mode of the electric quantity of the reactive overcompensation is as follows: the method comprises the steps of firstly calculating the actual power factor of a reactive overcompensation metering element according to load data of the normally metered element, automatically accumulating and calculating the actual electric load in the reactive overcompensation period according to the calculated actual power factor and data such as recorded voltage and recorded current read by a data acquisition module in a digital twin model, and finally subtracting recorded electric quantity metered by an electric energy metering device in the reactive overcompensation period to accurately calculate the electric quantity needing to be retreated and compensated.
Experimental verification of electric quantity tracing back and supplementing method and system
The method of the present invention is described herein with an embodiment, in which the power metering device is a three-phase four-wire power metering device, the wrong connection is the connection of the voltage phase sequence Ub, ua, uc and the current phase sequence Ia, ib, ic, and the following are provided:
at this time, the active power expression of the metering electric quantity is as follows:
praise = Ub × Ia cos (120 ° - Φ a) + Ua × Ib cos (120 ° + Φ b) + Uc × Ic × cos Φ c;
the expression of active power when metering correctly is:
p + la + lb + Ic + cos Φ c;
if the conventional static correction coefficient algorithm is used, three-phase load balance needs to be assumed, i.e., 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 positive/P error, so that the calculation cannot be performed by using the conventional static correction coefficient algorithm. The invention is based on a digital twin system, through collecting historical operation load data when the electric energy metering device is in failure, actual power load data is restored according to the wrong wiring type, the actual power load of a user is mapped and simulated when the electric energy metering device is normally connected with a line (the mapping process refers to embodiment 1), then the actual power consumption Ej =533.51kWh in the whole wrong wiring period of the electric energy metering device is calculated through accumulation according to an electric energy method, compared with the actual power consumption Es =541.88kWh of the normal wiring of the electric energy metering device in an experiment, and the error is 100 (Ej-Es)/Es = -1.54%, the result shows that the retrogression compensation electric quantity calculated by using the method is more reliable than an algorithm using a traditional static correction coefficient, and the error is smaller.
In another embodiment, the method of the present invention is described, wherein the power metering device is a three-phase four-wire power metering device, the miswiring is performed in such a way that the voltage phase sequence is Ua, uc, ub and the current phase sequence is Ia, ib, ic, and Ia is connected in reverse, and the following steps are performed:
the expression of the measured active power at this time is as follows:
praise = Ua la cos (180 ° + Φ a) + Uc lb cos (120 ° + Φ b) + Ub Ic cos (120 ° + Φ c)
The expression of active power when metering correctly is as follows:
p + la + lb + Ic + cos Φ c
If a three-phase load balance needs to be assumed by using a conventional static correction coefficient algorithm, U = Ua = Ub = Uc, I = Ia = Ib = Ic, cos Φ = cos Φ a = cos Φ b = cos Φ c, then P error = -2UIcos Φ, P positive =3UIcos Φ, and thus the static correction coefficient K = P positive/P error = -3/2, the power amount is calculated as a negative number by using the method, and the error value is relatively large, so that the calculation of the chasing compensation power amount by using the conventional static correction coefficient algorithm results in a recorded result. The invention is based on a digital twin system, historical operation load data when the electric energy metering device is in wrong wiring is collected, actual power load data is restored according to the wrong wiring type, the actual power load of a user when the electric energy metering device is normally connected is mapped according to the data, then the electric energy in the whole wrong wiring period of the electric energy metering device is calculated in an accumulating mode according to an electric energy method, compared with the actual power consumption Es =541.88kWh of the normal wiring of the electric energy meter in an experiment, the error is 100 (Ej-Es)/Es = -1.50%, the electric energy reliability calculated in the accumulating mode after mapping is very large based on the historical operation data of the electric energy metering device, and the electric energy tracing and compensation electric quantity calculation method is suitable for calculating the electric energy metering device during faults.
Further, for the three-phase four-wire electric energy metering device, the actual phase angles phi a, phi B and phi C of the phases A, B and C under each wrong wiring can be calculated according to the expression (2-C1), and the actual electricity consumption during the wrong wiring can be calculated through a twin digital model. Calculating the electric quantity data and errors thereof in the wrong wiring period by an active power and reactive power data algorithm and an algorithm of voltage, current and power factor, and according to the following table:
Figure BDA0003849611500000251
Figure BDA0003849611500000261
Figure BDA0003849611500000271
TABLE 1
Table 1, the P statistics and P errors represent electric quantity data and errors thereof obtained by a processing method of active power and reactive power, and the UI Φ statistics and UI Φ errors represent electric quantity data and errors thereof obtained by a processing method of voltage, current, and power cause.
The statistical analysis of the table 1 can be used for obtaining that different data processing methods can be selected for calculating the backoff electric quantity according to the set time length threshold, so that the calculation result is supported by data, the error is small, and the reliability is high.
In another embodiment of the method of the invention, the power metering device is a three-phase three-wire power metering device, the faulty connections are voltage connections Ub, ua, uc and current connections Ia, ic, and the following are provided:
the expression for the power measured at this time is:
ptase = Uba la cos (150 ° + Φ a) + Uca Ic cos (30 ° + Φ c)
The power expression when correctly metered is:
pin = Uab Ia cos (30 ° + Φ a) + Ucb Ic cos (30 ° + Φ c)
If a traditional static correction coefficient algorithm is used and three-phase load balance needs to be assumed, uba = Uca, ia = Ic, cos Φ = cos Φ a = cos Φ c, P error =0, P positive = √ 3UIcos Φ is calculated according to the formula, while the conventional electronic energy metering device does not meter the positive active energy in the wrong wiring state, and obviously the traditional static correction coefficient algorithm cannot be used for calculating the energy required to be backed up. The digital twin system provided by the invention is used for simulating the operation state of the electric energy metering device under normal wiring by acquiring historical operation data of the electric energy metering device during the fault period and reducing the actual power consumption condition of a user according to the fault type, accumulating and calculating the actual electric quantity during the wrong wiring period (the specific calculation process is shown in the following embodiment) to be Ej =7.4117kWh, the actual power consumption of the normal wiring period is =7.476kWh, and the error is 100 (Ej-Es)/Es = -0.86%, so that the digital twin system is also suitable for calculating the wrong wiring tracing, withdrawing and supplementing electric quantity of the three-phase three-wire.
Further, for the three-phase three-wire electric energy metering device, the actual phase angle of each phase under each wrong wiring is calculated according to the expression (2-C2), then the actual electric energy of each recording time interval is obtained through the twin digital model, and the actual electric quantity during the wrong wiring is automatically accumulated and calculated. Specifically, the date of the test data is from 5 months 1 day of 2022 to 6 months 1 day of 2022, the electric meter in the period is in a word of 7.476kWh, various metering results of wrong wiring states are compared with the value, and electric quantity data and errors of the wrong wiring periods are calculated by using an active power and reactive power data algorithm and a voltage, current and power factor algorithm, as shown in the following table:
Figure BDA0003849611500000281
Figure BDA0003849611500000291
TABLE 2
In table 2, the statistics of P and the errors of P indicate the electric quantity data obtained by the data processing method for the active power and the reactive power and the errors thereof, and the statistics of UI Φ and the errors of UI Φ indicate the electric quantity data obtained by the data processing method for the collected voltage, current, and power factors and the errors thereof.
The statistical analysis of the table 2 shows that the electric quantity for back compensation calculated by the method of the present invention has high reliability, and meanwhile, the method of the present invention is suitable for the electric quantity back compensation metering of three-phase three-wire wrong wiring.
The method of the present invention is described as an embodiment, and the voltage loss fault condition of the electric energy metering device with a voltage loss of phase a and normal metering of phase B and phase C is calculated according to the method and the collected data, the method calculates the power consumption of phase a as Ea =316.2kWh, calculates the power consumption as Ej =960.1kWh by adding the power consumption of the electric meter with the character-moving, compares with the electric energy metering device with normal metering, the actual normal metering power consumption Es =949.26kWh, the error is 100 × (Ej-Es)/Es =1.15%, is very close to the original data, and has smaller error compared with the original direct theoretical static correction coefficient algorithm, and has more reliable use value.
The invention is suitable for the error wiring of the three-phase four-wire, is also suitable for the electric quantity tracing back and supplementing method of the error wiring of other three-phase four-wire which does not mention the error wiring, is also suitable for various error wiring of the three-phase three-wire and the electric quantity tracing back and supplementing method of reactive power overcompensation, is also suitable for the metering misalignment faults of voltage loss and current loss of the three-phase four-wire and the three-phase three-wire, has very general applicability, and can be applied to the electric quantity tracing back and supplementing of various metering misalignment faults of an electric energy metering device in the actual work.
According to the invention, according to the power consumption payment habits of a power supply department and a user, a digital twin system can calculate the real active power Pz (actual power factor) and the recorded active power Px (recorded power factor) according to the starting and stopping time of electric quantity follow-up and compensation and the time period of electric quantity need to be follow-up and compensated every month, calculate the dynamic correction coefficient K = Pz/Px of the time period of electric quantity need to be follow-up and compensated every month, and calculate the electric quantity need to be follow-up and compensated every month according to the electric quantity follow-up and compensation = (correct electric quantity-recorded electric quantity) = recorded electric quantity x (dynamic correction coefficient-1), so that the power supply department and the user can conveniently carry out follow-up and compensation on the electric quantity needing to be follow-up and compensated every month. Meanwhile, as the electric power company carries out step electricity price charging, and the charge rates of the electricity charges charged by the electricity loads in different time periods are different, the digital twin system also divides data according to the input time periods such as the peak, the flat, the valley and the peak of the electric energy metering device, and automatically calculates the electric quantity to be subjected to tracing back and compensation in each time period such as the peak, the flat, the valley and the peak during the inaccurate metering period of the electric energy metering device according to the method, thereby realizing the purpose of improving the accuracy of tracing back and compensating the electric quantity, being more convenient for a power supply bureau and a user to check the electricity consumption condition of each month, providing more detailed electricity data information for both power supply parties and the power consumption parties, and ensuring that the work progress of tracing back and compensating the electric quantity is smoother.
The embodiment of the invention relates to an electric quantity tracing-back and supplementing data processing method and system based on digital twinning, wherein a digital twinning system of a digital mirror image electric energy metering device of the electric energy metering device is constructed by fully considering key information such as primary side intelligent circuit breaker switch data, historical operating data of the metering device, operating parameters, operation records (fault time) of opening a meter cover, fault characteristics and the like, a virtual mirror image electric energy metering device with the same accuracy grade as that of a real object electric energy metering device is restored, real operating data is traced back when the electric energy metering device measures the electric energy in a misaligned state, automatic accurate calculation of tracing-back and supplementing electric quantity based on a digital twinning technology is realized, under the condition that a mutual inductor does not have a fault problem, the tracing-back and supplementing electric quantity metering accuracy can reach 2 times of the electric energy metering device accuracy, namely the 0.2S-level meter does not exceed + -0.4%, the 0.5-level meter does not exceed + -1%, and the error of a resident meter is within + -2%, the aim of accurately calculating the tracing-back and supplementing electric quantity after the misalignment is realized, the fair trade of electric energy users and the enterprise and the benefit-back and supplementing data of the enterprise are guaranteed, and the blank settlement method without the working data is filled up according to the standard.
It should be recognized that the method steps in embodiments of the present invention may be embodied or carried out by computer hardware, a combination of hardware and software, or by computer instructions stored in a non-transitory computer readable memory. The method may use standard programming techniques. Each program may be implemented in a high level procedural or object oriented programming language to communicate with a computer system. However, the program(s) can be implemented in assembly or machine language, if desired. In any case, the language may be a compiled or interpreted language. Furthermore, the program can be run on a programmed application specific integrated circuit for this purpose.
Further, the operations of processes described herein can be performed in any suitable order unless otherwise indicated herein or otherwise clearly contradicted by context. The processes described herein (or variations and/or combinations thereof) may be performed under the control of one or more computer systems configured with executable instructions, and may be implemented as code (e.g., executable instructions, one or more computer programs, or one or more applications) collectively executed on one or more processors, by hardware, or combinations thereof. The computer program includes a plurality of instructions executable by one or more processors.
Further, the method may be implemented in any type of computing platform operatively connected to a suitable connection, including but not limited to a personal computer, mini computer, mainframe, workstation, networked or distributed computing environment, separate or integrated computer platform, or in communication with a charged particle tool or other imaging device, or the like. Aspects of the invention may be implemented in machine-readable code stored on a non-transitory storage medium or device, whether removable or integrated onto a computing platform, such as a hard disk, optically read and/or write storage media, RS1M, ROM, etc., so that it may be read by a programmable computer, which when read by the computer may be used to configure and operate the computer to perform the procedures described herein. Further, the machine-readable code, or portions thereof, may be transmitted over a wired or wireless network. The invention described herein includes these and other different types of non-transitory computer-readable storage media when such media include instructions or programs that implement the steps described above in conjunction with a microprocessor or other data processor. The invention may also include the computer itself when programmed according to the methods and techniques described herein.
A computer program can be applied to input data to perform the functions described herein to transform the input data to generate output data that is stored to non-volatile memory. The output information may 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 particular visual depictions of physical and tangible objects produced on a display.
The present invention is not limited to the above embodiments, and any modifications, equivalent substitutions, improvements, etc. within the spirit and principle of the present invention should be included in the protection scope of the present invention as long as the technical effects of the present invention are achieved by the same means. The invention is capable of other modifications and variations in its technical solution and/or its implementation, within the scope of protection of the invention.

Claims (10)

1. A digital twin-based electric quantity tracing back and supplementing processing method is applied to an electric energy metering device and is characterized in that:
s100, determining an electric quantity tracing-back compensation measurement time interval, a starting time and an ending time of the electric quantity tracing-back compensation measurement time interval, starting to diagnose the fault type of the electric energy metering device during the fault period from the starting time, and collecting electric load data of each recording time interval;
s200, acquiring actual operation data in each recording time interval according to the power load data correlation data of the fault type and the power load data;
s300, acquiring the actual electric energy of each recording time interval by the digital twin model according to the input electric load data and the actual operation data, and determining the tracing-backing electricity-backing quantity of the electricity tracing-backing measurement time interval.
2. The method of claim 1, wherein the fault types include a loss of voltage fault and a loss of current fault of a three-phase four-wire power metering device, the fault types further including a loss of voltage fault, a loss of current fault, and a reactive overcompensation fault of a three-phase three-wire power metering device; the current loss faults of the three-phase four-wire electric energy metering device comprise a single-phase current loss fault, a two-phase current loss fault and a three-phase current loss fault, and the current loss faults of the three-phase three-wire electric energy metering device comprise a metering element current loss fault and two metering element current loss faults.
3.A digital twin-based electric quantity tracing back and supplementing processing method is applied to a three-phase four-wire electric energy metering device for a voltage loss fault, and is characterized in that:
s150, determining an electric quantity tracing-back compensation measurement time period, a starting time and an ending time of the electric quantity tracing-back compensation measurement time period, diagnosing the fault type of the electric energy metering device during the fault period from the starting time, and collecting electric load data of each recording time interval; the fault type comprises a single-phase voltage loss fault, and the electric load data comprises recording current of a voltage loss phase, recording voltage of two normal phases and recording power factors of the two normal phases;
s250, setting the actual voltage of the voltage-loss phase in the nth recording time interval to be equal to the arithmetic mean value of the recording voltages of the two normal phases; setting an actual power factor of a decompression phase in an nth recording time interval to be equal to an arithmetic average of the recording power factors of two normal phases;
s331, according to the actual voltage U of the voltage-loss phase un Actual power factor cos Φ of the voltage-loss phase un And recording current I of the voltage-loss phase un Obtaining the actual active power of the decompression phase in the nth recording time interval; wherein,
the actual active power P of the decompression phase in the nth recording time interval un The calculation method of (c) is as follows:
P un =U un *I un *cosΦ un
s332, obtaining actual electric energy E of the voltage-loss phase in the nth recording time interval according to the electric quantity tracing-back compensation measuring time interval and the actual active power of the voltage-loss phase un To obtain the actual electric quantity E of the voltage-losing phase in the electric quantity tracing-back compensation measurement time period u (ii) a Wherein,
the actual electric quantity E of the loss-of-voltage phase in the electric quantity tracing-back compensation measurement period u The calculation method of (c) is as follows:
Figure FDA0003849611490000011
wherein t represents the duration of each recording time interval; n represents the nth recording time interval, and the value range of n is (1, k), wherein k represents the total number of the recording time intervals contained between the starting time and the ending time of the electric quantity compensation measurement period;
s333, acquiring actual total electric quantity EZ = E of the voltage loss phase of the electric energy metering device u And acquiring the error electric quantity EX of the voltage loss phase in the electric quantity tracing, withdrawing and supplementing measurement time interval so as to acquire the tracing, withdrawing and supplementing electric quantity E = EZ-EX in the electric quantity tracing, withdrawing and supplementing measurement time interval.
4. A digital twin-based electric quantity tracing back and supplementing processing method is applied to a three-phase four-wire electric energy metering device for a voltage loss fault, and is characterized in that:
s160, determining an electric quantity tracing-back compensation measurement time interval, and a starting time and an ending time of the electric quantity tracing-back compensation measurement time interval, starting to diagnose the fault type of the electric energy metering device during the fault period from the starting time, and collecting electric load data of each recording time interval; the fault type comprises two-phase voltage loss faults, and the electric load data comprises recording currents of two voltage loss phases, recording voltages of normal phases and recording power factors of the normal phases;
s260, setting the actual voltages of the two voltage-loss phases in the nth recording time interval to be equal to the recording voltage of the normal phase; setting actual power factors of two decompression phases in an nth recording time interval to be equal to the recording power factor of a normal phase;
s341, according to the actual voltage U1 of the two voltage-loss phases n 、U2 n The actual power factor cos Φ 1 of the two voltage-loss phases n 、cosΦ2 n And the recording current I1 of the two decompression phases n 、I2 n Obtaining the actual active power of the two decompression phases in the nth recording time interval; wherein,
the actual active power P1 of the two decompression phases in the nth recording time interval n 、P2 n The calculation method of (c) is as follows:
P1 n =U1 n *I1 n *cosΦ1 n
P2 n =U2 n *I2 n *cosΦ2 n
s342, obtaining the actual electric energy E1 of the two voltage-loss phases in the nth recording time interval according to the electric quantity tracing-back compensation measuring time interval and the actual active power of the two voltage-loss phases n 、E2 n To obtain the actual electric quantities E1 and E2 of the two decompression phases in the electric quantity tracing and back-up measurement time period; wherein,
the actual electric quantity E of the voltage-loss phase in the electric quantity compensation measurement period is calculated as follows:
Figure FDA0003849611490000021
Figure FDA0003849611490000022
wherein t represents the duration of each recording time interval; n represents the nth recording time interval, and the value range of n is (1, k), wherein k represents the total number of the recording time intervals contained between the starting time and the ending time of the electric quantity compensation measurement period;
and S343, acquiring the actual total electric quantity EZ = E1+ E2 of the loss-voltage phase of the electric energy metering device, and acquiring the error electric quantity EX of the loss-voltage phase during the electric quantity tracing-back compensation measurement period to acquire the tracing-back compensation electric quantity E = EZ-EX during the electric quantity tracing-back compensation measurement period.
5.A digital twin-based electric quantity tracing back and supplementing processing method is applied to a three-phase three-wire electric energy metering device of a voltage loss fault, and is characterized in that:
s170, determining an electric quantity tracing-back compensation measurement time interval, a starting time and an ending time of the electric quantity tracing-back compensation measurement time interval, starting to diagnose the fault type of the electric energy metering device during the fault period from the starting time and collecting electric load data of each recording time interval; the fault type comprises voltage loss of one metering element of the three-phase three-wire electric energy metering device, and the electric load data comprises a normal metering element, recording current of the voltage loss metering element, recording voltage of the normal metering element and recording power factor of the normal metering element;
s270, setting the actual voltage of the voltage-loss metering element to be equal to the recording voltage of the normal metering element in the nth recording time interval; setting the actual power factor of the voltage-loss metering element in the nth recording time interval to be equal to the recording power factor of the normal metering element;
s351, according to the actual voltage U of the voltage loss measuring element un ', actual power factor cos phi of the voltage loss measuring element un ' and recording current I of two decompression phases un Obtaining the actual active power of the voltage loss metering element in the nth recording time interval; wherein,
said actual active power P of the loss-of-voltage metering element in the nth recording time interval un ' is calculated as follows:
P un ’=U un ’*I un ’*cosΦ un ’,
s352, obtaining the actual electric energy E of the voltage-loss metering element in the nth recording time interval according to the electric quantity tracing-back compensation measuring time interval and the actual active power of the voltage-loss metering element un ' to obtain the actual electric quantity E of the voltage-loss metering element in the electric quantity tracing-back compensation measuring time period u '; wherein,
the actual electric quantity E of the loss-of-voltage phase in the electric quantity tracing-back compensation measurement period u The calculation method of (c) is as follows:
Figure FDA0003849611490000031
wherein t represents the duration of each recording time interval; n represents the nth recording time interval, and the value range of n is (1, k), wherein k represents the total number of the recording time intervals contained between the starting time and the ending time of the electric quantity compensation measurement period;
s353, obtaining the actual voltage loss phase of the electric energy metering deviceTotal inter-cell charge EZ = E u And acquiring the error electric quantity EX of the voltage-losing phase in the electric quantity tracing and back-up measurement time period to acquire the tracing and back-up electric quantity E = EZ-EX in the electric quantity tracing and back-up measurement time period.
6. A digital twin-based electric quantity tracing back and supplementing processing method is applied to a three-phase four-wire electric energy metering device for a current loss fault, and is characterized in that:
s180, determining an electric quantity tracing-back compensation measurement time period, a starting time and an ending time of the electric quantity tracing-back compensation measurement time period, diagnosing the fault type of the electric energy metering device during the fault period from the starting time, and collecting electric load data of each recording time interval; the fault type comprises a single-phase current loss fault, and the electric load data comprises the multiplying power of a current transformer, the recording voltage of a current loss phase, the recording current of a primary side of the current loss phase and the recording power factor of the primary side of the current loss phase;
s280, setting the actual current of the current loss phase user in the nth recording time interval to be equal to the quotient obtained by dividing the recording current of the current loss phase user by the multiplying power of the current transformer; setting the actual power factor of the user side of the current-losing phase to be equal to the actual power factor of the primary side of the current-losing phase in the nth recording time interval;
s361, recording voltage U according to the current loss phase in The actual power factor cos Φ at the user side of the lost phase in And the actual current I on the user side of the current-losing phase in Obtaining the actual active power of the current loss phase in the nth recording time interval; wherein,
the actual active power P of the current-losing phase in the nth recording time interval in The calculation method of (c) is as follows:
P in =U in *I in *cosΦ in
s362, obtaining the actual electric energy E of the current-losing phase in the nth recording time interval according to the electric quantity tracing-back compensation measuring time interval and the actual active power of the current-losing phase in To obtain the actual electric quantity E of the current loss phase in the electric quantity tracing and back-up measurement time period i (ii) a Wherein,
actual electric quantity E of a current-losing phase in an electric quantity tracing-back compensation measurement period i The calculation of (c) is as follows:
Figure FDA0003849611490000041
wherein t represents the duration of each recording time interval; n represents the nth recording time interval, the value range of n is (1, k), wherein k represents the total number of the recording time intervals included between the starting time and the ending time of the electric quantity tracing-back compensation measuring time interval;
s363, acquiring actual total electric quantity EZ = E of the current loss phase of the electric energy metering device i And acquiring the error electric quantity EX of the loss phase at the electric quantity tracing-back compensation measuring time interval so as to acquire the tracing-back compensation electric quantity E = EZ-EX at the electric quantity tracing-back compensation measuring time interval.
7.A digital twin-based electric quantity tracing back and supplementing processing method is applied to a three-phase three-wire electric energy metering device of a current loss fault, and is characterized in that:
s190, determining an electric quantity tracing-back compensation measuring time period, a starting time and an ending time of the electric quantity tracing-back compensation measuring time period, diagnosing a fault type of the electric energy metering device during a fault period from the starting time, and collecting electric load data of each recording time interval; the fault type comprises a metering element current loss fault, and the electric load data comprises current transformer multiplying power, recording voltage of a current loss metering element, recording current of a primary side of the current loss metering element and recording power factor of the primary side of the current loss metering element;
s290, setting the actual current of a user of the current loss metering element in the nth recording time interval to be equal to the quotient obtained by dividing the recording current of the primary current loss metering element by the multiplying power of the current transformer; setting the actual power factor of the user side of the current loss metering element to be equal to the actual power factor of the primary side of the current loss metering element in the nth recording time interval;
s371, recording according to a loss of flow metering elementVoltage U in ', said actual power factor cos phi on the user side of the loss-metering element in ' and the actual current I on the user side of the current loss measuring element in ', obtaining the actual active power of the loss flow metering element in the nth recording time interval; wherein,
the actual active power P of the current loss metering element in the nth recording time interval in ' is calculated as follows:
P in ’=U in ’*I in ’*cosΦ in ’,
s372, according to the electric quantity tracing-back compensation measurement time interval and the actual active power of the current loss measurement element, obtaining the actual electric energy E of the current loss measurement element in the nth recording time interval in ' to obtain the actual electric quantity E of the loss metering element in the electric quantity tracing-back compensation measuring time period i '; wherein,
actual electric quantity E of the loss flow metering element in the electric quantity tracing-back compensation measuring period i The way' is calculated as follows:
Figure FDA0003849611490000051
wherein t represents the duration of each recording time interval; n represents the nth recording time interval, and the value range of n is (1, k), wherein k represents the total number of the recording time intervals contained between the starting time and the ending time of the electric quantity compensation measurement period;
s373, acquiring the actual total electric quantity EZ = E of the current loss phase of the electric energy metering device i And acquiring the error electric quantity EX of the loss phase in the electric quantity tracing and back-up measurement time period to acquire the tracing and back-up electric quantity E = EZ-EX in the electric quantity tracing and back-up measurement time period.
8. A computer readable storage medium having stored thereon program instructions which, when executed by a processor, implement the method of any one of claims 1 to 7.
9. An electric quantity tracing back and supplementing processing system based on digital twins is characterized by comprising:
a computer device comprising the computer-readable storage medium of claim 8.
10. The utility model provides an electric energy metering device electric quantity chases after moves back and mends measuring instrument which characterized in that includes:
a power parameter sampling channel module;
the analog board module comprises an analog circuit and an A/D conversion circuit, and the A/D conversion circuit is connected with the output end of the data sampling channel module through the analog circuit;
the data acquisition metering processor circuit is connected with the output end of the analog board module;
the control processing module is connected with the output end of the data acquisition metering processor circuit; and
the power supply circuit is used for respectively supplying power to the analog board module, the data acquisition metering processor circuit and the control processing module;
the control processing module comprises a touch display, a compensation measuring and calculating module and a meter reading module, wherein the compensation measuring and calculating module and the meter reading module respectively comprise a 232 communication module, a 485 communication module and a carrier communication module, electric power data information stored in the metering device is read in a mode of 232 communication, 485 communication and the carrier communication module, possible fault information of voltage loss, current loss, phase failure and short circuit of the metering device is analyzed and judged, and meanwhile, the faults and the electric quantity compensation value are analyzed and processed by combining electric parameter data of voltage, current and power factors of the metering device collected on site.
CN202211127710.1A 2022-09-16 2022-09-16 Method and system for tracing back and supplementing fault electric quantity of electric energy metering device based on digital twin Pending CN115469262A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211127710.1A CN115469262A (en) 2022-09-16 2022-09-16 Method and system for tracing back and supplementing fault electric quantity of electric energy metering device based on digital twin

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211127710.1A CN115469262A (en) 2022-09-16 2022-09-16 Method and system for tracing back and supplementing fault electric quantity of electric energy metering device based on digital twin

Publications (1)

Publication Number Publication Date
CN115469262A true CN115469262A (en) 2022-12-13

Family

ID=84332633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211127710.1A Pending CN115469262A (en) 2022-09-16 2022-09-16 Method and system for tracing back and supplementing fault electric quantity of electric energy metering device based on digital twin

Country Status (1)

Country Link
CN (1) CN115469262A (en)

Similar Documents

Publication Publication Date Title
CN104134999B (en) Distribution network based on multi-data source measures the practical method of calculation of efficiency analysis
Melo et al. Frequency and duration calculations in composite generation and transmission reliability evaluation
CN109541300A (en) A kind of the Analysis of energy metering instrument and its application method of count by time sharing
CN106655152B (en) A kind of State Estimation for Distribution Network measuring characteristic based on AMI
Roukerd et al. Uncertainty-based unit commitment and construction in the presence of fast ramp units and energy storages as flexible resources considering enigmatic demand elasticity
CN111721988B (en) Measuring device electricity quantity compensation measuring and calculating instrument and method
CN113406555A (en) Electric quantity metering error monitoring method of alternating current charging station and charging station
CN109541520B (en) Phase-splitting calculation method for fault error electric quantity of electric energy metering device
CN206470388U (en) The apparatus for evaluating of metering performance under dynamic load
CN107843870B (en) Method and system for detecting correctness of metering load curve of electric meter
CN116430298A (en) Electric quantity metering monitoring and supplementing method and system based on digital twin model
Yang et al. Probabilistic revenue analysis of microgrid considering source-load and forecast uncertainties
CN115469262A (en) Method and system for tracing back and supplementing fault electric quantity of electric energy metering device based on digital twin
CN115421095A (en) Electric energy tracing back and supplementing processing method and system of electric energy metering device based on digital twins
CN115575884B (en) Method for aligning charging quantity of charging piles in charging station and calculating metering error
Monsef et al. Transmission cost allocation based on use of reliability margin under contingency conditions
Lu et al. Improved DC power flow method based on empirical knowledge of the system
CN112505613B (en) Method and system for estimating fault loss electric quantity of high-voltage supply and high-voltage metering full-voltage loss metering
Klusacek et al. Performance of Smart Revenue Meters under Bidirectional Active Energy Flows in Energy Communities
CN114167108A (en) Electric energy meter phasor diagram drawing method, system, device and storage medium
See et al. Report on real-time grid analysis pilots
CN109327026B (en) Low-voltage distribution network interval state estimation method
CN112581024A (en) Calculation method for power grid engineering initiatable integration bidding limit price
LU503885B1 (en) A medium and long-term power market transaction strategy determination method and device for energy storage power station
Chen et al. Reasearch on error identification of theoretical and statistical line losses

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination