Next Article in Journal
A Time-Series Treatment Method to Obtain Electrical Consumption Patterns for Anomalies Detection Improvement in Electrical Consumption Profiles
Previous Article in Journal
Regulated Emissions of Biogas Engines—On Site Experimental Measurements and Damage Assessment on Human Health
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimization of Electric Energy Sales Strategy Based on Probabilistic Forecasts

by
Joanna Janczura
* and
Aleksandra Michalak
Faculty of Pure and Applied Mathematics, Wroclaw University of Science and Technology, 50-370 Wroclaw, Poland
*
Author to whom correspondence should be addressed.
Energies 2020, 13(5), 1045; https://doi.org/10.3390/en13051045
Submission received: 27 January 2020 / Revised: 19 February 2020 / Accepted: 24 February 2020 / Published: 26 February 2020
(This article belongs to the Section C: Energy Economics and Policy)

Abstract

:
In this paper we propose an optimization scheme for a selling strategy of an electricity producer who in advance decides on the share of electricity sold on the day-ahead market. The remaining part is sold on the complementary (intraday/balancing) market. To this end, we use probabilistic forecasts of the future selling price distribution. Next, we find an optimal share of electricity sold on the day-ahead market using one of the three objectives: maximization of the overall profit, minimization of the sellers risk, or maximization of the median of portfolio values. Using data from the Polish day-ahead and balancing markets, we show that the assumed objective is achieved, as compared to the naive strategy of selling the whole produced electricity only on the day-ahead market. However, an increase of the profit is associated with a significant increase of the risk.

1. Introduction

Since the beginning of electricity market deregulation in the early 90s, the markets are still evolving, bringing new challenges to the market participants. Electricity is different than other commodities due to its limited storability. As a consequence, traders of electricity experience high uncertainty and the prices are much more volatile than in any other markets. In the last decade, a significant increase in the share of electricity from renewable energy sources (RES) has been observed [1]. As a consequence, electricity prices have become even less predictable. This is due to the fact that supply and demand are less predictable as they change with weather conditions. It is obvious that a wind power plant is able to produce more energy in windy days, whereas a solar power plant is the most efficient in sunny days. The development of RES is the cause of an increase of importance of complementary markets that allow us to balance prices from the day-ahead markets in response to changes in weather conditions and other unforeseen events [2,3,4]. The major share of electricity is sold on the day-ahead markets, in which contracts on a delivery of electricity within a given time period (e.g., an hour or half an hour) during the next day are settled. Since both the future demand and the future supply can not be exactly determined on the day before delivery, the main power exchanges are usually complemented with intraday or/and balancing markets. The intraday markets allow for a trade up to a few minutes before a delivery while the balancing markets are usually used by system operators to finally balance electricity supply and demand. The construction of energy markets differs among countries. In Poland the day-ahead market offers hourly and block products for the next days delivery. It is complemented with an intraday market, offering continuous trading of hourly contracts on the day ahead and the day of delivery. However, due to very low liquidity of the intraday market, most of the positions are balanced in the balancing market, managed by the system operator. On the other hand, in Germany (EPEX platform) the day-ahead market also offers hourly and block contracts, but is complemented with a liquid intraday market, hence the balancing market is actually the only technical and highly regulated platform. The EPEX intraday market offers hourly and quarter-hourly products as well as blocks of hours. Each of them can be traded until 30 min (or even 5 min in some zones) before delivery. For a more detailed analysis of intraday markets, explaining the importance of balancing positions in contracts made in the day-ahead market see [5].
In this paper, we focus on the optimization of a selling strategy. We look from the point of view of an electricity supplier who has to decide in advance where to sell the produced energy. A similar problem was also considered by the authors of [6] who proposed methods based on forecast of the price difference between the day-ahead and the complementary market. The decision was made based on the sign of the predicted value and allowed only for selling the whole available energy on the chosen market. Here, we extend this research by an adoption of probabilistic forecasting methods and allowing for strategies based on the sharing of sale between day-ahead and complementary markets. We focus on the maximization of the overall profit and minimization of the sellers risk with respect to the share of electricity sold on the complementary market. The optimization process is based on risk measures of the future portfolio value. When assessing the effectiveness of the proposed methods and strategies, we refer to the naive strategy of selling the whole energy on the day-ahead market. We illustrate the proposed approach using data from the Polish day-ahead and balancing markets.
There are numerous methods of point forecasting energy prices which might be considered. Their review can be found in [7]. The literature includes, among others, fundamental [8,9], reduced- form [10,11], statistical, Bessa et al. [12,13,14], and computational intelligence models [15,16,17,18]. These models are mainly applied to day-ahead price forecasting. Modeling or forecasting balancing and intraday markets are not that popular, however, due to the increasing importance of these markets, the literature is growing in recent years, see e.g., [19,20,21,22] for a forecast of future relevance of balancing markets. On the other hand, an extension from point to probabilistic forecasting methods has gained much attention in recent years, see [23] for a review. The latter takes into account not only the best estimate of a future value but also uncertainty of the forecast. As a consequence, it brings much more information to a decision maker and allows e.g., for a direct risk management. Similarly, as for the point forecasts, most of the literature on probabilistic forecasting focuses on day-ahead markets. To our best knowledge, Andrade et al. [24] is the only article on probabilistic forecasting of prices on intraday markets, yet, while for the balancing markets, Browell [25] build probabilistic forecasts of prices imbalance, but there are no articles that derive the price predictions itself. With this research we want to fill the gap on probabilistic price predictions but also combine them for different markets and utilize in a decision making process. In the paper we use the AutoRegressive time series model with eXogenous variables (ARX)—A popular approach in electricity price modeling. However, the proposed approach can be straightforwardly extended to other methods of electricity price forecasting.
The remainder of this paper has the following structure. In Section 2 we formulate a problem and describe data used in this research. In Section 3 we present the forecasting framework, which is then used in Section 3.3 for the optimization of the selling strategy. Next, in Section 4, we analyze results obtained by the application of the proposed strategy to the Polish market dataset and compare them with a benchmark strategy. Finally, in Section 5, we conclude.

