Precise short-term load prediction method for extracting load period characteristics and time-varying trend characteristics based on PCC

By extracting the periodic characteristics and time-varying trend characteristics of short-term power load based on PCC, and combining it with the CNN-LSTM model, the problem of insufficient extraction of load data change features in the existing technology is solved, and the accuracy of power load prediction and the stability of the model are significantly improved. sex.

CN118676898APending Publication Date: 2024-09-20ZHENGZHOU UNIVERSITY OF LIGHT INDUSTRY +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410678317.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

Existing short-term power load forecasting methods are deficient in extracting load data change characteristics, resulting in poor prediction accuracy, and deep learning models suffer from poor robustness and overfitting problems.

Method used

An accurate short-term load forecasting method based on PCC to extract load cycle characteristics and time-varying trend features is adopted. Historical load data is analyzed through Pearson correlation coefficient, load cycle characteristics and time-varying trend features are extracted, and prediction is performed using a CNN-LSTM hybrid forecast model.

Benefits of technology

It improves the accuracy and generalization ability of the prediction model, reduces the impact of data redundancy on the prediction model, and enhances the accuracy and versatility of the prediction results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118676898A
    Figure CN118676898A
Patent Text Reader

Abstract

The invention provides a precise short-term load prediction method for extracting load period characteristics and time-varying trend characteristics based on PCC, which comprises the following steps: firstly, extracting load period characteristic variables according to the correlation degree of PCC, then, constructing a load time-varying trend model and extracting load time-varying trend characteristic variables according to the time sequence change trend of load data, and finally, predicting the load period characteristics and the time-varying trend characteristics of the load. And finally, reconstructing a feature set, and performing prediction by using a CNN-LSTM hybrid prediction model to realize prediction of future short-term power load data. By using the short-term load prediction method provided by the invention, the influence of data redundancy on the prediction model in the prediction process can be reduced, the input of the prediction model is enriched, the prediction precision of the prediction model is greatly improved, the prediction effect is better, the precision is higher, and the method has universality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power load forecasting, and in particular to an accurate short-term load forecasting method based on PCC (Pearson correlation coefficient) to extract load cycle characteristics and time-varying trend characteristics. Background Art

[0002] Short-term power load forecasting is to predict the power load in the next few hours to days. Accurate forecasting results can provide data reference and decision support for the safe, stable and economic operation of the power system. At present, short-term load forecasting methods are mainly divided into two categories: traditional mathematical statistical methods and machine learning methods. With the continuous development of deep learning technology, neural network methods based on deep learning, such as long short-term memory network (LSTM) and convolutional neural network (CNN), are widely used in short-term power load forecasting because of their ability to handle both temporal and nonlinear problems. Although deep learning methods can effectively improve the prediction accuracy, they often have problems such as poor robustness and overfitting. In order to improve the generalization performance of deep learning models, it is necessary to select appropriate feature variables to enrich the input of the prediction model. Therefore, it has gradually become a trend to extract the hidden features of load data through different methods. In terms of prediction models, combined prediction models combine multiple models and methods to better meet the actual needs of short-term power load forecasting by combining the characteristics and advantages of different models.

[0003] Selecting factors that can reflect the changes in load data is the key to improving the prediction accuracy. Existing short-term load forecasting research mainly focuses on three aspects: (1) Using a decomposition algorithm on load data and then predicting each component; this method can analyze the change law of each component more carefully and select various adaptive prediction methods, but it will increase the prediction time and reduce the prediction efficiency. (2) Using various optimization algorithms to optimize the hyperparameters of the model or the hyperparameters of the decomposition algorithm; this method can significantly improve the accuracy, stability and generalization ability of the model without the need for manual tedious parameter adjustment, but it usually requires a lot of computing resources, has high computing costs, and is prone to falling into local optimality. (3) Using a combined prediction model for prediction; the combined prediction model can integrate the information of multiple single prediction models, reduce the possible deviations and errors of a single model, and thus improve the overall prediction accuracy, but selecting the appropriate single model and determining their weights in the combination is a key issue. This usually requires decision-making based on experience, domain knowledge and experimental results, which will be subjective and uncertain. At present, there are few studies on extracting load curve features directly from the load data itself.

