Short-term wind power prediction method and system based on meteorological data in wind power generation system

Through multi-dimensional meteorological data, the deep learning model is constructed, combined with data preprocessing and optimization algorithms, the problems of low prediction accuracy and poor model adaptability in wind power generation systems are solved, high-precision short-term wind prediction is achieved, and the stability and reliability of wind power access to the power grid are improved.

CN120471200APending Publication Date: 2025-08-12HEBEI JIANTOU NEW ENERGY CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510434157.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-08
Publication Date
2025-08-12

AI Technical Summary

Technical Problem

In existing wind power generation systems, it is difficult for a single model to fully extract the characteristic information of wind power data, and it is impossible to characterize the uncertainty of wind power. Data loss and outliers affect the prediction accuracy, especially in extreme weather conditions, and the model has poor adaptability in real-time and different scenarios.

Method used

A deep learning model is constructed using multi-dimensional meteorological data, combined with data preprocessing and optimization algorithms, short-term wind power prediction is performed through long-term short-term memory network LSTM, convolutional neural network CNN or its combined model, and combined with self-attention mechanism SA and whale optimization algorithm WOA, data cleaning, normalization processing and feature extraction are carried out to generate the probability density distribution and confidence interval of wind power power.

Benefits of technology

It improves the short-term prediction accuracy and stability of the wind power generation system, enhances the model's ability to characterize wind fluctuation patterns, adapts to the prediction needs of different time scales, and improves the reliability and economicality of power grid scheduling and wind farm operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120471200A_ABST
    Figure CN120471200A_ABST
Patent Text Reader

Abstract

The invention discloses a short-term wind power prediction method and system based on meteorological data in a wind power generation system, and the method comprises the following steps: S1, obtaining historical wind power data and historical meteorological data of a prediction region, the meteorological data comprising information such as wind speed, wind direction, temperature, humidity and air pressure; s2, preprocessing the historical data, including data cleaning, normalization processing and feature extraction, to construct a training data set and a test data set; s3, constructing and training a prediction model based on deep learning by using the training data set, wherein the prediction model comprises a long short-term memory network (LSTM), a convolutional neural network (CNN) or a combination model thereof; and S4, inputting the test data set into the trained prediction model, performing short-term wind power prediction, and outputting a prediction result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of wind power generation, and more particularly to a short-term wind power prediction method and system based on meteorological data in a wind power generation system. Background Art

[0002] With the rapid development of wind power technology, wind energy has garnered widespread attention as a clean, renewable energy source. However, the randomness and volatility of wind power generation pose challenges to the stability and reliability of its access to the power grid. To improve the efficiency of wind power and minimize its adverse impact on the power grid, high-precision short-term wind power forecasting technology has become a research priority.

[0003] Currently, wind power forecasting methods primarily include physical models, statistical models, and machine learning. Physical models are based on atmospheric dynamics and thermodynamic equations and are combined with numerical weather forecast (NWP) data for prediction, but their accuracy is limited by the accuracy of meteorological data. Statistical models rely on the quality and quantity of historical data and struggle to capture the nonlinear characteristics of wind power generation. While machine learning methods (such as deep learning models) excel at processing nonlinear data, single models have limitations in feature extraction and struggle to describe the uncertainty of wind power.

[0004] In addition, existing technologies still have bottlenecks in data quality, prediction accuracy, model interpretability and computational efficiency, especially under extreme weather conditions, where the prediction accuracy is low.

[0005] Therefore, how to provide a short-term wind power prediction method and system based on meteorological data in a wind power generation system is an urgent problem that needs to be solved by those skilled in the art. Summary of the Invention

[0006] In view of this, the present invention provides a short-term wind power prediction method and system based on meteorological data in a wind power generation system, aiming to solve the technical problems that a single model is difficult to fully extract the characteristic information of wind power data, the existing point prediction model is difficult to characterize the uncertainty of wind power, data missing, outliers and other problems affect the prediction accuracy, the prediction accuracy is low under extreme weather conditions, and the existing model has poor real-time performance and adaptability in different scenarios.

[0007] In order to achieve the above object, the present invention adopts the following technical solutions:

[0008] A short-term wind power forecasting method based on meteorological data in a wind power generation system comprises the following steps:

[0009] S1. Obtain historical wind power data and historical meteorological data for the forecast area, wherein the meteorological data includes information such as wind speed, wind direction, temperature, humidity, and air pressure;

[0010] S2. Preprocessing the historical data, including data cleaning, normalization, and feature extraction, to construct a training data set and a test data set;

[0011] S3. Build and train a deep learning-based prediction model using the training data set, where the prediction model includes a long short-term memory (LSTM) network, a convolutional neural network (CNN) network, or a combination thereof;

[0012] S4. Input the test data set into the trained prediction model to perform short-term wind force prediction and output the prediction result.

[0013] Furthermore, the historical meteorological data also includes numerical weather forecast (NWP) data, and the NWP data is used to provide future meteorological forecast information.

[0014] Furthermore, clustering algorithms or manual methods are used to process abnormal parts in the data, and sequence decomposition algorithms are used to decompose historical wind power data to achieve data stabilization.

[0015] Furthermore, during the training of the prediction model, the Whale Optimization Algorithm (WOA) is used to optimize the model parameters to improve the prediction accuracy.

[0016] Furthermore, the method also includes the step of estimating the probability density of the prediction results, specifically:

[0017] The prediction error is analyzed using the adaptive kernel density estimation method to generate the probability density distribution of wind power;

[0018] Calculate the wind power prediction interval at a given confidence level based on the probability density distribution.

[0019] Furthermore, the prediction model also combines the self-attention mechanism SA to dynamically adjust the distribution of input data weights to avoid the loss of important feature information.

[0020] Furthermore, the time range of the short-term wind force forecast is from 1 hour to 72 hours in the future.

[0021] A short-term wind power prediction system based on meteorological data in a wind power generation system, comprising:

[0022] Data acquisition module, used to obtain historical wind power data and meteorological data;

[0023] Data preprocessing module, used to clean, normalize and extract features of the acquired data;

[0024] Model training module, used to build and train prediction models;

[0025] The forecast module is used to input real-time data and output short-term wind forecast results.

[0026] Furthermore, it also includes:

[0027] Probability prediction module, used to perform probability density estimation and confidence interval calculation on the prediction results;

[0028] The result analysis module is used to analyze and visualize the prediction results.

[0029] Furthermore, the prediction model is deployed on a cloud server and exchanges data with a monitoring system of a wind farm through a network interface.

[0030] The present invention discloses a short-term wind power forecasting method and system based on meteorological data in a wind power generation system. Compared with the existing technology, the present invention constructs a deep learning model by integrating multi-dimensional meteorological data, and combines data preprocessing and optimization algorithms to effectively capture the nonlinear characteristics and uncertainties of wind power generation, solving the problems of low prediction accuracy and poor model adaptability in the existing technology, and has the advantages of improving prediction accuracy and reliability. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0032] Figure 1 The figure is a flow chart of a short-term wind power prediction method based on meteorological data in a wind power generation system according to the present invention.

[0033] Figure 2 The present invention is a schematic structural diagram of a short-term wind power prediction system based on meteorological data in a wind power generation system. DETAILED DESCRIPTION

[0034] The following is a clear and complete description of the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making any creative efforts are within the scope of protection of the present invention.

