A method for monitoring power consumption at user side
By evaluating and optimizing the error correction data segment priority and distributed correction mechanism of smart energy meters, the problem of metering failures and low error correction efficiency of large-scale clusters is solved, and efficient and accurate are achieved The error correction and data monitoring enhance system stability and fairness of market transactions.
Patent Information
- Application Number
- CN202411337757.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-25
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-09-25
AI Technical Summary
When existing smart energy meters operate under different voltage and current states, metering failures lead to data errors, and the error correction efficiency of large-scale cluster electricity meters is low, so accurate detection and correction cannot be achieved, which affects user interests and fairness of market-oriented transactions.
By determining the standard electricity meter, evaluating the priority of the error correction data segment, generating a data segment priority sequence, using the reference error correction vector for initial correction, dividing distributed sub-regions for local correction, monitoring and adjusting error correction strategies in real time, and establishing error diffusion The model predicts error trend.
It improves the accuracy and efficiency of error correction, reduces processing delays, avoids single point of failure, enhances the stability and reliability of the system, and ensures data accuracy and fairness of market transactions.
Smart Images

Figure CN118859093B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power supply and distribution, and in particular to a method for monitoring power consumption at a user side. Background Art
[0002] Smart energy meters have been popularized in thousands of households, but each smart energy meter works in various working conditions and operates under different voltage and current conditions for a long time. Metering failures lead to inaccurate measurement and erroneous data. In the context of market-based electricity transactions, electricity prices fluctuate more frequently. At the same time, the rapid development of user-side energy storage and new energy storage technologies has made the electricity consumption behavior on the user side more complex and changeable. However, the power company's management of the existing installed smart energy meters is still insufficient. It only uses standard platforms for accuracy calibration before installation. The operating accuracy under the actual current and voltage conditions on site cannot be accurately verified, and metering anomalies cannot be discovered in time, resulting in the hidden dangers of inaccurate measurement and data errors in smart energy meters. This may not only damage the economic interests of users, but also affect the fairness of market-based transactions and the promotion and application of new energy storage technologies, and cannot perform accurate data analysis.
[0003] The Chinese invention patent with application number 202011348781.5 proposes a method and system for monitoring the operating error data of an electric energy meter with stable electricity consumption. After determining the initial correction data segment from all error correction data segments based on a reference error correction vector, when the numerical difference and relevant threshold between the initial correction data segment and the pre-set reference correction data segment are compared, the error correction parameters of the target electric energy meter are calculated using the initial correction data segment and the reference correction data segment respectively, and then the target correction data segment of the target electric energy meter is selected from the initial correction data segment and the reference correction data segment according to the reference correction parameters calculated by the error correction parameters, so that the target correction data segment is used to perform error correction on the target electric energy meter.
[0004] In the existing patented technology, when monitoring large-scale clusters of electric energy meters, multi-layer operations are used to obtain target correction data segments for error correction. However, the comparison and error correction of a large number of electric energy meters in the cluster reduces the efficiency of cluster error correction, causing processing delays and single point failure problems. Summary of the invention
[0005] The present application solves the problem of low error correction processing efficiency and inability to achieve accurate detection and correction in the prior art by providing a user-side electricity consumption monitoring method, thereby achieving the technical effect of improving correction accuracy and monitoring efficiency.
[0006] The present application provides a method for monitoring power consumption at a user side, the method comprising:
[0007] S100: Determine at least one standard electric energy meter corresponding to a target electric energy meter in a target electric energy monitoring system;
[0008] S200: for each predetermined error correction data segment, evaluating the priority of each error correction data segment according to the priority index, and generating a data segment priority sequence by arranging them in descending order; and determining the reference error correction vector corresponding to the target electric energy meter in each error correction data segment according to the data segment priority sequence according to the electric energy collection data of each standard electric energy meter;
[0009] S300: Determine a target error correction vector according to a reference error correction vector corresponding to the target electric energy meter in each error correction data segment, and use the error correction data segment corresponding to the target error correction vector as an initial correction data segment; compare the initial correction data segment with the reference correction data segment to determine the target correction data segment of the target electric energy meter, and use the target correction data segment to perform error correction on the target electric energy meter.
[0010] Furthermore, step S200 also includes:
[0011] S210: according to the priority index, an initial weight is set, a weighted sum is performed to calculate the priority of each error correction data segment, and a data segment priority sequence is generated;
[0012] S220: Obtain the current error correction result, calculate the error reduction value and compare it with the preset error threshold, re-evaluate the priority of each error-corrected data segment, and update the data segment priority sequence;
[0013] S230: If the error reduction value is lower than the error threshold for two consecutive times, stop updating the data segment priority sequence until it is detected that the error reduction value is greater than the error threshold.
[0014] Furthermore, step S300 also includes:
[0015] S310: Obtain a data segment priority sequence and a reference error correction vector corresponding to each error correction data segment, and set a distributed error correction mechanism;
[0016] S320: preliminarily dividing the cluster into a plurality of sub-regions according to the distributed error correction mechanism, wherein each of the sub-regions is responsible for obtaining a target error correction vector by a plurality of nodes; and obtaining an initial correction data segment for each of the sub-regions according to the plurality of target error correction vectors;
[0017] S330: In each of the sub-areas, locally correct the target electric energy meter according to the initial correction data segment, compare the initial correction data segment with the reference correction data segment, determine the target correction data segment of the target electric energy meter, and perform final error correction on the target electric energy meter according to the target correction data segment.
[0018] Furthermore, the distributed error correction mechanism divides the cluster into multiple sub-areas according to the data segment priority sequence and the reference error correction vector, pre-sets a quantity threshold, and calculates the number of each sub-area according to the total number of reference error correction vectors; and allocates nodes to each sub-area according to the number of nodes in the cluster and the number of sub-areas.
[0019] Furthermore, step S320 also includes:
[0020] S321: Acquire status data of each sub-region, identify characteristics of each sub-region, and generate a regional characteristic analysis report;
[0021] S322: According to the regional characteristic analysis report and in combination with the stability threshold of each sub-region, a corresponding error correction strategy is set;
[0022] S323: Monitor the error situation and node status of each sub-area in real time, and automatically adjust the error correction strategy according to the monitoring results and changes in regional characteristics.
[0023] Furthermore, the status data includes historical error data, node distribution, network delay, and load conditions of each sub-area, and the collected status data is preprocessed to obtain standardized data.
[0024] Furthermore, the regional characteristic analysis report identifies the characteristics of each sub-region based on the error mean, variance, and maximum value of each sub-region, and the regional characteristic analysis report includes error distribution law, node stability, and correction efficiency.
[0025] Furthermore, the stability threshold is pre-set based on the historical regional characteristic analysis report to measure the error correction stability in each sub-region; the error correction strategy is to set different error adjustment modes for each sub-region, including error correction monitoring frequency and node allocation.
[0026] Furthermore, the high error occurrence area in each sub-area is obtained, the high error occurrence area in each sub-area is connected to form a common error susceptible area, an error diffusion model is established, the error diffusion trend and accumulation degree of the target electric energy meter in the common error susceptible area are predicted, and a prediction analysis report is formed; the high error occurrence area is divided according to the frequency of errors in each sub-area, the total number of errors in each sub-area is counted, and the error frequency is calculated according to the number of errors in each electric energy meter, and the area with the highest error frequency in each sub-area is set as the high error occurrence area.
[0027] Furthermore, the error diffusion model is to analyze the mechanism and influencing factors of error diffusion, select a differential equation to describe the error diffusion process, use the least squares method to estimate parameters, and set the basic form of the model. The specific formula is as follows:
[0028]
[0029] in, represents the error at time t, Indicates the error of adjacent electric energy meters, is the diffusion coefficient, is the time attenuation coefficient, is the time step.
[0030] One or more technical solutions provided in this application have at least the following technical effects or advantages:
[0031] By evaluating the priority index, calculating the priority of each data segment, and arranging them in descending order to generate a data segment priority sequence, giving priority to processing data segments with large errors or strong volatility, the data processing process can be optimized and the processing efficiency can be improved, thereby achieving the effect of optimizing correction efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 This is a schematic diagram of the overall process of a method for monitoring power consumption at a user side in an embodiment of the present invention;
[0033] Figure 2 The present invention is a schematic diagram of a data segment priority sequence flow chart of a method for monitoring power consumption at a user side in an embodiment of the present invention. DETAILED DESCRIPTION
[0034] To facilitate the understanding of the present invention, the present application will be described more comprehensively below with reference to the relevant drawings; the drawings show preferred embodiments of the present invention, but the present invention can be implemented in many different forms and is not limited to the embodiments described herein; on the contrary, the purpose of providing these embodiments is to enable a more thorough and comprehensive understanding of the disclosed content of the present invention.
[0035] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which the present invention belongs; the terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention; the term "and / or" used herein includes any and all combinations of one or more related listed items.
[0036] Embodiment 1: Figure 1 As shown, a method for monitoring power consumption at a user side, the method comprising:
[0037] S100: Determine at least one standard electric energy meter corresponding to a target electric energy meter in a target electric energy monitoring system.
[0038] In this embodiment, taking one of the at least one electric energy monitoring systems as the target electric energy monitoring system as an example, the target electric energy monitoring system corresponds to at least one standard electric energy meter, and each of the standard electric energy meter is used as a data correction standard for the target electric energy monitoring system, that is, the data collected by each standard electric energy meter can be used as a correction standard for other electric energy meters in the target electric energy monitoring system, for example, it can be used as a correction standard for the target electric energy meter in the target electric energy monitoring system.
[0039] S200: For each predetermined error correction data segment, the priority of each error correction data segment is evaluated according to a priority index, and a data segment priority sequence is generated by arranging them in descending order; based on the electric energy collection data of each standard electric energy meter, the reference error correction vector corresponding to the target electric energy meter in each error correction data segment is determined according to the data segment priority sequence.
[0040] In this embodiment, the cluster master node can divide the data collected by all the electricity meters into multiple data segments according to time intervals. For example, 9:00-10:00 can be a data segment, 10:00-11:00 can be a data segment, 11:00-12:00 can be a data segment... and so on. The cluster master node can divide a day's data into 24 data segments according to time.
[0041] Among them, for each data segment predetermined by the cluster master node according to the above rules, the cluster master node can use these data segments as error correction data segments, and determine the reference error correction vector corresponding to the target electric energy meter in each error correction data segment according to the electric energy collection data of each standard electric energy meter. The reference error correction vector is the electric energy data error between the target electric energy meter and the standard electric energy meter corresponding to the error correction data segment. The reference error correction vector is generated based on the calculated data error. Each reference error correction vector can be used to indicate the error correction amount of the target electric energy meter relative to the standard electric energy meter under the corresponding error correction data segment. Figure 2 As shown, step S200 also includes:
[0042] S210: according to the priority index, an initial weight is set, a weighted sum is performed to calculate the priority of each error correction data segment, and a data segment priority sequence is generated;
[0043] S220: Obtain the current error correction result, calculate the error reduction value and compare it with the preset error threshold, re-evaluate the priority of each error-corrected data segment, and update the data segment priority sequence;
[0044] S230: If the error reduction value is lower than the error threshold for two consecutive times, stop updating the data segment priority sequence until it is detected that the error reduction value is greater than the error threshold.
[0045] In some embodiments, the standards and methods for evaluating the priority of data segments are evaluated and judged through four priority indicators, including historical error data, data volatility, data segment size and time sensitivity. The historical error data is to analyze the performance of each data segment in error correction in the past, and give higher priority to data segments with large historical errors or frequent errors; the data volatility is to evaluate the degree of volatility of data in the data segment. Data segments with large volatility often contain more outliers, so they have higher priority; the data segment size is that larger data segments will contain more information and have a greater impact on the overall error correction. In this embodiment, a standard for data segment division is given, which is divided into 24 hours. The time of each data segment is the same. In different embodiments, the size of the time period is dynamically adjusted according to the priority standards of different time periods, and the most appropriate time period length is selected, but 24 hours is still the total time length; the time sensitivity is to consider the time sequence of historical data. Recent data will be more reference than long-term data and have a higher priority.
[0046] First, determine the weights of the four indicators of historical error data, data volatility, data segment size, and time sensitivity in the priority calculation. The weights are pre-set through empirical judgment or data analysis. For example, the weight of historical error data is set to 0.4; the weight of data volatility is set to 0.3; the weight of data segment size is set to 0.2; and the weight of time sensitivity is set to 0.1. The four indicators are standardized and normalized to a specified unified interval [0, 1]. The priority of each error correction data segment is calculated using the weighted average method. For example, after calculation, it is obtained that data segment A: historical error data = 0.8, data volatility = 0.6, data segment size = 0.5, time sensitivity = 0.9; data segment B: historical error data = 0.5, data volatility = 0.3, data segment size = 0.7, time sensitivity = 0.4; data segment C: historical error data = 0.2, data volatility = 0.9, data segment size = 0.8, time sensitivity = 0.6; data segment D: historical error data = 0.1, data volatility = 0.2, data segment size = 0.4, time sensitivity = 0.3; after weighted average, data segment A is 0.65; data segment B is 0.43; data segment C is 0.53; data segment D is 0.21; therefore, the priority order determined according to the score is: A>C>B>D. That is, data segment A has the highest priority, and data segment D has the lowest priority. Arranging the processing order of the error correction data segments according to this priority order can improve the monitoring and correction rate and achieve more accurate monitoring and correction.
[0047] In some embodiments, a preliminary evaluation is performed on each error correction data segment, the priority of each error correction data segment is calculated using a priority index, and a data segment priority sequence is generated by arranging the segments in descending order according to the size of the priority. A maximum heap is used to implement the data segment priority sequence, and the root node of the maximum heap is used as the element with the highest priority. According to the electric energy collection data of each standard electric energy meter, the reference error correction vector corresponding to the target electric energy meter in each error correction data segment is determined respectively according to the data segment priority sequence. First, the error correction data segment with the highest priority is taken out from the data segment priority sequence for processing, and then processed sequentially in order according to the data segment priority sequence.
[0048] In some embodiments, the current error correction result is obtained, and an error reduction value is calculated. The error reduction value refers to the degree of reduction of the error value after the correction process compared with the previous process or the initial state. The error reduction value is calculated by comparing the error values after the two processes. Before the correction, the error is , after one correction, the error is , then the error reduction value It is expressed as: ; The specific effect of the current correction method is simply judged by the error reduction value to determine whether the correction strategy needs to be adjusted; the error threshold refers to a set error limit value. When the error reduction value is lower than the error threshold for two consecutive times, the updating of the data segment priority sequence is stopped until it is detected that the error reduction value is greater than the error threshold. The error threshold is pre-set based on historical data and actual conditions.
[0049] S300: Determine a target error correction vector according to a reference error correction vector corresponding to the target electric energy meter in each error correction data segment, and use the error correction data segment corresponding to the target error correction vector as an initial correction data segment; compare the initial correction data segment with the reference correction data segment to determine the target correction data segment of the target electric energy meter, and use the target correction data segment to perform error correction on the target electric energy meter.
[0050] In some embodiments, the cluster master node determines a target error correction vector based on the reference error correction vector corresponding to the target electric energy meter in each error correction data segment calculated above, and uses the error correction data segment corresponding to the target error correction vector as an initial correction data segment.
[0051] Specifically, the reference error correction vectors in each error correction data segment are statistically summarized, and normalized according to the time when each reference error correction vector is generated, that is, the priority of the corresponding data segment, combined with the size, direction and frequency of the reference error correction vector, and the reference error correction vector of each error correction data segment is calculated using a weighted average method. Generate a contribution value, and determine the target error correction vector according to the size of the contribution value; for example, there are three target electricity meters (electricity meter 1, electricity meter 2, electricity meter 3) and three error correction data segments (A, B, C), electricity meter 1: vector A1, vector B1, vector C1; electricity meter 2: vector A2, vector B2, vector C2; electricity meter 3: vector A3, vector B3, vector C3; vector A1 represents the reference error correction vector of electricity meter 1 in data segment A, and the meaning of the remaining vectors can be obviously obtained. All reference error correction vectors are generated comprehensively according to the priority of the error correction data segment (A>B>C), the size, direction and frequency of the vector, that is, the weighted average of vector A1, vector A2 and vector A3 is used to obtain a contribution value MA, and MB and MC are obtained similarly. MA, MB and MC are used for comparison, and the largest one is selected as the target error correction vector.
[0052] In some embodiments, after determining the initial correction data segment, the cluster master node compares the initial correction data segment with the preset reference correction data segment. If the numerical difference between the initial correction data segment and the reference correction data segment exceeds a set difference threshold, the cluster master node determines the next initial correction data segment and continues to perform the step of comparing the initial correction data segment with the preset reference correction data segment. The difference threshold is pre-set based on experimental measurements of historical data. If the numerical difference between the initial correction data segment and the reference correction data segment is within the set difference threshold, the correction parameters of the target electric energy meter are calculated using the initial correction data segment and the reference correction data segment respectively. , and according to the reference correction parameters corresponding to the initial correction data segment and the reference correction data segment respectively calculated by the correction parameters, compare the reference correction parameters corresponding to the initial correction data segment and the reference correction data segment respectively, select the data segment with the smallest reference correction parameter as the target correction data segment, determine the target correction data segment of the target electric energy meter from the initial correction data segment and the reference correction data segment, so as to perform error correction on the target electric energy meter using the target correction data segment, for example, the initial correction data segment obtains reference correction parameter 1, and the reference correction data segment obtains reference correction parameter 2, if the reference correction parameter 1 is less than the reference correction parameter 2, the smallest reference correction parameter means that the error correction effect of the data segment is the best, and the initial correction data segment is selected as the target correction data segment.
[0053] Specifically, the cluster master node records a pre-set reference correction data segment, which is the electric energy collection data segment with the smallest corresponding error among all electric energy collection data. The cluster master node can calculate the error corresponding to each electric energy collection data segment based on historical data, and determine the electric energy collection data segment with the smallest corresponding error as the reference correction data segment. The correction parameter calculation is based on a linear regression model. The linear regression model needs to collect power data based on the initial correction data segment and the reference correction data segment, and use the data of the standard power meter as the reference value. Features related to the error, such as voltage, power, etc., are selected from the power collection data, and all data are standardized to ensure that different features are on the same scale. The linear regression model uses the data of the standard power meter as the label of the training data, the input feature is the power collection data, and the output is the error value of the target power meter. For the initial correction data segment and the reference correction data segment, the trained linear regression model is used to predict the error value. According to the statistical values of different methods of predicting the error value, the reference correction parameter is calculated. Preferably, according to the characteristics of different error distributions, different statistical values of the predicted error values are selected as reference correction parameters. If it is close to the normal distribution, the average error is calculated as the reference correction parameter. If the distribution is skewed to the left or right, the median error is calculated as the reference correction parameter.
[0054] In this embodiment, by dividing the data segments and evaluating the priorities, the data segments with large errors or strong fluctuations can be processed preferentially. Through continuous error correction and priority update, abnormal data in the power monitoring system can be discovered and processed in time, and the stability and reliability of the system can be enhanced. The existing monitoring data processing methods often adopt a unified processing method and cannot perform targeted processing according to the characteristics of different data segments. By dividing the data segments and evaluating the priorities, the data processing process can be optimized and the processing efficiency can be improved.
[0055] The technical solutions in the above embodiments of the present application have at least the following technical effects or advantages:
[0056] This application evaluates the priority of each error correction data segment based on four priority indicators: historical error data, data volatility, data segment size, and time sensitivity. The priority of each data segment is calculated by weighted summation, and a data segment priority sequence is generated by arranging them in descending order. Data segments with larger errors or higher volatility are prioritized, thereby achieving the effect of optimizing correction efficiency.
[0057] Embodiment 2: In embodiment 1, priorities of different data segments are set, and correction is performed according to the priorities, with data segments with larger errors being processed first. This embodiment makes further improvements on the basis of the above embodiment.
[0058] The step S300 also includes: S310: obtaining a data segment priority sequence and a reference error correction vector corresponding to each error correction data segment, and setting a distributed error correction mechanism;
[0059] S320: preliminarily dividing the cluster into a plurality of sub-regions according to the distributed error correction mechanism, wherein each of the sub-regions is responsible for obtaining a target error correction vector by a plurality of nodes; and obtaining an initial correction data segment for each of the sub-regions according to the plurality of target error correction vectors;
[0060] S330: In each of the sub-areas, locally correct the target electric energy meter according to the initial correction data segment, compare the initial correction data segment with the reference correction data segment, determine the target correction data segment of the target electric energy meter, and perform final error correction on the target electric energy meter according to the target correction data segment.
[0061] The distributed error correction mechanism divides the cluster into multiple sub-areas according to the data segment priority sequence and the reference error correction vector, pre-sets a quantity threshold, and calculates the number of each sub-area according to the total number of reference error correction vectors; and allocates nodes to each sub-area according to the number of nodes in the cluster and the number of sub-areas.
[0062] In some embodiments, the basic parameters of the distributed error correction mechanism, such as the maximum number of sub-regions, the minimum number of nodes in each sub-region, etc., are set according to the data segment priority sequence and the number of reference error correction vectors. According to the data segment priority sequence, the data segments are sorted from high to low according to the priority. Then, the sub-regions are preliminarily divided according to the number of reference error correction vectors. Each sub-region is responsible for a certain number of data segments corresponding to the reference error correction vectors. A quantity threshold is set, such as each sub-region is responsible for a maximum of N reference error correction vectors. According to the total number of reference error correction vectors M, the number of sub-regions K is calculated, and the rounding up method is adopted. According to the number of nodes in the cluster and the number of sub-regions, the nodes are allocated to each sub-region. Preferably, a load balancing algorithm is used to allocate nodes to ensure that each sub-region has a sufficient number of nodes to be responsible for the error correction tasks therein. The distributed error correction mechanism is a method of distributing error correction tasks to multiple nodes for execution, improving monitoring accuracy and correction precision, while reducing the delay of centralized processing, avoiding single point failures, and improving efficiency.
[0063] In each sub-area, the node performs local correction on the target electric energy meter according to the reference error correction vector and data segment it is responsible for. After local correction, the local correction results are recorded, including the error values before and after correction, correction time, etc. The initial correction data segment is compared with the reference correction data segment to determine the target correction data segment of the target electric energy meter. According to the target correction data segment, the target electric energy meter is finally corrected for the error.
[0064] In this embodiment, by introducing a distributed error correction mechanism, the error correction task is distributed to multiple nodes for execution, thereby improving the efficiency and accuracy of the correction. At the same time, since each sub-area is responsible for a certain number of data segments corresponding to the reference error correction vector, correction can be performed more specifically, further improving the correction effect. The distributed error correction mechanism reduces the delay of centralized processing and avoids the occurrence of single point failures. Even if a node or sub-area fails, it will not affect the entire correction process. The nodes are allocated to each sub-area through a load balancing algorithm, thereby optimizing the utilization of resources. Each sub-area has a sufficient number of nodes to be responsible for the error correction tasks within it, thereby avoiding waste and idleness of resources.
[0065] The technical solutions in the above embodiments of the present application have at least the following technical effects or advantages:
[0066] This application introduces a distributed error correction mechanism to disperse the correction tasks to multiple nodes for execution, thereby reducing processing delays and achieving the effect of avoiding single point failures and reducing processing delays; the nodes are allocated to each sub-area through a load balancing algorithm to achieve the effect of optimizing resource utilization and improving correction efficiency.
[0067] Embodiment 3: A distributed error correction mechanism is introduced in the above embodiment to avoid single point failure and improve correction efficiency. This embodiment makes further improvements on the basis of the above embodiment.
[0068] The step S320 also includes: S321: acquiring status data of each sub-region, identifying characteristics of each sub-region, and generating a regional characteristic analysis report;
[0069] S322: According to the regional characteristic analysis report and in combination with the stability threshold of each sub-region, a corresponding error correction strategy is set;
[0070] S323: Monitor the error situation and node status of each sub-area in real time, and automatically adjust the error correction strategy according to the monitoring results and changes in regional characteristics.
[0071] The status data includes historical error data, node distribution, network delay, and load conditions of each sub-area. The collected status data are preprocessed to obtain standardized data.
[0072] The regional characteristic analysis report identifies the characteristics of each sub-region based on the error mean, variance, and maximum value of each sub-region. The regional characteristic analysis report includes error distribution rules, node stability, and correction efficiency.
[0073] The stability threshold is pre-set based on the historical regional characteristic analysis report and is used to measure the error correction stability in each sub-region; the error correction strategy is to set different error adjustment modes for each sub-region, including error correction monitoring frequency and node allocation.
[0074] In some embodiments, historical error data, node distribution, network delay, load, and other information of each sub-region are collected. The collected data is analyzed to identify the characteristics of each sub-region, such as error distribution law, node stability, network status, etc. Based on the data analysis results, a regional characteristic analysis report is formed, including the error distribution law, node stability, and correction efficiency of each sub-region.
[0075] In some embodiments, different stability thresholds are set for each sub-region based on the regional characteristic analysis report. For example, for sub-regions with larger errors, a lower threshold is set to perform correction more strictly; for sub-regions with smaller errors, a higher threshold is set to reduce unnecessary correction operations and improve correction efficiency. Different error correction strategies are set for each sub-region based on regional characteristics. For example, for sub-regions with poor node stability, a more frequent correction cycle is used.
[0076] In some embodiments, in each sub-area, the node performs the first correction on the target electric energy meter according to the reference error correction vector and data segment for which it is responsible. The first correction result is compared with the reference correction data segment to analyze whether the correction effect meets the set stability threshold and error correction strategy requirements. According to the comparison and analysis results, the strategy is adjusted for the sub-areas that do not meet the requirements, such as adjusting the threshold, increasing the number of corrections, optimizing node allocation, etc. According to the adjusted strategy, the target electric energy meter is finally corrected for the error, and the error situation and node status of each sub-area are monitored in real time. According to the monitoring results and changes in regional characteristics, the error correction strategy is automatically adjusted, the regional characteristics are analyzed and evaluated regularly, and the error correction strategy is continuously optimized according to the evaluation results to improve the accuracy and efficiency of error correction.
[0077] In this embodiment, by collecting the status data of each sub-area and conducting in-depth analysis and processing, the characteristics of each sub-area can be understood more accurately, a more appropriate error correction strategy can be formulated, the accuracy and efficiency of correction can be improved, and the occurrence of errors can be reduced; by setting a stable threshold and real-time monitoring of the error situation and node status of each sub-area, potential problems and anomalies can be discovered and handled in a timely manner, thereby enhancing the stability and reliability of the system. In the prior art, a unified correction strategy is often used, which cannot accurately correct the characteristics of different sub-areas.
[0078] The technical solutions in the above embodiments of the present application have at least the following technical effects or advantages:
[0079] This application collects the status data of each sub-region and generates a regional characteristic analysis report. According to the regional characteristic analysis report, different stability thresholds are set for each sub-region to measure the stability of error correction. At the same time, different error correction strategies are set for each sub-region in combination with the characteristics of the sub-region, so as to achieve the effect of error correction strategy obtained through targeted analysis, and further improve the effect of accurate correction.
[0080] Embodiment 4: In the above embodiment, when monitoring in a cluster or each sub-area, it is not possible to accurately find the high-frequency area where errors occur, resulting in resource consumption and reduced monitoring and correction efficiency. This embodiment makes further improvements on the basis of the above embodiment.
[0081] The high error occurrence areas in each sub-area are obtained, and the high error occurrence areas in each sub-area are connected to form a common error susceptible area. An error diffusion model is established to predict the error diffusion trend and accumulation degree of the target electric energy meter in the common error susceptible area to form a prediction analysis report.
[0082] The high error occurrence area is divided according to the frequency of errors in each sub-area, the total number of errors in each sub-area is counted, and the error frequency is calculated based on the number of errors in each electric energy meter, and the area with the highest error frequency in each sub-area is set as the high error occurrence area.
[0083] In some embodiments, the high error occurrence area in each sub-area is obtained, and the high error occurrence area in each sub-area is connected to form a common error susceptible area. For the common error susceptible area, the error threshold and abnormal fluctuation range are set as the conditions for triggering the early warning, and the early warning algorithm is designed to process and analyze the monitoring data in real time. Once the early warning conditions are met, the early warning is triggered immediately. The early warning information should include key information such as the number of the electric energy meter, the error value, the abnormal type, and the time of occurrence.
[0084] In some embodiments, statistics are taken on the electric energy meters in the error-prone area to determine the number and type of electric energy meters that need to be corrected, and the required correction resources and standard electric energy meter resources are calculated based on the correction standards and cycles. A resource allocation model is established, taking into account the error conditions of the electric energy meters, correction difficulty, resource availability, etc., and linear programming is used to solve the optimal resource allocation plan, and the resource allocation plan is dynamically adjusted.
[0085] Count the number and types of electricity meters in the error-prone area, calculate the correction time and number of standard electricity meters required for each electricity meter according to the correction standard and cycle, summarize the total correction time and the total number of standard electricity meters, set up an objective function, such as minimizing the correction time or maximizing the correction efficiency, set constraints, such as resource availability, correction difficulty, etc., and use linear programming to solve the correction time and number of standard electricity meters allocated to each electricity meter.
[0086] The error diffusion model is to analyze the mechanism and influencing factors of error diffusion, such as the mutual influence between electric energy meters, changes in the operating environment, etc., select differential equations to describe the error diffusion process, pre-estimate the parameter values in the model through experiments or historical data, and use the model to predict the diffusion trend and accumulation degree of errors in the error-prone area, and take preventive measures based on the prediction results. Specifically, based on the continuity and time dependence of error diffusion, a differential equation model is selected to describe the error diffusion process, and the variables and parameters in the model, such as error value, diffusion coefficient, time step, etc., are set. The least squares method is used for parameter estimation, and the basic form of the model is set. The specific formula is as follows:
[0087]
[0088] in, represents the error at time t, Indicates the error of adjacent electric energy meters, is the diffusion coefficient, is the time attenuation coefficient, is the time step. The least squares method is used to estimate the parameters in the model. , Make a preliminary estimate, solve the optimal parameter value through an iterative algorithm, use indicators such as mean square error (MSE) and root mean square error (RMSE) to evaluate the accuracy of the model, use the verified model to predict the error diffusion trend and accumulation degree in the future, and formulate corresponding preventive measures and correction strategies based on the prediction results. Use the verified model to predict the error diffusion trend and accumulation degree in the future. The specific steps are: set the prediction time range; use the model to make step-by-step predictions to obtain the error value at each time point. According to the prediction results, formulate corresponding preventive measures and correction strategies. For example: if it is predicted that the error in a certain area will spread significantly, strengthen the isolation measures in that area; if it is predicted that the error of a certain electric energy meter will accumulate rapidly, increase the correction frequency of the electric energy meter.
[0089] In this embodiment, by identifying high error occurrence areas and establishing common error susceptible areas, it is possible to more accurately locate high-frequency error occurrence areas, thereby concentrating resources for monitoring and correction and improving monitoring and correction efficiency; by designing an early warning mechanism, it is possible to promptly discover and deal with potential error problems and anomalies, enhance the system's early warning capabilities, and reduce the impact of errors on the system; by using the error diffusion model for prediction and taking corresponding preventive measures and correction strategies, it is possible to improve the accuracy and efficiency of correction and reduce the accumulation and diffusion of errors.
[0090] The technical solutions in the above embodiments of the present application have at least the following technical effects or advantages:
[0091] The present application forms a common error susceptible area by connecting the high error occurrence areas of each sub-area; establishes an error diffusion model to predict the error diffusion trend and accumulation degree of the target electric energy meter in the common error susceptible area, forms a prediction analysis report, and achieves the effect of timely preventing error diffusion and accumulation; through the design of an early warning mechanism, it is possible to timely discover and deal with potential error problems and anomalies, reasonably allocate correction resources and standard electric energy meter resources, ensure the effective use of resources, and achieve the effect of reducing the overall error occurrence rate.
[0092] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for monitoring power consumption at a user side, characterized in that: The method comprises: S100: Determine at least one standard electric energy meter corresponding to a target electric energy meter in a target electric energy monitoring system; S200: for each predetermined error correction data segment, evaluating the priority of each error correction data segment according to the priority index, and generating a data segment priority sequence by arranging them in descending order; and determining the reference error correction vector corresponding to the target electric energy meter in each error correction data segment according to the data segment priority sequence according to the electric energy collection data of each standard electric energy meter; S300: determining a target error correction vector according to a reference error correction vector corresponding to each error correction data segment of the target electric energy meter, and using the error correction data segment corresponding to the target error correction vector as an initial correction data segment; comparing the initial correction data segment with the reference correction data segment to determine a target correction data segment of the target electric energy meter, and using the target correction data segment to perform error correction on the target electric energy meter; Step S200 also includes: S210: according to the priority index, an initial weight is set, a weighted sum is performed to calculate the priority of each error correction data segment, and a data segment priority sequence is generated; S220: Obtain the current error correction result, calculate the error reduction value and compare it with the preset error threshold, re-evaluate the priority of each error-corrected data segment, and update the data segment priority sequence; S230: If the error reduction value is lower than the error threshold value twice in a row, stop updating the data segment priority sequence until it is detected that the error reduction value is greater than the error threshold value; Step S300 also includes: S310: Obtain a data segment priority sequence and a reference error correction vector corresponding to each error correction data segment, and set a distributed error correction mechanism; S320: preliminarily dividing the cluster into a plurality of sub-regions according to the distributed error correction mechanism, wherein each of the sub-regions is responsible for obtaining a target error correction vector by a plurality of nodes; and obtaining an initial correction data segment for each of the sub-regions according to the plurality of target error correction vectors; S330: In each of the sub-areas, locally correct the target electric energy meter according to the initial correction data segment, compare the initial correction data segment with the reference correction data segment, determine the target correction data segment of the target electric energy meter, and perform final error correction on the target electric energy meter according to the target correction data segment.
2. A user-side power consumption monitoring method as claimed in claim 1, characterized in that: The distributed error correction mechanism divides the cluster into multiple sub-areas according to the data segment priority sequence and the reference error correction vector, pre-sets a quantity threshold, and calculates the number of each sub-area according to the total number of reference error correction vectors; and allocates nodes to each sub-area according to the number of nodes in the cluster and the number of sub-areas.
3. A user-side power consumption monitoring method as claimed in claim 1, characterized in that: Step S320 also includes: S321: Acquire status data of each sub-region, identify characteristics of each sub-region, and generate a regional characteristic analysis report; S322: According to the regional characteristic analysis report and in combination with the stability threshold of each sub-region, a corresponding error correction strategy is set; S323: Monitor the error situation and node status of each sub-area in real time, and automatically adjust the error correction strategy according to the monitoring results and changes in regional characteristics.
4. A user-side power consumption monitoring method as claimed in claim 3, characterized in that: The status data includes historical error data, node distribution, network delay, and load conditions of each sub-area. The collected status data are preprocessed to obtain standardized data.
5. A user-side power consumption monitoring method as claimed in claim 3, characterized in that: The regional characteristic analysis report identifies the characteristics of each sub-region based on the error mean, variance, and maximum value of each sub-region. The regional characteristic analysis report includes error distribution rules, node stability, and correction efficiency.
6. A user-side power consumption monitoring method as claimed in claim 3, characterized in that: The stability threshold is pre-set based on the historical regional characteristic analysis report and is used to measure the error correction stability in each sub-region; the error correction strategy is to set different error adjustment modes for each sub-region, including error correction monitoring frequency and node allocation.
7. A user-side power consumption monitoring method as claimed in claim 1, characterized in that: The high error occurrence area in each sub-area is obtained, and the high error occurrence area in each sub-area is connected to form a common error susceptible area, an error diffusion model is established, and the error diffusion trend and accumulation degree of the target electric energy meter in the common error susceptible area are predicted to form a prediction analysis report; the high error occurrence area is divided according to the frequency of errors in each sub-area, and the total number of errors in each sub-area is counted. According to the number of errors in each electric energy meter, the error frequency is calculated, and the area with the highest error frequency in each sub-area is set as the high error occurrence area.
8. A user-side power consumption monitoring method as claimed in claim 7, characterized in that: The error diffusion model is to analyze the mechanism and influencing factors of error diffusion, select the difference equation to describe the error diffusion process, use the least squares method to estimate the parameters, and set the basic form of the model. The specific formula is as follows: in, represents the error at time t, Indicates the error of adjacent electric energy meters, is the diffusion coefficient, is the time attenuation coefficient, is the time step.
