A method for correcting predicted wind speed based on a wind speed correction factor representation model
By defining a wind speed correction factor and using a generative adversarial network model to learn the wind speed correction factor, a wind speed correction factor representation model is constructed, which solves the problem of large wind speed prediction error in existing technologies and achieves higher accuracy wind speed prediction.
Patent Information
- Application Number
- CN202410748444.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2044-06-12
AI Technical Summary
Existing wind speed correction models can reduce the error in numerical weather prediction of wind speed on a short-term scale, but due to the fuzzy error distribution pattern, it is difficult to establish an accurate mapping relationship, resulting in a large error in wind power prediction and ignoring the migration relationship in the measured wind speed sequence.
A wind speed correction factor is defined, which is learned through a generative adversarial network model. A wind speed correction factor representation model is constructed, and the predicted wind speed is corrected using the wind speed correction factor. This includes data preprocessing, building and training the generator and discriminator, and finally generating a correction factor similar to the real correction factor.
It improves the accuracy of wind speed prediction, reduces prediction errors, and enhances the model's generalization ability, especially in wind speed prediction accuracy under complex climatic conditions.
Smart Images

Figure CN118861673B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of power system new energy power generation prediction technology, and specifically relates to a prediction wind speed correction method based on a wind speed correction factor characterization model. Background Technology
[0002] Wind energy, as a clean and renewable energy source, has received increasing attention in recent years. According to statistics, global newly installed wind power capacity reached 77.6 GW in 2022, bringing the cumulative installed capacity to 923 GW, a year-on-year increase of 9.27%. A high proportion of wind power is one of the prominent features of future power system development. However, the stochastic and non-stationary nature of wind energy poses technical challenges to the operation and management of wind farms. To reduce the adverse effects of wind power forecasting uncertainty on power system operation, power quality, and grid dispatch, ensuring accurate wind power forecasting results is crucial. Therefore, high-precision wind power forecasting has become an important research direction.
[0003] In existing technologies, wind speed prediction errors in numerical weather prediction (NMR) are a major source of wind power prediction errors. Accurate NMR wind speed prediction data is crucial for improving wind power prediction accuracy. However, due to the complexity and uncertainty of meteorological conditions, conventional NMR models have certain errors in predicting wind speed. To correct wind speed, various NMR wind speed prediction correction models have been established. The main idea behind these models is to construct a direct mapping between predicted and measured wind speeds, with particular focus on the mapping at the next time step. On short-term scales, these algorithms can reduce the average NMR wind speed prediction error by approximately 0.1 to 1.0 m / s. However, the fuzzy distribution pattern of NMR wind speed prediction errors makes it difficult to establish a mapping between predicted and measured wind speeds, thus limiting the performance of existing statistical correction algorithms.
[0004] In fact, a certain migration relationship exists in the real wind speed sequence, and there is a cubic relationship between wind speed and wind power. This means that even a small weather forecast error can cause a large power prediction error. Existing wind speed correction algorithms mainly focus on the direct mapping relationship between the wind speed predicted by Numerical Weather Prediction (NWP) and the measured wind speed. This mapping relationship has strong stochastic uncertainty and ignores the migration relationship in the measured wind speed sequence, which may lead to performance degradation on both short-term and long-term scales.
[0005] Therefore, there is an urgent need for a wind speed prediction correction method based on a wind speed correction factor characterization model to reduce wind speed prediction errors and improve the accuracy of wind speed prediction. Summary of the Invention
[0006] The purpose of this invention is to provide a method for correcting predicted wind speed based on a wind speed correction factor characterization model, characterized by the following steps:
[0007] Step A: Define a wind speed correction factor to characterize the correlation and prediction error between measured wind speed and numerical weather prediction wind speed, and analyze the probability density distribution of the wind speed correction factor for different wind farms.
[0008] Step B: Based on the probability density distribution of wind speed correction factors in different wind farms, train a generative adversarial network model to learn the wind speed correction factors, realize the self-correction of wind speed, and obtain the wind speed correction factor representation model.
[0009] Step C: Based on the wind speed correction factor characterization model, apply the wind speed correction factor to correct the predicted wind speed.
[0010] The wind speed correction factor in step A is defined as follows:
[0011] (1)
[0012] In the formula: This represents the wind speed correction factor. and Let represent the actual wind speed and the predicted wind speed at the wind farm at time t, respectively. This represents the rated wind speed of the unit, and n is the total number of time points.
[0013] The probability density distribution of the wind speed correction factor for different wind farms analyzed in step A includes:
[0014] Step A1: Preprocess the measured wind speed data and numerical weather prediction wind speed data of the wind farm;
[0015] Step A2: Calculate the wind speed correction factor for each time point using the processed measured and predicted wind speed data of the wind farm;
[0016] Step A3: Summarize the wind speed correction factors at each time point to obtain the probability density distribution of wind speed correction factors for different wind farms.
[0017] In step B, training the generative adversarial network model to learn the wind speed correction factor includes:
[0018] Step B1: Build the 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 that 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, and ambient pressure.
[0020] Step B2: Construct a discriminator. Based on a neural network, build the basic structure of the discriminator. 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 represents the correction factor generated by the generator. and true correction factor It is pieced together;
[0021] Step B3: Train the 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 discriminator's evaluation result, the generator minimizes the generator objective function. To simulate the complex distribution of the real correction factor; based on cross-entropy, the discriminator minimizes the discriminator objective function. This improves the similarity between the correction factors generated by the generator and the true correction factors; through continuous adversarial training, the generator and the discriminator engage in a game of mutual competition. and This constitutes a dynamic minimax optimization game, enabling the generator and discriminator to reach a stable state of Nash equilibrium, and obtaining the learned wind speed correction factor.
[0023] The generator objective function for:
[0024] (2)
[0025] The discriminator objective function for:
[0026] (3)
[0028] In the formula: is the discriminator function, representing the discriminator's judgment result on the correction factor and the actual observed data; E is the expected value; It is the correction factor generated by the generator at time t. It is the actual correction factor at time t;
[0029] The and A dynamic minimax optimization game is formed as follows:
[0030] (4)
[0032] In the formula: It is the output of the discriminator. It is the generator output. It is a dynamic minimax optimization game function.
[0033] The dataset used to train 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 dataset is 15 minutes, and the annual data is divided into 4 quarters, with the first 70 days of each quarter used as the training set and the last 20 days used as the test set.
[0034] Before training the generative adversarial network model, the dataset is preprocessed, including: removing duplicate data, filling missing values, filtering and correcting outliers and normalizing data;
[0035] The data normalization includes: normalizing wind power, numerical weather forecast wind speed, ambient temperature, ambient humidity, and ambient pressure using the Z-Score method; and normalizing wind direction data using trigonometric functions to obtain the sine and cosine values of the numerical weather forecast wind direction.
[0036] In step B3, the mean squared error loss function and the binary cross-entropy are used as loss functions during the training of the generative adversarial network model; the Adam optimizer is used for parameter optimization.
[0037] The activation function of the generator in step B1 is a linear function; the activation function of the discriminator in step B2 is the Sigmoid function.
[0038] Step C, which involves applying a wind speed correction factor to correct the predicted wind speed, includes:
[0039] Step C1: Modify the correction factor generated by the generator. With rated wind speed Multiply by the result and add it to the predicted wind speed. Add them together to get the corrected wind speed value. :
[0040] (5)
[0042] Step C2: Use the calibration algorithm as the basic method for 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 calibration algorithms. The calibration algorithms include: GAN, SVM, RF, RNN, LSTM and GRU.
[0043] The beneficial effects of this invention are as follows:
[0044] This invention discloses a wind speed prediction correction method based on the Wind Speed Correction Factor Representation Model (CFRM) to reduce wind speed prediction errors and improve prediction accuracy. First, a correction factor is used to describe the correlation and prediction bias between real-time wind speed (WS) and predicted wind speed (NWP WS), and the probability density distribution of the correction factor (CF) for different wind farms is analyzed, laying a theoretical foundation for the application of CFRM in wind speed correction. Second, a Generative Adversarial Network (GAN) is used to learn the wind speed correction factor, achieving self-correction of wind speed. Finally, an additional correction algorithm is used as the basis for the wind speed correction factor representation model to learn the wind speed correction factor, verifying the effectiveness and generalization ability of CFRM for different correction methods. Attached Figure Description
[0045] Figure 1 This is a flowchart illustrating a wind speed correction method based on a wind speed correction factor characterization model according to the present invention.
[0046] Figure 2 Here is a diagram of the GAN generator structure;
[0047] Figure 3 Here is a diagram of the GAN discriminator structure;
[0048] Figure 4 Scatter plots of probability density distribution for each wind farm correction factor are shown, where (a) is the scatter plot of probability density distribution for wind farm 1; (b) is the scatter plot of probability density distribution for wind farm 2; (c) is the scatter plot of probability density distribution for wind farm 3; and (d) is the scatter plot of probability density distribution for wind farm 4.
[0049] Figure 5 The image shows the effect of correcting the predicted wind speed for wind farm 1.
[0050] Figure 6 The image shows the effect of correcting the predicted wind speed for wind farm 2.
[0051] Figure 7 The image shows the effect of correcting the predicted wind speed for wind farm 3.
[0052] Figure 8 The image shows the effect of correcting the predicted wind speed for wind farm 4.
[0053] Figure 9 shows a comparison of the wind speed correction effect based on the correction factor, where (a) is the statistical chart of predicted wind speed values, (b) is the statistical chart of correction factors, and (c) is the statistical chart of predicted wind speed values after further correction. Detailed Implementation
[0054] This invention provides a method for predicting wind speed correction based on a wind speed correction factor characterization model. The invention will be further described in detail below with reference to the accompanying drawings.
[0055] like Figure 1 The embodiment of the present invention disclosed herein provides a method for correcting predicted wind speed based on a wind speed correction factor characterization model, comprising:
[0056] Step A: Define a wind speed correction factor to characterize the correlation and prediction error between measured wind speed and numerical weather prediction wind speed, and analyze the probability density distribution of the wind speed correction factor for different wind farms.
[0057] Step B: Based on the probability density distribution of wind speed correction factors in different wind farms, train a generative adversarial network model to learn the wind speed correction factors, realize the self-correction of wind speed, and obtain the wind speed correction factor representation model.
[0058] Step C: Based on the wind speed correction factor characterization model, apply the wind speed correction factor to correct the predicted wind speed.
[0059] Step A defines a wind speed correction factor that characterizes the correlation and prediction error between measured wind speed and numerical weather prediction wind speed, and analyzes the probability density distribution of the wind speed correction factor for different wind farms.
[0060] Given the nonlinear and non-stationary characteristics of time-varying errors in numerical weather prediction of wind speed, these errors cannot be directly eliminated using statistical features. Existing prediction methods rely on real-time data feedback to assess errors. However, the fuzzy distribution pattern of wind speed prediction errors in numerical weather prediction makes it difficult to establish a mapping relationship between predicted and measured wind speeds, thus limiting the performance of existing statistical correction algorithms.
[0061] In this embodiment, a wind speed correction factor is defined to characterize the correlation and prediction error between measured wind speed and numerical weather prediction (NMR) wind speed, and the probability density distribution of the wind speed correction factor for different wind farms is analyzed. By defining the wind speed correction factor, the correlation and prediction bias between measured wind speed and NMR wind speed are characterized. The correction factor is essentially a correction value or ratio, which can be added to or multiplied by 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.
[0062] The specific form of the correction factor can be selected and defined according to actual needs. In this embodiment, the wind speed correction factor... It is a proportional value, the wind speed correction factor in step A. The definition of is:
[0063] (1)
[0064] In the formula: This represents the wind speed correction factor. and Let represent the actual wind speed and the predicted wind speed at the wind farm at time t, respectively. This represents the rated wind speed of the unit, and n is the total number of time points.
[0065] The probability density distribution of the wind speed correction factor for different wind farms analyzed in step A includes:
[0066] Step A1: Preprocess the measured wind speed data and numerical weather prediction wind speed data of the wind farm;
[0067] Step A2: Calculate the wind speed correction factor for each time point using the processed measured and predicted wind speed data of the wind farm;
[0068] Step A3: Summarize the wind speed correction factors at each time point to obtain the probability density distribution of wind speed correction factors for different wind farms.
[0069] In this embodiment, the preprocessing of the measured wind speed data and numerical weather prediction wind speed data of the wind farm in step A1 specifically includes: First, the original wind speed data needs to be cleaned, and data points that deviate significantly from the normal range need to be corrected or deleted; second, there may be missing values in the wind speed data, and appropriate methods need to be used to fill them in to reduce the impact of missing data on the prediction results and maintain the consistency of the data; third, in order to enable the model to better learn the data features, the wind speed data needs to be 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.
[0070] Preprocessing measured wind speed data and numerical weather prediction wind speed data from wind farms is similar to the preprocessing methods used for datasets during model training. This is a specific implementation of deep learning data preprocessing methods in the field of power system power prediction.
[0071] In this embodiment, the probability density distribution of the wind speed correction factor is analyzed. The measured wind speed data and numerical weather prediction wind speed data of the wind farm are processed to remove unreasonable data. Unreasonable data refers to data where the predicted results deviate significantly from the actual observed values, or where the predicted results violate physical laws and common sense. Based on the definition of the correction factor, the correction factor corresponding to each time point is calculated using the processed measured and predicted wind speed data of the wind farm, thus obtaining the probability density distribution of the wind farm's correction factor.
[0072] Step B involves training a generative adversarial network model to learn the wind speed correction factor based on the probability density distribution of the wind speed correction factor in different wind farms, thereby achieving self-correction of wind speed and obtaining a wind speed correction factor representation model.
[0073] In step B, training the generative adversarial network model to learn the wind speed correction factor includes:
[0074] Step B1: Build the 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 that data point.
[0075] 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, and ambient pressure.
[0076] In this embodiment, a generator is constructed. The basic structure of the generator is built based on a neural network. The generator's input 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, and ambient pressure) to better predict the correction factor. By using multiple feature data as input to the generator, the model can comprehensively consider the influence of different factors on wind speed. For example, meteorological features such as temperature and humidity may have a certain impact on wind speed, while pressure may be related to the wind speed variation pattern. Therefore, using these features as input to the generator helps the model understand and predict the relationship between the correction factor and the numerical weather forecast.
[0077] Step B2: Construct a discriminator. Based on a neural network, build the basic structure of the discriminator. 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 represents the correction factor generated by the generator. and true correction factor It is pieced together;
[0078] In this embodiment, the unit for distinguishing between the real correction factor and 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 real correction factor. The value of similarity ranges from 0 to 1, and the closer it is to 1, the higher the similarity.
[0079] In this embodiment, a discriminator is constructed. The correction factor is generated by the generator. and true correction factor Using the concatenated vector as input, this new concatenated 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.
[0080] Step B3: Train the generative adversarial network model to learn the wind speed correction factor;
[0081] In each training iteration, the generator generates a correction factor and passes it to the discriminator for evaluation; based on the discriminator's evaluation result, the generator minimizes the generator objective function. To simulate the complex distribution of the real correction factor; based on cross-entropy, the discriminator minimizes the discriminator objective function. This improves the similarity between the correction factors generated by the generator and the true correction factors; through continuous adversarial training, the generator and the discriminator engage in a game of mutual competition. and This constitutes a dynamic minimax optimization game, enabling the generator and discriminator to reach a stable state of Nash equilibrium, and obtaining the learned wind speed correction factor.
[0082] In this embodiment, a GAN model is trained. The GAN is applied to learn wind speed correction factors, using numerical weather prediction data as input to train a generator to produce these correction factors. Through continuous iterative training, we expect the generator to learn the distribution patterns and regularities in the real correction factor data and generate accurate correction factors for different inputs. Ultimately, we use the generated correction factors to correct numerical weather predictions of wind speed, thereby improving the accuracy of wind speed predictions. The generator is responsible for generating synthetic data similar to real data, while the discriminator is responsible for distinguishing between real and synthetic data. Through continuous adversarial training, the generator and discriminator compete against each other, eventually enabling the generator to generate synthetic data that is very similar to real data.
[0083] In each training iteration, the generator produces a correction factor and passes it to the discriminator for evaluation. Through continuous adversarial training, the generator and discriminator compete against each other, enabling the generator to generate more accurate correction factors. Based on the feedback from the discriminator, the generator minimizes the objective function in formula (2). To simulate the complex distribution of the real correction factor, the prediction performance is improved by updating the weights.
[0084] The generator objective function for:
[0085] (2)
[0086] The discriminator objective function for:
[0087] (3)
[0089] In the formula: is the discriminator function, representing the discriminator's judgment result on the correction factor and the actual observed data; E is the expected value; It is the correction factor generated by the generator at time t. It is the actual correction factor at time t;
[0090] The and A dynamic minimax optimization game is formed as follows:
[0091] (4)
[0093] In the formula: It is the output of the discriminator. It is the generator output. It is a dynamic minimax optimization game function.
[0094] In this embodiment, the generative and discriminative models in GAN are optimized alternately, eventually reaching a stable state of Nash equilibrium.
[0095] The dataset used to train 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 dataset is 15 minutes, and the annual data is divided into 4 quarters, with the first 70 days of each quarter used as the training set and the last 20 days used as the test set.
[0096] Before training the generative adversarial network model, the dataset is preprocessed, including: removing duplicate data, filling missing values, filtering and correcting outliers and normalizing data;
[0097] The data normalization includes: normalizing wind power, numerical weather forecast wind speed, ambient temperature, ambient humidity, and ambient pressure using the Z-Score method; and normalizing wind direction data using trigonometric functions to obtain the sine and cosine values of the numerical weather forecast wind direction.
[0098] In step B3, the mean squared error loss function and the binary cross-entropy are used as loss functions during the training of the generative adversarial network model; the Adam optimizer is used for parameter optimization.
[0099] The activation function of the generator in step B1 is a linear function; the activation function of the discriminator in step B2 is the Sigmoid function.
[0100] In this embodiment, step C is based on the wind speed correction factor characterization model, and the wind speed correction factor is applied to correct the predicted wind speed.
[0101] Step C, which involves applying a wind speed correction factor to correct the predicted wind speed, includes:
[0102] Step C1: Modify the correction factor generated by the generator. With rated wind speed Multiply by the result and add it to the predicted wind speed. Add them together to get the corrected wind speed value. :
[0103] (5)
[0105] In this embodiment, the corrected wind speed value takes into account the correction factor generated by the generator, thus making it closer to the actual observed wind speed value. By applying the correction factor, errors in numerical weather prediction of wind speed can be corrected, thereby improving the accuracy of wind speed prediction.
[0106] Step C2: Use the calibration algorithm as the basic method for 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 calibration algorithms. The calibration algorithms include: GAN, SVM, RF, RNN, LSTM and GRU.
[0107] To enable those skilled in the art to better understand the present invention and its improvements over the prior art, the wind speed correction method based on the wind speed correction factor characterization model disclosed in this invention will be further explained in conjunction with specific application scenarios.
[0108] This study uses four wind farms in northern China (numbered No.1–No.4) as case studies. The case dataset includes NWP data, historical real wind speed data, and historical wind power data for these wind farms from 2019 to 2022, with a time resolution of 15 minutes. The annual data is divided into four quarters, with the first 70 days of each quarter used as the training set and the last 20 days as the test set. Each training and test set contains 6720 and 1920 samples, respectively. The prediction task was executed in a Python 3.8 environment, with an experimental hardware configuration of Intel Core i7-1165 CPU / 16 GB RAM / GeForce GTX 1650.
[0109] To ensure the accuracy and usability of the collected data, wind power data cleaning is necessary beforehand. The main steps include removing duplicate data, filling missing values, and filtering and correcting outliers. Furthermore, in multi-source variables like NWP (Numerical Weather Prediction), due to the different dimensions and significant numerical differences among the various features, data normalization is required. For wind power, numerical weather prediction wind speed, ambient temperature, ambient humidity, and ambient pressure, Z-Score normalization is uniformly applied. To enable the neural network to better process wind direction data, trigonometric functions are used to normalize the wind direction data, specifically obtaining the sine and cosine values of the numerical weather prediction wind direction.
[0110] In this embodiment, six feature data are used, including numerical weather forecast wind speed, the sine of numerical weather forecast wind direction, the cosine of numerical weather forecast wind direction, ambient temperature, ambient humidity, and ambient pressure. In the wind speed correction factor representation model (CFRM), the generator and discriminator each have a multi-layer neural network structure, and the structure diagrams are shown below. Figure 2 and Figure 3 As shown in the diagram, the generator has an input size of 96×6, meaning it accepts 96 input data points (6 features from 24 hours of data) and outputs 96 correction factors. The discriminator has an input size of 96×2, meaning it accepts a concatenated vector of the correction factors output by the generator and the true factors, and outputs a discrimination result. During model training, mean squared error loss and binary cross-entropy are used as loss functions, and the Adam optimizer is used for parameter optimization. The generator's activation function is a linear function, and the discriminator's activation function is a sigmoid function.
[0111] The probability density distribution analysis of the wind farm correction factor includes:
[0112] This case study processes measured wind speed (WS) data and numerical weather prediction (NWP WS) data from four wind farms, removing unreasonable data. Unreasonable data refers to data where the predicted results significantly deviate from the actual observed values, or where the predicted results violate physical laws and common sense. Based on the definition of a correction factor, the correction factor for each time point is calculated using the processed measured and predicted wind speed data from the wind farms. For example... Figure 4 As shown, probability density distribution plots of the correction factors for each wind farm are plotted, where (a) is a scatter plot of the probability density distribution of wind farm 1; (b) is a scatter plot of the probability density distribution of wind farm 2; (c) is a scatter plot of the probability density distribution of wind farm 3; and (d) is a scatter plot of the probability density distribution of wind farm 4. Statistical information of the correction factors for each wind farm is shown in Table 1.
[0113] Table 1. Statistical Information on Correction Factors for Each Wind Farm
[0114]
[0115] The statistical results in Table 1 show that:
[0116] (1) The average positive errors of the correction factors for each wind farm were 0.140, 0.142, 0.212, and 0.143, respectively. The average negative errors were -0.148, -0.049, -0.049, and -0.212, respectively. The average positive and negative errors of the correction factors for each wind farm showed significant differences, indicating that the distribution of correction factors for different wind farms had their own patterns and exhibited obvious statistical differences.
[0117] (2) The average correction factor for wind farm 1 is close to 0, indicating that the NWP WS is relatively close to the measured WS. However, the average correction factors for wind farms 2 and 3 are significantly greater than 0, indicating that the measured WS is usually higher than the NWP WS. Conversely, the average correction factor for wind farm 4 is less than 0, indicating that the measured WS is usually lower than the NWP WS. This suggests a difference between the measured WS data and the NWP WS data, and this difference manifests differently in different wind farms. Compared to the NWP WS, there is a certain migration relationship in the measured WS sequence, and the migration direction differs among different wind farms.
[0118] The NWP WS values of various wind farms generally need adjustment, either by shifting them towards increasing or decreasing, to more closely reflect the actual WS values. Accurately predicting the migration relationship of NWP WS can improve the accuracy of true WS prediction.
[0119] In this embodiment, the correction effect of the wind speed correction method based on the wind speed correction factor characterization model includes:
[0120] To verify the effectiveness of the proposed GAN-based Wind Speed Correction Factor Representation Model (CFRM) in correcting predicted wind speed and to further investigate the generalization ability of CFRM, six correction algorithms—GAN, SVM, RF, RNN, LSTM, and GRU—were used as the basic methods for correcting NWP WS. GAN showed the best correction effect among all correction models, and the corrected wind speed data closely matched the actual observation data, indicating that the proposed method effectively compensates for the inaccuracies and biases in wind speed prediction by the NWP WS weather forecasting model.
[0121] The wind speed correction accuracy for wind farms 1-4 is as follows: Figures 5-8 As shown; from Figures 5-8 The results show that:
[0122] (1) By combining different correction algorithms, the accuracy of WS in different wind farms of CFRM has been improved. The proposed correction model has a strong generalization ability to different correction algorithms.
[0123] (2) Compared with the original weather wind speed prediction error, GAN-based CFRM can significantly improve the wind speed prediction accuracy. The wind speed prediction accuracy of the four wind farms was improved by 9.6%, 9.1%, 11.2% and 11.6%, respectively. Next are deep learning methods such as RNN, LSTM and GRU. Machine learning algorithms such as SVM and RF performed well, but there is still room for further improvement compared with other methods.
[0124] (3) It should be noted that autumn, as a transitional period between the wind power season and winter, is characterized by significant climate change and unstable weather. Meanwhile, frequent cold air activity in winter creates strong pressure differences, leading to higher wind speeds. Due to these factors, wind power output in autumn and winter exhibits considerable fluctuations, making prediction correspondingly more difficult. NWP (Non-Wave Power Controller) often faces low prediction accuracy when forecasting wind speeds in autumn and winter. However, our experimental results show that even under such complex conditions, our method can still effectively improve the accuracy of wind speed prediction.
[0125] The implementation flowchart of the CFRM based on the correction factor in this invention is shown in Figure 9, where (a) is a statistical chart of predicted wind speed values, (b) is a statistical chart of the correction factor, and (c) is a statistical chart of predicted wind speed values after further correction. The corrected wind speed data provides more accurate input data for the wind power prediction model, thereby making the wind power prediction results more reliable.
[0126] In this embodiment, the comprehensive evaluation of the wind speed correction method includes:
[0127] By constructing correction factor features to describe the correlation and prediction deviation between real-time wind speed and predicted wind speed, the probability density distribution of correction factors in wind farms was analyzed. The results show that the distribution characteristics of correction factors in the four wind farms are different, and the probability density distribution patterns of correction factors in different wind farms are relatively clear, providing theoretical support for the application of wind speed correction factor characterization models in wind speed correction.
[0128] In this embodiment, a wind speed correction factor representation model is established, and six calibration algorithms—GAN, SVM, RF, RNN, LSTM, and GRU—are used as the basic methods for correcting numerical weather prediction wind speeds. For different calibration methods, the accuracy of the wind speed correction factor representation model is significantly improved in different wind farms, and the proposed calibration model has strong generalization ability across different calibration algorithms. Among them, the GAN-based wind speed correction factor representation model can greatly improve wind speed prediction accuracy. The wind speed prediction accuracy for the four wind farms is improved by 9.6%, 9.1%, 11.2%, and 11.6%, respectively.
Claims
1. A method for correcting predicted wind speed based on a wind speed correction factor characterization model, characterized in that, Includes the following steps: Step A: Define a wind speed correction factor to characterize the correlation and prediction error between measured wind speed and numerical weather prediction wind speed, and analyze the probability density distribution of the wind speed correction factor for different wind farms. The wind speed correction factor is defined as follows: (1) In the formula: This represents the wind speed correction factor. and Let represent the actual wind speed and the predicted wind speed at the wind farm at time t, respectively. This represents the rated wind speed of the unit, where n is the total number of moments. Step B: Based on the probability density distribution of wind speed correction factors in different wind farms, train a generative adversarial network model to learn the wind speed correction factors, realize the self-correction of wind speed, and obtain the wind speed correction factor representation model. The wind speed correction factor learned by the trained generative adversarial network model includes: Step B1: Build the 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 that 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, and ambient pressure. Step B2: Construct a discriminator. Based on a neural network, build the basic structure of the discriminator. 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 represents the correction factor generated by the generator. and true correction factor It is pieced together; Step B3: Train the 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 discriminator's evaluation result, the generator minimizes the generator objective function. To simulate the complex distribution of the real correction factor; based on cross-entropy, the discriminator minimizes the discriminator objective function. This improves the similarity between the correction factors generated by the generator and the true correction factors; through continuous adversarial training, the generator and the discriminator engage in a game of mutual competition. and This constitutes a dynamic minimax optimization game, enabling the generator and discriminator to reach a stable state of Nash equilibrium, and obtaining the learned wind speed correction factor. Step C: Based on the wind speed correction factor characterization model, apply the wind speed correction factor 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, characterized in that, The probability density distribution of the wind speed correction factor for different wind farms analyzed in step A includes: Step A1: Preprocess the measured wind speed data and numerical weather prediction wind speed data of the wind farm; Step A2: Calculate the wind speed correction factor for each time point using the processed measured and predicted wind speed data of the wind farm; Step A3: Summarize the wind speed correction factors at each time point to obtain the probability density distribution of wind speed correction factors for different wind farms.
3. The method for correcting predicted wind speed based on the wind speed correction factor characterization model according to claim 1, characterized in that, The generator objective function for: (2) The discriminator objective function for: (3) In the formula: It is the discriminator function, representing the discriminator's judgment result on the correction factor and the actual observed data; E is the expected value; It is the correction factor generated by the generator at time t. It is the actual correction factor at time t; The and A dynamic minimax optimization game is formed as follows: (4) In the formula: It is the output of the discriminator. It is the generator output. It is a dynamic minimax optimization game function.
4. The method for correcting predicted wind speed based on the wind speed correction factor characterization model according to claim 1, characterized in that, The dataset used to train 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 dataset is 15 minutes, and the annual data is divided into 4 quarters, with the first 70 days of each quarter used as the training set and the last 20 days used as the test set.
5. The predicted wind speed correction method based on the wind speed correction factor characterization model according to claim 4, characterized in that, Before training the generative adversarial network model, the dataset is preprocessed, including: removing duplicate data, filling missing values, filtering and correcting outliers and normalizing data; The data normalization includes: normalizing wind power, numerical weather forecast wind speed, ambient temperature, ambient humidity, and ambient pressure using the Z-Score method; and normalizing wind direction data using trigonometric functions to obtain the sine and cosine values of the numerical weather forecast wind direction.
6. The method for correcting predicted wind speed based on the wind speed correction factor characterization model according to claim 1, characterized in that, In step B3, the mean squared error loss function and the binary cross-entropy loss function are used as loss functions during the training of the generative adversarial network model; the Adam optimizer is used for parameter optimization.
7. The method for correcting predicted wind speed based on the wind speed correction factor characterization model according to claim 1, 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 the Sigmoid function.
8. The method for correcting predicted wind speed based on the wind speed correction factor characterization model according to claim 1, characterized in that, Step C, which involves applying a wind speed correction factor to correct the predicted wind speed, includes: Step C1: Modify the correction factor generated by the generator. With rated wind speed Multiply by the result and add it to the predicted wind speed. Add them together to get the corrected wind speed value. : (5) Step C2: Use the calibration algorithm as the basic method for 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 calibration algorithms. The calibration algorithms include: GAN, SVM, RF, RNN, LSTM and GRU.
