Adaptive mode decomposition-based deep learning power load prediction method, medium and equipment

Through adaptive modal decomposition and CNN-LSTM models, combined with gridded numerical weather forecast and sample entropy, the problem of predicting the complex fluctuation characteristics of power loads is solved, achieving higher prediction accuracy and model simplification.

CN118676909APending Publication Date: 2024-09-20SHANDONG UNIV

Patent Information

Application Number
CN202410781028.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

Existing technology is difficult to effectively predict the complex fluctuation characteristics of power loads, especially during non-holiday periods, resulting in low prediction accuracy and inability to effectively characterize the periodic and random fluctuation patterns of the load.

Method used

The deep learning method of adaptive mode decomposition is used to construct wide-area meteorological difference characteristics through gridded numerical weather forecast. The improved adaptive noise complete set empirical decomposition method and sample entropy are used to calculate the time series complexity, and the power load data is decomposed into stationary and non-stationary components, and predict based on the CNN-LSTM temporal network model.

Benefits of technology

It significantly improves the accuracy of power load forecasting, reduces the complexity and computational workload of model forecasting, effectively characterizes the periodicity and randomness of load fluctuations, and improves forecasting performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118676909A
    Figure CN118676909A
Patent Text Reader

Abstract

The invention relates to a deep learning power load prediction method based on adaptive modal decomposition, a medium and equipment, and belongs to the technical field of load prediction.The deep learning power load prediction method comprises the steps that firstly, a grid numerical weather forecast is adopted to construct a feature construction method considering wide-area meteorological differences, and key meteorological elements influencing load fluctuation are deeply excavated; the method comprises the following steps: firstly, extracting a power load data sample, then decomposing the power load data sample by utilizing an improved adaptive noise complete set empirical decomposition method, further calculating the time sequence complexity of each component by adopting sample entropy, carrying out aggregation reconstruction on the components based on complexity similarity, and finally constructing a CNN-LSTM time sequence network model for depth feature mining. According to the method, the fluctuation characteristics of load fluctuation are effectively represented, the complex nonlinear high-dimensional characteristics influencing the load fluctuation rule are deeply mined, and the prominent problem that the load prediction difficulty is large due to the superposition influence of multiple factors such as strong fluctuation, periodicity and randomness of the power load is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a method, medium and equipment for deep learning power load forecasting based on adaptive modal decomposition, and belongs to the technical field of load forecasting. Background Art

[0002] Load forecasting is an important guarantee for the safe and economical operation of power systems. Accurate short-term load forecasting can optimize power grid dispatching, effectively promote the intelligent and digital construction of power systems, and play a vital role in energy management. In the actual operation of power systems, loads are affected by many complex factors, such as irradiance, temperature, wind speed, date type, etc., which significantly enhances the non-stationarity of power loads. At the same time, affected by the changes in natural laws and people's social activities, loads show significant periodic changes. The tight coupling of randomness and periodicity increases the complexity of power load data, making it more difficult to predict. Therefore, it is urgent to propose advanced prediction methods for the complex fluctuation characteristics of power loads to improve the prediction accuracy of power loads. With the rapid development of artificial intelligence technology, deep learning methods have been widely used because of their strong nonlinear fitting and generalization capabilities. Using only a single prediction model will limit the ability of deep learning to mine data volatility and nonlinearity. Using different types of deep learning models to construct deep learning combination variant methods can give full play to the advantages of various models and more comprehensively mine data sample characteristics. Therefore, effectively characterizing the periodic and random fluctuation laws of loads and comprehensively mining key dependent feature information are the keys to improving the accuracy of load forecasting. Summary of the invention

[0003] In view of the shortcomings of the prior art, this application proposes a deep learning short-term load forecasting method based on adaptive modal decomposition for the fluctuation characteristics of load during non-holiday periods. First, a feature construction method that considers wide-area meteorological differences is constructed using gridded numerical weather forecasts to deeply mine the key meteorological factors that affect load fluctuations; then the improved adaptive noise complete set empirical decomposition method is used to decompose the power load data samples, and then the sample entropy is used to calculate the time series complexity of each component, and the components are aggregated and reconstructed based on the complexity similarity, so that the periodicity and randomness of load fluctuations are characterized by stationary components and non-stationary components, which simplifies the model calculation amount and creates favorable conditions for improving the model prediction performance. Finally, a CNN-LSTM time series network model with deep feature mining is constructed based on Convolutional Neural Network (CNN) and Long Short-Term Memory Network (LSTM). CNN fully mines the high-dimensional meteorological features that affect the fluctuation of load components, and LSTM is used to further highlight the influence of important time series information, effectively improving the prediction accuracy of power load. This method effectively characterizes the fluctuation characteristics of load fluctuations, deeply explores the complex nonlinear high-dimensional characteristics that affect the load fluctuation law, and breaks through the prominent problem of difficulty in load forecasting caused by the combined influence of multiple factors such as strong volatility, periodicity, and randomness of power load.

[0004] The technical solution of the present invention is as follows:

[0005] A deep learning power load forecasting method based on adaptive modal decomposition includes the following steps:

[0006] (1) Using gridded numerical weather forecasts to construct feature tables, taking into account wide-area meteorological differences, the key meteorological factors that affect load fluctuations are deeply mined;

[0007] The proportion of meteorologically sensitive loads such as cooling and heating has increased sharply, and load fluctuations are increasingly affected by meteorology. However, numerical meteorology at a single location coordinate is difficult to effectively reflect the impact of meteorological differences in a wide spatial range on the overall fluctuation characteristics of power loads. Therefore, the application proposes a feature construction method that takes into account wide-area meteorological differences, and uses gridded numerical weather forecast data to establish a feature table as input.

[0008] A grid point map is made in the area of ​​interest to cover the area of ​​interest. Each grid point represents the numerical weather forecast at that location. If there is a weather forecast value for that point, the grid point is blue, and if there is no weather forecast value for that point, the grid point is white.

[0009] The gridded numerical weather forecast is extracted and arranged and combined into a numerical feature chart according to the spatial rules of the grid point map, where the white points are set to 0 to eliminate the redundant influence of the weather in areas not of concern, and the blue points are the weather forecast data of the area of ​​concern, including temperature, irradiance, wind speed, humidity, air pressure, and precipitation. A feature chart is extracted for each time point, and multiple time-series feature charts will form a time-series feature table rich in time series relationships, namely, meteorological feature data.

[0010] (2) Load sequence decomposition method based on adaptive modal decomposition

[0011] In this step, an adaptive mode decomposition method (AMD) is proposed to explore the stationarity and randomness of the original load sequence, and the original load sequence data is decomposed. The AMD method is used to decompose the original load sequence into a series of component sequences with different modes, namely, three component data sets {SIMF1, SIMF2, SIMF3} of high frequency, medium frequency and low frequency, thereby reducing the complexity of the original load sequence.

[0012] The adaptive mode decomposition method is a data decomposition method based on the combination of the improved complete ensemble empirical mode decomposition with adaptive noise (ICEEMADN) method and the sample entropy method. This method first uses the ICEEMADN method to preliminarily decompose the load data, accurately separates the effective signal and removes the irrelevant noise, separates the stationarity and non-stationarity of the load series, and reduces the complexity of the load data; then, based on the sample entropy method, the time series complexity of several components is calculated, and the components with similar complexity are aggregated and reconstructed, which reasonably reduces the number of components and reduces the complexity of prediction modeling and the workload of solving.

[0013] Specifically, the steps are as follows:

[0014] (2-1)ICEEMDAN is a new data decomposition technology and an improved version of the traditional empirical mode decomposition (EMD)

