A short-term wind power forecasting method based on multi-feature fusion period enhancement

By constructing a multi-feature input set and a TCN periodic information embedding layer, combined with a multi-scale feature deep fusion module, the periodic information processing capabilities of the Informer model are enhanced, and the shortcomings of periodic features and multi-feature input in short-term wind power power prediction are solved. It achieves high accuracy and low memory consumption prediction effect, providing decision support for wind farm operations.

CN118472943BActive Publication Date: 2024-09-24HUNAN UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410916897.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2024-09-24
Estimated Expiration
2044-07-10

AI Technical Summary

Technical Problem

Existing short-term wind power power prediction methods have insufficient performance when processing periodic characteristics and multi-feature inputs of wind power sequences, and have a large computational burden, making it difficult to effectively integrate multi-scale information and complex coupling relationships of wind power power.

Method used

A method based on multi-feature fusion periodic enhancement is used to construct a multi-feature input set. Through the TCN periodic information embedding layer and multi-scale feature deep fusion module, the periodic information processing capabilities of the Informer model are enhanced, local and global features are fused, and prediction accuracy is improved. sex.

Benefits of technology

It improves the accuracy and robustness of short-term wind power power prediction, reduces model memory consumption, avoids cumulative errors caused by step-by-step reasoning, adapts to the complexity and variability of wind power power data, and provides decision support for wind farm operation and management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118472943B
    Figure CN118472943B
Patent Text Reader

Abstract

This invention discloses a short-term wind power prediction method based on multi-feature fusion and periodic enhancement, belonging to the field of wind power prediction. The method includes the following steps: selecting experimental subjects; constructing a multi-feature input set and preprocessing the data in the multi-feature input set; constructing a TCN periodic information embedding layer; developing a multi-scale feature deep fusion module; constructing and training a periodic enhancement Informer model; and evaluating the model's prediction performance. This invention improves the performance of the prediction model and reduces model memory consumption by establishing a multi-feature input set highly correlated with wind power. By establishing a TCN periodic information embedding layer and sending it to the Informer for prediction, it effectively extracts the periodic features and trends of wind power generation. This invention not only possesses high accuracy and reliability but also adapts to the complexity and variability of wind power data, providing valuable decision support for wind farm operation and management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of wind power prediction, and in particular to a short-term wind power prediction method based on multi-feature fusion periodic enhancement. Background Art

[0002] Among the most promising renewable energy sources, wind energy has become a key factor in achieving the transition to sustainable energy due to its abundant resources, minimal pollution emissions, and high cost-effectiveness. To this end, wind farms have implemented a series of measures to effectively utilize wind energy, including grid stabilization, improvement and optimization of distribution plans, and power generation plans. Among these measures, short-term wind power forecasting is an important component, providing a basis for decision-making for power system managers.

[0003] Short-term wind power forecasting can be summarized as multi-step forecasting of time series. Currently popular artificial intelligence methods mainly use recursive, direct and multi-input multi-output strategies to solve multi-step forecasting problems, which are usually limited to predicting 48 data points. For longer prediction data points, these methods face the accumulation of computational burdens, and usually only focus on the wind power information contained in the data points, while ignoring the internal connections between data points. Therefore, to improve the accuracy of short-term wind power forecasting, it is necessary to further explore advanced models or new reasoning architectures. Informer, as a variant of Transformer, solves its application in multi-step sequence prediction.

[0004] However, the research and application of Informer in wind power generation still faces some challenges: 1) Wind power series have obvious periodic characteristics, and TCN has shown good performance in processing such strong and long periodic time series data. Therefore, how to effectively enhance the periodic information and integrate it into the Informer model has become a question worth considering. 2) Faced with the high interdependence between the components of wind turbines, the numerous monitoring points, and the intricate coupling relationship between the monitoring parameters, the Informer model lacks the ability to construct a multi-feature input set that is strongly correlated with wind power. In addition, too many feature inputs usually lead to high memory consumption and model crashes. 3) The single-scale historical data in the SCADA system data contains a limited amount of features and cannot fully reflect the information and trends of the wind power time series. Therefore, it is necessary to extract features at multiple scales and fuse them to obtain more comprehensive information. Summary of the invention

[0005] In order to solve the above technical problems, the present invention provides a short-term wind power prediction method based on multi-feature fusion periodic enhancement with simple algorithm and high prediction accuracy.

[0006] The technical solution of the present invention to solve the above technical problems is: a short-term wind power prediction method based on multi-feature fusion periodic enhancement, comprising the following steps:

[0007] Step 1: Selection of experimental subjects;

[0008] Step 2: Construct a multi-feature input set and preprocess the data of the multi-feature input set;

[0009] Step 3: Construct TCN periodic information embedding layer;