[0035] See attached Figure 1-2In traditional short-term wind power forecasting technologies, physical models rely on numerical weather forecast data to solve atmospheric motion equations. However, meteorological data collection errors are propagated and amplified through partial differential equations, leading to cumulative deviations in forecast results. Statistical models are based on time series analysis of historical data but fail to consider the coupling effects of multidimensional meteorological parameters such as temperature and humidity, making it difficult to establish nonlinear mapping relationships. While machine learning methods can handle nonlinear characteristics, a single model architecture cannot effectively capture the spatiotemporal correlations of wind speed series, and anomalous data is not stabilized during training, limiting the model's generalization capabilities.

[0036] For example, in the forecasting system for coastal wind farm clusters, sudden changes in meteorological factors during typhoon passages caused data distribution shifts. Traditional cleaning methods failed to utilize sequence decomposition techniques, effectively preventing the identification of anomalous wind speed samples. The covariance between air pressure and wind speed in the training set was not adequately modeled, and the LSTM network, due to the vanishing gradient problem, was unable to capture fluctuations over a 72-hour period. During the testing phase, when inputting real-time data, due to fixed feature weights, the dominant impact of sudden changes in wind direction on power output was not considered, resulting in a root mean square error (RMS) of over 20% on a four-hour timescale.

[0037] If these issues are not addressed, the grid dispatch system will be unable to accurately predict wind power output fluctuations within the next 72 hours, leading to misconfiguration of spinning reserve capacity and increased frequency regulation costs. Forecast errors in extreme weather conditions can lead to voltage overshoots, forcing wind farms to proactively limit power, resulting in a waste of renewable energy. The accumulation of long-term forecast errors can also affect day-ahead clearing prices in power market transactions, reducing the economic viability of wind power participation in ancillary services markets.

[0038] When faced with the above problems, this application first analyzes the error accumulation effect that exists when traditional physical models rely on numerical weather forecast data, and finds that its root cause is that the meteorological data error is amplified layer by layer through the differential equation solution process. In view of the problem that statistical models cannot handle the nonlinear coupling of multi-dimensional meteorological parameters, this application recognizes the need to construct a feature extraction mechanism that can simultaneously capture the interaction of multiple factors such as wind speed and temperature. Regarding the shortcomings of machine learning models in modeling spatiotemporal correlations, this application notes that it is difficult for a single network architecture to take into account both time series dependencies and spatial feature distribution patterns.

[0039] Further research revealed that data distribution shifts caused by abnormal meteorological events significantly reduce the model's generalization capabilities, and that traditional data cleaning methods fail to consider the non-stationary nature of wind power series. Furthermore, the fixed weight allocation mechanism cannot dynamically adjust feature importance in scenarios such as sudden changes in wind direction, resulting in the loss of key information. These findings prompted this application to explore multidimensional data fusion methods, design a hybrid network architecture that can collaboratively process spatiotemporal features, and develop preprocessing techniques adapted to non-stationary series.

[0040] In this regard, the present application proposes a short-term wind power prediction method based on meteorological data in a wind power generation system, comprising the following steps: obtaining historical wind power data and historical meteorological data of the prediction area, where the meteorological data includes information such as wind speed, wind direction, temperature, humidity and air pressure; preprocessing the historical data, including data cleaning, normalization and feature extraction, to construct a training data set and a test data set; using the training data set to construct and train a deep learning-based prediction model, where the prediction model includes a long short-term memory network (LSTM), a convolutional neural network (CNN) or a combination thereof; inputting the test data set into the trained prediction model to perform short-term wind power prediction and output the prediction result.

[0041] Historical wind power data refers to the actual output power data of wind power systems recorded in the past. This can be achieved using data collected by the wind farm's SCADA system or stored in a historical database. This provides the model with realistic wind power fluctuation patterns, addressing the problem of the prediction model lacking actual power fluctuation characteristics. Historical meteorological data includes parameters such as wind speed, wind direction, temperature, humidity, and air pressure. This can be achieved using meteorological station monitoring data or satellite remote sensing data, providing multi-dimensional meteorological factors that influence wind power fluctuations and addressing the problem of incomplete feature information caused by a single data source. Data cleaning refers to the processing of outliers and missing values in the raw data. This can be achieved by using clustering algorithms to identify outliers or manual labeling methods to remove noisy data to improve data quality and address the problem of low-quality data causing model training bias. Normalization refers to converting data of different dimensions to a unified scale. This can be achieved using Z-score normalization or Min-Max normalization methods to eliminate the interference of data magnitude differences on model training and address the problem of parameter weight imbalance when fusing multi-source data. Feature extraction involves screening key influencing factors from raw data. This can be achieved through principal component analysis (PCA) or random forest feature importance assessment methods. This reduces the interference of redundant features and addresses the problem of model overfitting caused by high-dimensional data. Training and testing datasets involve dividing historical data into model training and validation parts. This can be achieved through time series sliding window partitioning or random sampling. This ensures reliable evaluation of model generalization capabilities and addresses the problem of overfitting caused by a single dataset. Long-short-term memory (LSTM) networks are recurrent neural network structures that employ gating mechanisms to address time series dependencies, capturing long-term trends in wind speed and addressing the inability of traditional models to effectively model temporal dynamics. Convolutional neural networks (CNNs) are deep learning models that employ convolutional kernels to extract local spatial features, identifying spatial correlations in meteorological data and addressing the problem of single-time-dimension models ignoring spatial features. Combined models are hybrid structures that fuse LSTM and CNN. These can be implemented through serial or parallel architectures to simultaneously capture nonlinear relationships between spatiotemporal features and address the limited feature extraction capabilities of single models.

[0042] The core innovation of this application lies in integrating multi-source historical meteorological data and wind power data, combining data preprocessing with deep learning models, and constructing a prediction framework that integrates spatiotemporal features to effectively capture the complex nonlinear laws of wind power changes and improve short-term prediction accuracy and stability.

[0043] The working process and principle of this application are as follows: this method integrates multi-dimensional historical meteorological data and wind power data to construct a deep learning model to capture the complex nonlinear characteristics of wind changes. First, multi-source meteorological data including wind speed, wind direction, temperature, humidity and air pressure are obtained to provide the model with comprehensive input reflecting meteorological dynamics, solving the problem of incomplete feature information caused by a single data source. Then the historical data is preprocessed, including data cleaning, normalization and feature extraction. Data cleaning can eliminate outliers, normalization can eliminate dimensional differences, and feature extraction can screen key influencing factors, and jointly improve data quality to adapt to model training requirements. The preprocessed data is divided into training data sets and test data sets to ensure the reliability of model verification. Next, the training data set is used to construct and train a prediction model based on deep learning, which includes a long short-term memory network (LSTM), a convolutional neural network (CNN) or a combination thereof. LSTM is used to process time series dependencies, CNN is used to extract spatial features, and the combined model integrates spatiotemporal information to enhance the ability to characterize wind fluctuation patterns. Finally, the test dataset is input into the trained prediction model to perform short-term wind force prediction, and the prediction results are output, thereby achieving accurate prediction of future wind force.

[0044] As a preferred embodiment, the solution of this application is specifically implemented as follows:

[0045] Obtain historical wind power and meteorological data for the forecast area. Historical wind power data includes the actual power generated by the wind farm every 10 minutes. Historical meteorological data includes information such as wind speed, direction, temperature, humidity, and air pressure. This data is provided by the meteorological observation tower within the wind farm and surrounding meteorological stations, and is collected every 10 minutes.