[101] . ICEEMDAN introduces adaptive noise and full integration strategies to improve the stability and accuracy of decomposition. In the ICEEMDAN method, the original signal is first decomposed into multiple intrinsic mode functions (IMFs) using EMD, and then the noise in each IMF is removed by an adaptive noise algorithm. Finally, all the denoised IMF components are fully integrated to obtain the decomposed signal. Compared with the traditional EMD method, ICEEMDAN uses an adaptive noise algorithm to remove noise, which can reduce the problem of modal aliasing in the decomposition process. In addition, the full integration strategy can ensure that the decomposed signal retains all the information of the original signal, improving the accuracy of decomposition.

[0015] The EMD method marks the maximum and minimum points of the original sequence, and then smoothly connects the maximum points to form the upper boundary line of the original sequence, and smoothly connects the minimum points to form the lower boundary line of the original signal, and then calculates the mean formed by the upper and lower boundary lines to form a mean curve.

[0016] This mean line is the first IMF. The new sequence obtained by subtracting it from the original sequence is called the residual. The residual is used as the original data for repeated decomposition until the new IMF is less than a certain threshold. Then, a series of IMFs and residuals with the characteristics of the original sequence can be obtained. The relationship between IMF and residual is as follows (1):

[0017]

[0018] Among them, x(t) is the original time series, IMF1(t) is the first component series, r1(t) is the first residual series, and r k (t) is the kth residual sequence, IMF k (t) is the kth component sequence;

[0019] There is an uneven distribution of extreme points in time series samples, which affects the shape of the upper and lower boundary lines, resulting in a large difference in the signal time scale of the obtained IMF component sequence set. Therefore, EMD is prone to mode aliasing during the sequence decomposition process. In order to overcome this shortcoming, Huang NE et al. proposed an ensemble empirical mode decomposition method (EEMD), which uses the characteristic that the mean of white noise is 0. In the decomposition process of the original sequence, uniformly distributed white noise is added multiple times, so that the white noise covered in the original sequence can be fused, and then more accurate upper and lower boundary lines are obtained, and then the decomposition results are averaged. The more average processing times, the smaller the adverse effect of noise on signal decomposition.

[0020] The superposition of multiple groups of white noise is approximately equal to 0. If the number of processing times is insufficient, the white noise cannot be reduced to a negligible level. Therefore, the influence of white noise still remains after all IMFs are added. Colominas et al. proposed ICEEMDAN, which takes advantage of the characteristic that the mean of white noise is 0. By introducing white noise multiple times in the decomposition, the original signal noise is eliminated as much as possible, thereby obtaining more accurate upper and lower boundary lines. The overall idea has been adjusted to obtain the IMF component sequence by giving priority to the residual. For this purpose, the operator M(·) that produces the local mean and E are introduced. k (·) The operator of the kth IMF generated by EMD; the specific decomposition process of the ICEEMDAN sequence is as follows:

[0021] 1) E1(ω i (t)) is added to the original x(t), then we have

[0022] x i (t) = x(t) + ε0E1(ω i (t)) (2)

[0023] where i = 1, 2, 3, ..., n, ω i (t) is the i-th white noise to be added, ε0 is the signal-to-noise ratio, n is the number of white noises added, x i (t) is the constructed i-th signal;

[0024] 2) Calculate x by EMD i The local mean M(x) of (t) i (t)), then the first residual is as follows: r1(t) and the first IMF component IMF1(t) is as follows:

[0025]

[0026] 3) Through recursive loop, the kth IMF can be obtained k (t) component, as shown in formula (4)

[0027]

[0028] (2-2) Using the ICEEMDAN method to decompose the original load sequence can effectively reduce the coupling between stationarity and randomness, thereby improving the predictability of the data. However, this requires modeling and prediction of each IMF component separately. A large number of IMF components increases the complexity and workload of the modeling work, resulting in a large amount of cost and a small improvement. Therefore, components with similar complexity can be re-aggregated to reasonably reduce the number of components, thereby reducing the number of modeling and reducing the workload. Therefore, this step uses sample entropy to calculate the complexity of each component, and re-aggregates each component according to the complexity to form three components: high frequency, medium frequency and low frequency; sample entropy is a method to measure the complexity of time series data, which measures the complexity of the time series by measuring the probability of generating new patterns in the signal. Sample entropy has two significant advantages: one is that its calculation does not depend on the length of the data, and the other is that it has better consistency. The smaller the calculated value of sample entropy, the higher the self-similarity of the time series and the relatively stable sequence; the larger the sample entropy value, the higher the complexity of the sequence. The calculation process is as follows:

[0029] Specifically, for a time series X(i) = [x(1), x(2), ..., x(N)] consisting of N data, the sample entropy is calculated as follows:

[0030] 1) Arranged in time into a vector sequence of dimension m, X m (1),…,X m (Nm-1), where X m (i)={x(i),x(i+1),…,x(i+m-1)},1≤i≤N-m+1;

[0031] 2) Transform the vector X m (i) With X m (j) The absolute value of the maximum difference between corresponding elements is defined as the distance between two vectors; that is:

[0032] d[X m (i),X m (j)]=max k=0,...,m-1 (|x(i+k)-x(j+k)|) (5)

[0033] 3) For a given X m (i) Count the distances between it and all other vectors, and find the X vectors that are less than or equal to the parameter r. m(j) count j (1≤j≤Nm,j≠i) and record it as B i ; For 1≤j≤Nm, define:

[0034]

[0035] 4) Traverse the entire sample set and define B (m) (r) is:

[0036]

[0037] 5) Increase the dimension to m+1 and recalculate X m+1 (i) With X m+1 The number of distances (j)(1≤j≤Nm,j≠i) less than or equal to r, denoted as A i ; Defined as:

[0038]

[0039] 6) Definition A m (r) is:

[0040]

[0041] At this time, B m (r) is the probability that the sequence matches m points under the similarity threshold r, A m (r) is the probability that the sequence matches m+1 points; thus, we can define the sample entropy as:

[0042]

[0043] When N is a finite value, the following formula is used for calculation:

[0044]

[0045] After obtaining the sample entropy, similar sequences are aggregated.

[0046] The method adopted in this application is a data decomposition method based on the combination of Improved Complete Ensemble Empirical Mode Decomposition with Adaptive Noise (ICEEMDAN) and sample entropy method. From the decomposition method point of view, the ICEEMDAN method adopted in this application can not only effectively decompose effective signals and irrelevant noise, but also control the number of decomposed signals by controlling the amount of added noise and the threshold of signal fluctuation. Compared with variational mode decomposition, the VMD method cannot control the number of decomposed signals and may decompose a large number of signals. At the same time, this application uses sample entropy to calculate the complexity of each component of the initial decomposition, re-aggregates similar complexities, effectively reduces the number of signals, thereby avoiding a large number of repeated modeling of similar signals and reducing the workload of modeling.

[0047] (3) Standardize each data set; standardize each component data with the meteorological characteristic data:

[0048]

[0049] Among them, f and f′ are the original data of each component and the data after standardization respectively; f max and f min are the maximum and minimum values ​​of the original data sets of each component respectively;

[0050] (4) Construct CNN-LSTM prediction models for high frequency, medium frequency, and low frequency components. For each component sequence of SIMF1, SIMF2, and SIMF3, establish its own unique CNN-LSTM prediction model. The data of the same forecast time in the previous 7 days of each component sequence, the day of the week label, and the meteorological characteristic data such as temperature, irradiance, wind speed, humidity, air pressure, and precipitation at the forecast time are used as model input, and the component sequence at the forecast time is used as output. Model training is performed to determine the neural network weights of the prediction model of each component.

[0051] Based on Convolutional Neural Network (CNN) and Long Short-Term Memory Network (LSTM), a CNN-LSTM temporal network model for deep feature mining was constructed.

[0052] Specifically, the Convolutional Neural Network (CNN) model can effectively extract key features from input data and map high-dimensional input data to low-dimensional space by adopting local perception and weight sharing; the model structure of the CNN convolutional neural network includes input, convolution layer, pooling layer, fully connected layer, and output;