[0004] The invention patent with application number 202210003822.X discloses a multi-dimensional short-term power load forecasting method based on improved K-means clustering CCA-BiLSTM. The method first pre-processes the historical load and multi-dimensional data, removes outliers and supplements missing values ​​on a monthly basis; then, k daily load feature labels are initially determined, and the PCCs-improved K-means algorithm is used to cluster the historical load data and DBi index analysis is used. Combining the analysis results with engineering experience, the characteristics of the daily load label k value and its corresponding load label w are clarified; a pre-processed historical multi-dimensional data vector set is constructed, and CCA contribution analysis is performed on it and the historical load data, and 10 feature variables are screened out to reconstruct the feature data set; the BiLSTM network is trained using historical load data, load labels and reconstructed data sets, and finally the prediction of future short-term power load data is realized. The short-term power load forecasting method proposed by the above invention can reduce the time redundancy of the forecasting process, reduce the dimensions of the required external variables, and effectively enhance the accuracy and versatility of the load forecasting results. The above invention uses the K-means clustering algorithm to take the average value of the cluster load curve as the cluster center for further classification. When abnormal values ​​appear in the load data, the classification results will also be affected. In addition, the above invention uses more data of the same type as the prediction model input, which will cause data redundancy and overfitting. Summary of the invention

[0005] In view of the problem that existing research on load forecasting rarely extracts potential features that can reflect the changes in load data from the load data itself, resulting in poor prediction accuracy, the present invention proposes an accurate short-term load forecasting method based on PCC to extract load cycle characteristics and time-varying trend characteristics, and extracts load cycle characteristic variables and load time-varying trend characteristic variables based on the periodic characteristics and time-varying characteristics of load data for load forecasting. The present invention starts with mining potential features that can reflect the changing characteristics of load data, and combines the advantages of the combined prediction model based on the deep learning method to achieve an improvement in load forecasting accuracy.

[0006] In order to achieve the above object, the technical solution of the present invention is achieved as follows:

[0007] An accurate short-term load forecasting method based on PCC extracting load cycle characteristics and time-varying trend characteristics includes the following steps:

[0008] Step 1: Set a sliding window for the time series data consisting of historical load data in a data set containing historical load data, historical meteorological data, and date data to obtain a load data matrix containing the current load and historical load;

[0009] Step 2: Use the PCC calculation formula to calculate the Pearson correlation coefficient between the current load and the historical load in the load data matrix created in step 1, and select the matrix column elements whose Pearson correlation coefficient is greater than the threshold;

[0010] Step 3: Among the matrix column elements whose Pearson correlation coefficient is greater than the threshold, select the historical load data variables at a single time point or a continuous time point as the load cycle characteristic variables;

[0011] Step 4: extract W-1 load time-varying trend characteristic variables from the W continuous load cycle characteristic variables in the load cycle characteristic variables, and use the W-1 load time-varying trend characteristic variables to replace the load cycle characteristic variables in the W continuous load cycle characteristic variables except the load cycle characteristic variables in the middle position;

[0012] Step 5: Reconstruct the load time-varying trend characteristic variables obtained in step 4, the unreplaced load cycle characteristic variables in the load cycle characteristic variables obtained in step 3, and the historical meteorological data and date data in the data set into a new feature set;

[0013] Step 6: Normalize the data in the new feature set and the historical load data in the data set;

[0014] Step 7: Input the normalized data into the CNN-LSTM hybrid prediction model and output the predicted future load.

[0015] Preferably, the PCC calculation formula is: Where, α={α1,α2,…,α i ,…,α m} represents the current load data variable with a length of m, β={β1,β2,…,β i ,…,β m} indicates a historical load data variable with a length of m. Represents the average value of the load data variable at the current moment, Represents the average value of historical load data variables, Pearson correlation coefficient r α,β The value range is [-1,1].

[0016] Preferably, the threshold is 0.5.

[0017] Preferably, the interval between the historical load data variable selected in step 3 and the current time is greater than 24 hours.

[0018] Preferably, the method of extracting W-1 load time-varying trend characteristic variables from W consecutive load cycle characteristic variables in step 4 is:

[0019] Step 4.1: Propose the time-varying trend of load and establish the time-varying trend model of load;

