CN113125851B - Power consumption statistical method, device, equipment and storage medium - Google Patents

Power consumption statistical method, device, equipment and storage medium Download PDF

Info

Publication number
CN113125851B
CN113125851B CN202110428932.6A CN202110428932A CN113125851B CN 113125851 B CN113125851 B CN 113125851B CN 202110428932 A CN202110428932 A CN 202110428932A CN 113125851 B CN113125851 B CN 113125851B
Authority
CN
China
Prior art keywords
power
electric energy
energy data
data
abnormal
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.)
Active
Application number
CN202110428932.6A
Other languages
Chinese (zh)
Other versions
CN113125851A (en
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.)
Meizhou Power Supply Bureau of Guangdong Power Grid Co Ltd
Original Assignee
Meizhou Power Supply Bureau of Guangdong Power Grid Co Ltd
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 Meizhou Power Supply Bureau of Guangdong Power Grid Co Ltd filed Critical Meizhou Power Supply Bureau of Guangdong Power Grid Co Ltd
Priority to CN202110428932.6A priority Critical patent/CN113125851B/en
Publication of CN113125851A publication Critical patent/CN113125851A/en
Application granted granted Critical
Publication of CN113125851B publication Critical patent/CN113125851B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R22/00Arrangements for measuring time integral of electric power or current, e.g. electricity meters
    • G01R22/06Arrangements for measuring time integral of electric power or current, e.g. electricity meters by electronic methods
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Abstract

The invention discloses a method, a device, equipment and a storage medium for power consumption statistics, wherein the method comprises the following steps: acquiring original electric energy data for metering the electricity consumption of an electricity consumer; determining electric energy data with abnormal numerical value fluctuation in comparison with preset reference electric energy data in the original electric energy data as abnormal electric energy data; inquiring the number of power consumers using the same metering equipment to represent the types of the power consumers; calculating a power difference between the abnormal power data and the reference power data based on the type; and carrying out exception processing on the electricity consumption of the electricity consumer according to the electricity quantity difference. According to the scheme, the data of the electric quantity metering is checked aiming at different electric quantity types, the data disorder in the electric quantity counting process can be avoided, the electric quantity difference corresponding to different electric quantity types is calculated, the electric quantity difference is used for automatically correcting the electric quantity data of the electric quantity users, the metering fault can be timely recovered, and the manpower and material resource costs in the electric quantity data counting process are saved.

Description