[0053] The convolution layer constructs a shared convolution kernel for convolution operation. The convolution kernel performs convolution operation on the feature set of the previous layer in sequence to obtain a new feature set. In this way, constructing multiple different convolution kernels can extract different feature sets in the convolution layer. It can be seen that the convolution layer cleverly designs a shared weight for feature extraction. By controlling the size and number of convolution kernels, the complexity of feature extraction of high-dimensional data can be significantly reduced. The calculation method of the convolution layer is as shown in formula (13):

[0054]

[0055] Among them, I l-1 is the feature set of the l-1th layer, is the i-th convolution kernel of the l-th layer, The bias between the input of the l-1th layer and the i-th feature set of the lth layer. f(·) is the activation function of this layer. There are many types of activation functions, including the commonly used Sigmoid function, Tanh function, ReLu function and ELU function. This paper uses the Tanh function as the activation function.

[0056] The convolution layer divides each feature set of the previous layer into many different feature subsets of the same dimension. The pooling layer uses the downsampling method to further reduce the data dimension and extract features for each feature subset. In this way, through pooling, a new low-dimensional feature set equal to the number of convolutional layers can be formed; the mathematical expression of the pooling layer is (14)

[0057]

[0058] in, is the weight coefficient of the i-th feature set in the l+1th layer, represents the i-th feature subset of the l-th convolutional layer, is the bias between the feature set of the l+1th layer and the i-th feature set of the lth layer, down(·) is the downsampling function, which is generally the maximum downsampling and mean downsampling, is the i-th feature subset of the l+1-th pooling layer;

[0059] The fully connected layer is consistent with the traditional neural network, which connects each neuron to all neurons in the previous layer and integrates all the previously extracted features. Its mathematical expression is (15)

[0060]

[0061] Among them, f i is the i-th neuron, W i is the i-th weight parameter, which determines the dimension according to each feature subset of the pooling layer, usually one-dimensional or multi-dimensional, b i is bias.

[0062] Specifically, long short-term memory neural network

[0063] Traditional feedforward neural networks cannot record the impact of the information at the previous moment on the current moment, and only focus on the information processing at the current moment. However, there is a certain continuity in atmospheric movement and complex social activities, which means that there must be a certain relationship between loads in time. Therefore, traditional neural networks will weaken the load forecasting effect. Recurrent Neural Network (RNN) is different from the traditional feedforward neural network structure. It has a special recurrent unit that can apply the information at the previous moment to the information processing at the current moment.

[0064] It is understandable that learning long-term information means multiple iterations of the above process. If the historical information is far away from the current information, the number of iterations will increase. When training a neural network by gradient descent, it will lead to continuous multiplication of partial derivatives, which may lead to the "gradient disappearance" problem. Typical recurrent neural networks are not suitable for learning long-term memory information.

[0065] This step proposes the Long Short-Term Memory Networks (LSTM) neural network, which is developed from the recurrent neural network. It has unique advantages in processing long-term information memory and can avoid the "gradient disappearance" problem. The main structure is a recurrent unit, which contains multiple special multiplication units, called "gates", to control the timing state of information flow in the network; the input gate controls the input activation process, which contains the current input data and the output value of the information at the previous moment; the output gate controls the output activation process; the forget gate controls the degree of forgetting of the storage unit information at the last moment; these three gates work together in an orderly manner to forget invalid information and remember beneficial information.

[0066] First, the forget gate reads the output data of the previous moment and the input data of the current moment, and uses the sigmoid function as the activation function to obtain an attenuation coefficient for calculation with the memory unit of the previous moment. The process is described as:

[0067] f t =σ(w f1 ·h t-1 +w f2 ·xt +b f ) (16)

[0068] Among them, σ is the sigmoid function, w f1 、w f2 is the weight, b f is the bias, f t is the attenuation coefficient and f t ∈[0,1],x t is the current input value, h t-1 Output value for the previous moment;

[0069] Similarly, the process of input gate is described as:

[0070] i t =σ(w i1 ·h t-1 +w i2 ·x t +b i ) (17)

[0071]

[0072] Among them, w i1 、w i2 、w c1 、w c2 is the weight, b i 、b c is the bias, It is a temporary memory unit;

[0073] The current memory unit can be obtained through the memory unit of the previous moment and the temporary memory unit:

[0074]

[0075] Finally, the output gate realizes information output:

[0076] o t =σ(w o1 ·h t-1 +w o2 ·x t +b0) (20)

[0077] h t =o t tanh(C t ) (twenty one)

[0078] This step uses the high-dimensional data processing capability of CNN to mine high-dimensional features, and uses the LSTM long short-term memory neural network to mine time series features. A CNN-LSTM prediction model is established for each load sequence component feature, that is, the model obtained by training each component is different, and then the prediction results of each component are superimposed to obtain the prediction results of the original load sequence; the CNN-LSTM model is divided into five layers, and the specific structure is as follows:

[0079] Input layer, the gridded numerical weather forecast feature table is input into the convolutional neural network as a feature variable;

[0080] The CNN layer includes a four-dimensional convolution layer, a two-dimensional pooling layer and a fully connected layer, which are used to extract the key features of the input data. In this paper, the activation function of the convolution layer uses the Tanh function, and the maximum pooling method is selected as the pooling method of the pooling layer. The input data is processed by the convolution layer and the pooling layer to obtain the meteorological feature vector after dimensionality reduction.

[0081] The fully connected layer uses the historical load sequence and the meteorological feature vector as the input data of the fully connected layer. The purpose is to enhance the influence weight of the load component autocorrelation and avoid information loss when the high-dimensional meteorological feature table is used as the input of the CNN layer for convolution operation. The fully connected layer uses the Tanh function as the activation function.

[0082] The LSTM layer is used to learn the intrinsic relationship and time series variation rules between the feature vectors extracted by CNN and the load components, and to predict the data at future moments;

[0083] In the output layer, the Tanh function is selected as the activation function, and the final prediction result of the load component is calculated according to the output of the LSTM layer.

[0084] (5) Compare and analyze the prediction results; superimpose the prediction results of the three components SIMF1, SIMF2, and SIMF3 to obtain the final load prediction results, build a basic prediction model, use the error evaluation index to compare with the prediction results of the proposed model, and analyze the prediction performance of the proposed model.

[0085] Specifically, mean absolute error (MAE), root mean square error (RMSE) and coefficient of determination (R2) are selected as evaluation indicators of the load forecasting results in this step to evaluate the forecasting accuracy; MAE, RMSE and R2 are calculated as follows:

[0086]

[0087] Where N is the number of samples, yi and i ′ is the true value and predicted value of normalized load at time i, is the average value of the normalized load; the smaller the MAE and RMSE, the smaller the prediction error and the better the prediction effect; R2 represents the correlation between the predicted value and the true value, and the larger its value, the better the prediction effect.

[0088] A computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the above-mentioned prediction method when executed by a processor.

[0089] A load forecasting device, characterized in that the forecasting device includes a memory and a processor; wherein the memory is used to store program instructions; the processor is used to call the program instructions, and when the program instructions are executed, the steps of the above-mentioned forecasting method are implemented.

[0090] The beneficial effects of the present invention are:

[0091] (1) This application proposes a deep learning short-term power load forecasting method based on adaptive modal decomposition. It uses an improved adaptive noise complete set empirical mode decomposition method to separate the stationary and non-stationary characteristics of the load sequence to characterize the periodic and random fluctuation laws of the load. At the same time, it uses sample entropy to calculate the temporal complexity of the decomposition sequence, and uses this as a similarity index to reintegrate the components, reasonably reduce the number of decomposition sequences, and reduce the modeling workload. On this basis, CNN and LSTM neural networks are used to extract the high-dimensional features of gridded numerical weather forecasts to improve the prediction accuracy of the model.