[0010] Step 4: Develop a multi-scale feature deep fusion module;

[0011] Step 5: Construct a periodic enhanced Informer model based on the TCN periodic information embedding layer and the multi-scale feature deep fusion module, and train the periodic enhanced Informer model;

[0012] Step 6: Evaluate the model prediction effect.

[0013] In the above-mentioned short-term wind power prediction method based on multi-feature fusion periodic enhancement, in step 1, the experimental object used is an actual wind power data set of a wind farm equipped with a SCADA system.

[0014] In the above-mentioned short-term wind power prediction method based on multi-feature fusion period enhancement, the specific process of step 2 is as follows:

[0015] Step 2-1: Calculate the maximum mutual information coefficient between the target feature and other relevant features in the SCADA system parameter data;

[0016] Step 2-2: Screen out the relevant features whose absolute value of the maximum mutual information coefficient with the target feature is higher than the preset threshold, and include these relevant features in the multi-feature input set;

[0017] Step 2-3: Normalize the selected multi-feature input set;

[0018] The normalization process is expressed by the following formula:

[0019]

[0020] Among them, x′ represents the original sample data, x new Represents the normalized sample data, x max Represents the maximum value of the sample data, x min The minimum value of the sample data;

[0021] Step 2-4: Divide the normalized multi-feature input set into training set and test set in a ratio of 7:3.

[0022] In the above-mentioned short-term wind power prediction method based on multi-feature fusion periodic enhancement, in step 2-1, the target feature is the active power on the grid side of the inverter, and the maximum mutual information coefficient theory is used to calculate the correlation between the target feature and other features; the maximum mutual information coefficient principle is as follows:

[0023] Given a variable a = {x 1i ,x 2i ,...,x mi} and b={y1,y2,…,y m}, a and b represent the i-th related feature sequence and target feature sequence respectively; x mi represents the i-th related eigenvalue under the m-th sample, y m represents the target feature value under the mth sample, and m represents the number of samples;

[0024] The mutual information between a and b is defined as follows:

[0025]

[0026] Where p(x,y) represents the joint probability density function of a and b, p(x) and p(y) are the marginal probability density functions of a and b respectively;

[0027] After establishing different grid schemes G and dividing the finite data set D(a,b) into p segments and q segments along the X-axis and Y-axis, the maximum mutual information I * The calculation result of (D,p,q) is:

[0028] I * (D,p,q)=maxI(D| g )

[0029] Where D|g represents the distribution of the finite data set D(a,b) on the grid G, which is obtained by calculating the proportion of points in the grid G ​​in the finite data set D(a,b);

[0030] In order to facilitate the comparison and analysis of data in different units or scales, data standardization is performed:

[0031]

[0032] Among them, M(D) p,q is the normalized I * (D,p,q), min(p,q) represents the mutual information primitive;

[0033] The maximum mutual information value MIC(D) is calculated by dividing the grid with different pxq values:

[0034] MIC(D)=max p,q<B(m) [M(D)p,q ]

[0035] Where B(m) represents the upper limit of the grid division, and B(m)=m 0.6 .

[0036] In the above-mentioned short-term wind power prediction method based on multi-feature fusion periodic enhancement, in step 3, the TCN periodic information embedding layer includes three parts: scalar projection, local timestamp and global timestamp;

[0037] The scalar projection uses a TCN with three hidden layers. TCN is a temporal convolutional network. The core components of the temporal convolutional network include causal convolution, dilated convolution, and residual blocks. Among them, the causal convolution only allows the output of time t to depend on the neurons before and after time t to be convolved.

[0038] Considering that the historical information is long, under the causal constraint, the dilated convolution is introduced to expand the receptive field exponentially; the kernel of the dilated convolution skips the input samples with a fixed step size to expand the coverage; for a one-dimensional input sequence Z, the filter is f:{0,1,...,k-1}→R, and the formula of the dilated convolution operation F for the sequence element s is:

[0039]

[0040] Where f(v) represents a filter of size v, k is the filter size, d is the dilation factor, and Z s-d·v It is the multiplication of the sequence element by the element in the convolution kernel, and sd·v represents the past direction;

[0041] In addition, each layer of TCN uses a residual block for feature extraction; in each layer, the convolution filters are batch normalized and regularized by adding spatial culling after each hole causal convolution; considering the inconsistent input and output widths, an additional 1×1 convolution is used to ensure that the tensors used for element addition have consistent shapes.

[0042] In the above-mentioned short-term wind power prediction method based on multi-feature fusion period enhancement, in step 3, the multi-feature input set X i The local timestamp at time t is encoded as a fixed position in the sequence, and the calculation result P(p,j) is as follows:

[0043]

