Intelligent electric meter operation error and daily line loss rate joint estimation method and system
By combining the extended Kalman filter algorithm and the recursive least squares method with the dynamic forgetting factor with the cubic exponential smoothing model, the problem of the line loss rate estimation model being too idealistic is solved, the accuracy of meter error estimation and the accurate location of out-of-tolerance meters are achieved, and the status replacement of smart meters is supported.
Patent Information
- Application Number
- CN202410840965.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-11-19
AI Technical Summary
Existing line loss rate estimation models are too idealistic, resulting in low accuracy in meter error estimation and affecting the accuracy of meter condition assessment.
An extended Kalman filter algorithm and a recursive least squares method with a dynamic forgetting factor are used in conjunction with a cubic exponential smoothing model to preprocess the initial measurement data. Through iterative calculations by the line loss rate estimation system and the error estimation system, accurate estimates of the transformer area line loss rate and meter error are obtained.
It improves the accuracy of line loss rate estimation, ensures the precision of meter error estimation, can accurately locate out-of-tolerance meters, and supports the transformation of smart meters from periodic replacement to condition-based replacement.
Smart Images

Figure CN118981613A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of state assessment, and in particular to a method and system for jointly estimating an operation error of a smart meter and a daily line loss rate. Background Art
[0002] As a key terminal device in the smart grid, the accuracy of smart meters is directly related to the fairness of trade between electricity suppliers and users. At present, the number of meters in operation in my country has exceeded 500 million. On the one hand, the operation supervision of meters depends on periodic on-site sampling by professionals. This verification mode consumes a lot of manpower and time costs and is difficult to meet the needs of meter detection and maintenance. On the other hand, my country currently adopts a strategy of regular rotation of meters. However, data shows that the qualified rate of meters removed upon expiration is as high as more than 99%, resulting in unnecessary waste of a large amount of resources. In order to realize the transformation of smart meters from regular replacement to status replacement, an efficient and accurate remote estimation method is urgently needed to ensure the accuracy of smart meter measurement and meet the needs of grid operation and trade settlement.
[0003] In recent years, the error estimation of smart meters based on the energy conservation equation has gradually become a research hotspot. By estimating the operating error of the meter to judge its operating status, accurate rotation of out-of-tolerance meters can be achieved. The limited memory recursive least squares method is used to estimate the operating error of the meter online, which suppresses the data saturation problem and the ill-conditioned problem of the equation. However, this method uses a fixed line loss, and the line loss will change with the load in actual situations. According to the principle of energy conservation, the estimation accuracy of the meter error is closely related to the prediction accuracy of the line loss rate in the substation. The dynamic line loss model is more accurate than the fixed line loss in calculating the line loss rate in the substation, but the model is too idealized and is only applicable to the situation where the power consumption pattern remains basically unchanged. Based on the problem that the line loss rate estimation model in the existing technology is too idealized and cannot obtain an accurate line loss rate estimate, thus affecting the accuracy of the meter error estimation, no effective solution has been proposed.
[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0005] Therefore, the technical problem to be solved by the present invention is that the current line loss rate estimation model is too idealized and cannot obtain an accurate line loss rate estimation value, thereby affecting the error estimation accuracy of the electric meter.
[0006] In order to solve the above technical problems, the first aspect of the present invention provides a method for jointly estimating the operation error of a smart meter and the daily line loss rate, the method comprising:
[0007] Obtaining initial measurement data;
[0008] Eliminating abnormal data and data of light-load users in the initial measurement data to obtain pre-processed measurement data;
[0009] The line loss rate estimation system of the extended Kalman filter algorithm calculates the measured data to obtain an estimated value of the line loss rate of the substation area;
[0010] Inputting the estimated value of the line loss rate of the substation area into the error estimation system of the recursive least square method based on the dynamic forgetting factor to obtain the error estimation parameter of the smart meter in the substation area;
[0011] The error estimation parameters are input into the line loss rate estimation system to obtain a new line loss rate estimation value, and the number of cycles increases successively until the error estimation parameters converge to obtain an accurate value of the error estimation.
[0012] In one embodiment of the present invention, the step of calculating the measured data by the line loss rate estimation system of the extended Kalman filter algorithm to obtain the estimated value of the line loss rate of the substation area includes:
[0013] Calculate line loss rate data according to the measured data;
[0014] The discrete line loss rate data is converted into a continuous linear function according to a cubic exponential smoothing model;
[0015] Establishing the state equation and measurement equation of the station area line loss rate estimation model through EKF and the linear function;
[0016] Establishing a prediction equation and an update equation according to the state equation;
[0017] Establishing a prediction covariance matrix according to the prediction equation;
[0018] Establishing a measurement error covariance matrix according to the update equation;
[0019] By adjusting the size of the measurement error covariance matrix, the estimated value of the line loss rate in the substation area is obtained.
[0020] In one embodiment of the present invention, the step of removing abnormal data and data of light-load users in the initial measurement data to obtain pre-processed measurement data includes:
[0021] Eliminate the measurement periods in which there are missing problems in the initial measurement data and the measurement periods in which the sum of the power consumption of the sub-meters is greater than the power supply of the total meter;
[0022] The substations are divided into heavy load, general load and light load according to their load levels, and the light load users in the initial measurement data are eliminated to obtain the pre-processed measurement data; the heavy load refers to the daily average power consumption greater than 20 degrees, and the light load refers to the daily average power consumption less than 1 degree.
[0023] In one embodiment of the present invention, the cubic exponential smoothing formula is:
[0024]
[0025] T i-1 =β(L i-1 -L i-2 )+(1-β)T i-2 ;
[0026]
[0027] Among them, L i-1 , T i-1 , S i-1 They represent the level value, trend value and seasonal value of the i-1th measurement period respectively; α, β, γ are the corresponding smoothing coefficients, and m is the period parameter.
[0028] In one embodiment of the present invention, the state equation is:
[0029]
[0030] Among them, A is the state transfer matrix of line loss rate data; B i is the input matrix, which is used to represent the external interference factors of load change; u i It is an external input, and its value is always 1; is the a priori estimate of the line loss rate.
[0031] In one embodiment of the present invention, it is characterized in that:
[0032] The prediction equation is:
[0033]
[0034]
[0035] in, is the covariance matrix of the a priori estimate of line loss in the i-th measurement period; is the covariance matrix of the a posteriori estimate of the line loss rate in the i-th measurement period; Q i is the process noise covariance matrix. is the a posteriori estimate of the line loss rate in the i-1th measurement period, and the superscript T represents the matrix transpose operation.
[0036] In one embodiment of the present invention, the update equation is:
[0037]
[0038]
[0039]
[0040]
[0041] in, is the covariance matrix of the a priori estimate of line loss in the i-th measurement period; is the covariance matrix of the a posteriori estimate of the line loss rate in the i-th measurement period; Q i is the process noise covariance matrix, G i is the extended Kalman gain of the i-th measurement period, H i is the observation matrix; R i is the measurement error covariance matrix, is the error estimation parameter, y feeder,i is the measurement equation, I is the unit matrix, and h is the measurement equation of the EKF algorithm.
[0042] A second aspect of the present invention provides a smart meter operation error and daily line loss rate joint estimation system, the system comprising: a data acquisition module, a line loss rate calculation module and an error calculation module;
[0043] The data acquisition module is configured to: acquire initial measurement data; remove abnormal data and data of light-load users from the initial measurement data to obtain pre-processed measurement data;
[0044] The line loss rate calculation module is configured to: calculate the measured data through the line loss rate estimation system of the extended Kalman filter algorithm to obtain an estimated value of the line loss rate of the substation area;
[0045] The error calculation module is configured to: input the estimated value of the line loss rate in the substation into the error estimation system of the recursive least squares method based on the dynamic forgetting factor to obtain the error estimation parameters of the smart meter in the substation; obtain a new estimated value of the line loss rate by inputting the error estimation parameters into the line loss rate estimation system, and the number of cycles increases successively until the error estimation parameters converge to obtain the accurate value of the error estimate.
[0046] The third aspect of the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method described in the first aspect or any possible implementation of the first aspect is implemented.
[0047] A fourth aspect of the present invention provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect or any possible implementation of the first aspect.
[0048] The above technical solution of the present invention has the following advantages compared with the prior art:
[0049] The method and system for jointly estimating the operating error and daily line loss rate of a smart meter described in the present invention solve the problem that the line loss rate estimation model is too idealized, and obtain a more accurate line loss rate estimation value, thereby ensuring the accuracy of the meter error estimation. It can accurately locate the positive out-of-tolerance meters and negative out-of-tolerance meters in the substation area, and help to achieve the transformation of smart meters from periodic replacement to status replacement. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to make the contents of the present invention more clearly understood, the present invention is further described in detail below based on specific embodiments of the present invention in conjunction with the accompanying drawings.
[0051] Figure 1 It is a flow chart of a method and system for jointly estimating the operation error and daily line loss rate of a smart meter provided by the present invention;
[0052] Figure 2 The present invention provides a method for jointly estimating the operation error of a smart meter and the daily line loss rate and a load classification result diagram of the meter in the substation area of the system;
[0053] Figure 3 It is a recursive estimation data diagram of an out-of-tolerance situation of a smart meter operation error and a daily line loss rate joint estimation method and a system provided by the present invention;
[0054] Figure 4 It is a recursive estimation data diagram of an out-of-tolerance situation of situation 2 in a method for jointly estimating an operation error of a smart meter and a daily line loss rate and a system provided by the present invention;
[0055] Figure 5 It is a recursive estimation data diagram of an out-of-tolerance situation of situation three in a method for jointly estimating an operation error of a smart meter and a daily line loss rate and a system provided by the present invention;
[0056] Figure 6 It is a recursive estimation data diagram of an out-of-tolerance situation of situation 4 in a method for jointly estimating an operation error of a smart meter and a daily line loss rate and a system provided by the present invention;
[0057] Figure 7 It is a system architecture diagram of a method and system for jointly estimating operation error and daily line loss rate of a smart meter provided by the present invention. DETAILED DESCRIPTION
[0058] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it, but the embodiments are not intended to limit the present invention.
[0059] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0060] Reference Figure 1 As shown, the present invention provides a method for jointly estimating the operation error of a smart meter and the daily line loss rate, the method comprising:
[0061] S100, obtaining initial measurement data;
[0062] S200, remove abnormal data and data of light-load users in the initial measurement data to obtain pre-processed measurement data; in step S200, remove measurement periods in which there are missing problems in the initial measurement data and measurement periods in which the sum of the power consumption of the sub-meters is greater than the power supply of the total meter; divide the sub-meters into heavy load, general load and light load according to their load levels, and remove light-load users in the initial measurement data to obtain the pre-processed measurement data; the heavy load refers to a daily average power consumption greater than 20 degrees, and the light load refers to a daily average power consumption less than 1 degree.
[0063] In actual application scenarios, the initial measurement data is obtained, and the measurement periods with missing data and the measurement periods when the sum of the power consumption of the sub-meters is greater than the power supply of the total meter are eliminated. Then the sub-meters are divided into three categories according to their load levels: heavy load (average daily power consumption greater than 20 degrees), general load, and light load (average daily power consumption less than 1 degree). Light-load users are eliminated so that they do not participate in the operation error estimation, so as to obtain pre-processed measurement data and improve data integrity and availability.
[0064] S300, calculating the measured data through a line loss rate estimation system using an extended Kalman filter algorithm to obtain an estimated value of the line loss rate of the substation area;
[0065] In step S300, the step of calculating the measured data by the extended Kalman filter algorithm to obtain the line loss rate of the substation area includes: calculating the line loss rate data according to the measured data; converting the discrete line loss rate data into a continuous linear function according to the cubic exponential smoothing model; establishing the state equation and measurement equation of the substation line loss rate estimation model through E anal and the linear function; establishing the prediction equation and update equation according to the state equation; establishing the prediction covariance matrix according to the prediction equation; establishing the measurement error covariance matrix according to the update equation: by adjusting the size of the measurement error covariance matrix, the estimated value of the substation line loss rate is obtained. The cubic exponential smoothing formula is:
[0066]
[0067] T i-1 =β(L i-1 -L i-2 )+(1-β)T i-2 (2);
[0068]
[0069] Among them, L i-1 , T i-1 , S i-1 They represent the level value, trend value and seasonal value of the i-1th measurement period respectively; α, β, γ are the corresponding smoothing coefficients, and m is the period parameter. The state equation is:
[0070]
[0071] Among them, A is the state transfer matrix of line loss rate data; B i is the input matrix, which is used to represent the external interference factors of load change; u i It is an external input, and its value is always 1; is the a priori estimate of the line loss rate. The prediction equation is:
[0072]
[0073]
[0074] in, is the covariance matrix of the a priori estimate of line loss in the i-th measurement period; is the covariance matrix of the a posteriori estimate of the line loss rate in the i-th measurement period; Q i is the process noise covariance matrix. is the a posteriori estimate of the line loss rate in the i-1th measurement period, and the superscript T represents the matrix transposition operation. The update equation is:
[0075]
[0076]
[0077]
[0078]
[0079] in, is the covariance matrix of the a priori estimate of line loss in the i-th measurement period; is the covariance matrix of the a posteriori estimate of the line loss rate in the i-th measurement period; Q i is the process noise covariance matrix, G i is the extended Kalman gain of the i-th measurement period, H i is the observation matrix; R i is the measurement error covariance matrix, is the error estimation parameter, y feeder,i is the measurement equation, I is the unit matrix, and h is the measurement equation of the EKF algorithm.
[0080] In actual application scenarios, the mathematical modeling of the system by the extended Kalman filter algorithm includes the system model and the measurement model, which are described by the state equation and the measurement equation respectively:
[0081] The state equation is: i =f(x i-1 ,u i )+ω i-1 (11);
[0082] The measurement equation is: feeder,i =h(x i )+v i (12);
[0083] Where f(·) and h(·) represent the functions of the model state equation and the measurement equation, respectively; ω and v represent the process noise and measurement noise, respectively; u i Indicates external input.
[0084] The line loss rate of the substation area will be affected by the seasonal load and show a nonlinear change trend and implicit periodic characteristics. In engineering applications, if f(·) in equation (11) is a nonlinear model, it is difficult to calculate the line loss rate x i The advantages of the triple exponential smoothing model are its adaptability to nonlinear trends and its effective handling of seasonal changes. The discrete historical line loss rate data are converted into a continuous linear function using the triple exponential smoothing model. The formulas are shown in equations (1) to (3), where the ranges of α, β, and γ are all (0, 1), and the estimated value at the i+hth measurement moment is:
[0085]
[0086] in, is the prior estimate of the line loss rate in the i+hth measurement period; h is the prediction step length, and each measurement period needs to have a predicted line loss rate value, so h is set to 1; mod is the remainder operation; the period parameter m is set to 2. The state equation of the line loss rate in the substation area can be obtained by equations (1), (2), (3) and (6). The state equation is shown in equation (11). The prediction equation and update equation are established based on the state equation. The state and covariance matrix of the next moment are predicted by the prediction equation, and the prediction equation is obtained as shown in equations (5) and (6). The updated new measurement equation is defined as:
[0087]
[0088] However, the current meter error estimation parameters in the line loss rate estimation model are is an unknown number, so the above formula needs to be modified. It is assumed that the error estimation parameters of the sub-table will not change suddenly. Therefore, the error estimation parameters of the previous stage are used to approximately replace the current value, that is, Therefore, the corrected measurement equation is expressed as follows:
[0089]
[0090] Using the modified measurement equation, the estimated value of the state and the estimated covariance matrix are updated to obtain the update equations shown in equations (7) to (10), where G i The weight used to balance prediction and measurement, R i is a value related to the measurement error of the submeter. i If R is too large, the filter will over-consider the measured data and not fully trust the system dynamic model. i If it is too small, the filter will over-trust the system dynamic model and not fully consider the measurement data. Therefore, it is necessary to adjust the measurement error covariance matrix to an appropriate size through experiments.
[0091] S400, inputting the estimated value of the line loss rate of the substation area into the error estimation system of the recursive least square method based on the dynamic forgetting factor to obtain the error estimation parameter of the smart meter in the substation area;
[0092] In step S400, the least squares estimate of the system after the station area measurement is:
[0093]
[0094] Let the covariance matrix be defined as:
[0095]
[0096] The error estimation parameters are updated online in a recursive form, and the recursive least square (RLS) method is obtained as shown below:
[0097]
[0098] Among them, K i+1 is the gain matrix, P i is the covariance matrix, is the recursive formula for the i+1th error estimation parameter.
[0099] The forgetting factor is introduced to balance the influence of new and old data on the model identification parameters to adapt to data changes and improve the adaptability of the model. The forgetting factor is used as a function of the estimated residual and the size of the forgetting factor is controlled by monitoring the estimated residual. The specific calculation method is shown in the following formula:
[0100]
[0101]
[0102] Among them, μ i is the time-varying forgetting factor, and sets a lower bound μ for it min =0.9, making its value range (0.9, 1); e i is the estimated residual; n is the empirical coefficient, which is 10 3 ; σ 2 is the noise variance, which takes the value of 1.
[0103] The final DFFRLS algorithm formula is shown as follows:
[0104]
[0105] S500, inputting the error estimation parameter into the line loss rate estimation system to obtain a new line loss rate estimation value, and the number of cycles increases successively until the error estimation parameter converges to obtain an accurate value of the error estimation;
[0106] In step S500, the line loss rate and the operation error of the smart meter in the substation are coupled, that is, the line loss rate and the operation error of the smart meter in the substation are estimated by using EKF and DFFRLS respectively to obtain simulation data.
[0107] Reference Figure 2As shown in the figure, the data selected is the electricity consumption data of a residential distribution station in a certain city. There are 80 sub-meters and 1 main meter in the substation, all of which are normal meters without deviations. The sampling frequency of electricity consumption is once a day, with a total of 763 days of measurement data. The collected data is pre-processed to eliminate the measurement periods with missing data and the measurement periods where the sum of the electricity consumption of the sub-meters is greater than the power supply of the main meter. Secondly, the substation meters are divided into three categories according to their load levels: heavy load (average daily electricity consumption greater than 20 degrees), general load, and light load (average daily electricity consumption less than 1 degree). Figure 3 As shown in the figure, 8 sub-meters, including No. 4, No. 7, No. 13, No. 30, No. 37, No. 45, No. 67, and No. 74, are lightly loaded. The creep phenomenon under light load will affect the measurement accuracy of the smart meter. In order to ensure that the estimated operation error values of all sub-meters are within the same error limit, light-load users need to be eliminated so that they do not participate in the operation error estimation.
[0108] Reference Figure 3 , Figure 4 , Figure 5 and Figure 6 As shown in the figure, four different out-of-tolerance situations are designed for the electric meters with different loads in the substation to verify the algorithm's ability to identify out-of-tolerance electric meters. Figure 3 All sub-meters in the simulation area are within tolerance; Figure 4 In the experiment, a 6% operating error rate was injected into the No. 66 heavy-load sub-meter to simulate the situation where only one sub-meter in the substation area was out of tolerance; Figure 5 Based on the second scenario, 8% and 10% operation error rates were injected into the No. 17 and No. 56 general load sub-meters respectively to simulate the situation where multiple sub-meters in the substation area have positive deviations; Figure 6 exist Figure 5 On this basis, a -9% operating error is injected into No. 72 general load sub-meter to simulate the situation where both positive and negative differential meters exist in the substation.
[0109] Among them, the horizontal axis is the measurement period, and the vertical axis is the actual operation error rate of each sub-meter, and its initial value is a minimum value close to zero. When the number of measurements is less than the number of sub-meters, the system does not provide enough information for the error estimation of the sub-meter, and the error estimate slowly increases at this time; when the number of measurements increases to the number of sub-meters, the model coefficient matrix becomes a full-rank matrix. At this time, the matrix contains complete meter operation error information, and the estimated value also mutates at this time and reaches a maximum value; as the number of measurements increases, the error estimates of each sub-meter gradually converge, but in the process of convergence, a few sub-meters will still fluctuate widely, which is due to the pathological nature of the data itself. After about 300 estimates, the errors of each sub-meter stabilized at a constant value and fluctuated within a small range. Figure 3In the above data, the error limit of most sub-meter error estimates can be kept within 0.5%. It can be seen that when there is a single or multiple sub-meter with positive deviation or positive and negative deviation sub-meters exist at the same time in the substation area, the operation error of each deviation meter can be accurately estimated.
[0110] Reference Figure 7 As shown, the second aspect of the present invention provides a smart meter operation error and daily line loss rate joint estimation system, the system comprising: a data acquisition module 100, a line loss rate calculation module 200 and an error calculation module 300;
[0111] The data acquisition module 100 is configured to: acquire initial measurement data; remove abnormal data and data of light-load users from the initial measurement data to obtain pre-processed measurement data;
[0112] The line loss rate calculation module 200 is configured to: calculate the measured data through the line loss rate estimation system of the extended Kalman filter algorithm to obtain the estimated value of the line loss rate of the substation area;
[0113] The error calculation module 300 is configured to: input the estimated value of the line loss rate in the substation into the error estimation system of the recursive least squares method based on the dynamic forgetting factor to obtain the error estimation parameters of the smart meter in the substation; input the error estimation parameters into the line loss rate estimation system to obtain a new estimated value of the line loss rate, and the number of cycles increases successively until the error estimation parameters converge to obtain the accurate value of the error estimate.
[0114] The effects of the above-mentioned system when applying the above-mentioned method can be found in the description of the above-mentioned method embodiment, which will not be repeated here.
[0115] The third aspect of the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method described in the first aspect or any possible implementation of the first aspect is implemented.
[0116] A fourth aspect of the present invention provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect or any possible implementation of the first aspect.
[0117] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0118] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0119] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0120] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0121] Obviously, the above embodiments are merely examples for clear explanation and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived from these are still within the protection scope of the invention.
Claims
1. A method for jointly estimating the operation error of a smart meter and the daily line loss rate, characterized in that: The method comprises: Obtaining initial measurement data; Eliminating abnormal data and data of light-load users in the initial measurement data to obtain pre-processed measurement data; The line loss rate estimation system of the extended Kalman filter algorithm calculates the measured data to obtain an estimated value of the line loss rate of the substation area; Inputting the estimated value of the line loss rate of the substation area into the error estimation system of the recursive least square method based on the dynamic forgetting factor to obtain the error estimation parameter of the smart meter in the substation area; The error estimation parameters are input into the line loss rate estimation system to obtain a new line loss rate estimation value, and the number of cycles increases successively until the error estimation parameters converge to obtain an accurate value of the error estimation.
2. A method for jointly estimating the operation error and daily line loss rate of a smart meter according to claim 1, characterized in that: The step of calculating the measured data by the line loss rate estimation system of the extended Kalman filter algorithm to obtain the estimated value of the line loss rate of the substation area includes: Calculate line loss rate data according to the measured data; The discrete line loss rate data is converted into a continuous linear function according to the triple exponential smoothing model: Establishing the state equation and measurement equation of the station area line loss rate estimation model through EKF and the linear function; Establishing a prediction equation and an update equation according to the state equation; Establishing a prediction covariance matrix according to the prediction equation; Establishing a measurement error covariance matrix according to the update equation; By adjusting the size of the measurement error covariance matrix, the estimated value of the line loss rate in the substation area is obtained.
3. The method for jointly estimating the operation error and daily line loss rate of a smart meter according to claim 1 is characterized in that: The step of removing abnormal data and data of light-loaded users from the initial measurement data to obtain pre-processed measurement data includes: Eliminate the measurement periods in which there are missing problems in the initial measurement data and the measurement periods in which the sum of the power consumption of the sub-meters is greater than the power supply of the total meter; The substations are divided into heavy load, general load and light load according to their load levels, and the light load users in the initial measurement data are eliminated to obtain the pre-processed measurement data; the heavy load refers to the daily average power consumption greater than 20 degrees, and the light load refers to the daily average power consumption less than 1 degree.
4. A method for jointly estimating the operation error of a smart meter and the daily line loss rate according to claim 2, characterized in that: The triple exponential smoothing formula is: T i-1 =β(L i-1 -L i-2 )+(1-*β)T i-2 ; Among them, L i-1 , T i-1 , S i-1 They represent the level value, trend value and seasonal value of the i-1th measurement period respectively; α, β, γ are the corresponding smoothing coefficients, and m is the period parameter.
5. The method for jointly estimating the operation error of a smart meter and the daily line loss rate according to claim 2 is characterized by: The state equation is: Among them, A is the state transfer matrix of line loss rate data; B is the input matrix, which is used to represent the external interference factors of load change; u i It is an external input, and its value is always 1; is the a priori estimate of the line loss rate.
6. A method for jointly estimating the operation error of a smart meter and the daily line loss rate according to claim 2, characterized in that: The prediction equation is: in, is the covariance matrix of the a priori estimate of line loss in the i-th measurement period; is the covariance matrix of the a posteriori estimate of the line loss rate in the i-th measurement period; Q i is the process noise covariance matrix. is the a posteriori estimate of the line loss rate in the i-1th measurement period, and the superscript T represents the matrix transpose operation.
7. A method for jointly estimating the operation error of a smart meter and the daily line loss rate according to claim 2, characterized in that: The update equation is: in, is the covariance matrix of the a priori estimate of line loss in the i-th measurement period; is the covariance matrix of the a posteriori estimate of the line loss rate in the i-th measurement period; Q i is the process noise covariance matrix, G i is the extended Kalman gain of the i-th measurement period, H i is the observation matrix; R i is the measurement error covariance matrix, is the error estimation parameter, y feeder,i is the measurement equation, I is the unit matrix, and h is the measurement equation of the EKF algorithm.
8. A smart meter operation error and daily line loss rate joint estimation system, characterized in that: The system comprises: a data acquisition module, a line loss rate calculation module and an error calculation module; The data acquisition module is configured to: acquire initial measurement data; remove abnormal data and data of light-load users from the initial measurement data to obtain pre-processed measurement data; The line loss rate calculation module is configured to: calculate the measured data through the line loss rate estimation system of the extended Kalman filter algorithm to obtain an estimated value of the line loss rate of the substation area; The error calculation module is configured to: input the estimated value of the line loss rate in the substation into the error estimation system of the recursive least squares method based on the dynamic forgetting factor to obtain the error estimation parameters of the smart meter in the substation; input the error estimation parameters into the line loss rate estimation system to obtain a new estimated value of the line loss rate, and the number of cycles increases successively until the error estimation parameters converge to obtain the accurate value of the error estimate.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of a method for jointly estimating the operation error and daily line loss rate of a smart meter as described in any one of claims 1 to 7 are implemented.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of a method for jointly estimating the operation error and daily line loss rate of a smart meter as described in any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Intelligent electric meter operation error monitoring method combined with line loss analysis
CN111398885A
Algorithm based on DFFLS and neural network-ASRUKF for storage battery
CN113094649A
Intelligent periodic alternation method for intelligent electric energy meters in court
CN114529023A
Distribution area line loss rate dynamic estimation method
CN116431972A
Cited By
Electric energy meter error detection method and device for predicting transformer area line loss and medium
CN119884595A
Power distribution network state parameter joint estimation method based on double extended Kalman filtering
CN120566577A
Joint estimation method for state parameters of distribution network based on double extended kalman filter
CN120566577B
Electric power meter abnormity analysis method and system
CN121679465A
Method and system for analyzing electric metering meter anomalies
CN121679465B