[0092] (2) Using ICEEMDAN and sample entropy aggregation, a load series decomposition method based on adaptive modal decomposition is proposed. After decomposing the stationarity and non-stationarity of the load series, it is re-aggregated based on the component similarity to finally form three components: high frequency, medium frequency, and low frequency. These three components are then modeled, which reduces the complexity and workload of predictive modeling while effectively improving the prediction accuracy and increasing the practicality of the method. This method uses adaptive modal decomposition to effectively characterize the periodic and random fluctuation characteristics of the load, significantly reducing the complexity and workload of predictive modeling.

[0093] (3) The object of this application is the overall regional load forecasting. The spatial differences in the meteorology of the area of ​​concern are taken into account when constructing the features, and are characterized by gridded numerical weather forecasts. Gridded numerical weather forecasts are applied to power load forecasting to explore the impact of regional meteorological differences on power load volatility. At the same time, a CNN-LSTM deep learning model is constructed to process the gridded high-dimensional meteorological features, and then the LSTM neural network is used to mine the time series correlation, effectively mining high-dimensional features and time series dependencies, improving the prediction effect of the model and the load prediction accuracy. The effectiveness of the method proposed in this article is verified by examples. BRIEF DESCRIPTION OF THE DRAWINGS

[0094] Figure 1 A schematic diagram of the gridded numerical weather forecast characteristics considering spatial correlation;

[0095] Figure 2 It is a schematic diagram of gridded numerical weather time series characteristics chart;

[0096] Figure 3 It is a schematic diagram of the power load data decomposition process based on the adaptive modal decomposition method;

[0097] Figure 4 This is a schematic diagram of EMD decomposition;

[0098] Figure 5 Schematic diagram of the time series decomposition process based on ICEEMDAN;

[0099] Figure 6 It is a convolutional neural network structure diagram;

[0100] Figure 7 is the recurrent unit graph of a recurrent neural network;

[0101] Figure 8 Schematic diagram of the recurrent neural network structural unit of the Tanh activation function;

[0102] Fig. 9 This is a schematic diagram of the LSTM long short-term memory neural network structure;

[0103] Fig.10 Schematic diagram of the time series model for CNN-LSTM deep feature mining;

[0104] Fig.11 This is a schematic diagram of load decomposition in a certain place in Shandong Province from December 1 to December 3, 2019;

[0105] Fig.12 Schematic diagram of sample entropy of each component sequence;

[0106] Fig.13Schematic diagram of the SIMF components obtained by superposition of the components decomposed by ICEEMDAN; (a) is SIMF1 component, (b) is SIMF2 component, and (c) is SIMF3 component;

[0107] Fig.14 Schematic diagram of the monthly average forecast of MAE (a) and RMSE (b) of the model M5 proposed in this paper. DETAILED DESCRIPTION

[0108] The present invention will be further described below by way of embodiments in conjunction with the accompanying drawings, but is not limited thereto.

[0109] This paper uses the Python deep learning framework to build a short-term load forecasting model 24 hours ahead of time. The numerical weather forecast data and measured load data of a certain place in Shandong from January 1, 2019 to December 31, 2021 are selected every 15 minutes. All the data are divided into three sets. The relevant data from January 1, 2019 to December 31, 2019 are used for model training, from January 1, 2020 to December 31, 2020 for model testing, and from January 1, 2021 to December 31, 2021 for model prediction. The model is retrained every month during the prediction. This paper uses cross-validation to train the model.

[0110] The model training and prediction process is based on the following environment: Windows 11, intel 7-10875H @ 2.30 GHz; NVIDIA RTX 2060; 32 GB of RAM.

[0111] Embodiment 1:

[0112] This embodiment verifies the effectiveness of a deep learning power load forecasting method based on adaptive modal decomposition.

[0113] A deep learning power load forecasting method based on adaptive modal decomposition includes the following steps:

[0114] (1) Using gridded numerical weather forecasts to construct feature tables, taking into account wide-area meteorological differences, the key meteorological factors that affect load fluctuations are deeply mined;

[0115] The proportion of meteorologically sensitive loads such as cooling and heating has increased sharply, and the load fluctuation is increasingly affected by the weather. However, numerical meteorology of a single location coordinate is difficult to effectively reflect the impact of meteorological differences in a wide spatial range on the overall fluctuation characteristics of power loads. Therefore, the application proposes a feature construction method that considers wide-area meteorological differences, and uses gridded numerical weather forecast data to establish a feature table as input, such as Figure 1 shown.

[0116] A grid point map is made in the area of ​​interest to cover the area of ​​interest. Each grid point represents the numerical weather forecast at that location. If there is a weather forecast value for that point, the grid point is blue, and if there is no weather forecast value for that point, the grid point is white.

[0117] Figure 1 (a) is a schematic diagram of the gridded numerical weather forecast grid point location. The grid point represents the numerical weather forecast at the coordinate position. In order to effectively reflect the spatial correlation of the regional meteorology, the gridded numerical weather forecast is extracted according to Figure 1 (a) The spatial regularity of the grid point diagram is arranged and combined into a numerical feature diagram such as Figure 1 (b), where white points are set to 0 to eliminate the redundant impact of weather in areas not of concern, and blue points are weather forecast data for the area of ​​concern, including, for example, temperature, irradiance, wind speed, humidity, air pressure, and precipitation; a feature chart is extracted at each time point, and multiple time sequence feature charts will form a time series feature table rich in time series relationships, such as Figure 2 , that is, meteorological characteristic data.

[0118] (2) Load sequence decomposition method based on adaptive modal decomposition

[0119] In this step, the adaptive mode decomposition method (AMD) is proposed to explore the stability and randomness of the original load sequence, decompose the original load sequence data, and use the AMD method to decompose the original load sequence into a series of component sequences with different modes, namely, three component data sets {SIMF1, SIMF2, SIMF3} of high frequency, medium frequency and low frequency, thereby reducing the complexity of the original load sequence. The load sequence decomposition process of the adaptive mode decomposition method is as follows: Figure 3 shown.

[0120] The adaptive mode decomposition method is a data decomposition method based on the combination of the improved complete ensemble empirical mode decomposition with adaptive noise (ICEEMADN) method and the sample entropy method. This method first uses the ICEEMADN method to preliminarily decompose the load data, accurately separates the effective signal and removes the irrelevant noise, separates the stationarity and non-stationarity of the load series, and reduces the complexity of the load data; then, based on the sample entropy method, the time series complexity of several components is calculated, and the components with similar complexity are aggregated and reconstructed, which reasonably reduces the number of components and reduces the complexity of prediction modeling and the workload of solving.

[0121] Specifically, the steps are as follows:

[0122] (2-1)ICEEMDAN is a new data decomposition technology and an improved version of the traditional empirical mode decomposition (EMD). ICEEMDAN introduces adaptive noise and full integration strategies to improve the stability and accuracy of the decomposition. In the ICEEMDAN method, the original signal is first decomposed into multiple intrinsic mode functions (IMFs) using EMD, and then the noise in each IMF is removed by an adaptive noise algorithm. Finally, all the denoised IMF components are fully integrated to obtain the decomposed signal. Compared with the traditional EMD method, ICEEMDAN uses an adaptive noise algorithm to remove noise, which can reduce the problem of modal aliasing during the decomposition process. In addition, the full integration strategy can ensure that the decomposed signal retains all the information of the original signal, improving the accuracy of the decomposition.

[0123] The EMD method marks the maximum and minimum points of the original sequence, then smoothly connects the maximum points to form the upper boundary line of the original sequence, smoothly connects the minimum points to form the lower boundary line of the original signal, and then calculates the mean formed by the upper and lower boundary lines to form a mean curve, such as Figure 4 As shown, the green curve represents the upper boundary line, the blue curve represents the lower boundary line, the black curve is the original sequence, and the orange curve is the mean curve.

