Multi-wind-power-plant wind speed prediction method based on mRMR-RF and GS-LSTM

Through the mRMR-RF and GS-LSTM methods, the spatial characteristics of the wind farm are extracted and spatio-temporal feature vectors are generated, which solves the problem of insufficient wind speed prediction accuracy in the existing technology, improves the prediction accuracy of the wind farm and the stability of the power system, and achieves long-term economic benefits.

CN118690178AActive Publication Date: 2024-09-24HUBEI UNIV OF TECH

Patent Information

Application Number
CN202411168909.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2024-09-24
Estimated Expiration
2044-08-23

AI Technical Summary

Technical Problem

Existing wind speed prediction methods are difficult to capture the dynamic changes and nonlinear characteristics of wind speed, resulting in insufficient prediction accuracy and affecting the dispatch of wind farms and the stability of power systems.

Method used

A multi-wind farm wind speed prediction method based on mRMR-RF and GS-LSTM is used to select feature subsets through minimum redundancy maximum correlation random forest (mRMR-RF) to construct graph structure data, use GraphSAGE network to extract spatial features, and combine sliding The window method generates spatiotemporal feature vectors and inputs them into the LSTM model for prediction.

Benefits of technology

It improves the accuracy of wind speed prediction, reduces the threat of wind power grid connection to the stability of the power system, reduces the cost of wind energy utilization, and brings long-term positive economic impact.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690178A
    Figure CN118690178A
Patent Text Reader

Abstract

The invention relates to the technical field of wind power plant wind speed prediction, in particular to a multi-wind power plant wind speed prediction method based on mRMR-RF and GS-LSTM, and the method comprises the following steps: integrating the original data of a plurality of wind power plants into a data set, and obtaining an original data set; and calculating the score of each feature subset of the multiple wind power plants based on a random forest RF feature selection method mRMR-RF of minimum redundancy and maximum correlation mRMR. According to the multi-wind-power-plant wind speed prediction method based on the mRMR-RF and the GS-LSTM, correlation between each feature of a plurality of wind power plants and the wind speed is analyzed through a feature topological graph, spatial feature vectors are obtained based on a spatial feature extraction framework of the mRMR-RF-GraphSAGE, the spatial feature vectors at different moments are used as time sequences to be input into an LSTM model, and the wind speed of the wind power plants is predicted. Therefore, the wind speed prediction precision can be improved, the threat of wind power integration to the stability of a power system is reduced, and positive long-term influence is brought to economy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of wind speed prediction for wind farms, and in particular to a wind speed prediction method for multiple wind farms based on mRMR-RF and GS-LSTM. Background Art

[0002] Wind energy, as a green, environmentally friendly, renewable and clean energy, is crucial to mitigating climate change and building a sustainable energy system. At present, wind power generation has become an important part of global renewable energy. However, due to the high randomness and volatility of wind speed, large-scale wind power grid connection will pose a serious threat to the smooth operation of the power system. Predicting wind speed can help wind farms adjust scheduling plans in time and provide a reference for the operation and maintenance time of wind turbines. Therefore, improving the accuracy of wind speed prediction will reduce the cost of wind energy utilization and improve the efficiency of wind power generation access.

[0003] At present, wind speed prediction methods are mainly divided into physical methods, statistical methods and machine learning methods. The physical method uses numerical weather prediction models (NWP) and probability density models to correct errors. The statistical method mainly uses the difference autoregressive moving average (ARIMA) model to fit historical data, but neither of the above two methods can capture the dynamic changes and nonlinear characteristics of wind speed well. Thanks to its powerful feature extraction capabilities, machine learning methods have been widely used in the field of wind speed prediction.

[0004] In order to characterize the spatial correlation of wind power station characteristics, in recent years, the use of graph models to model spatial features has been increasingly studied. Graph neural networks use graph models to characterize the spatial relationships between nodes, and use these relationships for feature transfer and aggregation, thereby better extracting spatial features. Therefore, the wind speed prediction of multiple wind farms needs to comprehensively consider the mutual influence of the time series characteristics of each site and the spatial distribution characteristics between sites on the wind speed of the wind farm. Reasonable and efficient characterization and utilization of this spatiotemporal correlation of multiple wind farms is the key to improving the accuracy of the wind speed prediction model. Therefore, a wind speed prediction method for multiple wind farms based on mRMR-RF and GS-LSTM is proposed. Summary of the invention