Power consumption statistical method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to an electric quantity statistical technology, in particular to a method, a device, equipment and a storage medium for power consumption statistics.
Background
With the rapid development of society, the demand of society for electric power is more and more strong, electric energy is used as a commodity, the trade of the commodity needs to be quantified, and the quantification of the electric energy needs to use a metering device.
In the process of measuring the electric energy, the measuring equipment may have a fault, which causes inaccurate electric energy measurement, and also may cause a small amount of electric energy or a large amount of electric energy to be measured due to negligence of operation and maintenance personnel in the process of operating and maintaining the measuring equipment, which causes disorder of electric energy data counted in a measuring system associated with the measuring equipment in a transformer substation, so that the actual electricity consumption of a power consumer is not accurately counted, and the manpower and material resources cost of electric energy measurement is increased.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a storage medium for power consumption statistics, which aim to solve the problem of measurement cost increase caused by wrong power consumption statistics.
In a first aspect, an embodiment of the present invention provides a power consumption statistical method, where the method includes:
acquiring original electric energy data for metering the electricity consumption of an electricity consumer;
determining electric energy data with abnormal numerical fluctuation compared with preset reference electric energy data in the original electric energy data as abnormal electric energy data;
inquiring the number of power consumers using the same metering equipment to represent the types of the power consumers;
calculating a power difference between the abnormal power data and the reference power data based on the type;
and carrying out exception processing on the electricity consumption of the electricity consumer according to the electricity quantity difference.
Optionally, the determining that there is electric energy data with abnormal numerical fluctuation in the original electric energy data compared with preset reference electric energy data as abnormal electric energy data includes:
acquiring electric energy data distributed to the power consumer as preset reference electric energy data;
determining the reference electric energy data with the same acquisition period as the original electric energy data as target reference electric energy data;
fitting the target reference electric energy data to obtain a first electric energy curve;
fitting the original electric energy data to obtain a second electric energy curve;
and comparing the first electric energy curve with the second electric energy curve, and determining that electric energy data with abnormal numerical fluctuation exists in the second electric energy curve as abnormal electric energy data.
Optionally, the types include a single-user type and a multi-user type; the electric quantity difference comprises a single electric quantity difference and an accumulated electric quantity difference;
the calculating of the electric energy difference between the abnormal electric energy data and the reference electric energy data based on the type includes:
when the type is the single-user type, calculating the single-body electric quantity difference based on the power comparison between the abnormal electric energy data and the reference electric energy data;
when the type is the multi-user type, the accumulated electric quantity difference is calculated based on a fitting function of positive and negative powers in the reference electric energy data and a time period determined by the abnormal electric energy data.
Optionally, the calculating the cell electric quantity difference based on the power comparison between the abnormal electric energy data and the reference electric energy data includes:
determining the power of the abnormal electric energy data as abnormal wiring power;
determining the power of the reference electric energy data as a correct wiring power;
calculating a ratio between the correct wiring power and the abnormal wiring power;
calculating a difference between the ratio and 1;
determining actual consumed electric quantity corresponding to the correct wiring power;
and taking the product of the difference value and the actual consumed electric quantity as the monomer electric quantity difference.
Optionally, the calculating the accumulated power difference based on the fitting function of positive and negative powers in the reference power data and the time period determined by the abnormal power data includes:
determining a time period of the abnormal power data;
extracting a plurality of discrete values characterizing power from said reference electrical energy data according to said time period, said power comprising negative power and positive power;
fitting the discrete numerical values according to the positive power and the negative power respectively to obtain a target fitting function;
and integrating the target fitting function in the time period to obtain the accumulated electric quantity difference.
Optionally, the fitting the discrete values according to the positive power and the negative power respectively to obtain a target fitting function includes:
respectively fitting the discrete numerical values representing the positive power and the discrete numerical values representing the negative power, and determining a fitting curve formed by the discrete numerical values;
determining a ring ratio fitting curve and a homonymous fitting curve which are matched with the fitting curve;
and carrying out numerical correction on the fitting curve by utilizing the ring ratio fitting curve and the same ratio fitting curve to obtain a target fitting function.
Optionally, the performing exception processing on the electricity consumption of the electricity consumer according to the electricity consumption difference includes:
when the electric quantity difference is a negative value, returning the electric charge corresponding to the electric quantity difference to the electric user;
and when the electric quantity difference is a positive value, informing the electric user to make up the electric charge corresponding to the electric quantity difference.
In a second aspect, an embodiment of the present invention further provides a device for counting power consumption, where the device includes:
the data acquisition module is used for acquiring original electric energy data for metering the electricity consumption of the electricity consumer;
the abnormal electric energy data determining module is used for determining electric energy data with abnormal numerical fluctuation in comparison with preset reference electric energy data in the original electric energy data as abnormal electric energy data;
the power consumer type determining module is used for inquiring the number of power consumers using the same metering equipment so as to represent the types of the power consumers;
an electric quantity difference calculation module for calculating an electric quantity difference between the abnormal electric energy data and the reference electric energy data based on the type;
and the service processing module is used for carrying out exception processing on the electricity consumption of the electricity consumer according to the electricity quantity difference.
In a third aspect, an embodiment of the present invention further provides a computer device, where the computer device includes:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the power usage statistics method of the first aspect.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the power consumption statistical method according to the first aspect.
The method comprises the steps of acquiring original electric energy data for metering the electricity consumption of an electricity consumer; determining electric energy data with abnormal numerical fluctuation compared with preset reference electric energy data in the original electric energy data as abnormal electric energy data; inquiring the number of power consumers using the same metering equipment to represent the types of the power consumers; calculating a power difference between the abnormal power data and the reference power data based on the type; and carrying out exception processing on the electricity consumption of the electricity consumers according to the electricity quantity difference. According to the scheme, the data of the electric quantity metering is checked aiming at different electric quantity types, the data disorder in the electric quantity counting process can be avoided, the electric quantity difference corresponding to different electric quantity types is calculated, the electric quantity difference is used for automatically correcting the electric quantity data of the electric quantity users, the metering fault can be timely recovered, and the manpower and material resource costs in the electric quantity data counting process are saved.
Drawings
Fig. 1 is a flowchart of a power consumption statistical method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a power consumption statistical apparatus according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a computer device according to a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
It should be noted that: in the description of the embodiments of the present invention, the terms "first," "second," "third," "fourth," "fifth," and the like are used merely to distinguish one element from another, and are not intended to indicate or imply relative importance.
Example one
Fig. 1 is a flowchart of a power consumption statistical method according to an embodiment of the present invention, where the present embodiment is applicable to a situation where a power consumption is counted and a measured power is calibrated in a substation, the method may be executed by a power consumption statistical apparatus, the power consumption statistical apparatus may be implemented by software and/or hardware, and may be configured in a computer device, such as a server, a workstation, a personal computer, and the like, and the method specifically includes the following steps:
and S110, acquiring original electric energy data for metering the electric consumption of the electric consumer.
In this embodiment, the electric energy data that the metering device meters the electricity consumption of the electricity consumer may be directly counted as the original electric energy data, and since the metering device may be generally controlled and managed by a metering automation system in the substation, most of the electric energy data measured by the metering device may be summarized to the metering automation system, the original electric energy data that the electricity consumption of the electricity consumer is metered may also be obtained from the metering automation system of the substation by using a crawler technology. The frequency of acquiring the raw power data may be preset, and generally, the frequency of acquiring the raw power data for measuring the power consumption of the power consumer from the substation is once a day, which is not limited in this embodiment.
And S120, determining electric energy data with abnormal numerical fluctuation in the original electric energy data compared with preset reference electric energy data as abnormal electric energy data.
Because partial electric energy data possibly exists in the original electric energy data acquired by the embodiment and is acquired by metering under the conditions of faults, wrong wiring and the like of the electric energy metering device, the partial electric energy data has abnormal values and needs to be screened from the original electric energy data for independent correction.
Preferably, in the embodiment, the original electric energy data is compared with the preset reference electric energy data, and it may be determined that electric energy data with abnormal numerical fluctuation exists in the original electric energy data compared with the preset reference electric energy data as abnormal electric energy data.
In a specific implementation manner, electric energy data distributed to power consumers can be acquired from an electric power dispatching system of a transformer substation as preset reference electric energy data; determining reference electric energy data with the same acquisition period as the original electric energy data as target reference electric energy data; fitting the target reference electric energy data to obtain a first electric energy curve; fitting the original electric energy data to obtain a second electric energy curve; and comparing the first electric energy curve with the second electric energy curve, and determining that the electric energy data with abnormal numerical fluctuation exists in the second electric energy curve as abnormal electric energy data.
In another specific implementation manner, the acquisition cycle of the original electric energy data may be determined as the tth cycle, that is, the electric energy data in which the transformer substation measures the power consumption of the power consumer in the tth cycle; and taking the electricity consumption statistical data in the T-1 th period, the T-2 nd period and the T-3 rd period obtained from the transformer substation as a plurality of reference electric energy data, wherein the electricity consumption statistical data in the T-1 th period, the electricity consumption statistical data in the T-2 nd period and the electricity consumption statistical data in the T-3 rd period are corrected metering electric quantity data, and performing numerical comparison on the original electric energy data and each reference electric energy data respectively to determine abnormal electric energy data in the original electric energy data.
And S130, inquiring the number of the power consumers using the same metering equipment to represent the types of the power consumers.
In this embodiment, the number of the power consumers using the same metering device may be queried, if the number is greater than a preset threshold, the type of the power consumer may be determined to be a multi-user type, and if the number is less than or equal to the preset threshold, the type of the power consumer may be determined to be a single-user type, and the number of the power consumers connected to the metering device may also be determined based on a circuit connection manner of the metering device, for example, the type of the power consumer connected to the metering device using a high-supply high-count three-phase wire connection method is a single-user type.
And S140, calculating the electric quantity difference between the abnormal electric energy data and the reference electric energy data based on the type.
In this embodiment, the types of the electricity consumers include a single-user type and a multi-user type; and calculating the electric quantity difference between the abnormal electric energy data and the reference electric energy data based on the types of different power consumers, wherein the electric quantity difference comprises a single electric quantity difference and an accumulated electric quantity difference.
In one example, when the type is a single-user type, the cell power difference may be calculated based on a power comparison between the abnormal power data and the reference power data. Specifically, the power of the abnormal electrical energy data may be determined as the abnormal wiring power, for example, the voltage, the current and the phase angle may be read from the abnormal electrical energy data, and the product of the voltage, the current and the phase angle may be calculated to obtain the abnormal wiring power; determining the power of the reference electric energy data as correct wiring power; calculating the ratio of the correct wiring power to the abnormal wiring power; calculating the difference between the ratio and 1; determining actual consumed electric quantity corresponding to correct wiring power; and taking the product of the difference value and the actual consumed electric quantity as the monomer electric quantity difference.
In another example, when the type is a multi-user type, the accumulated power difference may be calculated based on a fitting function of positive and negative powers in the reference power data and a time period determined by the abnormal power data. Specifically, determining the time period of abnormal electric energy data; extracting a plurality of discrete values representing power from the reference power data according to a time period, the power including negative power and positive power; fitting the discrete values according to positive power and negative power respectively to obtain a target fitting function; and integrating the target fitting function in a time period to obtain an accumulated electric quantity difference.
Wherein, fitting the discrete values according to the positive power and the negative power respectively to obtain a target fitting function, which specifically includes: respectively fitting the discrete numerical values representing the positive power and the discrete numerical values representing the negative power, and determining a fitting curve formed by the discrete numerical values; determining a ring ratio fitting curve and a homonymy fitting curve matched with the fitting curve, wherein the homonymy fitting curve is the fitting curve obtained by the homonymy electric energy data of the abnormal electric energy data in a discrete fitting mode, and the ring ratio fitting curve is the fitting curve obtained by the homonymy electric energy data of the abnormal electric energy data in the discrete fitting mode; and performing numerical correction on the fitting curve by using the ring ratio fitting curve and the homonymous fitting curve to obtain a target fitting function.
And S150, performing exception processing on the electricity consumption of the electricity consumer according to the electricity consumption difference.
In this embodiment, the abnormal power consumption of the power consumer may be processed according to the power consumption difference, for example, the intelligent analysis may be performed on the power consumption difference data, the type of the fault point or the wrong wiring of the metering device may be determined, the abnormal power consumption of the power consumer may be corrected by using the power consumption difference, and corresponding business operations may be performed, for example, a power quantity compensation notification sheet or a power quantity compensation announcement may be generated.
In an example, the calculated electricity quantity difference may be numerically determined, when the electricity quantity difference is a negative value, it indicates that the correct wiring power is less than the abnormal wiring power, and indicates that the data obtained by metering the electricity consumption of the electricity consumer by the metering device is greater than the actual electricity consumption of the electricity consumer, and the electricity charge corresponding to the electricity quantity difference needs to be returned to the electricity consumer, for example, the electricity charge corresponding to the electricity quantity difference may be returned to the electricity consumer according to a rule of step charging; when the electricity quantity difference is a positive value, it indicates that the correct wiring power is greater than the abnormal wiring power, and the data indicating that the metering equipment meters the electricity consumption of the electricity consumer is less than the actual electricity consumption of the electricity consumer, the electricity consumer is notified to make up the electricity charge corresponding to the electricity quantity difference, for example, the electricity charge which the electricity consumer should make up can be calculated according to the step charging rule.
The method comprises the steps of acquiring original electric energy data for metering the electricity consumption of an electricity consumer; determining electric energy data with abnormal numerical value fluctuation in comparison with preset reference electric energy data in the original electric energy data as abnormal electric energy data; inquiring the number of power consumers using the same metering equipment to represent the types of the power consumers; calculating a power difference between the abnormal power data and the reference power data based on the type; and carrying out exception processing on the electricity consumption of the electricity consumer according to the electricity quantity difference. According to the scheme, the data of the electric quantity metering is checked aiming at different electric quantity types, the data disorder in the electric quantity counting process can be avoided, the electric quantity difference corresponding to different electric quantity types is calculated, the electric quantity difference is used for automatically correcting the electric quantity data of the electric quantity users, the metering fault can be timely recovered, and the manpower and material resource costs in the electric quantity data counting process are saved.
Example two
Fig. 2 is a schematic structural diagram of a power consumption statistics apparatus provided in a second embodiment of the present invention, where the apparatus may specifically include the following modules:
the data acquisition module 201 is configured to acquire original electric energy data for measuring the electricity consumption of the electricity consumer;
an abnormal electric energy data determining module 202, configured to determine, as abnormal electric energy data, electric energy data with abnormal numerical fluctuation in comparison with preset reference electric energy data in the original electric energy data;
the electricity consumer type determining module 203 is used for inquiring the number of electricity consumers using the same metering equipment so as to represent the types of the electricity consumers;
an electric quantity difference calculation module 204, configured to calculate an electric quantity difference between the abnormal electric energy data and the reference electric energy data based on the type;
and the service processing module 205 is configured to perform exception processing on the power consumption of the power consumer according to the power consumption difference.
In an embodiment of the present invention, the abnormal power data determining module 202 includes:
the reference electric energy data acquisition submodule is used for acquiring electric energy data distributed to the power consumer as preset reference electric energy data;
the target reference electric energy data determining submodule is used for determining the reference electric energy data with the same acquisition period as the original electric energy data as target reference electric energy data;
the first electric energy curve fitting submodule is used for fitting the target reference electric energy data to obtain a first electric energy curve;
the second electric energy curve fitting submodule is used for fitting the original electric energy data to obtain a second electric energy curve;
and the abnormal electric energy data determining submodule is used for comparing the first electric energy curve with the second electric energy curve and determining electric energy data with abnormal numerical fluctuation in the second electric energy curve as abnormal electric energy data.
In one embodiment of the invention, the types include a single user type and a multi-user type; the electric quantity difference comprises a single electric quantity difference and an accumulated electric quantity difference; the electric quantity difference calculation module 204 includes:
the single electric quantity difference calculating submodule is used for calculating the single electric quantity difference based on the power comparison between the abnormal electric energy data and the reference electric energy data when the type is the single-user type;
and the accumulated electric quantity difference calculation sub-module is used for calculating the accumulated electric quantity difference based on a fitting function of positive power and negative power in the reference electric energy data and a time period determined by the abnormal electric energy data when the type is the multi-user type.
In an embodiment of the present invention, the monomer electric quantity difference calculation submodule includes:
an abnormal wiring power determining unit for determining the power of the abnormal electric energy data as an abnormal wiring power;
a correct wiring power determining unit for determining the power of the reference electric energy data as a correct wiring power;
a ratio calculation unit for calculating a ratio between the correct wiring power and the abnormal wiring power;
a difference calculation unit for calculating a difference between the ratio and 1;
an actual power consumption determination unit for determining an actual power consumption corresponding to the correct wiring power;
a cell electric quantity difference determination unit configured to take a product between the difference value and the actual consumed electric quantity as the cell electric quantity difference.
In one embodiment of the present invention, the accumulated electric charge difference calculation sub-module includes:
the time period determining unit is used for determining the time period of the abnormal electric energy data;
a discrete value extracting unit, configured to extract a plurality of discrete values representing power from the reference electrical energy data according to the time period, where the power includes negative power and positive power;
the fitting unit is used for fitting the discrete numerical values according to the positive power and the negative power respectively to obtain a target fitting function;
and the accumulated electric quantity difference determining unit is used for integrating the target fitting function in the time period to obtain the accumulated electric quantity difference.
In one embodiment of the present invention, the fitting unit includes:
a first fitting curve determining subunit, configured to respectively fit the discrete values representing the positive power and the discrete values representing the negative power, and determine a fitting curve formed by the discrete values;
the second fitted curve determining subunit is used for determining a ring ratio fitted curve and a homonymous fitted curve which are matched with the fitted curve;
and the target fitting function determining subunit is used for performing numerical correction on the fitting curve by using the ring ratio fitting curve and the same ratio fitting curve to obtain a target fitting function.
In an embodiment of the present invention, the service processing module 205 includes:
the first business operation submodule is used for returning the electric charge corresponding to the electric quantity difference to the electric user when the electric quantity difference is a negative value;
and the second business operation submodule is used for informing the power consumer to make up the electric charge corresponding to the electric quantity difference when the electric quantity difference is a positive value.
The power consumption statistical device provided by the embodiment of the invention can execute the power consumption statistical method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a computer device according to a third embodiment of the present invention. FIG. 3 illustrates a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention. The computer device 12 shown in FIG. 3 is only an example and should not impose any limitation on the scope of use or functionality of embodiments of the present invention.
As shown in FIG. 3, computer device 12 is in the form of a general purpose computing device. The components of computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. Computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 3, and commonly referred to as a "hard drive"). Although not shown in FIG. 3, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with computer device 12, and/or with any devices (e.g., network card, modem, etc.) that enable computer device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, computer device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via network adapter 20. As shown, network adapter 20 communicates with the other modules of computer device 12 via bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing, such as implementing electricity usage statistics provided by embodiments of the present invention, by executing programs stored in the system memory 28.
Example four
A fourth embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method for counting power consumption is implemented as in any one of the above embodiments.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (9)