[0046] Historical data was preprocessed. During the data cleaning step, the moving median method was used to identify and remove outliers, and missing data was linearly interpolated. Normalization was performed using the maximum-minimum normalization method, mapping each eigenvalue to the [0, 1] interval. During the feature extraction step, statistical features such as the mean, standard deviation, maximum, and minimum values of wind speed were calculated, and the sine and cosine components of wind direction were extracted.

[0047] Construct training and test datasets. Arrange the preprocessed data in chronological order, select the first 80% as the training dataset, and the last 20% as the test dataset. Each sample contains the characteristic data and corresponding wind power values for the past 24 hours.

[0048] Build and train a deep learning-based prediction model. Design a combined LSTM-CNN model. The LSTM layer captures time series features and consists of 64 neurons. The CNN layer extracts spatial features and consists of two convolutional layers and one pooling layer. The model's output layer is a fully connected layer, which generates predictions. Use mean squared error as the loss function and the Adam optimizer for model training. Set the batch size to 32 and the number of training epochs to 100.

[0049] The test dataset was fed into the trained prediction model to generate short-term wind power forecasts. For each prediction moment, the model inputted characteristic data from the previous 24 hours, and outputted wind power forecasts for the next 1 to 72 hours. The predicted results were compared with actual wind power data, and evaluation metrics such as root mean square error and mean absolute percentage error were calculated to verify the model's prediction accuracy.

[0050] Through the above scheme, the present application can effectively solve the problem of low short-term prediction accuracy of wind power generation systems due to the randomness and volatility of wind power, and improve the stability and reliability of wind power access to the power grid. This method provides more comprehensive input information by integrating multi-dimensional meteorological data, which helps to capture the impact of complex meteorological changes on wind power generation. The combined architecture of the deep learning model can simultaneously process time series dependency and spatial feature distribution, enhancing the ability to characterize wind fluctuation patterns. The data cleaning and feature extraction techniques in the preprocessing step improve the quality of input data, which is beneficial to the stability of model training and the reliability of prediction results. In addition, this method can adapt to the prediction needs of different time scales, provide more accurate short-term wind power forecast support for grid dispatching and wind farm operations, and thus optimize the operating efficiency and economy of the power system.

[0051] In some of the above-mentioned solutions of this application, historical meteorological data only contains static observation information and lacks dynamic prediction data, which results in the model being unable to fully capture the impact of future meteorological conditions on wind power generation, limiting the prediction accuracy and time coverage.

[0052] In this regard, the present application further proposes that historical meteorological data also include numerical weather forecast (NWP) data, and NWP data is used to provide future meteorological forecast information.

[0053] Among them, Numerical Weather Prediction (NWP) data is generated through atmospheric physics models and contains forecasts of wind speed and wind direction for future periods. The time span of this data can be set from 1 hour to 72 hours in the future, for example, a series of meteorological parameters for the next 48 hours is generated at intervals of 6 hours. During the data preprocessing stage, NWP data and historical observation data need to be time-aligned, and a sliding window mechanism is used to form a continuous input of the historical observation series and the future prediction series on the time axis. During the training process, the model uses the backpropagation algorithm to learn the error distribution pattern between historical wind speed observations and NWP predictions, and establishes a mapping relationship between the dynamic changes of meteorological parameters and wind power fluctuations.

[0054] Specifically, numerical weather forecast (NWP) data are integrated into historical meteorological datasets to form mixed time series data containing historical measured values and future forecast values. During the model training phase, the input data is constructed as a multidimensional time series matrix, in which the NWP forecast values are embedded in the input layer as extended feature dimensions. Through the time-dependent modeling capabilities of the long and short-term memory network, the model can simultaneously capture the correlation between historical meteorological trends and future meteorological changes. During the forecasting phase, the future meteorological forecast sequence generated by the latest NWP is input, and the model outputs the wind power forecast value for the future period based on the learned mapping relationship. This data fusion mechanism breaks through the time unidirectional limitation of traditional models that rely only on historical data. For example, when the NWP forecast shows that the wind speed will suddenly change in the next 6 hours, the model can adjust the slope of the power forecast curve in advance.

[0055] As a preferred embodiment, the solution of the present application is specifically implemented as follows: historical meteorological data also includes numerical weather forecast NWP data, and NWP data is used to provide future meteorological forecast information. In actual applications, NWP data is obtained through a professional data interface provided by the meteorological department. These data contain predicted values of meteorological elements such as wind speed, wind direction, air pressure, temperature and humidity within the next 72 hours. The NWP data collection frequency is once every 6 hours, and the spatial resolution is 0.25 degree × 0.25 degree grid. The acquired NWP data is spatially aligned with the historical observation meteorological data to form a complete meteorological data set. In the data preprocessing stage, the systematic deviation between the NWP data and the actual observation data is corrected by a deviation correction algorithm to improve the accuracy of the NWP data. Furthermore, the NWP data is divided into prediction windows of multiple time scales, including ultra-short-term (1-4 hours), short-term (4-24 hours) and medium-term (24-72 hours) prediction intervals, and different feature extraction strategies are adopted for different prediction windows. Specifically, for ultra-short-term forecasts, the focus is on wind speed gradients and short-term variations in NWP data; for short-term forecasts, the evolution of weather systems in NWP data is incorporated; and for medium-term forecasts, the focus is on large-scale meteorological pattern changes in NWP data. During the model training phase, NWP data is used as an independent feature input channel and fed into the deep learning model in parallel with historical observation data. The model learns the complementary relationship between the two types of data to establish a more accurate wind power forecast mapping.

[0056] Through the above technical solution, this application expands the input data dimension of the prediction model, enabling the model to process historical observation data and future meteorological forecast information at the same time, thereby overcoming the limitations of relying solely on historical data for prediction. As a carrier of dynamic prediction information, NWP data makes up for the unidirectional defect of the time series of historical meteorological data, enabling the model to establish a mapping relationship between the evolution process of meteorological elements and the fluctuation of wind power generation. The combination of this dual data source significantly improves the prediction model's ability to perceive future meteorological changes, especially in periods of drastic changes in weather conditions, the prediction accuracy is significantly improved. In addition, by introducing NWP data, the time coverage of the forecast is extended from the original short-term to the medium-term, meeting the needs of power grid dispatching and energy market transactions for forecasts at different time scales. Under extreme weather conditions, the large-scale meteorological system evolution information provided by NWP data helps the model identify meteorological factors that may cause drastic fluctuations in wind power in advance, thereby enhancing the stability and reliability of the prediction results.

[0057] In some of the above-mentioned solutions of this application, the presence of abnormal data may affect the effect of data cleaning, and the non-stationary characteristics of historical wind power data make it difficult to capture effective time series laws during model training, thereby affecting the prediction accuracy.

[0058] In this regard, the present application further proposes using clustering algorithms or manual methods to process abnormal parts in the data, and using a sequence decomposition algorithm to decompose historical wind power data to achieve data stabilization.