2. Problem Formulation and Data Description

We assume that an electricity producer/seller can on a day preceding electricity auction decide on the share of electricity he is going to sell on the balancing market. The remaining part is sold on the day-ahead market. The producer is a price taker and decides only on the quantity. Using probabilistic forecasts of his final profit, we propose a strategy for an optimal choice of this share. Although the amount of the future electricity production is not exactly known in advance, we assume that a producer will have 1 MWh to be sold. We find an optimal distribution of this amount. Note that, in the case of known future production, the shares of energy would be proportional to what we find for a 1 MWh. In general, predictions of energy generation can be based for example on the wind forecasts. However, for a given producer the exact amount of produced energy is highly dependent on his own profile. Hence, we focus on the proportions of 1 MWh of energy rather than on the exact production.
The datasets used in this paper contain hourly prices of electricity (in Polish Zloty, PLN) from the balancing and the day-ahead electricity markets in Poland from the period between 1 January 2016 and 31 January 2018. They are merged with forecasts of domestic energy demand, forecasts of wind energy generation, and forecasts of available reserves of energy provided by the system operator in Poland. All of the mentioned exogenous variables are given in megawatt hours (MWh). The variables and the notation used in the further part of the work are summarized in Table 1. The day-ahead electricity prices are publicly available from the webpage of the Polish energy exchange (TGE) [26], while the remaining data is available from the Polish energy system operator (PSE) webpage [27].
As there was one day for which prices from the balancing market were unavailable, seven such days for day-ahead prices and three days for exogenous variables, the missing values have been replaced by the average value of the missing feature from the same month, day of the week, and the same hour. The mean and the standard deviation (SD) of the prices and of the spread, calculated as the difference between balancing and day-ahead prices, are presented in Table 2. These descriptive statistics show that electricity prices in the analyzed period were on average higher on the balancing market, but it was also more volatile there. Moreover, the spread has a high standard deviation, which can influence the process of optimization of the selling strategy. It is worth mentioning that during the analyzed period 1 January 2016–31 January 2018, the balancing price was higher in 54.56% of cases. Statistics presented in Table 2 indicate that the prices and their volatility differ significantly between the hours. The highest mean for the prices on the day-ahead and the balancing market can be observed in the midday, and the difference between them is also the highest during this time. High electricity prices can be also observed in the afternoon and in the evening. The prices decrease in the night, when demand for electricity falls down. Standard deviations presented in Table 2 indicate that with the increase of electricity prices, volatility also increases. Further, volatility of prices on the balancing market is always significantly higher. This is true even if the price on the balancing market is not much higher than the price on the day-ahead market. Due to the fact that statistics presented in Table 2 indicate that electricity prices vary significantly depending on the hour, in the further part of work we consider selling strategies separately for each hour. Such an approach can also be motivated by the fact that hourly prices of electricity refer to contracts on a delivery within a given hour, and hence for different hours are different products. An illustration of the analyzed data for three representative hours, h { 4 , 12 , 20 } , is plotted in Figure 1. Note that each curve represents electricity price for a given hour quoted on the consecutive days from the analyzed period.

3. Construction of a Selling Strategy

3.1. The Model

ARX is a common model for electricity price forecasting [6,7,23,28,29,30]. It is a linear model, which uses past values of the predicted variables and some time series of exogenous (explanatory) features that are supposed to affect the modeled variable. Here, following [6], we assume that:
P h t 0 = α D t + β X h t + i L { 1 } θ i P h t i 0 + ϵ h t ,
P h t 1 = α D t + β X h t + i L θ i P h t i 1 + γ P h t 1 0 + ϵ h t ,
where:
  • D t is a vector of dummy variables for Monday, Saturday, Sunday/Holidays, and the other days of the week,
  • X h t is a vector of exogenous variables,
  • L is a set corresponding to a pre-defined lag structure. It means that if i L , the observation from the day t i is one of the explanatory variables included in electricity price forecast for day t. In this paper L = [ 2 ] , L = [ 2 , 7 ] and L = [ 2 , , 7 ] are considered,
  • α and β are vectors of coefficients, which correspond to D t and X h t , respectively,
  • θ i is an autoregressive parameter,
  • γ is a coefficient describing the influence of the price from the day-ahead market on the balancing price,
  • ϵ h t is independent, identically distributed noise with a finite variance.
The use of the γ coefficient is motivated by the fact that, when a seller has to make his decision on day t 1 not all prices from for the balancing market are already known. Therefore, instead, the prices from the day-ahead market are used.

3.2. Probabilistic Forecasting