[0020] Step 4.2: Convert the load time-varying trend model into a mathematical expression: For the continuous historical load data, find the slope value of the two adjacent historical load data. If the variables of the three consecutive historical load data on the sth day are L s,p , L s,p+1 , L s,p+2 , then the load time-varying trend characteristic variable T1 = L s,p+1 -L s,p , T2=L s,p+2 -L s,p+1 , extract W-1 load time-varying trend characteristic variables from the W continuous load cycle characteristic variables.

[0021] Preferably, the load time-varying trend is: the spatial position change trend of the load extending from the current moment to the next moment; the method for establishing the load time-varying trend model is: making a historical load data curve for any day, and connecting two adjacent historical load data through a straight line segment.

[0022] Preferably, the normalization method is: using the formula The data in the new feature set and the historical load data in the data set are processed. In the formula, x' is the normalized value, x max is the maximum value of the sequence, x min is the minimum value of the sequence, and the normalized value is between [0,1].

[0023] Preferably, the structure of the CNN-LSTM hybrid prediction model specifically includes the following layers connected in sequence: convolution layer I, maximum pooling layer I, convolution layer II, maximum pooling layer II, convolution layer III, maximum pooling layer III, flattening layer, LSTM layer, random inactivation layer and fully connected layer.

[0024] Preferably, the filter size of the convolution layer I is [3, 1], the number of filters is 64, the filter size of the convolution layer II is [3, 1], the number of filters is 32, and the filter size of the convolution layer III is [3, 1], and the number of filters is 16.

[0025] Preferably, the number of neurons in the LSTM layer is 100, and the inactivation probability of the random inactivation layer is 0.2.

[0026] Compared with the prior art, the present invention has the following beneficial effects: the load cycle characteristic variables extracted by the present invention based on the periodic characteristics of the load data have a high correlation with the load at the time to be predicted, and can improve the prediction accuracy of the prediction model; by combining the load cycle characteristic variables and the load time-varying trend characteristic variables as two different data types and applying them to the prediction model, the influence of data redundancy on the prediction model can be effectively reduced, the input of the prediction model is enriched, the prediction accuracy of the prediction model is greatly improved, and it has universal applicability; the CT-CNN-LSTM hybrid prediction model proposed in the present invention uses the load cycle characteristic variables extracted from the load cycle characteristics and the load time-varying trend characteristic variables extracted from the load time-varying trend characteristics, uses CNN to fully mine the local features between the data, and uses LSTM for prediction. Compared with other single prediction models, the prediction effect is better and the accuracy is higher. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0028] Figure 1 This is a flow chart of the CT-CNN-LSTM hybrid prediction model of the present invention.

[0029] Figure 2 This is a load curve diagram for two consecutive weeks according to an embodiment of the present invention.

[0030] Figure 3 This is a load time-varying trend model according to an embodiment of the present invention.

[0031] Figure 4 This is the structure diagram of the CNN-LSTM hybrid neural network.

[0032] Figure 5 This is a comparison chart of prediction simulation results based on the CNN-LSTM prediction model for a typical weekend scenario in an embodiment of the present invention.

[0033] Figure 6 This is a comparison chart of prediction simulation results based on the CNN prediction model for a typical weekend scenario in an embodiment of the present invention.

[0034] Figure 7 This is a comparison chart of prediction simulation results based on the LSTM prediction model for a typical weekend scenario in an embodiment of the present invention.

[0035] Figure 8This is a comparison chart of prediction simulation results based on the CNN-LSTM prediction model for a typical scenario on a working day in an embodiment of the present invention.

[0036] Fig. 9 This is a comparison chart of prediction simulation results based on the CNN prediction model for a typical scenario on a working day in an embodiment of the present invention.

[0037] Fig.10 This is a comparison chart of the prediction simulation results of the LSTM prediction model for typical scenarios on weekdays according to an embodiment of the present invention. DETAILED DESCRIPTION

[0038] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0039] In order to improve the prediction accuracy and the generalization ability of the prediction model, the present invention proposes a convolutional neural network and long short-term memory network (CNN-LSTM) hybrid prediction model CT-CNN-LSTM which considers the load cycle characteristic (C) and the load time-varying trend characteristic (T).

