A short-term power load forecasting method and system based on hybrid model
Through the combination of CEEMDAN decomposition and LSTM, ELM-CATBOOST hybrid model, the time series characteristics of the power load data are extracted, solving the nonlinear and time series feature processing problems of short-term power load forecasting in the existing technology, and achieving higher prediction accuracy and robustness.
Patent Information
- Application Number
- CN202210195940.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-01
- Publication Date
- 2024-09-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing short-term power load forecasting methods have limitations in processing nonlinear and time series characteristics. In particular, the hybrid method does not fully extract the feature information of different subsequences, resulting in low prediction accuracy.
A short-term power load forecasting method based on a hybrid model is adopted. The power load data is decomposed into multiple intrinsic mode function components of different frequencies through the CEEMDAN decomposition algorithm. The LSTM and ELM-CATBOOST hybrid forecast models are combined to extract the time series of high-frequency and low-frequency components. Features and overlay predictions are made to reduce model complexity and improve prediction accuracy.
It improves the accuracy and robustness of short-term power load forecasting, reduces computational overhead, enhances the prediction performance of the model, and is suitable for power load data with different frequency components.
Smart Images

Figure CN114548586B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power systems, and in particular to a short-term power load forecasting method and system based on a hybrid model. Background Art
[0002] Short-term load forecasting (STLF) is the prediction of power load from one hour to one week, which plays an important role in the planning, management and stable operation of the power system. Studies have shown that if the forecast error of a 10GW power company is reduced by 1%, it can save $1.6 million per year. Therefore, accurate short-term load forecasting plays an important role in reducing power waste, maintaining supply and demand balance, reducing production costs, improving economic benefits, as well as dispatch management and power demand planning for power companies.
[0003] Over the years, many domestic and foreign scholars have been exploring and researching in the field of load forecasting, mainly using the following methods: statistical methods, machine learning methods, and hybrid methods. Since the main characteristics of power load data are highly nonlinear and non-stationary, and affected by many factors such as weather, electricity prices, holidays, etc., the difficulty of forecasting will increase accordingly.
[0004] Among them, the statistical method has a simple internal structure and fast convergence speed, and can handle linear prediction problems well, but the accuracy of handling nonlinear problems is insufficient; the machine learning methods of support vector machine (SVM) and extreme learning machine (ELM) can fit nonlinear load data well, but cannot extract temporal features in time series data; the machine learning method of long short-term memory neural network (LSTM) can handle time series data well, but there is a limitation in the prediction accuracy of a single model; the hybrid method has certain advantages over the single method in load forecasting, but the existing hybrid method uses the same model for the subsequences after decomposition of power load data, and different subsequences often have different feature information, which is not conducive to feature information extraction and improving load forecasting performance.
[0005] Therefore, it is urgent to propose a short-term power load forecasting method to solve the problem raised. Summary of the invention
[0006] Based on this, it is necessary to provide a short-term power load forecasting method and system based on a hybrid model to address the shortcomings of the existing technology. Different input features and models are designed for different subsequences, which can greatly enrich the input feature information dimension, reduce the model complexity, and improve the prediction accuracy.
[0007] In order to solve the above technical problems, the technical solution adopted by the present invention is:
[0008] In a first aspect, a short-term power load forecasting method based on a hybrid model is provided, which comprises the following steps:
[0009] Collecting power load data to form a power load data set, and normalizing the power load data to obtain the normalized power load data, which is recorded as original power load data;
[0010] The original power load data is decomposed by CEEMDAN decomposition algorithm to obtain multiple natural mode function components of different frequencies and a residual component;
[0011] Classifying a plurality of intrinsic mode function components of different frequencies into a high-frequency component subsequence and a low-frequency component subsequence;
[0012] Extract the time series features of high-frequency component subsequences through the LSTM prediction model;
[0013] The time series feature sequence of the high-frequency component subsequence extracted by the LSTM prediction model, the k historical power load data before the prediction point in the original power load data, and the k historical power load data before the prediction point in the high-frequency component subsequence are input into the ELM-CATBOOST hybrid prediction model to obtain the prediction result of the high-frequency component subsequence; wherein the ELM-CATBOOST hybrid prediction model includes a first ELM prediction model and a CATBOOST prediction model;
[0014] Obtain the prediction result of the low-frequency component subsequence through the second ELM prediction model;
[0015] Superimposing the prediction result of the high-frequency component subsequence and the prediction result of the low-frequency component subsequence to obtain a superimposed result;
[0016] After the superposition result is denormalized, a short-term power load forecasting result based on the hybrid model is obtained.
[0017] In the second aspect, a short-term power load forecasting system based on a hybrid model is provided, which includes
[0018] The acquisition module is used to collect power load data, form a power load data set, and normalize the power load data to obtain the normalized power load data, which is recorded as the original power load data;
[0019] A decomposition module is used to decompose the original power load data through the CEEMDAN decomposition algorithm to obtain multiple natural mode function components of different frequencies and a residual component;
[0020] A component classification module, used for classifying a plurality of intrinsic mode function components of different frequencies into a high-frequency component subsequence and a low-frequency component subsequence;
[0021] The time series feature extraction module is used to extract the time series features of the high-frequency component subsequence through the LSTM prediction model;
[0022] The high-frequency component subsequence prediction module is used to input the time series feature sequence of the high-frequency component subsequence extracted by the LSTM prediction model, the k historical power load data before the prediction point in the original power load data, and the k historical power load data before the prediction point in the high-frequency component subsequence into the ELM-CATBOOST hybrid prediction model to obtain the prediction result of the high-frequency component subsequence; wherein the ELM-CATBOOST hybrid prediction model includes the first ELM prediction model and the CATBOOST prediction model;
[0023] A low-frequency component subsequence prediction module, used for obtaining a prediction result of a low-frequency component subsequence through a second ELM prediction model;
[0024] A superposition module, used for superimposing the prediction result of the high-frequency component subsequence and the prediction result of the low-frequency component subsequence to obtain a superposition result;
[0025] The denormalization module is used to perform denormalization processing on the superposition result to obtain a short-term power load forecasting result based on the hybrid model.
[0026] In summary, the short-term power load forecasting method and system based on the hybrid model of the present invention extracts the time series characteristics of the high-frequency component subsequence through the LSTM forecasting model, and predicts the short-term power load by using the ELM-CATBOOST hybrid forecasting model composed of the CATBOOST forecasting model and the first ELM forecasting model, and uses the CEEMDAN decomposition algorithm to decompose the non-stationary nonlinear original power load data into a number of relatively stable intrinsic mode function components with different frequencies, thereby reducing the difficulty of model prediction and improving the prediction accuracy; in addition, the time series characteristics of the high-frequency component subsequence are extracted by using the LSTM forecasting model, and the historical power load data and the original power load data of the high-frequency component subsequence are combined as the input features of the ELM-CATBOOST hybrid forecasting model, which greatly enriches the input feature dimension information. By using the ELM-CATBOOST hybrid forecasting model, the advantages of a single model are integrated, and it has higher robustness and accuracy. Different input features and forecasting models are adopted for high- and low-frequency component subsequences, which can reduce the model complexity, save computational overhead and improve the model prediction performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is a flow chart of a first hybrid model-based short-term power load forecasting method provided by an embodiment of the present invention;
[0028] Figure 2is a flow chart of a second hybrid model-based short-term power load forecasting method provided by an embodiment of the present invention;
[0029] Figure 3 It is a structural block diagram of a first hybrid model-based short-term power load forecasting system provided by an embodiment of the present invention;
[0030] Figure 4 It is a structural block diagram of a second short-term power load forecasting system based on a hybrid model provided by an embodiment of the present invention;
[0031] Figure 5 is a block diagram of the internal structure of an electronic device provided by an embodiment of the present invention;
[0032] Figure 6 It is a working principle diagram of the ELM-CATBOOST hybrid prediction model provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0033] 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.
[0034] It should be noted that the terms "first", "second", "third", "fourth", etc. in the specification and claims of the present invention are used to distinguish different objects rather than to describe a specific order. The terms "including" and "having" in the embodiments of the present invention and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0035] like Figure 1 is a flow chart of a first hybrid model-based short-term power load forecasting method provided by an embodiment of the present invention, such as Figure 1 As shown, the short-term power load forecasting method based on the hybrid model includes steps S110 to S160, which are specifically as follows:
[0036] Step S110, collecting power load data to form a power load data set, and normalizing the power load data to obtain the normalized power load data, which is recorded as original power load data; wherein the collected power load data is short-term power load historical data.
[0037] The method of collecting power load data to form a power load data set, normalizing the power load data, and obtaining the normalized power load data in step S110 specifically comprises the following operations:
[0038] By formula Map each power load data in the power load data set to [0, 1] to obtain the normalized power load data x * ; where x * is the normalized power load data, i.e., the original power load data; x min 、x max are the corresponding minimum and maximum power load data in the power load data set, and x is the power load data in the power load data set.
[0039] Step S120: Decompose the original power load data using the CEEMDAN decomposition algorithm to obtain a plurality of intrinsic mode function components of different frequencies and a residual component.
[0040] The method of step S120 specifically includes the following steps:
[0041] Step S121: Add white noises of different amplitudes that obey the normal distribution to the original power load data in sequence to construct a load sequence x to be processed. i (t) = x(t) + β0ω i (t);
[0042] Among them, x i (t) is the power load data to be processed after the i-th white noise is added to the original power load data, recorded as the load sequence to be processed, x(t) is the t-th sample data in the original power load data, β0 is the noise coefficient, ω i (t) is the amplitude of the white noise corresponding to the i-th processing, 1≤i≤P, P is the total number of load sequences to be processed corresponding to the original power load data after adding white noise;
[0043] Step S122: Decompose the load sequence to be processed by EMD decomposition method, and obtain IMF1′1-IMF1′ based on P load sequences to be processed. P Take the mean and get the first mean As the first intrinsic mode function And get the first residual sequence
[0044] Step S123, define E j(·) is the jth intrinsic mode function IMF component obtained by decomposing the power load data to be processed by the EMD decomposition method. The new load sequence r1(t)+ε1E1(ω i (t)) is decomposed to obtain the second mean As the second intrinsic mode function And get the second residual sequence
[0045] Step S124: Repeat the above steps to obtain the remaining intrinsic mode functions IMF3-IMF n Component, and the final remaining residual res component:
[0046]
[0047]
[0048] Among them, 3≤k≤n, r n (t) is the remaining residual res component.
[0049] In this embodiment, the step S122 decomposes the power load data to be processed by the EMD decomposition method, and obtains IMF1′1-IMF1′ from P load sequences to be processed. P The method of taking the mean value may include the following steps:
[0050] The first step is to find the load sequence x to be processed i (t), and use the cubic spline interpolation function to fit the load sequence x to be processed. i (t) and calculate the average value of the upper and lower envelopes The load sequence to be processed x i (t) and the average value e i (t) is subtracted to obtain the difference c i (t) = x i (t)-e i (t); where e 1i (t), e 2i (t) are the upper and lower envelopes of the load sequence to be processed corresponding to the i-th processing, e i (t) is the average value of the upper and lower envelopes of the load sequence to be processed corresponding to the i-th processing;
[0051] Step 2: If the difference c i (t) is less than or equal to the preset reference value, or the number of iterations reaches the preset number of iterations, the difference c i (t) is set to IMF1′ i Otherwise, c i(t) is used as a new load sequence to be processed, and the first step is repeated until the difference c is satisfied. i (t) is less than or equal to a preset benchmark value, or the number of iterations reaches a preset number of iterations.
[0052] Step S130 , classifying a plurality of intrinsic mode function components of different frequencies into a high-frequency component subsequence and a low-frequency component subsequence.
[0053] Specifically, the method of step S130 includes the following operations:
[0054] By formula The multiple intrinsic mode function components of different frequencies are classified into high-frequency component subsequences and low-frequency component subsequences; wherein, Z n represents the zero-crossing rate, n zeros Represents the number of zero crossings, N represents the total length of the signal corresponding to the intrinsic mode function component. When the zero crossing rate of the intrinsic mode function component is less than 0.01, the curve corresponding to the intrinsic mode function component is relatively stable and the frequency is relatively low. The intrinsic mode function component is recorded as a low-frequency component subsequence. When the zero crossing rate of the intrinsic mode function component is greater than or equal to 0.01, the curve corresponding to the intrinsic mode function component begins to fluctuate and the frequency gradually increases. The intrinsic mode function component is recorded as a high-frequency component subsequence. In a discrete signal, if adjacent sampling points have different algebraic signs, it means that a zero crossing has occurred. The ratio of the number of zero crossings to the total length of the signal is defined as the zero crossing rate.
[0055] Step S140, extracting the time series features of the high-frequency component subsequence through the LSTM prediction model; wherein the LSTM prediction model consists of a first LSTM layer, a second LSTM layer, a Dropout layer and a Dense layer, wherein the first LSTM layer is 128 dimensions, the second LSTM layer is 32 dimensions, each layer uses a ReLU activation function, a Dropout layer with a forgetting rate of 0.3, a Dense layer with a size of 32, a batch size of 64, a maximum number of iterations of 1000, and an early stopping function; specifically, determining the input features of the LSTM prediction model, and extracting the time series features of the high-frequency component subsequence through the LSTM prediction model.
[0056] The multiple intrinsic mode function components of different frequencies are classified into m high-frequency component subsequences and n+1-m low-frequency component subsequences. The method of step S140 specifically comprises:
[0057] Each high-frequency component subsequence corresponds to an LSTM prediction model, that is, m high-frequency component subsequences correspond to m LSTM prediction models. The input feature of the first LSTM layer of the LSTM prediction model is the 168 historical power load data before the prediction point in the corresponding high-frequency component subsequence. The 168 historical power load data before the prediction point in the high-frequency component subsequence are input as input features into the first LSTM layer of the LSTM prediction model to obtain the output result of the first LSTM layer.
[0058] The output result of the second LSTM layer is obtained according to the output result of the first LSTM layer, which is used as the time series feature of the LSTM prediction model to extract the high-frequency component subsequence; the output result dimension of the second LSTM layer in the LSTM prediction model is 32, and the output result of the second LSTM layer in each LSTM prediction model corresponds to the time series feature of the corresponding high-frequency component subsequence extracted by the LSTM prediction model.
[0059] Step S150, input the time series feature sequence of the high-frequency component subsequence extracted by the LSTM prediction model, the k historical power load data before the prediction point in the original power load data, and the k historical power load data before the prediction point in the high-frequency component subsequence into the ELM-CATBOOST hybrid prediction model to obtain the prediction result of the high-frequency component subsequence; wherein the ELM-CATBOOST hybrid prediction model includes a first ELM prediction model and a CATBOOST prediction model, the number of hidden layer nodes of the first ELM prediction model is determined by grid search, the learning rate of the CATBOOST prediction model is 0.03, the depth of the tree is 8, and the maximum number of trees is 4000.
[0060] like Figure 6 As shown, the method of step S150 specifically includes:
[0061] Each high-frequency component subsequence corresponds to a first ELM prediction model and a CATBOOST prediction model, that is, m high-frequency component subsequences correspond to m first ELM prediction models and m CATBOOST prediction models respectively. The time series feature sequence of the high-frequency component subsequence extracted by the LSTM prediction model, the k historical power load data before the prediction point in the original power load data, and the k historical power load data before the prediction point in the corresponding high-frequency component subsequence are respectively input into the first ELM prediction model and the CATBOOST prediction model as input features to obtain the prediction results of the high-frequency component subsequence; wherein, for m high-frequency component subsequences, the prediction results of m high-frequency component subsequences are obtained, and the prediction result C of the tth high-frequency component subsequence is t =(A t +B t ) / 2,A tis the output result of the first ELM prediction model of the t-th high-frequency component subsequence, B t is the output result of the CATBOOST prediction model of the t-th high-frequency component subsequence; in this embodiment, the value of k is 24.
[0062] In this embodiment, a part of the intrinsic mode function components has a relatively high frequency and is not stable, which is recorded as a high-frequency component subsequence. It has more feature information, so it is necessary to construct an LSTM prediction model to extract richer input feature information to facilitate the ELM-CATBOOST hybrid prediction model to improve the prediction accuracy; another part of the intrinsic mode function components has a relatively low frequency and is relatively stable, which is recorded as a low-frequency component subsequence, which is suitable for single model prediction, so the ELM prediction model is used to predict the low-frequency component subsequence.
[0063] Step S160: Obtain prediction results of the low-frequency component subsequence through the second ELM prediction model, and the number of hidden layer nodes of the second ELM prediction model is determined by grid search.
[0064] The method of step S160 specifically includes:
[0065] Each low-frequency component subsequence corresponds to a second ELM prediction model. The 168 historical load data before the prediction point in the low-frequency component subsequence are input as input features into the corresponding second ELM prediction model to obtain the prediction results of the low-frequency component subsequence; the prediction results of n+1-m low-frequency component subsequences are obtained for n+1-m low-frequency component subsequences.
[0066] Step S170: superimpose the prediction result of the high-frequency component subsequence and the prediction result of the low-frequency component subsequence to obtain a superimposed result, which is the sum of the prediction result of the high-frequency component subsequence and the prediction result of the low-frequency component subsequence.
[0067] Step S180: After denormalizing the superposition result, a short-term power load forecasting result based on the hybrid model is obtained.
[0068] like Figure 2 As shown, in one embodiment, the short-term power load forecasting method based on the hybrid model also includes
[0069] Step S100, respectively create an LSTM prediction model, an ELM-CATBOOT hybrid prediction model and a second ELM prediction model, and train them; wherein the ELM-CATBOOT hybrid prediction model includes a first ELM prediction model and a CATBOOT prediction model.
[0070] In this embodiment, step S100 may be described as being before step S120 , and may also be described as being before step S110 or step S130 as required.
[0071] The method of step S100, respectively creating an LSTM prediction model, an ELM-CATBOOT hybrid prediction model and a second ELM prediction model, and training them, specifically comprises the following steps:
[0072] Step S101, collecting power load data to form a power load data set, and normalizing the power load data to obtain the normalized power load data, which is recorded as the original power load data; wherein the collected power load data is short-term power load history data; in this embodiment, taking the power load data set from January 1, 2009 to January 1, 2011 in a certain place in Malaysia as an example, the power load data set contains 17519 power load data, and the sampling frequency is 1 hour. The first 80% of the power load data of the entire power load data set is selected as the training set, and the other 20% of the power load data is used as the test set.
[0073] The process of normalizing the power load data is similar to the above step S110 and will not be described in detail here.
[0074] Step S102: Decompose the original power load data using the CEEMDAN decomposition algorithm to obtain a plurality of natural mode function components of different frequencies and a residual component.
[0075] This process is similar to the above step S120 and will not be described again here.
[0076] Step S103: classify a plurality of intrinsic mode function components of different frequencies into a high-frequency component subsequence and a low-frequency component subsequence.
[0077] This process is similar to the above step S130 and will not be described again here.
[0078] Step S104, create an LSTM prediction model, an ELM-CATBOOST hybrid prediction model and a second ELM prediction model; create an LSTM prediction model for each high-frequency component subsequence, the ELM-CATBOOST hybrid prediction model includes a first ELM prediction model and a CATBOOST prediction model, create a first ELM prediction model and a CATBOOST prediction model for each high-frequency component subsequence, and create a second ELM prediction model for each low-frequency component subsequence.
[0079] Step S105, extracting the time series features of the high-frequency component subsequence through the LSTM prediction model; determining the input features of the LSTM prediction model, and extracting the time series features of the high-frequency component subsequence through the LSTM prediction model.
[0080] This process is similar to the above step S140 and will not be described again here.
[0081] Step S106, input the time series feature sequence of the high-frequency component subsequence extracted by the LSTM prediction model, the k historical power load data before the prediction point in the original power load data, and the k historical power load data before the prediction point in the high-frequency component subsequence into the ELM-CATBOOST hybrid prediction model to obtain the prediction result of the high-frequency component subsequence.
[0082] This process is similar to the above step S150 and will not be described again here.
[0083] Step S107: Obtain prediction results of the low-frequency component subsequence through the second ELM prediction model.
[0084] This process is similar to the above step S160 and will not be repeated here.
[0085] Step S108: superimpose the prediction results of the high-frequency component subsequence and the prediction results of the low-frequency component subsequence to obtain a training result, which is the sum of the prediction results of the high-frequency component subsequence and the prediction results of the low-frequency component subsequence.
[0086] Step S109, after the training results are denormalized, one or more error evaluation index evaluation models are used to compare the training results and the true results until the error between the training results and the true results is less than a preset threshold, thereby completing the training of the LSTM prediction model, the ELM-CATBOOT hybrid prediction model and the second ELM prediction model.
[0087] Commonly used error evaluation index evaluation models can be mean absolute percentage error MAPE, mean absolute error MAE, root mean square error RMSE, etc., which are not limited here. The specifics are as follows:
[0088]
[0089]
[0090]
[0091] in, Indicates the predicted value corresponding to the training result of the i-th sample of the prediction model, y iIt represents the true value corresponding to the training result of the i-th sample of the prediction model. s is the total number of samples in the prediction model. The prediction model can be an LSTM prediction model, an ELM-CATBOOT hybrid prediction model or a second ELM prediction model.
[0092] like Figure 2 As shown, in order to make the technical solution of the present invention clearer, a preferred embodiment is described below.
[0093] Step S100, respectively creating a LESTM prediction model, an ELM-CATBOOT hybrid prediction model and a second ELM prediction model, and training them;
[0094] Step S110, collecting power load data to form a power load data set, and normalizing the power load data to obtain the normalized power load data, which is recorded as original power load data; wherein the collected power load data is short-term power load historical data;
[0095] Step S120, decomposing the original power load data by using the CEEMDAN decomposition algorithm to obtain a plurality of natural mode function components of different frequencies and a residual component;
[0096] Step S130, classifying a plurality of intrinsic mode function components of different frequencies into a high-frequency component subsequence and a low-frequency component subsequence;
[0097] Step S140, extracting the time series features of the high-frequency component subsequence through the LSTM prediction model;
[0098] Step S150, input the time series feature sequence of the high-frequency component subsequence extracted by the LSTM prediction model, the k historical power load data before the prediction point in the original power load data, and the k historical power load data before the prediction point in the high-frequency component subsequence into the pre-trained ELM-CATBOOST hybrid prediction model to obtain the prediction result of the high-frequency component subsequence;
[0099] Step S160, obtaining a prediction result of a low-frequency component subsequence through a second ELM prediction model;
[0100] Step S170, superimposing the prediction result of the high-frequency component subsequence and the prediction result of the low-frequency component subsequence to obtain a superimposed result;
[0101] Step S180: After denormalizing the superposition result, a short-term power load forecasting result based on the hybrid model is obtained.
[0102] First, we verify the feasibility of CEEMDAN decomposition preprocessing through Case 1. In this case, LSTM, ELM, CATBOOST and other methods represent single prediction models. CEEMDAN-LSTM, CEEMDAN-ELM, CEEMDAN-CATBOOST and other methods represent hybrid prediction models in which the original power load data is decomposed and processed by CEEMDAN decomposition preprocessing technology. The prediction results are shown in Table 1.
[0103] Table 1 Performance comparison between hybrid model with data preprocessing technique and single model
[0104]
[0105]
[0106] From Table 1, we can see that the RMSE of the single model ELM, CATBOOST, and LSTM are 1023.11MW, 986.73MW, and 1157.08MW, respectively, while the RMSE of the corresponding hybrid model are 830.42MW, 901.72MW, and 825.10MW, respectively, which are reduced by 192.69MW, 85.01MW, and 331.98MW, respectively, and the MAE and MAPE scores are also better than the single prediction model. This shows that the use of CEEMDAN decomposition preprocessing technology to decompose nonlinear and non-stationary power load sequences into several intrinsic mode function components of different frequency sizes can enrich the feature information dimension and effectively improve the prediction performance of the hybrid model.
[0107] Case 2 verifies that designing different input feature sequences and different prediction models for different subsequences can effectively improve the prediction performance of the model. In Case 2, CEEMDAN-ELM means that all subsequences use the first 24 historical load data of the corresponding subsequence as the input feature sequence, and CEEMDAN-LSTM-ELM means that the input feature sequence of all subsequences consists of the first 24 historical power load data of the corresponding subsequence, the first 24 historical power load data of the original power load data, and the time series feature sequence extracted by the LSTM prediction model. CEEMDAN-D-LSTM-ELM means that the input feature sequences of different subsequences are different. The input feature sequence of the high-frequency component subsequence consists of the 24 historical power load data before the prediction point in the high-frequency component subsequence, the 24 historical power load data before the prediction point in the original power load data, and the time series feature sequence extracted by the LSTM prediction model. The input feature of the low-frequency component subsequence is the 24 historical power load data before the prediction point in the corresponding low-frequency component subsequence. The prediction results are shown in Table 2.
[0108] Table 2 Performance comparison between mixed feature input and single feature input of high-frequency component subsequence
[0109]
[0110]
[0111] From Table 2, we can see that the RMSE, MAPE, and MAE of the mixed feature input model are lower than those of the single feature input model. This shows that the LSTM prediction model can extract the time series features in the load sequence very well, and the original power load data also contains some implicit features that affect the subsequence prediction performance. In addition, we can also see that the RMSE, MAPE, and MAE of the CEEMDAN-D-LSTM-ELM prediction model are the lowest, indicating that different subsequences have different feature information and need to design different input feature sequences.
[0112] Case 3 verifies that using different prediction models for high- and low-frequency component subsequences can significantly reduce model calculation time and improve model prediction accuracy. In Case 3, the Malaysian power load dataset is used for experimental comparison. CEEMDAN-LSTM-ELM-CATBOOST means that the same prediction model is used for prediction for all subsequences. CEEMDAN-LSTM-ELM-CATBOOST-ELM means that the LSTM-ELM-CATBOOST hybrid prediction model is used for prediction of high-frequency component subsequences, and the ELM prediction model is used for prediction of low-frequency component subsequences. The prediction results are shown in Table 3.
[0113] Table 3 Performance comparison between different prediction models and the same prediction model for high and low frequency component subsequences
[0114]
[0115] From Table 3, we can see that the calculation time of different prediction models for high- and low-frequency component subsequences is significantly less than that of the same prediction model. The calculation time of CEEMDAN-LSTM-ELM-CATBOOST is 6388.15 seconds, while the calculation time of CEEMDAN-LSTM-ELM-CATBOOST-ELM is 2852.40 seconds, which is more than half the time. In addition, RMSE, MAE, and MAPE are also reduced to varying degrees, indicating that designing different prediction models for different subsequences can effectively reduce model calculation time and improve model prediction performance. Because high-frequency component subsequences contain more feature information, the combined model can learn more complex implicit features, while low-frequency component subsequences are smoother, so a single model can have good prediction performance.
[0116] It can be seen from the above that the present invention discloses a short-term power load forecasting method based on a hybrid model, which extracts the time series features of the high-frequency component subsequence through the LSTM forecasting model, and predicts the short-term power load by using the ELM-CATBOOST hybrid forecasting model composed of the CATBOOST forecasting model and the first ELM forecasting model, and uses the CEEMDAN decomposition algorithm to decompose the non-stationary nonlinear original power load data into a number of relatively stable intrinsic mode function components with different frequencies, thereby reducing the difficulty of model prediction and improving the prediction accuracy; in addition, the time series features of the high-frequency component subsequence are extracted by using the LSTM forecasting model, and the historical power load data and the original power load data of the high-frequency component subsequence are combined as the input features of the ELM-CATBOOST hybrid forecasting model, which greatly enriches the input feature dimension information, and integrates the advantages of a single model by using the ELM-CATBOOST hybrid forecasting model, which has higher robustness and accuracy, and adopts different input features and forecasting models for high- and low-frequency component subsequences, which can reduce the model complexity, save calculation overhead and improve the model prediction performance.
[0117] Figure 3 is a structural block diagram of a short-term power load forecasting system based on a hybrid model provided by an embodiment of the present invention, such as Figure 3 As shown, corresponding to the above-mentioned short-term power load forecasting method based on the hybrid model, the present invention also provides a short-term power load forecasting system based on the hybrid model, the short-term power load forecasting system based on the hybrid model includes a module for executing the above-mentioned short-term power load forecasting method based on the hybrid model, and the system can be configured in a terminal such as an electronic device. The short-term power load forecasting system based on the hybrid model of the present invention is applied to extract the time series characteristics of the high-frequency component subsequence through the LSTM prediction model, and the ELM-CATBOOST hybrid prediction model composed of the CATBOOST prediction model and the first ELM prediction model is used to predict the short-term power load, and the CEEMDAN decomposition algorithm is used to decompose the non-stationary nonlinear original The initial power load data is decomposed into several relatively stable intrinsic mode function components of different frequencies, which reduces the difficulty of model prediction and improves the prediction accuracy. In addition, the LSTM prediction model is used to extract the time series features of the high-frequency component subsequence, and the historical power load data of the high-frequency component subsequence and the original power load data are combined as the input features of the ELM-CATBOOST hybrid prediction model, which greatly enriches the input feature dimension information. By using the ELM-CATBOOST hybrid prediction model, the advantages of a single model are integrated, which has higher robustness and accuracy. Taking different input features and prediction models for high- and low-frequency component subsequences can reduce the model complexity, save computational overhead and improve the model prediction performance.
[0118] Specifically, Figure 3As shown, the short-term power load forecasting system based on the hybrid model includes an acquisition module 110, a decomposition module 120, a component classification module 130, a time series feature extraction module 140, a high-frequency component subsequence prediction module 150, a low-frequency component subsequence prediction module 160, a superposition module 170 and a denormalization module 180.
[0119] The acquisition module 110 is used to collect power load data, form a power load data set, and perform normalization processing on the power load data to obtain the normalized power load data, which is recorded as the original power load data;
[0120] A decomposition module 120 is used to decompose the original power load data by using a CEEMDAN decomposition algorithm to obtain a plurality of intrinsic mode function components of different frequencies and a residual component;
[0121] A component classification module 130, for classifying a plurality of intrinsic mode function components of different frequencies into a high-frequency component subsequence and a low-frequency component subsequence;
[0122] A time series feature extraction module 140 is used to extract time series features of a high-frequency component subsequence through an LSTM prediction model;
[0123] The high-frequency component subsequence prediction module 150 is used to input the time series feature sequence of the high-frequency component subsequence extracted by the LSTM prediction model, the k historical power load data before the prediction point in the original power load data, and the k historical power load data before the prediction point in the high-frequency component subsequence into the ELM-CATBOOST hybrid prediction model to obtain the prediction result of the high-frequency component subsequence; wherein the ELM-CATBOOST hybrid prediction model includes the first ELM prediction model and the CATBOOST prediction model;
[0124] A low-frequency component subsequence prediction module 160, configured to obtain a prediction result of a low-frequency component subsequence by using a second ELM prediction model;
[0125] A superposition module 170, configured to superimpose the prediction result of the high-frequency component subsequence and the prediction result of the low-frequency component subsequence to obtain a superposition result;
[0126] The denormalization module 180 is used to perform denormalization processing on the superposition result to obtain a short-term power load forecasting result based on the hybrid model.
[0127] like Figure 4 As shown, in one embodiment, the short-term power load forecasting system based on the hybrid model also includes a model creation module 190, which is used to create an LSTM prediction module, an ELM-CATBOOT hybrid prediction model and a second ELM prediction model respectively, and train them.
[0128] Figure 5 is a block diagram of the internal structure of an electronic device provided by an embodiment of the present invention, such as Figure 5 As shown, the electronic device provided by the present invention includes a memory and a processor connected through a system bus; a computer program is stored in the memory, and the processor is used to provide computing and control capabilities to support the operation of the entire electronic device. When the processor executes the computer program, the above-mentioned short-term power load forecasting method based on a hybrid model is implemented.
[0129] The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement a short-term power load forecasting method based on a hybrid model.
[0130] The internal memory may also store a computer program, which, when executed by the processor, enables the processor to execute a short-term power load forecasting method based on a hybrid model. Those skilled in the art will appreciate that Figure 5 The structure shown in the figure is only a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the application of the scheme of the present application to other electronic devices. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0131] In one embodiment, the short-term power load forecasting method based on the hybrid model provided in the present application can be implemented as a computer program. The computer program can be used in Figure 5 The memory of the electronic device can store various program modules constituting the short-term power load forecasting system based on the hybrid model, for example, Figure 3 The collection module 110, decomposition module 120, component classification module 130, time series feature extraction module 140, high frequency component subsequence prediction module 150, low frequency component subsequence prediction module 160, superposition module 170 and anti-normalization module 180 are shown. The computer program composed of each program module enables the processor to execute the steps of the short-term power load forecasting system based on the hybrid model of each embodiment of the present application described in this specification. For example, Figure 5 The electronic device shown can be Figure 3The collection module 110 in the short-term power load forecasting system based on the hybrid model shown collects power load data to form a power load data set, and normalizes the power load data to obtain the normalized power load data, which is recorded as the original power load data; the decomposition module decomposes the original power load data through the CEEMDAN decomposition algorithm to obtain multiple intrinsic mode function components of different frequencies and a residual component; the component classification module 130 classifies the multiple intrinsic mode function components of different frequencies into high-frequency component subsequences and low-frequency component subsequences; the time series feature extraction module 140 extracts the time series features of the high-frequency component subsequence through the LSTM prediction model; the high-frequency component subsequence prediction module 150 inputs the time series feature sequence of the high-frequency component subsequence extracted by the LSTM prediction model, the k historical power load data before the prediction point in the original power load data, and the k historical power load data before the prediction point in the high-frequency component subsequence into the ELM-CATBOOST hybrid prediction model to obtain the prediction result of the high-frequency component subsequence; wherein, the ELM-CATBOOST hybrid prediction model includes a first ELM Prediction model and CATBOOST prediction model; obtain the prediction result of the low-frequency component subsequence through the second ELM prediction model through the low-frequency component subsequence prediction module 160; superimpose the prediction result of the high-frequency component subsequence and the prediction result of the low-frequency component subsequence through the superposition module 170 to obtain the superposition result; after the superposition result is denormalized by the denormalization module 180, the short-term power load prediction result based on the hybrid model is obtained.
[0132] In one embodiment, an electronic device is proposed, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the following steps: step S110, collecting power load data to form a power load data set, and normalizing the power load data to obtain the normalized power load data, which is recorded as original power load data; wherein the collected power load data is short-term power load history data; step S120, decomposing the original power load data by using the CEEMDAN decomposition algorithm to obtain multiple intrinsic mode function components of different frequencies and a residual component; step S130, classifying the multiple intrinsic mode function components of different frequencies into high-frequency component subsequences and low-frequency component subsequences ; Step S140, extracting the time series features of the high-frequency component subsequence through the LSTM prediction model; Step S150, inputting the time series feature sequence of the high-frequency component subsequence extracted by the LSTM prediction model, the k historical power load data before the prediction point in the original power load data, and the k historical power load data before the prediction point in the high-frequency component subsequence into the pre-trained ELM-CATBOOST hybrid prediction model to obtain the prediction result of the high-frequency component subsequence; Step S160, obtaining the prediction result of the low-frequency component subsequence through the second ELM prediction model; Step S170, superimposing the prediction result of the high-frequency component subsequence and the prediction result of the low-frequency component subsequence to obtain the superimposed result; Step S180, after denormalizing the superimposed result, obtain the short-term power load forecasting result based on the hybrid model.
[0133] It should be understood that in the embodiments of the present application, the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0134] It can be understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program includes program instructions, and the computer program can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the electronic device to implement the process steps of the embodiment of the above method.
[0135] Therefore, the present invention also provides a storage medium. The storage medium can be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed by the processor, the processor executes the following steps: Step S110, collect power load data, form a power load data set, and normalize the power load data to obtain the normalized power load data, which is recorded as the original power load data; wherein the collected power load data is short-term power load history data; Step S120, decompose the original power load data by using the CEEMDAN decomposition algorithm to obtain multiple intrinsic mode function components of different frequencies and a residual residual component; Step S130, classify multiple intrinsic mode function components of different frequencies into high-frequency component subsequences and low-frequency component subsequences; Step S140, extract the time series features of the high-frequency component subsequence through the LSTM prediction model; Step S150, extract the time series feature sequence of the high-frequency component subsequence extracted by the LSTM prediction model, the k historical power load data before the prediction point in the original power load data, and the k before the prediction point in the high-frequency component subsequence The historical power load data are input into the pre-trained ELM-CATBOOST hybrid prediction model to obtain the prediction results of the high-frequency component subsequence; step S160, the prediction results of the low-frequency component subsequence are obtained through the second ELM prediction model; step S170, the prediction results of the high-frequency component subsequence and the prediction results of the low-frequency component subsequence are superimposed to obtain the superimposed results; step S180, the superimposed results are denormalized to obtain the short-term power load prediction results based on the hybrid model.
[0136] The storage medium may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which are computer-readable storage media that can store program codes.
[0137] In summary, the present invention provides a short-term power load forecasting method and system based on a hybrid model, extracts the time series features of the high-frequency component subsequence through the LSTM forecasting model, and uses the ELM-CATBOOST hybrid forecasting model composed of the CATBOOST forecasting model and the first ELM forecasting model to forecast the short-term power load, and uses the CEEMDAN decomposition algorithm to decompose the non-stationary nonlinear original power load data into a number of relatively stable intrinsic mode function components with different frequencies, thereby reducing the difficulty of model prediction and improving the prediction accuracy; in addition, the LSTM forecasting model is used to extract the time series features of the high-frequency component subsequence, and the historical power load data and the original power load data of the high-frequency component subsequence are combined as the input features of the ELM-CATBOOST hybrid forecasting model, which greatly enriches the input feature dimension information, and integrates the advantages of a single model by using the ELM-CATBOOST hybrid forecasting model, which has higher robustness and accuracy, and adopts different input features and forecasting models for high- and low-frequency component subsequences, which can reduce the model complexity, save calculation overhead and improve the model prediction performance.
[0138] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0139] In the several embodiments provided by the present invention, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0140] The steps in the method of the embodiment of the present invention can be adjusted in order, merged and deleted according to actual needs. The units in the device of the embodiment of the present invention can be merged, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present invention can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for a computer device (which can be a personal computer, a terminal, or a network device, etc.) to perform all or part of the steps of the method described in the various embodiments of the present invention.
[0141] The above-described embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the present invention. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the attached claims.
Claims
1. A short-term power load forecasting method based on hybrid model, It is characterized in that The following steps are included: Create LSTM prediction model, ELM-CATBOOT hybrid prediction model and second ELM prediction model respectively, and train them; Collecting power load data to form a power load data set, and normalizing the power load data to obtain the normalized power load data, which is recorded as original power load data; The original power load data is decomposed by CEEMDAN decomposition algorithm to obtain multiple natural mode function components of different frequencies and a residual component; Classifying a plurality of intrinsic mode function components of different frequencies into a high-frequency component subsequence and a low-frequency component subsequence; Extract the time series features of high-frequency component subsequences through the LSTM prediction model; The time series feature sequence of the high-frequency component subsequence extracted by the LSTM prediction model, the k historical power load data before the prediction point in the original power load data, and the k historical power load data before the prediction point in the high-frequency component subsequence are input into the ELM-CATBOOST hybrid prediction model to obtain the prediction result of the high-frequency component subsequence; wherein the ELM-CATBOOST hybrid prediction model includes a first ELM prediction model and a CATBOOST prediction model; Obtain the prediction result of the low-frequency component subsequence through the second ELM prediction model; Superimposing the prediction result of the high-frequency component subsequence and the prediction result of the low-frequency component subsequence to obtain a superimposed result; After performing a denormalization process on the superposition result, a short-term power load forecasting result based on the hybrid model is obtained; The step is a method for extracting the time series features of the high-frequency component subsequence through the LSTM prediction model, and the specific operations include: Each high-frequency component subsequence corresponds to an LSTM prediction model. The input feature of the first LSTM layer of the LSTM prediction model is the 168 historical power load data before the prediction point in the corresponding high-frequency component subsequence. The 168 historical power load data before the prediction point in the high-frequency component subsequence are input as input features into the first LSTM layer of the LSTM prediction model to obtain the output result of the first LSTM layer; wherein, the LSTM prediction model consists of a first LSTM layer, a second LSTM layer, a Dropout layer and a Dense layer; The output result of the second LSTM layer is obtained according to the output result of the first LSTM layer, and the time series features of the high-frequency component subsequence are extracted as the LSTM prediction model; The method of obtaining the prediction result of the low-frequency component subsequence by the second ELM prediction model in the step specifically comprises: Each low-frequency component subsequence corresponds to a second ELM prediction model. The 168 historical load data before the prediction point in the low-frequency component subsequence are input as input features into the corresponding second ELM prediction model to obtain the prediction result of the low-frequency component subsequence; The steps of respectively creating an LSTM prediction model, an ELM-CATBOOT hybrid prediction model and a second ELM prediction model, and training them, include the following steps: Step S101, collecting power load data to form a power load data set, and normalizing the power load data to obtain the normalized power load data, which is recorded as original power load data; Step S102, decomposing the original power load data by using the CEEMDAN decomposition algorithm to obtain a plurality of natural mode function components of different frequencies and a residual component; Step S103, classifying a plurality of intrinsic mode function components of different frequencies into high-frequency component subsequences and low-frequency component subsequences; Step S104, creating an LSTM prediction model, an ELM-CATBOOST hybrid prediction model and a second ELM prediction model; wherein the ELM-CATBOOST hybrid prediction model includes the first ELM prediction model and the CATBOOST prediction model; Step S105, extracting the time series features of the high-frequency component subsequence through the LSTM prediction model; Step S106, input the time series feature sequence of the high-frequency component subsequence extracted by the LSTM prediction model, the k historical power load data before the prediction point in the original power load data, and the k historical power load data before the prediction point in the high-frequency component subsequence into the ELM-CATBOOST hybrid prediction model to obtain the prediction result of the high-frequency component subsequence; Step S107, obtaining the prediction result of the low-frequency component subsequence through the second ELM prediction model; Step S108, superimposing the prediction result of the high-frequency component subsequence and the prediction result of the low-frequency component subsequence to obtain a training result; Step S109, after the training results are denormalized, one or more error evaluation index evaluation models are used to compare the training results and the true results until the difference between the training results and the true results is less than a preset threshold, thereby completing the training of the LSTM prediction model, the ELM-CATBOOT hybrid prediction model and the second ELM prediction model.
2. The short-term power load forecasting method based on the hybrid model according to claim 1, It is characterized in that The steps of collecting power load data, forming a power load data set, and normalizing the power load data to obtain the normalized power load data are as follows: By formula Map each power load data in the power load data set to [0, 1] to obtain the normalized power load data x * ; where x * is the normalized power load data, i.e., the original power load data; x min 、x max are the corresponding minimum and maximum power load data in the power load data set, and x is the power load data in the power load data set.
3. The short-term power load forecasting method based on the hybrid model according to claim 1, It is characterized in that The method of decomposing the original power load data by using the CEEMDAN decomposition algorithm to obtain a plurality of intrinsic mode function components of different frequencies and a residual component includes the following steps: Step S121: Add white noises of different amplitudes that obey the normal distribution to the original power load data in sequence to construct a load sequence x to be processed. i (t) = x(t) + β 0 ω i (t); Among them, x i (t) is the power load data to be processed after adding the ith white noise to the original power load data, recorded as the load sequence to be processed, x(t) is the tth sample data in the original power load data, β 0 is the noise factor, ω i (t) is the amplitude of the white noise corresponding to the i-th processing, 1≤i≤P, P is the total number of load sequences to be processed corresponding to the original power load data after adding white noise; Step S122: Decompose the load sequence to be processed by EMD decomposition method, and obtain IMF′ based on P load sequences to be processed. 11 -IMF′ 1P Take the mean and get the first mean As the first intrinsic mode function And get the first residual sequence Step S123, define E j (·) is the jth intrinsic mode function IMF component obtained by decomposing the power load data to be processed by the EMD decomposition method. The new load sequence r is decomposed by the EMD decomposition method. 1 (t)+ε 1 E 1 (ω i (t)) is decomposed to obtain the second mean As the second intrinsic mode function And get the second residual sequence Step S124: Repeat the above steps to obtain the remaining intrinsic mode functions IMF 3 -IMF n Component, and the final remaining residual res component: Among them, 3≤k≤n, r n (t) is the remaining residual res component.
4. The short-term power load forecasting method based on the hybrid model according to claim 3, It is characterized in that In step S122, the power load data to be processed are decomposed by the EMD decomposition method, and the IMF′ obtained from the P load sequences to be processed is 11 -IMF′ 1P The method of taking the mean value includes the following steps: The first step is to find the load sequence x to be processed i (t), and use the cubic spline interpolation function to fit the load sequence x to be processed. i (t) and calculate the average value of the upper and lower envelopes The load sequence to be processed x i (t) and the average value e i (t) is subtracted to obtain the difference c i (t) = x i (t)-e i (t); where e 1i (t), e 2i (t) are the upper and lower envelopes of the load sequence to be processed corresponding to the i-th processing, e i (t) is the average value of the upper and lower envelopes of the load sequence to be processed corresponding to the i-th processing; Step 2: If the difference c i (t) is less than or equal to the preset reference value, or the number of iterations reaches the preset number of iterations, the difference c i (t) is set to IMF′ 1i Otherwise, c i (t) is used as a new load sequence to be processed, and the first step is repeated until the difference c is satisfied. i (t) is less than or equal to a preset benchmark value, or the number of iterations reaches a preset number of iterations.
5. The short-term power load forecasting method based on the hybrid model according to claim 1, It is characterized in that The method of classifying a plurality of intrinsic mode function components of different frequencies into a high-frequency component subsequence and a low-frequency component subsequence comprises: By formula The multiple intrinsic mode function components of different frequencies are classified into high-frequency component subsequences and low-frequency component subsequences; wherein, Z n represents the zero-crossing rate, n zeros represents the number of zero crossings, N represents the total length of the signal corresponding to the intrinsic mode function component, when the zero crossing rate of the intrinsic mode function component is less than 0.01, the intrinsic mode function component is recorded as a low-frequency component subsequence; when the zero crossing rate of the intrinsic mode function component is greater than or equal to 0.01, the intrinsic mode function component is recorded as a high-frequency component subsequence.
6. A short-term power load forecasting system based on a hybrid model, It is characterized in that include The model creation module is used to create the LSTM prediction module, the ELM-CATBOOT hybrid prediction model and the second ELM prediction model respectively, and train them; The acquisition module is used to collect power load data, form a power load data set, and normalize the power load data to obtain the normalized power load data, which is recorded as the original power load data; A decomposition module is used to decompose the original power load data through the CEEMDAN decomposition algorithm to obtain multiple intrinsic mode function components of different frequencies and a residual component; A component classification module, used for classifying a plurality of intrinsic mode function components of different frequencies into a high-frequency component subsequence and a low-frequency component subsequence; The time series feature extraction module is used to extract the time series features of the high-frequency component subsequence through the LSTM prediction model; The high-frequency component subsequence prediction module is used to input the time series feature sequence of the high-frequency component subsequence extracted by the LSTM prediction model, the k historical power load data before the prediction point in the original power load data, and the k historical power load data before the prediction point in the high-frequency component subsequence into the ELM-CATBOOST hybrid prediction model to obtain the prediction result of the high-frequency component subsequence; wherein the ELM-CATBOOST hybrid prediction model includes the first ELM prediction model and the CATBOOST prediction model; A low-frequency component subsequence prediction module, used for obtaining a prediction result of a low-frequency component subsequence through a second ELM prediction model; A superposition module, used for superimposing the prediction result of the high-frequency component subsequence and the prediction result of the low-frequency component subsequence to obtain a superposition result; A denormalization module, used for performing denormalization processing on the superposition result to obtain a short-term power load forecasting result based on the hybrid model; The method of extracting the time series features of the high-frequency component subsequence through the LSTM prediction model specifically comprises the following operations: Each high-frequency component subsequence corresponds to an LSTM prediction model. The input feature of the first LSTM layer of the LSTM prediction model is the 168 historical power load data before the prediction point in the corresponding high-frequency component subsequence. The 168 historical power load data before the prediction point in the high-frequency component subsequence are input as input features into the first LSTM layer of the LSTM prediction model to obtain the output result of the first LSTM layer; wherein, the LSTM prediction model consists of a first LSTM layer, a second LSTM layer, a Dropout layer and a Dense layer; The output result of the second LSTM layer is obtained according to the output result of the first LSTM layer, and the time series features of the high-frequency component subsequence are extracted as the LSTM prediction model; The method for obtaining the prediction result of the low-frequency component subsequence by using the second ELM prediction model specifically comprises: Each low-frequency component subsequence corresponds to a second ELM prediction model. The 168 historical load data before the prediction point in the low-frequency component subsequence are input as input features into the corresponding second ELM prediction model to obtain the prediction result of the low-frequency component subsequence; The method of respectively creating an LSTM prediction model, an ELM-CATBOOT hybrid prediction model and a second ELM prediction model, and training them comprises the following steps: Step S101, collecting power load data to form a power load data set, and normalizing the power load data to obtain the normalized power load data, which is recorded as original power load data; Step S102, decomposing the original power load data by using the CEEMDAN decomposition algorithm to obtain a plurality of natural mode function components of different frequencies and a residual component; Step S103, classifying a plurality of intrinsic mode function components of different frequencies into high-frequency component subsequences and low-frequency component subsequences; Step S104, creating an LSTM prediction model, an ELM-CATBOOST hybrid prediction model and a second ELM prediction model; wherein the ELM-CATBOOST hybrid prediction model includes the first ELM prediction model and the CATBOOST prediction model; Step S105, extracting the time series features of the high-frequency component subsequence through the LSTM prediction model; Step S106, input the time series feature sequence of the high-frequency component subsequence extracted by the LSTM prediction model, the k historical power load data before the prediction point in the original power load data, and the k historical power load data before the prediction point in the high-frequency component subsequence into the ELM-CATBOOST hybrid prediction model to obtain the prediction result of the high-frequency component subsequence; Step S107, obtaining the prediction result of the low-frequency component subsequence through the second ELM prediction model; Step S108, superimposing the prediction result of the high-frequency component subsequence and the prediction result of the low-frequency component subsequence to obtain a training result; Step S109, after the training results are denormalized, one or more error evaluation index evaluation models are used to compare the training results and the true results until the difference between the training results and the true results is less than a preset threshold, thereby completing the training of the LSTM prediction model, the ELM-CATBOOT hybrid prediction model and the second ELM prediction model.