We use the ARX model for probabilistic forecasting of electricity price, an approach that has recently gained much interest in energy markets modeling literature (see [23] for a review). Definitely, forecasting the whole distribution of the possible next day prices gives more information to the market participants than the point forecast. It can be used not only for the future profits evaluation but also for risk management purposes and optimization of the so called risk–return trade off.
In general, the probabilistic forecast can be defined as “predictive probability distribution over future quantities or events of interest“ [31]. There are two common approaches in the probabilistic forecast evaluation. In the first one the forecasted random variable is split into the point forecast and the error distribution, i.e., P t = P ^ t + ϵ t , and these two variables are separately estimated. The distribution of ϵ t can be estimated in many ways. In the paper we apply the historical simulation method (see Section 3.2.1). The second approach is based on finding the distribution of the forecasted random variable itself. This approach will be used in Section 3.2.2 for the Quantile Regression Averaging (QRA) method. Usually, the probabilistic forecasts are used in the form of Prediction Intervals (PIs), being the selected quantiles of the forecasted random variable distribution. Here, however, we use the forecasted distribution for simulations of the possible next day price scenarios.
An analysis of probabilistic forecast requires dividing a dataset into the calibration and validation windows. The calibration window is used for the model estimation. The obtained parameters are then used for the next day, i.e., first day of the validation window and price predictions. Next, the calibration window is moved by one day and the procedure is repeated. The rolling window scheme is applied until predictions for the last day of the validation window are made. Here, the calibration window length is set to 365 days, as in [6] it gave the best results for disaggregated, hourly models. Precisely, the predictions are made for each day starting from the second year of the analyzed period (i.e., from 1 January 2017 until 31 January 2018) based on the preceding 365 days. Analogously, the optimization framework is evaluated day-by-day from 1 January 2017 until 31 January 2018.

3.2.1. Historical Simulation

In the historical simulation method various scenarios based on the point forecasts and the historical values of the model residuals are created. We assume that the actual prices P h t 0 and P h t 1 are given by:
P h t 0 = P ^ h t 0 + ϵ h t 0 , P h t 1 = P ^ h t 1 + ϵ h t 1 ,
where P ^ h t 0 and P ^ h t 1 are the point forecasts of the day-ahead and the balancing prices in day t and hour h, while ϵ h t 0 and ϵ h t 1 are the corresponding residuals. In order to make simulations of the price scenarios from the validation window, the point forecasts of these prices were calculated using the ARX models described by Equations (1) and (2) and combined with the corresponding samples of residuals ( ϵ h t 0 , 1 , ϵ h t 0 , 2 , , ϵ h t 0 , 365 ) and ( ϵ h t 1 , 1 , ϵ h t 1 , 2 , , ϵ h t 1 , 365 ) . These scenarios can be expressed by:
P h t 0 , i = P ^ h t 0 + ϵ h t 0 , i , P h t 1 , i = P ^ h t 1 + ϵ h t 1 , i ,
where i { 1 , , 365 } . The procedure was applied for different combinations of exogenous variables and lag structures, as described in Table 3.

3.2.2. Quantile Regression Averaging

As there is no model structure that significantly outperforms the others, we also use the quantile regression averaging approach which proved to be a good solution in such case. This method is based on the quantile regression model, described by Koenker and Basset in 1978 [32] and has been used for probabilistic forecasting of electricity prices in [33]. The main idea of the method is to determine prediction intervals using a pool of point forecasts obtained from individual models. Prediction intervals are then calculated as a solution of the optimization problem given by [33]:
Q ( q | p ^ t ) = p ^ t w q ,
where Q p ( q | · ) denotes the conditional qth quantile of the distribution of electricity price, p ^ t are the explanatory variables, being in this case the point predictions of electricity prices and w q denotes the vector of weights corresponding to the particular predictions from p ^ t . For a chosen quantile q these weights are estimated by minimizing the loss function:
min w t t : p t p ^ t w q q | p t p ^ t w q | + t : p t < p ^ t w q ( 1 q ) | p t p ^ t w q | .
Here, we extend the quantile regression averaging scheme for a construction of different scenarios s h t i of electricity price, described by Equation (7). Using quantile regression models with individual point predictions taken as independent variables we make predictions of particular quantiles of P h t 0 and P h t 1 distributions. Next, having these predictions, we obtain F 0 1 ( · ) and F 1 1 ( · ) approximations in q { 0 , 0.01 , 0.02 , , 0.99 , 1 } . Using the inverse CDF method of a random variable simulation, we construct a set of day-ahead and balancing price scenarios. Recall that a random variable X with cumulative distribution function F ( · ) can be simulated as X = F 1 ( U ) , where U is a uniform random variable on [ 0 , 1 ] . Note, that from the quantile regression averaging method the values of F 0 1 ( · ) and F 1 1 ( · ) are derived only in a given discrete set of points, here in { 0 , 0.01 , 0.02 , , 0.99 , 1 } . Hence, the missing values have to be interpolated for randomly generated U [ 0 , 1 ] .
The quantile regression averaging method requires two steps for the forecast derivation. First the individual point forecasts are to be made, second they are used in the quantile regression for the prediction intervals calculation. As a consequence the calibration window has to be divided into two subsets. Here, we use the first 180 data points to calibrate the individual models and next 185 data points for regressing the point forecasts. The validation window is the same as in the historical simulation approach. The algorithm for constructing different scenarios P h t 0 , i of the day-ahead prices for day t and hour h consists of the following steps:
  • Make nine individual point forecasts P ^ h ( t i ) 0 k , where k { 1 , 2 , , 9 } and i { 1 , , 185 } using the ARX model described by Equation (1) with different lag structures and exogenous variables described in Section 3 and the calibration window of length 180.
  • Take the predicted values P ^ h ( t i ) 0 k and build quantile regression models for
    q { 0 , 0.01 , , 0.99 , 1 } treating each individual prediction as independent variable.
  • On the base of the obtained models, for q { 0 , 0.01 , , 0.99 , 1 } , make prediction of the qth quantile of P h t 0 distribution and construct its inverse cumulative distribution functions F 0 1 ( · ) .
  • Generate vector U = ( U 1 , U 2 , , U 365 ) of independent, uniform random variables on [0,1].
  • For each U i , with i { 1 , 2 , , 365 } interpolate a single day-ahead price scenario as: P h t 0 , i = F 0 1 ( U i ) .