[0040] The CT-CNN-LSTM hybrid prediction model starts from deeply exploring the hidden information of the historical load curve data itself, analyzes the historical load data through the Pearson correlation coefficient, extracts the load cycle characteristic variables, and then extracts the time-varying trend characteristics between the load cycle characteristic variables by quantifying the time series change trend of the load cycle data, and reconstructs the feature set as the input of the CNN-LSTM hybrid prediction model. The prediction of future load is achieved through the local feature extraction ability of CNN and the long-term memory ability of LSTM. The flow chart is as follows: Figure 1As shown. First, the Pearson correlation coefficient is used to analyze the correlation degree of load data at different time nodes, and the load cycle characteristic variables that can characterize the periodic changes of the load are extracted. Then, by analyzing the time series change characteristics of periodic load data, the concept of load time-varying trend is proposed, and a load time-varying trend model is established to extract the load time-varying trend characteristics. Finally, the load cycle characteristic variables and the load time-varying trend characteristic variables are reconstructed to generate a feature set, and input into the CNN-LSTM hybrid prediction model for prediction. Different prediction models are used for simulation verification and comparative analysis. The results show that the prediction model that integrates load cycle characteristics and load time-varying trend characteristics can improve the prediction accuracy of various models to varying degrees, and the CT-CNN-LSTM hybrid prediction model of the present invention has the highest prediction accuracy.

[0041] An accurate short-term load forecasting method based on PCC (Pearson correlation coefficient) extracting load cycle characteristics and time-varying trend characteristics. This embodiment takes the NE-ISO New England region of the United States in 2015 as an example of a data set of power load and related multi-dimensional information data. The data set includes historical power load, historical meteorological information, holidays and other data, and the sampling interval of daily load data is 1h.

[0042] Step 1: Set a sliding window for the time series data consisting of the whole year's historical load in the data set. The length of the sliding window is 24*30+1. Collect each subsequence to form a data matrix with (24*30+1) columns to obtain the load data matrix {h d-30,t-1 ,h d-30,t ,…,h d-n,t-1 ,h d-n,t ,h d-n,t+1 ,…,h d,t-1 ,h d,t}.

[0043] In the load data matrix, d represents the current day, t represents the time of the day, the value range of d is [31,365], the value range of n is [1,30], and the value range of t is [1,24]; h d,t is the load data variable at time t on day d, h d,t-1 represents the historical load data variable at time t-1 on day d, h d-n,t represents the historical load data variable at time t n days before day d, h d-n,t-1 represents the historical load data variable at time t-1 n days before day d, h d-n,t+1 represents the historical load data variable at time t+1 n days before day d, h d-30,t represents the historical load data variable at time t 30 days before day d, h d-30,t-1Represents the historical load data variable at time t-1 30 days before day d.

[0044] Step 2: Use the PCC (Pearson correlation coefficient) calculation formula to calculate the Pearson correlation coefficient between the last column elements and the first 30*24 column elements of the load data matrix created in step 1, and select the matrix column elements whose absolute value of the Pearson correlation coefficient is greater than the threshold, and the threshold is 0.5.

[0045] In this embodiment, only the matrix column elements whose absolute values ​​of the Pearson correlation coefficients are greater than 0.8 are listed as examples.

[0046] The Pearson correlation coefficient is a physical quantity used to reflect the strength of the linear correlation between two variables. The PCC calculation formula is:

[0047]

[0048] Where: α={α1,α2,…,α i ,…,α m} represents the current load data variable with a length of m, β={β1,β2,…,β i ,…,β m} indicates a historical load data variable with a length of m. Represents the average value of the load data variable at the current moment, Represents the average value of historical load data variables, Pearson correlation coefficient r α,β The value range is [-1,1]. Pearson correlation coefficient r α,β When the absolute value is greater than 0.5 and less than 0.8, the two variables have a moderate correlation. α,β When the absolute value is greater than 0.8 and less than 1, the two variables are strongly correlated.

[0049] Table 1 Matrix column elements with Pearson correlation coefficient greater than 0.8

[0050]

[0051] Step 3: Among the matrix column elements whose Pearson correlation coefficient is greater than the threshold, select the historical load data variables at individual time points or continuous time points as the load cycle characteristic variables.

