Generated power prediction method, model training method and system

By determining the correlation between meteorological data and actual power generation and combining it with deep learning models to extract and fuse features, the problem of complex nonlinear relationships and multi-variable spatio-temporal feature processing in new energy power generation power prediction is solved, and the prediction accuracy and reliability are improved. Support the stable operation of the power system.

CN118826014AActive Publication Date: 2024-10-22XI AN JIAOTONG UNIV

Patent Information

Application Number
CN202411296142.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-18
Publication Date
2024-10-22
Estimated Expiration
2044-09-18

AI Technical Summary

Technical Problem

Existing new energy power generation power prediction methods are difficult to handle complex nonlinear relationships and multi-variable spatiotemporal characteristics, resulting in limited prediction accuracy. A single structure network model cannot accurately fit the relationship between new energy power generation power and multiple variables, affecting the prediction accuracy. .

Method used

A power generation power prediction method is proposed. By obtaining meteorological data and actual power generation time series, the correlation between each variable and actual power generation is determined, the multi-dimensional time series data is reconstructed, and the power and power are extracted by combining TCN, TPA-LSTM and feature fusion modules. Characteristics of meteorological data are fully connected to improve prediction accuracy.

Benefits of technology

It effectively improves the accuracy and reliability of new energy power generation power prediction, reduces noise interference, enhances model robustness, adapts to different meteorological conditions, and supports the efficient use of new energy power generation and the stable operation of the power system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118826014A_ABST
    Figure CN118826014A_ABST
Patent Text Reader

Abstract

The invention discloses a power generation power prediction method, a model training method and a model training system, and belongs to the technical field of new energy power generation. Training the power generation power prediction model by adopting the multi-dimensional time sequence data and the actual power generation power time sequence, extracting power time sequence characteristics of the actual power generation power time sequence, and preliminarily predicting first power generation power in a future time period according to the power time sequence characteristics; according to the method, the time sequence fusion feature of the multi-dimensional time sequence data is extracted, the second generated power in the future time period is predicted, the first generated power and the second generated power are fused in the time dimension, and the final prediction result is obtained, so that the precision and reliability of new energy generated power prediction are effectively improved, and the prediction efficiency is improved. And more powerful support is provided for efficient utilization of new energy power generation and stable operation of a power system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of renewable energy power generation technology, and in particular to a power generation prediction method, a model training method and a system. Background Art

[0002] As the global demand for clean energy continues to grow, renewable energy generation (wind power, solar energy) is becoming increasingly important in the energy field. However, renewable energy generation has the characteristics of intermittency and uncertainty, which brings huge challenges to the stable operation and dispatching of the power system. Accurate prediction of renewable energy power generation is conducive to grid dispatchers to formulate reasonable power generation plans and operation methods in advance, and coordinate the peak load regulation and frequency regulation of the power system. It is of great significance to optimize the operation of the power system, improve energy utilization efficiency and ensure the safety of the power grid.

[0003] Existing renewable energy power generation prediction methods often have difficulty in dealing with complex nonlinear relationships and multivariate spatiotemporal characteristics, resulting in limited prediction accuracy. In recent years, with the rapid development of machine learning and deep learning technologies, new ideas and methods have been provided for renewable energy power generation prediction. The advantage of deep learning methods is that they can fit the complex nonlinear relationship between multiple variables and power generation data, explore the fluctuation law of renewable energy power generation in the time dimension, and improve the prediction accuracy of power generation; however, a single structure network model cannot accurately fit the relationship between multiple variables and renewable energy power generation, and the existing time series prediction model cannot deeply explore the correlation information between many variables, which directly affects the prediction accuracy of power generation. Summary of the invention

[0004] In response to the problems existing in the prior art, the present invention provides a power generation prediction method, a model training method and a system, which can accurately fit the correlation between various variables in meteorological data and actual power generation, analyze the fluctuation law of actual power generation in the time dimension, and improve the accuracy of new energy power generation prediction.

[0005] The present invention is achieved through the following technical solutions: In a first aspect, the present application proposes a training method for a power generation prediction model, comprising the following steps: Obtain the meteorological data time series and the corresponding actual power generation time series of the new energy power plant; The meteorological data time series includes meteorological data at different heights of the wind turbine, and the actual power generation time series is the actual power generation at each moment corresponding to the meteorological data time series; Determine the correlation between each variable in the meteorological data at different heights at each time and the corresponding actual power generation, obtain the variable with the highest correlation at different heights to reconstruct the meteorological data, and obtain multi-dimensional time series data of the meteorological data; The power generation prediction model is trained using the multi-dimensional time series data of meteorological data and the actual power generation time series. During the training: Extracting the power time series characteristics of the time span in the actual power generation time series, and preliminarily predicting the first power generation in the future time period according to the power time series characteristics, where the first power generation includes the power time series characteristics of the actual power generation time series; Extracting the time series fusion features of each variable in the multidimensional time series data of meteorological data, fusing the time series fusion features of each variable to obtain meteorological data features, and preliminarily predicting the second power generation in the future time period according to the meteorological data features, where the second power generation includes the meteorological data features of the multidimensional time series data; The power time series characteristics of the first power generation power and the meteorological data characteristics of the second power generation power are fully connected and fused to obtain the final prediction result.

