CN110244096B - Method for automatically discovering and processing electric meter full code in electric energy metering system - Google Patents

Method for automatically discovering and processing electric meter full code in electric energy metering system Download PDF

Info

Publication number
CN110244096B
CN110244096B CN201910534555.7A CN201910534555A CN110244096B CN 110244096 B CN110244096 B CN 110244096B CN 201910534555 A CN201910534555 A CN 201910534555A CN 110244096 B CN110244096 B CN 110244096B
Authority
CN
China
Prior art keywords
code
time
electric
full code
electric meter
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
CN201910534555.7A
Other languages
Chinese (zh)
Other versions
CN110244096A (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.)
Nari Technology Co Ltd
NARI Nanjing Control System Co Ltd
Original Assignee
Nari Technology Co Ltd
NARI Nanjing Control System 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 Nari Technology Co Ltd, NARI Nanjing Control System Co Ltd filed Critical Nari Technology Co Ltd
Priority to CN201910534555.7A priority Critical patent/CN110244096B/en
Publication of CN110244096A publication Critical patent/CN110244096A/en
Application granted granted Critical
Publication of CN110244096B publication Critical patent/CN110244096B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R11/00Electromechanical arrangements for measuring time integral of electric power or current, e.g. of consumption
    • G01R11/02Constructional details
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass
    • G01R35/005Calibrating; Standards or reference devices, e.g. voltage or resistance standards, "golden" references
    • 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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method for automatically discovering and processing the full code of an electric meter in an electric energy metering system, which automatically verifies real-time-sharing bottom code data on line, avoids secondary data verification processing after data storage, reduces the dependence on a database, changes a data interaction processing mode taking external storage as a center, improves the real-time property of the discovery of the full code event of the electric meter and the accuracy of the automatic processing result of the data, and provides guarantee for the correctness of various electric quantity data statistics, and the reliability of various calculation formulas and indexes such as bus balance, line loss, transformer loss and the like.

Description