[0124] This mean line is the first IMF. The new sequence obtained by subtracting it from the original sequence is called the residual. The residual is used as the original data for repeated decomposition until the new IMF is less than a certain threshold. Then, a series of IMFs and residuals with the characteristics of the original sequence can be obtained. The relationship between IMF and residual is as follows (1):

[0125]

[0126] Among them, x(t) is the original time series, IMF1(t) is the first component series, r1(t) is the first residual series, and r k (t) is the kth residual sequence, IMF k (t) is the kth component sequence;

[0127] There is an uneven distribution of extreme points in time series samples, which affects the shape of the upper and lower boundary lines, resulting in a large difference in the signal time scale of the obtained IMF component sequence set. Therefore, EMD is prone to mode aliasing during the sequence decomposition process. In order to overcome this shortcoming, Huang NE et al. proposed an ensemble empirical mode decomposition method (EEMD), which uses the characteristic that the mean of white noise is 0. In the decomposition process of the original sequence, uniformly distributed white noise is added multiple times, so that the white noise covered in the original sequence can be fused, and then more accurate upper and lower boundary lines are obtained, and then the decomposition results are averaged. The more average processing times, the smaller the adverse effect of noise on signal decomposition.

[0128] The superposition of multiple groups of white noise is approximately equal to 0. If the number of processing times is insufficient, the white noise cannot be reduced to a negligible level. Therefore, the influence of white noise still remains after all IMFs are added. Colominas et al. proposed ICEEMDAN, which takes advantage of the characteristic that the mean of white noise is 0. By introducing white noise multiple times in the decomposition, the original signal noise is eliminated as much as possible, thereby obtaining more accurate upper and lower boundary lines. The overall idea has been adjusted to obtain the IMF component sequence by giving priority to the residual. For this purpose, the operator M(·) that produces the local mean and E are introduced. k (·) The operator of the kth IMF generated by EMD; the sequence decomposition process of ICEEMDAN is as follows Figure 5 shown.

[0129] The specific decomposition process is as follows:

[0130] 1) E1(ω i (t)) is added to the original x(t), then we have

[0131] x i (t) = x(t) + ε0E1(ω i (t)) (2)

[0132] where i = 1, 2, 3, ..., n, ω i (t) is the i-th white noise to be added, ε0 is the signal-to-noise ratio, n is the number of white noises added, x i (t) is the constructed i-th signal;

[0133] 2) Calculate x by EMD i The local mean M(x) of (t) i (t)), then the first residual is as follows: r1(t) and the first IMF component IMF1(t) is as follows:

[0134]

[0135] 3) Through recursive loop, the kth IMF can be obtained k (t) component, as shown in formula (4)

[0136]

[0137] (2-2) Using the ICEEMDAN method to decompose the original load sequence can effectively reduce the coupling between stationarity and randomness, thereby improving the predictability of the data. However, this requires modeling and prediction of each IMF component separately. A large number of IMF components increases the complexity and workload of the modeling work, resulting in a large amount of cost and a small improvement. Therefore, components with similar complexity can be re-aggregated to reasonably reduce the number of components, thereby reducing the number of modeling and reducing the workload. Therefore, this step uses sample entropy to calculate the complexity of each component, and re-aggregates each component according to the complexity to form three components: high frequency, medium frequency and low frequency; sample entropy is a method to measure the complexity of time series data, which measures the complexity of the time series by measuring the probability of generating new patterns in the signal. Sample entropy has two significant advantages: one is that its calculation does not depend on the length of the data, and the other is that it has better consistency. The smaller the calculated value of sample entropy, the higher the self-similarity of the time series and the relatively stable sequence; the larger the sample entropy value, the higher the complexity of the sequence. The calculation process is as follows:

[0138] Specifically, for a time series X(i) = [x(1), x(2), ..., x(N)] consisting of N data, the sample entropy is calculated as follows:

[0139] 1) Arranged in time into a vector sequence of dimension m, X m (1),…,X m (Nm-1), where X m (i)={x(i),x(i+1),…,x(i+m-1)}, 1≤i≤N-m+1.

[0140] 2) Transform the vector X m (i) With X m (j) The absolute value of the maximum difference between corresponding elements is defined as the distance between two vectors; that is:

[0141] d[X m (i),X m (j)]=max k=0,…,m-1 (|x(i+k)-x(j+k)|) (5)

[0142] 3) For a given X m(i) Count the distances between it and all other vectors, and find the X vectors that are less than or equal to the parameter r. m (j) count j (1≤j≤Nm,j≠i) and record it as B i ; For 1≤j≤Nm, define:

[0143]

[0144] 4) Traverse the entire sample set and define B (m) (r) is:

[0145]

[0146] 5) Increase the dimension to m+1 and recalculate X m+1 (i) With X m+1 The number of distances (j)(1≤j≤Nm,j≠i) less than or equal to r, denoted as A i ; Defined as:

[0147]

[0148] 6) Definition A m (r) is:

[0149]

[0150] At this time, B m (r) is the probability that the sequence matches m points under the similarity threshold r, A m (r) is the probability that the sequence matches m+1 points; thus, we can define the sample entropy as:

[0151]

[0152] When N is a finite value, the following formula is used for calculation:

[0153]

[0154] After obtaining the sample entropy, similar sequences are aggregated.

[0155] In this embodiment, the load sequence is decomposed by ICEEMDAN to obtain 12 IGFDMF components. Fig.11 The load breakdown from December 1 to December 3, 2019 is shown. Fig.11 It can be seen that the ICEEMDAN model effectively decomposes the stationary sequence and non-stationary sequence contained in the original load sequence. The partially decomposed load sequence components have a high similarity. If each component is modeled, it will undoubtedly result in a large amount of modeling work but little effect on accuracy improvement.

[0156] Therefore, it is necessary to reasonably merge components with high similarity, reduce the number of components, and reduce the modeling workload. To this end, the sample entropy proposed in this paper is used to calculate the temporal complexity of each component, and components with similar temporal complexity are superimposed and aggregated to reduce the number of components used for modeling. The calculation results of the similarity of the complexity of each component are as follows: Fig.12 shown.

[0157] according to Fig.12 The calculation results balance the number of components of each superposition component, artificially aggregate the component sequence, and superimpose the first three IMF components with higher sample entropy values ​​into a post-processing component SIMF1; superimpose components IMF4, IMF5, and IMF6 to obtain SIMF2, and finally merge the remaining IMF components into component SIMF3. The component superposition selection is shown in Table 1. Fig.13 The load components after superposition are shown. It can be seen that the stability of the SIMF1 component is poor, while the SIMF2 and SIMF3 components are relatively stable.

[0158] Table 1 IMF component superposition results

[0159]

[0160] (3) Standardize each data set; standardize each component data with the meteorological characteristic data:

[0161]

[0162] Among them, f and f′ are the original data of each component and the data after standardization respectively; f max and f min are the maximum and minimum values ​​of the original data sets of each component.

[0163] (4) Construct CNN-LSTM prediction models for high frequency, medium frequency, and low frequency components. For each component sequence of SIMF1, SIMF2, and SIMF3, establish its own unique CNN-LSTM prediction model. The data of the same forecast time in the previous 7 days of each component sequence, the day of the week label, and the meteorological characteristic data such as temperature, irradiance, wind speed, humidity, air pressure, and precipitation at the forecast time are used as model input, and the component sequence at the forecast time is used as output. Model training is performed to determine the neural network weights of the prediction model of each component.

[0164] Based on Convolutional Neural Network (CNN) and Long Short-Term Memory Network (LSTM), a CNN-LSTM temporal network model for deep feature mining was constructed.

