Next Article in Journal
A Concise Review of Power Batteries and Battery Management Systems for Electric and Hybrid Vehicles
Previous Article in Journal
Analysis and Design of a Multiple-Driver Power Supply Based on a High-Frequency AC Bus
Previous Article in Special Issue
Strategic Analysis of the Renewable Electricity Transition: Power to the World without Carbon Emissions?
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

The Impact of Wind Speed on Electricity Prices in the Polish Day-Ahead Market Since 2016, and Its Applicability to Machine-Learning-Powered Price Prediction

by
Rafał Sowiński
* and
Aleksandra Komorowska
Mineral and Energy Economy Research Institute of the Polish Academy of Sciences, ul. Wybickiego 7A, 31-261 Kraków, Poland
*
Author to whom correspondence should be addressed.
Energies 2025, 18(14), 3749; https://doi.org/10.3390/en18143749
Submission received: 5 May 2025 / Revised: 17 June 2025 / Accepted: 9 July 2025 / Published: 15 July 2025

Abstract

The rising share of wind generation in power systems, driven by the need to decarbonise the energy sector, is changing the relationship between wind speed and electricity prices. In the case of Poland, this relationship has not been thoroughly investigated, particularly in the aftermath of the restrictive legal changes introduced in 2016, which halted numerous onshore wind investments. Studying this relationship remains necessary to understand the broader market effects of wind speed on electricity prices, especially considering evolving policies and growing interest in renewable energy integration. In this context, this paper analyses wind speed, wind generation, and other relevant datasets in relation to electricity prices using multiple statistical methods, including correlation analysis, regression modelling, and artificial neural networks. The results show that wind speed is a significant factor in setting electricity prices (with a correlation coefficient reaching up to −0.7). The findings indicate that not only is it important to include wind speed as an electricity price indicator, but it is also worth investing in wind generation, since higher wind output can be translated into lower electricity prices. This study contributes to a better understanding of how natural variability in renewable resources translates into electricity market outcomes under policy-constrained conditions. Its innovative aspect lies in combining statistical and machine learning techniques to quantify the influence of wind speed on electricity prices, using updated data from a period of regulatory stagnation.

1. Introduction

Wind energy is crucial in the global energy transition towards carbon neutrality. During the 2015 UN Climate Change Conference, the Paris Agreement was signed, aiming to limit the rise in Earth’s surface temperature to 1.5 °C [1]. One of the most important causes of global warming is greenhouse gas emissions [2]; hence, current efforts are prioritised to reduce them. To decrease emissions and even halt them entirely by 2050, fossil fuels, such as hard coal and lignite, are being replaced by environmentally friendly renewable energy sources (RESs). These efforts have led to a significant reduction in net greenhouse gas emissions in the EU-27, dropping below 3000 MtCO2e in 2024 [3]. Among RESs, wind and solar are the most widely recognised, with wind power providing more electricity as of 2023 [4]. Globally, wind energy accounted for 7.8% of electricity generation in 2023, up 0.5 percentage points compared to the previous year. This share was even higher in Europe, reaching 12.3%.
Similarly to global efforts, Poland is also intensifying its transition towards a more renewable energy mix [5]. The current EU goal is to achieve a 42.5% RES share by 2030, as set by Directive 2023/2413 [6]. In line with this, the latest version of the Polish National Energy and Climate Plan sets a national target of 32.6% RESs in final energy consumption [7]. Wind energy is one of the most widely used renewable energy sources in Poland due to its efficiency, scalability, and decreasing costs. In 2023, installed onshore wind capacity reached 8.98 GW, generating 35.208 TWh of electricity, almost 8 TWh more than the previous year [8]. By 2030, onshore and offshore wind farms are expected to contribute 19 and 5.9 GW, respectively, to the installed capacity [7]. As such, wind farms are expected to be a driving factor in achieving carbon-neutral electricity production.
The first wind turbine was connected to the Polish power system in 2002 [9], but early development was hindered by a lack of clear regulations and financial incentives. After joining the European Union in 2004, Poland became subject to EU climate and energy policies, including a target of 7.5% RESs in final consumption by 2010 [10]. According to Ref. [11], between 2005 and 2015, wind capacity increased by an average of 489.5 MW annually, driven by strong market incentives and contributing significantly to Poland’s progress towards EU climate goals (Figure 1).
According to Refs. [13,14], Polish regulations underwent significant changes regarding wind farms in 2016. In response to concerns raised by people living in close proximity to wind turbines, a so-called “10H rule” came into force. The rule stated that no wind turbine could be placed closer than ten times its height to any residential buildings and protected areas, such as national parks [15]. This regulation effectively excluded between 93.1% and 97.5% of Polish territory as potential wind farm locations (depending on the scenario), as the government saw a greater concern in local populations’ comfort, rather than energy sector development. Moreover, between 89% and 97% of wind turbines built before the enactment were located in the excluded zones [11,16,17]. These changes led to a massive, three-year-long halt in the wind energy sector development, during which the yearly increase in 2017, 2018, and 2019 did not even reach 1%.
In 2023, new legislation allowed municipalities to apply exceptions to the 10H rule through local spatial development plans, provided that a minimum distance of 700 metres is maintained [17]. This change aimed to stimulate wind investment and enable local-level decision-making. While the full market response is still developing, the legal shift has already stimulated renewed interest in onshore wind projects.

1.1. Literature Review

Due to the ever-growing renewable energy production, combined with climate and other regional or national conditions, the understanding of its impact on electricity prices in the day-ahead market is constantly challenged. Jonsson et al. (2013) [18] proposed a two-step statistical methodology for forecasting electricity prices accounting for wind power predictions. Using data spanning from 2008 to 2011 from the Western Danish price area, it was concluded that accounting for wind power with adaptive parameter estimation is beneficial to electricity price predictions and could be integrated into other, less wind-focused markets. Branucci Martinez-Anido et al. (2016) [19] used a PLEXOS simulation engine to develop a model of electricity prices in New England, which included wind data as the input and achieved an overall accuracy of more than 90%. They concluded that as electricity prices decrease, their volatility increases with a higher level of wind penetration.
In 2013, Mulder and Scholtens analysed the impact of renewable energy on electricity prices in the Netherlands and concluded that the Dutch market was not significantly affected by the growth of the renewable energy sector [20]. Ketterer conducted a similar analysis on the German market in 2014. The study showed that intermittent wind power generation decreases the wholesale electricity price and increases its volatility [21]. Branucci Martinez-Anido et al. (2016) came to the same conclusion for the New England region in the United States of America [19]. These findings highlight the broader trend observed across various energy markets, where the increasing share of renewables, particularly wind energy, leads to a reduction in electricity prices while simultaneously introducing greater price volatility.
Badyda et al. (2017) [22] analysed the impact of wind on electricity prices in several European countries and found that both power demand and electricity prices are highly dependent on weather conditions, although wind speeds are highly unpredictable. It was also concluded that wind farm generation had a smaller impact on electricity prices in Poland than in France or Italy because wind power did not contribute significantly to the Polish Power System in the analysed years.
According to the findings of the reviewed publications, regional electricity markets differ, especially considering different energy mixes, energy policies, support mechanisms, and geographical locations. Considering conditions in Poland, Pieczarko et al. (2016) [11] analysed spot electricity prices in relation to wind power generation, using data from 2013 to 2015. It was shown that the majority of average daily prices above 180 PLN/MWh occurred only when wind power generation dropped below 1000 MWh. Furthermore, most prices above 200 PLN/MWh were recorded only when wind power generation was around 500 MWh or lower. The impact of wind generation on the incremental clearing price in the Balancing Market was examined by Miller et al. (2015) [14] by determining the nature of this correlation. It was shown that wind generation exceeding 20% of the planned demand has a direct impact on the incremental clearing price.
The aforementioned studies lacked insight into the specificity of the Polish energy market, which is crucial due to Poland’s energy mix, high reliance on coal, and the transitional challenges it faces in aligning with EU decarbonisation targets. Research conducted in other countries takes into account different geographical and environmental characteristics, making direct comparisons difficult or even impossible. Other studies, when they did consider the Polish context, such as Igliński et al. (2015) [23], Gnatowska et al. (2019) [24], and Brzezińska-Rawa et al. (2014) [25], used older data and no prediction models, which makes them less relevant to the current situation. These differences may become even more apparent when considering the impact of the 2020 global pandemic [26] and the ongoing Russian–Ukrainian war that began in 2022 [27].