[0005] 1. Technical issues to be resolved In view of the shortcomings of the prior art, the present invention provides a multi-wind farm wind speed prediction method based on mRMR-RF and GS-LSTM, which has the advantages of improving the wind speed prediction accuracy, etc., and solves the problem that the current wind speed prediction method cannot well capture the dynamic changes and nonlinear characteristics of wind speed.

[0006] (II) Technical solution In order to achieve the above-mentioned purpose of improving the accuracy of wind speed prediction, the present invention provides the following technical solution: a method for predicting wind speed of multiple wind farms based on mRMR-RF and GS-LSTM, comprising the following steps: S1. Integrate the original data of multiple wind farms into one data set to obtain the original data set. The random forest RF feature selection method mRMR-RF based on minimum redundancy and maximum relevance mRMR calculates the scores of each feature subset of multiple wind farms and selects the optimal feature subset. ; S2. Using the optimal feature subset Constructing graph structure data of multiple wind farms ; S3. Use GraphSAGE network to analyze graph structure data Perform training and generate spatial feature vectors ; S4. Spatial eigenvectors Use sliding window method to resample the time series and generate spatiotemporal feature vectors ; S5. Transform the spatiotemporal feature vector As input, the LSTM model is used for training and the spatiotemporal correlation prediction values ​​of various features of multiple wind farms are obtained.

[0007] Further, the scores of each feature subset of multiple wind farms are calculated in step S1, and the optimal feature subset is selected. The specific steps are: S1.1. Divide the historical wind speed features in the original data set into the target variable data set, and divide other features into the feature data set; S1.2. Perform data normalization on the target variable data set and the feature data set. The expression is: ; In the formula, Input data to the standardized model, is the original data, and are the minimum and maximum values ​​of the original data respectively; S1.3. Use Bootstrap Sampling to randomly extract sample data from the feature data set with replacement, and establish A decision tree, the data that will not be extracted from the original data set is out-of-bag data; S1.4. Use out-of-bag data to calculate feature importance. The error value of each decision tree is calculated for each out-of-bag data, denoted as ,right The out-of-bag data The features are randomly sorted and other features are kept unchanged. The error value is calculated and recorded as , candidate features are obtained according to the order of feature importance; Among them, the formula for calculating feature importance is: .

[0008] S1.5. Exhaustively enumerate all possible feature subsets from the candidate feature set ; S1.6. In feature subsets In the above example, the correlation between each feature and the target variable is calculated. and the redundancy between features , and obtain the feature subset score; The score calculation formula is: .

[0009] S1.7 Based on each feature subset The best feature subset is selected by sorting the scores .

[0010] Further, the correlation between each feature and the target variable is calculated as described in step S1.6 and the redundancy between features , which also includes the following sub-steps: 1) Calculate the correlation between each feature and the target variable and the mutual information between the features ; ; In the formula, yes and The joint probability distribution function of and They are and The marginal probability distribution function of , the larger the mutual information, the and The stronger the correlation between them; 2) Calculate the correlation D between each feature and the target variable: ; Calculate the redundancy between the selected features and the features to be selected : ; In the formula, represents a feature subset, represents the dimension of the feature subset, represents the target feature variable, is the mutual information between the feature and the target feature variable, is the mutual information between the remaining features except the target feature variable.

[0011] Further, the optimal feature subset is used in step S2 The specific steps to construct multi-wind farm graph structure data are: S2.1. The relationship between multiple wind farms and their characteristics is described as graph structure data G, expressed as: ; in, Used to represent the set of wind farm nodes, represents the edge set (0, 1) formed by the connections between wind farm nodes, represents the optimal feature subset of wind farm nodes, is the weighted adjacency matrix between wind farm nodes; S2.2. Based on any two wind farm nodes and The edge weights between them are used to construct a spatial weighted adjacency matrix , where the edge weight calculation expression is: ; In the formula, Represents a wind farm node and The spherical distance, represents the standard deviation of the Gaussian kernel function, is the threshold parameter; S2.3. Using the maximum mutual information coefficient MIC to construct the time-weighted adjacency matrix , whose expression is: ; In the formula, Is a node and The mutual information between them is expressed as ; is the joint probability density between nodes, is the maximum information coefficient between nodes, is the number of grids; S2.4. According to and Get the weighted adjacency matrix , whose expression is: ; in, is a weighting parameter, ranging from 0 to 1.