[0006] Preferably, the meteorological data includes wind speed, wind direction, temperature, air pressure and relative humidity. The wind speed, wind direction, temperature, air pressure and relative humidity are used as variables to determine the correlation between each variable and the actual power generation.

[0007] Preferably, the reconstructing meteorological data to obtain multi-dimensional time series data of meteorological data includes: A variety of correlation analysis methods are used to perform correlation analysis on the meteorological data and actual power generation at different altitudes at each moment, determine the correlation between each variable in the meteorological data at different altitudes and the actual power generation, obtain the variables with the highest correlation between the meteorological data at different altitudes and the actual power generation, reconstruct the meteorological data at that moment according to the variables with the highest correlation to obtain multidimensional data, and construct multidimensional time series data of meteorological data according to the multidimensional data at each moment.

[0008] Preferably, the step of determining the correlation between each variable in the meteorological data at different altitudes at each time and the corresponding actual power generation power includes: A variety of correlation analysis methods are used to calculate the correlation between each variable in the meteorological data at each altitude and the actual power generation and assign weights. The weights of each variable are fused to obtain the final correlation between each variable and the actual power generation.

[0009] Preferably, the correlation analysis method includes Pearson correlation coefficient analysis method, Kendall correlation coefficient analysis method and Spearman correlation coefficient analysis method.

[0010] Preferably, the power generation prediction model includes a TCN feature extraction module, a TPA-LSTM feature extraction module and a feature fusion module; The TCN feature extraction module includes a plurality of serial TCN modules, and the actual power generation time series is used as the input of the TCN feature extraction module, and the TCN feature extraction module outputs the first power generation in the future time period; The TPA-LSTM feature extraction module includes an LSTM model and a TPA model. The multidimensional time series data is used as the input of the LSTM model. The LSTM model outputs the time series fusion features of each variable and uses them as the input of the TPA model. The TPA model outputs the second power generation in the future time period. The feature fusion module is composed of a fully connected layer, which performs full connection fusion on the first power generation predicted by the TCN feature extraction module and the first power generation to obtain the final prediction result.

[0011] In a second aspect, the present application proposes a training system for a power generation prediction model, comprising: The acquisition module is used to obtain the meteorological data time series and the corresponding actual power generation time series of the new energy power plant; The meteorological data time series includes meteorological data at different heights of the wind turbine, and the actual power generation time series is the actual power generation at each moment corresponding to the meteorological data time series; A data reconstruction module is used to determine the correlation between each variable in the meteorological data at different heights at each time and the corresponding actual power generation, obtain the variables with the highest correlation at different heights to reconstruct the meteorological data, and obtain multi-dimensional time series data of the meteorological data; The training module is used to train the power generation prediction model using the multi-dimensional time series data of meteorological data and the actual power generation time series. During training: Extracting the power time series characteristics of the time span in the actual power generation time series, and preliminarily predicting the first power generation in the future time period according to the power time series characteristics, where the first power generation includes the power time series characteristics of the actual power generation time series; Extracting the time series fusion features of each variable in the multidimensional time series data of meteorological data, fusing the time series fusion features of each variable to obtain meteorological data features, and preliminarily predicting the second power generation in the future time period according to the meteorological data features, where the second power generation includes the meteorological data features of the multidimensional time series data; The power time series characteristics of the first power generation power and the meteorological data characteristics of the second power generation power are fully connected and fused to obtain the final prediction result.

[0012] In a third aspect, the present application proposes a power generation prediction method, comprising: Get weather data for historical time periods; The meteorological data of the historical time period is input into the power generation prediction model trained by the training method of the power generation prediction model, and the power generation prediction model outputs the prediction result corresponding to the meteorological data.

[0013] In a fourth aspect, the present application proposes a power generation prediction system, characterized in that it includes: The acquisition module is used to obtain meteorological data for historical time periods; The model prediction module is used to input the meteorological data of the historical time period into the power generation prediction model trained by the training method of the power generation prediction model, and the power generation prediction model outputs the prediction result corresponding to the meteorological data.

[0014] In a fifth aspect, the present application proposes an electronic device, comprising: Memory for storing computer programs; A processor is used to implement the steps of the power generation prediction method when executing the computer program.