[0044] Among them, p is the position information of the variable in the sequence, j = 1, 2, ..., d model ,L x is the length of the input sequence, d model Represents the dimension of hidden layer features;

[0045] In addition, the periodic time elements of minutes, hours, days, weeks and months are extracted as global timestamps; the global timestamp encoding of time t is defined as X i Date content in;

[0046] Taking minutes as an example, the time code M(t) of time t is as follows:

[0047]

[0048] Among them, m t Represents the minute date value of time t; in order to reduce the impact of different dimensions on the contribution of the sequence, the date is uniformly normalized to the interval [-0.5, 0.5]; finally, in order to ensure the consistency of the global timestamp in dimension, a linear layer is defined to perform a linear transformation on the content encoded in the timestamp.

[0049] In the above-mentioned short-term wind power prediction method based on multi-feature fusion period enhancement, in step 4, a multi-scale feature deep fusion module is added to the encoder and the decoder, and the multi-scale feature deep fusion module includes a one-dimensional convolution and three maximum poolings of different sizes;

[0050] In order to achieve global feature fusion, a 1D-CNN bottleneck layer with a kernel of 1 is introduced; in order to achieve local feature fusion, a multi-scale pooling auxiliary network is constructed. These pathways share information with each other, thereby detecting temporal features of different scales; the minimum scale of the pooling layer is set to 3 to capture short-term local information, and the maximum scale is set to 7 to capture long-term information; finally, the combination of local multi-scale features and global features enhances the model's perception of dynamic sequence changes, thereby improving the accuracy and robustness of wind power prediction. The operation from the fth layer to the f+1th layer is given by the following formula:

[0051]

[0052] Among them, Conv1d represents the convolution operation, Maxpool represents the maximum pooling operation, K represents the Maxpool sliding window size, k1 represents the value of the window size, and ELU represents the activation function. and Respectively represent the global features and local features at time t, represents the f-th layer multi-head probabilistic sparse self-attention mechanism, Represents the f+1th layer multi-head probabilistic sparse self-attention mechanism.

[0053] In the above-mentioned short-term wind power prediction method based on multi-feature fusion periodic enhancement, in step 5, the periodic enhancement Informer model includes a TCN periodic information embedding layer, two stacked encoders and a decoder, and the encoder and the decoder include a multi-head probabilistic sparse self-attention mechanism and a multi-scale feature deep fusion module;

[0054] Self-Attention MechanismA ttn (Q, K, V) and probabilistic sparse self-attention mechanism P robAttn (Q, K, V) are defined as:

[0055]

[0056]

[0057] in, is the query vector matrix, is a sparse matrix of Q, containing only u Qs under the sparsity measurement, is the key vector matrix, is the value vector matrix, L Q represents the length of the Q matrix, L K represents the length of the K matrix, L V represents the length of the V matrix, d k Represents the dimension of the input vector, K T represents the transposed matrix of K, and softmax represents the activation function;

[0058] u=c×lnL Q

[0059] Among them, the hyperparameter c is defined as a constant sample factor;

[0060] The query vector q in row z z The sparsity of The metric is calculated as:

[0061]

[0062] Among them, max l Indicates q z and The maximum value of the product, k l represents the lth row of K, L k =1 / q′(k l / q z );

[0063] The multi-head mechanism is as follows: the model linearly projects the input X through matrices Q, K, and V; these projections are then sent to each self-preserving layer, and finally H self-preserving weight values ​​and parameter matrices W are obtained. OThe product of M, that is, the multi-head attention ultihead (Q,K,V):

[0064] M ultihead (Q,K,V)=Concat(Head1,...,Head H )W O

[0065]

[0066] in and Both are parameter matrices, Head h represents the hth self-maintaining weighted value, Concat is the connection function, N = d k / H, N represents the dimension of each attention input vector;

[0067] The output of the decoder is connected to a fully connected layer to output the prediction result;

[0068] The periodically enhanced Informer model is iteratively trained according to the training set, and the test set is tested according to the model trained in each iteration until the preset number of iterations is reached or the early stopping mechanism is triggered three times in a row because the test loss of the test set does not decrease.

[0069] In the above-mentioned short-term wind power prediction method based on multi-feature fusion periodic enhancement, in step 6, the prediction effect is quantitatively evaluated by specific evaluation indicators, including mean absolute error MAE and mean square error MSE. These two indicators are used to intuitively reflect the difference between the predicted value and the original value. When the values ​​of these two indicators are smaller, it indicates that the prediction result of the model is closer to the original value, that is, the prediction accuracy of the model is higher;

[0070]

[0071] Among them, P r and They represent the actual value and predicted value of the rth wind power respectively, and n represents the number of prediction points.