[0012] Further, step S3 uses The network trains graph structure data and generates spatial feature vectors The specific steps are: S3.1. First, for The target nodes of the neighbor nodes of the first layer are randomly sampled. The neighbor nodes collected by the layer are recorded as , , , the number of neighbor nodes that need to be sampled in each layer is recorded as ; S3.2. Through aggregate functions To aggregate the neighbor node information of each layer and continuously update the node information of the target node itself, the expression is: ; in, represents the edge weight between node u and its neighbor node v, Representation Node In the Layer-aggregated neighbor node features, Indicates The number of neighbor nodes collected by the layer; S3.3. The first The feature representation of the target node in the first layer is the same as that in the The aggregate features of the neighbor nodes of the layer are concatenated and used Functions and The matrix performs a nonlinear transformation on the concatenated vector and obtains , whose expression is: ;

[0013] in, is the weight matrix that GraphSAGE needs to learn, and ReLU is the nonlinear activation function; S3.4. Continuously sample and aggregate the feature vectors of adjacent nodes, and then perform iterative updates to obtain a feature vector carrying global features, namely, a spatial feature vector, which is expressed as: .

[0014] Further, in step S4, the spatial feature vector Use sliding window method to resample the time series and generate spatiotemporal feature vectors The specific steps are: S4.1. Set the time window size of the sliding window method to 24 and the step size to 1; S4.2. Sliding window extracts spatial feature vectors from t to t+23 Generate a new spatiotemporal feature vector , whose expression is: .

[0015] Further, in step S5, the spatiotemporal feature vector As input, the specific steps of using the LSTM model for training and obtaining the spatiotemporal correlation prediction values ​​of each feature of multiple wind farms are as follows: S5.1. At each moment, the LSTM unit receives and the hidden state at the previous moment The input expression is: ; S5.2. After receiving input information, each gate will operate on the input from different sources, and its activation is determined by its logic function, which is expressed as: ; S5.3. After the input of the input gate is transformed by a nonlinear function, it is superimposed with the memory cell state processed by the forget gate to form a new memory cell state. , whose expression is: ; S5.4. Memory cell status The output of the LSTM unit is formed by the operation of nonlinear functions and the dynamic control of the output gate. , whose expression is: ; .

[0016] in are bias vectors, , , and These are the parameters that LSTM needs to learn. and Represent the Sigmoid activation function and the hyperbolic tangent function respectively, represents the Hadamard product; S5.5. After a linear layer adjusts the dimension of the feature, the wind speed prediction result is finally output.

[0017] (III) Beneficial effects Compared with the prior art, the present invention provides a multi-wind farm wind speed prediction method based on mRMR-RF and GS-LSTM, which has the following beneficial effects: This multi-wind farm wind speed prediction method based on mRMR-RF and GS-LSTM analyzes the correlation between various characteristics of multiple wind farms and wind speed through feature topology graphs, obtains spatial feature vectors based on the spatial feature extraction framework of mRMR-RF-GraphSAGE, and inputs the spatial feature vectors at different times as time series into the LSTM model to obtain the wind speed prediction value of each site in the wind farm. In this way, the wind speed prediction accuracy can be improved, and the threat of wind power grid connection to the stability of the power system can be reduced, thereby bringing positive long-term impact on the economy. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 This is a schematic flow chart of a multi-wind farm wind speed prediction method based on mRMR-RF and GS-LSTM proposed in the present invention. DETAILED DESCRIPTION

[0019] The following will be combined with 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.

[0020] See also Figure 1 , a wind speed prediction method for multiple wind farms based on mRMR-RF and GS-LSTM, comprising the following steps: S1. Integrate the original data of multiple wind farms into one data set to obtain the original data set. The random forest RF feature selection method mRMR-RF based on minimum redundancy and maximum relevance mRMR calculates the scores of each feature subset of multiple wind farms and selects the optimal feature subset. ; S2. Using the optimal feature subset Constructing graph structure data of multiple wind farms ; S3. Use Networks for graph-structured data Perform training and generate spatial feature vectors ; S4. Spatial eigenvectors Use sliding window method to resample the time series and generate spatiotemporal feature vectors ; S5. Transform the spatiotemporal feature vector As input, the LSTM model is used for training and the spatiotemporal correlation prediction values ​​of various features of multiple wind farms are obtained.