The different scenarios P h t 1 , i of the balancing prices are constructed using the same procedure.

3.3. Optimization of the Selling Strategy

Now, we focus on the optimization of the electricity selling strategy. To this end, we utilize probabilistic forecast scenarios obtained using methods described in the previous sections. We assume that on day t 1 an electricity producer decides on the share w h t [ 0 , 1 ] of energy sold on the balancing market. The remaining part is sold on the day-ahead (spot) market. The various selling price scenarios can then be constructed as:
s h t i = w h t P h t 1 , i + ( 1 w h t ) P h t 0 , i ,
where w h t [ 0 , 1 ] is the share of energy which is sold on the balancing market.
An important issue for the optimal strategy construction is the choice of an optimization criterion. As we want to allow for a trade off between risk and return, we utilize the value at risk notion [34], a standard measure in risk management. This is simply a given quantile of the profit/loss distribution. In this context, maximizing the lower quantiles of the selling price, s h t , distribution minimizes the sellers risk. On the other hand, maximizing the upper quantiles maximizes the sellers profit. The risk–return trade off can be achieved by maximizing the middle quantiles of the selling price distribution. Here, we apply all three approaches. Specifically, having a vector s h t = ( s h t 1 , s h t 2 , , s h t 365 ) , the objective is to find maximum:
max w h t f ( w h t ) = Q α ( s h t | w h t ) , subject to 0 w h t 1 ,
where Q α ( s h t | w h t ) is a quantile of order α of s h t conditional distribution under the condition that the share of the electricity on the balancing market is equal to w h t .
The process of determining the optimal weights w h t is divided into two parts. In the first part we calculate the selling price scenarios for a discrete set of possible weights w h t { 0 , 0.1 , , 0.9 , 1 } . Next, the weight maximizing the selected quantile of the forecasted selling prices is chosen as a starting point in the optimization routine (here we use Python minimization function based on the sequential least squares programming method). The first step of the procedure allows to avoid finding local maximums of the objective function. The optimization procedure have to be repeated for each day t and hour h of the calibration window. It can be summarized in the following way:
  • Calculate different values s h t i with i { 1 , , 365 } and w h t { 0 , 0.1 , , 0.9 , 1 } .
  • For each of w h t { 0 , 0.1 , , 0.9 , 1 } calculate Q α ( s h t | w h t ) .
  • Select w h t * which maximizes Q α ( s h t | w h t ) for w h t { 0 , 0.1 , , 0.9 , 1 } .
  • Apply the sequential least square programming method with w h t * taken as a starting point in the maximization of Q α ( s h t | w h t ) for w h t [ 0 , 1 ] .

3.4. Strategy Evaluation Metrics

In order to analyze economical benefits from applying the proposed strategy we compare it with the basic and most common practice of selling the whole electricity only on the day-ahead market. Then, the hourly profit can be calculated as:
π h t = w h t P h t 1 + ( 1 w h t ) P h t 0 P h t 0 ,
where w h t is the share of energy sold on the balancing market. In order to compare profitability of different strategies we will use the total profit calculated for all days and hours from the validation window:
π = t T h H π h t ,
where π h t is given by Equation (9). A similar approach was used in [6]. However, the authors analyzed only the case in which the whole electricity is sold in one of the markets, i.e., with weights w h t being either 1 or 0.
The profit of a possible selling strategy is obviously an important indicator of its usefulness. The second important issue is risk associated with a given strategy. Hence, we also calculate 5% Value at Risk (VaR):
V a R 0.05 ( π ) = i n f { π t : F ( π t ) > = 0.05 }
of daily profits π t = h = 1 24 π h t , where F ( · ) denotes the empirical cumulative distribution function of π t . It indicates the level of a potential loss. With this definition, the higher is VaR, the lower is the risk.

4. Results

We apply the proposed optimization of the selling strategy to data from the Polish day-ahead and balancing electricity markets, in details described in Section 2. To this end, we first construct probabilistic forecasts of the balancing electricity price P h t 0 and the day-ahead price P h t 1 . Next, we simulate various scenarios of the selling price, based on the share of electricity sold on the balancing market, w h t . Since there is no model structure that significantly outperforms the others, we use different combinations of the lag structures and the exogenous variables in the ARX model, see Section 3. Finally, we optimize a given economical criterion with respect to the shares w h t . The results of applying the proposed strategy in the validation window are compared with the strategy of [6], denoted as the benchmark strategy. Recall that this strategy is based on selling the whole electricity on the market with the higher price point forecast.

4.1. Profit-Maximization Based Strategy

We start with a strategy designed to maximize the selling price, see Equation (4), achieved by an electricity seller. To this end, we find the share of electricity sold on the balancing market, w h t , that maximizes the value of the 0.95 quantile of the constructed portfolios forecasted value. The procedure is repeated (i.e., the decision is made) for each day of the validation window. Assuming that the strategy to sale w h t from 1 MWh of energy on the balancing market and 1 w h t on the day-ahead market would be accepted, the total profit π , see Equation (10), and its 5% VaR were calculated. The comparison of the results obtained for the proposed strategy with the results obtained for the benchmark one for different combinations of the exogenous variables and different lag structures is presented in Table 3. We also extend the conducted research with a quantile regression method of scenarios generation, described in Section 3.2.2. Recall that in this method all of the considered point forecast models are combined.
Table 3 indicates that for each of the compared combinations of the lag structures and exogenous variables the total profit π obtained with the proposed strategy was higher than the total profit π obtained with the benchmark strategy based on the same exogenous variables and lag structures. In each of the considered cases the increase of profit is, however, connected with the increase of the risk, what is indicated by the value of the 5% VaR. In all of the considered cases it is related to the significant increase in the share of sales on the balancing market, which in daily terms is illustrated in Figure 2.
Profits obtained with the proposed strategy are rather similar among the considered sets of exogenous variables and lag structure. However, it is worth to notice, that the set of parameters which has brought the highest profit for the proposed strategy, i.e., X 2 and X 3 with L = [ 2 , 7 ] , for the benchmark strategy is not the most profitable. Looking at the results of the QRA method, we can notice that the total profit is in this case lower than for any of the model structures of the historical method, but still it is significantly higher that all of the profits obtained for the benchmark strategy. On the other hand, the risk associated with the strategy based on QRA is lower than the risk obtained with the historical simulation method. Still it is higher, than the risk of the benchmark strategy. Hence, in this case QRA can be regarded as a method compromising increase of the profit with lowering the risk.