1.2. Study Contribution

The literature review shows that the impact of certain conditions (both human-dependent and natural) on electricity prices in Poland over the years remains largely unexplored. Previous studies often focused on strictly mathematical and computational analyses, while this study contributes by providing a machine learning context. Machine learning models are capable of outperforming classical forecasting models, and understanding the impact of wind speed input on their accuracy may prove beneficial. As a result, this article aims to examine and understand the dependencies among known electricity production and energy pricing factors, with a particular focus on directions for energy price forecasting, which may support improved investment decisions and energy policy design.
To achieve this, various datasets concerning electricity prices and wind energy generation in Poland in the last eight years were collected and thoroughly analysed. This paper provides a novel and comprehensive analysis of the multiple factors influencing electricity in Poland’s day-ahead market, accounting for an evolving regulatory framework, increasing renewable penetration, and recent external shocks such as the COVID-19 pandemic and the Russian–Ukrainian war.
A key contribution of this research is the integration of historical wind generation data with market price trends, enabling a better understanding of how the growing role of renewable energy sources affects market behaviour. These findings may inform future research on electricity price forecasting in countries undergoing energy transition and offer insights that could support ongoing discussions on energy market design.
The remainder of the paper is organised as follows. Section 2 presents the tools and models developed and employed for analysing gathered data, as well as the data itself. Section 3 presents and discusses the results, and finally, Section 4 concludes the study.

2. Materials and Methods

This section outlines the materials and methods employed for data preprocessing, analysis, and machine learning model development. Figure 2 illustrates an overview of the entire process, which is explained in detail later. Data preprocessing is crucial to ensure data quality and accuracy in later steps, while the analysis provides answers to the aforementioned research problem. A machine learning model is used to confirm the identified dependencies and implement them in practice.
As shown in Figure 2, electricity prices and demand, alongside wind farm capacity, generation, and wind speed, were used as inputs for statistical analysis, regression models, and machine learning models. The data was then processed through these three paths, which resulted in electricity price prediction and electricity prices (wind speed dependency indicators). These were used to draw recommendations regarding wind farm development in Poland.

2.1. Data Acquisition and Preprocessing

Retrieved datasets varied in their layouts. The day-ahead market dataset was divided into four columns, that is, price and volume for Fixing I and II, respectively [28]. Rows contained values divided on an hourly basis from 1 January 2016 to 4 December 2024. Other datasets were later adjusted to this one, as it served as a basis for machine learning predictions. Hourly electricity demand and wind generation data were only available from 1 January 2016 to 14 June 2024, because on that day, the Transmission System Operator (TSO) changed the time basis of data acquisition.
The electricity price in the Polish day-ahead market is set according to a merit order, which is a ranking of all offers submitted by the electricity producers from the lowest to the highest. The prices offered typically reflect the variable cost of operating these units. To meet the rising demand, more expensive units must be turned on, which causes the overall price to increase. The merit order is illustrated in Figure 3, in which renewable, cogeneration, and industrial units have the lowest operational costs, whereas conventional units have increasingly higher operational costs, ranging from lignite-fired to natural gas-fired power plants.
The demand dataset contained generation data from the dispatchable and non-dispatchable units, synchronous and asynchronous cross-border exchange data, while the RES dataset contained both wind and solar generation data. The breakdown of electricity generation from 2016 is presented in Figure 4. While regulatory barriers have hindered the development of onshore wind since 2016, they have simultaneously encouraged the growth of small-scale photovoltaic installations [29,30].
The daily average electricity price over time can be seen in Figure 5. Until the first half of 2021, the electricity price remained relatively stable at around 250 PLN/MWh, although a slight decrease was observed in the first half of 2020. Prices in later months reflect the European energy crisis caused by the Russian invasion of Ukraine and the following sanctions. The situation began to stabilise in late 2022.
Two different wind speed datasets were used. One consisted of the daily measurements from all available weather stations in Poland, which also contained the cloud coverage and temperature data from 1 January 2016 to 30 June 2024 (adjusted for the demand and generation datasets) [32]. The other was an hourly reanalysis at the coordinates of some of the largest wind farms in Poland. This was the only dataset not available in Comma-Separated Values (.csv) format, but rather in a General Regularly-distributed Information in Binary form (GRIB) format, which required additional conversion [33]. The wind capacity factor per NUTS 2 region is presented in Figure 6. Since the wind speed data used in subsequent analysis was averaged from reanalysis data points corresponding to the locations of the largest wind farms, the analysed areas naturally overlapped with regions exhibiting the highest capacity factors. In particular, this included areas in northwestern Poland, where average capacity factors ranged from 0.3 to 0.32.
The data used in this study were sourced from multiple governmental and non-governmental institutions to ensure a comprehensive analysis of electricity prices and renewable energy development in Poland. While some datasets were freely accessible, others required access through specialised platforms. Historical pricing and generation data were obtained from Energy Instrat [28], which provides open-access energy market data collected from the day-ahead energy market and the Transmission System Operator (PSE SA, [35]). The Polish Transmission System Operator provided data on demand and generation [35]. Historical wind capacity installed data were obtained from Energy Instrat [31]. Additionally, climate data were retrieved from the Institute of Meteorology and Water Management [32], as well as from ERA5 CDS [33].
Data was mostly analysed using the open-source programming language Python (3.11.0, Python Software Foundation, Wilmington, DE, USA), along with several specialised libraries. The pandas library was used for data processing and analysis, while numpy facilitated operations on multi-dimensional arrays and matrices, as well as high-level mathematical functions. Scipy is a commonly used Python library that provides fundamental algorithms for scientific computing, such as optimisation, interpolation, and other problem classes. Keras is an open-source artificial neural network library integrated into the TensorFlow software library. Finally, the statsmodels library was used for regression models, and the matplotlib library for generating plots.
Before analysis, the data had to be cleaned and pre-processed to ensure its consistency and accuracy. Data cleaning was performed using Python and the pandas library, in which missing values were handled appropriately to prevent errors in calculations. Depending on the specific dataset, missing values were replaced with either interpolated values or the most recent valid values. To facilitate time series analysis, all indices were converted to a datetime object, representing each hour since 1 January 2016 01:00:00. Finally, all individual datasets were merged into a single, unified dataset.

2.2. Machine Learning Models