[0021] In this embodiment, the raw data of multiple wind farms in step S1 include the geographical location of the wind farm, historical wind speed, forecast time, temperature, momentum flux, wind direction, mean sea level pressure, cloud cover, sensible heat flux, latent heat flux, shortwave radiation, longwave radiation, surface pressure, precipitation rate, large-scale precipitation, convective precipitation, and humidity.

[0022] In this embodiment, in step S1, the scores of each feature subset of multiple wind farms are calculated, and the optimal feature subset is selected. The specific steps are: S1.1. Divide the historical wind speed features in the original data set into the target variable data set, and divide other features into the feature data set. In case the denominator is 0 during calculation, To replace the data value of 0; S1.2. Perform data normalization on the target variable data set and the feature data set. The expression is: ; In the formula, Input data to the standardized model, is the original data, and are the minimum and maximum values ​​of the original data respectively; S1.3. Use Bootstrap Sampling to randomly extract sample data from the feature data set with replacement, and establish decision tree, the data that will not be extracted from the original data set is out-of-bag data. When the autonomous sampling method is used to extract data, if the amount of original data is Then the probability that each piece of data will not be drawn is ,when As time approaches infinity, ; S1.4. Use out-of-bag data to calculate feature importance. The error value of each decision tree is calculated for each out-of-bag data, denoted as ,right The out-of-bag data The features are randomly sorted and other features are kept unchanged. The error value is calculated and recorded as , candidate features are obtained according to the order of feature importance; Among them, the formula for calculating feature importance is: ; S1.5. Exhaustively enumerate all possible feature subsets from the candidate feature set ; S1.6. In feature subsets In the above example, the correlation between each feature and the target variable is calculated. and the redundancy between features , and obtain the feature subset score; The score calculation formula is: ; S1.7 Based on each feature subset The best feature subset is selected by sorting the scores .

[0023] In this embodiment, step S1.6 calculates the correlation between each feature and the target variable. and the redundancy between features , which also includes the following sub-steps: 1) Calculate the correlation between each feature and the target variable and the mutual information between the features ; ; In the formula, yes and The joint probability distribution function of and They are and The marginal probability distribution function of , the larger the mutual information, the and The stronger the correlation between them; 2) Calculate the correlation D between each feature and the target variable: ; Calculate the redundancy between the selected features and the features to be selected : ; In the formula, represents a feature subset, represents the dimension of the feature subset, represents the target feature variable, is the mutual information between the feature and the target feature variable, is the mutual information between the remaining features except the target feature variable.

[0024] In this embodiment, step S2 uses the optimal feature subset The specific steps to construct multi-wind farm graph structure data are: S2.1. The relationship between multiple wind farms and their characteristics is described as graph structure data G, expressed as: ; in, Used to represent the set of wind farm nodes, represents the edge set (0, 1) formed by the connections between wind farm nodes, represents the optimal feature subset of wind farm nodes, is the weighted adjacency matrix between wind farm nodes; S2.2. Based on any two wind farm nodes and The edge weights between them are used to construct a spatial weighted adjacency matrix , where the edge weight calculation expression is: ; In the formula, Represents a wind farm node and The spherical distance, represents the standard deviation of the Gaussian kernel function, is the threshold parameter; S2.3. Using the maximum mutual information coefficient MIC to construct the time-weighted adjacency matrix , whose expression is: ; In the formula, Is a node and The mutual information between them is expressed as ; is the joint probability density between nodes, is the maximum information coefficient between nodes, is the number of grids, which is generally taken as 0.6 of the total amount of data; S2.4. According to and Get the weighted adjacency matrix , whose expression is: ; in, is a weighting parameter, ranging from 0 to 1.

[0025] In this embodiment, step S3 uses The network trains graph structure data and generates spatial feature vectors The specific steps are: S3.1. First, for The target nodes of the neighbor nodes of the first layer are randomly sampled. The neighbor nodes collected by the layer are recorded as , , , the number of neighbor nodes that need to be sampled in each layer is recorded as , when sampling, if the number of neighbor nodes is less than , then the sampling method without replacement is adopted; if the number of neighbor nodes is greater than , then the sampling method with replacement is adopted; S3.2. Through aggregate functions To aggregate the neighbor node information of each layer and continuously update the node information of the target node itself, the expression is:

[0026] in, represents the edge weight between node u and its neighbor node v, Representation Node In the Layer-aggregated neighbor node features, Indicates The number of neighbor nodes collected by the layer; S3.3. The first The feature representation of the target node in the first layer is the same as that in the The aggregate features of the neighbor nodes of the layer are concatenated and used Functions and The matrix performs a nonlinear transformation on the concatenated vector and obtains , whose expression is: ; in, yes The weight matrix to be learned, is a nonlinear activation function; S3.4. Continuously sample and aggregate the feature vectors of adjacent nodes, and then perform iterative updates to obtain a feature vector carrying global features, namely, a spatial feature vector, which is expressed as: .

[0027] In this embodiment, step S4 performs spatial feature vector Use sliding window method to resample the time series and generate spatiotemporal feature vectors The specific steps are: S4.1. Set the time window size of the sliding window method to 24 and the step size to 1; S4.2. Sliding window extracts spatial feature vectors from t to t+23 Generate a new spatiotemporal feature vector , whose expression is: .

[0028] In this embodiment, step S5 converts the spatiotemporal feature vector As input, the specific steps of using the LSTM model for training and obtaining the spatiotemporal correlation prediction values ​​of each feature of multiple wind farms are as follows: S5.1. At each moment, the LSTM unit receives and the hidden state at the previous moment The input expression is: ; S5.2. After receiving input information, each gate will operate on the input from different sources, and its activation is determined by its logic function, which is expressed as: ; S5.3. After the input of the input gate is transformed by a nonlinear function, it is superimposed with the memory cell state processed by the forget gate to form a new memory cell state. , whose expression is: ; S5.4. Memory cell status The output of the LSTM unit is formed by the operation of nonlinear functions and the dynamic control of the output gate. , whose expression is: ; .

[0029] in are bias vectors, , , and These are the parameters that LSTM needs to learn. and Represent the Sigmoid activation function and the hyperbolic tangent function respectively, represents the Hadamard product; S5.5. After a linear layer adjusts the dimension of the feature, the wind speed prediction result is finally output.

[0030] Experimental example: The mean absolute error (MAE) and root mean square error (RMSE) are selected as model evaluation indicators, and their expressions are: ; ; In the formula is the actual observed value of the variable, The model outputs predicted values ​​for the variables, is the total number of data samples this time.

[0031] Data from 10 wind farms in a certain area were selected (the data span is from January 1, 2017 to November 1, 2018, about 661 days of data, where the data sampling time interval is 15 minutes, and the first 5000 rows of data for each feature data column are intercepted for experiments. The data is divided into training set, validation set and test set according to 8:1:1. In order to eliminate the gap between the value ranges of different feature data, 0-1 normalization is used to normalize the data. In order to eliminate the influence of random factors on the deep learning model, a fixed random seed is set for the above model to eliminate randomness and make the results reproducible). GCN-MLP, GAT-MLP, GS-MLP, GCN-LSTM, GAT-LSTM and MRGS-LSTM models are used for comparative experiments. The experimental results are as follows:

[0032] Among them, the MAE and RMSE error values ​​in the MRGS-LSTM model proposed in this application are the smallest, and it performs best among all prediction models. Compared with GCN-MLP, GAT-MLP and GS-MLP that do not use time series features, the MAE statistical average of MRGS-LSTM has improved by 0.4414m / s, 0.4027m / s and 0.2494m / s, and the RMSE statistical average has improved by 0.4346m / s, 0.4007m / s and 0.2133m / s, respectively. At the same time, compared with GCN-LSTM and GAT-LSTM that use other graph neural networks to extract spatial features, the MAE statistical average of MRGS-LSTM has improved by 0.3070m / s and 0.3544m / s, and the RMSE statistical average has improved by 0.2981m / s and 0.3591m / s, respectively. Moreover, the error ranges of MAE and RMSE of wind speed prediction by MRGS-LSTM are 0.0995~0.1290m / s and 0.2565~0.3190m / s, and the statistical average of the error is also significantly smaller than that of other prediction models, which proves that the proposed model MRGS-LSTM is more accurate and stable in extracting spatiotemporal features of multiple wind farms compared with other wind speed prediction models.