[0015] Compared with the prior art, the present invention has the following beneficial technical effects: The present invention provides a training method for a power generation prediction model, which analyzes the correlation between meteorological data at different altitudes and the corresponding actual power generation, reconstructs meteorological data according to the variables with the highest correlation to form multi-dimensional time series data of meteorological data, realizes dimensionality reduction processing of meteorological data, avoids introducing too many irrelevant or weakly correlated variables, and reduces noise interference; extracts the time series fusion features of each variable in the multi-dimensional time series data and fuses them to form meteorological data features to adapt to different meteorological conditions, improve the robustness of the model, reduce data redundancy, and improve the utilization efficiency of meteorological data; then adopts the fusion idea of ​​ensemble learning to fully connect and fuse the first power generation based on the preliminary prediction of the actual power generation and the second power generation based on the preliminary prediction of the meteorological data features, so that the meteorological data features are fused with the power time series features of the actual power generation in the time dimension, and analyzes the fluctuation law of the actual power generation in the time dimension to improve the accuracy of the prediction result. The method effectively improves the accuracy and reliability of the prediction of new energy power generation, and provides more powerful support for the efficient utilization of new energy power generation and the stable operation of the power system.

[0016] The present application also proposes a power generation prediction model training system, a power generation prediction method and an electronic device, which have all the advantages of the above-mentioned power generation prediction model training method. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 This is a flow chart of the power generation prediction model training method of the present invention; Figure 2 This is a schematic diagram of the power generation prediction model of the present invention; Figure 3 This is a schematic diagram of the TCN module of the present invention; Figure 4 This is the architecture diagram of the LSTM model of the present invention; Figure 5 It is the architecture diagram of the TPA model of the present invention; Figure 6 This is a training architecture diagram of the power generation prediction model of the present invention; Figure 7 This is a comparison chart of the predicted values ​​and true values ​​of each model in the next 15 minutes; Figure 8 This is a comparison chart of the predicted values ​​and true values ​​of each model in the next 30 minutes. DETAILED DESCRIPTION

[0018] The present invention will be further described in detail below in conjunction with the accompanying drawings, which are intended to explain the present invention rather than to limit it.

[0019] See also Figure 1 , a training method for a power generation prediction model comprises the following steps: Step 1: Obtain the meteorological data time series and the corresponding actual power generation time series of the new energy power plant; The meteorological data time series includes the meteorological data at the height of the wind turbine hub at each moment in the historical time period, and the meteorological data at different heights of the wind turbine. The meteorological data includes wind speed, wind direction, temperature, air pressure and relative humidity; the actual power generation time series is the actual power generation at each moment corresponding to the meteorological data time series.

[0020] Step 2: determine the correlation between each variable in the meteorological data at different heights at each time and the corresponding actual power generation, obtain the variable with the highest correlation at different heights to reconstruct the meteorological data, and obtain multidimensional time series data of the meteorological data; The meteorological data and actual power generation are preprocessed, and then a variety of correlation analysis methods are used to perform correlation analysis on the meteorological data and actual power generation at different heights at each time, determine the correlation between each variable in the meteorological data at different heights and the actual power generation, obtain the variables with the highest correlation between the meteorological data at different heights and the actual power generation, reconstruct the meteorological data at that time according to the variables with the highest correlation to obtain multidimensional data, and construct multidimensional time series data of meteorological data according to the multidimensional data at each time. The specific method is as follows: S2.1. Use the missing value filling method to interpolate the missing values ​​in the meteorological data time series and the actual power generation time series, and then normalize the obtained meteorological data time series and the actual power generation time series to form preprocessed data.

[0021] In this embodiment, the average value interpolation method is used to fill the actual power generation and meteorological data, and then normalization is performed.

[0022] S2.2, using a variety of correlation analysis methods to calculate the correlation between each variable in the meteorological data at each altitude and the actual power generation and assign weights, and fuse the weights of each variable to obtain the final correlation between each variable and the actual power generation; S2.3. The variables with the highest final correlation at different altitudes are combined into multidimensional data at that moment, and multidimensional time series data of meteorological data are constructed based on the multidimensional data at each moment.

[0023] In this embodiment, three correlation analysis methods are used to determine the correlation between each variable in the meteorological data and the actual power generation. The three correlation analysis methods are Pearson correlation coefficient analysis method (Pearson product-moment correlation coefficient, Pearson product-moment correlation coefficient), Kendall correlation coefficient analysis method (Kendall'stau coefficient, harmony coefficient) and Spearman correlation coefficient analysis method (Spearman's rank correlation coefficient, Spearman rank correlation coefficient).

[0024] The correlation calculation method of the Pearson correlation coefficient is as follows: (1) in, is the covariance between actual power generation and meteorological data, is the actual power generation, For meteorological data, is the variance of actual power generation, is the variance of the meteorological data, and , are greater than 0, is the mathematical expectation of the actual power generation, is the mathematical expectation of meteorological data, is the mathematical expectation of the product of actual power generation and meteorological data, for i The actual power generation at the moment, for i Weather data at the moment, is the mean value of actual power generation, is the mean of the meteorological data, is the total time series number of actual power generation and meteorological data, The correlation calculated for the Pearson correlation coefficient.