Method for automatically discovering and processing electric meter full code in electric energy metering system
Technical Field
The invention belongs to the technical field of power system automation, and particularly relates to a method for automatically discovering and processing a full code of an electric meter in an electric energy metering system.
Background
The electric energy metering system is responsible for storing and managing remotely acquired metering data and can analyze and summarize according to a power grid model. The electric energy metering requirement accurately and timely reflects the electric energy activity conditions of upper and lower gateway ports in the power grid, provides data support for systems of electric power market, marketing management and the like, and ensures the development of services such as settlement, assessment, line loss management, balance analysis, profit and loss analysis and the like.
In the electric energy metering system, the acquisition service acquires and stores the electric meter time-sharing base code value frozen on the terminal through a front-end processor, and each application program completes various business functions based on the stored data. The time-sharing electric quantity calculation formula of the electric meter is as follows: (time sharing end bottom code-time sharing initial bottom code) CTPT conversion rate electric meter decimal digit electric meter other coefficients. The statistical service in the electric energy metering system accumulates the time-sharing electric quantity in each integral period to obtain the daily electric quantity in units of days, and then the result value of a calculation formula related to specific services is obtained through the processing of the calculation service. In addition, the time-sharing initial bottom code and the time-sharing final bottom code also directly participate in the calculation of indexes such as bus balance, line loss, transformer loss and the like.
In order to ensure the statistics of various electric quantity data, various calculation formulas, bus balance, line loss and transformer loss are calculated correctly, and the bottom code data of the electric meter must meet the completeness, timeliness and effectiveness. However, during the normal operation of the electric meter, the phenomenon of full code of the electric meter occurs, that is, the number of the electric meter is 99999, and the next value of full code is suddenly changed to 0. Because the acquisition terminal and the meter protocol are not full code events, the state of the full code event is not recorded in the acquired data state. However, once the meter full code occurs, the last bottom code reading is much smaller than the first bottom code reading, and if the time-sharing electric quantity formula is used in the statistical calculation of the electric quantity, the calculation result is a large negative value, that is, the phenomenon that the electric quantity data takes a large number is generated, which affects the calculation of the subsequent calculation formula and the correctness of the statistics of various index data.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a method for automatically discovering and processing the full code of an electric meter in an electric energy metering system, which checks the time-sharing bottom code data of the electric meter in real time to judge whether a full code event occurs and processes the full code event.
In order to solve the technical problem, the invention provides a method for automatically discovering and processing the full code of an electric meter in an electric energy metering system, which is characterized by comprising the following steps of:
s1, judging whether a full code event occurs according to the electric meter full code event judgment rule;
the rule for judging the event of the full code of the electric meter is as follows:
three time-sharing original code values are collected and are respectively A, B, C,
1) the data is qualified:
a. B, C is not null, if B or C is null, take the next non-null value as A again until waiting until A, B, C is reached which is a consecutive non-null;
2) the essential conditions are as follows:
the most significant bit of a is 9;
3) trend rules:
A>B<=C;
4) order rule:
the difference between the base code values before and after the full code is at least two orders of magnitude, namely Math.log10(A) -Math.log10(B) > = 2;
if the four rules are met simultaneously, judging that a full code event occurs;
step 2, if a full code event occurs, the calculation formula for adjusting the electric quantity is as follows:
electric quantity = (end-bottom code + electric meter range-initial bottom code) × CTPT transformation ratio × electric meter decimal place number × electric meter other coefficients.
Further, the three time-sharing original base code values are respectively:
and finding first non-empty time-sharing bottom code data A according to the time scale sequence of the time-sharing bottom code data of each electric meter, and then finding time-sharing bottom code data B at the next integration period time and time-sharing bottom code data C at the next integration period time.
Further, the original three time-sharing code values A, B, C must be continuous, otherwise, a is found again, the three continuous integration periods formed by A, B, C are used as a movable time window, and the time window is moved backwards until three data meeting the condition are found.
Further, the numerical value length of the electric meter measuring range is determined according to the length of the last base value when the electric meter is full.
Further, the numerical length of the electric meter measuring range is the length of the last base value plus 1 when the electric meter is full.
Further, if no full code event occurs, the calculation formula of the electric quantity is as follows: electric quantity = (last bottom code-first bottom code) × CTPT transformation ratio × decimal place of ammeter × other coefficients of ammeter.
Compared with the prior art, the invention has the following beneficial effects: the method realizes real-time verification of the time-sharing bottom code data of the electric meter, automatically finds whether a full code event occurs or not and processes the full code event, ensures the normal statistics of various subsequent electric quantity data, and also improves the reliability of various calculation formulas and indexes such as bus balance, line loss, transformer loss and the like.
Drawings
FIG. 1 is a schematic diagram of the method of the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and the protection scope of the present invention is not limited thereby.
The invention relates to a method for automatically discovering and processing the full code of an electric meter in an electric energy metering system, which comprises the following specific processes:
step 1, judging whether a full code event occurs according to an electric meter full code event judgment rule.
Assuming that the original time-sharing code values are A, B, C, the following four core rules must be satisfied simultaneously for the event of full code of the electric meter:
1) the data is qualified:
a. B, C is not null, if B or C is null, take the next non-null value as A again until waiting until A, B, C is reached which is a consecutive non-null;
2) the essential conditions are as follows:
the most significant bit of a is 9;
3) trend rules:
A>B<=C;
4) order rule:
the difference between the base values before and after the full code is at least two orders of magnitude,
Math.log10(A)-Math.log10(B)>=2;
note: during the time period, manual table changing operation is not performed, otherwise, the manual table changing operation influences the correctness of judgment of the full code event.
And if the four rules are simultaneously satisfied, judging that a full code event occurs.
And 2, if a full code event occurs, adjusting a calculation formula of the electric quantity.
After the full code is automatically found according to the electric meter full code event judgment rule, the calculation formula for adjusting the electric quantity in time is as follows: electric quantity = (last bottom code-first bottom code) × CTPT transformation ratio × decimal place of ammeter × other coefficients of ammeter,
the adjustment is as follows: electric quantity = (end-bottom code + electric meter range-initial bottom code) × CTPT transformation ratio × electric meter decimal place number × electric meter other coefficients.
Note: the value length of the electric meter range is determined according to the length of a last base value when the electric meter is at a full code, for example, the last base value is 99987536 when the value length is 8 bits, and the electric meter range is determined to be 9 bits, namely 100000000.
Fig. 1 is a schematic diagram of a method for automatically discovering and processing a full code of an electric meter in an electric energy metering system according to the present invention. As shown, one copy of the time-shared base code data acquired by the acquisition program is provided to the verification service. The verification service comprises a method for automatically discovering and processing the full code of the counter. Finding the first non-empty time-sharing bottom code data A according to the time scale sequence of the time-sharing bottom code data of each electric meter, finding the time-sharing bottom code data B at the next integration period time and the time-sharing bottom code data C and A, B, C at the next integration period time continuously, otherwise, finding A again, taking three continuous integration periods formed by A, B, C as a movable time window, moving the time window backwards, judging by using a rule until three data meeting the condition are found, and continuing moving the time window backwards to finish the judgment of the time-sharing bottom code data at the subsequent integration period time after the judgment is finished. If the found data A, B, C completely meets the full code event judgment rule, full code event information is generated and put in storage, and meanwhile, the full code event is notified to the power calculation service, and the power calculation service selects a correct power calculation formula according to the full code event.
The invention provides a method for automatically discovering and processing the full code of an electric meter in an electric energy metering system, which automatically verifies the real-time-sharing bottom code data on line, avoids secondary data verification processing after data storage, reduces the dependence on a database, changes a data interaction processing mode taking external storage as the center, improves the real-time property of the discovery of the full code event of the electric meter and the accuracy of the automatic processing result of the data, and provides guarantee for the correctness of various electric quantity data statistics, and the reliability of various calculation formulas and indexes such as bus balance, line loss, transformer loss and the like.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (6)