[0165] Specifically, the Convolutional Neural Network (CNN) model can effectively extract key features from input data and map high-dimensional input data to low-dimensional space by adopting local perception and weight sharing. The model structure of the CNN convolutional neural network is as follows: Figure 6 , including input, convolution layer, pooling layer, fully connected layer, and output;

[0166] The convolution layer constructs a shared convolution kernel for convolution operation. The convolution kernel performs convolution operation on the feature set of the previous layer in sequence to obtain a new feature set. In this way, constructing multiple different convolution kernels can extract different feature sets in the convolution layer. It can be seen that the convolution layer cleverly designs a shared weight for feature extraction. By controlling the size and number of convolution kernels, the complexity of feature extraction of high-dimensional data can be significantly reduced. The calculation method of the convolution layer is as shown in formula (13):

[0167]

[0168] Among them, I l-1 is the feature set of the l-1th layer, is the i-th convolution kernel of the l-th layer, The bias between the input of the l-1th layer and the i-th feature set of the lth layer. f(·) is the activation function of this layer. There are many types of activation functions, including the commonly used Sigmoid function, Tanh function, ReLu function and ELU function. This paper uses the Tanh function as the activation function.

[0169] The convolution layer divides each feature set of the previous layer into many different feature subsets of the same dimension. The pooling layer uses the downsampling method to further reduce the data dimension and extract features for each feature subset. In this way, through pooling, a new low-dimensional feature set equal to the number of convolutional layers can be formed; the mathematical expression of the pooling layer is (14)

[0170]

[0171] in, is the weight coefficient of the i-th feature set in the l+1th layer, represents the i-th feature subset of the l-th convolutional layer, is the bias between the feature set of the l+1th layer and the i-th feature set of the lth layer, down(·) is the downsampling function, which is generally the maximum downsampling and mean downsampling, is the i-th feature subset of the l+1-th pooling layer;

[0172] The fully connected layer is consistent with the traditional neural network, which connects each neuron to all neurons in the previous layer and integrates all the previously extracted features. Its mathematical expression is (15)

[0173]

[0174] Among them, f i is the i-th neuron, W i is the i-th weight parameter, which determines the dimension according to each feature subset of the pooling layer, usually one-dimensional or multi-dimensional, b i is bias.

[0175] Specifically, long short-term memory neural network

[0176] Traditional feedforward neural networks cannot record the impact of the information at the previous moment on the current moment, and only focus on the information processing at the current moment. However, there is a certain continuity in atmospheric movement and complex social activities, which means that there must be a certain relationship between loads in time. Therefore, traditional neural networks will weaken the load forecasting effect. Recurrent Neural Network (RNN) is different from the traditional feedforward neural network structure. It has a special loop unit that can apply the information at the previous moment to the information processing at the current moment. The recurrent neural network is expanded as follows Figure 7 shown.

[0177] Figure 7 In, x t is the input feature at time t, h t is the output value of the recurrent unit at time t, U, V, and W are related parameters. It can be seen from the figure that the information generated by neuron A in the previous moment when it recursively calls itself is used for the output at the next moment. Assuming that the activation function of neuron A is the Tanh function, the structural unit of the recurrent neural network is Figure 8 .

[0178] c t is the memory information at the current time t, c t-1 is the memory information of the previous moment t-1,

[0179] c t =tanh(W·c t-1 +V·x t ]+b r )

[0180] h t=V·c t

[0181] Among them, b r For bias.

[0182] It is understandable that learning long-term information means multiple iterations of the above process. If the historical information is far away from the current information, the number of iterations will increase. When training a neural network by gradient descent, it will lead to continuous multiplication of partial derivatives, which may lead to the "gradient disappearance" problem. Typical recurrent neural networks are not suitable for learning long-term memory information.

[0183] This step proposes the Long Short-Term Memory Networks (LSTM) neural network, which is developed from the recurrent neural network. It has unique advantages in processing long-term information memory and can avoid the "gradient disappearance" problem. The main structure is a recurrent unit, which contains multiple special multiplication units, called "gates", to control the timing state of information flow in the network; the input gate controls the input activation process, which contains the current input data and the output value of the information at the previous moment; the output gate controls the output activation process; the forget gate controls the degree of forgetting of the storage unit information at the last moment; these three gates work together in an orderly manner to forget invalid information and remember useful information, such as Fig. 9 shown.

[0184] First, the forget gate reads the output data of the previous moment and the input data of the current moment, and uses the sigmoid function as the activation function to obtain an attenuation coefficient for calculation with the memory unit of the previous moment. The process is described as:

[0185] f t =σ(w f1 ·h t-1 +w f2 ·x t +b f ) (16)

[0186] Among them, σ is the sigmoid function, w f1 、w f2 is the weight, b f is the bias, f t is the attenuation coefficient and f t ∈[0,1],x t is the current input value, h t-1 Output value for the previous moment;

[0187] Similarly, the process of input gate is described as:

[0188] i t =σ(w i1 ·h t-1 +wi2 ·x t +b i ) (17)

[0189]

[0190] Among them, w i1 、w i2 、w c1 、w c2 is the weight, b i 、b c is the bias, It is a temporary memory unit;

[0191] The current memory unit can be obtained through the memory unit of the previous moment and the temporary memory unit:

[0192]

[0193] Finally, the output gate realizes information output:

[0194] o t =σ(w o1 ·h t-1 +w o2 ·x t +b0) (20)

[0195] h t =o t tanh(C t ) (twenty one)

[0196] This step uses the high-dimensional data processing capability of CNN to mine high-dimensional features, and uses the LSTM long short-term memory neural network to mine time series features. A CNN-LSTM prediction model is established for each load sequence component feature, that is, the model obtained by training each component is different, and then the prediction results of each component are superimposed to obtain the prediction results of the original load sequence; the CNN-LSTM model is divided into five layers, such as Fig.10 As shown, the specific structure is as follows:

[0197] Input layer, the gridded numerical weather forecast feature table is input into the convolutional neural network as a feature variable;

[0198] The CNN layer includes a four-dimensional convolution layer, a two-dimensional pooling layer and a fully connected layer, which are used to extract the key features of the input data. In this paper, the activation function of the convolution layer uses the Tanh function, and the maximum pooling method is selected as the pooling method of the pooling layer. The input data is processed by the convolution layer and the pooling layer to obtain the meteorological feature vector after dimensionality reduction.

[0199] The fully connected layer uses the historical load sequence and the meteorological feature vector as the input data of the fully connected layer. The purpose is to enhance the influence weight of the load component autocorrelation and avoid information loss when the high-dimensional meteorological feature table is used as the input of the CNN layer for convolution operation. The fully connected layer uses the Tanh function as the activation function.

[0200] The LSTM layer is used to learn the intrinsic relationship and time series variation rules between the feature vectors extracted by CNN and the load components, and to predict the data at future moments;

[0201] In the output layer, the Tanh function is selected as the activation function, and the final prediction result of the load component is calculated according to the output of the LSTM layer.

[0202] (5) Compare and analyze the prediction results; superimpose the prediction results of the three components SIMF1, SIMF2, and SIMF3 to obtain the final load prediction results, build a basic prediction model, use the error evaluation index to compare with the prediction results of the proposed model, and analyze the prediction performance of the proposed model.

[0203] Specifically, mean absolute error (MAE), root mean square error (RMSE) and coefficient of determination (R2) are selected as evaluation indicators of the load forecasting results in this step to evaluate the forecasting accuracy; MAE, RMSE and R2 are calculated as follows:

[0204]

[0205]

[0206] Where N is the number of samples, y i and i ′ is the true value and predicted value of normalized load at time i, is the average value of the normalized load; the smaller the MAE and RMSE, the smaller the prediction error and the better the prediction effect; R2 represents the correlation between the predicted value and the true value, and the larger its value, the better the prediction effect.