[0072] The beneficial effects of the present invention are as follows: the present invention improves the performance of the prediction model and reduces the model memory consumption by establishing a multi-feature input set that is highly correlated with wind power; by establishing a TCN periodic information embedding layer and sending it to the Informer for prediction, the periodic characteristics and trends of wind power generation are effectively extracted; by establishing a multi-scale feature deep fusion module, local multi-scale and global features are integrated, the width of the amount of information is expanded, thereby enhancing the perception of dynamic sequences; the wind power prediction target model obtained through training avoids the cumulative error caused by step-by-step reasoning, and improves the accuracy and efficiency of the prediction results. The present invention not only has high accuracy and reliability, but also can adapt to the complexity and variability of wind power data, providing valuable decision support for wind farm operation and management. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] Figure 1 It is a flow chart of the present invention.

[0074] Figure 2 It is a schematic diagram of the process of establishing and preprocessing a multi-feature input set in the present invention.

[0075] Figure 3 It is a schematic diagram of the structure of the TCN periodic information embedding layer of the present invention.

[0076] Figure 4 It is a structural schematic diagram of the multi-scale feature deep fusion module of the present invention.

[0077] Figure 5 It is a flow chart of the short-term wind power prediction with multi-feature fusion period enhancement of the present invention. DETAILED DESCRIPTION

[0078] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0079] like Figure 1 As shown, a short-term wind power prediction method based on multi-feature fusion period enhancement includes the following steps:

[0080] Step 1: Selection of experimental subjects.

[0081] The experimental object used is an actual wind power data set of a wind farm equipped with a SCADA system.

[0082] Step 2: Construct a multi-feature input set and preprocess the data of the multi-feature input set.

[0083] like Figure 2 As shown, the specific process of step 2 is:

[0084] Step 2-1: Calculate the maximum mutual information coefficient between the target feature and other relevant features in the SCADA system parameter data.

[0085] In step 2-1, the target feature is the active power on the grid side of the inverter, and the maximum mutual information coefficient theory is used to calculate the correlation between the target feature and other features; the maximum mutual information coefficient principle is as follows:

[0086] Given a variable a = {x 1i ,x 2i ,…,x mi} and b={y1,y2,…,y m}, a and b represent the i-th related feature sequence and target feature sequence respectively. mi represents the i-th related eigenvalue under the m-th sample, y m represents the target feature value under the mth sample, and m represents the number of samples;

[0087] The mutual information between a and b is defined as follows:

[0088]

[0089] Where p(x,y) represents the joint probability density function of a and b, and p(x) and p(y) are the marginal probability density functions of a and b, respectively.

[0090] After establishing different grid schemes G and dividing the finite data set D(a,b) into p segments and q segments along the X-axis and Y-axis, the maximum mutual information I * The calculation result of (D, p, q) is:

[0091] I * (D,x,y)=maxI(D| g )

[0092] Where D|g represents the distribution of the finite data set D(a,b) on the grid G, which is obtained by calculating the proportion of points in the grid solution G in the finite data set D(a,b);

[0093] In order to facilitate the comparison and analysis of data in different units or scales, data standardization is performed:

[0094]

[0095] Among them, M(D) p,q is the normalized I * (D,p,q), min(p,q) represents the mutual information primitive;

[0096] The maximum mutual information value MIC(D) is calculated by dividing the grid with different pxq values:

[0097] MIC(D)=max p,q<B(m) [M(D) p,q ]

[0098] Where B(m) represents the upper limit of the grid division, and B(m)=m 0.6 .

[0099] Step 2-2: Filter out the relevant features whose absolute value of the maximum mutual information coefficient with the target feature is higher than the preset threshold, and include these relevant features in the multi-feature input set.

[0100] Step 2-3: Normalize the selected multi-feature input set;

[0101] Since the dimensions of the target feature and the related features may be different, it is difficult to compare different parameters normally, which is not conducive to the convergence of the subsequent model. The target feature and other related features are normalized, and the normalization is expressed by the following formula:

[0102]

[0103] Among them, x′ represents the original sample data, x new Represents the normalized sample data, x max Represents the maximum value of the sample data, x min Minimum value of the sample data.

[0104] Step 2-4: Divide the normalized multi-feature input set into training set and test set in a ratio of 7:3.

[0105] Step 3: Construct the TCN periodic information embedding layer.

[0106] In order to more accurately capture the periodic changes of SCADA data, the relationship between various factors affecting wind power is comprehensively analyzed, and the TCN periodic information embedding layer is constructed, such as Figure 3 As shown in Figure 1, the TCN periodic information embedding layer includes three parts: scalar projection, local timestamp and global timestamp.

[0107] The scalar projection uses a TCN with three hidden layers. TCN is a temporal convolutional network. The core components of the temporal convolutional network include causal convolution, dilated convolution, and residual blocks. Among them, the causal convolution only allows the output of time t to depend on the neurons at time t and before being convolved.