[0033] The beneficial effects of the present invention are as follows: the wind speed prediction method for multiple wind farms based on mRMR-RF and GS-LSTM analyzes the correlation between various characteristics of multiple wind farms and wind speed through a feature topology graph, obtains spatial feature vectors based on the spatial feature extraction framework of mRMR-RF-GraphSAGE, and inputs the spatial feature vectors at different times as time series into the LSTM model to obtain the wind speed prediction value of each site in the wind farm. In this way, the wind speed prediction accuracy can be improved, and the threat of wind power grid connection to the stability of the power system can be reduced, thereby bringing positive long-term economic impact.

[0034] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A wind speed prediction method for multiple wind farms based on mRMR-RF and GS-LSTM, It is characterized in that The following steps are involved: S1. Integrate the original data of multiple wind farms into one data set to obtain the original data set. The random forest RF feature selection method mRMR-RF based on minimum redundancy and maximum relevance mRMR calculates the scores of each feature subset of multiple wind farms and selects the optimal feature subset. ; S2. Using the optimal feature subset Constructing graph-structured data of multiple wind farms ; S3. Use GraphSAGE network to analyze graph structure data Perform training and generate spatial feature vectors ; S4. Spatial eigenvectors Use sliding window method to resample the time series and generate spatiotemporal feature vectors ; S5. Transform the spatiotemporal feature vector As input, the LSTM model is used for training and the spatiotemporal correlation prediction values ​​of various features of multiple wind farms are obtained.

2. According to claim 1, a method for predicting wind speed of multiple wind farms based on mRMR-RF and GS-LSTM, It is characterized in that Step S1 calculates the scores of each feature subset of multiple wind farms and selects the optimal feature subset. The specific steps are: S1.

1. Divide the historical wind speed features in the original data set into the target variable data set, and divide other features into the feature data set; S1.

2. Perform data normalization on the target variable data set and the feature data set. The expression is: ; In the formula, Input data to the standardized model, is the original data, and are the minimum and maximum values ​​of the original data respectively; S1.

3. Use Bootstrap Sampling to randomly extract sample data from the feature data set with replacement, and establish A decision tree, the data that will not be extracted from the original data set is out-of-bag data; S1.

4. Use out-of-bag data to calculate feature importance. The error value of each decision tree is calculated for each out-of-bag data, denoted as ,right The out-of-bag data The features are randomly sorted and other features are kept unchanged. The error value is calculated and recorded as , candidate features are obtained according to the order of feature importance; Among them, the formula for calculating feature importance is: ; S1.

5. Exhaustively enumerate all possible feature subsets from the candidate feature set ; S1.

6. In feature subsets In the above example, the correlation between each feature and the target variable is calculated. and the redundancy between features , and obtain the feature subset score; The score calculation formula is: ; S1.7 Based on each feature subset The best feature subset is selected by sorting the scores .

3. According to claim 2, a method for predicting wind speed of multiple wind farms based on mRMR-RF and GS-LSTM, It is characterized in that Step S1.6 calculates the correlation between each feature and the target variable and the redundancy between features , which also includes the following sub-steps: 1) Calculate the correlation between each feature and the target variable and the mutual information between the features ; ; In the formula, yes and The joint probability distribution function of and They are and The marginal probability distribution function of , the larger the mutual information, the and The stronger the correlation between them; 2) Calculate the correlation D between each feature and the target variable: ; Calculate the redundancy between the selected features and the features to be selected : ; In the formula, represents a feature subset, represents the dimension of the feature subset, represents the target feature variable, is the mutual information between the feature and the target feature variable, is the mutual information between the remaining features except the target feature variable.

4. According to claim 1, a method for predicting wind speed of multiple wind farms based on mRMR-RF and GS-LSTM, It is characterized in that Step S2 uses the optimal feature subset The specific steps to construct multi-wind farm graph structure data are: S2.

1. Describe the relationships between multiple wind farms and their characteristics as graph structure data , the expression is: ; in, Used to represent the set of wind farm nodes, represents the edge set (0, 1) formed by the connections between wind farm nodes, represents the optimal feature subset of wind farm nodes, is the weighted adjacency matrix between wind farm nodes; S2.