[0207] This embodiment compares the prediction results of different components. To verify the effectiveness of the prediction results of each type of component, the proposed CNN-LSTM model is used to predict the superimposed and reconstructed SIMF1, SIMF2, and SIMF3 components.

[0208] Table 2 shows the daily average prediction accuracy of the three components SIMF1, SIMF2 and SIMF3 on the selected days. The monthly average MAE error of SIMF1 component is 3.64%, and the RMSE error is 4.64%. The monthly average MAE error of SIMF2 component is 0.76%, and the RMSE error is 0.87%. The monthly average MAE error of SIMF3 component is 0.45%, and the RMSE error is 0.46%. It can be seen that the prediction effect of component SIMF3 is the best, followed by SIMF2, and SIMF1 is the worst. It can be seen that the prediction effect of stationary series is relatively good, and the prediction effect of non-stationary series is poor. Effective decomposition of stationary series and non-stationary series can reduce the data complexity of the original series.

[0209] Table 2 MAE and RMSE values ​​of each model on a certain day from January to December

[0210]

[0211]

[0212] Comparative Example

[0213] In order to verify the superiority of the method proposed in this article, this embodiment analyzes the short-term load forecasting results, and constructs support vector machines (SVM, replaced by model M1 in the following text), BP neural network (M2), extreme gradient boosting (eXtreme Gradient Boosting, XGBT, replaced by model M3 in the following text), CNN-LSTM (direct prediction without decomposition, M4) and the method proposed in this application (M5) for comparative verification to verify the superiority of the method proposed in this article.

[0214] Fig.14 The average monthly forecasts of each model from January to December are shown. From the MAE and RMSE indicators, the forecast error of model M1 is larger than that of other models, especially in July, August, and September, when the load volatility is strong. The performance is poor. It can be seen that the support vector machine model has certain limitations in mining complex rules. Models M2 and M3 are deep learning models, and the forecast effects in July, August, and September are relatively good. It can be seen that deep learning models have certain advantages in mining complex rules. The M4 model is the CNN-LSTM model proposed in this paper, but it does not perform load sequence decomposition. Although the forecast error in August is slightly larger than that of other models, overall, the model has better forecasting effects than M4 and the other three models, which shows that it has better performance in feature mining complex rules. The forecast error of the M5 model is significantly lower than that of the other four models, which shows that load sequence decomposition can further improve the accuracy of load forecasting.

Claims

1. A deep learning power load forecasting method based on adaptive modal decomposition, characterized in that: The steps include: (1) Using gridded numerical weather forecasts to construct feature tables, taking into account wide-area meteorological differences, the key meteorological factors that affect load fluctuations are deeply mined; A grid point map is made in the area of ​​interest to cover the area of ​​interest. Each grid point represents the numerical weather forecast at that location. If there is a weather forecast value for that point, the grid point is blue, and if there is no weather forecast value for that point, the grid point is white. Extract the gridded numerical weather forecast and arrange it into a numerical feature chart according to the spatial rules of the grid point map, where the white points are set to 0 and the blue points are the meteorological forecast data of the area of ​​interest, including temperature, irradiance, wind speed, humidity, air pressure, and precipitation. Extract a feature chart at each time point, and multiple time sequence feature charts will form a time series feature table rich in time series relationships, namely meteorological feature data. (2) Load sequence decomposition method based on adaptive modal decomposition The original load sequence data is decomposed into three component data sets {SIMF1, SIMF2, SIMF3} of high frequency, medium frequency and low frequency by using AMD method, thus reducing the complexity of the original load sequence; (3) Standardize each data set; standardize each component data with the meteorological characteristic data: Among them, f and f′ are the original data of each component and the data after standardization respectively; f max and f min are the maximum and minimum values ​​of the original data sets of each component respectively; (4) Construct CNN-LSTM prediction models for high frequency, medium frequency, and low frequency components. For each component sequence of SIMF1, SIMF2, and SIMF3, establish its own unique CNN-LSTM prediction model. Take the data of the same forecast time of the previous date of each component sequence, the day of the week label, and the meteorological characteristic data such as temperature, irradiance, wind speed, humidity, air pressure, and precipitation at the forecast time as the model input, and take the component sequence at the forecast time as the output. Perform model training and determine the neural network weights of the prediction model of each component. (5) Compare and analyze the prediction results; superimpose the prediction results of the three components SIMF1, SIMF2, and SIMF3 to obtain the final load prediction results, build a basic prediction model, use the error evaluation index to compare with the prediction results of the proposed model, and analyze the prediction performance of the proposed model.

2. The deep learning power load forecasting method based on adaptive modal decomposition according to claim 1 is characterized in that: In step (2), the adaptive mode decomposition method is a data decomposition method based on the combination of the improved complete ensemble empirical mode decomposition method with adaptive noise (ICEEMADN) and the sample entropy method. The method first uses the ICEEMADN method to perform a preliminary decomposition of the load data, accurately separates the effective signal and removes the irrelevant noise, separates the stationarity and non-stationarity of the load series, and reduces the complexity of the load data. Then, the temporal complexity of several components is calculated based on the sample entropy method, and components with similar complexity are aggregated and reconstructed; The steps include: (2-1) First, the original signal is decomposed into multiple intrinsic mode functions (IMFs) using EMD, and then the noise in each IMF is removed by an adaptive noise algorithm. Finally, all the denoised IMF components are fully integrated to obtain the decomposed signal. The EMD method marks the maximum and minimum points of the original sequence, then connects the maximum points to form the upper boundary line of the original sequence, connects the minimum points to form the lower boundary line of the original signal, and then calculates the mean formed by the upper and lower boundary lines to form a mean curve; This mean line is the first IMF. The new sequence obtained by subtracting it from the original sequence is called the residual. The residual is used as the original data for repeated decomposition until the new IMF is less than a certain threshold. The decomposition is stopped. Then, a series of IMFs and residuals with the characteristics of the original sequence are obtained, where the relationship between IMF and residual is as follows (1): Among them, x(t) is the original time series, IMF1(t) is the first component series, r1(t) is the first residual series, and r k (t) is the kth residual sequence, IMF k (t) is the kth component sequence; Taking advantage of the fact that the mean of white noise is 0, the IMF component sequence is obtained by introducing white noise multiple times in the decomposition and obtaining the residual first. For this purpose, the operator M(·) producing the local mean and E k (·) The operator of the kth IMF generated by EMD; (2-2) Using sample entropy, the complexity of each component is calculated, and each component is re-aggregated according to the complexity to form three components: high-frequency, medium-frequency, and low-frequency. Sample entropy is a method to measure the complexity of time series data. It measures the complexity of a time series by measuring the probability of generating a new pattern in the signal.

3. The deep learning power load forecasting method based on adaptive modal decomposition according to claim 2 is characterized in that: In step (2-1), the specific decomposition process of ICEEMDAN sequence is as follows: 1) E1(ω i (t)) is added to the original x(t), then we have x i (t)=x(t)+ε0E1(ω i (t)) (2) where i = 1, 2, 3, ..., n, ω i (t) is the i-th white noise to be added, ε0 is the signal-to-noise ratio, n is the number of white noises added, x i (t) is the constructed i-th signal; 2) Calculate x by EMD i The local mean M(x) of (t) i (t)), then the first residual is as follows: r1(t) and the first IMF component IMF1(t) is as follows: 3) Through recursive loop, the kth IMF can be obtained k (t) component, as shown in formula (4) 4. The deep learning power load forecasting method based on adaptive modal decomposition according to claim 2 is characterized in that: In step (2-2), the calculation process is as follows: Specifically, for a time series X(i) = [x(1), x(2), ..., x(N)] consisting of N data, the sample entropy is calculated as follows: 1) Arranged in time into a vector sequence of dimension m, X m (1),…,X m (Nm-1), where X m (i)={x(i),x(i+1),…,x(i+m-1)},1≤i≤N-m+1; 2) Transform the vector X m (i) With X m (j) The absolute value of the maximum difference between corresponding elements is defined as the distance between two vectors; that is: d[X m (i),X m (j)]=max k=0,…,m-1 (|x(i+k)-x(j+k)|) (5) 3) For a given X m (i) Count the distances between it and all other vectors, and find the X vectors that are less than or equal to the parameter r. m (j) count j (1≤j≤Nm,j≠i) and record it as B i ; For 1≤j≤Nm, define: 4) Traverse the entire sample set and define B (m) (r) is: 5) Increase the dimension to m+1 and recalculate X m+1 (i) With X m+1 The number of distances (j)(1≤j≤Nm,j≠i) less than or equal to r, denoted as A i ; Defined as: 6) Definition A m (r) is: At this time, B m (r) is the probability that the sequence matches m points under the similarity threshold r, A m (r) is the probability that the sequence matches m+1 points; thus, the sample entropy is defined as: When N is a finite value, the following formula is used for calculation: After obtaining the sample entropy, similar sequences are aggregated.