[0059] When using a clustering algorithm, unsupervised clustering of historical wind power data can be performed using K-means or DBSCAN algorithms. Clusters of outliers can be automatically identified by setting distance thresholds or density parameters, such as setting the Euclidean distance threshold to at least three times the standard deviation of the data distribution. Manual processing can incorporate expert experience to develop a rule base for determining anomalies. For example, if the power value exceeds 110% of the rated capacity for five consecutive minutes, it is marked as an anomaly. These two methods form a complementary mechanism: the clustering algorithm handles batch anomalies, while the manual method provides supplementary corrections for specific scenarios.

[0060] The sequence decomposition algorithm can use the STL or EMD algorithm to decompose the original power series into a trend term, a period term, and a residual term. The trend term is extracted using a sliding window averaging method, with the window length set to 24 hours to reflect the daily cycle. The periodic term uses a Fourier transform to extract the dominant frequency component, retaining components within the frequency range of 0.1 Hz to 1 Hz. The residual term is verified for stationarity using an ADF test, ensuring that its unit root statistic is less than the critical value of 1%. The decomposed subsequences are each Z-score normalized to eliminate dimensional differences.

[0061] Specifically, during the data preprocessing phase, historical power data is first scanned using a clustering algorithm. For example, when using the DBSCAN algorithm, the neighborhood radius is set to 1.5 times the interquartile range of the data distribution, and the minimum sample size is set to 10 data points. This automatically identifies clusters of anomalous data from discrete distributions. For anomalies not covered by the clustering algorithm, such as zero-value data segments generated by sudden wind turbine shutdowns, a secondary screening is performed using manually set temporal continuity rules. The processed data is then input into the sequence decomposition module, where an adaptive EMD algorithm is used to decompose the data. Stationary sequences are reconstructed by filtering components within the IMF with an energy content exceeding 85%. When this dual-processed dataset is fed into the LSTM model for training, the model's loss function convergence speed increases by approximately 30% within 100 training cycles, and the MAE on the test set drops to below 2.1% of the rated power. This combined processing approach effectively overcomes the under-detection issues often encountered by traditional single-outlier detection methods. Furthermore, through data stabilization, the LSTM network is able to more accurately capture long-term dependencies in the time series.

[0062] As a preferred embodiment, the solution of this application is specifically implemented as follows:

[0063] During the data preprocessing phase, the K-means clustering algorithm is first used to detect anomalies in historical wind power data. The K-means algorithm divides data points into clusters and identifies outliers by calculating the distance between each data point and the center of its cluster. A distance threshold is set, and data points exceeding the threshold are marked as potential anomalies. Professionals then manually review these potential anomalies to confirm whether they are true anomalies and determine whether they need to be removed or corrected.

[0064] For data that passes anomaly detection, a wavelet decomposition algorithm is used to further decompose the series. By selecting appropriate wavelet basis functions and decomposition levels, the original wind power time series is decomposed into trend, periodic, and random terms. The trend term reflects long-term trends, the periodic term captures cyclical fluctuations, and the random term includes short-term fluctuations and noise. By analyzing and processing each component individually, we can better understand the inherent structure of the data and perform targeted stabilization.

[0065] For example, trend terms can be differentiated or detrended, periodic terms can be seasonally adjusted, and random terms can be smoothed using methods such as moving averages. The processed components are then recombined to obtain a stabilized wind power time series, which serves as input data for subsequent deep learning models.

[0066] Through the above technical solution, this application can effectively identify and process outliers in historical data, preventing abnormal data from interfering with model training. Simultaneously, sequence decomposition and stabilization reduce the non-stationarity of wind power data, enabling deep learning models to more accurately capture the inherent patterns of time series. This not only improves the quality of data preprocessing but also provides more reliable input for subsequent wind power forecasting models, thereby helping to enhance overall forecast accuracy and model performance.

[0067] In some of the above-mentioned solutions of this application, when using training data sets to construct and train deep learning-based prediction models to achieve short-term wind forecasts, traditional parameter optimization methods have the problems of slow convergence speed and easy to fall into local optimal solutions, resulting in limited model prediction accuracy and difficulty in fully mining the complex nonlinear relationships in the data.

[0068] In this regard, the present application further proposes to use the whale optimization algorithm to optimize the model parameters during the training process of the prediction model to improve the prediction accuracy.

[0069] Among them, the whale optimization algorithm constructs a parameter optimization mechanism by simulating the hunting behavior of humpback whale groups. The algorithm includes a dual strategy of spiral contraction and random search. In each iteration, the algorithm first generates an initial population containing multiple candidate solutions. The candidate solutions correspond to the combination of weight matrix and bias term parameters in the deep learning model. In the contraction and encirclement phase, the search radius is dynamically adjusted to gradually approach the region where the candidate solutions are located. In the spiral position update phase, a logarithmic spiral function is introduced to drive the candidate solutions to conduct a fine search along the spiral path in the multidimensional space. When the candidate solution falls into the local optimum, the algorithm automatically switches to the random search mode, and the timing of the mode switching is controlled by the probability threshold. For example, the population size can be set to 30-50 individuals, the maximum number of iterations is 100-200 times, and the spiral shape constant value range is 0.5-2.0.

[0070] Specifically, during the training of long-short-term memory networks and convolutional neural networks, the whale optimization algorithm replaces the traditional gradient descent method to perform parameter updates during the backpropagation phase. During model initialization, the weight matrix and bias parameters are encoded as multidimensional position vectors of individual whales. After each forward propagation, the prediction error is used to calculate the fitness function value, driving the whale group to perform shrinking, surrounding, and spiraling maneuvers. The shrinking factor decays exponentially with the number of iterations, and its decay coefficient can be set to 0.5-0.7, thereby achieving a balance between global exploration and local exploitation. If the optimal fitness value does not improve after 5-10 consecutive iterations, the algorithm automatically triggers a random search mechanism, introducing normally distributed random vectors to break the local optimum. This optimization process allows model parameters to transcend local extremes that are difficult for traditional optimization algorithms to break, effectively improving the ability to fit complex meteorological characteristics such as sudden wind speed changes and temperature gradients. In conjunction with preprocessing steps such as data cleaning and feature extraction, the algorithm fully utilizes the temporal correlation of normalized multi-source meteorological data, reducing noise interference in the training data while achieving global optimization in the parameter space.

[0071] As a preferred embodiment, the solution of the present application is specifically implemented as follows: During the training process of the prediction model, the whale optimization algorithm WOA is used to optimize the model parameters. The whale optimization algorithm simulates the hunting behavior of humpback whales, including three stages: searching for prey, surrounding prey, and spiral bubble net hunting. The algorithm first randomly initializes the population, and each individual represents a set of model parameters. During the iteration process, the movement of the whale is simulated by updating the position vector. The search phase uses randomly selected solutions to explore the search space, the surrounding phase approaches the optimal solution by narrowing the search range, and the spiral update phase simulates the whale's spiral movement around the prey. The specific implementation steps include: initializing the parameter population; calculating the fitness value of each individual; updating the optimal solution; judging whether to enter the search or surrounding phase based on a random number; executing the corresponding position update operation; and checking whether the termination condition is met. Through multiple iterations, the algorithm can quickly locate the global optimal solution in the high-dimensional parameter space, thereby optimizing parameters such as weights and biases of the deep learning model.