[0052] Specifically, in order to enable the prediction model to achieve multi-point prediction function for 24 hours a day, the selected feature variables should have a 24-hour interval with the current time. Therefore, h in Table 1 d,t-1 ,h d,t-2 ,h d-1,t+1 ,h d-1,t+2 The four historical load data variables cannot be used as characteristic variables. The historical load data variable hd-1,t Compared with the historical load data variable h d-1,t-1 With a higher correlation coefficient, in order to avoid data redundancy, the historical load data variable h is selected d-1,t As one of the characteristic variables, it can be seen from Table 1 that the historical load data variable h 7 days ago d-7,t-1 ,h d-7,t ,h d-7,t+1 The Pearson correlation coefficient of is higher than that of the historical load data variable h 14 days ago. d-14,t ,h d-14,t-1 ,h d-14,t+1 In order to avoid data redundancy, only the historical load data variable h from 7 days ago is selected. d-7,t-1 ,h d-7,t ,h d-7,t+1 As a feature variable, in order to reduce the volume of input data in the prediction model and reduce the model training time, no other historical load data variables are selected as feature variables. Finally, h d-1,t ,h d-7,t-1 ,h d-7,t ,h d-7,t+1 , four load cycle characteristic variables.

[0053] Step 4: Extract W-1 load time-varying trend characteristic variables from the W consecutive load cycle characteristic variables in the load cycle characteristic variables, and use the W-1 load time-varying trend characteristic variables to replace the load cycle characteristic variables in the W consecutive load cycle characteristic variables except the load cycle characteristic variables in the middle position.

[0054] Step 4.1: Propose the time-varying trend of load and establish the time-varying trend model of load.

[0055] Establish a load time-varying trend model: The Pearson correlation coefficient analysis shows that the load cycle data has a strong correlation. In order to more vividly show this correlation and to facilitate the study of the characteristics of the load cycle data, the load data of two adjacent weeks are randomly selected and their load curves are drawn. Figure 2 This is the load curve for the two consecutive weeks from February 2 to February 15. Figure 2 It can be seen that the load curves on the same Sunday in two consecutive weeks have some differences in value, but the rising or falling trends of the load curves at different times have certain similarities, that is, the load time series change trend has certain similarities. In order to characterize the similarity of the load curves, the load time-varying trend is defined as follows: the spatial position change trend of the load from the current moment to the next moment, such as Figure 3 The black curve is the load data curve on February 2. Taking the load data from 2:00 to 4:00 on that day as an example, the blue and red segments respectively reflect the changing trends of the load data at three load points, which is the load time-varying trend model.

[0056] Step 4.2: Convert the load time-varying trend model into a mathematical expression, that is, Figure 3 Converted into mathematical expression: For continuous historical load data, find the slope value of two adjacent historical load data. If the variables of three consecutive historical load data on the sth day, L s,p , L s,p+1 , L s,p+2 , then the load time-varying trend characteristic variables T1, T2 are:

[0057] T1=L s,p+1 -L s,p (2)

[0058] T2=L s,p+2 -L s,p+1 (3)

[0059] W-1 load time-varying trend characteristic variables are calculated from W consecutive load cycle characteristic variables.

[0060] In this embodiment, h d-7,t-1 ,h d-7,t ,h d-7,t+1 is a continuous load cycle characteristic variable, then the load time-varying trend characteristic variables T3 and T4 are:

[0061] T3=h d-7,t -h d-7,t-1 (4)

[0062] T4=h d-7,t+1 -h d-7,t (5)

[0063] The t-th daily sampling point on day d-7 corresponds to two load time-varying trend variables T3 and T4.

[0064] As a feature extracted from the load cycle data, the load time-varying trend feature reflects the changing characteristics of the load cycle data and can be used as a characteristic variable for load forecasting. And selecting different types of data features as the input of the prediction model can reduce the occurrence of data redundancy to a certain extent.

[0065] Step 5: Reconstruct the load time-varying trend characteristic variables obtained in step 4, the unreplaced load cycle characteristic variables in the load cycle characteristic variables obtained in step 3, and the historical meteorological data and date data in the data set into a new feature set.

[0066] Step 6: Perform normalization preprocessing on the data in the new feature set and the historical load data in the dataset.

[0067] Furthermore, in load forecasting, in order to avoid the difference in dimensions between different data, it is necessary to normalize the data in the new feature set and the historical load data in the data set. The calculation formula is as follows:

[0068]