4.2. Risk-Minimization Based Strategy

Since the investors not only look on the expected gain, but also on the minimization of the risk associated with the chosen strategy, another approach has also been considered. The risk minimization strategy is based on the maximization of the value at risk—A standard risk measure. Using the simulated selling price scenarios, the value of 0.05 quantile of the constructed portfolios distribution was maximized with respect to the share w h t of electricity sold on the balancing market. It allowed to cut off the most risky scenarios. Again, for the chosen strategy, the total profit and its 5 % VaR were calculated. The obtained results are given in Table 3.
As we can see, the goal of reducing the risk associated with selling electricity has been achieved. The 5 % VaR of daily profits is significantly higher than in the case of the benchmark strategy, but at the same time, the total profit is much lower. This is due to the fact that the maximization of 0.05 quantile leads to a strategy that largely focuses on selling on the day-ahead market. The share of sales on the balancing market in daily terms, for both of the strategies, is presented in Figure 3. The strategy obtained with the QRA method yields higher profit than most of the model structures (besides L = [ 2 , , 7 ] ) with risk being at the similar level. It is interesting to note, that using the risk-minimization strategy the obtained VaR is close to zero, with profits much larger than zero. It means that severe losses are very uncommon, while an extra profit can be achieved. This is illustrated by the top panel of Figure 3. The obtained profit in daily terms is usually smaller than of the benchmark strategy, but at the same time daily losses are also much lower.

4.3. Median-Maximization Based Strategy

Finally, we analyze results obtained by maximizing the median of the forecasted selling price distribution, rather than its tails, focusing on moderate scenarios. The results presented in Table 3 indicate that in each of the considered combinations of lag structures and exogenous variables, the obtained total profit was lower when we have applied the proposed strategy with historical simulation method, but in most cases it was also connected with the decrease of risk associated with selling electricity on the balancing market. Again, the optimal model structures are different for the proposed and the benchmark strategy.
The best results were definitely obtained with the QRA method. The total profit was higher than all of the values obtained with the historical method, being at the same time associated with the lowest risk. Comparing the QRA results with the benchmark strategy, we can see that the risk was in all cases much lower for the proposed strategy. On the other hand, the profit was also higher in most cases, with an exception only for X 1 , X 2 , X 3 and L = [ 2 , 7 ] , X 2 , X 3 and L = [ 2 ] , and finally L = [ 2 ] . It seems that the QRA method, based on the point forecasts averaging, is the best choice for moderate selling scenarios. For the chosen sets of parameters a comparison of daily profits and shares is illustrated in Figure 4.

4.4. Comparison of the Strategies

In Figure 5 we compare daily profits obtained using the profit-maximization, median-maximization, and the risk minimization strategies for the QRA method. Looking on the plot, as expected, daily profits are the highest for the profit-maximization based strategy, whereas they are the lowest for the strategy based on the risk-minimization. At the same time, we can observe the lowest volatility for the risk-minimization strategy and the highest for the profit-maximization. It confirms a well known fact, that higher profits are usually associated with higher risk. The median-maximization strategy profits are between the other two strategies.
An interesting picture can be observed on the plot of daily shares of sale in the balancing market, which are presented in the bottom panel of Figure 5. The risk-minimization strategy involves most trade in the less volatile and at the same time more safe day-ahead market. However, the optimal strategy still requires selling of about 20 % of electricity on the balancing market and there is none day for which the whole electricity should be sold on the day-ahead market. For the profit-maximization strategy the situation is opposite. If an electricity producer is focused on making a maximal possible profit, he should sell most of electricity on the balancing market, with a mean share of about 90 % . There are days in which the whole electricity should be sold on the balancing market according to this strategy. Again, for the median-maximization strategy the share of sales on the balancing market is in most days between the other two strategies, with a mean daily share of about 50 % .

5. Conclusions

