Accurate analysis and verification method for metering data of electric energy meter
By calculating the power consumption difference of the electric energy meter and using a clustering algorithm to identify abnormal electric energy meters, the problems of measurement error and low detection efficiency of smart electric energy meters are solved, and efficient electric energy meter calibration is achieved.
Patent Information
- Application Number
- CN202410777749.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-06-17
AI Technical Summary
Long-term use and harsh environments of smart energy meters lead to large measurement errors and low detection efficiency, making it difficult to detect and calibrate abnormal energy meters in a timely manner.
By obtaining the electricity consumption data of each energy meter, the electricity consumption difference is calculated. If it exceeds the threshold, the electricity consumption feature vector is obtained and analyzed using a clustering algorithm to identify abnormal energy meters, thereby improving detection efficiency.
Accurately identify energy meters with abnormalities or large measurement errors, reduce detection time, improve detection efficiency, and achieve targeted calibration.
Smart Images

Figure CN118734104A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric energy meter measurement, and in particular to a method for accurately analyzing and verifying electric energy meter measurement data. Background Art
[0002] With the advancement of technology, the degree of intelligence in residential communities is getting higher and higher, and the electricity meters used are basically electronic smart electricity meters; the electricity meters of each household in the community are usually installed in a relatively fixed and hidden location, the environment of the installation location may be relatively harsh, and after the electricity meters are installed, they will not be replaced or maintained for several years or even more than ten years; during the use of the electricity meters, due to the long use time, the components of the electricity meters will age, and at the same time, the temperature changes in the environment where the electricity meters are located will also affect the accuracy of the electricity meter's measurement, making the metering error of the electricity meter larger. If each electricity meter is tested, it will take a long time and the detection efficiency will be low. Summary of the invention
[0003] In view of the above technical problems, the technical solution adopted by the present invention is:
[0004] The present application provides a method for accurately analyzing and verifying electric energy meter measurement data, the method comprising the following steps:
[0005] S100, obtaining the power consumption measured by each electric energy meter in the preset area on the day to obtain a measured power consumption list A=(A1, A2, ..., A i , …, A n ), i=1, 2,...,n; where, A i is the metered power consumption corresponding to the i-th electric energy meter, and n is the number of electric energy meters in the preset area.
[0006] S200, obtaining the first total power consumption QZ measured by the total power meter corresponding to the preset area on the day now .
[0007] S300, if |HZ now -QZ noow |>ΔQ, then obtain the characteristic vector of the electricity consumption of each user on that day to obtain the characteristic vector list of the electricity consumption on that day B=(B1,B2,…,B i , …, B n ), where B i is the characteristic vector of the electricity consumption of the i-th user on that day; HZ now is the second total power consumption corresponding to each electric energy meter on that day; ΔQ is the preset total power consumption difference threshold; B i =(B i,1 , B i,2 , …, B i,j , …, Bi,m ), j = 1, 2, ..., m; B i,j is the jth element in the daily electricity consumption feature vector corresponding to the ith user, and m is the number of elements in the daily electricity consumption feature vector corresponding to each user.
[0008] S400, using a preset clustering algorithm, clustering all the daily electricity usage feature vectors in B to obtain a plurality of clusters; wherein each cluster includes at least two daily electricity usage feature vectors.
[0009] S500: The electric energy meter corresponding to the discrete daily electricity consumption feature vector remaining after clustering is determined as the electric energy meter to be detected.
[0010] The present invention has at least the following beneficial effects:
[0011] The method for accurately analyzing and verifying the metering data of electric energy meters of the present invention obtains the electric energy consumption measured by each electric energy meter in a preset area on the same day and the first total electric energy consumption measured by the total electric energy meter corresponding to the preset area on the same day. If the difference between the second total electric energy consumption corresponding to each electric energy meter on the same day and the first total electric energy consumption is greater than the preset total electric energy consumption difference threshold, the characteristic vector of the electric energy consumption corresponding to each user on the same day is obtained to obtain a list B of characteristic vectors of the electric energy consumption on the same day; all elements in all characteristic vectors of the electric energy consumption on the same day in B are clustered using a preset clustering algorithm to obtain a cluster list C; the electric energy meter corresponding to the cluster with 1 element in the cluster is determined as the electric energy meter to be detected; thereby accurately determining the electric energy meter with abnormalities or large metering errors, so that the electric energy meter with abnormalities can be calibrated in a targeted manner later, thereby reducing the detection time and improving the detection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0013] Figure 1 A flowchart of a method for accurately analyzing and verifying electric energy meter measurement data provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0014] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0015] It should be noted that, based on the present disclosure, those skilled in the art should understand that an aspect described herein can be implemented independently of any other aspect, and two or more of these aspects can be combined in various ways. For example, any number of aspects described herein can be used to implement a device and / or practice a method. In addition, other structures and / or functionalities other than one or more of the aspects described herein can be used to implement this device and / or practice this method.
[0016] The following will refer to Figure 1 The flowchart of the method for accurate analysis and verification of the metering data of an electric energy meter shown in the figure introduces a method for accurate analysis and verification of the metering data of an electric energy meter.
[0017] The method for accurately analyzing and verifying the electric energy meter measurement data may include the following steps:
[0018] S100, obtaining the power consumption measured by each electric energy meter in the preset area on the day to obtain a measured power consumption list A=(A1, A2, ..., A i , …, A n ), i=1, 2,...,n; where, A i is the metered power consumption corresponding to the i-th electric energy meter, and n is the number of electric energy meters in the preset area.
[0019] In this embodiment, the preset area may be a residential area. Taking a residential area as an example, each household in the residential area is equipped with an electricity meter. Therefore, the electricity consumption of each user measured by the electricity meter corresponding to the user can be obtained at any time to obtain A; it should be noted that, in this embodiment, the detection is performed in days as the time unit, and the electricity consumption measured by each electricity meter in the preset area within the day can be obtained at the preset time point of each day; the preset time point may be 24:00 every day.
[0020] S200, obtaining the first total power consumption QZ measured by the total power meter corresponding to the preset area on the day now .
[0021] In this embodiment, a total electric energy meter is also installed in the preset area, and the total electric energy meter is responsible for measuring the total power consumption of all users in the entire preset area; it should be noted that the total electric energy meter is regularly tested to ensure the accuracy of the total electric energy meter measurement; while obtaining the power consumption measured by each electric energy meter in the preset area on the day, the first total power consumption QZ measured by the total electric energy meter corresponding to the preset area on the day is obtained. now ; That is, step S100 and step S200 are executed at the same time to ensure the accuracy of subsequent calculations.
[0022] S300, if |HZ now -QZnoow |>ΔQ, then obtain the characteristic vector of the electricity consumption of each user on that day to obtain the characteristic vector list of the electricity consumption on that day B=(B1,B2,…,B i , …, B n ), where B i is the characteristic vector of the electricity consumption of the i-th user on that day; HZ now is the second total power consumption corresponding to each electric energy meter on that day; ΔQ is the preset total power consumption difference threshold; B i =(B i,1 , B i,2 , …, B i,j , …, B i,m ), j = 1, 2, ..., m; B i,j is the jth element in the daily electricity consumption feature vector corresponding to the ith user, and m is the number of elements in the daily electricity consumption feature vector corresponding to each user.
[0023] In this embodiment, it can be understood that if the electric energy meter corresponding to each user in the preset area is accurate, then |HZ now -QZ noow |=0; and the total electric energy meter corresponding to the preset area is accurate. If |HZ now -QZ noow |>ΔQ, it means that there are one or more abnormal electric energy meters among the electric energy meters corresponding to the user. At this time, the feature vector of the electric energy consumption corresponding to each user on that day is obtained to obtain a list B of the feature vectors of the electric energy consumption on that day.
[0024] Furthermore, B i This can be determined by the following steps:
[0025] S310, divide each day into m continuous time periods to obtain a time period list T = (T1, T2, ..., T j ,…,T m ), where T j The j-th time period is obtained by evenly dividing each day into m consecutive time periods.
[0026] S320: The T of T corresponding to the i-th electric energy meter on that day is j The sub-power consumption of internal metering is determined as B i,j , to get B i .
[0027] In this embodiment, under normal circumstances, the power consumption of each user in the same time period of each day is highly similar; and each day is 24 hours, and each day can be evenly divided into m continuous time periods; the time period can be 1min-10min, for example: the time period is 5min, and each day can be divided into 288 continuous time periods; each electric energy meter measures sub-power consumption in each time period, and the T of the i-th electric energy meter corresponding to the day can be j The sub-power consumption of internal metering is determined as B i,j , to get B i .
[0028] S400, using a preset clustering algorithm, clustering all the daily electricity usage feature vectors in B to obtain a plurality of clusters; wherein each cluster includes at least two daily electricity usage feature vectors.
[0029] In this embodiment, the preset clustering algorithm may be the DBSCAN clustering algorithm. When clustering all the daily electricity consumption feature vectors in B, the clustering conditions include: each cluster includes at least two daily electricity consumption feature vectors; thus, relatively similar daily electricity consumption feature vectors can be clustered into one cluster; it can be understood that C p It contains at least two feature vectors of electricity consumption on that day.
[0030] S500: The electric energy meter corresponding to the discrete daily electricity consumption feature vector remaining after clustering is determined as the electric energy meter to be detected.
[0031] In this embodiment, when clustering B, the clustering condition includes that each cluster includes at least two daily electricity consumption feature vectors; therefore, similar daily electricity consumption feature vectors can be clustered into one cluster as much as possible; and if there are still discrete daily electricity consumption feature vectors under this condition, it means that the discrete daily electricity consumption feature vector cannot be clustered into one cluster with any other daily electricity consumption feature vector, so that it can be determined that the electric energy meter corresponding to the daily electricity consumption feature vector is abnormal or the measurement is inaccurate, and it is determined as the electric energy meter to be detected for further detection.
[0032] Furthermore, after step S500, the method may further include the following steps:
[0033] S600: If the number of the electric energy meters to be detected is greater than 1, obtain the priority of each electric energy meter to be detected to obtain a priority list D=(D1, D2, ..., D r , …, D s ), r = 1, 2, ..., s; where D r is the priority corresponding to the rth electric energy meter to be detected, and s is the number of electric energy meters to be detected.
[0034] In this embodiment, if the number of electric energy meters to be detected is 1, the electric energy meter to be detected can be directly detected; however, if the number of electric energy meters to be detected is multiple, for example: the number of electric energy meters to be detected is 50, not all of the 50 electric energy meters to be detected may have problems, and only 10 may have problems; if the electric energy meters to be detected are detected one by one, it will take a long time; therefore, it is necessary to obtain the priority of each electric energy meter to be detected to obtain the priority list D.
[0035] Furthermore, D r This can be determined by the following steps:
[0036] S610, according to A and HZ now , determine the current power consumption weight of each user to obtain the current power consumption weight list λ=(λ1,λ2,…,λ i , …, λ n ), where λ i is the current power consumption weight corresponding to the i-th user; i =A i / HZ now .
[0037] In this embodiment, after obtaining the power consumption measured by each electric energy meter in the preset area on the day, the current power consumption weight of each user can be determined, and then λ can be obtained; it can be understood that the current power consumption weight of each user is the ratio of the power consumption measured by each user's electric energy meter to the second total power consumption corresponding to each electric energy meter on the day.
[0038] S620, obtaining each target day in the preset historical time period to obtain a target day list E=(E1, E2, . . . , E c ,…,E d ), c = 1, 2, ..., d; where E c The cth target day in the preset historical time period, d is the number of target days in the preset historical time period; |E c,1 -E c,2 |≤ΔQ;E c,1 is the second total power consumption of each user’s electric energy meter on the cth target day in the historical time period, E c,2 It is the first total electricity consumption measured by the total electric energy meter corresponding to the preset area on the cth target day in the historical time period.
[0039] In this embodiment, the preset historical time period can be several days before the current day, for example, it can be 100 days before the current day; the second total power consumption corresponding to each user's power meter corresponding to each day and the first total power consumption measured by the total power meter can be obtained. If the absolute value of the difference between the two is less than or equal to ΔQ, it means that the metering data of the day is normal, and the day is determined as the target day, so that E can be obtained.
[0040] Furthermore, ΔQ is determined according to the number of users in a preset area, and ΔQ is positively correlated with the number of users in the preset area; it can be understood that the more users there are in the preset area, the larger the cumulative error corresponding to the electric energy meter of each user is, and ΔQ is also set larger accordingly; the setting of ΔQ can be determined according to historical data.
[0041] S630, obtaining the historical power consumption weight corresponding to each target day in E, so as to obtain a historical power consumption weight list set η = (η1, η2, ..., η c ,…,η d ), where η c is the historical electricity consumption weight corresponding to the cth target day; η c =(η c,1 , η c,2 ,…,η c,i ,…,η c,n );η c,i is the historical electricity consumption weight corresponding to the i-th user on the c-th target day; η c,i =LA c,i / HZ c LA c,i is the metered electricity consumption corresponding to the i-th user in the c-th target day; HZ c It is the second total power consumption corresponding to each electric energy meter in the preset area on the cth target day.
[0042] In this embodiment, the power consumption measured by the power meter of each user in each target day, therefore, a historical power consumption weight list corresponding to each user can be obtained, thereby obtaining η.
[0043] S640, according to λ and η, determine the weight similarity of each historical power consumption weight list in λ and η to obtain a weight similarity list ω=(ω1, ω2, ..., ω c ,…,ω d ), where ω c For λ and η c The similarity between .
[0044] In the present embodiment, it can be understood that the target day is a day with normal electricity consumption metering, and the current day is a day with abnormal electricity consumption metering data. The similarity between the current electricity consumption weight list corresponding to the current day and the historical electricity consumption weight list corresponding to each target day can be obtained to obtain ω; it should be noted that in the present embodiment, the current electricity consumption weight list and the historical electricity consumption weight list can be used as vectors to calculate the similarity between the two. Those skilled in the art can use the existing vector similarity determination method to determine the similarity between the current electricity consumption weight list and the historical electricity consumption weight list, which will not be elaborated here.
[0045] S650, traverse ω, if ω c >ω', the cth target day is determined as the designated day to obtain the designated day list F = (F1, F2, ..., F e , …, F g ), e = 1, 2, ..., g; where F e is the e-th designated day determined, g is the number of designated days determined; ω' is the preset weighted similarity threshold.
[0046] In this embodiment, if ω c >ω', indicating λ and η c With a high similarity, the cth target day is determined as the designated day, so as to determine the detection priority through the feature vector of the historical power consumption corresponding to the designated day.
[0047] S660, according to the rth electric energy meter YU to be detected r The corresponding daily electricity consumption feature vector and YU in each specified day in F r The corresponding historical electricity consumption feature vector determines D r .
[0048] Further, step S660 may include the following steps:
[0049] S661, Get YU r The corresponding daily electricity consumption feature vector WT r =(WT r,1 , WT r,2 , …, WT r,j , …, WT r,m ), where WT r,j It is the sub-power consumption measured by the rth electric energy meter to be tested in the jth time period of the day.
[0050] S662, obtain YU in each specified day in F r The corresponding historical electricity consumption feature vector is used to obtain YU r The corresponding historical electricity consumption feature vector list θ r =(θ r,1,θ r,2 ,…,θ r,e ,…,θ r,g ), where θ r,e for YU r The feature vector of historical electricity consumption corresponding to the e-th specified day.
[0051] S663, Get WT r With θ r The vector similarity of each historical electricity consumption feature vector in , to obtain the vector similarity list μ r =(μ r,1 , μ r,2 ,…,μ r,e ,…,μ r,g ), where μ r,e WT r With θ r,e The vector similarity between ;
[0052] S664, according to μ r , determine D r =1-MIN(μ r ), where MIN() is the preset minimum value function.
[0053] S700, sort all priorities in D to obtain a sorted priority list D'=(D'1, D'2, ..., D' r , …, D' s ), where D' r is the rth priority obtained after sorting all priorities in D; D' a >D' a+1 ; a=1,2,…,s-1.
[0054] S800, calibrating and detecting the electric energy meter to be detected corresponding to each priority level in D' in turn.
[0055] In this embodiment, it can be understood that YU r The measurement error of μ is gradually increasing. r,e The smaller the value, the YU r The larger the corresponding measurement error, the greater the r =1-MIN(μ r ), MIN(μ r ) is smaller, D r The larger the YU r The higher the detection priority, the more accurate the detection of electric energy meters with large recording errors can be, so that electric energy meters with large errors can be calibrated more quickly. During the detection process, if |HZ now -QZ noow|≤ΔQ, there is no need to detect the remaining large number of electric energy meters to be detected, thereby improving the detection efficiency.
[0056] The method for accurately analyzing and verifying the metering data of electric energy meters in the present embodiment obtains the electric energy consumption measured by each electric energy meter in a preset area on the day and the first total electric energy consumption measured by the total electric energy meter corresponding to the preset area on the day. If the difference between the second total electric energy consumption corresponding to each electric energy meter on the day and the first total electric energy consumption is greater than the preset total electric energy consumption difference threshold, the characteristic vector of the electric energy consumption corresponding to each user on the day is obtained to obtain a list B of the characteristic vectors of the electric energy consumption on the day; all elements in all the characteristic vectors of the electric energy consumption on the day in B are clustered using a preset clustering algorithm to obtain a cluster list C; the electric energy meter corresponding to the cluster with 1 element in the cluster is determined as the electric energy meter to be detected; thereby accurately determining the electric energy meter with abnormalities or large metering errors, so that the electric energy meter with abnormalities can be calibrated in a targeted manner later, thereby reducing the detection time and improving the detection efficiency.
[0057] Furthermore, when there are multiple electric energy meters to be detected, the detection priority of each electric energy meter to be detected is determined, and the electric energy meters to be detected with higher detection priorities are detected first, thereby improving detection efficiency.
[0058] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.
[0059] An embodiment of the present invention also provides a non-transitory computer-readable storage medium, which can be set in an electronic device to store at least one instruction or at least one program related to implementing a method in a method embodiment. The at least one instruction or the at least one program is loaded and executed by the processor to implement the method provided in the above embodiment.
[0060] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0061] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0062] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0063] Program code for performing the operations of the present application may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).
[0064] An embodiment of the present invention further provides an electronic device, comprising a processor and the aforementioned non-transitory computer-readable storage medium.
[0065] The electronic device is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0066] The electronic device is presented in the form of a general-purpose computing device. The components of the electronic device may include, but are not limited to: the at least one processor mentioned above, the at least one memory mentioned above, and a bus connecting different system components (including the memory and the processor).
[0067] The memory stores program codes, which can be executed by the processor, so that the processor executes the steps in various embodiments described in this specification.
[0068] The memory may include readable media in the form of volatile memory, such as random access memory (RAM) and / or cache memory, and may further include read only memory (ROM).
[0069] The memory may also include a program / utility having a set (at least one) of program modules, such program modules including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include an implementation of a network environment.
[0070] The bus may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures.
[0071] The electronic device may also communicate with one or more external devices (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may communicate with one or more devices that enable a user to interact with the electronic device, and / or may communicate with any device (e.g., routers, modems, etc.) that enables the electronic device to communicate with one or more other computing devices. Such communication may be performed through an input / output (I / O) interface. Furthermore, the electronic device may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) through a network adapter. The network adapter communicates with other modules of the electronic device through a bus. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0072] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0073] An embodiment of the present invention further provides a computer program product, which includes program code. When the program product is run on an electronic device, the program code is used to enable the electronic device to execute the steps of the method according to various exemplary embodiments of the present invention described above in this specification.
[0074] Although some specific embodiments of the present invention have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are only for illustration, not for limiting the scope of the present invention. It should also be understood by those skilled in the art that various modifications may be made to the embodiments without departing from the scope and spirit of the present invention.
Claims
1. A method for accurately analyzing and verifying electric energy meter measurement data, characterized in that: The method comprises the following steps: S100, obtaining the power consumption measured by each electric energy meter in the preset area on the day to obtain a measured power consumption list A=(A1, A2, ..., A i , …, A n ), i=1, 2,...,n; where, A i is the power consumption corresponding to the i-th electric energy meter, and n is the number of electric energy meters in the preset area; S200, obtaining the first total power consumption QZ measured by the total power meter corresponding to the preset area on the day now ; S300, if |HZ now -QZ noow |>ΔQ, then obtain the characteristic vector of the electricity consumption of each user on that day to obtain the characteristic vector list of the electricity consumption on that day B=(B1,B2,…,B i , …, B n ), where B i is the characteristic vector of the electricity consumption of the i-th user on that day; HZ now is the second total power consumption corresponding to each electric energy meter on that day; ΔQ is the preset total power consumption difference threshold; B i =(B i,1 , B i,2 , …, B i,j , …, B i,m ), j = 1, 2, ..., m; B i,j is the jth element in the daily electricity consumption feature vector corresponding to the ith user, and m is the number of elements in the daily electricity consumption feature vector corresponding to each user; S400, clustering all the daily electricity usage feature vectors in B using a preset clustering algorithm to obtain a plurality of clusters; wherein each cluster includes at least two daily electricity usage feature vectors; S500: The electric energy meter corresponding to the discrete daily electricity consumption feature vector remaining after clustering is determined as the electric energy meter to be detected.
2. The method for accurately analyzing and verifying the electric energy meter measurement data according to claim 1 is characterized in that: B i Determine by following these steps: S310, divide each day into m continuous time periods to obtain a time period list T = (T1, T2, ..., T j ,…,T m ), where T j is the jth time period obtained by evenly dividing each day into m consecutive time periods; S320: The T of T corresponding to the i-th electric energy meter on that day is j The sub-power consumption of internal metering is determined as B i,j , to get B i .
3. The method for accurate analysis and verification of electric energy meter measurement data according to claim 1 is characterized in that: The preset clustering algorithm includes the DBSCAN clustering algorithm.
4. The method for accurate analysis and verification of electric energy meter measurement data according to claim 1 is characterized in that: After step S500, the method further comprises the following steps: S600: If the number of the electric energy meters to be detected is greater than 1, obtain the priority of each electric energy meter to be detected to obtain a priority list D=(D1, D2, ..., D r , …, D s ), r = 1, 2, ..., s; where D r is the priority corresponding to the rth electric energy meter to be detected, and s is the number of electric energy meters to be detected; S700, sort all priorities in D to obtain a sorted priority list D'=(D'1, D'2, ..., D' r , …, D' s ), where D' r is the rth priority obtained after sorting all priorities in D; D' a >D' a+1 ; a=1, 2, …, s-1; S800, calibrating and detecting the electric energy meter to be detected corresponding to each priority level in D' in turn.
5. The method for accurate analysis and verification of electric energy meter measurement data according to claim 1 is characterized in that: D r Determine by following these steps: S610, according to A and HZ now , determine the current power consumption weight of each user to obtain the current power consumption weight list λ=(λ1,λ2,…,λ i , …, λ n ), where λ i is the current power consumption weight corresponding to the i-th user; i =A i / HZ now ; S620, obtaining each target day in the preset historical time period to obtain a target day list E=(E1, E2, . . . , E c , …, E d ), c = 1, 2, ..., d; where E c The cth target day in the preset historical time period, d is the number of target days in the preset historical time period; |E c,1 -E c,2 |≤ΔQ;E c,1 is the second total power consumption of each user’s electric energy meter on the cth target day in the historical time period, E c,2 The first total power consumption measured by the total power meter corresponding to the preset area on the cth target day in the historical time period; S630, obtaining the historical power consumption weight corresponding to each target day in E, so as to obtain a historical power consumption weight list set η = (η1, η2, ..., η c ,…,η d ), where η c is the historical electricity consumption weight corresponding to the cth target day; η c =(η c,1 , η c,2 ,…,η c,i ,…,η c,n );η c,i is the historical electricity consumption weight corresponding to the i-th user on the c-th target day; η c,i =LA c,i / HZ c LA c,i is the metered electricity consumption corresponding to the i-th user in the c-th target day; HZ c The second total power consumption corresponding to each electric energy meter in the preset area on the cth target day; S640, according to λ and η, determine the weight similarity of each historical power consumption weight list in λ and η to obtain a weight similarity list ω=(ω1, ω2, ..., ω c ,…,ω d ), where ω c For λ and η c The similarity between S650, traverse ω, if ω c >ω', the cth target day is determined as the designated day to obtain the designated day list F = (F1, F2, ..., F e , …, F g ), e = 1, 2, ..., g; where F e is the e-th designated day determined, g is the number of designated days determined; ω' is the preset weighted similarity threshold; S660, according to the rth electric energy meter YU to be detected r The corresponding daily electricity consumption feature vector and YU in each specified day in F r The corresponding historical electricity consumption feature vector determines D r .
6. The method for accurate analysis and verification of electric energy meter measurement data according to claim 5 is characterized in that: Step S660 includes the following steps: S661, Get YU r The corresponding daily electricity consumption feature vector WT r =(WT r,1 , WT r,2 ,…,WT r,j ,…,WT r,m ), where WT r,j for YU r The sub-power consumption measured in the jth time period of the day; S662, obtain YU in each specified day in F r The corresponding historical electricity consumption feature vector is used to obtain YU r The corresponding historical electricity consumption feature vector list θ r =(θ r,1 ,θ r,2 ,…,θ r,e ,…,θ r,g ), where θ r,e for YU r The characteristic vector of historical electricity consumption corresponding to the e-th specified day; S663, Get WT r With θ r The vector similarity of each historical electricity consumption feature vector in , to obtain the vector similarity list μ r =(μ r,1 , μ r,2 ,…,μ r,e ,…,μ r,g ), where μ r,e WT r With θ r,e The vector similarity between ; S664, according to μ r , determine D r =1-MIN(μ r ), where MIN() is the preset minimum value function.
7. The method for accurate analysis and verification of electric energy meter measurement data according to claim 1 is characterized in that: ΔQ is determined according to the number of users in a preset area, and ΔQ is positively correlated with the number of users in the preset area.
8. The method for accurate analysis and verification of electric energy meter measurement data according to claim 2 is characterized in that: The duration of the time period ranges from 1min to 10min.
Citation Information
Patent Citations
Method and equipment for processing and predicting time sequence containing sample points
CN103294729A
Abnormal power consumption detection method and device, equipment and computer readable storage medium
CN110634080A
Method and device for determining electric energy meter in abnormal state
CN112381476A
Method and system for processing operation error data of electric energy meter in light-load transformer area
CN112684401A
Detection method and device for screening abnormal users based on line loss rate, medium and equipment
CN115060968A