[0069] In the formula, x' is the normalized value, x max is the maximum value of the sequence, x min is the minimum value of the sequence, and the normalized value is between [0,1].

[0070] Step 7: Input the normalized data into the CNN-LSTM hybrid prediction model and output the predicted future load.

[0071] Furthermore, if Figure 4 As shown in Figure 2, the structure of the CNN-LSTM hybrid prediction model specifically includes the following sequentially connected layers: convolution layer I, maximum pooling layer I, convolution layer II, maximum pooling layer II, convolution layer III, maximum pooling layer III, flattening layer, LSTM layer, random dropout layer and fully connected layer. The parameters of the CNN-LSTM hybrid prediction model are shown in Table 2.

[0072] Specifically, the convolution layer performs convolution calculations on the input data and extracts local features; the pooling layer downsamples the extracted local features and compresses the data volume to produce more important feature information; the flattening layer is used to convert multi-dimensional feature maps into one-dimensional vectors; the LSTM layer is used to capture long-term dependencies in the sequence, "remember" and utilize earlier information in the sequence; the random inactivation layer prevents the model from overfitting; the fully connected layer integrates the output of the LSTM layer to produce the final output result.

[0073] Furthermore, the CNN-LSTM hybrid prediction model combines the CNN feature extraction capability with the LSTM time series long-term memory capability. For the data input into the CNN-LSTM hybrid prediction model, first, the local feature vector is extracted through the CNN convolution layer, and the extracted feature vector is passed to the pooling layer for feature vector downsampling and data volume compression. Next, the feature vector processed by the convolution layer and the pooling layer is converted into a one-dimensional vector through a flat layer and input into the LSTM layer, which is then learned and predicted. A random dropout layer is added after the LSTM layer to prevent the model from overfitting.

[0074] Table 2 Parameters of CNN-LSTM hybrid prediction model

[0075]

[0076]

[0077] Furthermore, in order to verify that the load cycle characteristics and the load time-varying trend characteristics can be combined to further improve the prediction accuracy of the prediction model, the load cycle characteristic variable h d-1,t ,h d-7,t The load time-varying trend characteristic variables T3, T4 and the basic characteristic variables day of the week, holiday, time, temperature, and temperature and humidity index are simultaneously used as the input of the prediction model and input into the CT-CNN-LSTM hybrid prediction model, CT-CNN prediction model, and CT-LSTM prediction model. The C-CNN-LSTM prediction model, C-CNN prediction model, and C-LSTM prediction model that only consider the load cycle characteristics are used as comparison models with the original CNN-LSTM hybrid prediction model, CNN model, and LSTM model to verify the effectiveness of the CT-CNN-LSTM hybrid prediction model proposed in this paper. The input characteristic variables of the CNN-LSTM hybrid prediction model, CNN prediction model, and LSTM prediction model are basic characteristic variables. The input characteristic variables of the C-CNN-LSTM prediction model, C-CNN prediction model, and C-LSTM prediction model are additionally added with h on the basis of the basic characteristic variables. d-1,t ,h d-7,t-1 ,h d-7,t ,h d-7,t+1 4 load cycle characteristic variables.

[0078] The mean absolute percentage error (MAPE), mean absolute error (MAE) and root mean square error (RMSE) are used to evaluate the prediction accuracy of the load forecasting model. The formula is as follows:

[0079]

[0080] In the formula, k is the number of prediction points; y i and are the actual value and predicted value of the load at time i respectively.

[0081] The experimental data is NE-ISO New England region data from February to November 2015, a total of 10 months. The data of the first 9 months is used as the training set, and the data of the last month is used as the test set. In order to verify the correctness of the method proposed in this invention, two typical scenarios, weekend and weekday, are selected for prediction. In the test set, November 21 is Saturday, which is selected as a typical weekend scenario; November 30 is Monday, which is selected as a typical weekday scenario.

[0082] (1) Analysis of simulation results of typical weekend scenarios

[0083] The prediction results of various prediction models for the typical weekend scenario on November 21 are as follows Figure 5 , Figure 6 , Figure 7 The prediction errors of each prediction model are shown in Table 3.

[0084] Table 3 Prediction errors of various prediction models for typical weekend scenarios

[0085]