Acquired and pre-processed data were analysed by statistical methods and functions, including regression models, which provided dependency indicators, and machine learning models, confirming these indicators as important factors of electricity prices.
While conducting research, a variety of machine learning models and their combinations were used to test the data and findings from statistical analysis, so as not to draw hasty conclusions. The research relied on artificial neural networks (ANNs), which are a branch of machine learning techniques inspired by the human nervous system. ANN consists of nodes grouped in layers, including an input layer, one or more hidden layers, and an output layer. Each node is connected to others in adjacent layers, and each connection has a weight value assigned to it. Nodes work by calculating weighted sums of their inputs and passing the results through a nonlinear activation function [36]. The simple neuron model function is shown in Equation (1) [37], where a represents the output of a single neuron, σ is a nonlinear activation function, w is the weight vector, x represents the input vector, and b denotes bias.
a ( x ) = σ w T x + b  
A feedforward neural network (FNN) is a basic type of ANN. In an FNN, data can only flow in one direction, from input nodes (neurons), through hidden layers, to output nodes [38]. This means that feedback loops are not possible. The architecture of an n-layered FNN can be represented as a result of feeding the output of the neurons from the previous layer as the input to the next layer’s nodes, as shown in Equation (2), which is an extension of Equation (1), where σ is a nonlinear activation function, W denotes the weight matrices, x represents the input vector, and b denotes the respective bias. Figure 7 presents a graphical representation of this architecture.
f x = σ n W n σ n 1 W n 1 σ 1 W 1 x + b 1 + b n 1 + b n
On the contrary, the architecture of a recurrent neural network (RNN) is based on a feedback loop. Outputs can be fed to the previous layers via a hidden state containing the recurrent information, resulting in a kind of circular graph, as can be seen in Figure 8 [39]. It is worth noting that a node can be connected to itself. Because of this property, the RNNs are very useful at dealing with sequential data, but face a problem when handling long-term dependencies, as the hidden error states flowing backwards tend to either vanish or explode [40]. This problem is often referred to as the “vanishing gradient problem”. Equation (3) [40] presents a regular recurrent neuron function, where at represents the output of a singular neuron, σ is a nonlinear activation function, wa and wx denote the recurrent information and input weight vectors, x represents the input vector, and b denotes bias.
a t = σ w a a t 1 + w x x t + b
To combat the vanishing gradient problem, in 1997, Hochreiter and Schmidhuber proposed a new type of recurrent neuron—the long short-term memory (LSTM) cell [41]. LSTM improved RNNs by introducing input, output, and, in later versions, forget gates into the neuron, which allowed cells to remember and, unlike regular RNNs, forget values over time. The input gate assigns a value between 0 and 1 to every piece of new information, and based on that, decides what should be discarded and what should be kept. The same mechanism applies to the forget gate, although considering both the input and the recurrent state. Finally, the output gate decides, based on the current and previous states, which pieces of information should be passed on [40,41]. Figure 9 represents a single LSTM neuron with the forget gate (Figure 9a), input gate (Figure 9b) and output gate (Figure 9c), where the nonlinear function activation blocks are σ, representing the sigmoid function, and tanh, representing the hyperbolic tangent, while and represent pointwise addition and multiplication, respectively. The same cell can be represented mathematically as Equations (4)–(9) [40], where at represents the output of a neuron, σ and tanh are nonlinear activation functions, w denotes the weights, x is the input, b denotes bias, and c is the cell state.
f t = σ w f a a t 1 + w f x x t + b f  
i t = σ w i a a t 1 + w i x x t + b i  
c ¯ = t a n h w c ¯ a a t 1 + w c ¯ x x t + b c ¯  
c t = f t c t 1 + i t c ¯ t  
o t = σ w o a a t 1 + w o x x t + b o
h t = o t tanh c t
To reduce the number of parameters in an LSTM model, Chu et al. (2014) introduced the RNN encoder–decoder model, which implemented a novel type of hidden unit, now commonly known as the gated recurrent unit (GRU) [42]. It optimises the architecture of an LSTM cell by reducing the number of gates to two, namely, the update gate and the reset gate. The update gate determines whether the hidden state should be updated with a new hidden state, while the reset gate decides whether the previous hidden state should be ignored or not [42,43]. Figure 10 presents a GRU neuron.
The most accurate price prediction model trained on a choice of aforementioned datasets during the study was a combined GRU and convolutional neural network (CNN) model, trained using time series cross-validation. This architecture has already been used and tested in similar time series applications, such as load or air temperature forecasting [45,46]. Its architecture is shown in Figure 11. The first layer is the convolution layer aimed at extracting local patterns. The next two layers are both GRU layers—the first, with 64 units, returns the full sequence to the second, which has 32 units. These RNN layers are designed to capture long-term dependencies and aggregate the contextual information. The last two layers serve as the additional feature combiner and the output.
The price prediction ML model compiled during the study was trained using historical electricity prices and demand, as well as wind speed and wind generation data. It allows for precise electricity price predictions for either 1 or 24 h ahead. The model outputs a time series of electricity prices, which are later plotted and compared to the subset of the test data. Other statistical methods led to the acquisition of correlation and determination coefficients, which allow for a better understanding of the relationships between electricity prices and wind speed.

3. Results and Discussion

This section presents the results obtained by employing the proposed modelling framework. The analysis focuses on key indicators such as the Pearson correlation coefficient between wind speed (or other variables) and electricity price, and the coefficient of determination derived from linear regression models. This analysis led to selecting the most appropriate input variables for the price prediction machine learning models. These models were used to assess the impact of the selected input variables as important to the electricity price. The accuracy of these models, and by extension, the level of impact of selected input variables, was measured using the mean absolute error (MAE).

3.1. Price Data Analysis

The analysed historical data were collected on an hourly basis. The initial visual analysis revealed a cyclical nature of the data. This temporal dependence was subsequently examined in more detail by dividing the dataset into daily, weekly, and monthly subsets. These were then reanalysed visually to learn more about temporal cycles affecting price variations.
The analysis of the results, supported by graphical examination of the plotted data points, enabled the formulation of several key conclusions on the Polish energy market. Firstly, the electricity price varies over the course of a day. Each day shows an easily recognisable pattern, as shown in Figure 12, that repeats over time. This pattern is also evident on a larger scale in Figure 13, as it is present every day of every month, regardless of the overall trend or price level. The daily pattern consists of two peaks connected by periods of lowered prices. By calculating the average price for every hour of the day, the average position of the daily peaks becomes clearer, as can be seen in Figure 12. These daily peaks tend to occur around 8 a.m. and 7 p.m., which is related to the diurnal activity patterns of consumers [47]. Unsurprisingly, the distribution outline of both the highest and lowest daily electricity prices from 3086 days, as shown in Figure 14, closely follows the average price plot. Most commonly, the highest prices occur in the evenings, around 8 p.m., while the lowest prices occur during the night, around 2 a.m. As can already be seen, electricity prices are highly temporal on a daily scale. This temporality prompted the use of a recurrent neural network as the prediction model.
Extending the analysis to a broader, weekly scale leads to another conclusion. When considering the average electricity price per day of the week, it is evident that, on average, prices are lowest on Sundays and highest on Tuesdays and Wednesdays, as shown in Table 1, as well as in Figure 13, where a significant drop in price can be observed every Sunday. Figure 15, which shows the distribution of the highest and lowest daily average prices per day of week, from 441 weeks, further supports that weekly pattern. Furthermore, it is far less feasible to single out a day of the week when the highest electricity prices occur most often, as those are distributed fairly evenly between Monday and Friday, while it is clear that Sunday is the most likely day of the lowest average price.
Again, applying a larger scale to the same line of thinking reveals yet another seasonal pattern. As can be seen in Table 2, the average electricity prices tend to be lowest in the winter and early spring, and highest during the summer and late autumn. This is again supported by the highest and the lowest average monthly price distribution shown in Figure 16. It was due to these temporal patterns, that additional, artificial variables were added to the dataset: year, month, week of the year, day of the week, day of the month, and hour of the day, derived from the date, as well as the information if it’s weekend and if it’s a day of peak weekly demand (“peak day”—taking 1 for Mondays—Fridays, 0 for Saturdays and −1 for Sundays). These variables were supposed to enhance and clarify time dependencies for the machine learning model.

3.2. Wind Speed Data Analysis