5. The deep learning power load forecasting method based on adaptive modal decomposition according to claim 1 is characterized in that: In step (4), a unique CNN-LSTM prediction model is established for each component sequence of SIMF1, SIMF2, and SIMF3, and the data of the same forecast time of the previous 7 days of each component sequence, the day of the week label, and the meteorological characteristic data such as temperature, irradiance, wind speed, humidity, air pressure, and precipitation at the forecast time are used as model input.

6. The deep learning power load forecasting method based on adaptive modal decomposition according to claim 1 is characterized in that: In step (4), this step uses the high-dimensional data processing capability of CNN to mine high-dimensional features, uses the LSTM long short-term memory neural network to mine time series features, and establishes a CNN-LSTM prediction model for each load sequence component feature, that is, the model obtained by training each component is different, and then the prediction results of each component are superimposed to obtain the prediction results of the original load sequence; the CNN-LSTM model is divided into five layers, and the specific structure is as follows: Input layer, the gridded numerical weather forecast feature table is input into the convolutional neural network as a feature variable; The CNN layer includes a four-dimensional convolution layer, a two-dimensional pooling layer and a fully connected layer, which are used to extract the key features of the input data. In this paper, the activation function of the convolution layer uses the Tanh function, and the maximum pooling method is selected as the pooling method of the pooling layer. The input data is processed by the convolution layer and the pooling layer to obtain the meteorological feature vector after dimensionality reduction. The fully connected layer uses the historical load sequence and the meteorological feature vector as the input data of the fully connected layer. The purpose is to enhance the influence weight of the load component autocorrelation and avoid information loss when the high-dimensional meteorological feature table is used as the input of the CNN layer for convolution operation; The fully connected layer uses the Tanh function as the activation function; The LSTM layer is used to learn the intrinsic relationship and time series variation rules between the feature vectors extracted by CNN and the load components, and to predict the data at future moments; In the output layer, the Tanh function is selected as the activation function, and the final prediction result of the load component is calculated according to the output of the LSTM layer.

7. The deep learning power load forecasting method based on adaptive modal decomposition according to claim 6 is characterized in that: In step (4), a CNN-LSTM temporal network model for deep feature mining is constructed based on a convolutional neural network (CNN) and a long short-term memory network (LSTM); The Convolutional Neural Network (CNN) model extracts key features from input data by using local perception and weight sharing, mapping high-dimensional input data to low-dimensional space; the model structure of the CNN convolutional neural network includes input, convolution layer, pooling layer, fully connected layer, and output; The convolution layer constructs multiple different convolution kernels to extract different feature sets in the convolution layer; the calculation method of the convolution layer is as shown in formula (13): Among them, I l-1 is the feature set of the l-1th layer, is the i-th convolution kernel of the l-th layer, The bias between the input of the l-1th layer and the i-th feature set of the lth layer, and f(·) is the activation function of this layer; The convolution layer divides each feature set of the previous layer into many different feature subsets of the same dimension. The pooling layer uses the downsampling method to further reduce the data dimension and extract features for each feature subset. Through pooling, a new low-dimensional feature set equal to the number of convolution layers is formed. The mathematical expression of the pooling layer is (14) in, is the weight coefficient of the i-th feature set in the l+1th layer, represents the i-th feature subset of the l-th convolutional layer, is the bias between the feature set of the l+1th layer and the i-th feature set of the lth layer, down(·) is the downsampling function, and is the maximum downsampling and mean downsampling, is the i-th feature subset of the l+1-th pooling layer; The fully connected layer connects each neuron to all neurons in the previous layer and integrates all the previously extracted features. Its mathematical expression is (15) Among them, f i is the i-th neuron, W i is the i-th weight parameter, which determines the dimension according to each feature subset of the pooling layer, usually one-dimensional or multi-dimensional, b i is bias; Preferably, this step proposes a Long Short-Term Memory Networks (LSTM) neural network, the main structure of which is a recurrent unit, which contains multiple special multiplication units, called gates, to control the timing state of information flow in the network; the input gate controls the activation process of the input, which contains the output value of the current input data and the information at the previous moment; the output gate controls the activation process of the output; the forget gate controls the degree of forgetting of the information of the storage unit at the last moment; these three gates work together in an orderly manner to forget invalid information and remember beneficial information; First, the forget gate reads the output data of the previous moment and the input data of the current moment, and uses the sigmoid function as the activation function to obtain an attenuation coefficient for calculation with the memory unit of the previous moment. The process is described as: f t =σ(w f1 ·h t-1 +w f2 ·x t +b f ) (16) Among them, σ is the sigmoid function, w f1 、w f2 is the weight, b f is the bias, f t is the attenuation coefficient and f t ∈[0,1],x t is the current input value, h t-1 Output value for the previous moment; Similarly, the process of input gate is described as: i t =σ(w i1 ·h t-1 +w i2 ·x t +b i ) (17) Among them, w i1 、w i2 、w c1 、w c2 is the weight, b i 、b c is the bias, It is a temporary memory unit; The current memory unit is obtained through the memory unit of the previous moment and the temporary memory unit: Finally, the output gate realizes information output: o t =σ(w o1 ·h t-1 +w o2 ·x t +b0) (20) h t =o t ·tanh(C t ) (21)。 8. The deep learning power load forecasting method based on adaptive modal decomposition according to claim 1 is characterized in that: In step (5), mean absolute error (MAE), root mean square error (RMSE) and coefficient of determination (R2) are selected as evaluation indicators of the load forecasting results of this step to evaluate the forecasting accuracy; MAE, RMSE and R2 are calculated as follows: Where N is the number of samples, y i and i ′ is the true value and predicted value of the normalized load at time i, is the average value of the normalized load; the smaller the MAE and RMSE, the smaller the prediction error and the better the prediction effect; R2 represents the correlation between the predicted value and the true value, and the larger its value, the better the prediction effect.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the prediction method according to any one of claims 1 to 8 are implemented.

10. A load forecasting device, characterized in that: The prediction device includes a memory and a processor; wherein the memory is used to store program instructions; the processor is used to call the program instructions, and when the program instructions are executed, the steps of the prediction method described in any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Ultra-short-term load dynamic prediction method based on load characteristic decomposition

    CN116258269A

  • Active power distribution network net load prediction method and system considering source load meteorological characteristic decoupling

    CN118095891A

Cited By

  • Method and system for generating provincial power grid load time sequence scene in supply guarantee key weather

    CN119067320A

  • Short-term power load prediction method in combination with weather parameters

    CN119647699A

  • Time-sharing electric quantity decomposition method based on sensitivity analysis

    CN119848801A

  • Unsupervised fluctuation mode load identification model construction method and load identification method

    CN119917956A

  • Load switch control method of distribution box

    CN120320318A