[0108] Considering that the historical information is long, under the causal constraint, the dilated convolution is introduced to expand the receptive field exponentially. The kernel of the dilated convolution skips the input samples with a fixed step size to expand the coverage. For a one-dimensional input sequence Z, the filter is f:{0,1,...,k-1}→R, and the formula for the dilated convolution operation F of the sequence element s is:

[0109]

[0110] Where f(v) represents a filter of size v, k is the filter size, d is the dilation factor, and Z s-d·v It is the sequence element multiplied by the element in the convolution kernel, and sd·v represents the past direction.

[0111] In addition, each layer of TCN uses a residual block for feature extraction; in each layer, the convolution filters are batch normalized and regularized by adding spatial culling after each hole causal convolution; considering the inconsistent input and output widths, an additional 1×1 convolution is used to ensure that the tensors used for element addition have consistent shapes.

[0112] Multi-feature input set X i The local timestamp at time t is encoded as a fixed position in the sequence, and the calculation result P(p,j) is as follows:

[0113]

[0114] Where p is the fixed position of the variable in the sequence, j = 1, 2, ..., d model ,L x is the length of the input sequence, d model Represents the dimension of hidden layer features.

[0115] In addition, periodic time elements such as minutes, hours, days, weeks, and months are extracted as global timestamps; the global timestamp encoding of time t is defined as X i The date content in .

[0116] Taking minutes as an example, the time code M(t) of time t is as follows:

[0117]

[0118] Among them, m t Represents the minute date value of time t; in order to reduce the impact of different dimensions on the contribution of the sequence, the date is uniformly normalized to the interval [-0.5, 0.5]; finally, in order to ensure the consistency of the global timestamp in dimension, a linear layer is defined to perform a linear transformation on the content encoded in the timestamp.

[0119] Step 4: Develop a multi-scale feature deep fusion module.

[0120] A single 1D-CNN cannot capture the multi-scale temporal structural features present in SCADA data. To overcome this limitation, a multi-scale feature deep fusion module is added to the encoder and decoder instead of simply deepening the network structure. This expands the width of the network and avoids excessive resource consumption and overfitting problems. The specific structure is as follows Figure 4 As shown in Figure 2, the multi-scale feature deep fusion module includes a one-dimensional convolution and three maximum poolings of different sizes.

[0121] In order to achieve global feature fusion, a 1D-CNN bottleneck layer with a kernel of 1 is introduced; in order to achieve local feature fusion, a multi-scale pooling auxiliary network is constructed. These pathways share information with each other, thereby detecting temporal features of different scales; the minimum scale of the pooling layer is set to 3 to capture short-term local information, and the maximum scale is set to 7 to capture long-term information; finally, the combination of local multi-scale features and global features enhances the model's perception of dynamic sequence changes, thereby improving the accuracy and robustness of wind power prediction. The operation from the fth layer to the f+1th layer is given by the following formula:

[0122]

[0123] Among them, Conv1d represents the convolution operation, Maxpool represents the maximum pooling operation, K represents the Maxpool sliding window size, k1 represents the value of the window size, and ELU represents the activation function. and Respectively represent the global features and local features at time t, represents the f-th layer multi-head probabilistic sparse self-attention mechanism, Represents the f+1th layer multi-head probabilistic sparse self-attention mechanism.

[0124] Step 5: Construct a periodic enhanced Informer model based on the TCN periodic information embedding layer and the multi-scale feature deep fusion module, and train the periodic enhanced Informer model.

[0125] In step 5, the periodic enhanced Informer model includes a TCN periodic information embedding layer, two stacked encoders and a decoder, and the encoder and decoder include a multi-head probabilistic sparse self-attention mechanism and a multi-scale feature deep fusion module, such as Figure 5 shown.

[0126] The detailed steps of TCN periodic information embedding layer are described in step 3.

[0127] Self-Attention MechanismA ttn(Q, K, V) and probabilistic sparse self-attention mechanism P robAttn (Q, K, V) are defined as:

[0128]

[0129] in, is the query vector matrix, is a sparse matrix of Q, containing only u Qs under the sparsity measurement, is the key vector matrix, is the value vector matrix, L Q represents the length of the Q matrix, L K represents the length of the K matrix, L V represents the length of the V matrix, d k Represents the dimension of the input vector, K T represents the transposed matrix of K, and softmax represents the activation function.

[0130] u=c×lnL Q

[0131] Among them, the hyperparameter c is defined as a constant sample factor;

[0132] The query vector q in row z z The sparsity of The metric is calculated as:

[0133]

[0134] Among them, max l Indicates q z and The maximum value of the product, k l represents the lth row of K, L k =1 / q′(k l / q z );

