1. Introduction
Climate change and environmental degradation represent major challenges at both the European and global levels. In response, the European Green Deal aims to transform the EU into a resource-efficient and competitive economy, targeting climate neutrality by 2050 and a reduction of at least 55% in greenhouse gas emissions by 2030 compared to 1990 levels [
1]. In March 2023, the EU further strengthened its renewable energy objectives by increasing the 2030 binding target to at least 42.5%, with an ambition to reach 45% of the energy mix from renewable sources [
1].
Renewable energy sources—including solar, wind, hydropower, geothermal, and biomass—play a central role in decarbonization strategies, with wind energy emerging as the most developed technology worldwide, reaching a global installed capacity of 837 GW [
1,
2]. The efficient integration of wind energy into power grids is essential for maintaining system reliability, particularly given the typical 15–20-year operational lifespan of wind power plants and the influence of maintenance and component degradation on long-term performance [
2].
As power systems progress toward deep decarbonization, wind energy penetration is expected to increase substantially, potentially exceeding 40% of total electricity generation in several regions. However, the inherent intermittency of wind poses significant challenges, leading to mismatches between generation and demand and increasing the need for accurate forecasting and grid management solutions [
3].
Wind energy development has been studied across diverse geographical contexts, including Africa and the European Union. While Africa exhibits substantial wind potential, installed capacity remains limited and unevenly distributed, with most developments concentrated in Northern Africa and South Africa [
4,
5]. Similarly, wind energy assessments in countries such as Libya highlight the viability of wind power based on life-cycle and environmental analyses [
6]. At the European level, comprehensive market analyses based on Wind Energy Barometer data indicate sustained growth and heterogeneous deployment across EU member states [
7].
The report was compiled using data published annually in the Wind Energy Barometer, detailing the wind energy market trends in European Union member states, as shown in
Figure 1.
In 2022, the growth of wind and solar energy installations remained high, continuing the momentum seen in 2021. An additional 75 GW of wind capacity and 191 GW of solar capacity were installed, driven primarily by China (+37 GW of wind and +86 GW of solar), the USA, and the EU. These efforts significantly boosted global renewable energy generation. The share of wind and solar energy in global electricity production increased by 1.5 percentage points, reaching over 12% in 2022, a significant rise from 2010 (+10 percentage points). Specifically, China saw a 2-point increase to 13.5%, while the USA’s share grew by 1.7 points, surpassing 14%. In Europe, the increase was more pronounced, with a rise of over three percentage points, bringing the total to nearly 22%. Notable gains were observed in countries like the Netherlands (+7.6 points) and Germany (+4.3 points), both exceeding 32%, as well as in Portugal, the UK, Poland, and Sweden (around +4 points each). Beyond these three major markets, the share of wind and solar in the energy mix also expanded in Australia (+3.6 points, reaching over 23%), Latin America (+1.7 points to 13%, with Chile up +5.4 points to 26% and Brazil up +2.9 points to 16%), and in Asia (+1.5 points to 12%, with wind and solar surpassing 10% in Japan and India). However, wind and solar energy remain marginal in Africa (5%, including 6% in South Africa), the Commonwealth of Independent States (CIS) (1%, with less than 1% in Russia and 6% in Ukraine), and the Middle East (less than 2%, despite increasing renewable generation in the United Arab Emirates) [
8].
Accurate wind energy forecasting has become essential for the reliable integration of wind power into modern electricity grids [
9]. Predictive models support grid operators by anticipating production variability, improving supply–demand balance, and enhancing overall grid stability [
10,
11]. A wide range of forecasting approaches has been proposed, including statistical, physical, and artificial intelligence (AI)-based methods. While statistical and physical models rely on historical data and atmospheric simulations, machine learning techniques increasingly dominate recent studies due to their ability to capture nonlinear relationships using large meteorological and production datasets [
12].
The intermittency of wind energy also affects grid components, such as transformers, whose aging and degradation processes are difficult to predict due to variable operating conditions. Existing approaches typically combine forecasting models with detailed power system configurations to assess component stress and lifespan [
13].
Numerous AI-based wind energy forecasting models have been reported in the literature. Artificial neural networks (ANNs) have been successfully applied for short-term energy prediction using meteorological inputs [
14], while support vector machine (SVM)-based methods demonstrated improved performance compared to persistence models [
15]. Hybrid approaches, such as SVM combined with metaheuristic optimization techniques, further enhanced prediction accuracy when tested on real wind farm data [
16]. Other hybrid models, including ANFIS optimized with particle swarm optimization, achieved low prediction errors in short-term forecasting tasks [
17]. Comparative studies indicate that machine learning models such as decision trees, nearest-neighbor regression, ANN, and SVM outperform linear regression techniques, with ANN-based models generally providing the highest accuracy at the cost of increased computational complexity [
18]. Similar conclusions were reported in multi-model comparisons conducted on operational wind farms, confirming the effectiveness of AI-based approaches for wind energy prediction [
19].
Several forecasting approaches focused on wind energy production in the Romanian context have been reported in the literature. For small-scale wind farms located in hilly regions of Romania, a two-step forecasting solution based on artificial neural networks was developed to improve hourly prediction accuracy, showing the potential of ANN-based models for local prediction tasks [
20] (Lungu et al., 2016). In addition, machine learning techniques, including artificial neural networks, support vector machines, and decision tree models, have been applied to wind energy prediction in Romania, demonstrating that properly tuned ANN-based approaches can achieve high predictive accuracy, albeit with increased computational cost (Buturache and Stancu, 2021) [
21]. Beyond neural network models, statistical methods such as the EGARCH model have been applied to analyze the volatility of wind energy production in Romania, offering insight into the variability and predictability of wind generation across the national grid [
22].
This paper proposes a deep learning-based approach for predicting wind energy production in Romania by implementing feedforward neural networks and recurrent neural networks. Moreover, the theoretical fundamentals, data, and problem statement are explained in detail so that any other academics or professionals in the renewable energy field can replicate the experiment and later apply it to real-world scenarios. This study contributes by (i) providing a systematic benchmark comparison between FFNN and RNN models under identical experimental conditions, (ii) evaluating a large number of model configurations using national-scale operational data, and (iii) validating model robustness on multiple unseen time intervals. The focus is on reproducibility and practical forecasting performance rather than architectural novelty.
3. Results and Discussion
The results of the study are in line with RNN and feedforward neural network characteristics, providing very good performance for a wide range of hyperparameters. This is confirmation of the fact that the generalization capabilities of both architectures can handle prediction tasks even though the hyperparameter selection is not perfect for the use case. By globally assessing how well the models were built and performed, it is clear that for time-series data, RNNs have some extra prediction capabilities compared to FFNNs (
Figure 8).
Figure 7 presents a comparative distribution of the FFNN and RNN model performances across various R
2 intervals. The histogram illustrates the number of models (out of 1296) that fall within specified R
2 ranges, thereby offering insight into the consistency and generalization ability of each architecture.
It is evident that RNN models outperform FFNN models in the higher R2 ranges. Specifically, while FFNNs show a sharp concentration in the lower range (R2 = 0), with 351 models, RNNs demonstrate better learning and prediction capabilities, with only 326 models falling in the same lowest category. More notably, RNNs dominate the higher ranges: 219 models achieve R2 between 0.7 and 0.8, and 252 models exceed R2 of 0.8. In contrast, FFNNs record only 42 models in the 0.8–0.9 range and none above 0.9, indicating limited capacity to achieve high accuracy on unseen data.
This distribution highlights the superior generalization of RNNs when dealing with time-series data, as over 42% of RNN models surpass the R2 threshold of 0.80. This also suggests that RNNs, due to their inherent capability to capture temporal dependencies, are more robust in modeling wind energy variations over time compared to feedforward architectures.
Figure 8 quantitatively supports the claim that RNNs exhibit enhanced predictive power and reliability, especially in high-accuracy scenarios, which is critical for applications such as short-term wind power forecasting.
In terms of performance, the top three models are described in
Table 3 and
Figure 9.
Table 3 and
Figure 9 present a detailed comparison of the top three performing neural network models based on their respective R
2 (coefficient of determination) and MAE (mean absolute error) values. All three models share common hyperparameters in terms of number of hidden layers (2) and batch size (128), indicating that these two factors are particularly influential in achieving high predictive performance. These constants suggest that an optimal batch size and architectural depth are essential when forecasting wind power with deep learning models.
The variation among the models lies in other hyperparameters such as the activation function, weight initialization, and the number of neurons in each hidden layer. However, as noted in the manuscript, it is difficult to isolate a single parameter as dominant; rather, proper tuning within well-defined ranges during the optimization process allows each configuration to reach high accuracy.
Figure 8 illustrates the performance metrics of the top three models. Model 1, using a tanh activation function and Adam optimizer, achieved the best performance with an R
2 value of 0.9680 and an MAE of 81.03 MW. Models 2 and 3, both using sigmoid activations and the RMSprop optimizer, followed closely with R
2 values of 0.9676 and 0.9666, and MAE values of 81.31 MW and 81.65 MW, respectively.
The differences in performance are minimal—less than 0.002 in R2 and less than 1 MW in MAE—confirming the robustness of the models and validating the consistency of the deep learning approach under varying hyperparameter configurations. These results also reinforce that RNN-based architectures, when properly tuned, can deliver accurate wind energy forecasts, with an error margin of under 4.5% relative to the mean output (~850 MW).
In conclusion, both
Table 3 and
Figure 9 demonstrate that small variations in configuration can still yield comparably high accuracy, provided the architectural backbone (layers and batch size) remains optimal. These insights are valuable for future deployments where computational efficiency and model interpretability may guide hyperparameter selection.
A quantitative comparison between the best-performing RNN and FFNN models indicates that recurrent architectures consistently achieve lower prediction errors. Specifically, the optimal RNN configuration reduces the mean absolute error (MAE) by approximately 12–15% compared to the best FFNN models, while also achieving a reduction in root mean square error (RMSE) of up to 20%. These improvements highlight the advantage of capturing temporal dependencies when forecasting wind energy time series.
Another way to assess model performance can be done in a qualitative manner by plotting the actual values recorded against the predicted values. For Model_1, the time interval between 2023-12-20T00:00:00 and 2023-12-21T23:59:59 is selected (
Figure 10). This time interval is selected out of the testing subset, being a representation of how well the model can generalize to unseen data.
Figure 10 provides a qualitative assessment of the predictive performance of Model_1 by comparing actual wind energy production values with the corresponding predicted values over a 48 h period, specifically between 2023-12-20T00:00:00 and 2023-12-21T23:59:59. This interval was selected from outside the original training and validation datasets, offering a clear indication of the model’s generalization capability on unseen data.
The comparison reveals a close alignment between the actual (black line) and predicted (red line) values, with the model successfully capturing the overall trend, peak structures, and local variations in the wind power output. Notably, the model responds well to both ascending and descending slopes of the power curve, reflecting its ability to follow the natural volatility of wind energy generation.
While minor deviations are visible—particularly around the peak value near midday on December 21—the predicted curve remains within acceptable bounds and does not exhibit systematic lag or phase shifting, which is a common drawback in time-series forecasting models. The slight overestimation near the peak may be attributed to dynamic meteorological fluctuations not fully captured by the input variables.
Overall,
Figure 10 confirms that Model_1 demonstrates strong temporal learning and prediction stability under real-world conditions. The qualitative match between actual and predicted values supports the previously observed quantitative metrics (e.g., R
2 = 0.9680, MAE = 81.03 MW) and reinforces the suitability of the selected model architecture for short-term wind energy forecasting.
Another meaningful analysis is to see how the model performs for a time interval outside the one considered for testing. In an attempt to simulate a scenario as close as possible to a real-world one,
Figure 11 plots the actual values against the predicted values of the same Model_1, but for the time interval from 2024-03-15T00:00:00 to 2024-03-16T23:59:59.
Figure 11 illustrates a complementary evaluation of Model_1’s robustness by testing it on a new time interval entirely outside the original test set, namely from 2024-03-15T00:00:00 to 2024-03-16T23:59:59. This scenario simulates real-world applicability, where the model must forecast wind energy based on future unseen conditions.
The visual comparison between actual values (black line) and predicted values (red line) reveals that Model_1 maintains a high level of prediction accuracy. The model successfully tracks the general shape and amplitude of the production curve, including the initial steep increase and subsequent peak values above 2400 MW. Moreover, the prediction maintains coherence with the actual trend, even in areas of sharp curvature and inflection, such as the minor drop occurring mid-interval.
Despite this, a slight systematic underestimation is noticeable across most of the time span, particularly in the plateau and descending segments. This may suggest a conservative bias of the model under high wind energy conditions, possibly due to limitations in the training data’s variability range or incomplete representation of extreme weather scenarios in the input features.
The high R2 values and low MAE obtained indicate strong overall predictive performance across the full range of observed wind power values. This suggests that, at the national and hourly aggregation levels considered, wind energy production exhibits a high degree of short-term predictability. Such predictability does not eliminate inherent variability but can reduce operational uncertainty and support grid scheduling and reserve planning.
Nevertheless, the absence of abrupt prediction failures and the overall close tracking of actual values demonstrate that the model generalizes effectively, even when applied to time windows far removed from the training context. The consistency of prediction performance across multiple time intervals further validates the model’s reliability for short-term forecasting tasks in operational energy systems.
Analyzing
Figure 10 and
Figure 11, it can be observed that the model tends to slightly underestimate the wind energy production compared to actual values. And yet, the performance of the model remains high, and the difference between actual values and predicted values is very small.
The results of this study are consistent with, and extend beyond, previous wind energy forecasting research conducted both in Romania and at the international level. Lungu et al. [
20] demonstrated the applicability of ANN-based models for small-scale wind farms in hilly regions of Romania, focusing on localized forecasting accuracy. In contrast, the present work evaluates a substantially larger model space, including both FFNN and RNN architectures, validated at a national scale and across multiple unseen time intervals.
Compared to the machine learning-based study of Buturache and Stancu [
21], which analyzed ANN, SVM, and decision tree models, the present research advances the state of the art by explicitly modeling temporal dependencies through recurrent neural networks and by systematically quantifying accuracy–computational cost trade-offs. Statistical approaches, such as the EGARCH-based volatility analysis proposed by Murărașu [
22], provide valuable insights into production variability, but do not directly address short-term operational forecasting, which is the primary focus of this work.
At the international level, several studies have reported the effectiveness of advanced deep learning architectures for wind power forecasting, including LSTM- and GRU-based models and hybrid frameworks ([
32,
33,
34]). While these approaches often achieve high accuracy, they are typically evaluated on limited datasets or specific wind farms. The present study differentiates itself through a large-scale, reproducible comparison of FFNN and RNN models using real operational data and by emphasizing robustness, generalization, and practical applicability for power system operation.
Despite the strong predictive performance, several limitations should be noted. The study is restricted to standard FFNN and RNN architectures and to a single national dataset, which may limit direct generalization to other regions or climates. In addition, more advanced architectures such as LSTM or GRU were not considered. These limitations point to future research directions focused on broader geographical validation and the inclusion of more expressive temporal models.
4. Conclusions
This study assessed the performance of deep learning models—specifically feedforward neural networks (FFNNs) and recurrent neural networks (RNNs)—for wind energy prediction, with emphasis on accuracy, generalization, and interpretability. The results indicate that RNNs consistently outperform FFNNs within the investigated experimental setup, achieving a reduction in mean absolute error (MAE) of approximately 12–15%, depending on the dataset.
The analysis of input variables suggests that wind speed and wind direction are the most influential factors affecting prediction accuracy. Incorporating these variables as primary inputs led to a reduction in root mean square error (RMSE) of up to 20% compared to baseline model configurations without explicit feature selection.
While RNN-based models achieved higher predictive accuracy, they also required increased computational resources. For example, the optimal RNN configuration required approximately 4 h of training time on a standard GPU setup, compared to around 40 min for the best-performing FFNN model, highlighting a trade-off between model complexity and deployment efficiency.
Wind power forecasting remains a challenging task due to the inherent intermittency of wind. Nevertheless, even moderate reductions in forecasting error (on the order of 5–10%) can have meaningful operational benefits, including improved grid stability and reduced reliance on backup generation from conventional sources.
From an operational perspective, the proposed forecasting framework has the potential to support real-world power system operation by assisting short-term scheduling, reserve allocation, and grid balancing decisions. Hourly wind power forecasts may be used by transmission system operators and wind farm operators to anticipate production variability and improve coordination with other energy sources, particularly under increasing wind energy penetration.
It should be noted that the present validation is limited to a single national dataset and a specific temporal scope. Consequently, while the results demonstrate promising accuracy, generalization within this context, broader validation across multiple geographical regions, longer time horizons, and additional model architectures are required to fully assess robustness. More complex architectures were intentionally excluded in order to maintain a controlled and reproducible comparison with lower computational complexity. Future work will therefore focus on extending the framework through the integration of more advanced recurrent architectures, such as Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU) networks, as well as by incorporating turbine operational parameters, high-resolution meteorological data, and hybrid or physics-informed modeling approaches.