1. A method for automatically discovering and processing the full code of an electric meter in an electric energy metering system is characterized by comprising the following steps:
s1, judging whether a full code event occurs according to the electric meter full code event judgment rule;
the rule for judging the event of the full code of the electric meter is as follows:
three time-sharing original code values are collected and are respectively A, B, C,
1) the data is qualified:
a. B, C is not null, if B or C is null, take the next non-null value as A again until waiting until A, B, C is reached which is a consecutive non-null;
2) the essential conditions are as follows:
the most significant bit of a is 9;
3) trend rules:
A>B<=C;
4) order rule:
the difference between the base code values before and after the full code is at least two orders of magnitude, namely Math.log10(A) -Math.log10(B) > = 2;
if the four rules are met simultaneously, judging that a full code event occurs;
step 2, if a full code event occurs, the calculation formula for adjusting the electric quantity is as follows:
electric quantity = (end-bottom code + electric meter range-initial bottom code) × CTPT transformation ratio × electric meter decimal place number × electric meter other coefficients.
2. The method for automatically discovering and processing the full code of the electric energy meter in the electric energy metering system according to claim 1, wherein the three time-sharing original base values are respectively as follows:
and finding a first non-empty time-sharing original base code value A according to the time scale sequence of the time-sharing original base code values of each electric meter, and then finding a time-sharing original base code value B at the next integration period time and a time-sharing original base code value C at the next integration period time.
3. The method for automatically finding and processing the full code of the electric energy metering system as claimed in claim 1, wherein the three time-sharing original base values A, B, C must be continued, otherwise, A is found again, the time window is moved backwards by using A, B, C to form three continuous integration periods as a movable time window until three data satisfying the condition are found.
4. The method for automatically finding and processing the full code of the electric energy metering system according to claim 1, wherein the numerical length of the range of the electric energy meter is determined according to the length of the last base value when the electric energy meter is at the full code.
5. The method for automatically discovering and processing the full code of the electric energy metering system according to claim 4, wherein the numerical length of the electric meter measuring range is the length of the last base value plus 1 when the electric meter is at the full code.
6. The method for automatically discovering and processing the full code of the electric energy meter system according to claim 1, wherein if the full code event does not occur, the electric quantity is calculated by the formula: electric quantity = (last bottom code-first bottom code) × CTPT transformation ratio × decimal place of ammeter × other coefficients of ammeter.
CN201910534555.7A 2019-06-20 2019-06-20 Method for automatically discovering and processing electric meter full code in electric energy metering system Active CN110244096B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910534555.7A CN110244096B (en) 2019-06-20 2019-06-20 Method for automatically discovering and processing electric meter full code in electric energy metering system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910534555.7A CN110244096B (en) 2019-06-20 2019-06-20 Method for automatically discovering and processing electric meter full code in electric energy metering system