[0135] The multi-head mechanism is as follows: the model linearly projects the input X through matrices Q, K, and V; these projections are then sent to each self-preserving layer, and finally H self-preserving weight values ​​and parameter matrices W are obtained. O The product of M, that is, the multi-head attention ultihead (Q,K,V):

[0136] M ultihead (Q,K,V)=Concat(Head1,...,Head H )W O

[0137]

[0138] in and Both are parameter matrices, Head h represents the hth self-maintaining weighted value, Concat is the connection function, N = d k / H, N represents the dimension of each attention input vector.

[0139] The detailed steps of the multi-scale feature deep fusion module are described in step 4.

[0140] The output of the decoder is connected to a fully connected layer to output the prediction result.

[0141] The periodic enhanced Informer model is iteratively trained according to the training set, and the test set is tested according to the model trained in each iteration until the preset number of iterations is reached or the early stopping mechanism is triggered three times in a row because the test loss of the test set does not decrease.

[0142] Step 6: Evaluate the model prediction effect.

[0143] In step 6, the prediction effect is quantitatively evaluated by specific evaluation indicators, including mean absolute error MAE and mean square error MSE, which are used to intuitively reflect the difference between the predicted value and the original value. It is worth noting that the smaller the values ​​of these two indicators are, the closer the prediction results of the model are to the original values, that is, the higher the prediction accuracy of the model is.

[0144]

[0145] Among them, P r and They represent the actual value and predicted value of the rth wind power respectively, and n represents the number of prediction points.

[0146] In order to further verify the effectiveness of the short-term wind power forecasting method of the periodically enhanced Informer model based on SCADA data in this embodiment, a specific implementation case is carried out for verification.

[0147] This embodiment includes the following steps:

[0148] 1) Selection of experimental subjects;

[0149] Specifically, a wind farm equipped with a SCADA system located in southern my country was selected as the experimental object, and its actual wind power data set was used as the experimental object. The time span of this data set covers the whole year of 2020, from January to December 2020, and the resolution of data collection is set to once every 15 minutes.

[0150] 2) Construct a multi-feature input set and preprocess the data of the multi-feature input set;

[0151] By calculating the maximum mutual information coefficient between the target feature and other related features in the SCADA parameter data, as shown in Table 1;

[0152] Table 1 MIC values ​​of relevant characteristics

[0153]

[0154] In this embodiment, the relevant features with MIC values ​​exceeding 0.8 are selected to construct a multi-feature input set, including: wheel hub speed, overspeed sensor speed detection value, generator operating frequency, generator current, generator torque, cabin weather station wind speed, variable pitch motor current, inverter INU temperature. Then, the selected multi-feature input set is normalized. Finally, the normalized multi-feature input set is divided into a training set and a test set in a ratio of 7:3.

[0155] 3) Construct TCN periodic information embedding layer.

[0156] 4) Develop a multi-scale feature deep fusion module.

[0157] 5) A periodic enhanced Informer model is constructed based on the TCN periodic information embedding layer and the multi-scale feature deep fusion module, and the periodic enhanced Informer model is trained.

[0158] 6) Evaluation of model prediction effect.

[0159] Specifically, this embodiment compares three traditional time series prediction methods, including ARIMA, GRU and LSTM. In order to further explore the performance of the present invention, several effective Transformer variants are introduced in the experiment: Reformer, Autoformer, Pyraformer and the most relevant Crossformer. Table 2 shows the error comparison results of these models, where the best error is marked in bold.

[0160] Table 2 Performance comparison of different models

[0161]

[0162] As shown in Table 2, compared with traditional methods (including LSTM and GRU), time series prediction based on Transformer shows superior performance in medium- and long-term prediction problems. When the prediction step exceeds 48 steps, the effect of traditional methods is significantly reduced. In addition to the proposed model, the ARIMA model performs best at 12 steps. The Crossformer model performs best at 24 steps. As the prediction step increases, the advantage of Informer in medium- and long-term prediction problems gradually emerges. When the step size is 48 and 96, the prediction error of Informer is the smallest. Although Autoformer achieved the best results at 196 steps, its MAE was only reduced by 0.69% and MSE was reduced by 1.84% compared with Informer, and the gap is negligible.

[0163] The performance of the proposed model is better than the baseline model. In terms of 48-step prediction, the proposed method has no obvious advantage over the Informer baseline model, with MAE only reduced by 1.9% (from 0.1740 to 0.1707) and MSE reduced by 0.86% (from 0.0465 to 0.0461). However, compared with LSTM, the MAE of the method of this embodiment is reduced by 32.02% (from 0.2511 to 0.1707) and MSE is reduced by 65.10% (from 0.1321 to 0.0461); compared with Pyraformer, the MAE of the method of this embodiment is reduced by 15.95% (from 0.2031 to 0.1707) and MSE is reduced by 29.51% (from 0.0654 to 0.0461). Therefore, although the proposed model is only slightly better than Informer in 48-step prediction, it is much better than other baseline models. In the 96-step and 192-step forecasts, the proposed method still performs well and maintains the lowest MAE and MSE, further highlighting its superior performance in short-term wind power time series forecasting.