1. A power consumption statistical method is characterized by comprising the following steps:
acquiring original electric energy data for metering the electricity consumption of an electricity consumer;
determining electric energy data with abnormal numerical value fluctuation in comparison with preset reference electric energy data in the original electric energy data as abnormal electric energy data;
inquiring the number of power consumers using the same metering equipment to represent the types of the power consumers;
calculating a power difference between the abnormal power data and the reference power data based on the type;
the calculating of the electric energy difference between the abnormal electric energy data and the reference electric energy data based on the type includes:
when the type is a multi-user type, calculating an accumulated electric quantity difference based on a fitting function of positive and negative power in the reference electric energy data and a time period determined by the abnormal electric energy data;
said calculating said accumulated power difference based on a fitted function of positive and negative power in said reference power data and a time period determined from said abnormal power data, comprising:
determining a time period of the abnormal power data;
extracting a plurality of discrete values characterizing power from said reference electrical energy data according to said time period, said power comprising negative power and positive power;
fitting the discrete numerical values according to the positive power and the negative power respectively to obtain a target fitting function;
the fitting the discrete values according to the positive power and the negative power respectively to obtain a target fitting function includes:
respectively fitting the discrete numerical values representing the positive power and the discrete numerical values representing the negative power, and determining a fitting curve formed by the discrete numerical values;
determining a ring ratio fitting curve and a homonymous fitting curve which are matched with the fitting curve;
carrying out numerical correction on the fitted curve by using the ring ratio fitted curve and the same ratio fitted curve to obtain a target fitted function;
the ring ratio fitting curve is a fitting curve obtained by the ring ratio electric energy data of the abnormal electric energy data in a discrete fitting mode;
and carrying out exception processing on the electricity consumption of the electricity consumer according to the electricity quantity difference.
2. The method of claim 1, wherein the determining, as abnormal power data, power data having abnormal fluctuation in value compared with preset reference power data in the raw power data comprises:
acquiring electric energy data distributed to the power consumer as preset reference electric energy data;
determining the reference electric energy data with the same acquisition period as the original electric energy data as target reference electric energy data;
fitting the target reference electric energy data to obtain a first electric energy curve;
fitting the original electric energy data to obtain a second electric energy curve;
and comparing the first electric energy curve with the second electric energy curve, and determining that electric energy data with abnormal numerical fluctuation exists in the second electric energy curve as abnormal electric energy data.
3. The method of claim 1 or 2, wherein the types include a single user type and a multi-user type; the electric quantity difference comprises a single electric quantity difference and an accumulated electric quantity difference;
the calculating of the electric energy difference between the abnormal electric energy data and the reference electric energy data based on the type includes:
when the type is the single-user type, calculating the cell electricity quantity difference based on power comparison between the abnormal electricity energy data and the reference electricity energy data.
4. The method of claim 3, wherein said calculating the cell energy difference based on a power comparison between the abnormal electrical energy data and the reference electrical energy data comprises:
determining the power of the abnormal electric energy data as abnormal wiring power;
determining the power of the reference electric energy data as a correct wiring power;
calculating a ratio between the correct wiring power and the abnormal wiring power;
calculating a difference between the ratio and 1;
determining actual consumed electric quantity corresponding to the correct wiring power;
and taking the product of the difference value and the actual consumed electric quantity as the monomer electric quantity difference.
5. The method of claim 3, wherein calculating the accumulated energy difference based on the fitted function of positive and negative power in the reference electrical energy data and the time period determined by the abnormal electrical energy data comprises:
and integrating the target fitting function in the time period to obtain the accumulated electric quantity difference.
6. The method of claim 1, 2, 4 or 5, wherein the exception handling of the power usage of the power consumer according to the power difference comprises:
when the electric quantity difference is a negative value, returning the electric charge corresponding to the electric quantity difference to the electric user;
and when the electric quantity difference is a positive value, informing the electric user to make up the electric charge corresponding to the electric quantity difference.
7. A power consumption statistic device, comprising:
the data acquisition module is used for acquiring original electric energy data for metering the electricity consumption of the electricity consumer;
the abnormal electric energy data determining module is used for determining electric energy data with abnormal numerical fluctuation in comparison with preset reference electric energy data in the original electric energy data as abnormal electric energy data;
the power consumer type determining module is used for inquiring the number of power consumers using the same metering equipment so as to represent the types of the power consumers; an electric quantity difference calculation module for calculating an electric quantity difference between the abnormal electric energy data and the reference electric energy data based on the type;
an accumulated electric quantity difference calculation sub-module for calculating the accumulated electric quantity difference based on a fitting function of positive and negative powers in the reference electric energy data and a time period determined by the abnormal electric energy data when the type is a multi-user type;
the accumulated electric quantity difference calculation submodule includes:
the time period determining unit is used for determining the time period of the abnormal electric energy data;
a discrete value extracting unit, configured to extract a plurality of discrete values representing power from the reference electrical energy data according to the time period, where the power includes negative power and positive power;
the fitting unit is used for fitting the discrete numerical values according to the positive power and the negative power respectively to obtain a target fitting function;
the fitting unit includes:
a first fitting curve determining subunit, configured to respectively fit the discrete values representing the positive power and the discrete values representing the negative power, and determine a fitting curve formed by the discrete values;
the second fitted curve determining subunit is used for determining a ring ratio fitted curve and a homonymous fitted curve which are matched with the fitted curve;
the target fitting function determining subunit is used for performing numerical correction on the fitting curve by using the ring ratio fitting curve and the same ratio fitting curve to obtain a target fitting function;
the ring ratio fitting curve is a fitting curve obtained by the ring ratio electric energy data of the abnormal electric energy data in a discrete fitting mode;
and the service processing module is used for carrying out exception processing on the electricity consumption of the electricity consumer according to the electricity quantity difference.
8. A computer device, characterized in that the computer device comprises:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the power usage statistics method of any of claims 1-6.
9. A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the power usage statistics method according to any one of claims 1-6.
CN202110428932.6A 2021-04-21 2021-04-21 Power consumption statistical method, device, equipment and storage medium Active CN113125851B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110428932.6A CN113125851B (en) 2021-04-21 2021-04-21 Power consumption statistical method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110428932.6A CN113125851B (en) 2021-04-21 2021-04-21 Power consumption statistical method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113125851A CN113125851A (en) 2021-07-16
CN113125851B true CN113125851B (en) 2022-09-30