Publications (2)

Publication Number Publication Date
CN110244096A CN110244096A (en) 2019-09-17
CN110244096B true CN110244096B (en) 2021-06-04

Family

ID=67888257

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910534555.7A Active CN110244096B (en) 2019-06-20 2019-06-20 Method for automatically discovering and processing electric meter full code in electric energy metering system

Country Status (1)

Country Link
CN (1) CN110244096B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110596540A (en) * 2019-10-08 2019-12-20 国网河南省电力公司电力科学研究院 Electric quantity abnormity online analysis and detection method and device based on real-time data driving

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017020878A (en) * 2015-07-10 2017-01-26 株式会社東芝 Electromagnetic flow meter and acquisition method for parameter information of the same
CN106682383A (en) * 2016-06-24 2017-05-17 南京南瑞继保电气有限公司 Accurate statistical processing method for collected meter code values in metering system
CN109426975A (en) * 2017-08-28 2019-03-05 中国电力科学研究院 A kind of the electricity settlement method and its system of variable cycle

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017020878A (en) * 2015-07-10 2017-01-26 株式会社東芝 Electromagnetic flow meter and acquisition method for parameter information of the same
CN106682383A (en) * 2016-06-24 2017-05-17 南京南瑞继保电气有限公司 Accurate statistical processing method for collected meter code values in metering system
CN109426975A (en) * 2017-08-28 2019-03-05 中国电力科学研究院 A kind of the electricity settlement method and its system of variable cycle

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于表码的电量数据处理方法;杨德亮 等;《电力系统自动化》;20080225;第93-97页 *

Also Published As

Publication number Publication date
CN110244096A (en) 2019-09-17

Similar Documents

Publication Publication Date Title
CN111210093B (en) Daily water consumption prediction method based on big data
CN110008201A (en) A kind of quality of data towards big data checks monitoring method
CN104811344A (en) Network dynamic service monitoring method and apparatus
CN109682436B (en) Method for additionally reading meter reading data of gas meter of Internet of things
CN102521080A (en) Computer data recovery method for electricity-consumption information collecting system for power consumers
CN110244096B (en) Method for automatically discovering and processing electric meter full code in electric energy metering system
CN113985339A (en) Error diagnosis method, system, equipment and storage medium for intelligent electric meter
US20200219215A1 (en) Method and system for evaluating monetary value of patent, and application program
CN111127186A (en) Application method of customer credit rating evaluation system based on big data technology
CN115986724A (en) Power distribution area synchronous line loss rate prediction method based on equivalent resistance
CN113722557B (en) Method and device for determining fuel gas supply and distribution difference
CN109741047A (en) Charging system on a kind of line
CN114897394A (en) Power consumption monitoring system and method
CN109034617A (en) Power distribution network index analysis method and system based on big data
CN110633270B (en) Multi-strategy electric meter daily freezing value automatic substitution method and device based on priority
CN114418369A (en) Metering payment method and system based on BIM (building information modeling)
CN110544165B (en) Credit risk score card creating method and device and electronic equipment
CN112685173A (en) Intelligent route distribution system based on rich media
CN114462676A (en) User side energy storage optimization method and system
CN113673759A (en) Real-time marshalling method and terminal for hydrological data
CN108363789B (en) Short-term missing repairing method and device for electricity consumption meter data of industrial and commercial users
CN113850489A (en) Method and device for selecting high-voltage main network transformer based on Internet of things, product and storage medium
CN114004384A (en) Project progress deviation early warning method and device
CN110727715A (en) High-reliability-based power consumer daily electric quantity calculation method
CN109858669A (en) A kind of arrearage based on Information Entropy stops telegram in reply and complains tendency prediction technique

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