A wind power interval prediction method based on MODWT-Informer network

Through the wind power power interval forecasting method based on the MODWT-Informer network, the problem of large data demand and strong uncertainty in wind power power forecasting is solved, and more accurate and efficient wind power power forecasting is achieved. By separating the long-term trend of wind power power data and cyclical fluctuations, and expands the prediction interval through the EnbPI method to provide a credibility range.

CN118153754BActive Publication Date: 2024-09-17DALANG (SHANGHAI) INTELLIGENT TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410291474.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-14
Publication Date
2024-09-17
Estimated Expiration
2044-03-14

AI Technical Summary

Technical Problem

Existing wind power power prediction methods have problems such as large input data requirements, strong uncertainty, and inaccurate prediction results.

Method used

A wind power power interval prediction method based on the MODWT-Informer network is adopted. The original wind power data is decomposed into different subsequences through MODWT, the Informer network is used for training and prediction, and the prediction interval is expanded through the EnbPI method to achieve certainty and probability of wind power power. sexual prediction.

Benefits of technology

Effectively separate long-term trends and cyclical fluctuations, improve prediction accuracy and efficiency, reduce data complexity and noise, achieve faster and more accurate predictions, and provide a credibility range to ensure that the coverage of the prediction interval is close to the given confidence level, avoiding data segmentation and model retraining.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118153754B
    Figure CN118153754B
Patent Text Reader

Abstract

The present invention discloses a method for predicting wind power intervals based on a MODWT-Informer network, which belongs to the field of wind power output prediction, and includes the following steps: Step 1, using MODWT to decompose the original wind power data into different subsequences, and separating the long-term trend and periodicity of the original wind power data; Step 2, adding corresponding original time labels to all decomposed equal-length subsequences, and inputting different subsequences into independent Informer networks for training and prediction; Step 3, performing wavelet reconstruction on the values ​​of all subsequences predicted by the Informer network, synthesizing the original wind power data, and completing the deterministic prediction of wind power; Step 4, using the EnbPI method to expand the reconstructed wind power data into a prediction interval, and completing the probabilistic prediction of wind power. The present invention provides a method for predicting wind power intervals based on a MODWT-Informer network, which improves the accuracy and reliability of the prediction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of wind power generation output power prediction, and in particular relates to a wind power interval prediction method based on a MODWT-Informer network. Background Art

[0002] As a clean and renewable energy source, wind power generation has been rapidly developed and widely used around the world in recent years. However, wind power generation also faces many challenges, the most important of which is the volatility and uncertainty of wind energy production. These characteristics will bring many difficulties to the operation and control of the power system, such as demand response, economic dispatch, grid stability, etc. Therefore, accurately predicting wind power generation is an important means to improve the efficiency of wind energy utilization and ensure the security of the power grid. Wind power generation power forecasting can be divided into ultra-short-term, short-term, medium-term and long-term forecasts according to the different forecast time domains. Among them, short-term forecasting (from 30 minutes to 6 hours) has high value in practical applications because it can provide effective information and key guidance for power market transactions, grid dispatching and wind farm operation and maintenance. However, short-term forecasting is also a very complex and difficult task, which requires comprehensive consideration of multiple influencing factors, such as meteorological conditions, terrain characteristics, wind turbine parameters, etc. At present, wind power generation prediction methods can be mainly divided into three categories: physical methods, statistical methods and integrated methods. Physical methods simulate the operating status of wind farms and wind turbines based on meteorological models and dynamic equations, which have high physical significance, but also require a lot of input data and computing resources. The statistical method builds a mathematical model based on historical data and uses data mining and machine learning to extract the characteristics and laws in wind power data. It has high flexibility and adaptability, but also has certain limitations and uncertainties. The integrated method combines physical methods with statistical methods, taking into account both physical processes and data analysis, trying to overcome the shortcomings of each method and improve the accuracy and reliability of predictions. Summary of the invention