Family

ID=76778506

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110428932.6A Active CN113125851B (en) 2021-04-21 2021-04-21 Power consumption statistical method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113125851B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114021746A (en) * 2021-10-25 2022-02-08 天纳能源科技(上海)有限公司 Virtual metering method, virtual metering appliance, and computer-readable storage medium
CN114114135A (en) * 2021-11-29 2022-03-01 广西电网有限责任公司 Power curve reduction integral-based wrong wiring electric quantity compensation calculation method
CN114325088B (en) * 2021-12-10 2023-09-05 国网湖南省电力有限公司 Automatic measuring and calculating system and method for electric quantity during metering fault period
CN115436699B (en) * 2022-11-07 2023-01-24 北京志翔科技股份有限公司 Method and device for detecting electricity utilization abnormity and electronic equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7305310B2 (en) * 2004-10-18 2007-12-04 Electro Industries/Gauge Tech. System and method for compensating for potential and current transformers in energy meters
CN106651344A (en) * 2016-11-04 2017-05-10 国网湖南省电力公司 Basic electricity fee error detection method and system based on power grid charging system
CN107290708B (en) * 2017-08-16 2019-09-06 广东电网有限责任公司揭阳供电局 A kind of electric energy meter exception Check System and implementation method
CN108594162A (en) * 2018-07-16 2018-09-28 广东电网有限责任公司 Electric energy meter abnormality detecting apparatus and detecting system
CN111191878A (en) * 2019-12-10 2020-05-22 国网天津市电力公司电力科学研究院 Abnormal analysis based station area and electric energy meter state evaluation method and system
CN111310120B (en) * 2020-02-14 2023-01-17 广东电网有限责任公司 Abnormal electricity utilization user identification method, device, terminal and medium based on big data
CN111948597A (en) * 2020-08-24 2020-11-17 国网四川省电力公司电力科学研究院 Electric energy error back-compensation electric energy calculation method based on load curve sectional statistical analysis

