A method for repairing abnormal missing low-voltage measurement data of power distribution and utilization for business middle station
By constructing and optimizing the power consumption data matrix, the problem of missing and abnormal power consumption data for users in low-voltage station areas has been solved, and high-precision data recovery has been achieved, which is suitable for a new round of energy system reform in the efficient use of new energy.
Patent Information
- Application Number
- CN202111118062.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-22
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-09-22
AI Technical Summary
In low-voltage station areas, user power consumption data has diverse user types and large differences in power consumption scenarios, resulting in direct data that does not have matrix low-rank characteristics. Existing low-rank matrix recovery methods cannot effectively handle data missing and abnormal problems, and cannot provide Accurate user electricity consumption information data.
By constructing an electricity consumption data matrix, recording the location of missing data, pre-filling based on the objective function of minimizing the matrix kernel norm, and clustering based on the spatial correlation of electricity consumption behavior, a low-efficiency joint optimization of the matrix kernel norm and L1 norm is established. Rank repair model,solved iteratively to recover complete data.
Significantly improves data quality, provides higher-precision user power information data recovery, and is suitable for a new round of energy system reform in the efficient use of new energy.
Smart Images

Figure CN114004058B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of information data repair, and relates to a method for repairing abnormal missing of low-voltage measurement data of power distribution and utilization, and in particular to a method for repairing abnormal missing of low-voltage measurement data of power distribution and utilization oriented to a business middle station. Background Art
[0002] In recent years, with the development and construction of smart distribution networks and the investment in information equipment for distribution systems, the distribution network has generated massive amounts of multi-source information data. The power grid middle station technology provides an effective platform for the processing and application of these massive amounts of information data. At present, the transmission of information from each terminal in the low-voltage station area is generally carried out through power line carrier communication. The working environment of the acquisition terminal is complex, and data loss is easily caused by channel interference and abnormal acquisition equipment. For missing and abnormal data, the traditional processing method is to discard the missing data or fill it by calculating the mean, median, mode, etc. of adjacent data points. This traditional processing method only improves the integrity of the information data, but cannot restore the correct data, and the data quality has not been effectively improved.
[0003] Different from the idea of data repair using artificial intelligence methods, the low-rank matrix filling method does not require training with prior knowledge and has the advantage of low computational complexity, providing a new idea for missing data recovery. However, for the electricity consumption data of low-voltage substation users, due to the diverse user types, electricity consumption scenarios and behaviors vary greatly, the direct electricity consumption data does not have the low-rank characteristics of the matrix, and the low-rank matrix recovery method cannot be directly applied.
[0004] Therefore, how to provide more accurate user electricity consumption information data for a new round of energy system reform characterized by efficient use of new energy through data repair is a technical problem that needs to be urgently solved by technical personnel in this field.
[0005] After searching, no public documents of the prior art that are identical or similar to the present invention were found. Summary of the invention
[0006] The purpose of the present invention is to overcome the shortcomings of the prior art and to propose a method for repairing abnormal missing low-voltage measurement data of power distribution and utilization for business middle stations, which can effectively handle missing and abnormal data in the measurement data of the distribution network business middle station.
[0007] The present invention solves the practical problem by adopting the following technical solutions:
[0008] A method for repairing abnormal missing of low-voltage measurement data of power distribution and utilization for a business middle station, comprising the following steps:
[0009] Step 1: Construct a power consumption data matrix of multiple users in the same area within one day;
[0010] Step 2, recording the location set of missing data in the electricity consumption data matrix of step 1;
[0011] Step 3: Based on the missing data location set in step 2 and the objective function of minimizing the matrix nuclear norm, a pre-filling model is constructed to pre-fill the missing data in the electricity consumption data matrix in step 1;
[0012] Step 4: Cluster the electricity consumption data matrix pre-filled in step 3 according to the spatial correlation of electricity consumption behavior;
[0013] Step 5: Based on the electricity consumption data matrix after clustering in step 4, considering the influence of abnormal data, a low-rank repair model for electricity consumption data is established by jointly optimizing the matrix nuclear norm and L1 norm;
[0014] Step 6: Solve the low-rank repair model of electricity consumption data constructed in step 5 by jointly optimizing the matrix nuclear norm and L1 norm to obtain the electricity consumption data matrix after secondary repair.
[0015] Moreover, the specific method of step 1 is:
[0016] The average power data of n equally spaced moments in a day constitutes a one-dimensional time series vector x, and the load data of m users in the same area on the same day constitutes the power consumption data matrix X∈R m×n .
[0017] Moreover, the specific method of step 2 is:
[0018] The location set Ω of the missing data in the electricity consumption data matrix is recorded to form the matrix operator P Ω :
[0019]
[0020] Where Ω is the set of missing element positions, and X is the constructed electricity consumption data matrix.
[0021] Moreover, the specific steps of step 3 include:
[0022] (1) Based on the objective function of minimizing the matrix nuclear norm, the following pre-filling model is constructed to pre-fill the missing data in the original electricity consumption data matrix in step 1, preliminarily restore the missing electricity consumption data, and use the electricity data matrix to restore the complete data:
[0023]
[0024] In the formula, X is the missing electricity consumption data matrix, U is the restored complete electricity consumption data matrix, and P Ω is the position operator.
[0025] (2) Apply the SVT algorithm to solve the pre-filled model, and the iterative formula is as follows:
[0026]
[0027] Where shrink(·) is the singular value shrinkage operator, Y is the auxiliary matrix, and Y0=0.
[0028] Moreover, the specific method of step 4 is:
[0029] According to the spatial correlation of electricity consumption behavior, the electricity consumption data matrix U pre-filled in step 3 is clustered to obtain the clustered electricity consumption data matrix X i , so the data matrix X i It has low rank.
[0030] Moreover, the low-rank repair model of electricity consumption data jointly optimized by the matrix nuclear norm and L1 norm in step 5 is:
[0031]
[0032] Where X is the clustered electricity consumption data matrix obtained in step 4, U is the data matrix after secondary repair, and E is the classified abnormal data matrix.
[0033] Moreover, the specific steps of step 6 include:
[0034] (1) First, construct the Lagrangian function of the optimization problem and transform the constrained optimization problem into an unconstrained optimization problem:
[0035]
[0036] In the formula, μ and λ are weight coefficients, and the matrix Y is the Lagrange multiplier matrix;
[0037] (2) According to the iterative threshold algorithm, the alternating update format of matrices U, E and Y is obtained:
[0038]
[0039] In the formula, δ is the weight coefficient, D t (·) is the singular value reduction operator, S t (·) is the singular value threshold operator.
[0040] (3) When the error between two consecutive matrix updates (U k+1 -U k )、(E k+1 -E k ) and (Y k+1 -Y k ) are all less than the set threshold ε, the calculation is completed, and the high-precision repaired data matrix U = U k+1 .
[0041] Advantages and beneficial effects of the present invention:
[0042] 1. In the information data scenario of the power distribution middle station, in order to solve the problem that the types of distribution network users are diverse, the power usage scenarios and behaviors are very different, the direct data matrix does not have the low-rank characteristics of the matrix, and the low-rank matrix recovery method cannot be directly applied, the present invention proposes a method for repairing abnormal missing low-voltage measurement data for the distribution and use of power for the business middle station. Through data pre-filling and data clustering, the rank of the clustered data matrix is significantly reduced, so that higher-precision recovery data can be further obtained through low-rank matrix recovery, thereby effectively improving the data quality of the information collection system of the distribution business middle station.
[0043] 2. Based on the clustered electricity data matrix, the present invention establishes a low-rank repair model for electricity data that is jointly optimized by the matrix nuclear norm and the L1 norm; then the low-rank repair model for electricity data that is jointly optimized by the matrix nuclear norm and the L1 norm is solved. The present invention converts it into an unconstrained optimization problem by constructing a Lagrangian function, and applies an iterative threshold algorithm to obtain a complete data matrix with higher recovery accuracy. It can provide complete and accurate user electricity information data for a new round of energy system reform characterized by efficient use of new energy. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 It is a schematic diagram of the power consumption data matrix of the present invention;
[0045] Figure 2 It is a schematic diagram of relative error results of repairing missing data according to the present invention;
[0046] Figure 3 It is a schematic diagram of the root mean square error result of repairing missing data according to the present invention. DETAILED DESCRIPTION
[0047] The embodiments of the present invention are further described in detail below with reference to the accompanying drawings:
[0048] A method for repairing abnormal missing of low-voltage measurement data of power distribution and utilization for a business middle station, comprising the following steps:
[0049] Step 1: Construct a power consumption data matrix of multiple users in the same area within one day;
[0050] The specific method of step 1 is: the average power data of n equally spaced moments in a day constitutes a one-dimensional time series vector x, and then the load data of m users in the same area on the same day constitutes a power consumption data matrix X∈R m×n .
[0051] Step 2, recording the location set of missing data in the electricity consumption data matrix of step 1;
[0052] The specific method of step 2 is:
[0053] The location set Ω of the missing data in the electricity consumption data matrix is recorded to form the matrix operator P Ω :
[0054]
[0055] Where Ω is the set of missing element positions, and X is the constructed electricity consumption data matrix.
[0056] In this embodiment, taking the power consumption measurement data of a user in an actual power distribution business as an example, a power consumption data matrix X is constructed, and its graphical representation is as follows: Figure 1 As shown, the one-dimensional measurement data is converted into a matrix form. Each column / row of the matrix represents the measurement data of a user for one day, and the black dots are missing data points.
[0057] Step 3: Based on the missing data location set in step 2 and the objective function of minimizing the matrix nuclear norm, a pre-filling model is constructed to pre-fill the missing data in the electricity consumption data matrix in step 1;
[0058] The specific steps of step 3 include:
[0059] (1) Based on the objective function of minimizing the matrix nuclear norm, the following pre-filling model is constructed to pre-fill the missing data in the original electricity consumption data matrix in step 1, preliminarily restore the missing electricity consumption data, and use the electricity data matrix to restore the complete data:
[0060]
[0061] In the formula, X is the missing electricity consumption data matrix, U is the restored complete electricity consumption data matrix, and P Ω is the position operator.
[0062] (2) Apply the SVT algorithm to solve the pre-filled model, and the iterative formula is as follows:
[0063]
[0064] Where shrink(·) is the singular value shrinkage operator, Y is the auxiliary matrix, and Y0=0.
[0065] Step 4: Cluster the electricity consumption data matrix pre-filled in step 3 according to the spatial correlation of electricity consumption behavior;
[0066] The specific method of step 4 is:
[0067] According to the spatial correlation of electricity consumption behavior, the electricity consumption data matrix U pre-filled in step 3 is clustered to obtain the clustered electricity consumption data matrix X i , so the data matrix Xi It has low rank.
[0068] Step 5: Based on the electricity consumption data matrix after clustering in step 4, considering the impact of abnormal data, a low-rank repair model for electricity consumption data is established by jointly optimizing the matrix nuclear norm and L1 norm:
[0069]
[0070] Where X is the clustered electricity consumption data matrix obtained in step 4, U is the data matrix after secondary repair, and E is the classified abnormal data matrix.
[0071] Step 6: Solve the low-rank repair model of electricity consumption data constructed in step 5 by jointly optimizing the matrix nuclear norm and L1 norm to obtain the electricity consumption data matrix after secondary repair.
[0072] The specific steps of step 6 include:
[0073] (1) First, construct the Lagrangian function of the optimization problem and transform the constrained optimization problem into an unconstrained optimization problem:
[0074]
[0075] Where μ and λ are weight coefficients, and matrix Y is the Lagrange multiplier matrix.
[0076] (2) According to the iterative threshold algorithm, the alternating update format of matrices U, E and Y is obtained:
[0077]
[0078] In the formula, δ is the weight coefficient, D t (·) is the singular value reduction operator, S t (·) is the singular value threshold operator.
[0079] (3) When the error between two consecutive matrix updates (U k+1 -U k )、(E k+1 -E k ) and (Y k+1 -Y k ) are all less than the set threshold ε, the calculation is completed, and the high-precision repaired data matrix U = U k+1 .
[0080] In order to verify the effectiveness of the method for repairing abnormal missing low-voltage measurement data of power distribution and utilization for business middle stations in the present invention, the problem of missing daily load data of users in actual low-voltage station areas is repaired and the effect is analyzed.
[0081] In the data missing recovery experiment, the random missing data ratio was set to change from 5% to 50%, with each step being 5%. At each missing ratio, 50 sets of data missing completion experiments were conducted, and the average value of the recovery error was calculated.
[0082] The repair errors of the method of the present invention and the comparison algorithms such as piecewise linear interpolation, KNN, and traditional low-rank matrix recovery are obtained, such as Figure 2 , Figure 3 As shown. Regardless of the low missing rate of 5% or the high missing rate of 50%, the recovery error RRE and RMSE of the method of the present invention are lower than those of the comparison algorithm. Specifically, when the random missing ratio is 50% and the high missing rate is 50%, the RMSE of the method of the present invention is only 0.25kW, which is 50.98% lower than the 0.51kW of matrix filling recovery; 52.83% lower than the 0.53kW of the KNN method; and 64.24% lower than the 0.4kW of the piecewise linear interpolation.
[0083] 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.
[0084] 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.
[0085] 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.
[0086] 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.
Claims
1. A method for repairing abnormal missing of low-voltage measurement data of power distribution and utilization for business middle station, characterized by: The following steps are involved: Step 1: Construct a power consumption data matrix of multiple users in the same area within one day; Step 2, recording the location set of missing data in the electricity consumption data matrix of step 1; Step 3: Based on the missing data location set in step 2 and the objective function of minimizing the matrix nuclear norm, a pre-filling model is constructed to pre-fill the missing data in the electricity consumption data matrix in step 1; Step 4: Cluster the electricity consumption data matrix pre-filled in step 3 according to the spatial correlation of electricity consumption behavior; Step 5: Based on the electricity consumption data matrix after clustering in step 4, considering the influence of abnormal data, a low-rank repair model for electricity consumption data is established by jointly optimizing the matrix nuclear norm and L1 norm; Step 6: Solve the low-rank repair model of electricity consumption data constructed in step 5 by jointly optimizing the matrix nuclear norm and L1 norm to obtain the electricity consumption data matrix after secondary repair.
2. According to the method for repairing abnormal missing of low-voltage measurement data of power distribution and utilization for business middle station oriented to claim 1, it is characterized by: The specific method of step 1 is: the average power data of n equally spaced moments in a day constitutes a one-dimensional time series vector x, and then the load data of m users in the same area on the same day constitutes a power consumption data matrix X∈R m ×n .
3. According to the method for repairing abnormal missing of low-voltage measurement data of power distribution and utilization for business middle station oriented to claim 1, it is characterized by: The specific method of step 2 is: The location set Ω of the missing data in the electricity consumption data matrix is recorded to form the matrix operator P Ω : Where Ω is the set of missing element positions, and X is the constructed electricity consumption data matrix.
4. According to claim 1, a method for repairing abnormal missing of low-voltage power distribution and utilization measurement data for a business middle station is characterized in that: The specific steps of step 3 include: (1) Based on the objective function of minimizing the matrix nuclear norm, the following pre-filling model is constructed to pre-fill the missing data in the original electricity consumption data matrix in step 1, preliminarily restore the missing electricity consumption data, and use the electricity data matrix to restore the complete data: In the formula, X is the missing electricity consumption data matrix, U is the restored complete electricity consumption data matrix, and P Ω is the position operator; (2) Apply the SVT algorithm to solve the pre-filled model, and the iterative formula is as follows: Where shrink(·) is the singular value shrinkage operator, Y is the auxiliary matrix, and Y0=0.
5. According to the method for repairing abnormal missing of low-voltage power distribution and utilization measurement data for business middle station oriented to claim 1, it is characterized by: The specific method of step 4 is: According to the spatial correlation of electricity consumption behavior, the electricity consumption data matrix U pre-filled in step 3 is clustered to obtain the clustered electricity consumption data matrix X i , so the data matrix X i It has low rank.
6. According to the method for repairing abnormal missing of low-voltage power distribution and utilization measurement data for business middle station oriented to claim 1, it is characterized by: The low-rank repair model of electricity consumption data jointly optimized by the matrix nuclear norm and L1 norm in step 5 is: Where X is the clustered electricity consumption data matrix obtained in step 4, U is the data matrix after secondary repair, and E is the classified abnormal data matrix.
7. According to claim 1, a method for repairing abnormal missing of low-voltage power distribution and utilization measurement data for a business middle station is characterized in that: The specific steps of step 6 include: (1) First, construct the Lagrangian function of the optimization problem and transform the constrained optimization problem into an unconstrained optimization problem: In the formula, μ and λ are weight coefficients, and the matrix Y is the Lagrange multiplier matrix; (2) According to the iterative threshold algorithm, the alternating update format of matrices U, E and Y is obtained: In the formula, δ is the weight coefficient, D t (·) is the singular value reduction operator, S t (·) is the singular value threshold operator; (3) When the error between two consecutive matrix updates (U k+1 -U k )、(E k+1 -E k ) and (Y k+1 -Y k ) are all less than the set threshold ε, the calculation is completed, and the high-precision repaired data matrix U = U k+1 .