In order to analyse the hourly wind speed data, which came from ERA5 reanalysis, it was necessary to compare them to some real-life measurements to assess their bias and accuracy. This was achieved by comparing daily average wind speed data, extrapolated to 100 m, from a weather station in Kołobrzeg-Dźwirzyno, Poland, to its corresponding data points from ERA5. Wind speed data were extrapolated using the Hellman exponential law, as explained by Banuelos-Ruedas et al. (2010) [48], and shown in Equation (10) [39], where v is the wind speed, h is the height, and α is the friction coefficient, depending on the type of landscape. In this comparison, an α coefficient equal to 0.25 was chosen, as the considered weather station lies near the coast, but close to trees [48]. The closest ERA5 datapoint was located some 8 km southeast of the weather station. The average absolute difference between the extrapolated wind speeds and the reanalysis from ERA5 reached 0.81 m/s, corresponding to a 12.99% relative error. This error could also be, at least partially, caused by the spatial difference between the two locations.
v = v 0 h h 0 α
Analysing wind speed over time (see Figure 17) shows that the average daily wind speed also exhibits temporal variability. Higher wind speeds tend to occur during winter months, as presented in Table 3 and Figure 18, while during summer months, wind speeds tend to be lower. The difference between average wind speeds between December and February and August is 2.67 m/s. December turned out to be the most likely month of the highest average wind speed, while June and August were identified as the most likely months with the lowest average wind speed.
This seasonal trend becomes even more evident when considering average hourly wind speeds. As illustrated in Figure 19, the overall pattern of daily wind speed variation remains consistent for different seasons, although their amplitudes vary. It is worth noting that, while wind speed is highly variable and therefore difficult to predict, the average wind speed per hour of the day remains relatively stable. The biggest difference between maximum and minimum hourly wind speed is 0.46 m/s and occurs during an average summer. Wind speed tends to reach its highest values between 4 a.m. and 9 a.m. and its lowest values between 2 p.m. and 8 p.m.

3.3. Statistical Analysis Results

Initial statistical analysis showed that the Pearson correlation coefficients rarely exceeded |0.1|, the highest being that of a year (0.57), centrally dispatched units (CDU) generation (0.31), and demand (0.24). Wind speed correlation coefficient reached −0.17. Low p-values (less than 0.05) suggest that these correlations are statistically significant; however, linear regression models exhibited large condition numbers, suggesting high multicollinearity. This fact may undermine the statistical significance of those relations, as the effects of individual variables are not clear. Using the generalised least squares (GLS) linear regression model showed that the adjusted R2 is again the highest for the year variable, explaining c. 31.80% of the variance, while the wind speed only explained about 2.86% of the variance.
A naïve approach to the statistical analysis yields varying results. By analysing the time series, it has been determined that the most important factor impacting the electricity price is time, suggesting a high seasonal or other temporal dependency. Because of that, the statistical analysis was repeated over smaller time windows (years, seasons, months, and days) in order to better understand other factors. New results, shown in Table 4, suggest that, generally speaking, the CDU generation, demand, and wind generation (wind speed) are the most influential factors. The only exception to that was the year 2021, when again the time variables had the biggest impact on the price. On a yearly basis, the CDU generation has the highest impact on electricity prices, showing both the highest correlation coefficient (no less than 0.539) and the highest R2 (no less than 0.29). The CDU generation was followed closely by the demand, which for every year achieved a correlation coefficient higher than 0.298, and R2 higher than 0.2. Wind generation and wind speed, while not identical, seem to be highly related. The difference between them may have been caused by the reanalysis error, as the wind generation derives from the wind speed to a large degree. All calculated correlation coefficients per year are presented in Figure 20.
The results presented in Figure 20 and Table 4 suggest that the electricity price is strongly related to the energy mix. General statistics are included in Table A1, while yearly statistics from 2016 in Table A2, in Appendix A. As the CDUs are still responsible for the largest share of the energy mix, the price is highly correlated with the CDU generation. As PV generation gains purchase, its negative impact on prices seems to be rising. This cannot be said for other RES, as the correlations fluctuate. High temporal dependencies in 2021, alongside lower correlation coefficients with other variables, suggest that some external factors were responsible for the rising price. Demand is another highly correlated variable, which is understandable, as higher demand leads to increased production and, in turn, higher operational costs. Otherwise, temporal correlations seem to confirm earlier findings, showing that weekends are correlated with lower prices.
Figure 21 presents monthly correlation coefficients between fixing the I price and selected analysed variables. The dash-dotted lines represent averages for each of the variables. Non-centrally dispatched unit (nCDU) generation is included, as it was deemed significant to the price of electricity. As a large part of the nCDU is, in fact, composed of combined heat and power (CHP) plants, their variable price is low enough to place them at the low end of the merit order, which in turn leads to lower prices as the nCDU generation rises [49]. Due to the sheer amount of nCDU in the Polish energy mix, it is an important factor in the electricity price. This is especially evident when considering the seasonality of CHP generation, as the need for heat in colder months leads to additional electricity generation, while the lack of it in warmer seasons removes that factor. The results of the analysis indicate that wind speed and wind generation correlate with the electricity price more strongly than nCDU generation.

3.4. Prediction Results

By passing different combinations of the most relevant variables, as found in the statistical analysis, several price prediction machine learning models have been developed. Input data was rescaled using the min–max normalisation, as shown in Equation (11), where x’i is a normalised datapoint, xi is the input datapoint, and xmin, xmax are the minimum and maximum points in the dataset, respectively. Data used as ML models’ input was rescaled to a range between 0 and 1. Training a neural network consists of minimising the loss function—in this case, the mean squared error (MSE), presented in Equation (12), where n is the number of samples, y is the prediction, and x is the actual value, was chosen. The most accurate of the models—the GRU + CNN model with the Fixing I price and volume, day of the week, wind speed, wind generation, and demand as inputs—led to highly accurate predictions, with an MAE of around 0.006 for t + 1 h prediction, as can be seen in Figure 22. MAE is a measurement of the accuracy expressed by Equation (13), where n is the number of samples, y is the prediction, and x is the actual value. Because of the normalisation, MAE divided by 100 represents a percentage of the maximum range of values in the dataset. The same model, adjusted for t + 24 h predictions, reached an average of 0.016 MAE during evaluation.
x i = x i x m i n x m a x x m i n  
M S E = i = 1 n x i y i 2 n  
M A E = i = 1 n x i y i n  
This model, while pretty accurate overall, was not able to predict peaks with acceptable precision. To combat this, the Huber loss function, given by Equation (14), where y is the prediction, x is the actual value, and δ is the parameter responsible for switching between the two given behaviours [50], has been chosen as the MSE loss replacement. Furthermore, instead of min–max normalisation, a standard normalisation [51], presented in Equation (15), where x is the actual value, μ is the mean of the samples, and σ is the standard deviation of the samples, has been chosen. In standard normalisation, the mean value is 0 and the standard deviation is 1. These changes did not improve the accuracy of the model significantly, but the peaks were now predicted with higher precision. Additionally, the peak hour information was passed as input data. The results of different models’ training are presented in Table 5. Excluding wind data from the input reduces the accuracy and precision of peak predictions.
L δ i = 1 2 x i y i                                     f o r   x i y i   δ   δ x i y i 1 2 δ       f o r   x i y i > δ  
x i = x i μ σ  
The aforementioned results provide new insights into the impact of wind speed on electricity prices by examining the context of the Polish market, which is largely unexplored in the international literature [19,21]. Furthermore, previous studies have not considered the applicability of machine learning models. A comparison of machine learning models with and without wind data as input demonstrates that incorporating this variable significantly improves forecasting accuracy [11,14].

4. Conclusions