Also Published As

Publication number Publication date
CN113125851A (en) 2021-07-16

Similar Documents

Publication Publication Date Title
CN113125851B (en) Power consumption statistical method, device, equipment and storage medium
CN103443646B (en) Intelligent electronic device and calibration steps thereof and apparatus of electrical monitoring equipment
CN110930034B (en) Electric power spot market settlement metering data verification method, device and medium
CN108198408B (en) Self-adaptive anti-electricity-stealing monitoring method and system based on electricity information acquisition system
CN113077359B (en) Line loss abnormity investigation method, device, equipment and storage medium
CN111198891A (en) Data source fusion method, electronic device and non-transitory computer readable storage medium
KR102269887B1 (en) Power meter reading device and reading method thereof
CN113376564B (en) Smart electric meter metering correction method and device based on data analysis and terminal
CN115878418A (en) Power consumption monitoring method, device, equipment and storage medium
CN114781903A (en) Battery replacement place load determination method and device, electronic equipment and storage medium
CN115587287B (en) Hidden danger troubleshooting method and device for electric energy meter and electric energy meter
CN111523083A (en) Method and device for determining power load declaration data
CN110932328A (en) Micro-grid energy management system and method based on AMBTC algorithm
CN111177131A (en) Electricity consumption data detection method and device, computer equipment and storage medium
CN117131353B (en) Method and device for determining out-of-tolerance electric energy meter, electronic equipment and storage medium
CN111143776B (en) Electric quantity load prediction method and device
CN112418585B (en) Method and device for calculating effective charging time of charging pile, storage medium and equipment
CN114545067A (en) Method and device for analyzing line loss of power consumption line, electronic equipment and storage medium
CN113268388A (en) Fault detection method and device of energy storage system, electronic equipment and storage medium
CN113722101A (en) Method, device and equipment for determining computing resources of financial system
CN117786568A (en) Basic electricity charge abnormity detection method, device, equipment and storage medium
CN116069815A (en) Method, device, equipment and storage medium for determining abnormal electricity utilization user
CN114926006A (en) Battery replacement place mileage load determination method and device, electronic equipment and storage medium
CN117114724A (en) Income calculation method and device for power station, storage medium and computer equipment
CN115580523A (en) Fault processing method and device for modular electric energy meter and electric energy meter

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
GR01 Patent grant
GR01 Patent grant