[0072] Through the above technical solution, this application solves the limitations of traditional gradient descent methods in the parameter optimization process by introducing the whale optimization algorithm to perform global optimization on the parameters of the deep learning model. The whale optimization algorithm adopts a spiral shrinking encirclement mechanism and a random search strategy, which can quickly locate the global optimal solution in a high-dimensional parameter space. The algorithm ensures the ergodicity of the search process through the synergistic effect of shrinking the encirclement and updating the spiral position during the iteration process, avoiding the problem of the traditional optimization algorithm converging to the local extreme value too early. Combining this type of biologically inspired optimization mechanism with a deep learning model can effectively adjust the weight matrix and bias parameters in networks such as LSTM and CNN, so that the model can not only capture the temporal correlation between multi-source meteorological data such as wind speed and temperature during training, but also break through the optimization bottleneck of the traditional backpropagation algorithm through the intelligent search strategy in the parameter space, thereby improving the model's ability to fit the wind fluctuation characteristics under complex meteorological conditions.

[0073] In some of the above-mentioned schemes of this application, when performing wind power forecasting based on deep learning prediction models, the prediction results only provide a single numerical point prediction, and lack a quantitative description of the prediction error distribution and uncertainty, which makes it difficult to evaluate the reliability and risk of the prediction results in practical applications, and cannot provide a confidence interval reference for power grid dispatching.

[0074] In this regard, the present application further proposes steps including probability density estimation of the prediction results, specifically: using an adaptive kernel density estimation method to analyze the prediction error and generate a probability density distribution of wind power; and calculating the wind power prediction interval under a given confidence level based on the probability density distribution.

[0075] The adaptive kernel density estimation method uses a dynamic bandwidth adjustment mechanism based on the local density of the error data. The bandwidth adjustment parameter can be adaptively varied within a range of 0.1 to 1.5 times the baseline bandwidth. The kernel function type can be either the Epanechnikov kernel or the Gaussian kernel to accommodate the asymmetric peaks present in the error distribution. During the probability density distribution generation process, the error data is dynamically updated using a sliding window mechanism, with the window length set to 24 to 72 hours to match the timeframe of the short-term wind forecast. During the confidence interval calculation phase, a numerical integration method is used to calculate the cumulative distribution of the probability density curve, with the integration step set to 0.1% to 1% of the power range unit to balance calculation accuracy and efficiency.

[0076] Specifically, prediction error data, generated by a trained LSTM or CNN prediction model, is input into an adaptive kernel density estimation module. Local density detection is performed on the error data in time series order. The kernel bandwidth is automatically reduced to below 50% of the baseline value in data-dense areas and increased to above 120% of the baseline value in sparse areas to capture multimodal distribution characteristics. When the generated probability density curve reaches a 95% confidence level through numerical integration, the corresponding upper and lower power limits are determined, generating a prediction interval output. This process forms a data closed loop with the pre-trained prediction model. The prediction error is re-collected and analyzed with each model update, enabling the probability density distribution to track changes in system operating status. By superimposing the point prediction values to generate a prediction interval, the power grid dispatching system can dynamically adjust reserve capacity based on the width of the confidence interval, triggering an early warning mechanism when the prediction interval exceeds a safety threshold.

[0077] As a preferred embodiment, the solution of this application is specifically implemented as follows:

[0078] Perform probability density estimation on the prediction results. First, use the adaptive kernel density estimation method to analyze the prediction error. Specifically, the Gaussian kernel function is selected as the basic kernel function, and for each sample point, the kernel function bandwidth is dynamically adjusted according to its local density. For example, the k-nearest neighbor method can be used to determine the local density, and k can be set to the square root of the total number of samples. The bandwidth h(xi) can be expressed as h(xi) = c*(k / f(xi))^0.5, where c is a constant and f(xi) is the local density estimate of point xi. In this way, a smaller bandwidth is used in high-density areas and a larger bandwidth is used in low-density areas, thereby generating a probability density distribution that is more consistent with the true error characteristics.

[0079] Furthermore, the wind power forecast interval for a given confidence level is calculated based on the generated probability density distribution. For example, for a 95% confidence interval, numerical integration is used to find the x-axis coordinates corresponding to areas under the probability density distribution curve of 0.025 and 0.975, yielding the upper and lower bounds of the forecast interval. In practical implementation, the trapezoidal rule can be used for numerical integration, with an integration step size of 0.01. This converts single-point forecasts into interval forecasts, providing a quantifiable risk boundary reference for grid dispatch.

[0080] Through the above technical solution, the present application realizes the quantitative description of the uncertainty of wind power forecast results. By introducing the adaptive kernel density estimation method, the asymmetry and multi-peak characteristics of the forecast error distribution can be captured more accurately, thereby generating a probability density distribution that is more in line with the actual situation. The prediction interval is calculated based on this probability density distribution, which provides a reliable confidence interval reference for power grid dispatching and enhances the robustness of the forecast results in extreme weather or data noise scenarios. This probabilistic forecasting method not only provides a single-point forecast value, but also gives the possible range of the forecast results, so that power grid dispatchers can better evaluate the reliability and potential risks of the forecast results, thereby formulating more reasonable dispatching strategies and improving the stability and economy of power grid operation.

[0081] In some of the above-mentioned schemes of this application, when the deep learning-based prediction model processes input data, the traditional LSTM or CNN model has a relatively fixed weight distribution mechanism for input features, which makes it difficult to dynamically capture the importance differences of different time steps and feature dimensions, resulting in the loss of information on some key meteorological features or time series patterns, affecting the prediction accuracy.

[0082] In this regard, this application further proposes a prediction model combined with a self-attention mechanism SA to dynamically adjust the distribution of input data weights to avoid the loss of important feature information.

[0083] The self-attention mechanism (SA) generates an attention weight matrix by calculating the correlation between features at each time step in the input sequence. The input sequence is mapped into a query vector, a key vector, and a value vector. The similarity score between the query and key vectors is calculated using a dot product operation, and then normalized using a softmax function to form a weight distribution. The weight matrix and the value vector are weighted and summed to produce a new sequence representation with dynamic attention characteristics. For example, when processing time series data of length T, the SA mechanism can assign a high weight of 0.85 to sudden changes in wind speed at different times, while assigning a low weight of 0.12 to features in stable intervals. This mechanism complements the preceding LSTM module. After the LSTM extracts time series features, the SA mechanism processes different feature subspaces in parallel using a multi-head attention structure, with each attention head dimension set to 64, effectively capturing the interactive characteristics of wind speed and air pressure. During model training, the weight parameters of the SA module are jointly optimized through backpropagation along with the hidden states of the LSTM, resulting in a 23% improvement in the model's temporal sensitivity to meteorological parameters.

[0084] Specifically, after the input sequence is processed through the LSTM to extract temporal features, the self-attention mechanism (SA) reorganizes the features of the hidden state sequence. By calculating the correlation between the wind speed change rate and the pressure gradient at adjacent moments, a weight matrix reflecting feature importance is generated. For example, when a sudden change in wind speed data with a standard deviation exceeding 3 m / s is detected, the SA mechanism increases the attention weight for that moment to 1.8 times the baseline value, while suppressing the weight of the temperature feature to 40% of its original value. The reorganized feature vector is then superimposed with the original LSTM output via a residual connection, and the final prediction result is generated through a two-layer fully connected network. This process reduces the model's mean squared error on the test set by 18.7%, particularly under extreme weather conditions where the pressure drops by more than 10 hPa, reducing the prediction error fluctuation by 32%. By dynamically adjusting feature weights, the model effectively overcomes the problem of missing wind direction abrupt changes caused by fixed weight assignments in traditional methods, improving prediction stability under complex meteorological conditions.