[0025] The correlation calculation method of the Kendall correlation coefficient is as follows: (2) in, and Respectively Independent two-dimensional random variables of the same distribution, for The probability of for The probability of for The number of time series, for The number of time series, P is the probability, The correlation calculated for the Kendall correlation coefficient.

[0026] The correlation calculation method of the Spearman correlation coefficient is as follows: (3) in, , and Respectively Independent two-dimensional random variables of the same distribution; and They are and rank; The correlation calculated for the Spearman correlation coefficient.

[0027] The Shapley Value Method was used to calculate the Shapley values ​​of each correlation, and a weight was assigned to each Shapley value to obtain the final correlation of each variable.

[0028] The calculation method of the Shapley value of the correlation is as follows: (4) in, for The corresponding Shapley value is, for The corresponding Shapley value is, for The corresponding Shapley value.

[0029] The weight calculation method of the correlation is as follows: , and Corresponding weight , and The calculation formula is shown in formula (5): (5) in, for The corresponding weight, for The corresponding weight, for The corresponding weight.

[0030] The final correlation calculation method between each variable and the actual power generation is as follows: (6) Step 3: Use multi-dimensional time series data and actual power generation time series to train the power generation prediction model. During training: Extracting the power time series characteristics of the time span in the actual power generation time series, and preliminarily predicting the first power generation in the future time period according to the power time series characteristics, where the first power generation includes the power time series characteristics of the actual power generation time series; Extracting the time series fusion features of each variable in the multidimensional time series data of meteorological data, fusing the time series fusion features of each variable to obtain meteorological data features, and preliminarily predicting the second power generation in the future time period according to the meteorological data features, where the second power generation includes the meteorological data features of the multidimensional time series data; The power time series characteristics of the first power generation power and the meteorological data characteristics of the second power generation power are fully connected and fused to obtain the final prediction result, that is, the predicted power generation power in the future time period.

[0031] It should be noted that, during the training process, the multidimensional time series data and the actual power generation time series are divided into multiple time series data segments according to a certain time series length, and the time series length adopts a fixed time series length.

[0032] The time series data segments in the multidimensional time series data m As input samples, the time series data segment of the actual power generation time series m +1 is used as the prediction result of the input sample, and the two time series data segments are input into the power generation prediction model as a three-dimensional array for training. During the prediction process, the trained power generation prediction model takes the meteorological data of the historical time period as input and the power generation of the future time period as output.

[0033] See also Figure 2 In this embodiment, the power generation prediction model is a coupled deep learning model, including a TCN feature extraction module, a TPA-LSTM feature extraction module and a feature fusion module.

[0034] The TCN feature extraction module extracts the time series data segments of the actual power generation time series m +1 Input TCN feature extraction module, by capturing the time series data segment m +1, and preliminarily predict the first power generation power at the future moment based on the power time series characteristics.

[0035] The TPA-LSTM feature extraction module converts the time series data segments of multi-dimensional time series data into m Input the TPA-LSTM feature extraction module to extract the time series fusion features of each variable in the multi-dimensional time series data, fuse the time series fusion features of each variable to obtain the meteorological data features, and preliminarily predict the second power generation power in the future time period based on the meteorological data features; The time series fusion features are seasonal and periodic time features. By extracting the time series fusion features, long-term power generation prediction can be performed more accurately.

[0036] The feature fusion module fully connects and fuses the power time series characteristics of the first power generation and the meteorological data characteristics of the second power generation to obtain the final prediction result. Since there is interaction and synergy between the power time series characteristics and the meteorological data characteristics, the two are associated and fused to reduce the uncertainty of relying solely on actual power characteristics for prediction and improve the accuracy of the final prediction result.

[0037] like Figure 3 As shown, the TCN feature extraction module includes multiple serial TCN modules (TCN, Temporal Convolutional Networks, temporal convolutional network), and the TCN module includes causal convolution and dilated convolution.

[0038] The actual power generation time series is input into the TCN feature extraction module. The TCN module uses causal convolution to learn the power time series features of the actual power generation at multiple historical moments, so as to predict and generate the first power generation that depends only on the power time series features at historical moments. Then, the dilated convolution is used to increase the step size between two connected nodes while maintaining the number of connected nodes unchanged, and the scale of the convolution kernel is expanded to obtain a wider receptive field and capture a wider range of power time series features in the actual power generation time series. Finally, in order to prevent information loss during the deep network transmission process, the power time series features extracted by two adjacent TCN modules are subjected to 1x1 convolution residual connection operations, and weight normalization, ReLU activation and random inactivation operations are performed between all adjacent layers with expansion coefficients greater than 1 to obtain the power time series features of the actual power generation time series, and the first power generation power in the future time period is preliminarily predicted based on the power time series features.