[0086] It can be seen from Table 3 that the CT-CNN-LSTM hybrid prediction model proposed in the present invention, which takes into account the load cycle characteristics and the load time-varying trend characteristics, has the highest prediction accuracy.

[0087] (2) Analysis of simulation results for typical working day scenarios

[0088] The prediction results of each prediction model on November 30, a typical weekday scenario, are as follows: Figure 8 , Fig. 9 , Fig.10 The prediction errors of each prediction model are shown in Table 4.

[0089] Table 4 Prediction errors of various prediction models for typical scenarios on weekdays

[0090]

[0091] It can be seen from Table 4 that the prediction results of the C-CNN-LSTM prediction model are reduced by 61.19%, 57.25% and 46.54% in MAPE, MAE and RMSE respectively compared with the prediction results of the CNN-LSTM hybrid prediction model; the prediction results of the C-CNN prediction model are reduced by 54.40%, 50.04% and 45.76% in MAPE, MAE and RMSE respectively compared with the prediction results of the CNN model; the prediction results of the C-LSTM prediction model are reduced by 33.51%, 35.84% and 32.43% in MAPE, MAE and RMSE respectively compared with the prediction results of the LSTM prediction model. The prediction results of the CT-CNN-LSTM hybrid prediction model decreased by 74.12%, 72.58% and 66.39% in MAPE, MAE and RMSE respectively compared with the prediction results of the CNN-LSTM hybrid prediction model; the prediction results of the CT-CNN prediction model decreased by 62.67%, 59.44% and 55.17% in MAPE, MAE and RMSE respectively compared with the prediction results of the CNN prediction model; the prediction results of the CT-LSTM prediction model decreased by 47.94%, 47.15% and 50.65% in MAPE, MAE and RMSE respectively compared with the prediction results of the LSTM prediction model.

[0092] In the simulation experiment on November 30, a typical scenario on a working day, the prediction accuracy of the C-CNN-LSTM hybrid prediction model, C-CNN prediction model, and C-LSTM prediction model considering the load cycle characteristics is improved compared with the original CNN-LSTM hybrid prediction model, CNN prediction model, and LSTM model. The prediction accuracy of the CT-CNN-LSTM hybrid prediction model, CT-CNN prediction model, and CT-LSTM prediction model considering both the load cycle characteristics and the time-varying trend characteristics is greatly improved compared with the original CNN-LSTM hybrid prediction model, CNN prediction model, and LSTM prediction model. The CT-CNN-LSTM hybrid prediction model combines the load cycle characteristics and the load time-varying trend characteristics, and relies on the CNN local feature extraction capability and the LSTM long-term memory capability, so it has the highest prediction accuracy.

[0093] This proves the conclusion:

[0094] ① The load cycle characteristic variables extracted based on the load cycle characteristics have a high degree of correlation with the load at the time to be predicted, which can improve the prediction accuracy of the prediction model.

[0095] ② The load time-varying trend characteristics, as features extracted from the load data itself, can reflect the periodic time series variation law of the load data.

[0096] ③ As two different data types, the load cycle characteristic variables and the load time-varying trend characteristic variables are combined and applied to the prediction model, which reduces the impact of data redundancy on the prediction model, enriches the input of the prediction model, and can greatly improve the prediction accuracy of the prediction model. This method has a certain universality.

[0097] ④The C-T-CNN-LSTM hybrid prediction model uses the load cycle characteristic variables extracted from the load cycle characteristics and the load time-varying trend characteristic variables extracted from the load time-varying trend characteristics, and then uses CNN to fully mine the local characteristics between data, and uses LSTM for prediction. Compared with other single prediction models, the prediction effect is better and the accuracy is higher.