2. Based on any two wind farm nodes and The edge weights between them are used to construct a spatial weighted adjacency matrix , where the edge weight calculation expression is: ; In the formula, Represents a wind farm node and The spherical distance, represents the standard deviation of the Gaussian kernel function, is the threshold parameter; S2.

3. Using the maximum mutual information coefficient MIC to construct the time-weighted adjacency matrix , whose expression is: ; In the formula, Is a node and The mutual information between them is expressed as ; is the joint probability density between nodes, is the maximum information coefficient between nodes, is the number of grids; S2.

4. According to and Get the weighted adjacency matrix , whose expression is: ; in, is a weighting parameter, ranging from 0 to 1.

5. According to claim 4, a method for predicting wind speed of multiple wind farms based on mRMR-RF and GS-LSTM, It is characterized in that Step S3 uses the GraphSAGE network to train the graph structure data and generate a spatial feature vector The specific steps are: S3.

1. First, for The target nodes of the neighbor nodes of the first layer are randomly sampled. The neighbor nodes collected by the layer are recorded as , , , the number of neighbor nodes that need to be sampled in each layer is recorded as ; S3.

2. Through the aggregation function To aggregate the neighbor node information of each layer and continuously update the node information of the target node itself, the expression is: ; in, represents the edge weight between node u and its neighbor node v, Representation Node In the Layer-aggregated neighbor node features, Indicates The number of neighbor nodes collected by the layer; S3.

3. The first The feature representation of the target node in the first layer is The aggregate features of the neighbor nodes of the layer are concatenated and used Functions and The matrix performs a nonlinear transformation on the concatenated vector and obtains , whose expression is: ; in, yes The weight matrix to be learned, is a nonlinear activation function; S3.

4. Continuously sample and aggregate the feature vectors of adjacent nodes, and then perform iterative updates to obtain a feature vector carrying global features, namely, a spatial feature vector, which is expressed as: 。 6. According to claim 1, a method for predicting wind speed of multiple wind farms based on mRMR-RF and GS-LSTM, It is characterized in that Step S4 describes the spatial feature vector Use sliding window method to resample the time series and generate spatiotemporal feature vectors The specific steps are: S4.

1. Set the time window size of the sliding window method to 24 and the step size to 1; S4.

2. Sliding window extracts spatial feature vectors from t to t+23 Generate a new spatiotemporal feature vector , whose expression is: 。 7. The method for predicting wind speed of multiple wind farms based on mRMR-RF and GS-LSTM according to claim 6, It is characterized in that Step S5: As input, the specific steps of using the LSTM model for training and obtaining the spatiotemporal correlation prediction values ​​of each feature of multiple wind farms are as follows: S5.

1. At each moment, the LSTM unit receives and the hidden state at the previous moment The input expression is: ; S5.

2. After receiving input information, each gate will operate on the input from different sources, and its activation is determined by its logic function, which is expressed as: ; S5.

3. After the input of the input gate is transformed by a nonlinear function, it is superimposed with the memory cell state processed by the forget gate to form a new memory cell state. , whose expression is: ; S5.

4. Memory cell status The output of the LSTM unit is formed by the operation of nonlinear functions and the dynamic control of the output gate. , whose expression is: ; ; in are bias vectors, , , and These are the parameters that LSTM needs to learn. and Represent the Sigmoid activation function and the hyperbolic tangent function respectively, represents the Hadamard product; S5.

5. After a linear layer adjusts the dimension of the feature, the wind speed prediction result is finally output.

Citation Information

Patent Citations

  • Fault diagnosis method, device, equipment and medium

    CN111275135A

  • Coastal power transmission line insulator salt deposit density prediction method and system

    CN115859787A

  • Short-term wind power prediction method and device based on deviation compensation and cascade migration

    CN116760010A

  • Incoming water quantity prediction method based on multi-site spatio-temporal data fusion

    CN118114806A

  • Wind power plant power prediction method and system based on machine learning

    CN118134046A

Cited By

  • Wind speed prediction method and device, storage medium and computer program product

    CN119783901A

  • Foundation laser radar near-surface wind field modeling method and system based on data fusion

    CN121614543A