[0039] Power timing characteristics of TCN feature extraction module The expression is as follows: (7) in, s is the number of TCN modules, is the convolution kernel size, is the expansion coefficient, For the convolution kernels, For the i The input value of each TCN module, , , is the number of hidden layers, For the receptive field.

[0040] See also Figure 4 and Figure 5 The TPA-LSTM feature extraction module includes the LSTM model (LSTM, Long Short-Term Memory) and the TPA model (TPA, Temporal pattern attention). The multi-dimensional time series data is used as the input of the LSTM model, and the output of the LSTM model is used as the input of the TPA model.

[0041] See again Figure 4 , input the multi-dimensional data at each moment into the LSTM model, thereby capturing the time series fusion characteristics of each variable at different moments. For example, the LSTM model captures The time series characteristics of each variable at different times before the moment , the time series characteristics of each variable Respectively with the current weather data The corresponding variables in the residual connection are connected to make the time series characteristics of each variable With current weather data The corresponding variables in the fusion function are combined to obtain more representative time series fusion features of each variable. , repeat the above operation and calculate , , The time series fusion characteristics of each variable at different times before each moment , , .

[0042] Corresponding to Figure 4 middle, for The time series characteristics of each variable at different times before the moment, for Weather data at the moment, for The time series characteristics of each variable at different times before the moment, To include The time series fusion characteristics of each variable at different times before the moment, for Weather data at the moment, for The time series characteristics of each variable at different times before the moment, To include The time series fusion characteristics of each variable at different times before the moment.

[0043] The calculation formula of time series fusion features is as follows: (8) in, for The weight of for The weight of To include The time series fusion characteristics of each variable at different times before the moment.

[0044] See also Figure 5 , the TPA model obtains the LSTM model including The time series fusion characteristics of each variable before the moment are combined and analyzed to analyze the impact of the time series fusion characteristics of different variables on the second power generation.

[0045] First, the length of the fusion feature of each variable is selected as ( ) Time series fusion features of time length.

[0046] Secondly, the variables in the time series fusion feature of the selected length are integrated to obtain the time series fusion feature of length 2 l The comprehensive characteristics of each variable , is the number of variables, then, the duration 2 l The comprehensive characteristics of each variable Input the attention module, use three one-dimensional convolutions, convolution 1, convolution 2, and convolution 3, to extract the feature matrix of each variable at each moment, multiply the feature matrix extracted by convolution 1 and convolution 2 and normalize them to obtain the attention weight of each variable , multiply the attention weight of each variable by the corresponding feature matrix extracted by convolution 3, and then add and fuse the features of each variable output to obtain the meteorological data features that can represent all variables , the meteorological data characteristics at each moment After fusion through the fully connected layer, the second power generation is obtained.

[0047] Corresponding to Figure 5 middle, Duration 2 l The comprehensive characteristics of wind speed, Duration 2 l The comprehensive characteristics of wind direction, Duration 2 l The comprehensive characteristics of relative humidity, for The corresponding attention weights are, for The corresponding attention weights are, for The corresponding attention weights.

[0048] The feature fusion module is composed of a fully connected layer, which fully connects and fuses the power time series characteristics of the first power generation and the meteorological data characteristics of the second power generation, and then balances and adjusts the importance of the features to obtain the final prediction result.

[0049] The feature fusion module preferably adopts an ANN model (Artificial Neural Network).

[0050] See also Figure 6 , the training process of the power generation model is explained with a corresponding example, and the power generation prediction model is trained using the K-fold cross validation method.

[0051] The meteorological data time series and the corresponding actual power generation time series are divided according to the time series length to obtain the actual power generation training set and actual power generation test set , meteorological data training set And the meteorological data test set .

[0052] The actual power generation training set And meteorological data training set The training sets are randomly divided into 10 training subsets of the same size, namely, training subset 1, training subset 2, ... training subset 10; each training subset is used as the test set in turn, and the remaining 9 training subsets are combined as the training set. The TCN feature extraction module and the TPA-LSTM feature extraction module are trained and tested 10 times respectively to obtain the actual power generation training set. Corresponding test results , and the meteorological data training set Corresponding test results , using the actual power generation test set The actual power generation training set The weights are tested to obtain the test results , using the meteorological data test set Weather data training set The weights are tested to obtain the test results .

[0053] Then, the test results and Merge to get training set , the test results and Merge to get the test set ; Finally, the fully connected layer is used to train the training set and test set The fusion is performed to complete the training of the power generation prediction model.

[0054] In order to evaluate the accuracy of the power generation prediction model, the maximum expansion coefficient (receptive field) of the TCN module and the time step number of the TPA-LSTM feature extraction module are set to different parameters. The K-fold cross-validation method is used to train the power generation prediction model to obtain the trained power generation prediction model. The trained power generation prediction model is used to predict the power generation and obtain the prediction results of the power generation in the future time period. The normalized mean absolute error expansion index is used. and root mean square error expansion index Evaluate the prediction accuracy of the power generation prediction model, the mean absolute error expansion index Represents the average distance between the predicted value and the true value. Root mean square error expansion index Indicates the difference between the dispersion of the predicted value and the true value. and The smaller it is, the better the prediction result is.

[0055] Table 1 Evaluation table of power generation prediction model under different parameters

[0056] According to Table 1, it can be clearly seen that when the receptive field of the TCN module is 8, and The smallest value indicates that the predicted value of the power generation prediction model with a receptive field of 8 is closest to the true value and has the best prediction effect. and The smallest, the power generation prediction model has the best prediction effect.

[0057] In addition, the power generation prediction model of the present application and seven other models are used to predict the actual power generation in the next 15 minutes. The prediction results are shown in Table 2. The 7 other models include: 1. LSTM model; 2. GRU model (GRU, Gated Recurrent Unit, recurrent neural network); 3. BiGRU model (Bi-directional Gated Recurrent Unit, bidirectional gated loop); 4. AM-BiGRU model (AM, Attention Mechanism); 5. TPA-BiGRU model; 6. CNN&TPA- BiGRU model based on Stacking method (CNN, Convolutional Neural Networks, convolutional neural network), (Stacking, stacking); 7. DC-CNN&TPA-BiGRU model (DC-CNN, Dynamic Convolutional Neural Network).

[0058] Table 2 Evaluation table of the prediction results of each model in the next 15 minutes

[0059] From the results in Table 2, we can see that the power generation prediction model and It is significantly smaller than other models, indicating that the prediction results of this power generation prediction model are better than other models.

[0060] In this example, the above power generation prediction model and other models are used to predict the test set to obtain the power generation in the future. The prediction results of the above power generation prediction model and other models are analyzed as follows: Figure 7 The prediction results of each model for the next 15 minutes are shown, and a comparison chart of the predicted values ​​and true values ​​of 100 consecutive time points randomly selected in the prediction results is shown. It can be seen that in areas where the fluctuation trend of the power generation curve is relatively gentle, the prediction capabilities of each model are very small; however, at the moment when the power generation changes sharply, especially near the mutation point, the power generation prediction model of this application has a significantly better fitting ability for the power generation change curve than other models, and can more keenly capture the change characteristics and show them in the prediction results, and has the ability to make relatively accurate predictions.

[0061] Figure 8 The prediction results of each model for the next 30 minutes are shown, and a comparison chart of the predicted values ​​and the true values ​​of 100 consecutive time points are randomly selected in the prediction results. Among them, in the area where the fluctuation trend of the power generation curve is relatively gentle, the prediction results of the power generation prediction model of this application are obviously closer to the true value compared with the various comparison models; in addition, in the area where the curve fluctuation amplitude is large, the overall trend of the prediction results of the power generation prediction model of this application is also more in line with the real change trend. Therefore, when the prediction time interval is longer, the power generation prediction model of this application can also obtain better prediction results than other models.

[0062] The power generation prediction model of the present application uses a time convolutional neural network to capture the power time series characteristics in the actual power generation time series during the feature extraction process, and uses a long-short memory period model and a time series pattern attention model to fuse the time series fusion characteristics of each variable in the meteorological data. Finally, based on the Stacking method, the power time series characteristics and meteorological data characteristics are integrated and fused, which solves the problem of low prediction accuracy of a single model and improves the accuracy of the prediction of new energy power generation; secondly, since the power generation of new energy is affected by many variables and has obvious volatility and intermittency, this method fully considers the fluctuation regularity brought by the long time series of historical actual power generation, as well as the correlation between each variable and future power generation, which can better adapt to the characteristics of new energy power generation and improve the accuracy of the prediction results; in addition, the power generation prediction model combines the advantages of the TCN module, the TPA model and the LSTM model, and uses the ANN model to fully connect and fuse the power time series characteristics of the first power generation and the meteorological data characteristics of the second power generation, which can improve the performance of the power generation prediction model and the accuracy of the prediction results. According to the above experimental results, it can be shown that the power generation prediction model has excellent prediction accuracy in the ultra-short term (within 4 hours), and the prediction results are better than other models. This is very important for situations where power generation plans need to be adjusted in a timely manner and in response to changes in the power system, and can better meet the needs of practical applications.

[0063] Based on the above-mentioned training method of the power generation prediction model, the present application also proposes a training system of the power generation prediction model, which may include: The acquisition module is used to obtain the meteorological data time series and the corresponding actual power generation time series of the new energy power plant; The meteorological data time series includes meteorological data at different heights of the wind turbine, and the actual power generation time series is the actual power generation at each moment corresponding to the meteorological data time series; A data reconstruction module is used to determine the correlation between each variable in the meteorological data at different heights at each time and the corresponding actual power generation, obtain the variables with the highest correlation at different heights to reconstruct the meteorological data, and obtain multi-dimensional time series data of the meteorological data; The training module is used to train the power generation prediction model using the multi-dimensional time series data of meteorological data and the actual power generation time series. During training: Extracting the power time series characteristics of the time span in the actual power generation time series, and preliminarily predicting the first power generation in the future time period according to the power time series characteristics, where the first power generation includes the power time series characteristics of the actual power generation time series; Extracting the time series fusion features of each variable in the multidimensional time series data of meteorological data, fusing the time series fusion features of each variable to obtain meteorological data features, and preliminarily predicting the second power generation in the future time period according to the meteorological data features, where the second power generation includes the meteorological data features of the multidimensional time series data; The power time series characteristics of the first power generation power and the meteorological data characteristics of the second power generation power are fully connected and fused to obtain the final prediction result, that is, the power generation power in the future time period.

[0064] The present application also proposes a power generation prediction method, which may include: Get weather data for historical time periods; The meteorological data of the historical time period is input into the trained power generation prediction model, and the power generation prediction model outputs the prediction results corresponding to the meteorological data.

[0065] The present application also proposes a power generation prediction system, which may include: The acquisition module is used to obtain meteorological data for historical time periods; The model prediction module is used to input the meteorological data of the historical time period into the trained power generation prediction model, and the power generation prediction model outputs the prediction results corresponding to the meteorological data.

[0066] It should be noted that in the several embodiments provided in the present application, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are merely schematic. For example, the division of each module is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. The modules described as separate components may or may not be physically separated. The components displayed as modules may be one physical unit or multiple physical units, that is, they may be located in one place, or they may be distributed in multiple different places. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment.

[0067] In addition, each module in each embodiment of the present invention may be integrated into a processing unit, each module may exist physically separately, or two or more modules may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of a software functional unit.

[0068] An electronic device provided in an embodiment of the present application includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the steps of the power generation prediction method described in any of the above embodiments are implemented.

[0069] Another electronic device provided in the embodiment of the present application may also include: an input port connected to the processor, used to transmit multimodal data collected by an external acquisition device to the processor; and a display unit connected to the processor, used to display the processing results of the processor to the outside world; a communication module connected to the processor, used to realize the communication between the electronic device and the outside world. The display unit can be a display panel, a laser scanning display, etc.; the communication mode adopted by the communication module includes but is not limited to mobile high-definition link technology (HML), universal serial bus (USB), high-definition multimedia interface (HDMI), wireless connection (including wireless fidelity technology (WiFi), Bluetooth communication technology, low-power Bluetooth communication technology, and communication technology based on IEEE802.11s).

[0070] An embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of the power generation prediction method described in any of the above embodiments are implemented.

[0071] The computer-readable storage medium involved in the present application includes random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disks, removable disks, CD-ROMs, or any other form of storage medium known in the technical field.

[0072] For the description of the relevant parts of the training method, system and prediction method of the power generation prediction model provided in the embodiment of the present application, please refer to the detailed description of the corresponding parts in the training method of the power generation prediction model provided in the embodiment of the present application, which will not be repeated here. In addition, the parts of the above-mentioned technical solutions provided in the embodiment of the present application that are consistent with the implementation principles of the corresponding technical solutions in the prior art are not described in detail to avoid excessive elaboration.

[0073] The above contents are only for explaining the technical idea of ​​the present invention and cannot be used to limit the protection scope of the present invention. Any changes made on the basis of the technical solution in accordance with the technical idea proposed by the present invention shall fall within the protection scope of the claims of the present invention.

Claims

1. A training method for a power generation prediction model, characterized in that: The following steps are involved: Obtain the meteorological data time series and the corresponding actual power generation time series of the new energy power plant; The meteorological data time series includes meteorological data at different heights of the wind turbine, and the actual power generation time series is the actual power generation at each moment corresponding to the meteorological data time series; Determine the correlation between each variable in the meteorological data at different heights at each time and the corresponding actual power generation, obtain the variable with the highest correlation at different heights to reconstruct the meteorological data, and obtain multi-dimensional time series data of the meteorological data; The power generation prediction model is trained using the multi-dimensional time series data of meteorological data and the actual power generation time series. During the training: Extracting the power time series characteristics of the time span in the actual power generation time series, and preliminarily predicting the first power generation in the future time period according to the power time series characteristics, where the first power generation includes the power time series characteristics of the actual power generation time series; Extracting the time series fusion features of each variable in the multidimensional time series data of meteorological data, fusing the time series fusion features of each variable to obtain meteorological data features, and preliminarily predicting the second power generation in the future time period according to the meteorological data features, where the second power generation includes the meteorological data features of the multidimensional time series data; The power time series characteristics of the first power generation power and the meteorological data characteristics of the second power generation power are fully connected and fused to obtain the final prediction result.

2. The training method of a power generation prediction model according to claim 1, characterized in that: The meteorological data include wind speed, wind direction, temperature, air pressure and relative humidity. The wind speed, wind direction, temperature, air pressure and relative humidity are used as variables to determine the correlation between each variable and the actual power generation.