[0098] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. An accurate short-term load forecasting method based on PCC to extract load cycle characteristics and time-varying trend characteristics, characterized in that: The following steps are involved: Step 1: Set a sliding window for the time series data consisting of historical load data in a data set containing historical load data, historical meteorological data, and date data to obtain a load data matrix containing the current load and historical load; Step 2: Use the PCC calculation formula to calculate the Pearson correlation coefficient between the current load and the historical load in the load data matrix created in step 1, and select the matrix column elements whose Pearson correlation coefficient is greater than the threshold; Step 3: Among the matrix column elements whose Pearson correlation coefficient is greater than the threshold, select the historical load data variables at a single time point or a continuous time point as the load cycle characteristic variables; Step 4: extract W-1 load time-varying trend characteristic variables from the W continuous load cycle characteristic variables in the load cycle characteristic variables, and use the W-1 load time-varying trend characteristic variables to replace the load cycle characteristic variables in the W continuous load cycle characteristic variables except the load cycle characteristic variables in the middle position; Step 5: Reconstruct the load time-varying trend characteristic variables obtained in step 4, the unreplaced load cycle characteristic variables in the load cycle characteristic variables obtained in step 3, and the historical meteorological data and date data in the data set into a new feature set; Step 6: Normalize the data in the new feature set and the historical load data in the data set; Step 7: Input the normalized data into the CNN-LSTM hybrid prediction model and output the predicted future load.

2. The accurate short-term load forecasting method based on PCC extracting load cycle characteristics and time-varying trend characteristics according to claim 1 is characterized in that: The PCC calculation formula is: Where, α={α1,α2,…,α i ,…,α m } represents the current load data variable with a length of m, β={β1,β2,…,β i ,…,β m } indicates a historical load data variable with a length of m. Represents the average value of the load data variable at the current moment, Represents the average value of historical load data variables, Pearson correlation coefficient r α,β The value range is [-1,1].

3. The accurate short-term load forecasting method based on PCC extracting load cycle characteristics and time-varying trend characteristics according to claim 2 is characterized in that: The threshold is 0.

5.

4. The accurate short-term load forecasting method based on PCC extracting load cycle characteristics and time-varying trend characteristics according to claim 3 is characterized in that: The interval between the historical load data variables selected in step 3 and the current time is greater than 24 hours.

5. The accurate short-term load forecasting method based on PCC extraction of load cycle characteristics and time-varying trend characteristics according to claim 4 is characterized in that: The method of extracting W-1 load time-varying trend characteristic variables from W consecutive load cycle characteristic variables in step 4 is: Step 4.1: Propose the time-varying trend of load and establish the time-varying trend model of load; Step 4.2: Convert the load time-varying trend model into a mathematical expression: For the continuous historical load data, find the slope value of the two adjacent historical load data. If the variables of the three consecutive historical load data on the sth day are L s,p , L s,p+1 , L s,p+2 , then the load time-varying trend characteristic variable T1 = L s,p+1 -L s,p , T2=L s,p+2 -L s,p+1 , extract W-1 load time-varying trend characteristic variables from the W continuous load cycle characteristic variables.

6. The accurate short-term load forecasting method based on PCC extraction of load cycle characteristics and time-varying trend characteristics according to claim 5 is characterized in that: The load time-varying trend is: the spatial position change trend of the load extending from the current moment to the next moment; The method for establishing the load time-varying trend model is: making a historical load data curve for any day, and connecting two adjacent historical load data through a straight line segment.

7. The accurate short-term load forecasting method based on PCC extraction of load cycle characteristics and time-varying trend characteristics according to claim 6 is characterized in that: The normalization method is: using the formula The data in the new feature set and the historical load data in the data set are processed. In the formula, x' is the normalized value, x max is the maximum value of the sequence, x min is the minimum value of the sequence, and the normalized value is between [0,1].

8. The accurate short-term load forecasting method based on PCC extracting load cycle characteristics and time-varying trend characteristics according to claim 7 is characterized in that: The structure of the CNN-LSTM hybrid prediction model specifically includes the following layers connected in sequence: convolution layer I, maximum pooling layer I, convolution layer II, maximum pooling layer II, convolution layer III, maximum pooling layer III, flattening layer, LSTM layer, random dropout layer and fully connected layer.

9. The accurate short-term load forecasting method based on PCC extraction of load cycle characteristics and time-varying trend characteristics according to claim 8 is characterized in that: The filter size of the convolution layer I is [3, 1], and the number of filters is 64. The filter size of the convolution layer II is [3, 1], and the number of filters is 32. The filter size of the convolution layer III is [3, 1], and the number of filters is 16.

10. The accurate short-term load forecasting method based on PCC extraction of load cycle characteristics and time-varying trend characteristics according to claim 9 is characterized in that: The number of neurons in the LSTM layer is 100, and the inactivation probability of the random inactivation layer is 0.2.