Looking from a perspective of an electricity seller, an optimization of a selling strategy can be based on different factors. Both, the profit maximization and the risk minimization can be the target of the optimization. Although this subject is still a current and important problem, there is only little literature on this topic. With this paper we try to fill the gap and propose a novel approach to the optimization of the selling strategy based on probabilistic forecasting of the day-ahead and the balancing prices of energy. For this purpose, two methods of constructing strategies have been proposed, implemented, and compared with the benchmark selling strategy based on point ARX forecasts proposed recently by the authors of [6].
With the chosen optimization scheme we can build a strategy that responds to a given objective, e.g., risk minimization or profit maximization. The risk-minimization and the profit-maximization strategies have let us to achieve the objective, but while applying these methods, an increase of profit was associated with a significant increase of risk. In the case of the median-maximization based strategy, which can be interpreted as a strategy utilizing maximization of the middle of the portfolio, the quantile regression averaging method has brought the most satisfactory results. In this case, we have obtained a higher total profit than in any of the cases based on the historical simulation and most cases of the benchmark strategy. At the same time, the risk associated with selling on the balancing market has been decreased.
Although the developed strategy can probably be still refined using other methods of probabilistic forecasting, we believe that the proposed approach can significantly improve a decision making process for electricity sellers. It can be also easily extended to electricity buyers or another markets where a decision on a selling platform is an important issue. It should be noted, however, that in the paper we have considered a truly marginal producer, whose decisions on the supply quantity do not influence the market prices. If the market is large relative to a small individual power plant, like in the case of the day-ahead market, then this influence is negligible. On the other hand, for smaller markets, like the balancing market, a shift on the supply side could have a considerable effect on price. A possible solution for this problem is to analyze the supply and demand curves (see e.g., the recently proposed X model, [35]), instead of directly forecasting the clearing price.

Author Contributions

Conceptualization, J.J.; data curation, A.M.; formal analysis, J.J. and A.M.; methodology, J.J.; software, A.M.; supervision, J.J.; validation, A.M.; visualization, A.M.; writing—original draft, J.J. and A.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Eurostat. Available online: https://ec.europa.eu/eurostat/statistics-explained (accessed on 17 January 2020).
  2. Gianfreda, A.; Parisio, L.; Pelagatti, M. The impact of RES in the Italian day-ahead and balancing markets. Energy J. 2016, 37, 161–184. [Google Scholar] [CrossRef] [Green Version]
  3. Martinez-Anido, C.B.; Brinkman, G.; Hodge, B. The impact of wind power on electricity prices. Renew. Energy 2016, 94, 474–487. [Google Scholar] [CrossRef] [Green Version]
  4. Woo, C.K.; Moore, J.; Schneiderman, B.; Ho, T.; Olson, A.; Alagappan, L.; Chawlab, K.; Toyamad, N.; Zarnikau, J. Merit-order effects of renewable energy and price divergence in California’s day-ahead and real-time electricity markets. Energy Policy 2016, 92, 299–312. [Google Scholar] [CrossRef]
  5. Uniejewski, B.; Marcjasz, G.; Weron, R. Understanding intraday electricity markets: Variable selection and very short-term price forecasting using LASSO. Int. J. Forecast. 2019, 35, 1533–1547. [Google Scholar] [CrossRef] [Green Version]
  6. Maciejowska, K.; Nitka, W.; Weron, T. Day-ahead vs. intraday—Forecasting the price spread to maximize economic benefits. Energies 2019, 12, 631. [Google Scholar] [CrossRef] [Green Version]
  7. Weron, R. Electricity price forecasting: A review of the state-of-the-art with a look into the future. Int. J. Forecast. 2014, 30, 1030–1081. [Google Scholar] [CrossRef] [Green Version]
  8. Karakatsani, N.V.; Bunn, D.W. Forecasting electricity prices: The impact of fundamentals and time-varying coefficients. Int. J. Forecast. 2008, 24, 764–785. [Google Scholar] [CrossRef]
  9. Kristiansen, T. Forecasting nord pool day-ahead prices with an autoregressive model. Energy Policy 2012, 49, 328–332. [Google Scholar] [CrossRef]
  10. Kosater, P.; Mosler, K. Can Markov regime-switching models improve power-price forecasts? Evidence from German daily power prices. Appl. Energy 2006, 83, 943–958. [Google Scholar] [CrossRef] [Green Version]
  11. Janczura, J.; Weron, R. An empirical comparison of alternate regime-switching models for electricity spot prices. Energy Econ. 2010, 32, 1059–1073. [Google Scholar] [CrossRef] [Green Version]
  12. Bessa, R.J.; Trindade, A.; Miranda, V. Spatial-temporal solar power forecasting for smart grids. IEEE T. Ind. Inf. 2015, 11, 232–241. [Google Scholar] [CrossRef]
  13. Corizzo, R.; Pio, G.; Ceci, M.; Malerba, D. DENCAST: Distributed density-based clustering for multi-target regression. J. Big Data 2019, 6, 43. [Google Scholar] [CrossRef]
  14. Weron, R.; Misiorek, A. Forecasting spot electricity prices: A comparison of parametric and semiparametric time series models. Int. J. Forecast. 2008, 24, 744–763. [Google Scholar] [CrossRef] [Green Version]
  15. Monteiro, C.; Ramirez-Rosado, I.J.; Fernandez-Jimenez, L.A.; Conde, P. Short-term price forecasting models based on artificial neutral networks for intraday sessions in the Iberian electricity markets. Energies 2016, 9, 721. [Google Scholar] [CrossRef]
  16. Ceci, M.; Corizzo, R.; Malerba, D.; Rashkovska, A. Spatial autocorrelation and entropy for renewable energy forecasting. Data Min. Knowl. Disc. 2019, 33, 698. [Google Scholar] [CrossRef]
  17. Abdel-Nasser, M.; Mahmoud, K. Accurate photovoltaic power forecasting models using deep LSTM-RNN. Neural Comput. Appl. 2019, 31, 2727–2740. [Google Scholar] [CrossRef]
  18. Areekul, P.; Senju, T.; Toyama, H.; Chakraborty, S.; Yona, A.; Urasaki, N.; Mandal, P.; Saber, A.Y. New method for next-day price forecasting for PJM electricity market. Int. J. Emerg. Electr. Power Syst. 2010, 11, 3. [Google Scholar] [CrossRef]
  19. Narajewski, M.; Ziel, F. Econometric modelling and forecasting of intraday electricity prices. J. Commod. Mark. 2019. [Google Scholar] [CrossRef] [Green Version]
  20. Poplawski, T.; Dudek, G.; Łyp, J. Forecasting methods for balancing energy market in Poland. Int. J. Electr. Power 2015, 65, 94–101. [Google Scholar] [CrossRef]
  21. Kiesel, R.; Paraschiv, F. Econometric analysis of 15-minute intraday electricity prices. Energy Econ. 2017, 64, 77–90. [Google Scholar] [CrossRef] [Green Version]
  22. Ortner, A.; Totschnig, G. The future relevance of electricity balancing markets in Europe—A 2030 case study. Energy Strateg. Rev. 2019, 24, 111–120. [Google Scholar] [CrossRef]
  23. Nowotarski, J.; Weron, R. Recent advances in electricity price forecasting: A review of probabilistic forecasting. Renew. Sust. Energ. Rev. 2018, 81, 1548–1568. [Google Scholar] [CrossRef]
  24. Andrade, J.R.; Filipe, J.; Reis, M.; Bessa, R.J. Probabilistic price forecasting for day-ahead and intraday markets: Beyond the statistical model. Sustainability 2017, 9, 1990. [Google Scholar] [CrossRef] [Green Version]
  25. Browell, J. Risk constrained trading strategies for stochastic generation with a single-price balancing market. Energies 2018, 11, 1345. [Google Scholar] [CrossRef] [Green Version]
  26. TGE. Available online: https://tge.pl/statistic-data (accessed on 17 February 2020).
  27. PSE. Available online: https://www.pse.pl/web/pse-eng/data (accessed on 17 February 2020).
  28. Hubicka, K.; Marcjasz, G.; Weron, R. A note on averaging day-ahead electricity price forecasts across calibration windows. IEEE T. Sustain. Energ. 2019, 10, 321–323. [Google Scholar] [CrossRef]
  29. Maciejowska, K.; Nowotarski, J.; Weron, R. Probabilistic forecasting of electricity spot prices using factor quantile regression averaging. Int. J. Forecast. 2016, 32, 957–965. [Google Scholar] [CrossRef]
  30. Marcjasz, G.; Serafin, T.; Weron, R. Selection of calibration windows for day-ahead electricity price forecasting. Energies 2018, 11, 2364. [Google Scholar] [CrossRef] [Green Version]
  31. Gneiting, T.; Katzfuss, M. Probabilistic forecasting. Annu. Rev. Stat. Appl. 2014, 1, 125–151. [Google Scholar] [CrossRef]
  32. Koenker, R.; Basset, G. Regression quantiles. Econometrica 1978, 46, 33–50. [Google Scholar] [CrossRef]
  33. Nowotarski, J.; Weron, R. Computing electricity spot price prediction intervals using quantile regression and forecast averaging. Comput. Stat. 2015, 30, 791–803. [Google Scholar] [CrossRef] [Green Version]
  34. McNeil, A.J.; Frey, R.; Embrechts, P. Quantitative Risk Management: Concepts, Techniques and Tools: Concepts, Techniques and Tools; Princeton University Press: Princeton, NJ, USA, 2005; p. 38. [Google Scholar]
  35. Ziel, F.; Steinert, R. Electricity price forecasting using sale and purchase curves: The X-Model. Energy Econ. 2016, 59, 435–454. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Day-ahead prices, balancing prices, and spread for sample hours, h { 4 , 12 , 20 } , quoted on each day from the period from 1 January 2016 until 1 January 2018.