[0003] The purpose of the present invention is to provide a wind power interval prediction method based on MODWT-Informer network to solve the problems of large input data requirement, strong uncertainty and inaccurate prediction results in the prediction process in the prior art.

[0004] To achieve the above object, the present invention provides a wind power interval prediction method based on MODWT-Informer network, comprising the following steps:

[0005] Step 1: Use MODWT to decompose the original wind power data into different subsequences to separate the long-term trend and periodicity of the original wind power data;

[0006] Step 2: Add the corresponding original time labels to all the decomposed subsequences of equal length, and input different subsequences into independent Informer networks for training and prediction;

[0007] Step 3: Perform wavelet reconstruction on the values ​​of all subsequences predicted by the Informer network, synthesize the original wind power data, and complete the deterministic prediction of wind power;

[0008] Step 4: Use the EnbPI method to expand the reconstructed wind power data into a prediction interval to complete the probabilistic prediction of wind power.

[0009] Preferably, in step 1, the original wind power data is decomposed into different subsequences using MODWT, and the subsequences include approximate components and detail components. The approximate components of the jth layer are and detail weight The expression is as follows:

[0010] ;

[0011] in, is the original signal, and are the coefficients of the low-pass filter and the high-pass filter, respectively. is the number of decomposition layers.

[0012] Preferably, the specific process of using independent Informer networks to train and predict different subsequences in step 2 is as follows:

[0013] S201, add corresponding time tags to the subsequences, convert all data into a data set by means of a sliding window, use the values ​​of the first few time steps as input, and the value of the next time step as output, slide and expand the single input data into multi-dimensional input data corresponding to the time step, then set the proportion of the test set, and divide the overall data structure into a training set and a test set;

[0014] S202, select appropriate model parameters, including input, label, length of prediction sequence, dimension of hidden layer, number of attention heads, sampling factor, and specific parameter settings are adjusted according to data characteristics;

[0015] S203, embedding the input data into positions, including local timestamps, global timestamps, and event timestamps;

[0016] S204, sending the input data to the encoder, using the sparse probabilistic self-attention mechanism and the self-attention distillation mechanism to reduce the computational complexity and memory consumption, and extracting feature representation;

[0017] S205. Send the output and input data of the encoder to the decoder, and use the multi-head attention mechanism and the generative decoder mechanism to output the prediction result.

[0018] Preferably, the expression of the sparse probabilistic self-attention mechanism is as follows:

[0019] ;

[0020] in, represents the attention weight of the i-th query and the j-th key, Represents the sampling set of the i-th query, including itself and the index of L keys randomly selected from a uniform distribution. represents the dot product attention score function, Indicates the dimension of the key, Indicates the i-th query value query, Represents the j-th key value.

[0021] Preferably, the expression of the self-attention distillation mechanism is as follows:

[0022] ;

[0023] in, represents the input sequence, represents the output sequence after the one-dimensional convolution layer, represents the output sequence after the maximum pooling layer, The length is half.

[0024] Preferably, the generative decoder mechanism is expressed as follows:

[0025] ;

[0026] Among them, y represents the output sequence of the decoder, and its length is the same as the input sequence same, Indicates the last The elements are the final prediction output sequence. Indicates the predicted length.

[0027] Preferably, in step 3, all subsequence values ​​predicted by the Informer network are reconstructed by wavelet transform to obtain the expression of the original wind power data as follows:

[0028] ;

[0029] pass and The approximate components and detail components of each layer are reconstructed into the original signal, where: represents the reconstructed low-pass filter coefficients, represents the approximate component, represents the reconstructed low-pass filter coefficients, Indicates the detail content, represents the maximum number of decomposition levels, , Represents the nth sampling point of the signal.

[0030] Preferably, the specific process of using the EnbPI method in step 4 to expand the reconstructed wind power data into a prediction interval is as follows:

[0031] S401, resampling the training data using a bootstrap method to obtain a plurality of bootstrap samples, and using each bootstrap sample to train a base estimator to obtain an integrated estimator;

[0032] S402, using the integrated estimator to make point predictions for future time points, and recording the prediction value of each base estimator as a candidate endpoint of the prediction interval;

[0033] S403. According to the given confidence level and the distribution characteristics of historical data, appropriate upper and lower bounds are selected from the candidate endpoints to form a prediction interval.

[0034] Therefore, the present invention adopts the above-mentioned wind power interval prediction method based on MODWT-Informer network, which has the following beneficial effects:

[0035] 1) Using MODWT to decompose wind power data into subsequences of different frequencies, effectively separating long-term trends and periodic fluctuations, thereby reducing data complexity and noise and improving prediction accuracy;

[0036] 2) Using the Informer network as a deep learning model, the nonlinear and non-stationary features in wind power data are fully mined and captured, thereby achieving faster and more accurate predictions. The Informer network also has a sparse probabilistic self-attention mechanism, a self-attention distillation mechanism, and a generative decoder mechanism, which can further improve the efficiency and stability of predictions;

[0037] 3) The EnbPI method is used to expand the point prediction results into interval prediction results, comprehensively analyze the uncertainty of wind power generation, and give a credibility range to ensure that the coverage of the prediction interval is close to the given confidence level, and avoid data segmentation and model retraining, thereby improving computational efficiency and scalability.

[0038] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 It is an overall flow chart of a method for predicting wind power intervals based on a MODWT-Informer network of the present invention;

[0040] Figure 2 : is a spring deterministic prediction comparison diagram of actual value and predicted value of wind power in an embodiment of the present invention;

[0041] Figure 3 : is a summer deterministic prediction comparison diagram of the actual value and predicted value of wind power in an embodiment of the present invention;

[0042] Figure 4 : is a comparison diagram of autumn deterministic prediction of wind power actual value and predicted value in an embodiment of the present invention;

[0043] Figure 5 : is a winter deterministic prediction comparison diagram of the actual value and predicted value of wind power in an embodiment of the present invention;

[0044] Figure 6 : is a comparison diagram of the actual value and predicted value of wind power in spring probabilistic prediction in an embodiment of the present invention;

[0045] Figure 7 : is a comparison diagram of the summer probabilistic prediction of the actual value and the predicted value of wind power in an embodiment of the present invention;

[0046] Figure 8 : is a comparison diagram of the autumn probability prediction of the actual value and the predicted value of wind power in an embodiment of the present invention;

[0047] Fig. 9 : is a winter probabilistic prediction comparison diagram of the actual value and predicted value of wind power in an embodiment of the present invention;

[0048] Fig.10 This is a comparison chart of spring MAE values ​​of different models within the 15-120 minute prediction range in an embodiment of the present invention;

[0049] Fig.11 This is a comparison chart of summer MAE values ​​of different models within the 15-120 minute prediction range in an embodiment of the present invention;

[0050] Fig.12 This is a comparison chart of autumn MAE values ​​of different models within the 15-120 minute prediction range in the embodiment of the present invention;

[0051] Fig.13 This is a comparison chart of winter MAE values ​​of different models within the 15-120 minute prediction range in an embodiment of the present invention;

[0052] Fig.14 This is a comparison chart of the average MAE values ​​of different models in the four seasons within the 15-120 minute prediction range in the embodiment of the present invention. DETAILED DESCRIPTION

[0053] The following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. 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.

[0054] See also Figure 1-14 , a wind power interval prediction method based on MODWT-Informer network, comprising the following steps:

[0055] Step 1: Use MODWT (Maximal Overlap Discrete Wavelet Transform) to decompose the original wind power data into different subsequences, and separate the long-term trend and periodicity of the original wind power data. The subsequences include approximate components and detail components. The approximate components of the jth layer and detail weight The expression is as follows:

[0056] ;

[0057] in, is the original signal, and are the coefficients of the low-pass filter and the high-pass filter, respectively. To decompose the number of layers, unlike the traditional discrete wavelet transform (DWT), MODWT does not perform downsampling after each filtering, but cyclically shifts the filter. It does not require the length of the signal to be an integer power of 2, and makes each component have the same length as the original signal. This keeps the length of the signal unchanged and avoids boundary effects and phase shift problems. MODWT can also effectively process non-stationary signals and improve the time-frequency localization characteristics of the signal;

[0058] Step 2: Add the corresponding original time labels to all the decomposed subsequences of equal length, and input different subsequences into independent Informer networks for training and prediction. The specific process is as follows:

[0059] S201, add corresponding time tags to the subsequences, convert all data into a data set by means of a sliding window, use the values ​​of the first few time steps as input, and the value of the next time step as output, slide and expand the single input data into multi-dimensional input data corresponding to the time step, then set the proportion of the test set, and divide the overall data structure into a training set and a test set;

[0060] S202, select appropriate model parameters, including input, label, length of prediction sequence, dimension of hidden layer, number of attention heads, sampling factor. Since model parameters will affect the structure and performance of the model, they need to be adjusted according to data characteristics and prediction goals. For example, the length of input and prediction sequence determines how much historical data the model can use for prediction, the dimension of hidden layer determines how much information and features the model can represent, the number of attention heads determines how many different aspects and dimensions the model can focus on, and the sampling factor determines how many key attention pairs the model samples in the sparse probabilistic self-attention mechanism;

[0061] S203. Perform position embedding on the input data, including local timestamps, global timestamps, and event timestamps, to enhance timing information. Position embedding is a method of encoding position information into vectors, which can help the model understand the relative or absolute relationship between different positions in the input data. The local timestamp represents the relative position of each time point within a cycle, which can capture periodic changes in the data. The global timestamp represents the absolute position of each time point in the entire sequence, which can capture long-term trends in the data. The event timestamp indicates whether certain special events have occurred at each time point, which can capture anomalies or mutations in the data;

[0062] S204, the input data is sent to the encoder, and the sparse probabilistic self-attention mechanism and the self-attention distillation mechanism are used to reduce the computational complexity and memory consumption, and extract feature representation. The encoder is a neural network structure that converts the input data into a high-dimensional feature vector, which can learn and extract nonlinear and non-stationary features in the input data. The sparse probabilistic self-attention mechanism is a method based on probability sampling to select key attention pairs and calculate the correlation weights between them. It can reduce computational complexity and memory consumption and maintain high prediction accuracy. The expression of the sparse probabilistic self-attention mechanism is as follows:

[0063] ;

[0064] in, represents the attention weight of the i-th query and the j-th key, Represents the sampling set of the i-th query, including itself and the index of L keys randomly selected from a uniform distribution. represents the dot product attention score function, Indicates the dimension of the key, Indicates the i-th query value query, Indicates the jth key value key;

[0065] The expression of the self-attention distillation mechanism is as follows:

[0066] ;

[0067] in, represents the input sequence, represents the output sequence after the one-dimensional convolution layer, represents the output sequence after the maximum pooling layer, The length is half of;

[0068] S205. Send the output and input data of the encoder to the decoder, and use the multi-head attention mechanism and the generative decoder mechanism to output the prediction result. The decoder is a neural network structure that combines the output and input data of the encoder to generate the prediction result, which can learn and generate the future part of the input data. The multi-head attention mechanism is a method of calculating the input data and the output of the encoder through multiple different attention heads, and splicing the results together to form a richer feature representation. It can enhance the model's attention to information in different aspects and dimensions and improve the accuracy of the prediction. The parallel generative decoder mechanism is a method of generating all predicted outputs in parallel, rather than relying on the previous output step by step to generate the next output. It can improve the speed and stability of the prediction and avoid error accumulation. The expression of the generative decoder mechanism is as follows:

[0069] ;

[0070] Among them, y represents the output sequence of the decoder, and its length is the same as the input sequence same, Indicates the last The elements are the final prediction output sequence. Indicates the predicted length;

[0071] Step 3: Perform wavelet reconstruction on the values ​​of all subsequences predicted by the Informer network, synthesize the original wind power data, and complete the deterministic prediction of wind power. The specific expression is as follows:

[0072] ;

[0073] pass and The approximate components and detail components of each layer are reconstructed into the original signal, where: represents the reconstructed low-pass filter coefficients, represents the approximate component, represents the reconstructed low-pass filter coefficients, Indicates the detail content, represents the maximum number of decomposition levels, =1,2,3...J, Represents the nth sampling point of the signal. The principle of wavelet reconstruction is to use the properties of multi-resolution analysis (MRA) of MODWT to synthesize the features of the signal at different scales and frequencies, thereby restoring the original signal. Specifically, the reconstruction process can be achieved through the following steps: First, upsample the approximate components and detail components of each layer, that is, insert a zero value between each data point so that their length is restored to the length of the original signal. Then, inverse filter the approximate components and detail components of each layer, that is, use an inverse filter and Perform convolution operations on them to obtain the reconstructed approximate components and detail components. Finally, add the reconstructed approximate components and detail components of all layers to obtain the original signal;

[0074] Step 4: Use the EnbPI method to expand the reconstructed wind power data into a prediction interval to complete the probabilistic prediction of wind power. The specific process is as follows:

[0075] S401. Use the bootstrap method to resample the training data to obtain multiple bootstrap samples, and use each bootstrap sample to train a base estimator to obtain an integrated estimator. The bootstrap method is a random sampling method with replacement, which can generate multiple different samples from the original data and keep the size and distribution of the samples unchanged. The base estimator can be any regression model, such as the Informer network, which can perform point prediction on time series;

[0076] S402, use the ensemble estimator to make point predictions for future time points, and record the predicted values ​​of each base estimator as candidate endpoints of the prediction interval. The ensemble estimator is a method of weighted averaging or voting the prediction results of multiple base estimators, which can improve the accuracy and stability of the prediction. The candidate endpoints refer to the predicted values ​​of each base estimator at each time point, which constitute a possible range of a prediction interval;

[0077] S403. According to the given confidence level and the distribution characteristics of historical data, appropriate upper and lower bounds are selected from the candidate endpoints to form a prediction interval. The confidence level refers to the degree of confidence that the prediction interval covers the true value, usually at a high level such as 0.9 or 0.95. The distribution characteristics of historical data refer to a certain understanding or assumption about the distribution shape and parameters of the data, such as normal distribution, uniform distribution, etc. Based on this information, some statistical methods or algorithms can be used to determine the upper and lower bounds of the prediction interval so that the prediction interval has a higher coverage and a smaller width. The main principle of the EnbPI method is based on the conformal prediction framework, but does not require data exchangeability. It uses the diversity of ensemble estimators and the robustness of the bootstrap method to construct a prediction interval without distribution assumptions. It has the following advantages: first, it ensures that the marginal coverage and conditional coverage of the prediction interval are close to the given confidence level in the case of finite samples and approximate validity; second, it avoids data segmentation and model retraining, thereby improving computational efficiency and scalability; finally, it adapts to various regression functions and time series with strong mixed random errors.

[0078] Example

[0079] According to the method described in this article, the outlet solution concentration is estimated. The specific process is as follows:

[0080] The real offshore wind power data of a certain region in my country from January to December 2022 was selected as the data source for the implementation case. The original data is recorded every 15 minutes, totaling 35,040 records. First, the data is divided into 12 groups of data from January to December according to the month, and the resolution in each group of data is 15 minutes. In order to study the impact of seasons on the changes in wind power data, the data are summarized into four groups according to spring March-May, summer June-August, autumn September-November, winter December, January of the following year, and February of the following year, and the data are divided into 7 different resolutions according to 15 minutes, 30 minutes, 45 minutes, 60 minutes, 75 minutes, 90 minutes, and 120 minutes for experimental research. The overall process of the proposed prediction method is as follows: Figure 1As shown. First, according to step 1, the original wind power data is decomposed into subsequences of different frequencies using MODWT wavelet decomposition. According to the characteristics of the selected data, the 'db4' function is selected to decompose the original data into 4 detail signals D1, D2, D3, D4 representing periodic fluctuations and an approximate signal A1 representing the long-term trend. Then, according to step 2, a total of 5 groups of subsequences are input into the Informer network for training and prediction. After multiple adjustments, the Informer model finally sets the parameters as follows: sequence length 4; label length 2; prediction length 1; number of attention heads 4; encoder 2 layers; decoder 1 layer; model dimension 256; batch size 16; learning rate 0.0001; loss function MSE. Then, according to step 3, the 5 groups of subsequence prediction values ​​of the Informer network are reconstructed into the original wind power data. Finally, according to step 4, the EnbPI method is used to generate prediction intervals at three confidence levels of 0.9, 0.95, and 0.99, completing the probabilistic wind power prediction.

[0081] In order to further illustrate the effectiveness and feasibility of the present invention, three models, BP neural network, LSTM, and XGBoost, were used for comparative experiments. In the comparative experiment, BP neural network, as a basic machine learning algorithm, has stable prediction performance. Due to its structure of forget gate, input gate, and output gate, LSTM network often has higher prediction accuracy for time series data. As a top machine learning algorithm, XGBoost model can show very excellent performance in many prediction tasks. Therefore, these three models were selected for comparative experiments. The specific parameter settings of the three models are all automatically optimized according to the characteristics of the input data using the particle swarm algorithm to mine the maximum performance of the model.

[0082] Figure 2-5 The degree of conformity between the predicted values ​​and the true values ​​at a resolution of 1 hour in four seasons of the four models is compared. As can be seen from the figure, the curve representing the prediction model of the present invention is closer to the actual value represented by the black solid line than the other curves, which indicates that the prediction error of the prediction model of the present invention is smaller and the accuracy is higher. In addition, the curve of the prediction model of the present invention does not deviate too much from the true value at a certain point as in the XGBoost model, and the curve of the prediction model of the present invention has strong stability.

[0083] Figure 6-9 The interval coverage of the prediction model of the present invention for the original wind power data is demonstrated. It can be seen that at a resolution of 15 minutes, the prediction interval of this model can well cover the original wind power curve within a 90% confidence interval, and even when the original data fluctuates by nearly 3,000 megawatts, a small prediction error can still be maintained. Figure 10-14The mean absolute error (MAE) of the four models for four seasons data in the resolution range of 15-120 minutes is compared. It can be seen from the figure that the MAE values ​​of the four models increase with the increase of resolution. However, the MAE value of the prediction method of the present invention is always kept at the minimum, and its amplitude of change with the increase of prediction direction is also the minimum. The MAE value can always be kept below half of the MAE value of other methods.

[0084] In order to further evaluate the accuracy of the prediction model of the present invention, the mean absolute percentage error (MAPE), mean absolute error (MAE), root mean square error (RMSE), and determination coefficient (R²) of the prediction model of the present invention are compared with other prediction models, and the results are shown in Table 1.

[0085] Table 1 Comparison of prediction error indicators of four methods

[0086] ;

[0087] As can be seen from Table 1, the RMSE, MAE, MAPE, and R² indicators of the prediction model of the present invention are the smallest among all models, indicating that it has the smallest prediction error and a trend that is more consistent with the true value. In the average RMSE indicator, the prediction model of the present invention is 66.8% lower than other optimal models in the RMSE indicator. Compared with other optimal models in the MPAE indicator, it is reduced by 45.9%. In terms of the R² indicator, the model of the present invention reached more than 99%, which is 5.8% higher than other optimal models, proving that the model of the present invention shows a higher prediction performance regardless of the data set.

[0088] In order to further evaluate the accuracy of the probabilistic prediction results of the prediction model described in the present invention, the interval coverage rate (PICP), normalized average prediction interval width (PINAW) and average coverage error (ACE), and average interval score (IS) of the prediction model described in the present invention are compared with other prediction models. The formula is as follows. The comparison of interval prediction results of different models is shown in Table 2.

[0089] ;

[0090] Among them, when hour, , otherwise . and They are PICP is a measure of PI calibration with a preset confidence level. PINC is composed of Calculated from , which represents the nominal confidence level of the prediction interval.

[0091] ;

[0092] Among them, R is the range of target values ​​(used for normalization), and PINAW is used to measure the stenosis of PI.

[0093] Among them, ACE reflects the deviation between PICP and PINC, ACE=PICP-PINC.

[0094] ;

[0095] in, It is the width of the i-th PI. The smaller the IS value, the better the quality of the prediction interval.

[0096] Table 2 Comparison of interval prediction errors of three methods

[0097] ;

[0098] As can be seen in Table 2, the prediction model of the present invention can basically meet the set confidence level compared with other models, or even higher, while other models cannot meet the requirements. For example, in the prediction of 90% confidence level in spring and summer, the ACE index of the present invention has reached above 1.0. Even in the autumn prediction where the data fluctuates violently and each method performs the worst, a PICP value higher than that of other models can still be obtained, indicating a higher prediction interval coverage. In terms of the PINAW index that reflects the prediction width, it only increases a small amount compared with other models, but can raise PINC to near the confidence level. Even if other models are optimized in time, they still have a considerable gap with the set confidence level. In terms of the IS index that comprehensively considers coverage and interval width, the present invention is always lower than other models. In order to further compare the interval prediction performance of the present invention with other advanced models that apply wavelet decomposition, the interval coverage and interval width of the method are comprehensively considered, and the CRPS index of the present invention and other models is calculated, as shown in Table 3.

[0099] ;

[0100] in, represents the indicator function, if ,but The value of is 0, otherwise it is 1. This indicator considers both reliability and sharpness and is widely used in probability prediction. Given the cumulative distribution function and the value of the test sample , the value of CRPS can be calculated as above.

[0101] Table 3 Comparison of CRPS indicators

[0102] ;

[0103] It can be seen from Table 3 that, compared with the WT-BP-KDE method which also uses wavelet decomposition followed by reconstruction, the CRPS calculation results of the prediction method of the present invention are always lower within the range of 15-120 minutes, and the performance of the method of the present invention will be further improved when the prediction range is reduced. In the prediction range of 15 minutes, the index of the present invention is reduced to less than 50% of the WT-BP-KDE method, which fully demonstrates the excellent performance of the interval prediction method of the present invention.

[0104] The above results fully demonstrate that the prediction model of the present invention is superior to other deterministic or probabilistic prediction models in all aspects. The prediction model of the present invention is more accurate, more sensitive to changes in wind power data, can better track the changing trend of concentration data, and can also achieve a higher interval coverage rate for the probabilistic prediction of wind power. It is an effective wind power prediction model, and because this method has no assumptions about the data, it can also be applied to other time series data, and has good universality. Power prediction model, and because this method has no assumptions about the data, it can also be applied to other time series data. The present invention has practical application potential and provides reliable support for the sustainable growth of my country's wind power industry.

[0105] Therefore, the present invention adopts the above-mentioned wind power interval prediction method based on the MODWT-Informer network, and uses MODWT to decompose the wind power data into subsequences of different frequencies, effectively separating long-term trends and periodic fluctuations, thereby reducing the complexity and noise of the data and improving the accuracy of the prediction. The Informer network is used as a deep learning model to fully explore and capture the nonlinear and non-stationary characteristics in the wind power data, thereby achieving faster and more accurate predictions. The EnbPI method is used to expand the point prediction results to interval prediction results, comprehensively analyze the uncertainty of wind power, and give a credibility range to ensure that the coverage of the prediction interval is close to the given confidence level, and avoid data segmentation and model retraining, thereby improving computational efficiency and scalability.

[0106] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that they can still modify or replace the technical solution of the present invention with equivalents, and these modifications or equivalent replacements cannot cause the modified technical solution to deviate from the spirit and scope of the technical solution of the present invention.

Claims