This study examines the relationship between wind speed and electricity prices in the Polish day-ahead market, using data from 2016 onwards and applying a combination of statistical and machine learning methods. Unlike previous research, it focuses on the practical integration of wind speed into electricity price forecasting models, offering new insights into the evolving market structure and forecasting models.
The results demonstrate that wind speed is an important factor in electricity price formation. Correlation analyses, including Pearson and the coefficient of determination, confirm a statistically significant negative relationship between wind speed and electricity prices. Moreover, excluding wind speed from machine learning models significantly reduces forecasting accuracy, underlining its relevance in data-driven approaches.
Despite the increasing share of wind power in the Polish electricity mix, the correlation between wind speed and electricity prices has not grown over time. This may be due to the parallel development of other renewable energy sources, particularly solar energy, which could weaken the influence of wind power. In addition, external economic factors, such as the sharp increase in fossil fuel prices in 2021, may have caused drops in the correlations.
These findings suggest that further investment in wind energy could contribute to lowering electricity prices. Potential improvements in market stability, however, would depend on complementary measures such as energy storage and grid flexibility. The partial easing of restrictive regulations (e.g., the 10H rule) has reopened new areas for development, although spatial constraints remain a challenge. Offshore wind appears to offer the most promising path forward due to its large-scale potential and ongoing project development. Additionally, the strong positive correlation observed between electricity prices and generation from centrally dispatched units implies that increasing the share of renewable energy could contribute to price reductions by displacing more expensive thermal generation, especially in periods of dynamic fossil fuel price increases on global markets.
Recommendations for future research include extending the analytical framework to include broader socioeconomic and market-related variables, such as fossil fuel prices, import dependencies, tariff structures, and other electricity market dynamics, in order to better understand the multifactorial drivers behind electricity price formation. Moreover, as offshore wind becomes increasingly central to Poland’s energy transition, it will be essential to integrate high-resolution wind speed data and projections into electricity market modelling and long-term scenario planning.

Author Contributions

Conceptualisation, A.K. and R.S.; methodology, A.K. and R.S.; software, R.S.; validation, A.K. and R.S.; formal analysis, R.S.; investigation, R.S.; resources, A.K. and R.S.; data curation, R.S.; writing—original draft preparation, R.S.; writing—review and editing, A.K.; visualisation, R.S.; supervision, A.K.; project administration, A.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Acknowledgments

This work was carried out as part of the statutory research activity of the Mineral and Energy Economy Research Institute of the Polish Academy of Sciences.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
AbbreviationsExplanations
10H10 times the total height of the wind turbine
ANNartificial neural network
CDUcentrally dispatched unit
CHPcombined heat and power
CNNconvolutional neural network
csvcomma-separated values
EUEuropean Union
EU-27European Union of 27 countries
FNNfeedforward neural network
GLSgeneralised least squares
gribgrid in binary
GRUgated recurrent unit
LSTMlong-short term memory
MAEmean absolute error
MSEmean squared error
nCDUnon-centrally dispatched unit
NUTSnomenclature of territorial units for statistics
RESrenewable energy sources
RNNrecurrent neural network
TSOTransmission System Operator
UNUnited Nations
SymbolsExplanations
pointwise addition
pointwise multiplication
αfriction coefficient
δHuber loss function switching parameter
σnonlinear activation function (sigmoid)
asingle ANN neuron output
bbias
ccurrent ANN neuron state
hheight
R2coefficient of determination
tanhhyperbolic tangent
vwind speed
wANN layer weight vector
xinput
youtput

Appendix A. Statistical Analysis Results for Input Data—Examples

Table A1. Overall analysis.
Table A1. Overall analysis.
VariableρSp (ρS)ρPp (ρP)R2F-Statp (F-Stat)t-Test β0β0 Std. ErrorEst. Slope Coef. β β Std. ErrorOmnibusp (Omnibus)DWJBp (JB)Condition NumberVIF
Fixing I price1.000.001.000.001.004.57 × 10330.000.000.001.000.0049,286.070.000.05844,942.800.00691.15
Fixing I volume0.430.000.390.000.1513,348.420.0057.752.580.110.0051,005.410.000.071,075,659.570.007477.472.00
Fixing II price0.990.000.990.000.983,547,233.370.00−0.020.231.010.0039,201.500.000.536,249,838.060.00689.362.00
Fixing II volume0.160.000.050.000.00216.420.00308.332.150.030.0049,276.420.000.05827,143.040.002108.791.19
Day of the week−0.120.00−0.090.000.01646.980.00373.641.76−12.400.4948,588.080.000.05801,105.550.006.852.83
Hour of the day0.110.000.110.000.01854.790.00289.121.894.110.1447,921.910.000.05760,041.720.0026.141.72
Day of the month0.020.000.020.000.0045.030.00324.712.000.750.1148,500.010.000.05790,773.860.0036.861.10
Week of the year0.070.000.080.000.01532.200.00297.881.941.490.0648,128.840.000.05778,396.530.0059.3521.80
Month0.080.000.090.000.01595.070.00292.702.046.890.2848,126.980.000.05779,512.890.0015.3421.43
Year0.750.000.560.000.3234,536.170.00−12,3668.68667.2761.400.3358,391.440.000.072,052,659.130.001,666,030.322.40
Is it weekend−0.150.00−0.110.000.01837.330.00354.251.15−62.402.1648,652.260.000.05803,981.140.002.448.18
Is it peak day0.160.000.120.000.011057.010.00311.611.2443.421.3448,647.010.000.05805,297.410.002.078.61
Cloud cover0.010.000.020.000.0021.030.00322.153.262.640.5848,646.220.000.05801,694.460.0019.451.35
Wind speed−0.190.00−0.170.000.032179.170.00452.822.67−17.790.3847,892.310.000.05769,489.850.0019.782.42
Temperature0.060.000.040.000.00141.840.00−82.7735.211.480.1248,300.530.000.05773,990.080.0010,188.525.39
Wind generation−0.060.00−0.060.000.00278.100.00355.811.52−0.010.0048,114.130.000.05772,899.720.003726.3022.26
Solar generation0.100.00−0.010.070.003.220.07485.801.850.000.0019,965.390.000.06215,931.740.002328.5015.07
Demand0.320.000.240.000.064683.920.00−54.665.790.020.0048,754.700.000.05836,456.600.00119,131.21201.54
CDU generation0.310.000.310.000.107955.730.00−7.783.970.030.0045,319.590.000.05685,916.430.0054,040.35209.28
nCDU generation0.030.00−0.020.000.0036.270.00353.432.990.000.0048,310.740.000.04780,558.390.0021,223.05157.14
Sync. cross-border exchange−0.080.00−0.140.000.021554.910.00333.730.97−0.040.0048,267.290.000.05800,504.240.00885.5327.55
Async. cross-border exchange0.080.000.050.000.00152.760.00323.361.440.020.0048,505.600.000.05786,934.180.001154.567.66
Season0.020.000.030.000.0055.630.00326.961.606.420.8648,617.930.000.05801,382.420.003.661.72
Table A2. Yearly analysis (2016).
Table A2. Yearly analysis (2016).
VariableρSp (ρS)ρPp (ρP)R2F-Statp (F-Stat)t-Test β0 β0 Std. ErrorEst. Slope Coef. β β Std. ErrorOmnibusp (Omnibus)DWJBp (JB)Condition Number
Fixing I price1.000.001.000.001.003.91 × 10320.000.000.001.000.007727.330.000.00483,342.700.00443.72
Fixing I volume−0.160.00−0.090.000.0179.510.00185.862.98−0.010.009763.960.000.201,026,091.700.008497.05
Fixing II price0.960.000.950.000.9186781.170.00−2.470.591.030.005819.440.000.763,599,945.290.00458.96
Fixing II volume0.510.000.310.000.10962.970.00123.191.380.060.0010,153.280.000.221,247,658.800.001352.76
Day of the week−0.220.00−0.170.000.03253.890.00177.311.30−5.730.369747.710.000.201,059,040.610.006.88
Hour of the day0.290.000.150.000.02209.090.00142.791.401.500.109881.350.000.211,096,864.570.0026.14
Day of the month−0.010.170.010.350.000.890.35158.861.490.080.089670.020.000.191,001,926.920.0037.08
Week of the year0.000.840.000.990.000.000.99160.101.480.000.059674.410.000.191,003,423.580.0062.18
Month0.020.110.010.240.001.390.24158.461.560.250.219672.340.000.191,002,620.880.0015.98
Is it weekend−0.290.00−0.210.000.04411.790.00169.250.84−31.941.579792.630.000.211,084,337.570.002.43
Is it peak day0.300.000.220.000.05462.370.00148.100.9020.990.989836.190.000.211,109,319.000.002.07
Cloud cover−0.010.17−0.040.000.0014.780.00169.152.47−1.660.439651.190.000.19991,009.990.0019.86
Wind speed−0.340.00−0.290.000.08788.110.00209.411.89−7.910.289790.260.000.211,084,228.960.0018.52
Temperature0.070.000.110.000.0199.450.00−97.2425.810.910.099575.370.000.19955,114.490.0010,079.54
Wind generation−0.350.00−0.270.000.07711.790.00182.141.08−0.020.009834.600.000.211,103,122.050.002690.18
Demand0.680.000.450.000.202249.930.00−27.834.010.010.0010,914.090.000.241,813,384.700.00117,142.65
CDU generation0.760.000.540.000.293590.070.00−11.402.930.010.0011,241.770.000.272,150,552.200.0061,994.77
nCDU generation−0.100.00−0.150.000.02189.790.00191.642.40−0.010.009607.730.000.20976,783.510.0020,481.84
Sync. cross-border exchange−0.030.000.060.000.0033.760.00162.760.860.010.009611.640.000.20979,482.070.00547.65
Async. cross-border exchange0.350.000.240.000.06533.500.00144.830.970.030.009927.120.000.211,116,873.110.00942.58