Figure 1. Day-ahead prices, balancing prices, and spread for sample hours, h { 4 , 12 , 20 } , quoted on each day from the period from 1 January 2016 until 1 January 2018.
Energies 13 01045 g001
Figure 2. Daily profits from the benchmark strategy and the strategy based on maximization of the 95 % quantile of the future portfolios value (top panel). Daily shares of sale on the balancing market associated with the benchmark strategy and the proposed 95 % quantiles maximization strategy (bottom panel). The results of the historical method are plotted for the model structure yielding the highest profit, i.e., with X 2 , X 3 , and L = [ 2 , 7 ] .
Figure 2. Daily profits from the benchmark strategy and the strategy based on maximization of the 95 % quantile of the future portfolios value (top panel). Daily shares of sale on the balancing market associated with the benchmark strategy and the proposed 95 % quantiles maximization strategy (bottom panel). The results of the historical method are plotted for the model structure yielding the highest profit, i.e., with X 2 , X 3 , and L = [ 2 , 7 ] .
Energies 13 01045 g002
Figure 3. Daily profits from the benchmark strategy and the strategy based on maximization of the 5 % quantile of the future portfolios value (top panel). Daily shares of sale on the balancing market associated with the benchmark strategy and the proposed 5 % quantiles maximization strategy (bottom panel). The results of the historical method are plotted for the model structure yielding the minimal risk, i.e., with X 1 , X 2 , X 3 , and L = [ 2 , 7 ] .
Figure 3. Daily profits from the benchmark strategy and the strategy based on maximization of the 5 % quantile of the future portfolios value (top panel). Daily shares of sale on the balancing market associated with the benchmark strategy and the proposed 5 % quantiles maximization strategy (bottom panel). The results of the historical method are plotted for the model structure yielding the minimal risk, i.e., with X 1 , X 2 , X 3 , and L = [ 2 , 7 ] .
Energies 13 01045 g003
Figure 4. Daily profits from the benchmark strategy and the strategy based on maximization of the median of the future portfolios value (top panel). Daily shares of sale on the balancing market associated with the benchmark strategy and the proposed medians maximization strategy (bottom panel). The results of the historical method are plotted for the model structure yielding the highest profit, i.e., with X 2 , X 3 , and L = [ 2 ] .
Figure 4. Daily profits from the benchmark strategy and the strategy based on maximization of the median of the future portfolios value (top panel). Daily shares of sale on the balancing market associated with the benchmark strategy and the proposed medians maximization strategy (bottom panel). The results of the historical method are plotted for the model structure yielding the highest profit, i.e., with X 2 , X 3 , and L = [ 2 ] .
Energies 13 01045 g004
Figure 5. Daily profits (top panel) and daily shares of sale on the balancing market (bottom panel) for the considered strategies constructed using the Quantile Regression Averaging (QRA) method.
Figure 5. Daily profits (top panel) and daily shares of sale on the balancing market (bottom panel) for the considered strategies constructed using the Quantile Regression Averaging (QRA) method.
Energies 13 01045 g005
Table 1. Notation for the variables.
Table 1. Notation for the variables.
Variable NameNotationUnit
Day-ahead price P 0 PLN/MWh
Balancing price P 1 PLN/MWh
Forecast of energy demand X 1 MWh
Forecast of wind generation X 2 MWh
Forecast of reserves X 3 MWh
Table 2. Comparison of the mean and the standard deviation (SD) of the electricity prices.
Table 2. Comparison of the mean and the standard deviation (SD) of the electricity prices.
Day-AheadBalancingSpread
HourMeanSDMeanSDMeanSD
1124.4714.26125.2526.200.7821.18
2118.6916.02119.6727.610.9822.84
3115.3616.69117.3127.721.9522.53
4114.8316.83116.1627.581.3322.97
5116.0916.65117.9427.141.8522.89
6121.3516.33124.7627.023.4122.06
7135.0019.62138.7627.123.7618.51
8154.3528.71162.5859.558.2350.50
9172.8841.63185.60105.3912.7288.32
10187.2667.73202.83135.0715.56108.21
11188.7572.56206.01143.1417.26112.56
12196.9990.39218.40176.1921.42136.36
13196.3789.69217.58183.0421.21139.63
14194.0289.13199.33153.665.31114.32
15178.5363.81184.40124.825.87101.65
16171.1942.94181.26112.2510.0795.15
17176.8860.73186.10122.829.21100.13
18182.4170.96189.94132.737.53108.13
19179.5757.28185.7596.826.1875.98
20183.0968.90190.02110.396.9282.79
21171.0532.05175.2975.404.2466.56
22154.0418.76155.8845.811.8440.44
23140.0114.37140.3425.240.3321.12
24128.2814.34130.5126.962.2322.78
Total158.4058.90165.50105.277.1079.26
Table 3. Results of the proposed strategies based on the maximization of the 95 % quantile (maximal profit objective), 5 % quantile (minimal risk objective), and 50 % quantile (maximal median objective) of portfolio’s forecasted value for different combinations of lags and exogenous variables as well as of the benchmark strategy with the same model structures. The best results for each strategy are marked in bold.
Table 3. Results of the proposed strategies based on the maximization of the 95 % quantile (maximal profit objective), 5 % quantile (minimal risk objective), and 50 % quantile (maximal median objective) of portfolio’s forecasted value for different combinations of lags and exogenous variables as well as of the benchmark strategy with the same model structures. The best results for each strategy are marked in bold.
Model/ObjectiveMaximal ProfitMinimal RiskMaximal MedianBenchmark
XL π VaR 5 % π VaR 5 % π VaR 5 % π VaR 5 %
X 1 , X 2 , X 3 [ 2 , 7 ] 86425.10−819.2510788.94−80.1069302.53−642.8371657.50−689.34
X 1 , X 2 , X 3 [ 2 ] 86265.34−819.7612291.50−99.5770583.69−674.4074498.54−711.64
X 2 , X 3 [ 2 , 7 ] 86576.17−819.828613.33−86.7868494.10−595.0369432.62−665.17
X 2 , X 3 [ 2 ] 86434.65−819.6610590.37−86.2971279.46−597.5875920.59−700.35
- [ 2 , 7 ] 85629.16−819.8213298.53−110.7268942.19−660.7970080.61−697.81
- [ 2 ] 85790.13−819.8213212.41−108.0669779.47−590.7276343.77−681.19
X 1 , X 2 , X 3 [ 2 , , 7 ] 86276.94−819.8214932.28−136.2069354.50−657.2771413.99−635.12
- [ 2 , , 7 ] 84745.57−811.1718215.60−139.3368942.19−660.7972044.88−649.27
X 2 , X 3 [ 2 , , 7 ] 86416.38−810.6013288.63−118.6167023.06−627.0069131.99−642.48
QRA82936.20−774.7816572.90−113.7272962.60−489.63

Share and Cite

MDPI and ACS Style

Janczura, J.; Michalak, A. Optimization of Electric Energy Sales Strategy Based on Probabilistic Forecasts. Energies 2020, 13, 1045. https://doi.org/10.3390/en13051045

AMA Style

Janczura J, Michalak A. Optimization of Electric Energy Sales Strategy Based on Probabilistic Forecasts. Energies. 2020; 13(5):1045. https://doi.org/10.3390/en13051045

Chicago/Turabian Style

Janczura, Joanna, and Aleksandra Michalak. 2020. "Optimization of Electric Energy Sales Strategy Based on Probabilistic Forecasts" Energies 13, no. 5: 1045. https://doi.org/10.3390/en13051045

APA Style

Janczura, J., & Michalak, A. (2020). Optimization of Electric Energy Sales Strategy Based on Probabilistic Forecasts. Energies, 13(5), 1045. https://doi.org/10.3390/en13051045

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