1. A wind power interval prediction method based on MODWT-Informer network, characterized in that: The following steps are involved: Step 1: Use MODWT to decompose the original wind power data into different subsequences to separate the long-term trend and periodicity of the original wind power data; Step 2: Add the corresponding original time labels to all the decomposed subsequences of equal length, and input different subsequences into independent Informer networks for training and prediction; Step 3: Perform wavelet reconstruction on the values ​​of all subsequences predicted by the Informer network, synthesize the original wind power data, and complete the deterministic prediction of wind power; Step 4: Use the EnbPI method to expand the reconstructed wind power data into a prediction interval to complete the probabilistic prediction of wind power; In step 1, MODWT is used to decompose the original wind power data into different subsequences, which include approximate components and detailed components. The approximate components of the jth layer are and detail weight The expression is as follows: ; in, is the original signal, and are the coefficients of the low-pass filter and the high-pass filter, respectively. is the number of decomposition layers; The specific process of using independent Informer networks to train and predict different subsequences in step 2 is as follows: S201, add corresponding time tags to the subsequences, convert all data into a data set by means of a sliding window, use the values ​​of the first few time steps as input, and the value of the next time step as output, slide and expand the single input data into multi-dimensional input data corresponding to the time step, then set the proportion of the test set, and divide the overall data structure into a training set and a test set; S202, select model parameters, which include input, label, length of prediction sequence, dimension of hidden layer, number of attention heads, sampling factor, and specific parameter settings are adjusted according to data characteristics; S203, embedding the input data into positions, including local timestamps, global timestamps, and event timestamps; S204, sending the input data to the encoder, using the sparse probabilistic self-attention mechanism and the self-attention distillation mechanism to reduce the computational complexity and memory consumption, and extracting feature representation; S205, sending the output and input data of the encoder to the decoder, and using the multi-head attention mechanism and the generative decoder mechanism to output the prediction result; In step 3, all subsequence values ​​predicted by the Informer network are reconstructed by wavelet transform into the expression of the original wind power data as follows: ; pass and The approximate components and detail components of each layer are reconstructed into the original signal, where: represents the reconstructed low-pass filter coefficients, represents the approximate component, represents the reconstructed low-pass filter coefficients, Indicates the detail content, represents the maximum number of decomposition levels, =1,2,3...J, Represents the nth sampling point of the signal.

2. A method for predicting wind power intervals based on a MODWT-Informer network according to claim 1, characterized in that: The expression of the sparse probabilistic self-attention mechanism is as follows: ; in, represents the attention weight of the i-th query and the j-th key, Represents the sampling set of the i-th query, including itself and the index of L keys randomly selected from a uniform distribution. represents the dot product attention score function, Indicates the dimension of the key, Indicates the i-th query value query, Represents the j-th key value.

3. The method for predicting wind power intervals based on MODWT-Informer network according to claim 1 is characterized in that: The expression of the self-attention distillation mechanism is as follows: ; in, represents the input sequence, represents the output sequence after the one-dimensional convolution layer, represents the output sequence after the maximum pooling layer, The length is half.

4. The method for predicting wind power intervals based on MODWT-Informer network according to claim 1, characterized in that: The generative decoder mechanism is expressed as follows: ; Among them, y represents the output sequence of the decoder, and its length is the same as the input sequence same, Indicates the last The elements are the final prediction output sequence. Indicates the predicted length.

5. The method for predicting wind power intervals based on MODWT-Informer network according to claim 1, characterized in that: The specific process of using the EnbPI method in step 4 to expand the reconstructed wind power data into a prediction interval is as follows: S401, resampling the training data using a bootstrap method to obtain a plurality of bootstrap samples, and training a base estimator using each bootstrap sample to obtain an integrated estimator; S402, using the integrated estimator to make point predictions for future time points, and recording the prediction values ​​of each base estimator as candidate endpoints of the prediction interval; S403. According to the given confidence level and the distribution characteristics of historical data, appropriate upper and lower bounds are selected from the candidate endpoints to form a prediction interval.