Predicted wind speed correction method based on wind speed correction factor representation model
By using the method based on the wind speed correction factor characterization model and the generative adversarial network, the problem that the existing wind speed correction model is difficult to accurately predict wind speed on a short-term scale is solved, high accuracy of wind speed prediction is achieved, and the accuracy of wind power power prediction is significantly improved.
Patent Information
- Application Number
- CN202410748444.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-10-29
AI Technical Summary
Existing wind speed correction models are difficult to accurately predict wind speed on a short-term scale, resulting in large wind power power prediction errors. This is mainly due to the randomness of wind speed errors in numerical weather forecasting and the neglect of the migration relationship of measured wind speed sequences.
A representation model based on the wind speed correction factor is adopted. By defining the wind speed correction factor and generating an adversarial network model, the wind speed correction factor is learned to realize the self-correction of the wind speed, and the correction factor is applied to correct the predicted wind speed.
It effectively reduces the wind speed prediction error and improves the accuracy of wind speed prediction. Especially on the short-term scale, the wind speed prediction accuracy increases by 9.6% to 11.6%.
Smart Images

Figure CN118861673A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of prediction of power generation power of renewable energy in electric power system, and in particular relates to a predicted wind speed correction method based on a wind speed correction factor characterization model. Background Art
[0002] As a clean and renewable form of energy, wind energy has received increasing attention in recent years. According to statistics, the global new wind power installed capacity will reach 77.6GW in 2022, and the cumulative wind power installed capacity will reach 923GW, a year-on-year increase of 9.27%. A high proportion of wind power energy is one of the prominent features of the future development of power systems. However, the randomness and non-stationarity of wind energy bring technical challenges to the operation and management of wind farms. In order to reduce the adverse effects of wind power forecasting uncertainty on power system operation, power quality and grid dispatching, it is crucial to ensure accurate wind power forecasting results. Therefore, high-precision wind power forecasting has become an important research direction.
[0003] In the prior art, the error in wind speed predicted by numerical weather forecasts is the main source of wind power prediction error. Accurate wind speed data predicted by numerical weather forecasts is crucial to improving the accuracy of wind power prediction. However, due to the complexity and uncertainty of meteorological conditions, conventional numerical weather forecast models have certain errors in predicting wind speed. In order to achieve wind speed correction, the prior art has established a variety of correction models for wind speed predicted by numerical weather forecasts. The main idea of the current wind speed correction model is to construct a direct mapping relationship between the wind speed predicted by numerical weather forecasts and the measured wind speed, with particular attention paid to the mapping at the next moment. On a short-term scale, these algorithms can reduce the average error of wind speed predicted by numerical weather forecasts by about 0.1 to 1.0 m / s, but because the distribution pattern of the wind speed error predicted by numerical weather forecasts is relatively fuzzy, it is difficult to establish a mapping relationship between the wind speed predicted by numerical weather forecasts and the measured wind speed, thereby limiting the performance of existing statistical correction algorithms.
[0004] In fact, there is a certain migration relationship in the real wind speed sequence, and there is a cubic relationship between wind speed and wind power, which means that even a small weather forecast error may cause a large power prediction error. Existing wind speed correction algorithms mainly focus on the direct mapping relationship between the numerical weather forecast (NWP) predicted wind speed and the measured wind speed. This mapping relationship has strong random uncertainty and ignores the migration relationship in the measured wind speed sequence, which may lead to performance degradation on short-term and long-term scales.
[0005] Therefore, there is an urgent need for a predicted wind speed correction method based on a wind speed correction factor characterization model to reduce the wind speed prediction error and improve the accuracy of wind speed prediction. Summary of the invention
[0006] The object of the present invention is to provide a predicted wind speed correction method based on a wind speed correction factor characterization model, characterized in that it comprises the following steps:
[0007] Step A: define a wind speed correction factor that characterizes the correlation and prediction error between the measured wind speed and the wind speed predicted by the numerical weather forecast, and analyze the probability density distribution of the wind speed correction factor of different wind farms;
[0008] Step B: Based on the probability density distribution of wind speed correction factors of different wind farms, a generative adversarial network model is trained to learn the wind speed correction factors, realize self-correction of wind speed, and obtain a wind speed correction factor representation model;
[0009] Step C: Based on the wind speed correction factor characterization model, the wind speed correction factor is applied to correct the predicted wind speed.
[0010] The wind speed correction factor in step A is defined as:
[0011]
[0012] Where: CF t Represents the wind speed correction factor, V real,t and V pred,t They represent the actual wind speed and predicted wind speed of the wind farm at time t, V rated It represents the rated wind speed of the unit, and n is the total number of moments.
[0013] The analysis of the probability density distribution of wind speed correction factors of different wind farms in step A includes:
[0014] Step A1: preprocessing the measured wind speed data of the wind farm and the wind speed data predicted by numerical weather forecast;
[0015] Step A2: Calculate the wind speed correction factor corresponding to each time point using the processed measured wind speed and predicted wind speed data of the wind farm;
[0016] Step A3: Summarize the wind speed correction factors corresponding to each time point to obtain the probability density distribution of wind speed correction factors of different wind farms.
[0017] The training of the generative adversarial network model to learn the wind speed correction factor in step B includes:
[0018] Step B1: Build a generator. Construct the basic structure of the generator based on the neural network. Input the feature data of each data point into the generator, and the generator outputs the correction factor corresponding to the data point.
[0019] The characteristic data include: numerical weather forecast wind speed, numerical weather forecast wind direction sine value, numerical weather forecast wind direction cosine value, ambient temperature, ambient humidity, ambient pressure;
[0020] Step B2: Build a discriminator. Construct the basic structure of the discriminator based on the neural network. Input the concatenated vector into the discriminator. The discriminator outputs the similarity between the correction factor generated by the generator and the true correction factor. The concatenated vector is the correction factor CF generated by the generator. pred and the true correction factor CF real Spliced together;
[0021] Step B3: training a generative adversarial network model to learn the wind speed correction factor;
[0022] In each training iteration, the generator generates a correction factor and passes it to the discriminator for evaluation; based on the evaluation result of the discriminator, the generator minimizes the generator objective function L G To simulate the complex distribution of the real correction factor; based on cross entropy, the discriminator minimizes the discriminator objective function L D , improve the similarity between the correction factor generated by the generator and the real correction factor; through continuous adversarial training, the generator and the discriminator compete with each other, L G With L D A dynamic minimum-maximum optimization game is constructed to make the generator and the discriminator reach a stable state of Nash equilibrium and obtain the learned wind speed correction factor.
[0023] The generator objective function L G for:
[0024]
[0025] The discriminator objective function L D for:
[0026]
[0027] Where: D is the discriminator function, which represents the discriminator's judgment result on the correction factor and the actual observation data; E is the expected value; CF pred,t is the correction factor generated by the generator at time t, CF real,t is the real correction factor at time t;
[0028] The L G With L D A dynamic minimum-maximum optimization game is formed as follows:
[0029]
[0030] Where: D is the discriminator output, G is the generator output, and V(D,G) is the dynamic minimum-maximum optimization game function.
[0031] The data set for training the generative adversarial network model in step B3 includes: NWP data, historical real wind speed data and historical wind power data; the time resolution of the data set is 15 minutes, and the annual data is divided into 4 quarters. The first 70 days of each quarter are taken as the training set, and the last 20 days are taken as the test set.
[0032] The dataset is preprocessed before training the generative adversarial network model, including: removing duplicate data, filling missing values, screening and correcting outliers and outliers, and data normalization;
[0033] The data normalization includes: normalizing the wind power, numerical weather forecast predicted wind speed, ambient temperature, ambient humidity, and ambient pressure using the Z-Score method; normalizing the wind direction data using the trigonometric function method to obtain the sine value and cosine value of the numerical weather forecast wind direction.
[0034] In the process of training the generative adversarial network model in step B3, mean square error loss function and binary cross entropy are used as loss functions; Adam optimizer is used for parameter optimization.
[0035] The activation function of the generator in step B1 is a linear function; the activation function of the discriminator in step B2 is a Sigmoid function.
[0036] In step C, applying the wind speed correction factor to correct the predicted wind speed includes:
[0037] Step C1: The correction factor CF generated by the generator t With rated wind speed value V rated Multiply the result by the predicted wind speed V pred,t Add together to get the corrected wind speed value V p ' red,t :
[0038] V′ pred,t =CF t *V rated +V pred,t t=1,2,3,...n (5)
[0039] Step C2: Use the correction algorithm as the basic method of the wind speed correction factor characterization model to predict the correction factor and verify the effectiveness and generalization ability of the wind speed correction factor characterization model for different correction algorithms, including: GAN, SVM, RF, RNN, LSTM and GRU.
[0040] The beneficial effects of the present invention are:
[0041] A predicted wind speed correction method based on a wind speed correction factor representation model (CFRM) disclosed in the present invention is used to reduce the wind speed prediction error and improve the accuracy of wind speed prediction. Firstly, the correlation and prediction deviation between the real-time wind speed (WS) and the predicted wind speed (NWP WS) are described by the correction factor, and the probability density distribution of the correction factor (CF) of different wind farms is analyzed, which lays a theoretical foundation for the application of CFRM in wind speed correction; secondly, Generative Adversarial Networks (GAN) is used to learn the wind speed correction factor to achieve self-correction of wind speed; finally, an additional correction algorithm is used as the basic method of the wind speed correction factor representation model to learn the wind speed correction factor, and verify the effectiveness and generalization ability of CFRM for different correction methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 A schematic flow chart of a predicted wind speed correction method based on a wind speed correction factor characterization model of the present invention;
[0043] Figure 2 This is the structure diagram of the GAN generator;
[0044] Figure 3 This is the structure diagram of the GAN discriminator;
[0045] Figure 4 The probability density distribution scatter plots of the correction factors of each wind farm, where (a) is the probability density distribution scatter plot of wind farm 1; (b) is the probability density distribution scatter plot of wind farm 2; (c) is the probability density distribution scatter plot of wind farm 3; (d) is the probability density distribution scatter plot of wind farm 4;
[0046] Figure 5 This is the predicted wind speed correction effect diagram of wind farm 1;
[0047] Figure 6 This is the predicted wind speed correction effect diagram of wind farm 2;
[0048] Figure 7 This is the predicted wind speed correction effect diagram of wind farm 3;
[0049] Figure 8 This is a diagram showing the correction effect of the predicted wind speed of wind farm 4;
[0050] Fig. 9The comparison diagram of wind speed correction effect based on correction factor, where (a) is the statistical diagram of predicted wind speed value, (b) is the statistical diagram of correction factor, and (c) is the statistical diagram of predicted wind speed value after correction. DETAILED DESCRIPTION
[0051] The present invention provides a predicted wind speed correction method based on a wind speed correction factor characterization model, and the present invention is further described in detail below in conjunction with the accompanying drawings.
[0052] like Figure 1 The embodiment of the present invention shown discloses a predicted wind speed correction method based on a wind speed correction factor characterization model, comprising:
[0053] Step A: define a wind speed correction factor that characterizes the correlation and prediction error between the measured wind speed and the wind speed predicted by the numerical weather forecast, and analyze the probability density distribution of the wind speed correction factor of different wind farms;
[0054] Step B: Based on the probability density distribution of wind speed correction factors of different wind farms, a generative adversarial network model is trained to learn the wind speed correction factors, realize self-correction of wind speed, and obtain a wind speed correction factor representation model;
[0055] Step C: Based on the wind speed correction factor characterization model, the wind speed correction factor is applied to correct the predicted wind speed.
[0056] The step A defines a wind speed correction factor that characterizes the correlation between the measured wind speed and the wind speed predicted by the numerical weather forecast and the prediction error, and analyzes the probability density distribution of the wind speed correction factors of different wind farms;
[0057] Considering that the time-varying error of wind speed predicted by numerical weather forecast has the characteristics of nonlinearity and non-stationarity, it is impossible to directly eliminate it by using the statistical characteristics of the error. The prediction method in the prior art needs to rely on the feedback of real-time data to judge the error. Since the distribution pattern of the wind speed error predicted by numerical weather forecast is relatively fuzzy, it is difficult to establish the mapping relationship between the wind speed predicted by numerical weather forecast and the measured wind speed, thus limiting the performance of the existing statistical correction algorithm.
[0058] In this embodiment, a wind speed correction factor is defined to characterize the correlation and prediction error between the measured wind speed and the wind speed predicted by the numerical weather forecast, and the probability density distribution of the wind speed correction factor of different wind farms is analyzed. By defining the wind speed correction factor, the correlation and prediction deviation between the measured wind speed and the wind speed predicted by the numerical weather forecast are characterized. The correction factor is actually a correction value or ratio, which can be added or multiplied with the measured wind speed to obtain a predicted wind speed sequence that is closer to the measured wind speed. The role of the correction factor is to correct the predicted wind speed sequence to improve its accuracy.
[0059] The specific form of the correction factor can be selected and defined according to actual needs. In this embodiment, the wind speed correction factor CF t is a proportional value, the wind speed correction factor CF in step A t is defined as:
[0060]
[0061] Where: CF t Represents the wind speed correction factor, V real,t and V pred,t They represent the actual wind speed and predicted wind speed of the wind farm at time t, V rated It represents the rated wind speed of the unit, and n is the total number of moments.
[0062] The analysis of the probability density distribution of wind speed correction factors of different wind farms in step A includes:
[0063] Step A1: preprocessing the measured wind speed data of the wind farm and the wind speed data predicted by numerical weather forecast;
[0064] Step A2: Calculate the wind speed correction factor corresponding to each time point using the processed measured wind speed and predicted wind speed data of the wind farm;
[0065] Step A3: Summarize the wind speed correction factors corresponding to each time point to obtain the probability density distribution of wind speed correction factors of different wind farms.
[0066] In this embodiment, the preprocessing of the measured wind speed data of the wind farm and the predicted wind speed data of the numerical weather forecast in step A1 specifically includes: first, the original wind speed data needs to be cleaned, and the data points that obviously deviate from the normal range need to be corrected or deleted; secondly, there may be missing values in the wind speed data, and appropriate methods need to be adopted to fill them in to reduce the impact of the missing data on the prediction results and maintain the consistency of the data; thirdly, in order to enable the model to better learn the data features, the wind speed data is standardized or normalized to make it conform to a certain numerical range, which helps to improve the convergence speed and prediction performance of the algorithm; finally, useful features need to be extracted from the wind speed data, which is crucial to improving the performance of the prediction model.
[0067] The preprocessing of the measured wind speed data of the wind farm and the predicted wind speed data of the numerical weather forecast is similar to the preprocessing method of the data set during model training, and is the specific implementation of the deep learning data preprocessing method in the field of power system power prediction.
[0068] In this embodiment, the probability density distribution analysis of the wind speed correction factor is performed. The measured wind speed data of the wind farm and the predicted wind speed data of the numerical weather forecast are processed, and the unreasonable data is eliminated. The unreasonable data is the data where there is a significant deviation between the predicted result and the actual observed value, or the predicted result violates the laws of physics and common sense. According to the definition of the correction factor, the correction factor corresponding to each time point is calculated using the processed measured wind speed and predicted wind speed data of the wind farm, and the probability density distribution of the wind farm correction factor is obtained.
[0069] The step B trains the generative adversarial network model to learn the wind speed correction factor based on the probability density distribution of the wind speed correction factor of different wind farms, realizes the self-correction of the wind speed, and obtains the wind speed correction factor representation model;
[0070] The training of the generative adversarial network model to learn the wind speed correction factor in step B includes:
[0071] Step B1: Build a generator. Construct the basic structure of the generator based on the neural network. Input the feature data of each data point into the generator, and the generator outputs the correction factor corresponding to the data point.
[0072] The characteristic data include: numerical weather forecast wind speed, numerical weather forecast wind direction sine value, numerical weather forecast wind direction cosine value, ambient temperature, ambient humidity, ambient pressure;
[0073] In this embodiment, a generator is built. The basic structure of the generator is constructed based on a neural network, and the input of the generator includes the following feature data (numerical weather forecast wind speed, sine value of numerical weather forecast wind direction, cosine value of numerical weather forecast wind direction, ambient temperature, ambient humidity, ambient pressure) to better predict the correction factor. By using multiple feature data as the input of the generator, the model can comprehensively consider the impact of different factors on wind speed. For example, meteorological characteristics such as temperature and humidity may have a certain impact on wind speed, while pressure may be related to the change pattern of wind speed. Therefore, using these features as the input of the generator helps the model understand and predict the relationship between the correction factor and the numerical weather forecast.
[0074] Step B2: Build a discriminator. Construct the basic structure of the discriminator based on the neural network. Input the concatenated vector into the discriminator. The discriminator outputs the similarity between the correction factor generated by the generator and the true correction factor. The concatenated vector is the correction factor CF generated by the generator. pred and the true correction factor CF real Spliced together;
[0075] In this embodiment, the dimension for distinguishing the true correction factor from the correction factor generated by the generator is similarity. The actual output of the discriminator is the similarity between the correction factor generated by the generator and the true correction factor. The similarity ranges from 0 to 1, and the closer to 1, the higher the similarity.
[0076] In this embodiment, a discriminator is constructed. The correction factor CF generated by the generator pred and the true correction factor CF real This new splicing vector structure can provide more comprehensive information to the discriminator, helping the discriminator to more accurately evaluate the quality of the correction factor generated by the generator and its similarity to the actual correction factor, thereby improving the performance and stability of the entire GAN model.
[0077] Step B3: training a generative adversarial network model to learn the wind speed correction factor;
[0078] In each training iteration, the generator generates a correction factor and passes it to the discriminator for evaluation; based on the evaluation result of the discriminator, the generator minimizes the generator objective function L G To simulate the complex distribution of the real correction factor; based on cross entropy, the discriminator minimizes the discriminator objective function L D , improve the similarity between the correction factor generated by the generator and the real correction factor; through continuous adversarial training, the generator and the discriminator compete with each other, L G With L D A dynamic minimum-maximum optimization game is constructed to make the generator and the discriminator reach a stable state of Nash equilibrium and obtain the learned wind speed correction factor.
[0079] In this embodiment, a GAN model is trained. GAN is applied to the learning of wind speed correction factors, and numerical weather forecast data is used as input to train the generator to generate correction factors. Through continuous iterative training, we expect the generator to learn the distribution patterns and laws in the real correction factor data, and generate accurate correction factors for different inputs. Ultimately, we use the generated correction factors to correct the predicted wind speed of the numerical weather forecast to improve the accuracy of the predicted wind speed. The generator is responsible for generating synthetic data similar to the real data, while the discriminator is responsible for distinguishing between real data and synthetic data. Through continuous adversarial training, the generator and the discriminator compete with each other, and finally the generator can generate synthetic data that is very similar to the real data.
[0080] In each training iteration, the generator generates a correction factor and passes it to the discriminator for evaluation. Through continuous adversarial training, the generator and the discriminator compete with each other, allowing the generator to generate more accurate correction factors. According to the feedback from the discriminator, the generator minimizes the objective function L in formula (2)G To simulate the complex distribution of the real correction factor, the prediction effect is improved by updating the weights.
[0081] The generator objective function L G for:
[0082]
[0083] The discriminator objective function L D for:
[0084]
[0085] Where: D is the discriminator function, which represents the discriminator's judgment result on the correction factor and the actual observation data; E is the expected value; CF pred,t is the correction factor generated by the generator at time t, CF real,t is the real correction factor at time t;
[0086] The L G With L D A dynamic minimum-maximum optimization game is formed as follows:
[0087]
[0088] Where: D is the discriminator output, G is the generator output, and V(D,G) is the dynamic minimum-maximum optimization game function.
[0089] In this embodiment, the generative model and the discriminative model in the GAN are optimized alternately, and eventually a stable state of Nash equilibrium can be reached.
[0090] The data set for training the generative adversarial network model in step B3 includes: NWP data, historical real wind speed data and historical wind power data; the time resolution of the data set is 15 minutes, and the annual data is divided into 4 quarters. The first 70 days of each quarter are taken as the training set, and the last 20 days are taken as the test set.
[0091] The dataset is preprocessed before training the generative adversarial network model, including: removing duplicate data, filling missing values, screening and correcting outliers and outliers, and data normalization;
[0092] The data normalization includes: normalizing the wind power, numerical weather forecast predicted wind speed, ambient temperature, ambient humidity, and ambient pressure using the Z-Score method; normalizing the wind direction data using the trigonometric function method to obtain the sine value and cosine value of the numerical weather forecast wind direction.
[0093] In the process of training the generative adversarial network model in step B3, mean square error loss function and binary cross entropy are used as loss functions; Adam optimizer is used for parameter optimization.
[0094] The activation function of the generator in step B1 is a linear function; the activation function of the discriminator in step B2 is a Sigmoid function.
[0095] In this embodiment, step C uses the wind speed correction factor to correct the predicted wind speed based on the wind speed correction factor characterization model.
[0096] In step C, applying the wind speed correction factor to correct the predicted wind speed includes:
[0097] Step C1: The correction factor CF generated by the generator t With rated wind speed value V rated Multiply the result by the predicted wind speed V pred,t Add together to get the corrected wind speed value V′ pred,t :
[0098] V′ pred,t =CF t *V rated +V pred,t t=1,2,3,...n (5)
[0099] In this embodiment, the corrected wind speed value will take into account the correction factor generated by the generator, so as to be closer to the actual observed wind speed value. By applying the correction factor, the error in the wind speed predicted by the numerical weather forecast can be corrected, thereby improving the accuracy of the wind speed prediction.
[0100] Step C2: Use the correction algorithm as the basic method of the wind speed correction factor characterization model to predict the correction factor and verify the effectiveness and generalization ability of the wind speed correction factor characterization model for different correction algorithms, including: GAN, SVM, RF, RNN, LSTM and GRU.
[0101] In order to enable those skilled in the art to better understand the present invention and appreciate the improvements of the present invention over the prior art, the predicted wind speed correction method based on the wind speed correction factor characterization model disclosed in the present invention is further explained in combination with specific application scenarios.
[0102] Four wind farms in northern China (numbered No. 1-No. 4) were used as research objects for case analysis. The case data set includes the NWP data, historical real wind speed data, and historical wind power data of these wind farms from 2019 to 2022, with a time resolution of 15 minutes. The annual data is divided into four quarters, and the first 70 days of each quarter are used as the training set, and the last 20 days are used as the test set, that is, each training set and test set contains 6720 and 1920 samples respectively. The prediction task is performed in the Python3.8 environment, and the experimental hardware configuration is Intel Core i7-1165CPU / 16GB RAM / GeForce GTX 1650.
[0103] In order to ensure the accuracy and availability of the collected data, it is necessary to clean the wind power data in advance. The main steps include removing duplicate data, filling missing values, screening and correcting abnormal values and outliers. In addition, in multi-source variables such as NWP, due to the different dimensions of each feature and large numerical differences, the data needs to be normalized. For wind power, numerical weather forecast predicted wind speed, ambient temperature, ambient humidity, and ambient pressure characteristics, the Z-Score method is uniformly used for normalization. In order to enable the neural network to better process wind direction data, the trigonometric function method is used to normalize the wind direction data, that is, to obtain the sine value of the numerical weather forecast wind direction and the cosine value of the numerical weather forecast wind direction.
[0104] In this embodiment, the number of feature data used is 6, including numerical weather forecast wind speed, numerical weather forecast wind direction sine value, numerical weather forecast wind direction cosine value, ambient temperature, ambient humidity, ambient pressure; in the wind speed correction factor characterization model (CFRM), the generator and the discriminator have a multi-layer neural network structure, and the structure diagrams are as follows: Figure 2 and Figure 3 As shown. The input size of the generator is 96×6, that is, it accepts 6 features of 96 input data points (24 hours a day) and outputs 96 correction factors. The input size of the discriminator is 96×2, that is, it accepts the concatenated vector of the correction factors and true factors output by 96 generators and outputs a discrimination result. The mean square error loss function and binary cross entropy are used as loss functions during the model training process, and the Adam optimizer is used for parameter optimization. The activation function of the generator is a linear function, and the activation function of the discriminator is a Sigmoid function.
[0105] The probability density distribution analysis of wind farm correction factors includes:
[0106] This case processes the measured wind speed (WS) data and numerical weather forecast wind speed (NWP WS) data of four wind farms and removes unreasonable data, which refers to data where there is a significant deviation between the predicted results and the actual observed values, or the predicted results violate the laws of physics and common sense. According to the definition of the correction factor, the correction factor corresponding to each time point is calculated using the processed measured wind speed and predicted wind speed data of the wind farm. Figure 4 As shown in the figure, the probability density distribution diagram of each wind farm correction factor is drawn, where (a) is the probability density distribution scatter diagram of wind farm 1; (b) is the probability density distribution scatter diagram of wind farm 2; (c) is the probability density distribution scatter diagram of wind farm 3; (d) is the probability density distribution scatter diagram of wind farm 4. The statistical information of the correction factors of each wind farm is shown in Table 1.
[0107] Table 1 Statistical information of correction factors of various wind farms
[0108]
[0109] The statistical results shown in Table 1 are as follows:
[0110] (1) The average values of the positive errors of the correction factors of the wind farms are 0.140, 0.142, 0.212 and 0.143 respectively. The average values of the negative errors are -0.148, -0.049, -0.049 and -0.212 respectively. The average values of the positive and negative errors of the correction factors of the wind farms are significantly different, which shows that the distribution of the correction factors of different wind farms has its own rules and has obvious statistical characteristics.
[0111] (2) The average value of the correction factor of wind farm 1 is close to 0, indicating that the NWP WS is close to the measured WS. The average values of the correction factors of wind farms 2 and 3 are significantly greater than 0, indicating that the measured WS is usually higher than the NWP WS. On the contrary, the average value of the correction factor of wind farm 4 is less than 0, indicating that the measured WS is usually lower than the NWP WS. This shows that there are differences between the measured WS data and the NWP WS data, and this difference manifests itself differently in different units. Compared with the NWP WS, there is a certain migration relationship in the measured WS sequence, and the migration direction of different wind farms is also different.
[0112] The NWP WS of each wind farm generally needs to be adjusted, either to increase or decrease, so as to be closer to the actual WS value. Accurately predicting the migration relationship of NWP WS can improve the accuracy of real WS prediction.
[0113] In this embodiment, the correction effect of the wind speed correction method based on the wind speed correction factor characterization model includes:
[0114] In order to verify the correction effect of the proposed GAN-based wind speed correction factor representation model (CFRM) on the predicted wind speed and further study the generalization ability of CFRM, six correction algorithms, including GAN, SVM, RF, RNN, LSTM and GRU, are used as the basic methods of CFRM to correct NWP WS. GAN has the best correction effect among all correction models, and the corrected wind speed data is closely consistent with the actual observation data, indicating that the method proposed in this invention effectively compensates for the inaccuracy and deviation of the NWP WS weather forecast model in wind speed prediction.
[0115] The wind speed correction accuracy of wind farm 1 to wind farm 4 is as follows: Figure 5-Figure 8 shown; from Figure 5-Figure 8 The results show that:
[0116] (1) Combined with different correction algorithms, the WS accuracy of CFRM in different wind farms is improved. The proposed correction model has a strong generalization ability for different correction algorithms.
[0117] (2) Compared with the original weather wind speed prediction error, the GAN-based CFRM can greatly improve the wind speed prediction accuracy. The wind speed prediction accuracy of the four wind farms increased by 9.6%, 9.1%, 11.2% and 11.6% respectively. Next is the deep learning methods such as RNN, LSTM and GRU. Machine learning algorithms such as SVM and RF perform well in terms of effect, but there is still room for further improvement compared with other methods.
[0118] (3) It should be noted that autumn is a transition period from the wind power season, with large climate changes and unstable weather. In winter, cold air activities are frequent, resulting in strong pressure differences and high wind speeds. Due to the influence of these factors, wind power in autumn and winter shows large fluctuations, and the prediction difficulty is correspondingly high. NWP often faces low prediction accuracy when predicting wind speed in autumn and winter. However, our experimental results show that even in this complex environment, our method can still effectively improve the accuracy of wind speed prediction.
[0119] The CFRM implementation flow chart of the present invention based on the correction factor is as follows: Fig. 9 As shown, (a) is a statistical diagram of predicted wind speed values, (b) is a statistical diagram of correction factors, and (c) is a statistical diagram of predicted wind speed values after correction. The corrected wind speed data provides more accurate input data for the wind power prediction model, making the wind power prediction results more credible.
[0120] In this embodiment, the comprehensive evaluation of the wind speed correction method includes:
[0121] By constructing correction factor characteristics to describe the correlation and prediction deviation between real-time wind speed and predicted wind speed, the probability density distribution of correction factors of wind farms is analyzed. The results show that the distribution characteristics of correction factors of the four wind farms are different, and the probability density distribution patterns of correction factors of different wind farms are relatively clear, which provides theoretical support for the application of wind speed correction factor characterization model in wind speed correction.
[0122] In this embodiment, a wind speed correction factor characterization model is established, and six correction algorithms such as GAN, SVM, RF, RNN, LSTM and GRU models are used as the basic method of the wind speed correction factor characterization model to correct the predicted wind speed of numerical weather forecasting. For different basic correction methods, the accuracy of the wind speed correction factor characterization model in different wind farms is significantly improved, and the proposed correction model has a strong generalization ability for different correction algorithms. Among them, the wind speed correction factor characterization model based on GAN can greatly improve the accuracy of wind speed prediction. The wind speed prediction accuracy of the four wind farms increased by 9.6%, 9.1%, 11.2 and 11.6% respectively.
Claims
1. A predicted wind speed correction method based on a wind speed correction factor characterization model, characterized in that: The steps include: Step A: define a wind speed correction factor that characterizes the correlation and prediction error between the measured wind speed and the wind speed predicted by the numerical weather forecast, and analyze the probability density distribution of the wind speed correction factor of different wind farms; Step B: Based on the probability density distribution of wind speed correction factors of different wind farms, a generative adversarial network model is trained to learn the wind speed correction factors, realize self-correction of wind speed, and obtain a wind speed correction factor representation model; Step C: Based on the wind speed correction factor characterization model, the wind speed correction factor is applied to correct the predicted wind speed.
2. The predicted wind speed correction method based on the wind speed correction factor characterization model according to claim 1 is characterized in that: The wind speed correction factor in step A is defined as: Where: CF t Represents the wind speed correction factor, V real,t and V pred,t They represent the actual wind speed and predicted wind speed of the wind farm at time t, V rated It represents the rated wind speed of the unit, and n is the total number of moments.
3. The predicted wind speed correction method based on the wind speed correction factor characterization model according to claim 1 is characterized in that: The analysis of the probability density distribution of wind speed correction factors of different wind farms in step A includes: Step A1: preprocessing the measured wind speed data of the wind farm and the wind speed data predicted by numerical weather forecast; Step A2: Calculate the wind speed correction factor corresponding to each time point using the processed measured wind speed and predicted wind speed data of the wind farm; Step A3: Summarize the wind speed correction factors corresponding to each time point to obtain the probability density distribution of wind speed correction factors of different wind farms.
4. The predicted wind speed correction method based on the wind speed correction factor characterization model according to claim 1 is characterized in that: The training of the generative adversarial network model to learn the wind speed correction factor in step B includes: Step B1: Build a generator. Construct the basic structure of the generator based on the neural network. Input the feature data of each data point into the generator, and the generator outputs the correction factor corresponding to the data point. The characteristic data include: numerical weather forecast wind speed, numerical weather forecast wind direction sine value, numerical weather forecast wind direction cosine value, ambient temperature, ambient humidity, ambient pressure; Step B2: Build a discriminator. Construct the basic structure of the discriminator based on the neural network. Input the concatenated vector into the discriminator. The discriminator outputs the similarity between the correction factor generated by the generator and the true correction factor. The concatenated vector is the correction factor CF generated by the generator. pred and the true correction factor CF real Spliced together; Step B3: training a generative adversarial network model to learn the wind speed correction factor; In each training iteration, the generator generates a correction factor and passes it to the discriminator for evaluation; based on the evaluation result of the discriminator, the generator minimizes the generator objective function L G To simulate the complex distribution of the real correction factor; based on cross entropy, the discriminator minimizes the discriminator objective function L D , improve the similarity between the correction factor generated by the generator and the real correction factor; through continuous adversarial training, the generator and the discriminator compete with each other, L G With L D A dynamic minimum-maximum optimization game is constructed to make the generator and the discriminator reach a stable state of Nash equilibrium and obtain the learned wind speed correction factor.
5. The predicted wind speed correction method based on the wind speed correction factor characterization model according to claim 4 is characterized in that: The generator objective function L G for: The discriminator objective function L D for: Where: D is the discriminator function, which represents the discriminator's judgment result on the correction factor and the actual observation data; E is the expected value; CF pred,t is the correction factor generated by the generator at time t, CF real,t is the real correction factor at time t; The L G With L D A dynamic minimum-maximum optimization game is formed as follows: Where: D is the discriminator output, G is the generator output, and V(D,G) is the dynamic minimum-maximum optimization game function.
6. The predicted wind speed correction method based on the wind speed correction factor characterization model according to claim 4 is characterized in that: The data set for training the generative adversarial network model in step B3 includes: NWP data, historical real wind speed data and historical wind power data; the time resolution of the data set is 15 minutes, and the annual data is divided into 4 quarters. The first 70 days of each quarter are taken as the training set, and the last 20 days are taken as the test set.
7. The predicted wind speed correction method based on the wind speed correction factor characterization model according to claim 6 is characterized in that: The dataset is preprocessed before training the generative adversarial network model, including: removing duplicate data, filling missing values, screening and correcting outliers and outliers, and data normalization; The data normalization includes: normalizing the wind power, numerical weather forecast predicted wind speed, ambient temperature, ambient humidity, and ambient pressure using the Z-Score method; normalizing the wind direction data using the trigonometric function method to obtain the sine value and cosine value of the numerical weather forecast wind direction.
8. The predicted wind speed correction method based on the wind speed correction factor characterization model according to claim 4 is characterized in that: In the process of training the generative adversarial network model in step B3, mean square error loss function and binary cross entropy are used as loss functions; Adam optimizer is used for parameter optimization.
9. The predicted wind speed correction method based on the wind speed correction factor characterization model according to claim 4 is characterized in that: The activation function of the generator in step B1 is a linear function; the activation function of the discriminator in step B2 is a Sigmoid function.
10. The predicted wind speed correction method based on the wind speed correction factor characterization model according to claim 1, characterized in that: In step C, applying the wind speed correction factor to correct the predicted wind speed includes: Step C1: The correction factor CF generated by the generator t With rated wind speed value V rated Multiply the result by the predicted wind speed V pred,t Add together to get the corrected wind speed value V′ pred,t : V′ pred,t =CF t *V rated +V pred,t t=1,2,3,...n (5) Step C2: Use the correction algorithm as the basic method of the wind speed correction factor characterization model to predict the correction factor and verify the effectiveness and generalization ability of the wind speed correction factor characterization model for different correction algorithms, including: GAN, SVM, RF, RNN, LSTM and GRU.
Citation Information
Cited By
Multi-source satellite precipitation product fusion method and device in combination with sliding quadruple arrangement and random forest spatial interpolation
CN119669376A
Multi-source satellite precipitation product fusion method and device combining sliding quadruple permutation and random forest spatial interpolation
CN119669376B
Wind power prediction method and system based on wind speed inversion and Chatterje-GPT correction
CN120433203A