3. The training method of a power generation prediction model according to claim 2, characterized in that: The reconstructing of meteorological data to obtain multi-dimensional time series data of meteorological data includes: A variety of correlation analysis methods are used to perform correlation analysis on the meteorological data and actual power generation at different altitudes at each moment, determine the correlation between each variable in the meteorological data at different altitudes and the actual power generation, obtain the variables with the highest correlation between the meteorological data at different altitudes and the actual power generation, reconstruct the meteorological data at that moment according to the variables with the highest correlation to obtain multidimensional data, and construct multidimensional time series data of meteorological data according to the multidimensional data at each moment.

4. The training method of a power generation prediction model according to claim 3, characterized in that: The step of determining the correlation between each variable in the meteorological data at different altitudes at each time and the corresponding actual power generation includes: A variety of correlation analysis methods are used to calculate the correlation between each variable in the meteorological data at each altitude and the actual power generation and assign weights. The weights of each variable are fused to obtain the final correlation between each variable and the actual power generation.

5. The training method of a power generation prediction model according to claim 3, characterized in that: The correlation analysis method includes Pearson correlation coefficient analysis method, Kendall correlation coefficient analysis method and Spearman correlation coefficient analysis method.

6. The training method of a power generation prediction model according to claim 1, characterized in that: The power generation prediction model includes a TCN feature extraction module, a TPA-LSTM feature extraction module and a feature fusion module; The TCN feature extraction module includes a plurality of serial TCN modules, and the actual power generation time series is used as the input of the TCN feature extraction module, and the TCN feature extraction module outputs the first power generation in the future time period; The TPA-LSTM feature extraction module includes an LSTM model and a TPA model. The multidimensional time series data is used as the input of the LSTM model. The LSTM model outputs the time series fusion features of each variable and uses them as the input of the TPA model. The TPA model outputs the second power generation in the future time period. The feature fusion module is composed of a fully connected layer, which performs full connection fusion on the first power generation predicted by the TCN feature extraction module and the first power generation to obtain the final prediction result.

7. A training system for a power generation prediction model, characterized in that: include: The acquisition module is used to obtain the meteorological data time series and the corresponding actual power generation time series of the new energy power plant; The meteorological data time series includes meteorological data at different heights of the wind turbine, and the actual power generation time series is the actual power generation at each moment corresponding to the meteorological data time series; A data reconstruction module is used to determine the correlation between each variable in the meteorological data at different heights at each time and the corresponding actual power generation, obtain the variables with the highest correlation at different heights to reconstruct the meteorological data, and obtain multi-dimensional time series data of the meteorological data; The training module is used to train the power generation prediction model using the multi-dimensional time series data of meteorological data and the actual power generation time series. During training: Extracting the power time series characteristics of the time span in the actual power generation time series, and preliminarily predicting the first power generation in the future time period according to the power time series characteristics, where the first power generation includes the power time series characteristics of the actual power generation time series; Extracting the time series fusion features of each variable in the multidimensional time series data of meteorological data, fusing the time series fusion features of each variable to obtain meteorological data features, and preliminarily predicting the second power generation in the future time period according to the meteorological data features, where the second power generation includes the meteorological data features of the multidimensional time series data; The power time series characteristics of the first power generation power and the meteorological data characteristics of the second power generation power are fully connected and fused to obtain the final prediction result.

8. A method for predicting power generation, characterized in that: include: Get weather data for historical time periods; The meteorological data of the historical time period is input into the power generation prediction model trained by the training method of the power generation prediction model described in any one of claims 1-6, and the power generation prediction model outputs the prediction result corresponding to the meteorological data.

9. A power generation prediction system, characterized in that: include: The acquisition module is used to obtain meteorological data for historical time periods; A model prediction module is used to input meteorological data of a historical time period into a power generation prediction model trained by the training method of the power generation prediction model described in any one of claims 1-6, and the power generation prediction model outputs a prediction result corresponding to the meteorological data.

10. An electronic device, characterized in that: include: Memory for storing computer programs; A processor is used to implement the steps of the power generation prediction method as claimed in claim 8 when executing the computer program.

Citation Information

Patent Citations

  • Wind power operation trend prediction method based on dual spatial-temporal feature extraction

    CN113537573A

  • Ultra-short-term wind power prediction method and system based on time sequence representation and multi-level attention

    CN116826727A

  • Wind power generation power prediction method and device, electronic equipment and storage medium

    CN117220277A

  • Multi-temporal-spatial-scale new energy power generation power prediction method based on large model

    CN117293809A

  • Distributed photovoltaic short-term power prediction method based on fusion clustering and VQC-LSTM

    CN117498319A

Cited By

  • Wind power generation power prediction method and system

    CN119312168A

  • Integrally optimized new energy generating capacity prediction method

    CN120497917A