References

  1. UNFCCC. Adoption of the Paris Agreement—Paris Agreement; UNFCCC: Bonn, Germany, 2015. [Google Scholar]
  2. Hardy, J.T. Climate Change: Causes, Effects, and Solutions; Wiley: New York, NY, USA, 2003; p. 247. [Google Scholar]
  3. Total Net Greenhouse Gas Emission Trends and Projections in Europe|European Environment Agency’s Home Page. Available online: https://www.eea.europa.eu/en/analysis/indicators/total-greenhouse-gas-emission-trends (accessed on 19 March 2025).
  4. Ember Yearly Electricity Data. Available online: https://ember-energy.org/data/yearly-electricity-data/ (accessed on 19 March 2025).
  5. Gawlik, L.; Pepłowska, M.; Kowalik, W.; Hubert, W.; Kryzia, D. Energy Transformation of the Silesia Coal Region—Challenges and Coping Strategies. Gospod. Surowcami Miner. Miner. Resour. Manag. 2024, 40, 169–183. [Google Scholar] [CrossRef]
  6. Directive EU-2023/2413—EN-Renewable Energy Directive—EUR-Lex. Available online: https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX%3A32023L2413&qid=1699364355105 (accessed on 19 March 2025).
  7. Ministry of Climate and Environment. National Energy and Climate Plan to 2030; Ministry of Climate and Environment: Warsaw, Poland, 2024. [Google Scholar]
  8. PSESA Reports for 2023. Available online: https://www.pse.pl/dane-systemowe/funkcjonowanie-kse/raporty-roczne-z-funkcjonowania-kse-za-rok/raporty-za-rok-2023#r6_1 (accessed on 19 March 2025).
  9. Zimny, J.; Laskowski, M. Energetyczna Farma Wiatrowa Barzowice o Mocy 5 MW; Polska Geotermalna Asocjacja: Kraków, Poland, 2007. [Google Scholar]
  10. EUR-Lex 12003TN02/12/A—P.L. Dziennik Urzędowy L 236. Available online: https://eur-lex.europa.eu/legal-content/EN/ALL/?uri=CELEX:12003TN02/12/A (accessed on 8 July 2025).
  11. Pieczarko, R.; Sołtysik, M. Analiza Wpływu Generacji Źródeł Wiatrowych Na Poziom Kształtowania Się Cen Energii Elektrycznej Na Rynku SPOT. Prz. Elektrotechniczny 2017, 93, 78–81. [Google Scholar] [CrossRef]
  12. Polish Energy Regulatory Office. Capacity Installed [MW], as of 2022.12.31; Polish Energy Regulatory Office: Warsaw, Poland, 2023. [Google Scholar]
  13. Berent-Kowalska, G.; Kacprowska, J.; Gogacz, I.; Jurgaś, A.; Kacperczyk, G. Energia ze Źródeł Odnawialnych w 2011 r.; Central Statistical Office of Poland: Warsaw, Poland, 2012. [Google Scholar]
  14. Miller, A.; Bućko, P. Analiza Wpływu Generacji Wiatrowej Na Cenę Rozliczeniową Odchylenia Na Rynku Bilansującym w Polsce. Zesz. Nauk. Wydziału Elektrotechniki I Autom. Politech. Gdańskiej 2015, 47, 119–122. [Google Scholar]
  15. Sejm. Dziennik Ustaw 2—Poz. 724; Sejm: Warsaw, Poland, 2021. [Google Scholar]
  16. Sliz-Szkliniarz, B.; Eberbach, J.; Hoffmann, B.; Fortin, M. Assessing the Cost of Onshore Wind Development Scenarios: Modelling of Spatial and Temporal Distribution of Wind Power for the Case of Poland. Renew. Sustain. Energy Rev. 2019, 109, 514–531. [Google Scholar] [CrossRef]
  17. Dziennik Ustaw Poz. 553—Ustawa z Dnia 9 Marca 2023 r. o Zmianie Ustawy o Inwestycjach w Zakresie Elektrowni Wiatrowych Oraz Niektórych Innych Ustaw. Available online: https://orka.sejm.gov.pl/proc9.nsf/ustawy/2938_u.htm (accessed on 19 March 2025).
  18. Jónsson, T.; Pinson, P.; Nielsen, H.A.; Madsen, H.; Nielsen, T.S. Forecasting Electricity Spot Prices Accounting for Wind Power Predictions. IEEE Trans. Sustain. Energy 2013, 4, 210–218. [Google Scholar] [CrossRef]
  19. Brancucci Martinez-Anido, C.; Brinkman, G.; Hodge, B.M. The Impact of Wind Power on Electricity Prices. Renew. Energy 2016, 94, 474–487. [Google Scholar] [CrossRef]
  20. Mulder, M.; Scholtens, B. The Impact of Renewable Energy on Electricity Prices in the Netherlands. Renew. Energy 2013, 57, 94–100. [Google Scholar] [CrossRef]
  21. Ketterer, J.C. The Impact of Wind Power Generation on the Electricity Price in Germany. Energy Econ. 2014, 44, 270–280. [Google Scholar] [CrossRef]
  22. Badyda, K.; Dylik, M. Analysis of the Impact of Wind on Electricity Prices Based on Selected European Countries. Energy Procedia 2017, 105, 55–61. [Google Scholar] [CrossRef]
  23. Igliński, B.; Iglińska, A.; Koziński, G.; Skrzatek, M.; Buczkowski, R. Wind Energy in Poland—History, Current State, Surveys, Renewable Energy Sources Act, SWOT Analysis. Renew. Sustain. Energy Rev. 2016, 64, 19–33. [Google Scholar] [CrossRef]
  24. Gnatowska, R.; Moryń-Kucharczyk, E. Current Status of Wind Energy Policy in Poland. Renew. Energy 2019, 135, 232–237. [Google Scholar] [CrossRef]
  25. Brzezińska-Rawa, A.; Goździewicz-Biechońska, J. Recent Developments in the Wind Energy Sector in Poland. Renew. Sustain. Energy Rev. 2014, 38, 79–87. [Google Scholar] [CrossRef]
  26. Zhong, H.; Member, S.; Tan, Z.; Member, S.; He, Y.; Xie, L.; Kang, C. Implications of COVID-19 for the Electricity Industry: A Comprehensive Review. CSEE J. Power Energy Syst. 2020, 6, 489–495. [Google Scholar] [CrossRef]
  27. Adolfsen, J.F.; Kuik, F.; Schuler, T.; Lis, E. The Impact of the War in Ukraine on Euro Area Energy Markets; European Central Bank: Frankfurt am Main, Germany, 2022. [Google Scholar]
  28. Energy Instrat Hourly Electricity Prices (Day Ahead Market). Available online: https://energy.instrat.pl/ceny/energia-rdn-godzinowe/ (accessed on 24 March 2025).
  29. Olczak, P.; Matuszewska, D.; Kryzia, D. “Mój Prąd” as an Example of the Photovoltaic One off Grant Program in Poland. Polityka Energetyczna 2020, 23, 123–138. [Google Scholar] [CrossRef]
  30. Benalcazar, P.; Andrade, C.; Guamán, W. Prosumer Policy Options in Developing Countries: A Comparative Analysis of Feed-in Tariffs, Net Metering, and Net Billing for Residential PV-Battery Systems. Polityka Energetyczna Energy Policy J. 2025, 28, 77–98. [Google Scholar] [CrossRef]
  31. Energy Instrat Installed Capacity of Electricity Sources in Poland. Available online: https://energy.instrat.pl/system-elektroenergetyczny/zainstalowana-moc-are/ (accessed on 24 March 2025).
  32. IMGW. Index of /Data/Dane_pomiarowo_obserwacyjne/Dane_meteorologiczne/Dobowe. Available online: https://danepubliczne.imgw.pl/data/dane_pomiarowo_obserwacyjne/dane_meteorologiczne/dobowe/ (accessed on 24 March 2025).
  33. ERA5 Hourly Data on Single Levels from 1940 to Present. Available online: https://cds.climate.copernicus.eu/datasets/reanalysis-era5-single-levels?tab=overview (accessed on 24 March 2025).
  34. EMHIRES Dataset: Wind and Solar Power Generation. Available online: https://zenodo.org/records/8340501 (accessed on 24 April 2025).
  35. PSESA TSO Reports/Market Data. Available online: https://raporty.pse.pl/ (accessed on 24 March 2025).
  36. Shrestha, A.; Mahmood, A. Review of Deep Learning Algorithms and Architectures. IEEE Access 2019, 7, 53040–53065. [Google Scholar] [CrossRef]
  37. Haykin, S. Neural Networks: A Comprehensive Foundation by Simon Haykin. Knowl. Eng. Rev. 1999, 13, 409–412. [Google Scholar]
  38. Murat, H.S. A Brief Review of Feed-Forward Neural Networks. Commun. Fac. Of. Sci. Univ. Ank. 2006, 50, 11–17. [Google Scholar] [CrossRef]
  39. Jain, L.C.; Medsker, L.R. Recurrent Neural Networks: Design and Applications; CRC Press: Boca Raton, FL, USA, 1999. [Google Scholar]
  40. Yu, Y.; Si, X.; Hu, C.; Zhang, J. A Review of Recurrent Neural Networks: LSTM Cells and Network Architectures. Neural Comput. 2019, 31, 1235–1270. [Google Scholar] [CrossRef] [PubMed]
  41. Hochreiter, S.; Schmidhuber, J. Long Short-Term Memory. Neural Comput. 1997, 9, 1735–1780. [Google Scholar] [CrossRef] [PubMed]
  42. Cho, K.; Van Merriënboer, B.; Gulcehre, C.; Bahdanau, D.; Bougares, F.; Schwenk, H.; Bengio, Y. Learning Phrase Representations Using RNN Encoder-Decoder for Statistical Machine Translation. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), Doha, Qatar, 25–29 October 2014. [Google Scholar]
  43. Wang, X.; Xu, J.; Shi, W.; Liu, J. OGRU: An Optimized Gated Recurrent Unit Neural Network. J. Phys. Conf. Ser. 2019, 1325, 012089. [Google Scholar] [CrossRef]
  44. Fred Agarap, A.M. A Neural Network Architecture Combining Gated Recurrent Unit (GRU) and Support Vector Machine (SVM) for Intrusion Detection in Network Traffic Data. In Proceedings of the 2018 10th International Conference on Machine Learning and Computing, Macau, China, 26 February 2018; pp. 26–30. [Google Scholar]
  45. Wu, L.; Kong, C.; Hao, X.; Chen, W. A Short-Term Load Forecasting Method Based on GRU-CNN Hybrid Neural Network Model. Math. Probl. Eng. 2020, 2020, 1428104. [Google Scholar] [CrossRef]
  46. Uluocak, I.; Bilgili, M. Daily Air Temperature Forecasting Using LSTM-CNN and GRU-CNN Models. Acta Geophys. 2024, 72, 2107–2126. [Google Scholar] [CrossRef]
  47. Gaur, K.; Kumar, H.; Agarwal, R.P.K.; Baba, K.V.S.; Soonee, S.K. Analysing the Electricity Demand Pattern. In Proceedings of the 2016 National Power Systems Conference, NPSC 2016, Bhubaneswar, India, 19–21 December 2016. [Google Scholar] [CrossRef]
  48. Bañuelos-Ruedas, F.; Angeles-Camacho, C.; Rios-Marcuello, S. Analysis and Validation of the Methodology Used in the Extrapolation of Wind Speed Data at Different Heights. Renew. Sustain. Energy Rev. 2010, 14, 2383–2391. [Google Scholar] [CrossRef]
  49. Gelabert, L.; Labandeira, X.; Linares, P. An Ex-Post Analysis of the Effect of Renewables and Cogeneration on Spanish Electricity Prices. Energy Econ. 2011, 33, S59–S65. [Google Scholar] [CrossRef]
  50. Huber, P.J. Robust Estimation of a Location Parameter. Ann. Math. Statist. 1964, 35, 73–101. [Google Scholar] [CrossRef]
  51. StandardScaler—Scikit-Learn 1.6.1 Documentation. Available online: https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.StandardScaler.html (accessed on 18 April 2025).