[0085] As a preferred embodiment, the solution of this application is specifically implemented as follows: In a short-term wind power forecasting method based on meteorological data in a wind power generation system, the forecasting model is implemented in conjunction with a self-attention mechanism (SA). Specifically, when building and training a deep learning-based forecasting model, the self-attention mechanism (SA) is integrated into the model architecture to dynamically adjust the weight distribution of input data.

[0086] The implementation process of the self-attention mechanism SA includes the following steps: first, the input meteorological data sequence X is linearly transformed to generate the query matrix Q, the key matrix K and the value matrix V; second, the dot product of the transposed matrix of Q and K is calculated and divided by the scaling factor (which can be the square root of the key vector dimension) to obtain the attention score; then, the softmax function is applied to the attention score to obtain the attention weight; finally, the attention weight is multiplied by the value matrix V to obtain the weighted feature representation.

[0087] Furthermore, when integrating the self-attention mechanism (SA) with LSTM or CNN models, a multi-head attention mechanism can be used. This involves feeding the input data into multiple independent attention computation units in parallel, with each unit focusing on a different aspect of the input data. Finally, the outputs of the multiple attention heads are concatenated. For example, when processing input data containing multi-dimensional meteorological features such as wind speed, wind direction, and temperature, eight attention heads can be set, each with a dimension of 64, allowing the model to simultaneously focus on the relationships between different meteorological parameters.

[0088] As a result, after the input data is processed through the self-attention layer, the model can identify the time steps and feature dimensions that have a significant impact on wind power forecasting and adjust their weights accordingly. For example, when a key meteorological change such as a sudden change in wind speed or a sudden drop in air pressure is detected, the model automatically increases the weight of these features, thereby more accurately capturing the impact of these changes on wind power.

[0089] Through the above technical solution, the present application solves the problem of fixed input feature weight allocation mechanism of traditional LSTM or CNN models by introducing the self-attention mechanism SA. This mechanism can dynamically capture the importance differences of different time steps and feature dimensions, avoiding the loss of key meteorological features or time series pattern information. Specifically, the self-attention mechanism generates an attention weight matrix by calculating the correlation between the features of each time step in the input sequence, enabling the model to autonomously identify and strengthen feature combinations that have a significant impact on wind power prediction. When faced with changes in meteorological parameters such as sudden changes in wind speed or sudden drops in air pressure, the SA mechanism can adjust its weight ratio to avoid the problem of feature neglect caused by fixed weights. In addition, this mechanism effectively solves the gradient vanishing problem that may occur in traditional LSTM in long sequence modeling by capturing long-distance time series dependencies, thereby improving the model's modeling ability for complex meteorological conditions and wind power fluctuations. Through this technical means of dynamic weight allocation, key information in the input data that is strongly correlated with wind changes is retained, thereby improving the accuracy of wind power prediction results.

[0090] In some of the above-mentioned schemes in this application, a deep learning-based prediction model is proposed to achieve short-term wind forecasting. However, in the actual application of the model, due to the significant differences in the changing patterns of meteorological characteristics corresponding to different prediction time spans, failure to clearly define the prediction time range may lead to improper setting of the time window of the model input data, making it difficult for the prediction model to adapt to the feature extraction requirements of different time spans, thereby affecting the accuracy and reliability of the prediction results.

[0091] In this regard, this application further proposes that the time range of short-term wind forecast is from 1 hour to 72 hours in the future.

[0092] The time range is defined by dividing the forecast interval into three time periods with significantly different characteristics. Data is collected using a sliding time window of 1-6 hours for the ultra-short-term forecast interval, a segmented data sampling method of 6-48 hours for the short-term forecast interval, and a dynamic time step of 48-72 hours for the medium-term forecast interval. The length of the input data time series window is dynamically adjusted based on the forecast time span. For example, continuous sampling is performed at 15-minute intervals in the ultra-short-term forecast interval, while hourly aggregate sampling is used in the medium-term forecast interval. The time step parameter of the LSTM network is synchronized with the meteorological evolution cycle of each time period. When forecasting for periods longer than 48 hours, the time step is expanded to 6 hours to capture macro-variations in the weather system. The size of the CNN convolution kernel is adjusted according to the temporal resolution. When the forecast time exceeds 24 hours, a 3×3 expanded convolution kernel is used to enhance the correlation of spatial features. Numerical weather forecast data must maintain a confidence threshold of 85% or above within 72 hours; data exceeding this threshold will automatically trigger a downgrade mechanism.

[0093] Specifically, the division of the forecast time range enables model optimization by establishing a time dimension adaptation mechanism. During the data preprocessing phase, corresponding data sampling strategies are automatically configured for different time periods: the original minute-level data fluctuation characteristics are retained for the 1-6 hour period, wavelet noise reduction is applied to eliminate high-frequency interference for the 6-48 hour period, and trend item extraction is performed for the 48-72 hour period. During model training, the time step of the LSTM network increases linearly with the forecast horizon, reaching a 12-step historical data window for 72-hour forecasts. The depth of the convolutional layers of the CNN network is dynamically configured based on the temporal resolution, and a residual connection structure is added for medium-term forecasts to enhance feature transfer. This time range setting enables the model to automatically match the optimal valid range of numerical weather forecast data. When the forecast requirement exceeds 72 hours, the system automatically switches to the medium- and long-term forecast module and updates the data source. By precisely controlling the time boundaries, a balance is achieved between feature extraction granularity and computing resource consumption, keeping the average forecast error within 72 hours to within 8%.

[0094] As a preferred embodiment, the solution of the present application is specifically implemented as follows: the time range of the short-term wind forecast is set to 1 to 72 hours in the future. The prediction model can adjust parameters according to the meteorological evolution laws of different time spans. For example, for ultra-short-term forecasts of 1-6 hours, the time series window length of the input data can be set to the historical data of the previous 24 hours; for short-term forecasts of 6-48 hours, the time series window can be extended to the previous 72 hours; and for medium-term forecasts of 48-72 hours, the time series window can be further extended to the previous 168 hours. The time step parameter of the LSTM network can be set to 24, 72 and 168 respectively. The size of the CNN convolution kernel can also be adjusted according to different time resolutions. For example, a 3x3 convolution kernel can be used for ultra-short-term forecasts, a 5x5 convolution kernel can be used for short-term forecasts, and a 7x7 convolution kernel can be used for medium-term forecasts. Through this dynamic adjustment strategy, the prediction model can adapt to the feature extraction requirements of different time spans.

[0095] Through the above technical solution, the present application realizes the parameter optimization and adaptation of the prediction model in the time dimension. By clearly defining the prediction time range, the model calculation redundancy caused by too short a time span is avoided, and the problem of a sharp drop in the accuracy of numerical weather forecast data after more than 72 hours is overcome. The prediction model can dynamically adjust the network parameters according to the meteorological characteristics of different time periods, thereby improving the adaptability of the model to meteorological changes at different time scales. This time range limitation and corresponding parameter adjustment strategy effectively improve the accuracy and reliability of short-term wind power forecasts, and provide more accurate prediction support for the operation management and grid dispatch of wind power generation systems.

[0096] In some of the above-mentioned solutions in this application, the existing technology lacks a systematic implementation architecture, resulting in low efficiency in collaboration between data processing, model training and prediction tasks, and problems such as waste of resources, insufficient real-time performance and inefficient data transmission between modules. In particular, the system stability and scalability are limited when faced with large-scale historical and real-time meteorological data.

[0097] In this regard, the present application further proposes a short-term wind power prediction system based on meteorological data in a wind power generation system, which includes a data acquisition module, a data preprocessing module, a model training module and a prediction module.

[0098] The data acquisition module connects to meteorological monitoring equipment via a independently configured database interface, supporting both structured database queries and real-time data streaming. For example, it collects real-time data such as wind speed and temperature hourly via an API, while extracting historical power data daily from a relational database. The data preprocessing module uses a sliding window mechanism to interpolate missing values, combining Z-score normalization to eliminate dimensional differences. It further uses the Pearson correlation coefficient to screen for meteorological features with a correlation with wind power greater than 0.7. The model training module features a built-in parameter optimizer that automatically adjusts the learning rate and batch size during training. The batch size can be set to 32, 64, or 128 to accommodate different hardware configurations. The prediction module is deployed as a lightweight inference service, receiving real-time data requests via a RESTful interface with a response time of less than 500 milliseconds. Data exchange between modules is performed in JSON format, with data fields including timestamps, device codes, and checksums to ensure transmission integrity and traceability.

[0099] Specifically, the data acquisition module utilizes a multi-source heterogeneous data integration mechanism to synchronously collect second-level wind power data recorded by the SCADA system and minute-level observation data from meteorological stations. The historical data storage period can be set to 3-5 years to meet model training requirements. The data preprocessing module uses the interquartile range method to identify outliers during the cleaning phase and linear interpolation to supplement missing data segments of more than 10 consecutive minutes. The feature extraction phase uses principal component analysis to reduce the original 15-dimensional meteorological data to 8-dimensional valid features. The model training module utilizes an asynchronous update strategy, retraining the model every morning for 100-200 epochs. The trained model files are managed in a version control system. The prediction module is decoupled from the training module, loading only the model parameter files during inference. Memory usage is kept below 2GB, and the module supports concurrent processing of more than 50 prediction requests. The standardized interface uses the Protobuf protocol to define data structures, and the transport layer utilizes the gRPC framework for high-speed communication, reducing the coupling between modules to below 0.3. When a new wind farm is connected, it is only necessary to expand the collection nodes of the data acquisition module and adjust the feature weight coefficient of the preprocessing module. The system expansion time can be shortened from 72 hours in the traditional solution to 8 hours.

[0100] As a preferred embodiment, the solution of the present application is specifically implemented as follows: the short-term wind power forecasting system consists of four functional modules. The data acquisition module is connected to the wind farm SCADA system through the meteorological data API interface, and collects multi-dimensional time series data provided by the anemometer, wind vane and weather station in a 5-minute cycle. The data stream is transmitted to the preprocessing module through the message queue. The preprocessing module uses the sliding window method to detect outliers, uses the Z-Score normalization method to eliminate dimensional differences, and screens meteorological characteristic parameters with a correlation with wind power higher than 0.8 based on the mutual information method. The model training module is equipped with a GPU-accelerated TensorFlow framework, adopts a mini-batch training method with a batch size of 128, and controls the training rounds by the early stopping method to avoid overfitting. The prediction module is deployed on the edge computing node, receives real-time meteorological data streams through the Restful API, loads the trained model weight file, and executes wind power forecasts for the next 6 hours at intervals of 5 seconds. The prediction results are transmitted to the wind farm energy management system via the OPCUA protocol.

[0101] Through the above technical solution, this application realizes the decoupling of data processing and model operation through a modular architecture. The standardized interface increases the data throughput to 2,000 records per second, and the resource utilization rate is increased by 40% when the model training and prediction tasks are executed in parallel. The system supports cluster data processing that can be horizontally expanded to 100 wind farms, and can still maintain millisecond-level response when the amount of typhoon weather data surges by 300%, effectively solving the resource contention and expansion bottleneck problems existing in traditional architectures.

[0102] In some of the above-mentioned schemes in this application, the prediction system outputs short-term wind power forecast results through the prediction module. However, the prediction results are only presented in a deterministic numerical form, which cannot reflect the uncertainty and volatility of wind power forecasts, making it difficult for power grid dispatchers to evaluate the credibility of the prediction results; in addition, the simple numerical results lack an intuitive visual display form, which is not conducive to rapid analysis and decision support of key information such as prediction trends and error distribution.

[0103] In this regard, the present application further proposes a solution including a probability prediction module and a result analysis module.

[0104] The probability prediction module uses an adaptive kernel density estimation method and non-parametric statistical techniques to model the prediction error distribution. For example, the bandwidth parameter can be set between 0.1 and 0.5, and the confidence level can be selected between 90% and 99%. This module converts the deterministic prediction value into a probability distribution and generates a prediction interval with upper and lower bounds. The result analysis module integrates various visualization components, such as generating power curve graphs using Python's Matplotlib library or JavaScript's D3.js framework, and using heat maps to display the spatiotemporal characteristics of the error distribution. The statistical results output by the probability prediction module are transmitted to the result analysis module via an API interface, forming a closed data flow loop. After the prediction module generates basic values, the probability prediction module performs real-time data processing through parallel computing threads to ensure that the confidence interval calculation delay does not exceed 5 milliseconds.

[0105] Specifically, the probabilistic forecasting module analyzes the distribution of historical forecast errors to construct a dynamically adjusted probability density function. For example, in scenarios with sudden wind speed changes, a sliding time window mechanism is used to update kernel function parameters, with the window length set to 30 minutes to 2 hours. The generated confidence interval data is structured and stored in an in-memory database for access by the results analysis module. The results analysis module uses a visualization engine to overlay the forecast value, confidence interval, and error distribution. For example, a semi-transparent color band represents the 95% confidence interval, while a scatter plot is used to mark historical anomaly data points. When the forecast trend deviates from the historical pattern, the color gradient of the heat map changes to visually indicate areas of error concentration. For example, red areas indicate high-risk periods with errors exceeding 15%. This data processing method allows grid dispatchers to simultaneously observe the fluctuation range of the forecast value and the probability of anomalies, and then select dispatch plans based on the grid's carrying capacity to meet different risk levels.

[0106] As a preferred embodiment, the solution of the present application is specifically implemented as follows: the probability prediction module constructs an error probability model based on the adaptive kernel density estimation method, and processes the differences in prediction error distribution at different time scales through the kernel function bandwidth adaptive adjustment mechanism. Specifically, the Gaussian kernel function is used to perform non-parametric probability density estimation on the prediction error, wherein the kernel bandwidth is dynamically adjusted based on the prediction time span, a 0.5-hour time window is used for short-term prediction, and a 3-hour time window is used for medium- and long-term prediction. During the confidence interval calculation process, a prediction interval with a 95% confidence level is generated by inverting the cumulative distribution function and superimposed on the basic prediction curve in the form of a strip area. The result analysis module integrates a visualization engine to generate a triple dynamic chart including a power prediction curve, a confidence interval band, and an error distribution histogram, wherein the error distribution histogram uses a color gradient to map the error frequency of different time periods, and the prediction trend anomaly detection generates a red warning area by setting an error threshold.

[0107] Through the above technical solutions, this application achieves a quantitative assessment of the credibility of wind power forecast results and a visual presentation of complex data features. Probability density estimation transforms single-value forecasts into banded forecasts with confidence intervals, enabling grid dispatchers to select forecast baseline values based on different risk preferences. Visualization links the distribution of time-series forecast errors with spatial characteristics. Operations and maintenance personnel can quickly locate periods of error aggregation through color gradient mapping. Banded warning areas help identify periods of forecast anomalies that require key monitoring, providing a direct basis for dynamic adjustments to dispatch strategies.

[0108] In some of the above-mentioned schemes in this application, the prediction system outputs short-term wind power forecast results through the prediction module. However, the prediction results are only presented in a deterministic numerical form, which cannot reflect the uncertainty and volatility of wind power forecasts, making it difficult for power grid dispatchers to evaluate the credibility of the prediction results; in addition, the simple numerical results lack an intuitive visual display form, which is not conducive to rapid analysis and decision support of key information such as prediction trends and error distribution.

[0109] In this regard, the present application further proposes a solution including a probability prediction module and a result analysis module.

[0110] The probability prediction module uses an adaptive kernel density estimation method and non-parametric statistical techniques to model the prediction error distribution. For example, the bandwidth parameter can be set between 0.1 and 0.5, and the confidence level can be selected between 90% and 99%. This module converts the deterministic prediction value into a probability distribution and generates a prediction interval with upper and lower bounds. The result analysis module integrates various visualization components, such as generating power curve graphs using Python's Matplotlib library or JavaScript's D3.js framework, and using heat maps to display the spatiotemporal characteristics of the error distribution. The statistical results output by the probability prediction module are transmitted to the result analysis module via an API interface, forming a closed data flow loop. After the prediction module generates basic values, the probability prediction module performs real-time data processing through parallel computing threads to ensure that the confidence interval calculation delay does not exceed 5 milliseconds.

[0111] Specifically, the probabilistic forecasting module analyzes the distribution of historical forecast errors to construct a dynamically adjusted probability density function. For example, in scenarios with sudden wind speed changes, a sliding time window mechanism is used to update kernel function parameters, with the window length set to 30 minutes to 2 hours. The generated confidence interval data is structured and stored in an in-memory database for access by the results analysis module. The results analysis module uses a visualization engine to overlay the forecast value, confidence interval, and error distribution. For example, a semi-transparent color band represents the 95% confidence interval, while a scatter plot is used to mark historical anomaly data points. When the forecast trend deviates from the historical pattern, the color gradient of the heat map changes to visually indicate areas of error concentration. For example, red areas indicate high-risk periods with errors exceeding 15%. This data processing method allows grid dispatchers to simultaneously observe the fluctuation range of the forecast value and the probability of anomalies, and then select dispatch plans based on the grid's carrying capacity to meet different risk levels.

[0112] As a preferred embodiment, the solution of the present application is specifically implemented as follows: the probability prediction module constructs an error probability model based on the adaptive kernel density estimation method, and processes the differences in prediction error distribution at different time scales through the kernel function bandwidth adaptive adjustment mechanism. Specifically, the Gaussian kernel function is used to perform non-parametric probability density estimation on the prediction error, wherein the kernel bandwidth is dynamically adjusted based on the prediction time span, a 0.5-hour time window is used for short-term prediction, and a 3-hour time window is used for medium- and long-term prediction. During the confidence interval calculation process, a prediction interval with a 95% confidence level is generated by inverting the cumulative distribution function and superimposed on the basic prediction curve in the form of a strip area. The result analysis module integrates a visualization engine to generate a triple dynamic chart including a power prediction curve, a confidence interval band, and an error distribution histogram, wherein the error distribution histogram uses a color gradient to map the error frequency of different time periods, and the prediction trend anomaly detection generates a red warning area by setting an error threshold.

[0113] Through the above technical solutions, this application achieves a quantitative assessment of the credibility of wind power forecast results and a visual presentation of complex data features. Probability density estimation transforms single-value forecasts into banded forecasts with confidence intervals, enabling grid dispatchers to select forecast baseline values based on different risk preferences. Visualization links the distribution of time-series forecast errors with spatial characteristics. Operations and maintenance personnel can quickly locate periods of error aggregation through color gradient mapping. Banded warning areas help identify periods of forecast anomalies that require key monitoring, providing a direct basis for dynamic adjustments to dispatch strategies.

[0114] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0115] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not limited to the embodiments shown herein but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A short-term wind power forecasting method based on meteorological data in a wind power generation system, characterized in that: The following steps are involved: S1. Obtain historical wind power data and historical meteorological data for the forecast area, wherein the meteorological data includes information such as wind speed, wind direction, temperature, humidity, and air pressure; S2. Preprocessing the historical data, including data cleaning, normalization, and feature extraction, to construct a training data set and a test data set; S3. Build and train a deep learning-based prediction model using the training data set, where the prediction model includes a long short-term memory (LSTM) network, a convolutional neural network (CNN) network, or a combination thereof; S4. Input the test data set into the trained prediction model to perform short-term wind force prediction and output the prediction result.

2. The method for short-term wind power prediction based on meteorological data in a wind power generation system according to claim 1, characterized in that: The historical meteorological data also includes numerical weather prediction (NWP) data, which is used to provide future meteorological forecast information.

3. The method for short-term wind power forecasting based on meteorological data in a wind power generation system according to claim 1, characterized in that: Clustering algorithms or manual methods are used to process abnormal parts in the data, and sequence decomposition algorithms are used to decompose historical wind power data to achieve data stabilization.

4. The method for short-term wind power prediction based on meteorological data in a wind power generation system according to claim 1, characterized in that: During the training process of the prediction model, the whale optimization algorithm (WOA) is used to optimize the model parameters to improve the prediction accuracy.

5. The method for short-term wind power forecasting based on meteorological data in a wind power generation system according to claim 1, characterized in that: It also includes the steps of estimating the probability density of the prediction results, specifically: The prediction error is analyzed using the adaptive kernel density estimation method to generate the probability density distribution of wind power; Calculate the wind power prediction interval at a given confidence level based on the probability density distribution.

6. The method for short-term wind power forecasting based on meteorological data in a wind power generation system according to claim 1, characterized in that: The prediction model also combines the self-attention mechanism SA to dynamically adjust the distribution of input data weights to avoid the loss of important feature information.

7. The method for short-term wind power prediction based on meteorological data in a wind power generation system according to claim 1, characterized in that: The time range of the short-term wind forecast is from 1 hour to 72 hours in the future.

8. A short-term wind power prediction system based on meteorological data in a wind power generation system, characterized in that: include: Data acquisition module, used to obtain historical wind power data and meteorological data; Data preprocessing module, used to clean, normalize and extract features of the acquired data; Model training module, used to build and train prediction models; The forecast module is used to input real-time data and output short-term wind forecast results.

9. A short-term wind power prediction system based on meteorological data in a wind power generation system according to claim 8, characterized in that: Also includes: Probability prediction module, used to perform probability density estimation and confidence interval calculation on the prediction results; The result analysis module is used to analyze and visualize the prediction results.

10. The short-term wind power prediction system based on meteorological data in a wind power generation system according to claim 8, characterized in that: The prediction model is deployed on a cloud server and exchanges data with the monitoring system of the wind farm through a network interface.

Citation Information

Cited By

  • Ultra-short-term output power prediction method for energy storage type hydraulic wind generating set

    CN121440530A