Electric meter matching method and system, electronic device, storage medium and program product
Patent Information
- Application Number
- CN202411208253.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2026-08-18
- Estimated Expiration
- 2044-08-30
AI Technical Summary
但是在实际的业务系统中,计量电表需要关联到对应的电网模型以支撑业务,由于TMR系统和EMS系统是两个独立系统,因此在支撑第三方业务系统时,都是单独提供的数据,第三方业务系统需要通过人工的方式,将TMR系统的计量电表和EMS的电网模型进行关联匹配(主要是通过名称进行匹配),这种方式工作效率低,而且工作繁琐;而且个别设备关联错误后,无法有效排查
[0015]This invention provides a meter matching method, comprising the following steps: obtaining the daily collected electricity from the TMR system meter of any device in a power plant; obtaining the daily integrated electricity from the EMS system of that device; obtaining the daily collected electricity and the daily integrated electricity from that device over several consecutive days; calculating the correlation coefficient between the daily collected electricity and the daily integrated electricity based on the obtained daily collected electricity and the daily integrated electricity over the several days; calculating the deviation rate between the daily collected electricity and the daily integrated electricity based on the obtained daily collected electricity and the daily integrated electricity over the several days; and determining whether the device's TMR system meter is matched with its EMS system if the correlation coefficient of that device is greater than a first preset threshold and the deviation rate of that device is less than a second preset threshold. In this way, this invention utilizes the correlation coefficient and the deviation rate as two indicators to study the correlation between the daily collected electricity and the daily integrated electricity, thereby achieving the matching of the TMR system meter and the EMS system at the underlying algorithm level. Maintenance personnel only need to verify the automatic matching results. For the very few meters and grid models that fail to match, manual association is sufficient. The vast majority of meters and grid models can be automatically matched, greatly improving the efficiency and accuracy of meter and grid model matching, reducing the workload of maintenance personnel, and increasing work efficiency.
Smart Images

Figure CN119295040B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electricity meter technology, specifically to an electricity meter matching method, system electronic equipment, storage medium, and program product. Background Technology
[0002] In power systems, due to the independence of individual business systems, the same or similar data can exhibit differences in form across different systems, and sometimes even data conflicts can occur. The Telemetering Management (TMR) system primarily measures the electrical energy fed into the grid, disembarked from the grid, and at tie-line junctions using electricity meters; this falls under secondary circuit wiring measurement. The Energy Management System (EMS) also includes data acquisition and monitoring, performing real-time measurements on the moving parts of primary equipment. However, the TMR system uses a metering archive model, including metering terminals and meters; while the EMS system uses a grid model, including transformers, windings, lines, and line terminals. The TMR system measures the electricity consumption passing through these devices using meters, while the EMS model measures the instantaneous power, voltage, and current of these devices using telemetry equipment; in reality, both are measuring the same equipment. However, in actual business systems, electricity meters need to be associated with corresponding power grid models to support operations. Since the TMR system and EMS system are two independent systems, they provide separate data when supporting third-party business systems. These systems require manual matching of the TMR system's electricity meters with the EMS's power grid models (primarily by name). This method is inefficient and cumbersome; furthermore, it's difficult to effectively troubleshoot errors in individual device associations. The industry lacks a simple and effective technical solution to address these issues. Summary of the Invention
[0003] The purpose of this invention is to provide a meter matching method, system, electronic device, storage medium, and program product to achieve automatic matching between TMR system meters and EMS system meters.
[0004] To achieve the above objectives, the present invention provides a meter matching method, comprising the following steps: obtaining the daily collected electricity consumption of the TMR system meter of any device in the plant; obtaining the daily integrated electricity consumption of the EMS system of the device; obtaining the daily collected electricity consumption and the daily integrated electricity consumption of the device for multiple consecutive days; calculating the correlation coefficient between the daily collected electricity consumption and the daily integrated electricity consumption of the device based on the obtained daily collected electricity consumption and the daily integrated electricity consumption for multiple days; calculating the deviation rate between the daily collected electricity consumption and the daily integrated electricity consumption of the device based on the obtained daily collected electricity consumption and the daily integrated electricity consumption for multiple days; and determining the device, if the correlation coefficient of the device is greater than a first preset threshold and the deviation rate of the device is less than a second preset threshold, then matching the TMR system meter of the device with the EMS system of the device.
[0005] Optionally, obtaining the daily electricity consumption of the TMR system meter of any device in the plant specifically includes: obtaining the first frozen reading of the meter at midnight of the current day; obtaining the second frozen reading of the meter at midnight of the previous day; obtaining the multiplier of the meter; and obtaining the daily electricity consumption based on the first frozen reading, the second frozen reading, and the multiplier.
[0006] Optionally, obtaining the daily integrated power consumption of the EMS system of the equipment in the plant specifically includes: setting a preset number of collection times, obtaining the power of the equipment at any collection time; calculating the average power of the equipment based on the obtained power; and obtaining the daily integrated power consumption based on the average power.
[0007] Optionally, the step of calculating the correlation coefficient between the daily collected electricity and the daily integrated electricity of the device based on the acquired daily collected electricity and the daily integrated electricity over multiple days specifically includes: calculating the Pearson correlation coefficient between the daily collected electricity and the daily integrated electricity of the device based on the acquired daily collected electricity and the daily integrated electricity over multiple days.
[0008] Optionally, the step of calculating the deviation rate between the daily collected electricity and the daily integrated electricity of the device based on the acquired daily collected electricity and daily integrated electricity over multiple days specifically includes: calculating the average daily collected electricity of the device over multiple days; calculating the average daily integrated electricity of the device over multiple days; and calculating the deviation rate between the daily collected electricity and the daily integrated electricity of the device based on the average daily collected electricity and the average daily integrated electricity.
[0009] Optionally, the step of calculating the deviation rate between the daily collected electricity and the daily integrated electricity of the device based on the average daily collected electricity and the average daily integrated electricity specifically includes: using the absolute value of the difference between the average daily collected electricity and the average daily integrated electricity as the numerator, and using the average daily collected electricity or the average daily integrated electricity as the denominator, to calculate the deviation rate between the daily collected electricity and the daily integrated electricity of the device.
[0010] To achieve the above objectives, the present invention also provides a matching system, comprising: a first acquisition module for acquiring the daily collected electricity of the TMR system meter of any device in the plant; a second acquisition module for acquiring the daily integrated electricity of the EMS system of the device; a third acquisition module for acquiring the daily collected electricity and the daily integrated electricity of the device over multiple consecutive days; a first calculation module for calculating the correlation coefficient between the daily collected electricity and the daily integrated electricity of the device based on the acquired daily collected electricity and the daily integrated electricity over multiple days; a second calculation module for calculating the deviation rate between the daily collected electricity and the daily integrated electricity of the device based on the acquired daily collected electricity and the daily integrated electricity over multiple days; and a determination module for determining the device, wherein if the correlation coefficient of the device is greater than a first preset threshold and the deviation rate of the device is less than a second preset threshold, the TMR system meter of the device is matched with the EMS system of the device.
[0011] To achieve the above objectives, the present invention also provides an electronic device, comprising: a memory storing a computer program; a processor communicatively connected to the memory, which executes the meter matching method described above when the computer program is invoked; and a display communicatively connected to the processor and the memory, used to display a GUI interactive interface related to the meter matching method.
[0012] To achieve the above objectives, the present invention also provides a readable storage medium storing a computer program that, when executed by a processor, implements the meter matching method described in any of the preceding claims.
[0013] To achieve the above objectives, the present invention also provides a computer program product that, when executed by a processor, implements the meter matching method described in any of the preceding claims.
[0014] The meter matching method, system, electronic device, storage medium, and program product provided by this invention have the following beneficial effects:
[0015] This invention provides a meter matching method, comprising the following steps: obtaining the daily collected electricity from the TMR system meter of any device in a power plant; obtaining the daily integrated electricity from the EMS system of that device; obtaining the daily collected electricity and the daily integrated electricity from that device over several consecutive days; calculating the correlation coefficient between the daily collected electricity and the daily integrated electricity based on the obtained daily collected electricity and the daily integrated electricity over the several days; calculating the deviation rate between the daily collected electricity and the daily integrated electricity based on the obtained daily collected electricity and the daily integrated electricity over the several days; and determining whether the device's TMR system meter is matched with its EMS system if the correlation coefficient of that device is greater than a first preset threshold and the deviation rate of that device is less than a second preset threshold. In this way, this invention utilizes the correlation coefficient and the deviation rate as two indicators to study the correlation between the daily collected electricity and the daily integrated electricity, thereby achieving the matching of the TMR system meter and the EMS system at the underlying algorithm level. Maintenance personnel only need to verify the automatic matching results. For the very few meters and grid models that fail to match, manual association is sufficient. The vast majority of meters and grid models can be automatically matched, greatly improving the efficiency and accuracy of meter and grid model matching, reducing the workload of maintenance personnel, and increasing work efficiency.
[0016] This invention also provides a matching system for executing any of the meter matching methods described above. Therefore, the matching system can utilize two indicators, correlation coefficient and deviation rate, to study the correlation between the daily collected electricity and the daily integrated electricity, thereby achieving matching between TMR system meters and EMS systems at the underlying algorithm level. Maintenance personnel only need to verify the automatic matching results. For a very small number of meters and grid models that fail to match, manual association is sufficient. The vast majority of meters and grid models can be automatically matched, greatly improving the matching efficiency and accuracy of metering and grid models, reducing the workload of maintenance personnel, and increasing work efficiency.
[0017] This invention also provides an electronic device used to execute any of the aforementioned meter matching methods. Therefore, the electronic device can utilize two indicators, correlation coefficient and deviation rate, to study the correlation between the daily collected electricity consumption and the daily integrated electricity consumption, thereby achieving matching between the TMR system meters and the EMS system at the underlying algorithm level. Maintenance personnel only need to verify the automatic matching results; for a very small number of meters and grid models that fail to match, manual association is sufficient. The vast majority of meters and grid models can be automatically matched, greatly improving the matching efficiency and accuracy of metering and grid models, reducing the workload of maintenance personnel, and increasing work efficiency.
[0018] This invention also provides a readable storage medium for executing any of the meter matching methods described above. Therefore, the readable storage medium can utilize two indicators, correlation coefficient and deviation rate, to study the correlation between the daily collected electricity and the daily integrated electricity, thereby achieving matching between the TMR system meters and the EMS system at the underlying algorithm level. Maintenance personnel only need to verify the automatic matching results. For a very small number of meters and grid models that fail to match, manual association is sufficient. The vast majority of meters and grid models can be automatically matched, greatly improving the matching efficiency and accuracy of metering and grid models, reducing the workload of maintenance personnel, and increasing work efficiency.
[0019] This invention also provides a computer program product for executing any of the aforementioned meter matching methods. Therefore, the computer program product can utilize two indicators, correlation coefficient and deviation rate, to study the correlation between the daily collected electricity consumption and the daily integrated electricity consumption, thereby achieving matching between the TMR system meters and the EMS system at the underlying algorithm level. Maintenance personnel only need to verify the automatic matching results; for a very small number of meters and grid models that fail to match, manual association is sufficient. The vast majority of meters and grid models can be automatically matched, greatly improving the matching efficiency and accuracy of metering and grid models, reducing the workload of maintenance personnel, and increasing work efficiency. Attached Figure Description
[0020] Figure 1 This is a flowchart illustrating a meter matching method according to an embodiment of the present invention.
[0021] Figure 2 This is a block diagram of an electronic device provided according to an embodiment of the present invention;
[0022] The attached figures are labeled as follows:
[0023] 101-Processor; 102-Communication interface; 103-Memory; 104-Communication bus; 105-Display. Detailed Implementation
[0024] To make the objectives, advantages, and features of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that the drawings are all in a very simplified form and are not drawn to scale, and are only used to facilitate and clarify the explanation of the embodiments of this invention. Furthermore, the structures shown in the drawings are often part of the actual structures. In particular, different figures may emphasize different aspects and may sometimes use different scales.
[0025] It should be understood that when an element or layer is referred to as "on" or "connected to" other elements or layers, it may be directly on or connected to other elements or layers, or there may be intervening elements or layers. Conversely, when an element is referred to as "directly on" or "directly connected to" other elements or layers, there are no intervening elements or layers. Although the terms first, second, third, etc., may be used to describe various elements, components, areas, layers, and / or portions, these elements, components, areas, layers, and / or portions should not be limited by these terms. These terms are only used to distinguish one element, component, area, layer, or portion from another element, component, area, layer, or portion. Therefore, without departing from the teachings of this invention, the first element, component, area, layer, or portion discussed below may be referred to as a second element, component, area, layer, or portion. Spatial relation terms such as "below," "under," "below," "above," "on top," "above," etc., may be used herein for convenience of description to describe the relationship between one element or feature shown in the figures and other elements or features. It should be understood that, in addition to the orientations shown in the figures, spatial relational terms are intended to also include different orientations of the devices in use and operation. For example, if the devices in the figures are flipped, then elements or features described as “below,” “under,” or “below” will be oriented “on” other elements or features. Devices may be oriented additionally (rotated 90 degrees or otherwise) and the spatial descriptive terms used herein will be interpreted accordingly. The terminology used herein is intended only to describe particular embodiments and is not intended to limit the invention. When used herein, the singular forms “a,” “an,” and “the” are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “comprising” is used to identify the presence of features, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, steps, operations, elements, components, and / or groups. When used herein, the terms “and / or” include any and all combinations of the associated listed items.
[0026] The purpose of this invention is to provide a meter matching method, system, electronic device, storage medium, and program product to achieve automatic matching between TMR system meters and EMS system meters.
[0027] Please refer to Figure 1 , Figure 1 This is a schematic flowchart of a meter matching method provided in an embodiment of the present invention. Figure 1 As shown, to achieve the above objective, the present invention provides a meter matching method, comprising the following steps:
[0028] Obtain the daily electricity consumption collected by the TMR system meter of any device in the plant; obtain the daily accumulated electricity consumption of the EMS system of that device;
[0029] The daily collected power consumption and the daily integrated power consumption of the device are obtained over several consecutive days.
[0030] Based on the daily collected electricity and daily integrated electricity obtained over multiple days, calculate the correlation coefficient between the daily collected electricity and the daily integrated electricity of the device;
[0031] Based on the daily collected electricity and daily integrated electricity obtained over multiple days, calculate the deviation rate between the daily collected electricity and the daily integrated electricity of the device;
[0032] If the correlation coefficient of the device is greater than a first preset threshold and the deviation rate of the device is less than a second preset threshold, then the TMR system meter of the device is matched with the EMS system of the device.
[0033] With this setup, the present invention utilizes two indicators, correlation coefficient and deviation rate, to study the correlation between the daily collected electricity and the daily integrated electricity, thereby achieving matching between the TMR system meters and the EMS system at the underlying algorithm level. Maintenance personnel only need to verify the automatic matching results. For the very few meters and grid models that fail to match, manual association is sufficient. The vast majority of meters and grid models can be automatically matched, greatly improving the matching efficiency and accuracy of metering and grid models, reducing the workload of maintenance personnel, and increasing work efficiency.
[0034] It should be noted that both the daily collected electricity and the daily integrated electricity include forward active power and reverse active power. Electricity consumption and transmission have specific directions and properties. When power flows to the user, it is called forward active energy, which is the actual energy consumed, usually measured in kilowatt-hours (kWh). This energy calculation is based on the integration of active power over time. In contrast, there is reverse active energy, which is the energy generated when power flows from the user to the system. In three-phase three-wire energy meters, this energy is further subdivided into forward active, forward reactive, reverse active, and reverse reactive. Power measurement involves directional assumptions; generally, the direction from the system to the user is considered positive. Therefore, when power flows from the system to the user, it is considered forward power; conversely, when power flows from the user to the system, it is reverse active power. From the user's perspective, forward active energy represents the consumption of electricity, while reverse active energy indicates that electricity is being transmitted to the system. These energy transfers are real and can be caused by various factors, such as the power generation capacity of the user's internal power generation equipment exceeding the power consumption, or large equipment continuing to operate and acting as a generator during a power outage. It should be noted in this application that the daily collected electricity and daily integrated electricity correspondence studies for positive active power, and the daily collected electricity and daily integrated electricity correspondence studies for reverse active power, should not be confused and will not be elaborated upon further here.
[0035] It should be understood that some electricity meters, due to the large voltage and current of the corresponding equipment, require the use of voltage and current transformers to adjust the transformation ratio, thus resulting in a ratio. Therefore, the ratio should be considered as a parameter in the calculation process. Based on this, the present invention further provides the following technical solution:
[0036] The acquisition of the daily electricity consumption data from the TMR system meter of any device in the plant specifically includes:
[0037] Obtain the first frozen reading of the device's electricity meter at midnight of the day;
[0038] Obtain the second frozen reading of the device's electricity meter at midnight of the previous day;
[0039] Obtain the multiplier of the meter for this device;
[0040] The daily collected electricity is obtained based on the first frozen value, the second frozen value, and the multiplier.
[0041] Specifically, it can be calculated according to the following formula:
[0042] Energy = (Final Code - Initial Code) * Multiplier
[0043] in
[0044] The last code represents the meter's frozen reading at 00:00 on that day;
[0045] The initial base code is the value frozen at 0:00 the previous day;
[0046] The ratio is the voltage and current transformer ratio of the meter.
[0047] Specifically, obtaining the daily integrated electricity consumption of the EMS system of the equipment at the plant includes:
[0048] In one exemplary embodiment, a preset number of data acquisition times are set to obtain the power of the device at any one acquisition time.
[0049] Calculate the average power of the device based on the obtained power;
[0050] The daily integrated power consumption is obtained based on the average power.
[0051] Specifically, it can be calculated according to the following formula:
[0052]
[0053] P i This represents the power data at a specific moment; n is the number of power data points. (Normally, this is 288, meaning one data point every 5 minutes.)
[0054] More specifically, the step of calculating the correlation coefficient between the daily collected electricity and the daily integrated electricity based on the acquired daily collected electricity and daily integrated electricity over multiple days specifically includes:
[0055] Based on the daily collected electricity and daily integrated electricity obtained over multiple days, the Pearson correlation coefficient between the daily collected electricity and the daily integrated electricity of the device is calculated.
[0056] The formula for the Pearson correlation coefficient is as follows:
[0057]
[0058] in:
[0059] r is the Pearson coefficient;
[0060] n is the total number of days. For example, if n is 30, then the daily collected electricity and the daily integrated electricity will be obtained for 30 days.
[0061] X i The daily electricity consumption value for the i-th day out of n days;
[0062] Y i The daily electricity consumption value for the i-th day out of n days;
[0063] It is n Xi The average value;
[0064] There are n Ys i The average value.
[0065] The Pearson correlation coefficient represents the correlation between two sets of data, with a value range of [-1, 1], where 1 indicates a perfect positive correlation, -1 indicates a perfect negative correlation, and 0 indicates no linear correlation.
[0066] Furthermore, the step of calculating the deviation rate between the daily collected electricity and the daily integrated electricity based on the acquired daily collected electricity and daily integrated electricity over multiple days specifically includes:
[0067] Calculate the average daily power consumption collected by the device over multiple days;
[0068] Calculate the average daily integrated power consumption of the device over multiple days;
[0069] The deviation rate between the daily collected electricity and the daily integrated electricity of the device is calculated based on the average daily collected electricity and the average daily integrated electricity.
[0070] Specifically, calculating the deviation rate between the daily collected electricity and the daily integrated electricity based on the average daily collected electricity and the average daily integrated electricity includes:
[0071] The deviation rate between the daily collected electricity and the daily integrated electricity is calculated using the absolute value of the difference between the average daily collected electricity and the average daily integrated electricity as the numerator, and the average daily collected electricity or the average daily integrated electricity as the denominator (i.e., the denominator can be either of the two, but once it is determined to use one, the same parameter must be used uniformly).
[0072] In one exemplary embodiment, a first preset threshold corresponding to the Pearson correlation coefficient is set to 0.95, and a second preset threshold corresponding to the deviation rate is set to 0.05.
[0073] Once completed, the data accuracy can be manually verified. After the electricity meter and the power grid model are automatically matched, manual verification is performed based on the meter name and the power grid model name. For a very small number of devices whose data cannot be automatically associated due to data quality issues, manual processing is required.
[0074] To achieve the above objectives, the present invention also provides a matching system, comprising:
[0075] The first acquisition module is used to acquire the daily electricity consumption of the TMR system meter of any device in the plant.
[0076] The second acquisition module is used to acquire the daily accumulated electricity consumption of the device's EMS system.
[0077] The third acquisition module is used to acquire the daily collected power consumption and the daily accumulated power consumption of the device over multiple consecutive days;
[0078] The first calculation module is used to calculate the correlation coefficient between the daily collected electricity and the daily integrated electricity of the device based on the daily collected electricity and the daily integrated electricity obtained over multiple days.
[0079] The second calculation module is used to calculate the deviation rate between the daily collected electricity and the daily integrated electricity of the device based on the daily collected electricity and the daily integrated electricity acquired over multiple days.
[0080] The determination module is used to determine the device. If the correlation coefficient of the device is greater than a first preset threshold and the deviation rate of the device is less than a second preset threshold, then the TMR system meter of the device is matched with the EMS system of the device.
[0081] Since the matching system is used to execute any of the meter matching methods described above, it can utilize correlation coefficients and deviation rates to study the correlation between the daily collected electricity and the daily integrated electricity, thereby achieving the matching of TMR system meters and EMS system at the underlying algorithm level. Maintenance personnel only need to verify the automatic matching results; for a very small number of meters and grid models that fail to match, manual association is sufficient. The vast majority of meters and grid models can be automatically matched, greatly improving the matching efficiency and accuracy of metering and grid models, reducing the workload of maintenance personnel, and increasing work efficiency.
[0082] Since the matching system provided by this invention belongs to the same inventive concept as the meter matching method described above, the matching system provided by this invention has all the advantages of the meter matching method described above. Therefore, the beneficial effects of the matching system provided by this invention will not be described in detail here.
[0083] To achieve the above objectives, the present invention also provides an electronic device, please refer to... Figure 2 , Figure 2 This is a block diagram of an electronic device according to an embodiment of the present invention. Figure 2 As shown, the electronic device includes:
[0084] Memory 103 stores computer programs;
[0085] The processor 101 is communicatively connected to the memory and executes the meter matching method described above when calling the computer program;
[0086] Display 105, which is communicatively connected to the processor and the memory, is used to display a GUI interactive interface related to the meter matching method.
[0087] like Figure 2 As shown, the electronic device also includes a communication interface 102 and a communication bus 104, wherein the processor 101, the communication interface 102, and the memory 103 communicate with each other via the communication bus 104. The communication bus 104 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus 104 can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is used in the figure, but this does not indicate that there is only one bus or one type of bus. The communication interface 102 is used for communication between the aforementioned electronic device and other devices.
[0088] The processor 101 referred to in this invention can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor. The processor 101 is the control center of the electronic device, connecting various parts of the electronic device through various interfaces and lines.
[0089] The memory 103 can be used to store the computer program. The processor 101 implements various functions of the electronic device by running or executing the computer program stored in the memory 103 and calling the data stored in the memory 103.
[0090] The memory 103 may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.
[0091] Because the electronic device is used to execute any of the meter matching methods described above, it can utilize correlation coefficients and deviation rates to study the correlation between the daily collected electricity consumption and the daily integrated electricity consumption. This achieves matching between the TMR system meters and the EMS system at the underlying algorithm level. Maintenance personnel only need to verify the automatic matching results. For a very small number of meters and grid models that fail to match, manual association is sufficient. The vast majority of meters and grid models can be automatically matched, greatly improving the matching efficiency and accuracy of metering and grid models, reducing the workload of maintenance personnel, and increasing work efficiency.
[0092] Since the electronic device provided by this invention belongs to the same inventive concept as the meter matching method described above, the electronic device provided by this invention has all the advantages of the meter matching method described above. Therefore, the beneficial effects of the electronic device provided by this invention will not be described in detail here.
[0093] To achieve the above objectives, this invention provides a readable storage medium storing a computer program that, when executed by a processor, implements the meter matching method as described in any of the preceding claims. Since the readable storage medium is used to execute any of the aforementioned meter matching methods, it can utilize two indicators—correlation coefficient and deviation rate—to study the correlation between the daily collected electricity consumption and the daily integrated electricity consumption, thereby achieving the matching of TMR system meters and EMS systems at the underlying algorithm level. Maintenance personnel only need to ultimately verify the automatic matching results; for a very small number of meters and grid models that fail to match, manual association is sufficient. The vast majority of meters and grid models can be automatically matched, greatly improving the matching efficiency and accuracy of metering and grid models, reducing the workload of maintenance personnel, and increasing work efficiency.
[0094] Since the readable storage medium provided by this invention belongs to the same inventive concept as the meter matching method described above, the readable storage medium provided by this invention has all the advantages of the meter matching method described above. Therefore, the beneficial effects of the readable storage medium provided by this invention will not be described in detail here.
[0095] The readable storage medium of embodiments of the present invention can be any combination of one or more computer-readable media. The readable medium can be a computer-readable signal medium or a computer-readable storage medium. Computer-readable storage media can be, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: electrical connections having one or more wires, portable computer hard disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, apparatus, or device.
[0096] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transfer a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber, RF, etc., or any suitable combination thereof.
[0097] The present invention also provides a computer program product that, when executed by a processor, implements the meter matching method described in any of the preceding claims.
[0098] This invention also provides a computer program product for executing any of the aforementioned meter matching methods. Therefore, the computer program product can utilize two indicators, correlation coefficient and deviation rate, to study the correlation between the daily collected electricity consumption and the daily integrated electricity consumption, thereby achieving matching between the TMR system meters and the EMS system at the underlying algorithm level. Maintenance personnel only need to verify the automatic matching results; for a very small number of meters and grid models that fail to match, manual association is sufficient. The vast majority of meters and grid models can be automatically matched, greatly improving the matching efficiency and accuracy of metering and grid models, reducing the workload of maintenance personnel, and increasing work efficiency.
[0099] Since the computer program product provided by this invention and the meter matching method described above belong to the same inventive concept, the computer program product provided by this invention has all the advantages of the meter matching method described above. Therefore, the beneficial effects of the computer program product provided by this invention will not be described in detail here.
[0100] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the systems disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple, and relevant parts can be referred to the method section.
[0101] It should also be noted that although the present invention has been disclosed above with reference to preferred embodiments, these embodiments are not intended to limit the present invention. For any person skilled in the art, many possible variations and modifications can be made to the technical solutions of the present invention based on the disclosed technical content, or equivalent embodiments can be modified accordingly, without departing from the scope of the present invention. Therefore, any simple modifications, equivalent changes, and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the present invention shall still fall within the scope of protection of the present invention.
[0102] It should also be understood that, unless otherwise specified or indicated, the terms “first,” “second,” “third,” etc., in the specification are used only to distinguish the various components, elements, and steps in the specification, and not to indicate the logical or sequential relationships between the various components, elements, and steps.
[0103] Furthermore, it should be recognized that the terminology described herein is used only to describe particular embodiments and not to limit the scope of the invention. It must be noted that the singular forms “a” and “an” used herein and in the appended claims include plural bases unless the context clearly indicates otherwise. For example, a reference to “a step” or “an apparatus” means a reference to one or more steps or apparatuses, and may include secondary steps and secondary apparatuses. All conjunctions used should be understood in the broadest sense. And the word “or” should be understood to have the definition of logical “or” rather than logical “exclusive OR”, unless the context clearly indicates otherwise. Furthermore, implementation of embodiments of the invention may include performing selected tasks manually, automatically, or in combination.
Claims
1. A method for matching electricity meters, characterized in that, Includes the following steps: Obtain the daily electricity consumption collected by the TMR system meter of any device in the plant; Obtain the daily accumulated electricity consumption of the device's EMS system; The daily collected power consumption and the daily integrated power consumption of the device are obtained over several consecutive days. Based on the daily collected electricity and daily integrated electricity obtained over multiple days, calculate the Pearson correlation coefficient between the daily collected electricity and the daily integrated electricity of the device; Based on the daily collected electricity and daily integrated electricity obtained over multiple days, calculate the deviation rate between the daily collected electricity and the daily integrated electricity of the device; For this device, if the Pearson correlation coefficient of the device is greater than a first preset threshold and the deviation rate of the device is less than a second preset threshold, then the TMR system meter of the device is matched with the EMS system of the device; obtaining the daily collected electricity of the TMR system meter of any device in the plant specifically includes: Obtain the first frozen reading of the device's electricity meter at midnight of the day; Obtain the second frozen reading of the device's electricity meter at midnight of the previous day; Obtain the multiplier of the meter for this device; The daily electricity consumption is obtained based on the first frozen value, the second frozen value, and the multiplier. The step of calculating the deviation rate between the daily collected electricity and the daily integrated electricity based on the acquired daily collected electricity and daily integrated electricity over multiple days specifically includes: Calculate the average daily power consumption collected by the device over multiple days; Calculate the average daily integrated power consumption of the device over multiple days; Based on the average daily collected electricity and the average daily integrated electricity, calculate the deviation rate between the daily collected electricity and the daily integrated electricity of the device; The step of calculating the deviation rate between the daily collected electricity and the daily integrated electricity based on the average daily collected electricity and the average daily integrated electricity specifically includes: The deviation rate between the daily collected electricity and the daily integrated electricity is calculated by using the absolute value of the difference between the average daily collected electricity and the average daily integrated electricity as the numerator, and using either the average daily collected electricity or the average daily integrated electricity as the denominator.
2. The meter matching method as described in claim 1, characterized in that, The acquisition of the daily accumulated power consumption of the device's EMS system specifically includes: Set a preset number of data collection times to obtain the power of the device at any one data collection time. Calculate the average power of the device based on the obtained power; The daily integrated power consumption is obtained based on the average power.
3. A matching system, characterized in that, The meter matching method as described in any one of claims 1-2 includes: The first acquisition module is used to acquire the daily electricity consumption of the TMR system meter of any device in the plant. The second acquisition module is used to acquire the daily accumulated electricity consumption of the device's EMS system. The third acquisition module is used to acquire the daily collected power consumption and the daily accumulated power consumption of the device over multiple consecutive days; The first calculation module is used to calculate the correlation coefficient between the daily collected electricity and the daily integrated electricity of the device based on the daily collected electricity and the daily integrated electricity obtained over multiple days. The second calculation module is used to calculate the deviation rate between the daily collected electricity and the daily integrated electricity of the device based on the daily collected electricity and the daily integrated electricity acquired over multiple days. The determination module is used to determine the device. If the correlation coefficient of the device is greater than a first preset threshold and the deviation rate of the device is less than a second preset threshold, then the TMR system meter of the device is matched with the EMS system of the device.
4. An electronic device, characterized in that, The electronic device includes: Memory, which stores computer programs; The processor, which is communicatively connected to the memory, executes the meter matching method as described in any one of claims 1-2 when the computer program is invoked. A display, communicatively connected to the processor and the memory, is used to display a GUI interface related to the meter matching method.
5. A readable storage medium storing a computer program, characterized in that: When the computer program is executed by the processor, it implements the meter matching method as described in any one of claims 1-2.
6. A computer program product, characterized in that, When the computer program product is executed by a processor, it implements the meter matching method as described in any one of claims 1-2.
Citation Information
Patent Citations
Method for verifying electric quantity data based on calculation of electric power load integrals
CN104573366A