Figure 1. Yearly increase in wind capacity in Poland from 2005 to 2022; own elaboration based on data from [12].
Figure 1. Yearly increase in wind capacity in Poland from 2005 to 2022; own elaboration based on data from [12].
Energies 18 03749 g001
Figure 2. Research framework.
Figure 2. Research framework.
Energies 18 03749 g002
Figure 3. Merit order with a lower and higher share of RES in the power system.
Figure 3. Merit order with a lower and higher share of RES in the power system.
Energies 18 03749 g003
Figure 4. The breakdown of electricity generation in Poland from 2016; own elaboration based on data from [31].
Figure 4. The breakdown of electricity generation in Poland from 2016; own elaboration based on data from [31].
Energies 18 03749 g004
Figure 5. Average daily electricity price in the Polish day-ahead market over time; own elaboration based on data from [28].
Figure 5. Average daily electricity price in the Polish day-ahead market over time; own elaboration based on data from [28].
Energies 18 03749 g005
Figure 6. Average wind capacity factors per NUTS 2 region in Poland; own elaboration based on data from [34].
Figure 6. Average wind capacity factors per NUTS 2 region in Poland; own elaboration based on data from [34].
Energies 18 03749 g006
Figure 7. A graph of an FNN architecture; own elaboration based on [39].
Figure 7. A graph of an FNN architecture; own elaboration based on [39].
Energies 18 03749 g007
Figure 8. Graphs of (a) a partially recurrent neural network, (b) a fully connected recurrent neural network; own elaboration based on [39].
Figure 8. Graphs of (a) a partially recurrent neural network, (b) a fully connected recurrent neural network; own elaboration based on [39].
Energies 18 03749 g008
Figure 9. Representation of a single LSTM cell with a forget gate (a), input gate (b) and output gate (c); own elaboration based on [40].
Figure 9. Representation of a single LSTM cell with a forget gate (a), input gate (b) and output gate (c); own elaboration based on [40].
Energies 18 03749 g009
Figure 10. Representation of a single GRU cell; own elaboration based on [44].
Figure 10. Representation of a single GRU cell; own elaboration based on [44].
Energies 18 03749 g010
Figure 11. GRU + CNN model architecture.
Figure 11. GRU + CNN model architecture.
Energies 18 03749 g011
Figure 12. The average price for each hour of the day, based on 3086 days.
Figure 12. The average price for each hour of the day, based on 3086 days.
Energies 18 03749 g012
Figure 13. Randomly selected month showing the pattern of daily and weekly price changes.
Figure 13. Randomly selected month showing the pattern of daily and weekly price changes.
Energies 18 03749 g013
Figure 14. Distribution of the highest and lowest electricity prices over the course of the day, based on 3086 days.
Figure 14. Distribution of the highest and lowest electricity prices over the course of the day, based on 3086 days.
Energies 18 03749 g014
Figure 15. Distribution of the highest and lowest daily average electricity prices over the week, based on 441 weeks.
Figure 15. Distribution of the highest and lowest daily average electricity prices over the week, based on 441 weeks.
Energies 18 03749 g015
Figure 16. Distribution of the highest and lowest monthly average electricity prices over the year.
Figure 16. Distribution of the highest and lowest monthly average electricity prices over the year.
Energies 18 03749 g016
Figure 17. Daily average wind speed over the years.
Figure 17. Daily average wind speed over the years.
Energies 18 03749 g017
Figure 18. Distribution of the highest and lowest monthly average wind speeds.
Figure 18. Distribution of the highest and lowest monthly average wind speeds.
Energies 18 03749 g018
Figure 19. Average wind speed per hour of the day in different seasons.
Figure 19. Average wind speed per hour of the day in different seasons.
Energies 18 03749 g019
Figure 20. Pearson correlation coefficients of every collected variable with the Fixing I electricity price over the years.
Figure 20. Pearson correlation coefficients of every collected variable with the Fixing I electricity price over the years.
Energies 18 03749 g020
Figure 21. Pearson correlation coefficients of selected analysed variables with the Fixing I price per month over time (dashed line—averages).
Figure 21. Pearson correlation coefficients of selected analysed variables with the Fixing I price per month over time (dashed line—averages).
Energies 18 03749 g021
Figure 22. Predicted prices on top of actual prices used in testing the machine learning model. Price was predicted 1 h ahead using data from the last 24 h.
Figure 22. Predicted prices on top of actual prices used in testing the machine learning model. Price was predicted 1 h ahead using data from the last 24 h.
Energies 18 03749 g022
Table 1. Average electricity price per day of the week.
Table 1. Average electricity price per day of the week.
Day of WeekAverage Price [PLN/MWh]
Monday347.56
Tuesday361.53
Wednesday361.45
Thursday352.58
Friday348.13
Saturday319.39
Sunday264.30
Table 2. Average electricity price per month.
Table 2. Average electricity price per month.
MonthAverage Price [PLN/MWh]
January319.09
February295.00
March299.93
April292.43
May303.79
June354.04
July371.00
August402.27
September364.10
October328.74
November354.96
December368.99
Table 3. Average wind speed per month and season at a height of 100 m.
Table 3. Average wind speed per month and season at a height of 100 m.
MonthAverage Wind Speed [m/s]SeasonAverage Wind Speed [m/s]
December7.85Winter7.83
January7.79
February7.85
March6.69Spring6.36
April6.51
May5.90
June5.29Summer5.30
July5.42
August5.18
September5.87Autumn6.65
October7.18
November6.87
Table 4. Pearson correlation coefficient and R2 coefficient for the relationship between the chosen variables and electricity price.
Table 4. Pearson correlation coefficient and R2 coefficient for the relationship between the chosen variables and electricity price.
Year201620172018201920202021202220232024
Correlation coefficientCDU
generation
0.5390.5670.6640.8060.7960.5490.6030.7140.773
Demand0.4520.4670.4520.5300.6120.4080.2590.5070.442
Wind
generation
−0.274−0.329−0.374−0.503−0.357−0.136−0.450−0.466−0.353
Wind speed−0.287−0.312−0.345−0.454−0.299−0.085−0.383−0.359−0.302
R2CDU
generation
0.2900.3210.4410.6490.6330.3010.3630.5090.597
Demand0.2040.2180.2050.2810.3740.1660.0670.2570.195
Wind
generation
0.0750.1080.1390.2530.1270.0180.2020.2170.124
Wind speed0.0820.0970.1190.2060.0890.0070.1460.1280.091
Table 5. Results of training different neural network models.
Table 5. Results of training different neural network models.
ModelLoss FunctionNormalisationMAE
1 h/24 h
[PLN/MWh]
Peak Conditions
3 (LSTM (50) + Dropout (0.2))MSEMin–max26.85/79.07Average
3 (LSTM (50) + Dropout (0.2))
No wind input data
MSEMin–max28.57/85.38Average
1 GRU (64) + Dense (32)MSEMin–max28.06/82.78Poor
1 GRU (64) + Dense (32)
No wind input data
MSEMin–max27.38/91.03Poor
CNN (64) + 2 GRU (64, 32) + Dense (32)MSEMin–max25.79/83.69Poor
CNN (64) + 2 GRU (64, 32) + Dense (32)
No wind data input
MSEMin–max28.22/91.03Poor
CNN (64) + 2 GRU (64, 32) + Dense (32)Huber loss fun.Standard24.30/74.15Good
CNN (64) + 2 GRU (64, 32) + Dense (32)
No wind data input
Huber loss fun.Standard24.60/84.87Average
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Sowiński, R.; Komorowska, A. The Impact of Wind Speed on Electricity Prices in the Polish Day-Ahead Market Since 2016, and Its Applicability to Machine-Learning-Powered Price Prediction. Energies 2025, 18, 3749. https://doi.org/10.3390/en18143749

AMA Style

Sowiński R, Komorowska A. The Impact of Wind Speed on Electricity Prices in the Polish Day-Ahead Market Since 2016, and Its Applicability to Machine-Learning-Powered Price Prediction. Energies. 2025; 18(14):3749. https://doi.org/10.3390/en18143749

Chicago/Turabian Style

Sowiński, Rafał, and Aleksandra Komorowska. 2025. "The Impact of Wind Speed on Electricity Prices in the Polish Day-Ahead Market Since 2016, and Its Applicability to Machine-Learning-Powered Price Prediction" Energies 18, no. 14: 3749. https://doi.org/10.3390/en18143749

APA Style

Sowiński, R., & Komorowska, A. (2025). The Impact of Wind Speed on Electricity Prices in the Polish Day-Ahead Market Since 2016, and Its Applicability to Machine-Learning-Powered Price Prediction. Energies, 18(14), 3749. https://doi.org/10.3390/en18143749

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop