Wind direction priori knowledge and multi-periodicity fused short-term wind speed prediction model
By integrating the wind direction prior knowledge and the multi-period time series matrix module in the wind speed prediction model, the spatiotemporal correlation and multi-period patterns between wind turbines are extracted, which solves the problem of under-utilization of wind direction information in the existing technology and significantly improves the wind speed. Prediction accuracy and interpretability.
Patent Information
- Application Number
- CN202410602449.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-15
- Publication Date
- 2024-08-30
AI Technical Summary
Existing technologies fail to make full use of the spatiotemporal correlation in wind direction information in wind speed prediction, making it difficult for the prediction model to learn effective airflow evolution rules, and the commonly used recurrent neural network is difficult to encode multi-period spatiotemporal information, resulting in large prediction errors.
A short-term wind speed prediction model that integrates prior knowledge of wind direction is used. Through the spatial correlation calculation module and the multi-period time series matrix module, the wind turbine characteristics and wind vector information are combined to extract the time series patterns of different periods, and the multi-scale information is combined through the decoding process. Synthesized into forecast results, incorporating prior knowledge of wind direction to improve forecast accuracy.
It effectively improves the accuracy and interpretability of wind speed prediction and reduces the impact of volatility and randomness on prediction. Experimental results show that the prediction accuracy on more than 800 virtual data points is higher than other methods.
Smart Images

Figure CN118568432A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of short-term wind speed prediction, and in particular relates to a short-term wind speed prediction model integrating wind direction priori knowledge and multi-periodicity. Background Art
[0002] Wind energy is a clean, renewable energy source that can effectively reduce the emission of greenhouse gases such as carbon dioxide, and is of great significance for protecting the environment and responding to climate change. Wind power generation is a low-cost and efficient way of generating electricity, which can provide people with cheap electricity. Therefore, wind power generation systems have an important position and role in modern society, among which wind speed prediction is crucial for wind power generation. Accurate wind speed and wind force predictions are necessary for the desired control of wind turbines, reducing uncertainty, and minimizing the probability of overload. Wind speed prediction is very important for the operation of wind power plants and power systems. It can mitigate or avoid the adverse effects of wind power plants on the power system and enhance the competitiveness of wind power plants against other power plants in the power market. Consistent wind speed predictions are relevant and must be prepared to avoid economic losses, promote the regulation of wind energy systems, and improve the operational efficiency of the industry through more reliable decision making.
[0003] Wind direction data contains the spatiotemporal dynamic information of airflow propagation. Modeling wind direction data helps to gain a deeper understanding of the evolution of airflow. In the stage of wind turbine feature extraction, existing methods only input features such as wind speed into the neural network, and the neural network learns the airflow evolution process from the wind speed information and infers the prediction results. This method does not fully explore the spatiotemporal correlation contained in the wind direction information, lacks the constraints of the prediction model on the wind direction-related prior knowledge, makes it difficult for the prediction model to learn the effective airflow evolution law, and has poor interpretability.
[0004] Wind speed data is closely related to various meteorological data such as temperature and season. The changes in meteorological data often have obvious periodicity. Some meteorological data continue to oscillate repeatedly in the short term, while other data show obvious regularity in long-term changes. Wind speed is affected by the joint influence of such meteorological variables, and the process of change shows complex multi-periodicity. Short-term information contains the law of local oscillation of wind speed, and long-term information represents the trend of overall change of wind speed. Commonly used recurrent neural networks adopt a step-by-step input strategy, which is difficult to encode spatiotemporal information that couples multiple periodic sequences.
[0005] The traditional wind speed prediction method based on convolution is difficult to characterize the trend of airflow change according to wind direction information, and it is difficult to effectively utilize the wind direction information in the input features, making it difficult for the prediction model to learn effective airflow evolution laws and the interpretability is also poor.
[0006] Methods such as recurrent neural networks and long short-term memory networks use a step-by-step iterative input-output strategy, which cannot model the multi-period characteristics in meteorological data well, affecting the representation ability of the time series prediction model, and the prediction error is large in scenarios with drastic wind speed fluctuations. Summary of the invention
[0007] The purpose of the present invention is to overcome the deficiencies of the prior art and provide a short-term wind speed prediction model that integrates prior knowledge of wind direction and multi-periodicity.
[0008] The present invention solves the technical problem by the following technical solutions:
[0009] A short-term wind speed prediction model integrating wind direction prior knowledge and multi-periodicity, characterized in that: the prediction model consists of three parts: an encoding process, a conversion process and a decoding process, each process includes L stages; the encoding process includes a spatial correlation calculation module and a downsampling module; the conversion process includes a multi-periodic time series matrix module; the decoding process includes an upsampling module;
[0010] The spatial correlation calculation module uses the characteristics of different wind turbines to interact with wind vectors, jointly calculates spatial correlation, and effectively identifies the changing patterns of wind speed under different airflow conditions; the multi-cycle timing matrix module simultaneously extracts timing patterns of different cycles and models the information interaction within and between cycles, optimizes the learning process of the prediction model for unstable wind speed timing information, and better realizes the mapping from historical data to future data.
[0011] Moreover, the prediction model uses the historical characteristic data of wind turbines within a certain range to predict the wind speed of all wind turbines within a certain time range in the future, combines the wind speed information in space into a matrix, and uses a continuous scene graph sequence to represent the spatiotemporal variation trend of wind speed and the regularity therein. According to the longitude and latitude information of the wind turbines, the meteorological data of multiple wind turbines at a certain moment are embedded in a two-dimensional grid, which is called a scene graph. After the mapping is completed, the problem can be converted into a spatiotemporal sequence prediction problem in a two-dimensional space. The input of the prediction model consists of multiple time steps, and the output is the prediction result for each wind turbine.
[0012] Moreover, the spatial correlation calculation module takes the features and wind vectors as inputs at the same time, and combines the information of the two to perform dynamic correlation calculation. The downsampling module reduces the size of the features and wind vectors at the same time to provide multi-scale information for the prediction model. The output of each stage in the encoding process will be input into the multi-cycle timing matrix module of the conversion process. The multi-cycle timing matrix module extracts the timing patterns of multiple cycles while maintaining the spatial relationship, and decouples the multi-cycle sequence to complete the prediction from historical wind speed to future wind speed; the decoding process receives the multi-scale output of the conversion process, and gradually maps the high-level abstract features to the size of the original input in different stages, and at the same time integrates the features of the upsampling module and the information of different levels of the conversion process to synthesize the multi-scale information into a prediction result for the future.
[0013] Moreover, the spatial correlation calculation module uses the wind vector-feature branch to match the wind direction information with the feature information, integrates the prior knowledge of wind direction into the calculation process of spatial correlation, and uses the feature internal branch to adaptively extract the dynamic similarity between the wind speed sequence at the wind turbine and the surrounding sequence, and finally merges the results of the two branches as output;
[0014] Wind vector - characteristic branch above the previous stage characteristic H l-1 , wind vector code VE and position code PE as input, and jointly calculate the correlation according to the characteristics of each wind turbine and the wind vector at its location, so as to introduce the prior knowledge related to wind direction into the prediction model;
[0015] For wind turbine i at time step t, the prediction model first encodes the position PE i Add wind vector code VE i,t With feature information As shown in Formula 1:
[0016]
[0017]
[0018] Predictive model use represents the influence coefficient of wind turbine j on the wind speed of wind turbine i at time step t, which is calculated by the characteristics of wind turbine j and the wind vector embedded information at wind turbine i, as shown in Formula 2:
[0019]
[0020] The modeling method of feature correlation is similar to the wind vector-feature branch. The wind vector encoding in the input is replaced with the feature and the influence coefficient is calculated. Post-calculation correlation weights And weighted feature aggregation is performed according to the influence of nearby wind turbines, as shown in Formula 3:
[0021]
[0022]
[0023]
[0024] In order to better aggregate the features calculated by the two branches, for each wind turbine, the spatial correlation calculation module merges the features calculated by the two branches at the output, as shown in Formula 4:
[0025]
[0026] Moreover, the multi-cycle timing matrix module outputs the spatial correlation calculation module. l As input, the time series data is folded according to different periods to extract the time variation patterns within and between the series periods. For different periods S = {s1, s2, ..., s k}, fold the three-dimensional data, as shown in Formula 5:
[0027]
[0028] After the folding operation, the multi-cycle timing matrix module performs three-dimensional convolution on different channels, and extracts both intra-cycle and inter-cycle timing patterns while considering nearby wind turbines, as shown in Formula 6:
[0029]
[0030] Output Contains j The changing pattern of information within a cycle, in obtaining the timing pattern information of different cycles After that, the prediction model repeats the period information for each p j times to simulate the periodic repetition characteristics of the sequence, and add the results of k different periods to aggregate the features of different periods, as shown in Formula 7:
[0031]
[0032] The advantages and beneficial effects of the present invention are:
[0033] 1. The spatial correlation calculation module of the present invention can effectively integrate the prior knowledge related to wind direction into the prediction process of the model, strengthen the model's modeling of the law of airflow changes and effectively improve the interpretability of the model.
[0034] 2. The multi-period time series matrix module of the present invention can effectively decouple subsequences with different periods in the wind speed sequence, thereby reducing the impact of volatility and randomness on wind speed prediction and better realizing the mapping from historical data to future data.
[0035] 3. The present invention has been experimented on two wind power data sets with more than 800 virtual data points. The verification results show that the prediction accuracy of the wind speed of the present invention is higher than that of other methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 It is a schematic diagram of the structure of the prediction model of the present invention;
[0037] Figure 2 It is a structural schematic diagram of the spatial correlation calculation module of the present invention;
[0038] Figure 3 It is a structural schematic diagram of the multi-cycle timing matrix module of the present invention. DETAILED DESCRIPTION
[0039] The present invention is further described in detail below through specific examples. The following examples are only illustrative and not restrictive, and the protection scope of the present invention cannot be limited thereto.
[0040] An embodiment of the present invention discloses a short-term wind speed prediction model that integrates wind direction prior knowledge and multi-periodicity. The model is a short-term wind speed prediction model that implicitly integrates wind direction prior knowledge into the calculation process and extracts timing relationships according to multiple different periods. The model is called a multi-period wind direction matrix network (MWMN). The innovation of the model lies in that the prediction model consists of three parts: an encoding process, a conversion process, and a decoding process, each of which includes L stages; the encoding process includes a spatial correlation calculation module and a down-sampling module; the conversion process includes a multi-period timing matrix module; and the decoding process includes an up-sampling module.
[0041] The spatial correlation calculation module uses the characteristics of different wind turbines to interact with wind vectors, jointly calculates spatial correlation, and effectively identifies the changing patterns of wind speed under different airflow conditions; the multi-cycle timing matrix module simultaneously extracts timing patterns of different cycles and models the information interaction within and between cycles, optimizes the learning process of the prediction model for unstable wind speed timing information, and better realizes the mapping from historical data to future data.
[0042] The prediction model uses the historical characteristic data of wind turbines within a certain range to predict the wind speed of all wind turbines within a certain time range in the future, combines the wind speed information in space into a matrix, and uses a continuous scene graph sequence to represent the spatiotemporal variation trend of wind speed and the regularity therein. According to the longitude and latitude information of the wind turbines, the meteorological data of multiple wind turbines at a certain moment are embedded into a two-dimensional grid, which is called a scene graph. After the mapping is completed, the problem can be converted into a spatiotemporal sequence prediction problem in two-dimensional space. The input of the prediction model consists of multiple time steps, and the output is the prediction result for each wind turbine.
[0043] The spatial correlation calculation module takes the features and wind vectors as inputs at the same time, and combines the information of the two to perform dynamic correlation calculation. The downsampling module reduces the size of the features and wind vectors at the same time to provide multi-scale information for the prediction model. The output of each stage in the encoding process will be input into the multi-cycle timing matrix module of the conversion process. The multi-cycle timing matrix module extracts the timing patterns of multiple cycles while maintaining the spatial relationship, and decouples the multi-cycle sequence to complete the prediction from historical wind speed to future wind speed; the decoding process receives the multi-scale output of the conversion process, and gradually maps and restores the high-level abstract features to the size of the original input in different stages. At the same time, the upsampling module features and the information of different levels of the conversion process are integrated to synthesize the multi-scale information into a prediction result for the future.
[0044] Moreover, the spatial correlation calculation module uses the wind vector-feature branch to match the wind direction information with the feature information, integrates the prior knowledge of wind direction into the calculation process of spatial correlation, and uses the feature internal branch to adaptively extract the dynamic similarity between the wind speed sequence at the wind turbine and the surrounding sequence, and finally merges the results of the two branches as output;
[0045] Wind vector - characteristic branch above the previous stage characteristic H l-1 , wind vector code VE and position code PE as input, and jointly calculate the correlation according to the characteristics of each wind turbine and the wind vector at its location, so as to introduce the prior knowledge related to wind direction into the prediction model;
[0046] For wind turbine i at time step t, the prediction model first encodes the position PE i Add wind vector code VE i,t With feature information As shown in Formula 1:
[0047]
[0048]
[0049] Predictive model use represents the influence coefficient of wind turbine j on the wind speed of wind turbine i at time step t, which is calculated by the characteristics of wind turbine j and the wind vector embedded information at wind turbine i, as shown in Formula 2:
[0050]
[0051] The modeling method of feature correlation is similar to the wind vector-feature branch. The wind vector encoding in the input is replaced with the feature and the influence coefficient is calculated. Post-calculation correlation weights And weighted feature aggregation is performed according to the influence of nearby wind turbines, as shown in Formula 3:
[0052]
[0053]
[0054]
[0055] In order to better aggregate the features calculated by the two branches, for each wind turbine, the spatial correlation calculation module merges the features calculated by the two branches at the output, as shown in Formula 4:
[0056]
[0057] Moreover, the multi-cycle timing matrix module outputs the spatial correlation calculation module. l As input, the time series data is folded according to different periods to extract the time variation patterns within and between the series periods. For different periods S = {s1, s2, ..., s k}, fold the three-dimensional data, as shown in Formula 5:
[0058]
[0059] After the folding operation, the multi-cycle timing matrix module performs three-dimensional convolution on different channels, and extracts both intra-cycle and inter-cycle timing patterns while considering nearby wind turbines, as shown in Formula 6:
[0060]
[0061] Output Contains j The changing pattern of information within a cycle, in obtaining the timing pattern information of different cycles After that, the prediction model repeats the period information for each p j times to simulate the periodic repetition characteristics of the sequence, and add the results of k different periods to aggregate the features of different periods, as shown in Formula 7:
[0062]
[0063] The present invention conducts experiments on two wind power data sets with more than 800 virtual data points, with an interval of 5 minutes, an input time step of 12 steps, and an output time step of 12 steps. Finally, the experimental results in Tables 1 to 4 are obtained. By comparison, it can be seen that the prediction accuracy of the wind speed of the present invention is higher than that of other methods.
[0064] Table 1 Prediction indicators of different models on dataset 1 with a prediction range of 30 minutes
[0065]
[0066]
[0067] Table 2 Prediction indicators of different models on dataset 1 with a prediction range of 60 minutes
[0068] Model MAE MSE MAPE <![CDATA[R 2 ]]> ConvLSTM (2015) 0.779 1.759 0.139 0.931 k-NN (2017) 1.069 3.032 0.188 0.883 RF (2017) 1.06 3.048 0.19 0.882 CNN_GRU(2020) 1.392 4.028 0.25 0.825 U_Conv(2021) 0.816 1.941 0.145 0.926 MFMS(2023) 0.888 2.063 0.159 0.918 DLinear(2023) 1.000 2.829 0.175 0.884 MWMN (Work of the Invention) 0.685 1.345 0.121 0.948
[0069] Table 3 Prediction indicators of different models on dataset 2 with a prediction range of 30 minutes
[0070] Model MAE MSE MAPE <![CDATA[R 2 ]]> ConvLSTM (2015) 0.314 0.328 0.062 0.97 k-NN (2017) 0.44 0.583 0.082 0.942 RF (2017) 0.436 0.583 0.081 0.942 CNN_GRU(2020) 0.676 1.065 0.139 0.894 U_Conv(2021) 0.322 0.326 0.064 0.97 MFMS(2023) 0.346 0.357 0.068 0.967 DLinear(2023) 0.381 0.51 0.073 0.952 MWMN (method of the present invention) 0.301 0.274 0.059 0.975
[0071] Table 4 Prediction indicators of different models on dataset 2 with a prediction range of 60 minutes
[0072] Model MAE MSE MAPE <![CDATA[R 2 ]]> ConvLSTM (2015) 0.453 0.62 0.09 0.941 k-NN (2017) 0.613 1.008 0.118 0.898 RF (2017) 0.62 1.04 0.12 0.894 CNN_GRU(2020) 0.663 1.037 0.136 0.897 U_Conv(2021) 0.461 0.645 0.092 0.94 MFMS(2023) 0.471 0.636 0.095 0.939 DLinear(2023) 0.562 0.936 0.112 0.908 MWMN (method of the present invention) 0.411 0.491 0.082 0.954
[0073] Although the embodiments and drawings of the present invention are disclosed for illustrative purposes, those skilled in the art will appreciate that various substitutions, changes and modifications are possible without departing from the spirit and scope of the present invention and the appended claims. Therefore, the scope of the present invention is not limited to the contents disclosed in the embodiments and drawings.
Claims
1. A short-term wind speed prediction model that integrates prior knowledge of wind direction and multi-periodicity, Features: The prediction model consists of three parts: encoding process, conversion process and decoding process, each process includes L stages; the encoding process includes a spatial correlation calculation module and a downsampling module; the conversion process includes a multi-cycle timing matrix module; the decoding process includes an upsampling module; The spatial correlation calculation module uses the characteristics of different wind turbines to interact with wind vectors, jointly calculates spatial correlation, and effectively identifies the changing patterns of wind speed under different airflow conditions; the multi-cycle timing matrix module simultaneously extracts timing patterns of different cycles and models the information interaction within and between cycles, optimizes the learning process of the prediction model for unstable wind speed timing information, and better realizes the mapping from historical data to future data.
2. The short-term wind speed prediction model integrating wind direction prior knowledge and multi-periodicity according to claim 1, Features: The prediction model uses the historical characteristic data of wind turbines within a certain range to predict the wind speed of all wind turbines within a certain time range in the future, combines the wind speed information in space into a matrix, and uses a continuous scene graph sequence to represent the spatiotemporal variation trend of wind speed and the regularity therein. According to the longitude and latitude information of the wind turbines, the meteorological data of multiple wind turbines at a certain moment are embedded into a two-dimensional grid, which is called a scene graph. After the mapping is completed, the problem can be converted into a spatiotemporal sequence prediction problem in two-dimensional space. The input of the prediction model consists of multiple time steps, and the output is the prediction result for each wind turbine.
3. The short-term wind speed prediction model integrating wind direction prior knowledge and multi-periodicity according to claim 1, Features: The spatial correlation calculation module takes the features and wind vectors as inputs at the same time, combines the information of the two to perform dynamic correlation calculation, and the downsampling module reduces the size of the features and wind vectors at the same time to provide multi-scale information for the prediction model. The output of each stage in the encoding process is input into the multi-cycle timing matrix module of the conversion process, and the multi-cycle timing matrix module extracts the timing patterns of multiple cycles while maintaining the spatial relationship, and decouples the multi-cycle sequence to complete the prediction from historical wind speed to future wind speed. The decoding process receives the multi-scale output of the transformation process, and gradually maps the high-level abstract features back to the size of the original input in different stages. At the same time, it integrates the upsampling module features with the information at different levels of the transformation process to synthesize the multi-scale information into future prediction results.
4. The short-term wind speed prediction model integrating wind direction prior knowledge and multi-periodicity according to claim 1, Features: The spatial correlation calculation module uses the wind vector-feature branch to match the wind direction information with the feature information, integrates the prior knowledge of wind direction into the calculation process of spatial correlation, and uses the feature internal branch to adaptively extract the dynamic similarity between the wind speed sequence at the wind turbine and the surrounding sequence, and finally merges the results of the two branches as output; Wind vector - characteristic branch above the previous stage characteristic H l-1 , wind vector code VE and position code PE as input, and jointly calculate the correlation according to the characteristics of each wind turbine and the wind vector at its location, so as to introduce the prior knowledge related to wind direction into the prediction model; For wind turbine i at time step t, the prediction model first encodes the position PE i Add wind vector code VE i,t With feature information As shown in Formula 1: Predictive model use represents the influence coefficient of wind turbine j on the wind speed of wind turbine i at time step t, which is calculated by the characteristics of wind turbine j and the wind vector embedded information at wind turbine i, as shown in Formula 2: The modeling method of feature correlation is similar to the wind vector-feature branch. The wind vector encoding in the input is replaced with the feature and the influence coefficient is calculated. Post-calculation correlation weights And weighted feature aggregation is performed according to the influence of nearby wind turbines, as shown in Formula 3: In order to better aggregate the features calculated by the two branches, for each wind turbine, the spatial correlation calculation module merges the features calculated by the two branches at the output, as shown in Formula 4:
5. The short-term wind speed prediction model integrating wind direction prior knowledge and multi-periodicity according to claim 1, Features: The multi-cycle timing matrix module outputs the spatial correlation calculation module. l As input, the time series data is folded according to different periods to extract the time variation patterns within and between the series periods. For different periods S = {s 1 ,s 2 ,…,s k }, fold the three-dimensional data, as shown in Formula 5: After the folding operation, the multi-cycle timing matrix module performs three-dimensional convolution on different channels, and extracts both intra-cycle and inter-cycle timing patterns while considering nearby wind turbines, as shown in Formula 6: Output Contains j The changing pattern of information within a cycle, in obtaining the timing pattern information of different cycles After that, the prediction model repeats the period information for each p j times to simulate the periodic repetition characteristics of the sequence, and add the results of k different periods to aggregate the features of different periods, as shown in Formula 7:
Citation Information
Cited By
A method for predicting shear wave velocity under lithological constraint based on space-time attention
CN122901940A
