CN110633270B - Multi-strategy electric meter daily freezing value automatic substitution method and device based on priority - Google Patents

Multi-strategy electric meter daily freezing value automatic substitution method and device based on priority Download PDF

Info

Publication number
CN110633270B
CN110633270B CN201910725535.8A CN201910725535A CN110633270B CN 110633270 B CN110633270 B CN 110633270B CN 201910725535 A CN201910725535 A CN 201910725535A CN 110633270 B CN110633270 B CN 110633270B
Authority
CN
China
Prior art keywords
substitution
electric meter
bottom code
strategy
daily
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
CN201910725535.8A
Other languages
Chinese (zh)
Other versions
CN110633270A (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 CN201910725535.8A priority Critical patent/CN110633270B/en
Publication of CN110633270A publication Critical patent/CN110633270A/en
Application granted granted Critical
Publication of CN110633270B publication Critical patent/CN110633270B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/215Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/10Pre-processing; Data cleansing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/06Electricity, gas or water supply

Abstract

The invention discloses a method and a device for automatically replacing a daily freezing value of a multi-strategy electric meter, wherein the method comprises the following steps: responding to an ammeter daily freezing value replacing strategy setting instruction input from the outside, and acquiring ammeter information in a corresponding instruction, a plurality of replacing strategies and priority information of the replacing strategies; acquiring daily freezing data acquisition information of the electric meter; responding to the daily freezing data abnormality in the electric meter daily freezing data acquisition information, and sequentially executing corresponding electric meter daily freezing value replacement strategies from high to low according to a plurality of replacement strategies and priority information of corresponding electric meters until a replacement strategy execution result can obtain the daily freezing replacement value of the corresponding electric meter; and recording the day freezing substitute value obtained for the first time as the day freezing value of the corresponding ammeter. According to the invention, a plurality of replacement strategies with different preset priorities are utilized to realize automatic data replacement when the daily freezing value of the electric meter cannot be normally acquired, so that the normal statistics of subsequent various electric quantity data and the reliability of subsequent related calculation are ensured.

Description

Multi-strategy electric meter daily freezing value automatic substitution method and device based on priority
Technical Field
The invention relates to the technical field of electric energy metering, in particular to a priority-based method and a priority-based device for automatically replacing a daily freezing value of a multi-strategy electric meter.
Background
The electric energy metering system is responsible for collecting, storing, managing and using remotely collected metering data and can analyze and summarize according to a power grid model. The electric energy metering requirement accurately, effectively and timely reflects the electric energy activity condition of upper and lower gateway ports in the power grid, provides data support for systems such as electric power market, marketing management, synchronous line loss and electric quantity regulation cloud and the like, and ensures the development of services such as settlement, examination, line loss management, balance analysis, profit and loss analysis, electric quantity check and the like.
In the electric energy metering system, the acquisition service acquires and stores the daily frozen bottom code value of the electric meter frozen on the station side acquisition terminal through a front-end processor, wherein the daily frozen bottom code value is equal to the 0-point time-sharing bottom code value of the electric meter in numerical value. The daily freezing of the electric meter in the electric energy metering system belongs to widely utilized and very important data, and directly participates in conventional services such as calculation of bottom code difference electric quantity, daily statistic electric quantity checking, acquisition success rate check, generated energy settlement and the like, and also directly participates in calculation of indexes such as bus balance, line loss, transformer loss and the like.
In order to ensure the statistical calculation of various electric quantity data, various calculation formulas, bus balance, line loss and transformer loss are calculated correctly, and the daily freezing data of the electric meter must meet the completeness, timeliness and effectiveness. However, in the actual operation process of the electric energy metering system, the situations of no daily frozen data acquisition, missing point and missing item in data transmission, 0 value reported by the terminal collector, ammeter fault, terminal fault, ammeter maintenance and the like occur, which affects the calculation of the subsequent calculation formula and the correctness of various index data statistics.
Disclosure of Invention
The invention aims to provide a priority-based multi-strategy electric meter daily frozen value automatic substitution method and device, which utilize a plurality of substitution strategies with different preset priorities to realize automatic substitution of data when the electric meter daily frozen value cannot be normally acquired, and ensure the normal statistics of subsequent various electric quantity data and the reliability of subsequent related calculation.
The invention adopts the technical scheme that a multi-strategy electric meter daily frozen value automatic substitution method comprises the following steps:
responding to an ammeter daily freezing value replacing strategy setting instruction input from the outside, and acquiring ammeter information in a corresponding instruction, a plurality of replacing strategies and priority information of the replacing strategies;
acquiring daily freezing data acquisition information of the electric meter;
responding to the daily freezing data abnormality in the electric meter daily freezing data acquisition information, and sequentially executing corresponding electric meter daily freezing value replacement strategies from high to low according to a plurality of replacement strategies and priority information of corresponding electric meters until a replacement strategy execution result can obtain the daily freezing replacement value of the corresponding electric meter;
and recording the day freezing substitute value obtained for the first time as the day freezing value of the corresponding ammeter.
In the execution process of the replacement strategy, once the daily freezing replacement value can be obtained by the current replacement strategy, the replacement strategy with lower residual priority is not executed continuously.
Preferably, the daily freeze data exception includes: the data is absent, the data missing point is absent, the data is 0, and the data also comprises the abnormal conditions of the electric meter, the terminal fault and the electric meter caused by the maintenance. And if the daily freezing data in the electric meter daily freezing data acquisition information are normal, the substitution strategy is not executed.
Preferably, the method of the present invention further comprises: in response to the replacement policy being executed, a replacement log is stored, the replacement log including pre-replacement data, post-replacement data, a replacement time, a replacement policy, and a replacement execution scheme. Alternative implementation schemes are the actual implementation of the various alternative strategies. The record of the substitute log can facilitate the follow-up data tracing. If the data before replacement does not exist, a null value is stored.
Further, the day frozen value after being replaced has a data auto-replace status bit attribute. The data is convenient to check and trace, and reference can be provided for data restoration when necessary.
Preferably, the method of the present invention further comprises: setting a daily freezing value substitution strategy and a priority information table corresponding to each electric meter;
after responding to an ammeter daily frozen value substitution strategy setting instruction input from the outside, updating a daily frozen value substitution strategy and a priority information table of a corresponding ammeter according to ammeter information and a plurality of substitution strategies and priority information thereof in the obtained corresponding instruction;
and when the electric meter daily frozen data acquisition information is acquired, in response to the fact that the electric meter daily frozen data acquisition information cannot be acquired, replacing the strategies according to the daily frozen values of the corresponding electric meters and the priority information table, and executing each replacing strategy from high priority to low priority. The setting of the substitution strategy and the priority information table can be used for inquiring the substitution strategy when the daily frozen value of each electric meter cannot be obtained, the program language of the selection part of the substitution strategy is simplified, and the determination and execution efficiency of the substitution strategy is improved.
Preferably, the daily freezing value replacement strategy and the priority information table of each electric meter are integrated in the same information table. When the replacement strategy and the priority of a certain electric meter need to be adjusted, the replacement strategy and the priority can be updated through the ID information of the electric meter, when the replacement strategy is selected, the corresponding replacement strategy can be searched through the ID of the electric meter, and the replacement strategy to be executed is selected successively according to the priority.
Preferably, the substitution strategy comprises one or more substitution strategies of a bottom code direct substitution strategy and an electric quantity reverse deduction strategy; the bottom code direct substitution strategy comprises a yesterday bottom code substitution strategy, a latest effective value substitution strategy and a 0-point bottom code substitution strategy; the electric quantity reverse-deducing type strategies comprise EMS integral substitution, main and auxiliary meter substitution, line opposite end substitution, monthly electric quantity mean value substitution, transformer opposite side substitution and designated meter substitution strategies.
In actual application, the replacement strategy combination and the priority of each electric meter can be adjusted through setting instructions according to the difference of an actual electric energy metering system, so that the reliability after data replacement can be guaranteed as a making or adjusting basis.
Preferably, the yesterday sill code replacement policy is: taking yesterday frozen bottom code data which are not empty and have normal data state bits as today frozen bottom codes;
the most recent valid value substitution policy is: taking the current time as the starting time, gradually decreasing the time, and tracing the frozen bottom code data of the historical days in a reverse order of one day until the first effective frozen data of the historical days is found and used as the frozen bottom code of the current day;
the 0 point base code substitution strategy is as follows: taking the bottom code value of the point 0 today in the time-sharing bottom code data table as the frozen bottom code of the day;
the EMS integration replacement strategy is: calculating yesterday integral electric quantity by using yesterday time-sharing power of EMS equipment where a corresponding electric meter is located, reversely deducing that the electric meter should go away from a bottom code difference yesterday according to the CTPT transformation ratio of the electric meter, adding the bottom code difference to the yesterday frozen bottom code of the electric meter, and obtaining a bottom code value which is the current day frozen bottom code of the electric meter;
the primary and secondary table replacement strategy is as follows: for the electric meter with the attached meter, the yesterday electric quantity of the auxiliary meter is taken, the today bottom code difference of the corresponding electric meter is reversely deduced, and the yesterday freezing bottom code of the electric meter is added to obtain the today freezing bottom code of the electric meter;
the line opposite end substitution strategy is as follows: for an ammeter which is located on a line and has an ammeter at the opposite end of the circuit, the yesterday electric quantity of the ammeter at the opposite end of the line is taken, the today's bottom code difference of the ammeter is reversely deduced, and the yesterday's frozen bottom code of the ammeter is added to obtain the today's frozen bottom code of the ammeter;
the monthly electric quantity average value substitution strategy is as follows: taking the monthly electric quantity of the electricity meter in the last month, excluding the days of the last month, reversely deducing the monthly average daily bottom code difference of the electricity meter according to the obtained monthly average daily electric quantity of the electricity meter, and adding the yesterday bottom code of the electricity meter to obtain the today freezing bottom code of the electricity meter;
the transformer opposite side substitution strategy is as follows: for the electric meters which are positioned on the transformer winding and are also provided with the electric meters on the other two sides or one side winding of the corresponding transformer, the daily electric quantity of the electric meters on the other windings is taken, the today's bottom code difference of the electric meter is reversely deduced, and the today's frozen bottom code of the electric meter is obtained by adding the yesterday frozen bottom code of the electric meter;
the specified electricity meter replacement policy is as follows: and (4) designating the alternative electric meter, reversely deducing the today's bottom code difference of the electric meter according to the yesterday total electric quantity of the designated alternative electric meter, and adding the yesterday's frozen bottom code of the electric meter to obtain the today's frozen bottom code of the electric meter.
Preferably, the ammeter daily freezing data acquisition information is ammeter daily freezing base code values acquired by an electric energy metering system acquisition service from a station side acquisition terminal through a front-end processor. That is, the method of the present invention can be applied to the determination of the daily freezing value of the electric meter for the collection service of the electric energy metering system, and can also be applied to a front-end processor.
The invention also discloses a device for automatically replacing the daily freezing value of the multi-strategy ammeter, which comprises the following components:
the electric meter replacing strategy and priority setting module is used for responding to an electric meter daily freezing value replacing strategy setting instruction input from the outside, and acquiring electric meter information in corresponding instructions, a plurality of replacing strategies and priority information thereof;
the daily freezing data acquisition module is used for acquiring the daily freezing data acquisition information of the electric meter;
the substitution strategy execution module is used for responding to the daily freezing data abnormity in the electric meter daily freezing data acquisition information, and sequentially executing corresponding electric meter daily freezing value substitution strategies from high to low according to a plurality of substitution strategies and priority information of corresponding electric meters until an execution result of one substitution strategy can obtain the daily freezing substitution value of the corresponding electric meter;
and the daily freezing value substitution module is used for recording the daily freezing substitution value as the daily freezing value of the corresponding ammeter.
Advantageous effects
Compared with the prior art, the invention has the following advantages and progresses:
the multi-strategy electric meter daily frozen value automatic substitution method and system based on the priority support independent configuration of substitution schemes for single electric meters, each substitution scheme comprises multiple substitution strategies, substitution priorities can be set among the multiple substitution strategies, and the substitution process can be automatically completed, so that daily frozen bottom code data substitution work becomes more flexible, accurate and timely, the real-time performance and the accuracy of electric meter daily frozen bottom code missing processing and abnormal processing are improved, and the correctness of various electric quantity data statistics and the reliability of indexes such as various calculation formulas, bus balance, line loss, transformer loss and the like are guaranteed.
Drawings
FIG. 1 is a schematic flow chart illustrating an embodiment of a method for automatically replacing a daily frozen value of a multi-policy electric meter based on priority according to the present invention;
fig. 2 is a schematic diagram of an alternative strategy according to the present invention.
Detailed Description
The following further description is made in conjunction with the accompanying drawings and the specific embodiments.
Example 1
The embodiment is an automatic substitution method for a daily freezing value of a multi-strategy electric meter, and the method comprises the following steps:
responding to an ammeter daily freezing value replacing strategy setting instruction input from the outside, and acquiring ammeter information in a corresponding instruction, a plurality of replacing strategies and priority information of the replacing strategies;
acquiring daily freezing data acquisition information of the electric meter;
responding to the daily freezing data abnormality in the electric meter daily freezing data acquisition information, and sequentially executing corresponding electric meter daily freezing value replacement strategies from high to low according to a plurality of replacement strategies and priority information of corresponding electric meters until a replacement strategy execution result can obtain the daily freezing replacement value of the corresponding electric meter;
and recording the day freezing substitute value obtained for the first time as the day freezing value of the corresponding ammeter.
Referring to the embodiment flow shown in fig. 1, the method specifically includes the following steps:
s1, acquiring the daily freezing value of the external ammeter to replace the strategy setting end instruction information;
s2, determining a daily freezing value substitution strategy and priority thereof corresponding to each electric meter according to the instruction information obtained in S1;
s3, acquiring the daily freezing data acquisition information of the electric meter by using a conventional approach;
s4, judging whether the daily freezing data in the electric meter daily freezing data acquisition information is abnormal, if so, recording a normal daily freezing value, and if not, turning to S5;
s5, executing a highest-level daily freezing data replacement strategy of the corresponding electric meter according to the priority from high to low;
s6, judging that the implementation of the current replacement strategy can obtain a daily freezing data replacement value, if so, taking the currently obtained daily freezing data replacement value as the daily freezing data value of the corresponding ammeter, ending the implementation of other replacement strategies, and if not, turning to S7;
s7, executing the replacement strategy of the next priority, and then turning to S6 until the consistent replacement strategy can obtain the alternative daily frozen data replacement value.
As can be seen from the above steps, in the execution process of the substitution policy, once the current substitution policy can obtain the daily frozen substitution value, the remaining substitution policies with lower priorities are not executed any more, and the redundancy of the program data is small.
The daily freeze data anomalies include: the data is absent, the data missing point is absent, the data is 0, and the data also comprises the abnormal conditions of the electric meter, the terminal fault and the electric meter caused by the maintenance. And if the daily freezing data in the electric meter daily freezing data acquisition information are normal, the substitution strategy is not executed.
The method of the invention also comprises the following steps: in response to the replacement policy being executed, a replacement log is stored, the replacement log including pre-replacement data, post-replacement data, a replacement time, a replacement policy, and a replacement execution scheme. Alternative implementation schemes are the actual implementation of the various alternative strategies. The record of the substitute log can facilitate the follow-up data tracing. If the pre-replacement data does not exist, a null value null is stored.
Further, the day frozen value after being replaced has a data auto-replace status bit attribute. The data is convenient to check and trace, and reference can be provided for data restoration when necessary.
The method of the invention also comprises the following steps: setting a daily freezing value substitution strategy and a priority information table corresponding to each electric meter;
after responding to an ammeter daily frozen value substitution strategy setting instruction input from the outside, updating a daily frozen value substitution strategy and a priority information table of a corresponding ammeter according to ammeter information and a plurality of substitution strategies and priority information thereof in the obtained corresponding instruction;
and when the electric meter daily frozen data acquisition information is acquired, in response to the fact that the electric meter daily frozen data acquisition information cannot be acquired, replacing the strategies according to the daily frozen values of the corresponding electric meters and the priority information table, and executing each replacing strategy from high priority to low priority. The setting of the substitution strategy and the priority information table can be used for inquiring the substitution strategy when the daily frozen value of each electric meter cannot be obtained, the program language of the selection part of the substitution strategy is simplified, and the determination and execution efficiency of the substitution strategy is improved.
And the daily freezing value substitution strategy and the priority information table of each electric meter are integrated in the same information table. When the replacement strategy and the priority of a certain electric meter need to be adjusted, the replacement strategy and the priority can be updated through the ID information of the electric meter, when the replacement strategy is selected, the corresponding replacement strategy can be searched through the ID of the electric meter, and the replacement strategy to be executed is selected successively according to the priority.
Referring to fig. 2, the substitution strategy in this embodiment includes one or more substitution strategies of a base code direct substitution strategy and an electric quantity reverse deduction strategy; the bottom code direct substitution strategy comprises a yesterday bottom code substitution strategy, a latest effective value substitution strategy and a 0-point bottom code substitution strategy; the electric quantity reverse-deducing type strategies comprise EMS integral substitution, main and auxiliary meter substitution, line opposite end substitution, monthly electric quantity mean value substitution, transformer opposite side substitution and designated meter substitution strategies.
In actual application, the replacement strategy combination and the priority of each electric meter can be adjusted through setting instructions according to the difference of an actual electric energy metering system, so that the reliability after data replacement can be guaranteed as a making or adjusting basis. The alternative for each meter may be a custom combination of multiple ones of the above nine alternative strategies. The daily freeze replacement service may automatically implement replacement policies based on custom times (which may set specific points in time for program execution or time intervals for execution) in conjunction with the replacement scenario for each meter.
The yesterday sill code substitution strategy is as follows: the method comprises the steps of taking non-empty yesterday frozen bottom code data with normal data state bits to replace today's frozen bottom code;
the most recent valid value substitution policy is: taking the current time as the starting time, and tracing the frozen bottom code data of the historical days in a reverse order of decreasing time by one day until the first effective frozen bottom code data of the historical days is found to replace the frozen bottom code of the current day;
the 0 point base code substitution strategy is as follows: taking the bottom code value of the point 0 today in the time-sharing bottom code data table to replace the frozen bottom code at the present day;
the EMS integration replacement strategy is: calculating yesterday integral electric quantity by using yesterday time-sharing power of EMS equipment where the electric meter is located, reversely pushing the obtained yesterday integral electric quantity out that the electric meter should go away from a bottom code difference yesterday according to the CTPT transformation ratio of the electric meter, adding the bottom code difference to the yesterday freezing bottom code of the electric meter, and obtaining a bottom code value which is the current day freezing bottom code of the electric meter;
the primary and secondary table replacement strategy is as follows: if the auxiliary meter of the electric meter can be found, the daily electric quantity of the auxiliary meter is taken, the difference of the today's bottom code of the electric meter is reversely deduced, and the yesterday frozen bottom code of the electric meter is added to obtain the today's frozen bottom code of the electric meter;
the line opposite end substitution strategy is as follows: if the ammeter is an ammeter on the line and the opposite line end ammeter of the ammeter can be found, the daily electric quantity of the opposite line end ammeter is obtained, the today's bottom code difference of the ammeter is reversely deduced, and the today's frozen bottom code of the ammeter is obtained by adding the yesterday frozen bottom code of the ammeter;
the monthly electric quantity average value substitution strategy is as follows: taking the monthly electric quantity of the electricity meter in the last month, excluding the days of the last month, reversely deducing the monthly average daily bottom code difference of the electricity meter according to the obtained monthly average daily electric quantity of the electricity meter, and adding the yesterday bottom code of the electricity meter to obtain the today freezing bottom code of the electricity meter;
the transformer opposite side substitution strategy is as follows: if the ammeter is an ammeter on a transformer winding and the ammeter on the other two sides or one side of the transformer (two windings of the two-winding transformer) winding of the winding where the ammeter is located can be found, the daily electric quantity of the ammeter on the opposite side winding is taken (if the electric quantity of the ammeter on the two sides needs to be found and added), the today's bottom code difference of the ammeter is reversely deduced, and the today's frozen bottom code of the ammeter is obtained by adding the yesterday frozen bottom code of the ammeter;
the specified electricity meter replacement policy is as follows: some electric meter programs are difficult to find a logical alternative electric meter relationship, yesterday total electric quantity of an alternative electric meter (which can be a plurality of electric meters) can be found according to the manually specified alternative relationship, today's sill code difference of the electric meter is reversely deduced, and the yesterday's frozen sill code of the electric meter is added to obtain the today's frozen sill code of the electric meter.
The electric meter daily freezing data acquisition information is electric meter daily freezing base code values acquired by an electric energy metering system acquisition service from a station side acquisition terminal through a front-end processor. That is, the method of the present invention can be applied to the determination of the daily freezing value of the electric meter for the collection service of the electric energy metering system, and can also be applied to a front-end processor.
When the method is applied, the method is realized as the replacement service of the daily freezing value of the electric meter, all the replacement strategies in the scheme configured by the user can be obtained according to the user-defined replacement scheme of the daily freezing value of the electric meter, and the replacement logic is automatically executed according to the execution priority sequence set by the strategies. If one of the three replacement strategies of the bottom code direct replacement type is successfully executed, the daily freezing value of the replaced electric meter can be found. If one of the six replacement strategies of the electric quantity reverse deduction type is successfully executed, the daily electric quantity of the replacement electric meter can be found, the daily electric quantity of the replacement electric meter is converted into a daily bottom code difference value of the replaced electric meter, and the daily frozen value of the replaced electric meter is obtained by adding the daily bottom code difference value to the previous day bottom code of the replaced electric meter. In the nine replacement strategies shown in fig. 2, as long as one replacement strategy is successfully executed or all nine strategies are not successfully executed, the execution of the whole replacement scheme is finished. The replaced daily freeze value is appended with a status bit of "data auto replace". The whole replacement process is logged to be ready for viewing the history of data replacement in a replacement log query, including information of data before replacement, data after replacement, replacement execution time, replacement execution scheme, which replacement strategy is actually executed by replacement, and the like. Data restoration functionality may be provided as necessary.
Example 2
The embodiment is an automatic substitution device for a daily freezing value of a multi-strategy electric meter, and the device comprises:
the electric meter replacing strategy and priority setting module is used for responding to an electric meter daily freezing value replacing strategy setting instruction input from the outside, and acquiring electric meter information in corresponding instructions, a plurality of replacing strategies and priority information thereof;
the daily freezing data acquisition module is used for acquiring the daily freezing data acquisition information of the electric meter;
the substitution strategy execution module is used for responding to the daily freezing data abnormity in the electric meter daily freezing data acquisition information, and sequentially executing corresponding electric meter daily freezing value substitution strategies from high to low according to a plurality of substitution strategies and priority information of corresponding electric meters until an execution result of one substitution strategy can obtain the daily freezing substitution value of the corresponding electric meter;
and the daily freezing value substitution module is used for recording the daily freezing substitution value as the daily freezing value of the corresponding ammeter.
In conclusion, the priority-based multi-strategy electric meter daily freezing value automatic substitution method can automatically find and process in real time, ensure the normal statistics of subsequent various electric quantity data, and improve 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.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. A multi-strategy electric meter daily frozen value automatic substitution method is characterized by comprising the following steps:
responding to an ammeter daily freezing value replacing strategy setting instruction input from the outside, and acquiring ammeter information in a corresponding instruction, a plurality of replacing strategies and priority information of the replacing strategies;
acquiring daily freezing data acquisition information of the electric meter;
responding to the daily freezing data abnormality in the electric meter daily freezing data acquisition information, and sequentially executing corresponding electric meter daily freezing value replacement strategies from high to low according to a plurality of replacement strategies and priority information of corresponding electric meters until a replacement strategy execution result can obtain the daily freezing replacement value of the corresponding electric meter;
recording the day freezing substitute value obtained for the first time as the day freezing value of the corresponding ammeter;
the plurality of substitution strategies are a combination of a plurality of bottom code direct substitution strategies, a combination of a plurality of electric quantity reverse deduction strategies, or a combination of at least one bottom code direct substitution strategy and at least one electric quantity reverse deduction strategy;
the bottom code direct substitution strategy comprises a yesterday bottom code substitution strategy, a latest effective value substitution strategy and a 0-point bottom code substitution strategy; the electric quantity reverse-deducing type strategies comprise EMS integral substitution, main and auxiliary meter substitution, line opposite end substitution, monthly electric quantity mean value substitution, transformer opposite side substitution and designated electric meter substitution strategies;
the yesterday sill code substitution strategy is as follows: taking yesterday frozen bottom code data which are not empty and have normal data state bits as today frozen bottom codes;
the most recent valid value substitution policy is: taking the current time as the starting time, gradually decreasing the time, and tracing the frozen bottom code data of the historical days in a reverse order of one day until the first effective frozen data of the historical days is found and used as the frozen bottom code of the current day;
the 0 point base code substitution strategy is as follows: taking the bottom code value of the point 0 today in the time-sharing bottom code data table as the frozen bottom code of the day;
the EMS integration replacement strategy is: calculating yesterday integral electric quantity by using yesterday time-sharing power of EMS equipment where a corresponding electric meter is located, reversely deducing that the electric meter should go away from a bottom code difference yesterday according to the CTPT transformation ratio of the electric meter, adding the bottom code difference to the yesterday frozen bottom code of the electric meter, and obtaining a bottom code value which is the current day frozen bottom code of the electric meter;
the primary and secondary table replacement strategy is as follows: for the electric meter with the attached meter, the yesterday electric quantity of the auxiliary meter is taken, the today bottom code difference of the corresponding electric meter is reversely deduced, and the yesterday freezing bottom code of the electric meter is added to obtain the today freezing bottom code of the electric meter;
the line opposite end substitution strategy is as follows: for an ammeter which is located on a line and has an ammeter at the opposite end of the circuit, the yesterday electric quantity of the ammeter at the opposite end of the line is taken, the today's bottom code difference of the ammeter is reversely deduced, and the yesterday's frozen bottom code of the ammeter is added to obtain the today's frozen bottom code of the ammeter;
the monthly electric quantity average value substitution strategy is as follows: taking the monthly electric quantity of the electricity meter in the last month, excluding the days of the last month, reversely deducing the monthly average daily bottom code difference of the electricity meter according to the obtained monthly average daily electric quantity of the electricity meter, and adding the yesterday bottom code of the electricity meter to obtain the today freezing bottom code of the electricity meter;
the transformer opposite side substitution strategy is as follows: for the electric meters which are positioned on the transformer winding and are also provided with the electric meters on the other two sides or one side winding of the corresponding transformer, the daily electric quantity of the electric meters on the other windings is taken, the today's bottom code difference of the electric meter is reversely deduced, and the today's frozen bottom code of the electric meter is obtained by adding the yesterday frozen bottom code of the electric meter;
the specified electricity meter replacement policy is as follows: and (4) designating the alternative electric meter, reversely deducing the today's bottom code difference of the electric meter according to the yesterday total electric quantity of the designated alternative electric meter, and adding the yesterday's frozen bottom code of the electric meter to obtain the today's frozen bottom code of the electric meter.
2. The method of claim 1, wherein during execution of the replacement policy, once the daily frozen replacement value is available to the current replacement policy, the remaining replacement policies with lower priority are not executed any more.
3. The method of claim 1, wherein the daily freeze data exception comprises: data does not exist, data missing points are missing, and data is 0.
4. The method of claim 1, further comprising: in response to the replacement policy being executed, a replacement log is stored, the replacement log including pre-replacement data, post-replacement data, a replacement time, a replacement policy, and a replacement execution scheme.
5. The method of claim 1, wherein the daily frozen value after being replaced has a data auto-replace status bit attribute.
6. The method of claim 1, further comprising: setting a daily freezing value substitution strategy and a priority information table corresponding to each electric meter;
after responding to an ammeter daily frozen value substitution strategy setting instruction input from the outside, updating a daily frozen value substitution strategy and a priority information table of a corresponding ammeter according to ammeter information and a plurality of substitution strategies and priority information thereof in the obtained corresponding instruction;
and when the electric meter daily frozen data acquisition information is acquired, in response to the fact that the electric meter daily frozen data acquisition information cannot be acquired, replacing the strategies according to the daily frozen values of the corresponding electric meters and the priority information table, and executing each replacing strategy from high priority to low priority.
7. The method of claim 6, wherein the daily freeze value replacement policy and priority information table for each meter are integrated into the same information table.
8. The method as claimed in claim 1, wherein the meter daily freezing data acquisition information is meter daily freezing base value acquired by an electric energy metering system acquisition service from a plant side acquisition terminal through a front-end processor.
9. A multi-strategy electric meter daily frozen value automatic replacing device is characterized by comprising:
the electric meter replacing strategy and priority setting module is used for responding to an electric meter daily freezing value replacing strategy setting instruction input from the outside, and acquiring electric meter information in corresponding instructions, a plurality of replacing strategies and priority information thereof;
the daily freezing data acquisition module is used for acquiring the daily freezing data acquisition information of the electric meter;
the substitution strategy execution module is used for responding to the daily freezing data abnormity in the electric meter daily freezing data acquisition information, and sequentially executing corresponding electric meter daily freezing value substitution strategies from high to low according to a plurality of substitution strategies and priority information of corresponding electric meters until an execution result of one substitution strategy can obtain the daily freezing substitution value of the corresponding electric meter;
the daily freezing value substitution module is used for recording the daily freezing substitution value obtained for the first time as the daily freezing value of the corresponding ammeter;
the plurality of substitution strategies are a combination of a plurality of bottom code direct substitution strategies, a combination of a plurality of electric quantity reverse deduction strategies, or a combination of at least one bottom code direct substitution strategy and at least one electric quantity reverse deduction strategy;
the bottom code direct substitution strategy comprises a yesterday bottom code substitution strategy, a latest effective value substitution strategy and a 0-point bottom code substitution strategy; the electric quantity reverse-deducing type strategies comprise EMS integral substitution, main and auxiliary meter substitution, line opposite end substitution, monthly electric quantity mean value substitution, transformer opposite side substitution and designated electric meter substitution strategies;
the yesterday sill code substitution strategy is as follows: taking yesterday frozen bottom code data which are not empty and have normal data state bits as today frozen bottom codes;
the most recent valid value substitution policy is: taking the current time as the starting time, gradually decreasing the time, and tracing the frozen bottom code data of the historical days in a reverse order of one day until the first effective frozen data of the historical days is found and used as the frozen bottom code of the current day;
the 0 point base code substitution strategy is as follows: taking the bottom code value of the point 0 today in the time-sharing bottom code data table as the frozen bottom code of the day;
the EMS integration replacement strategy is: calculating yesterday integral electric quantity by using yesterday time-sharing power of EMS equipment where a corresponding electric meter is located, reversely deducing that the electric meter should go away from a bottom code difference yesterday according to the CTPT transformation ratio of the electric meter, adding the bottom code difference to the yesterday frozen bottom code of the electric meter, and obtaining a bottom code value which is the current day frozen bottom code of the electric meter;
the primary and secondary table replacement strategy is as follows: for the electric meter with the attached meter, the yesterday electric quantity of the auxiliary meter is taken, the today bottom code difference of the corresponding electric meter is reversely deduced, and the yesterday freezing bottom code of the electric meter is added to obtain the today freezing bottom code of the electric meter;
the line opposite end substitution strategy is as follows: for an ammeter which is located on a line and has an ammeter at the opposite end of the circuit, the yesterday electric quantity of the ammeter at the opposite end of the line is taken, the today's bottom code difference of the ammeter is reversely deduced, and the yesterday's frozen bottom code of the ammeter is added to obtain the today's frozen bottom code of the ammeter;
the monthly electric quantity average value substitution strategy is as follows: taking the monthly electric quantity of the electricity meter in the last month, excluding the days of the last month, reversely deducing the monthly average daily bottom code difference of the electricity meter according to the obtained monthly average daily electric quantity of the electricity meter, and adding the yesterday bottom code of the electricity meter to obtain the today freezing bottom code of the electricity meter;
the transformer opposite side substitution strategy is as follows: for the electric meters which are positioned on the transformer winding and are also provided with the electric meters on the other two sides or one side winding of the corresponding transformer, the daily electric quantity of the electric meters on the other windings is taken, the today's bottom code difference of the electric meter is reversely deduced, and the today's frozen bottom code of the electric meter is obtained by adding the yesterday frozen bottom code of the electric meter;
the specified electricity meter replacement policy is as follows: and (4) designating the alternative electric meter, reversely deducing the today's bottom code difference of the electric meter according to the yesterday total electric quantity of the designated alternative electric meter, and adding the yesterday's frozen bottom code of the electric meter to obtain the today's frozen bottom code of the electric meter.
CN201910725535.8A 2019-08-07 2019-08-07 Multi-strategy electric meter daily freezing value automatic substitution method and device based on priority Active CN110633270B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910725535.8A CN110633270B (en) 2019-08-07 2019-08-07 Multi-strategy electric meter daily freezing value automatic substitution method and device based on priority

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910725535.8A CN110633270B (en) 2019-08-07 2019-08-07 Multi-strategy electric meter daily freezing value automatic substitution method and device based on priority

Publications (2)

Publication Number Publication Date
CN110633270A CN110633270A (en) 2019-12-31
CN110633270B true CN110633270B (en) 2022-01-28

Family

ID=68969282

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910725535.8A Active CN110633270B (en) 2019-08-07 2019-08-07 Multi-strategy electric meter daily freezing value automatic substitution method and device based on priority

Country Status (1)

Country Link
CN (1) CN110633270B (en)

Families Citing this family (1)

* 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

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105588978A (en) * 2015-12-14 2016-05-18 安徽立卓智能电网科技有限公司 Beidou satellite communication technology-based method for intelligently detecting and processing acquired electric energy data
WO2016110833A2 (en) * 2015-01-06 2016-07-14 Cmoo Systems Itd. A method and apparatus for power extraction in a pre-existing ac wiring infrastructure
CN106845748A (en) * 2016-09-22 2017-06-13 国网上海市电力公司 A kind of INTELLIGENT IDENTIFICATION method of low-voltage collecting meter reading system data deviation reason
CN107025506A (en) * 2015-06-23 2017-08-08 中兴通讯股份有限公司 Data processing method and device
WO2017185993A1 (en) * 2016-04-28 2017-11-02 Boe Technology Group Co., Ltd. System for dispatching cleaning robots and method thereof
CN110046145A (en) * 2019-04-02 2019-07-23 国网安徽省电力有限公司 Expert intelligence Analysis Service platform based on electric flux big data research
CN110047014A (en) * 2019-01-04 2019-07-23 国网浙江省电力有限公司电力科学研究院 A kind of user's electricity data restorative procedure based on load curve and history electricity

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016110833A2 (en) * 2015-01-06 2016-07-14 Cmoo Systems Itd. A method and apparatus for power extraction in a pre-existing ac wiring infrastructure
CN107025506A (en) * 2015-06-23 2017-08-08 中兴通讯股份有限公司 Data processing method and device
CN105588978A (en) * 2015-12-14 2016-05-18 安徽立卓智能电网科技有限公司 Beidou satellite communication technology-based method for intelligently detecting and processing acquired electric energy data
WO2017185993A1 (en) * 2016-04-28 2017-11-02 Boe Technology Group Co., Ltd. System for dispatching cleaning robots and method thereof
CN106845748A (en) * 2016-09-22 2017-06-13 国网上海市电力公司 A kind of INTELLIGENT IDENTIFICATION method of low-voltage collecting meter reading system data deviation reason
CN110047014A (en) * 2019-01-04 2019-07-23 国网浙江省电力有限公司电力科学研究院 A kind of user's electricity data restorative procedure based on load curve and history electricity
CN110046145A (en) * 2019-04-02 2019-07-23 国网安徽省电力有限公司 Expert intelligence Analysis Service platform based on electric flux big data research

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
design of intelligent fault diagnosis system for energy remote terminal unit based on agent technology;shaocheng wu等;《CICED 2010 proceedings》;20100916;1-6 *
新能源集控系统电量指标综合处理策略;姜凯等;《电力工程技术》;20180928;第37卷(第5期);104-108 *
电力公司数据中心综合查询分析平台的设计与实现;张垚;《中国优秀硕士学位论文全文数据库 信息科技辑》;20160315(第3期);I137-63 *

Also Published As

Publication number Publication date
CN110633270A (en) 2019-12-31

Similar Documents

Publication Publication Date Title
CN110728836A (en) Concentrator meter reading abnormity analysis method and system
CN108448625B (en) Fan cut-in wind speed calculation method based on data driving
JP7053152B2 (en) Systems and methods for optimizing recommended inspection intervals
CN102521080A (en) Computer data recovery method for electricity-consumption information collecting system for power consumers
CN105119282A (en) On-line calculation system and method for theoretical line loss of power grid
CN110633270B (en) Multi-strategy electric meter daily freezing value automatic substitution method and device based on priority
JP2017151980A5 (en)
CN109284837A (en) A kind of distribution power automation terminal O&M evaluation method and system
CN108491432B (en) Electric power system accumulated quantity storage and extraction method based on message abstract, electronic equipment and storage medium
CN109902133A (en) Multi-source data correction processing method and system based on power grid arbitrary segmentation area
CN111521966B (en) Method and device for monitoring time out-of-tolerance of district electric meter, monitoring terminal and storage medium
CN105493050A (en) Data processing device, and data processing method and program
CN115049004B (en) Power distribution network line loss management aid decision-making system based on multi-source data fusion
CN110599245A (en) Engineering project cost data management system
CN116231633A (en) Method, device, equipment and storage medium for monitoring carbon emission of power distribution network
CN115951172A (en) Method, device and equipment for positioning metering point of abnormal unbalanced electric quantity of bus
CN113034307B (en) Data acquisition method for power enterprise
CN115660631A (en) Power distribution terminal state evaluation method based on correction weight fault tree model
CN112001555A (en) Method, device, system and medium for power generation plan examination of power plant
CN112261509A (en) Meter reading scheduling method for electricity consumption information acquisition terminal
CN113869706A (en) MES-based production performance index accounting method, system and terminal
CN112052147A (en) Monitoring method, electronic device and storage medium
CN109635350B (en) Data replacement method and system for automatically generating simulated power flow section
CN112800102A (en) Alarm correlation calculation method and device and calculation equipment
CN117374978B (en) Grid-connected scheduling management method and system constructed by combining knowledge graph

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