A method for reconstructing power load curve
Through variational mode decomposition and clustering technology, a suitable interpolation method is selected for power load curve reconstruction, which solves the problems of poor accuracy and high computational resource consumption of existing methods, and achieves more efficient power load curve reconstruction.
Patent Information
- Application Number
- CN202411034879.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-07-31
AI Technical Summary
Existing power load curve reconstruction methods have problems such as poor accuracy, difficulty in obtaining training data, and high consumption of computing resources.
The original power load curve is decomposed into intrinsic mode component subsequences through variational mode decomposition, spatial reconstruction and clustering are performed, linear interpolation and nearest neighbor interpolation methods are selected for data filling, and finally the final reconstructed curve is obtained by superposition and merger.
It improves the accuracy of reconstruction, reduces the need for a large amount of computing resources, does not require training data samples, and adapts to complex changes in the curve.
Smart Images

Figure CN118570334B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of data processing, and in particular relates to a method for reconstructing a power load curve. Background Art
[0002] High-resolution load curves are crucial for in-depth exploration of the laws of load fluctuations. They can not only accurately predict the fluctuations of renewable energy power generation (such as solar and wind power), but also have a significant impact on the consumption of renewable energy and spot electricity trading.
[0003] Although high-frequency data collection and uploading can be achieved through hardware, the existing hardware equipment and communication networks need to be modified to support high-frequency data collection tasks and high-speed data transmission. The cost is relatively high and it is mainly suitable for gateway metering data collection. It is difficult to promote for non-gateway metering scenarios.
[0004] Given the limitations of hardware transformation, software reconstruction has become the current mainstream solution. Currently, there are two main ways to reconstruct the power load curve:
[0005] 1. Reconstruction through a single interpolation algorithm: For low-resolution data, interpolation functions (such as Lagrange interpolation, Newton interpolation, etc.) are used to interpolate between data points to obtain a high-resolution load curve. Although this method can maintain the original rules, it will cause large errors when filling in the full amount, affecting the accuracy of load forecasting, and thus adversely affecting the regulation of new energy and the formulation of power grid operation plans. Therefore, it is only suitable for filling in a small amount of missing data.
[0006] 2. Reconstruction through supervised learning or deep learning methods: This method can theoretically achieve a higher accuracy, but the large amount of high-resolution data samples required for training is difficult to obtain. If other curves are selected as samples, the reconstructed curve will not be smooth enough when the data scale is small, and a large amount of computing resources will be required when the scale is large. Summary of the invention
[0007] The present invention proposes a method for reconstructing a power load curve, the purpose of which is to solve the problems of poor accuracy, difficulty in obtaining training data, and consumption of a large amount of computing resources in existing reconstruction methods.
[0008] The technical solution of the present invention is as follows:
[0009] A method for reconstructing a power load curve, comprising the steps of:
[0010] Step 1: preprocessing the original power load curve;
[0011] Step 2: Decompose the original power load curve into The intrinsic mode component subsequences;
[0012] Step 3, spatially reconstruct all the intrinsic mode component subsequences by splitting them, and obtain the information tables corresponding to the extrinsic mode component subsequences; each row in the information table corresponds to each curve segment divided in sequence in the extrinsic mode component subsequence, and each row in the information table contains all the normalized data points in the corresponding curve segment arranged in sequence, that is, each row corresponds to a row vector composed of data points;
[0013] Step 4: For each information table, cluster the row vectors therein to obtain The row vector clustering results corresponding to each of the intrinsic mode component subsequences;
[0014] Step 5: Perform cross clustering on the row vector clustering results of all intrinsic mode component subsequences to obtain the final clustering results;
[0015] Step 6: Divide each cluster into sets according to the number of elements in each cluster in the final clustering result and collection : If the number of elements in a certain cluster in the final clustering result is 1, then the cluster is taken as a set The subclass cluster of The subclass cluster of
[0016] Step 7: Interpolate each row of all information tables. If a row corresponds to a set If a row corresponds to a subclass cluster in the set If it is an element of a subclass cluster in , the row uses nearest neighbor interpolation between adjacent data points;
[0017] Step 8. Denormalize each row in the interpolated information table respectively, then combine the data points of each row in the information table into a curve segment corresponding to the row, and then combine the curve segments of each row in the information table in sequence into a component reconstruction curve of the inherent modal component subsequence corresponding to the information table, and finally superimpose and merge all the component reconstruction curves to obtain the final reconstructed curve.
[0018] As a further improvement of the power load curve reconstruction method: in step 1, the preprocessing includes deleting abnormal data and filling in missing data.
[0019] As a further improvement of the power load curve reconstruction method: in step 3, it is assumed that each information table contains rows, each containing data points;
[0020] The normalization is row-by-row normalization. The first The original value of the data point is , then the normalized value of this point is:
[0021] .
[0022] As a further improvement of the power load curve reconstruction method: in step 5, the cross-clustering process is: the clustering result obtained by intersecting the row vector clustering result of the first eigenmode component subsequence and the row vector clustering result of the second eigenmode component subsequence is used as the intersected clustering result corresponding to the second eigenmode component subsequence, and starting from the third eigenmode component subsequence, the clustering result of the current eigenmode component subsequence is intersected with the intersected clustering result of the previous eigenmode component subsequence to obtain the intersected clustering result of the current eigenmode component subsequence, and the intersected clustering result of the last eigenmode component subsequence is used as the final clustering result.
[0023] As a further improvement of the power load curve reconstruction method: in step 5, for any two clustering results, the intersection process is: traverse the clusters in the first clustering result, for each cluster: intersect it with all the clusters in the second clustering result respectively, and then combine the intersection results into the intersection cluster set corresponding to the cluster; then merge the intersection cluster sets corresponding to all the original clusters in the first clustering result to obtain the intersection clustering result of the two clustering results.
[0024] As a further improvement of the power load curve reconstruction method, in step 7, the linear interpolation process is: assuming that the linear interpolation between adjacent data points is data points, the previous data point is the interpolation value before the row data points, with values , the next data point is the first data point before the interpolation of the line data points, with values , then the inserted The value of the new data point is .
[0025] As a further improvement of the power load curve reconstruction method, in step 7, the neighbor interpolation process is:
[0026] For any information table, assume that the row currently being interpolated corresponds to the set A subclass cluster in An element in the subclass cluster The rows corresponding to all elements in are used as the operation rows of the information table;
[0027] When interpolating the area between any two adjacent data points in the above operation row, let the previous data point be the first data point before the interpolation of the row. data points, and the next data point is the first data point before the interpolation of the row data points, then set the search range to the original Data points and The value of the data point;
[0028] Along from Data points to When inserting the interpolation point in the direction of the data points, the value with the second closest Euclidean distance to the previous original data point or interpolation point in the search range is used as the value of the current interpolation point until the nearest neighbor interpolation operation of all operation rows is completed.
[0029] As a further improvement of the power load curve reconstruction method, in step 8, the denormalization process is:
[0030] Suppose that after interpolation of a certain information table The first The data point value is , then the value of the point after denormalization is:
[0031] ;
[0032] in, and They are the maximum and minimum values of the data points in this row before normalization.
[0033] Compared with the prior art, the present invention has the following positive effects:
[0034] The present invention decomposes the original curve into multiple frequency components through modal decomposition to ensure the non-stationarity and nonlinear adaptability of the curve, and then finely captures the characteristics of each component and each segment through segment processing, and then divides each segment into two cases of linear interpolation and nearest neighbor interpolation through clustering and cross classification, making full use of the characteristic information of each component to mine the global and local characteristics of the curve, and selecting the most suitable interpolation method for each segment for interpolation. Compared with a single interpolation method, the present invention can better adapt to the complex changes of the curve and greatly improve the accuracy of reconstruction; compared with supervised learning or deep learning methods, the present invention does not require training data, nor does it require complex calculations with reference to other large-scale data samples, which saves more computing resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 Flow chart of the method of the present invention. DETAILED DESCRIPTION
[0036] The technical solution of the present invention is described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments.
[0037] like Figure 1 , a method for reconstructing a power load curve, comprising the steps of:
[0038] Step 1: Preprocess the original power load curve, including deleting abnormal data (such as data with obviously large change amplitude) and filling in missing data (using linear interpolation or other methods).
[0039] Generally, the data frequency of the original power load curve can be 15 minutes, 1 hour or 1 day. This embodiment takes the data of about 7 days with a frequency of 1 hour as an example.
[0040] Step 2: Decompose the original power load curve into A subsequence of intrinsic mode components: ,in For the In this embodiment, the eigenmode component subsequences are decomposed into 8 components.
[0041] The advantage of VMD technology lies in its adaptability. It can determine the number of modal decompositions according to the characteristics of the actual signal, and adaptively match the optimal center frequency and limited bandwidth of each mode during the decomposition process, which can effectively avoid modal aliasing during the modal decomposition process.
[0042] Step 3: Reconstruct all intrinsic modal component subsequences by splitting them into two parts, and obtain the information table corresponding to each intrinsic modal component subsequence, which can be recorded as Each row in the information table corresponds to each curve segment divided in sequence in the natural mode component subsequence, and each row in the information table contains all the normalized data points in the corresponding curve segment in sequence.
[0043] Assume that each information table contains rows, each containing data points, Indicates the information table In the row The row vector of data points.
[0044] The normalization is row-by-row normalization. The first The original value of the data point is , then the normalized value of this point is:
[0045] .
[0046] Step 4: For each information table, cluster the row vectors therein respectively, so as to obtain the row vector clustering results corresponding to all the intrinsic mode component subsequences.
[0047] In this embodiment, there are 8 intrinsic mode component subsequences, each of which contains 9 row vectors. The row vector clustering result of the intrinsic mode component subsequences is , then the row vector clustering results of each intrinsic mode component subsequence can be expressed as:
[0048] ;
[0049] ;
[0050] ;
[0051] .
[0052] In this embodiment, k-means is used for clustering.
[0053] Step 5: Perform cross clustering on the row vector clustering results of all intrinsic mode component subsequences to obtain the final clustering results.
[0054] The cross-clustering process is as follows: the clustering result obtained by intersecting the row vector clustering result of the first eigenmodal component subsequence and the row vector clustering result of the second eigenmodal component subsequence is used as the intersected clustering result corresponding to the second eigenmodal component subsequence; starting from the third eigenmodal component subsequence, the clustering result of the current eigenmodal component subsequence is intersected with the intersected clustering result of the previous eigenmodal component subsequence to obtain the intersected clustering result of the current eigenmodal component subsequence; and the intersected clustering result of the last eigenmodal component subsequence is used as the final clustering result.
[0055] Among them, for any two clustering results, the intersection process is: traverse the clusters in the first clustering result, for each cluster: intersect it with all the clusters in the second clustering result respectively, and then combine the intersection results into the intersection cluster set corresponding to the cluster; then merge the intersection cluster sets corresponding to all the original clusters in the first clustering result to obtain the intersection clustering result of the two clustering results.
[0056] For example, the above and The intersection process is: first The first cluster in and The three clusters in intersect with each other, and the three intersection results are , empty set, empty set, The set of clusters after intersection corresponding to the first cluster in is Similarly, The second cluster in and The three clusters in intersect with each other, and the obtained cluster set after intersection is , The set of clusters after the intersection of the second cluster in is , and The clustering result after intersection is . Then and Intersect ,Will and Intersect , and so on to get the final clustering result .
[0057] Step 6: Divide each cluster into sets according to the number of elements in each cluster in the final clustering result and collection : If the number of elements in a certain cluster in the final clustering result is 1, then the cluster is taken as a set The subclass cluster of subclass clusters.
[0058] In this embodiment, set ,gather Obviously, the set The union of all subclass clusters in is .
[0059] Step 7: Interpolate each row of all information tables. If a row corresponds to a set If a row corresponds to a subclass cluster in the set If a row is an element of a subclass cluster in , the nearest neighbor interpolation is used between adjacent data points.
[0060] (1) The linear interpolation process is:
[0061] Assume that we interpolate between adjacent data points data points, the previous data point is the interpolation value before the row data points, with values , the next data point is the first data point before the interpolation of the line data points, with values , then the inserted The value of the new data point is .
[0062] (2) The nearest neighbor interpolation process is:
[0063] For any information table, assume that the row currently being interpolated corresponds to the set A subclass cluster in An element in the subclass cluster The rows corresponding to all elements in the table are used as operation rows of the information table. For example, the subclass cluster , then the 2nd and 6th rows are used as operation rows.
[0064] When interpolating the area between any two adjacent data points in the above operation row, let the previous data point be the first data point before the interpolation of the row. data points, and the next data point is the first data point before the interpolation of the row data points, then set the search range to the original Data points and In this embodiment, it is assumed that the interpolation is performed between the third and fourth data points, and the search range is the values of the third and fourth data points in the second and sixth rows, for a total of four values. Data points to When inserting interpolation points in the direction of the data points, the value in the search range that is the second closest to the value of the previous original data point or interpolation point in the Euclidean distance is used as the value of the current interpolation point until the nearest neighbor interpolation operation of all operation rows is completed. For example, when inserting the first interpolation point between the third and fourth data points in the second row, the value in the search range that is the second closest to the value of the third data point (original) in the row is used as the value of the current interpolation point. When inserting the second interpolation point, the value in the search range that is the second closest to the value of the first interpolation point in the Euclidean distance is used as the value of the current interpolation point, and so on.
[0065] Step 8. Denormalize each row in the interpolated information table respectively, then combine the data points of each row in the information table into a curve segment corresponding to the row, and then combine the curve segments of each row in the information table in sequence into a component reconstruction curve of the inherent modal component subsequence corresponding to the information table, and finally superimpose and merge all the component reconstruction curves to obtain the final reconstructed curve.
[0066] The denormalization process is:
[0067] Suppose that after interpolation of a certain information table The first The data point value is , then the value of the point after denormalization is:
[0068] .
[0069] in, and They are the maximum and minimum values of the data points in this row before normalization.
[0070] It should be noted that, for those skilled in the art, it is obvious that the present invention is not limited to the details of the above exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or basic features of the present invention.
Claims
1. A method for reconstructing a power load curve, Features The steps include: Step 1: preprocessing the original power load curve; Step 2: Decompose the original power load curve into The intrinsic mode component subsequences; Step 3, spatially reconstruct all the intrinsic mode component subsequences by splitting them, and obtain the information tables corresponding to the extrinsic mode component subsequences; each row in the information table corresponds to each curve segment divided in sequence in the extrinsic mode component subsequence, and each row in the information table contains all the normalized data points in the corresponding curve segment arranged in sequence, that is, each row corresponds to a row vector composed of data points; Step 4: For each information table, cluster the row vectors therein to obtain The row vector clustering results corresponding to each of the intrinsic mode component subsequences; Step 5: Perform cross clustering on the row vector clustering results of all intrinsic mode component subsequences to obtain the final clustering results; The clustering result obtained by intersecting the row vector clustering result of the first eigenmodal component subsequence with the row vector clustering result of the second eigenmodal component subsequence is used as the intersected clustering result corresponding to the second eigenmodal component subsequence, and starting from the third eigenmodal component subsequence, the clustering result of the current eigenmodal component subsequence is intersected with the intersected clustering result of the previous eigenmodal component subsequence to obtain the intersected clustering result of the current eigenmodal component subsequence, and the intersected clustering result of the last eigenmodal component subsequence is used as the final clustering result; In step 5, for any two clustering results, the intersection process is as follows: traverse the clusters in the first clustering result, and for each cluster: intersect it with all the clusters in the second clustering result, and then combine the intersection results into the intersection cluster set corresponding to the cluster; then merge the intersection cluster sets corresponding to all the original clusters in the first clustering result to obtain the intersection cluster result of the two clustering results; Step 6: Divide each cluster into sets according to the number of elements in each cluster in the final clustering result and collection : If the number of elements in a certain cluster in the final clustering result is 1, then the cluster is taken as a set , otherwise the cluster is treated as a set The subclass cluster of ; Step 7: Interpolate each row of all information tables. If a row corresponds to a set If a row corresponds to a subclass cluster in the set, the row uses linear interpolation between adjacent data points; If it is an element of a subclass cluster in , the row uses nearest neighbor interpolation between adjacent data points; Step 8. Denormalize each row in the interpolated information table respectively, then combine the data points of each row in the information table into a curve segment corresponding to the row, and then combine the curve segments of each row in the information table in sequence into a component reconstruction curve of the inherent modal component subsequence corresponding to the information table, and finally superimpose and merge all the component reconstruction curves to obtain the final reconstructed curve.
2. The method for reconstructing a power load curve according to claim 1, Features: In step 1, preprocessing includes deleting abnormal data and filling missing data.
3. The power load curve reconstruction method according to claim 1, Features: In step 3, assume that each information table contains rows, each containing data points; The normalization is row-by-row normalization. The first The original value of the data point is , then the normalized value of this point is: 。 4. The method for reconstructing a power load curve according to claim 1, It is characterized in that In step 7, the linear interpolation process is: Assume that the linear interpolation between adjacent data points is data points, the previous data point is the interpolation value before the row data points, with values , the next data point is the first data point before the interpolation of the line data points, with values , then the inserted The value of the new data point is .
5. The power load curve reconstruction method according to claim 1, It is characterized in that In step 7, the neighbor interpolation process is: For any information table, assume that the row currently being interpolated corresponds to the set A subclass cluster in An element in The rows corresponding to all elements in are used as the operation rows of the information table; When interpolating the area between any two adjacent data points in the above operation row, let the previous data point be the first data point before the interpolation of the row. data points, and the next data point is the first data point before the interpolation of the row data points, then set the search range to the original Data points and The value of the data point; Along from Data points to When inserting the interpolation point in the direction of the data points, the value with the second closest Euclidean distance to the previous original data point or interpolation point in the search range is used as the value of the current interpolation point until the nearest neighbor interpolation operation of all operation rows is completed.
6. The method for reconstructing a power load curve according to any one of claims 1 to 5, It is characterized in that In step 8, the denormalization process is: Suppose that after interpolation of a certain information table The first The data point value is , then the value of the point after denormalization is: ; in, and They are the maximum and minimum values of the data points in this row before normalization.
Citation Information
Patent Citations
Power system load classification method and system
CN111553434A
VMD-BiGRU-based short-term load prediction method
CN113902206A
Ultra-short-term power load prediction method and device based on machine learning
CN113962485A