[0164] The present invention improves the performance of the prediction model and reduces the model memory consumption by establishing a multi-feature input set that is highly correlated with wind power; by establishing a TCN periodic information embedding layer and sending it to the Informer for prediction, the periodic characteristics and trends of wind power generation are effectively extracted; by establishing a multi-scale feature deep fusion module, the local multi-scale and global features are integrated, the width of the information volume is expanded, thereby enhancing the perception of dynamic sequences; the wind power prediction target model obtained through training avoids the cumulative error caused by step-by-step reasoning, and improves the accuracy and efficiency of the prediction results. The present invention not only has high accuracy and reliability, but also can adapt to the complexity and variability of wind power data, providing valuable decision support for wind farm operation and management.

Claims

1. A short-term wind power forecasting method based on multi-feature fusion periodic enhancement, characterized in that: The following steps are involved: Step 1: Selection of experimental subjects; Step 2: Construct a multi-feature input set and preprocess the data of the multi-feature input set; Step 3: Construct TCN periodic information embedding layer; Step 4: Develop a multi-scale feature deep fusion module; Step 5: Construct a periodic enhanced Informer model based on the TCN periodic information embedding layer and the multi-scale feature deep fusion module, and train the periodic enhanced Informer model; Step 6: Model prediction effect evaluation; In step 1, the experimental object used is an actual wind power data set of a wind farm equipped with a SCADA system; The specific process of step 2 is: Step 2-1: Calculate the maximum mutual information coefficient between the target feature and other relevant features in the SCADA system parameter data; Step 2-2: Screen out the relevant features whose absolute value of the maximum mutual information coefficient with the target feature is higher than the preset threshold, and include these relevant features in the multi-feature input set; Step 2-3: Normalize the selected multi-feature input set; The normalization process is expressed by the following formula: Among them, x′ represents the original sample data, x new Represents the normalized sample data, x max Represents the maximum value of the original sample data, x min The minimum value of the original sample data; Step 2-4: Divide the normalized multi-feature input set into a training set and a test set in a ratio of 7:3; In step 2-1, the target feature is the active power on the grid side of the inverter, and the correlation between the target feature and other features is calculated using the maximum mutual information coefficient theory; the maximum mutual information coefficient principle is as follows: Given a variable a = {x 1i ,x 2i ,…,x mi } and b={y1,y2,…,y m }, a and b represent the i-th related feature sequence and target feature sequence respectively; x mi represents the i-th related eigenvalue under the m-th sample, y m represents the target feature value under the mth sample, and m represents the number of samples; The mutual information between a and b is defined as follows: Where p(x,y) represents the joint probability density function of a and b, p(x) and p(y) are the marginal probability density functions of a and b respectively; After establishing different grid schemes G and dividing the finite data set D(a,b) into p segments and q segments along the X-axis and Y-axis, the maximum mutual information I * The calculation result of (D, p, q) is: I * (D,p,q)=maxI(D| g ) Where D|g represents the distribution of the finite data set D(a,b) on the grid G, which is obtained by calculating the proportion of points in the grid solution G in the finite data set D(a,b); In order to facilitate the comparison and analysis of data in different units or scales, data standardization is performed: Among them, M(D) p,q is the normalized I * (D,p,q), min(p,q) represents the mutual information primitive; The maximum mutual information value MIC(D) is calculated by dividing the grid with different pxq values: MIC(D)=max p,q<B(m) [M(D) p,q ] Where B(m) represents the upper limit of the grid division, and B(m)=m 0.6 ; In step 3, the TCN periodic information embedding layer includes three parts: scalar projection, local timestamp and global timestamp; The scalar projection uses a TCN with three hidden layers. TCN is a temporal convolutional network. The core components of the temporal convolutional network include causal convolution, dilated convolution, and residual blocks. Among them, the causal convolution only allows the output of time t to depend on the neurons before and after time t to be convolved. Under the causal constraint, the dilated convolution is introduced to expand the receptive field exponentially. The kernel of the dilated convolution skips the input samples with a fixed step size to expand the coverage. For a one-dimensional input sequence Z, the filter is f:{0,1,...,k-1}→R. The formula of the dilated convolution operation F for the sequence element s is: Where f(v) represents a filter of size v, k is the filter size, d is the dilation factor, and Z s-d·v It is the multiplication of the sequence element by the element in the convolution kernel, and sd·v represents the past direction; In addition, each layer of TCN uses a residual block for feature extraction; in each layer, the convolution filters are batch normalized and regularized by adding spatial culling after each hole causal convolution; considering the inconsistent input and output widths, an additional 1×1 convolution is used to ensure that the tensor used for element addition has a consistent shape; In step 4, a multi-scale feature deep fusion module is added to the encoder and the decoder, and the multi-scale feature deep fusion module includes a one-dimensional convolution and three maximum poolings of different sizes; In order to achieve global feature fusion, a 1D-CNN bottleneck layer with a kernel of 1 is introduced; in order to achieve local feature fusion, a multi-scale pooling auxiliary network is constructed, which shares information with each other to detect temporal features of different scales; the minimum scale of the pooling layer is set to 3 to capture short-term local information, and the maximum scale is set to 7 to capture long-term information; finally, the combination of local multi-scale features and global features enhances the model's perception of dynamic sequence changes, thereby improving the accuracy and robustness of wind power prediction. The operation from the fth layer to the f+1th layer is given by the following formula: Among them, Conv1d represents the convolution operation, Maxpool represents the maximum pooling operation, K represents the Maxpool sliding window size, k1 represents the value of the window size, and ELU represents the activation function. and Respectively represent the global features and local features at time t, represents the f-th layer multi-head probabilistic sparse self-attention mechanism, represents the f+1th layer multi-head probabilistic sparse self-attention mechanism; In step 5, the periodic enhanced Informer model includes a TCN periodic information embedding layer, two stacked encoders and a decoder, and the encoder and the decoder include a multi-head probabilistic sparse self-attention mechanism and a multi-scale feature deep fusion module; Self-Attention MechanismA ttn (Q, K, V) and probabilistic sparse self-attention mechanism P robAttn (Q, K, V) are defined as: in, is the query vector matrix, is a sparse matrix of Q, containing only u Qs under the sparsity measurement, is the key vector matrix, is the value vector matrix, L Q represents the length of the Q matrix, L K represents the length of the K matrix, L V represents the length of the V matrix, d k Represents the dimension of the input vector, K T represents the transposed matrix of K, and softmax represents the activation function; u=c×lnL Q Among them, the hyperparameter c is defined as a constant sample factor; The query vector q in row z z The sparsity of The metric is calculated as: Among them, max l Indicates q z and The maximum value of the product, k l represents the lth row of K, L k =1 / q′(k l / q z ); The multi-head mechanism is as follows: the model linearly projects the input X through matrices Q, K, and V; these projections are then sent to each self-preserving layer, and finally H self-preserving weighted values ​​and parameter matrix W are obtained. O The product of M, that is, the multi-head attention ultihead (Q,K,V): M ultihead (Q,K,V)=Concat(Head1,...,Head H )W O in and Both are parameter matrices, Head h represents the hth self-maintaining weighted value, Concat is the connection function, N = d k / H, N represents the dimension of each attention input vector; The output of the decoder is connected to a fully connected layer to output the prediction result; The periodically enhanced Informer model is iteratively trained according to the training set, and the test set is tested according to the model trained in each iteration until the preset number of iterations is reached or the early stopping mechanism is triggered three times in a row because the test loss of the test set does not decrease.

2. The short-term wind power forecasting method based on multi-feature fusion period enhancement according to claim 1 is characterized by: In step 3, the multi-feature input set X i The local timestamp at time t is encoded as a fixed position in the sequence, and the calculation result P(p,j) is as follows: Among them, p is the position information of the variable in the sequence, j = 1, 2, ..., d model ,L x is the length of the input sequence, d model Represents the dimension of hidden layer features; In addition, the periodic time elements of minutes, hours, days, weeks and months are extracted as global timestamps; the global timestamp encoding of time t is defined as X i Date content in; Taking minutes as an example, the time code M(t) of time t is as follows: Among them, m t Represents the minute date value of time t; in order to reduce the impact of different dimensions on the contribution of the sequence, the date is uniformly normalized to the interval [-0.5, 0.5]; finally, in order to ensure the consistency of the global timestamp in dimension, a linear layer is defined to perform a linear transformation on the content encoded in the timestamp.

3. The short-term wind power forecasting method based on multi-feature fusion periodic enhancement according to claim 2 is characterized by: In step 6, the prediction effect is quantitatively evaluated by specific evaluation indicators, including mean absolute error (MAE) and mean square error (MSE). These two indicators are used to intuitively reflect the difference between the predicted value and the original value. When the values ​​of these two indicators are smaller, it indicates that the prediction result of the model is closer to the original value, that is, the prediction accuracy of the model is higher. Among them, P r and They represent the actual value and predicted value of the rth wind power respectively, and n represents the number of prediction points.