Next Article in Journal
Guidelines for Impact Echo Test Signal Interpretation Based on Wavelet Packet Transform for the Detection of Pile Defects
Next Article in Special Issue
Analysis of the Impact of Residential Property and Equipment on Building Energy Efficiency and Consumption—A Data Mining Approach
Previous Article in Journal
Visual and Quantitative Evaluation of Amyloid Brain PET Image Synthesis with Generative Adversarial Network
Previous Article in Special Issue
Temporal Convolutional Networks Applied to Energy-Related Time Series Forecasting
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Stability of Multiple Seasonal Holt-Winters Models Applied to Hourly Electricity Demand in Spain

by
Óscar Trull
1,
J. Carlos García-Díaz
1 and
Alicia Troncoso
2,*
1
Department of Applied Statistics, Operational Research and Quality, Universitat Politècnica de València, 46022 Valencia, Spain
2
Division of Computer Science, Universidad Pablo de Olavide, ES-41013 Seville, Spain
*
Author to whom correspondence should be addressed.
Appl. Sci. 2020, 10(7), 2630; https://doi.org/10.3390/app10072630
Submission received: 21 February 2020 / Revised: 1 April 2020 / Accepted: 6 April 2020 / Published: 10 April 2020

Abstract

:
Electricity management and production depend heavily on demand forecasts made. Any mismatch between the energy demanded with respect to that produced supposes enormous losses for the consumer. Transmission System Operators use time series-based tools to forecast accurately the future demand and set the production program. One of the most effective and highly used methods are Holt-Winters. Recently, the incorporation of the multiple seasonal Holt-Winters methods has improved the accuracy of the predictions. These forecasts, depend greatly on the parameters with which the model is constructed. The forecasters need to deal with these parameters values when operating the model. In this article, the parameters space of the multiple seasonal Holt-Winters models applied to electricity demand in Spain is analysed and discussed. The parameters stability analysis leads to forecasters better understanding the behaviour of the predictions and managing their exploitation efficiently. The analysis addresses different time windows, depending on the period of the year as well as different training set sizes. The results show the influence of the calendar effect on these parameters and if it is necessary or not to update them in order to obtain a good accuracy over time.

1. Introduction

The programming of the production of electrical energy is a complex task carried out by the Transmission System Operators (TSO). Their main objective is the supply of electricity, assuring the distribution. In addition, the energy production at the lowest possible cost to the consumer, without incurring losses is a key point [1]. Any mismatch between the programmed and the really demanded energy produces huge losses. Hobbs [2] determined that the losses produced by a 1% gap between planning and reality can cost up to millions of dollars. Hong et al. [3] determined that for a maximum peak demand central of 1 GW, a 1% error in the prediction can involve costs of $600,000 per year. The TSOs use for their predictions time series forecasting [4,5,6]. One of the most common used technique is the exponential smoothing methods, and especially the Holt-Winters models, due to their easy to understand and implement features [7,8]. Exponential smoothing methods use the data observed in the past to make predictions, assigning an exponentially decreasing weight to the older information against the newer. The way to assign the relevance of newer data against the older is performed by the weight assigned to smoothing parameters. The smoothing parameters are bounded in the range [0,1]. The closer to 0 the more important the older data is, and the contrary when closer to 1. The Holt-Winters model is described in Equations (1)–(4)
S t = α X t I t s + ( 1 α ) ( S t 1 + T t 1 )
T t = γ ( S t S t 1 ) + ( 1 γ ) T t 1
I t = δ X t S t + ( 1 δ ) I t s
X ^ t + h = ( S t + h T t ) I t s + h
where S t , and T t are the equations for the level and additive trend, with smoothing parameters α and γ . I t are the seasonal indices of length s, with smoothing parameters δ . X t is the observed data. Finally, X ^ t + h is the equation to forecast h time instants ahead. It collects the information contained in the model and makes predictions.
The introduction of double and triple seasonal models (HWT), described in [9,10], improved the accuracy of these methods, and their use is being generalized. Additionally, these methods behave very accurate for such type of series, with a strong seasonal effect [11,12]. The generalization to include up to n seasonal patterns is known as Multiple Seasonal Holt-Winters (nHWT), developed in [13]. The model is defined as in Equations (5)–(8),
S t = α X t i = 1 n s I t s i ( i ) + ( 1 α ) ( S t 1 + T t 1 )
T t = γ ( S t S t 1 ) + ( 1 γ ) T t 1
I t ( i ) = δ ( i ) X t S t j = 1 , j i n s I t s j ( j ) + ( 1 δ ( i ) ) I t s i ( i ) i = 1 , , n s
X ^ t + h = ( S t + h T t ) i = 1 n s I t s i + h ( i ) + φ A R ε t
where I t ( i ) are the seasonal indices of length s i , with smoothing parameters δ ( i ) . There are as many equations as seasonal patterns allocated in the time series, n s . The φ A R parameter is entered to correct the model including effectively the first order autocorrelation error ( ε t ), known as AR(1) adjustment.
Depending on the way the equations are defined, additive or multiplicative methods can be used. The method of combining the smoothing equations will determine the Holt-Winters model to be used. The combination provides 30 different models, according to the trend and seasonality combination, as well as AR(1) adjustment, as described in [13]. The nomenclature for these models is as follows: Three letters to describe the combination, where the first one describes the trend method, the second one the seasonality method and the last one whether the adjustment was applied. This combination is shown in Table 1. Furthermore, the model is described by adding as subscript the different seasonal patterns considered, using the length of the cycle. As an example, the A M C 24 , 168 one is a model with additive trend and multiplicative seasonal, the model is adjusted using first order autocorrelation error and it has two seasonalities, one daily (subscript 24) and one weekly (subscript 168).
The smoothing parameters are obtained by adjusting the model to data observed in the past, and try to reproduce the same pattern for the near future. The adjustment is done by solving a non-linear problem, in which the 1-hour-ahead forecasting error is minimised. This topic is better developed in Section 3. The smoothing parameters obtained are assumed to be optimal, and the model is then exploited. The optimality of these parameters is locally obtained, valid only for the dataset and the model selected. Moreover, the same parameter can highly vary from one method to another using the same dataset. Thus, it is a big deal for forecasters to understand the behaviour of the model considering the locally optimised parameters. The future predictions accuracy will be closely related to the smoothing parameters. The optimisation procedure is using an optimisation algorithm, that do not take care concerning the reality of the series. The forecaster needs to make use of the own experience to validate and approve the obtained parameters. These actions are crucial for the entire process. Some factors have an influence on the parameter values. The method to obtain initial values for seeding the model impact on the forecasting accuracy [14] although after an optimisation of the parameters, accuracy differences are also minimised [15]. Climate conditions are not a big deal in terms of short-term forecasting accuracy [12]. However, it seems reasonable the parameters ought to be influenced. If only two seasonal patterns are considered, seasons modify the trend, whereas if three seasonalities are considered, the intra-year seasonal parameter should be influenced. The calendar also has a huge influence on the predictions and parameters, that must deal with some irregularities of the series [16,17,18]. Therefore, forecasters should always pay close attention to the parameters values.
The forecasting procedure performed by TSOs must ensure continuously accurate forecasts for the electricity system. These predictions are used by the TSO for the operational planning and unit assignment, while they are also used by the market for the spot price settlement [19,20]. The Spanish electricity market (OMIE) operates similarly [21,22], where the unique Spanish TSO, Red Eléctrica de España (REE), supplies forecasts of demand for the next week every Wednesday, for the next 24 h every day, and a revision of the daily demand every six hour [23]. The market uses this information for the bidding process, as well as REE itself to carry out operational planning. Thus, there is an enormous responsibility in such eagerly awaited forecasts. In fact, REE uses a complex algorithm [24] to provide forecasts.
With such high frequency forecasting, there is a need for the model to be updated continuously. The forecaster must deal with the varying smoothing parameters and take decisions on the engaged forecasts. In the Holt-Winters literature there is a strong discussion about whether the parameters should be continuously readjusted as the series progresses, or on the contrary, they must be immobile and try to exploit them for as long as possible. The values of the parameters are also discussed, since high values of the parameters indicate a great damping to adapt to the new observed values, compared to low values, where the initial values are given greater weight. Before this doubt, the following question is added: how do the parameters respond to a specific time series, such as the hourly electricity demand in Spain? Make it sense the obtained values? What is their stability? All these questions have not been answered in the previous literature.
This article describes how we have performed a stability analysis on the parameters of the nHWT models applied to the electricity demand series in Spain. The main objective was to understand the behaviour of smoothing parameters against several different datasets with changes in climate conditions, time series components such as trend or seasonal, calendar effects among others. This analysis will help the forecasters to face the optimised model before making forecasts, considering the values of the parameters. It is also important to check whether it is necessary or not to update the smoothing parameters of the Holt-Winters models in order to obtain a good accuracy over time. On the other hand, the results of this study will show the influence of the calendar effect on these parameters, and therefore the need to develop new Holt-Winters models that take it into account [16].
The article is organized as follows: Section 2 reviews the existing literature related to the smoothing parameters of Holt-Winters models. Section 3 presents the methodology followed in order to predict the Spanish electricity demand time series and to analyze the variability of the parameters; in Section 4 the results obtained for a given double and triple seasonal model are shown and in Section 5 the results are discussed. Finally, the conclusions reached in this article are shown.

2. Related Work

Short and medium term electricity demand time series forecasting were extensively studied in the literature applying both statistical methods and machine learning techniques. Recently, the machine learning methods have focused on big data [25], especially deep learning [26,27], and ensemble methodologies [28,29].
Within classical methods, the accuracy of the forecasts in the Holt-Winters models has been widely studied, especially how to select the best method and adjust the parameters [30]. As the Holt–Winters models are recursive, an initialization value is needed to feed the model. Thus, the initialization methods for Holt-Winters were also another intense field of research especially with the emergence of double and triple seasonal Holt-Winters models [31,32]. In fact, new methods to initialize the level, trend and seasonality in multiple seasonal Holt–Winters models were recently developed in [14]. These seed values have influence on the smoothing parameters’ values as well as the forecasting accuracy [33]. However, when the series adjustment is made, the initial values lose influence [15]. After fitting the Holt-Winters model, the obtained smoothing parameters are assumed to be optimal for the data set. Thus, the study of their values or their stability has not been worked in depth in the literature. This is due, in large part, to the fact that the models do not allow a theoretical mathematical analysis.
Archibald [34] used 406 monthly series from the M competitions. He analyzed the models with additive seasonality, and demonstrated that the values of the parameters within the range [0,1] are not always invertible. Thus, it is necessary to use only a set range within the region of invertibility.
Lawton [35] used state spaces to analyze Holt-Winters models, and although his work focused on the normalization of the seasonal component, he also analyzed the stability of the parameters. From previous work on filters [36,37], it determined that Holt-Winters models are not asymptotically stable. The values of the eigenvectors of the stability matrices depend on the α , γ and δ parameters.
Some authors [38] worked on obtaining the limits of the smoothing parameters. They analyzed state space parameters, and stated the parameters ought to meet 0 < α < γ . Finally, the authors in [39] established a series of criteria in the parameters so that the models can be “predictable”, a term that mints whether a series will be able to make forecasts with constant mean and variance. Osman et al. [40] obtained the values of the main vectors and confirmed that the models proposed in [39] produce stable predictions, but if regressors are used, they must be invariant over time.
Another interesting study related to this paper is the study of the minimum size required for the sample. Hyndman et al. [41] analyzed this situation and concluded that there is no clear answer, but that there should be many more observations than parameters. In this regard, García-Díaz and Trull [13] verified that for a double seasonal model, a data set length of one year produces more stable parameters than 8–10 weeks.

3. Materials and Methods

The time series used in this study is the hourly electricity demand in Spain, within the years from 2008 to 2017. It was provided by REE through its website www.ree.es. This time series shows clearly several seasonalities: the intraday which is repeated every 24 h, and the intra-weekly, which is repeated every 168 h. A third seasonality has also been included, which relates the data of the series with the seasonal periods of the year. Various strategies were proposed to deal with the 3rd seasonality, since its length depends largely on the concept to be covered. Taylor uses the calendar year, so that the years comprise 52 weeks, although to adjust the process in leap years, it uses 53 weeks [10]. Most authors have chosen to use the solar year, which includes 365.25 days, and seasonally adjusted [42]. In our case, it was considered to be 365.25 days, or 8766 h.
This series was used in former works [43,44] and especially using the nHWT methods [13,14,16]. This experience showed the authors that many factors could have an impact on the model parameters, as well as its forecast accuracy, key point for the proper exploitation of the nHWT models. The influence of the initial values was analysed in [14]. However, there is still a lack of analysis regarding the meaning of the parameter space and their relation with forecasts.
The method described in this paper analyses the smoothing parameters of the nHWT forecasting procedure when working with the hourly electricity demand in Spain. It performs an analysis of the parameter values, by checking their behaviour depending on the method chosen from Table 1. That implies to analyse the stability against some influential factors derived from our experience such as seasons, years, calendar, and inner variability.
To match the previously mentioned issues, raw data must be used, avoiding any smoothing or modification of the series. Double seasonal nHWT used a dataset size of 8–10 weeks, it was chosen as this seems to be long enough for this purpose. Alternatively, an analysis of the dataset size is also performed. Triple seasonal nHWT used a dataset of three years.
Randomness in the series selection must be assured. To observe the maximum possible variability, randomly selected data sets were used, but always complying with the following premises:
  • At least 3 sets of data for each season of the year.
  • At least there must be sets in different years, to check the repeatability of the process in similar situations in a matter of period of the year, including holidays nearby.
  • The data has not been filtered or the special days were altered.
As a result, for the seasonal double analysis, 250 random samples of 10 weeks were extracted, of which, the first 8 weeks were used for adjustment, while the other two weeks were used for validation. Because the climatic effect present in the series must be assessed, the samples were selected so that they belong to different climatic periods and several years. Figure 1 shows the working scheme for this analysis.
The parameters optimization was done using a minimization algorithm, Nelder-Mead’s simplex [45], where the minimization function was the Root Mean of the Squared Error (RMSE), described in Equation (9).
R M S E = 1 h t = 1 h ( X ^ t X t ) 2
where h is the number of samples to be predicted.
Once the model was fit and the parameters obtained, 24-hours ahead forecast during two weeks were performed, and compared against the real data. The forecast accuracy was measured by using the Mean Average Percentage Error (MAPE), described in Equation (10).
M A P E ( % ) = 100 1 h t = 1 h X ^ t X t X t
The use of RMSE for the model optimisation is preferred [46]. On the contrary, the most commonly used indicator to compare forecast accuracy is MAPE [47], in special when comparing demand forecasts. The triple seasonal analysis was performed similarly, but it was needed a higher dataset to fit the model and obtain the parameters. Thus, 80 random samples from three full years and two weeks were sampled. The first set of three years was used to fit the model, whereas the two week set was used for validation purposes. In this case, only the A M C 24 , 168 , 8766 model was used for the analysis.

4. Results

The analysis procedure was organized inductively. First, the results of the forecasts and how they and the smoothing parameters evolve over time were observed for both double and triple seasonal Holt-Winters models, and then, the influence of the size of the adjusting set was analyzed.

4.1. Double Seasonal Models

Table 2 shows the results of the forecasts made by double seasonal models. In particular, the average of the MAPE when predicting the 250 random samples of two weeks. Only models with the correction of the first order autocorrelation error setting are shown, since they offer better results. Removing the year 2009, the year in which the crisis was emphasized in the Spanish industrial sector until that uncertain moment, the rest of the years there is a clear stability in the forecasts. Holt-Winters models are very robust to small variations. The forecast accuracy values are around 2.6% in terms of MAPE for 24 hours-ahead forecasts. In the triple seasonal case these values are around 7.9% of MAPE.
The N M C 24 , 168 is selected as it offers the best forecast accuracy. As the MAPE provided is an average each year, a split including the months is graphed in Figure 2 as weather conditions and months may influence on the results. Clearly the winter and autumn months have higher levels of MAPE, this time the winter months when worse forecasts occur.
Table 3 shows the distribution of the parameter values according to the year and seasonal period for the model N M C 24 , 168 . These values were obtained using the sets for adjustment composed of the 250 random samples of 8 weeks. The total row is the mean of the parameters if they are calculated without dividing into seasons. It can be seen that there was a shift in the parameter values from autumn to winter. The values for the daily seasonality are in the order of 0.2 to 0.3 with the exception of winter, where it increases to the value of 0.4. For the intra-weekly seasonality it has a value of 0.2 and it becomes 0.5 for the winter season.
Figure 3 shows a representation of the parameters over time. It can be observed how the values follow a pattern according to the period of the year. The level and AR(1) adjustment values are slightly different from those of the previous analysis. The level values are higher while the AR(1) adjustment is lower. This is because when the trend is removed, possible long-term variations are supplied by the level. The MAPE in winter season worsens while the smoothing parameters increase their variability in autumn. The randomness of the method chosen to analyse variability makes many forecasts done in winter to use a model optimised with data from autumn season. The special events during autumn impact greatly on the winter forecasts.
This analysis was completed with a study on the influence of the size of the training dataset on prediction accuracy. The date of 11 July 2016 was set for the 24-hours-ahead forecasts during two weeks, and the size of the training dataset increased from 8 weeks to several years. In this way, it is intended to observe the behaviour of the model with respect to the sample size, following the indications of [41].
Figure 4 presents the MAPE of the 24-hour forecasts according to the size of the sample for the N M C 24 , 168 and A M C 24 , 168 models in order to compare their behaviour. It can be observed that the A M C 24 , 168 model presents higher variability and the model starts to stabilize around the average value 1.7% when a sufficiently large set is used, in particular from 20,000 h. However, the N M C 24 , 168 model is much more stable, and with relatively small training sets, in particular, with a time series composed of 5000 h, it maintains accuracy values around 1.6%. The A M C 24 , 168 model is more unstable due to the trend equation (Equation (6)) as the electricity demand time series has no clear trend as shown in Figure 1. Using a larger dataset helps the N M C 24 , 168 model to stabilize while A M C 24 , 168 model depends clearly on the season the dataset starts. Although N M C 24 , 168 model shows better stability than A M C 24 , 168 , the smoothing parameter associated with the trend does not tend to 0 in order to converge to the same model. This is due to the parameters are local optimal, but not global optimal. Thus, the need for an analysis of these parameters and their stability is supported.
Figure 5 shows the evolution of the value of each parameter according to the size of the data set used for the adjustment of the N M C 24 , 168 model. It can be seen how there is a stabilization of the values in an asymptotic way. It is surprising how the values of the parameters associated with the seasonality exchange the weights as the data set grows. It can be noticed some peaks where the values go up. These peaks coincide with the beginning of the series on holidays. In fact, the most intense peaks coincide with the dates of the Immaculate Conception or Christmas. Once again, a stability in the predictions is observed demonstrating a great predictability. This characteristic does not have the same pattern for all models, and depends largely on the values of the seasonal component, always keeping low values for the α smoothing parameter.

4.2. Triple Seasonal Models

In this section, an analysis of the parameters of the triple seasonal Holt-Winters models is carried out. Data sets of size 3 years (53 × 24 × 7 × 3 h) were used to adjust the models. As in the case of double seasonal models, 24-hour forecasts were made for two weeks. Although all triple seasonal methods depending on the seasonality and trend were analyzed, there are no major differences between the models, and the A M C 24 , 168 , 8766 model turns out to be the easiest to study, as it has 6 parameters, including level, trend, seasonality and fit.
The results obtained are shown in Table 4, where the values of the parameters are organized according to the season and year. In particular, the mean and standard deviation of the smoothing parameters obtained using the 80 sets for adjustment composed of 8 random weeks are shown. It can be noticed that the standard deviation for Autumn of the year 2016 is not defined because it was only a random set of 8 weeks into the Autumn. Contrary to what happens in the double seasonal models, and as seen in the previous section, when using sets of size greater than 20,000 h, the values of the parameters are stabilized.
The value of the δ 24 parameter stabilizes around 0.3 for any period and with a minimum variability. The value of the δ 168 parameter stabilizes around 0.2 and the new parameter δ 8766 around 0.08 and 0.1. These values follow the pattern shown in Figure 5, although there is a transfer between the δ 168 parameter and the δ 8766 . The introduction of the third seasonality has forced the model to update the intra-weekly seasonality with more recent data over time. On the other hand, values of α stabilize around practically 0, and values of φ A R around 0.95. The existence of so much data makes the AR(1) adjustment practically responsible for adapting the level and makes the level equation redundant. This would imply the elimination of a parameter to be optimized.
In addition, an analysis of the size of the data set and its consequences on the forecasts was carried out in the same way as in the previous case. It was used on the same day, 11 July 2016, where the size of the observed data set was gradually increased and 24-hour forecasts were made over two weeks. The results are shown in Figure 6. An asymptotic evolution towards a MAPE of 2% can be seen. Although the MAPE is triggered and reduced again periodically. The shark fin form responds to an adjusting dataset beginning in the autumn, and finishing in the end of autumn—remember that in autumn the calendar effect was much more important than at other times. One of the main characteristics observed in the triple seasonal models is the variability in predictability, mainly produced by the time of year with more holidays, i.e., autumn.
The selection of 11 July 2016 for the forecasts responds to the necessity to avoid many special events nearby. The nearest one is the 1st May, and the series has enough time to react. As the model has low values for alpha, gamma and δ 8766 , near to zero, only the intraday and intraweek seasonal components can deal and react against the irregularities of the series, smoothing the model to newer values. The closer the start of the autumn period is, the less reaction time the model has to smooth the irregularities. These irregularities affect forecasts more intensely. When forecasting in other dates, the same analysis provides a similar fin-shaped graph. The only difference is the minimum and maximum of the MAPE, that depends on the date chosen.

5. Discussion of the Results

The objective of this section is the empirical analysis of multiple-seasonal Holt-Winters models applied to hourly electricity demand in Spain.
The literature found that analyses the parameters of the models tries to give a solution to the theoretical stability analysis, with the determination of the concept of predictability. However, its application to Holt-Winters models is not direct. It is necessary to carry out an empirical analysis of the models and their forecasts, and from there to draw conclusions about predictability.
A framework was established consisting of the usual process of adjustment and forecasting using a Spanish hourly electricity demand data set provided by REE. The forecasts obtained are then analyzed.
The double seasonal models with an 8 week adjustment period are shown to be robust with respect to predictions. Two different periods, with different characteristics, were used and 24-hour prediction MAPEs of around 2% to 2.6% were obtained. In the models with the best behaviour, the parameters were analyzed, and a direct relationship was found between variability and high values of the smoothing parameters associated with seasonality, and in the periods when a greater number of holidays occur.
The size of the observed data set influences the stability. The MAPE of the A M C 24 , 168 model has a variability of 0.2%, which from about 20,000 h is reduced to 0.1%. The N M C 24 , 168 model is much more stable—the series did not show a trend either—achieving this stability in sets longer than 5000 h. As the number of observations increases, the smoothing parameters show a stabilization.
In the case of triple seasonal models, a large number of observations are necessary to adjust the model. Therefore, parameter values are stabilized from the beginning. It can be seen how the predictions get worse when the set of values starts at significant dates in the autumn, a season with many public holidays. Forecasters need to use a dataset avoiding to start in autumn. If no other solution is possible, it is interesting to reduce the dataset size as it is large enough, but not including autumn.
In short, it can be seen that the parameters need a large data set to stabilize, and that the triple seasonal models are not able to improve the double seasonal forecasts due to the calendar effect. As a consequence, it is necessary to develop models that are able to reduce this variability by including the calendar effect in the model.

6. Conclusions

This article analyses the stability of the smoothing parameters in the multiple seasonal Holt-Winters models. This is crucial for the proper appliance of these models to provide accurate and trusted forecasts. Although most of the time, an automatic forecasting algorithm can provide good results, forecasters need to understand the behaviour of these parameters before submitting the forecasts. We use the time series of the hourly Spanish electricity demand.
In this work, we analyze the behaviour of the smoothing parameters of the multiple seasonal Holt-Winters models applied to the series of hourly electricity demand in Spain. There are many variables that affect the parameters within the same time series, including the computation of the initial values, in addition to other factors, such as the calendar or climate conditions. This variability of the parameters is subsequently reflected in the accuracy of the forecasts since they depend greatly on the calculation of the parameters.
The variation of the parameters is analyzed when different seasonal and trend methods are used, as well as different climatic situations of the series. Additionally, it is analyzed how the size of the data set used in order to adjust the model influences on the parameters, and, thus, in the forecasts. It was observed that the seasonal parameters are strongly dependent on the period of the year, making autumn a really difficult period to deal with. This effect is more pronounced in the intra-weekly seasonality than the daily one. However, with the increase in the size of the fitting set, these parameter values stabilise around a value, which depends on the time series. When the size of the set is bigger than 5000 hours, the values are stable. Triple seasonal models have much more stable parameters, although a much larger set of data is necessary to adjust the model. It was found that the main source of variability of the parameters is the calendar effect, which strongly influences the accuracy of the forecasts, not being so much the climatic effect on the series. The accuracy of the forecasts is also stabilised with a larger set of data, it is not necessary to have more than 5000 observations. It is also observed how double seasonal models provide better predictions than triple seasonal ones. The results of the current analysis are limited to being used with Spanish electricity demand. Of course, similar results are expected when faced with load forecasting in other countries or systems. Future works will be addressed toward the development of new models able to include calendar effect in the own model as well as models for the prediction of holidays through the inclusion of discrete seasonalities.

Author Contributions

Conceptualization, Ó.T. and J.C.G.-D.; methodology, J.C.G.-D.; software, Ó.T.; validation, Ó.T., A.T. and J.C.G.-D.; writing–original draft preparation, Ó.T. and J.C.G.-D.; writing–review and editing, A.T.; supervision, A.T. and J.C.G.-D.; project management: A.T.. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Acknowledgments

The authors would like to thank the Spanish Ministry of Economy and Competitiveness for the support under project TIN2017-8888209C2-1-R.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Martínez-Ramos, J.L.; Troncoso, A.; Riquelme-Santos, J.; Gómez-Expósito, A. Short-term hydro-thermal coordination based on interior point nonlinear programming and genetic algorithms. In Proceedings of the IEEE Porto Power Tech Conference, Porto, Portugal, 10–13 September 2001; pp. 1–6. [Google Scholar]
  2. Hobbs, B.F. Analysis of the value for unit commitment of improved load forecasts. IEEE Trans. Power Syst. 1999, 14, 1342–1348. [Google Scholar] [CrossRef]
  3. Hong, T. Crystal Ball Lessons in Predictive Analytics. Energybiz 2015, 12, 35–37. [Google Scholar]
  4. Weron, R. Modeling and Forecasting Electricity Loads and Prices: A Statistical Approach; John Wiley & Sons: Hoboken, NJ, USA, 2013. [Google Scholar]
  5. 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]
  6. Troncoso, A.; Riquelme-Santos, J.M.; Gómez-Expósito, A.; Martínez-Ramos, J.L.; Riquelme, J.C. Electricity Market Price Forecasting Based on Weighted Nearest Neighbors Techniques. IEEE Trans. Power Syst. 2007, 22, 1294–1301. [Google Scholar]
  7. Chatfield, C.; Mohammad, Y. Holt-Winters Forecasting: Some Practical Issues. J. R. Stat. Soc. Ser. D (The Statistician) 1988, 37, 129–140. [Google Scholar] [CrossRef]
  8. Gardner, E.S. Exponential smoothing: The state of the art—Part II. Int. J. Forecast. 2006, 22, 637–666. [Google Scholar] [CrossRef]
  9. Taylor, J.W. Short-term electricity demand forecasting using double seasonal exponential smoothing. J. Oper. Res. Soc. 2003, 54, 799–805. [Google Scholar] [CrossRef]
  10. Taylor, J.W. Triple seasonal methods for short-term electricity demand forecasting. Eur. J. Oper. Res. 2010, 204, 139–152. [Google Scholar] [CrossRef] [Green Version]
  11. Taylor, J.W. An evaluation of methods for very short-term load forecasting using minute-by-minute British data. Int. J. Forecast. 2008, 24, 645–658. [Google Scholar] [CrossRef]
  12. Taylor, J.W.; Espasa, A. Energy forecasting. Int. J. Forecast. 2008, 24, 561–565. [Google Scholar] [CrossRef]
  13. García-Díaz, J.; Trull, O. Competitive Models for the Spanish Short-Term Electricity Demand Forecasting. In Proceedings of the International Conference on Time Series and Forecasting, Granada, Spain, 27–29 June 2016; pp. 217–231. [Google Scholar]
  14. Trull, O.; García-Díaz, J.C.; Troncoso, A. Initialization Methods for Multiple Seasonal Holt–Winters Forecasting Models. Mathematics 2020, 8, 268. [Google Scholar] [CrossRef] [Green Version]
  15. Makridakis, S.; Wheelwright, S.; Hyndman, R. Forecasting: Methods and Applications; John Willey and Sons: Hoboken, NJ, USA, 1998. [Google Scholar]
  16. Trull, O.; García-Díaz, J.C.; Troncoso, A. Application of Discrete-Interval Moving Seasonalities to Spanish Electricity Demand Forecasting during Easter. Energies 2019, 12, 1083. [Google Scholar] [CrossRef] [Green Version]
  17. López, M.; Sans, C.; Valero, S.; Senabre, C. Classification of Special Days in Short-Term Load Forecasting: The Spanish Case Study. Energies 2019, 12, 1253. [Google Scholar] [CrossRef] [Green Version]
  18. Arora, S.; Taylor, J. Short-term forecasting of anomalous load using rule-based triple seasonal methods. IEEE Trans. Power Syst. 2013, 28, 3235–3242. [Google Scholar] [CrossRef] [Green Version]
  19. David, A.K.; Wen, F. Strategic bidding in competitive electricity markets: a literature survey. In Proceedings of the 2000 Power Engineering Society Summer Meeting (Cat. No. 00CH37134), Seattle, WA, USA, 16–20 July 2000; Volume 4, pp. 2168–2173. [Google Scholar]
  20. Barroso, L.A.; Cavalcanti, T.H.; Giesbertz, P.; Purchala, K. Classification of electricity market models worldwide. In Proceedings of the International Symposium CIGRE/IEEE PES, San Antonio, TX, USA, 5–7 October 2005; pp. 9–16. [Google Scholar]
  21. Roldán-Fernández, J.; Gómez-Quiles, C.; Merre, A.; Burgos-Payán, M.; Riquelme-Santos, J.M. Cross-border energy exchange and renewable premiums: The case of the Iberian system. Energies 2018, 11, 3277. [Google Scholar] [CrossRef] [Green Version]
  22. Domínguez, E.F.; Bernat, J.X. Restructuring and generation of electrical energy in the Iberian Peninsula. Energy Policy 2007, 35, 5117–5129. [Google Scholar] [CrossRef]
  23. Cancelo, J.R.; Espasa, A.; Grafe, R. Forecasting the electricity load from one day to one week ahead for the Spanish system operator. Int. J. Forecast. 2008, 24, 588–602. [Google Scholar] [CrossRef] [Green Version]
  24. López, M.; Valero, S.; Senabre, C. Short-term load forecasting of multiregion systems using mixed effects models. In Proceedings of the 2017 14th International Conference on the European Energy Market (EEM), Dresden, Germany, 6–9 June 2017; pp. 1–5. [Google Scholar]
  25. Talavera-Llames, R.; Pérez-Chacón, R.; Troncoso, A.; Martínez-Álvarez, F. Big data time series forecasting based on nearest neighbours distributed computing with Spark. Knowl. Based Syst. 2018, 161, 12–25. [Google Scholar] [CrossRef]
  26. Bedi, J.; Toshniwal, D. Deep learning framework to forecast electricity demand. Appl. Energy 2019, 238, 1312–1326. [Google Scholar] [CrossRef]
  27. Torres, J.F.; Troncoso, A.; Koprinska, I.; Wang, Z.; Martínez-Álvarez, F. Big data solar power forecasting based on deep learning and multiple data sources. Appl. Energy 2019, 238, 1312–1326. [Google Scholar] [CrossRef]
  28. Yang, Y.; Hong, W.; Li, S. Deep ensemble learning based probabilistic load forecasting in smart grids. Energy 2019, 189, 116324. [Google Scholar] [CrossRef]
  29. Galicia, A.; Talavera-Llames, R.; Troncoso, A.; Koprinska, I.; Martínez-Álvarez, F. Multi-step forecasting for big data time series based on ensemble learning. Knowl. Based Syst. 2019, 163, 830–841. [Google Scholar] [CrossRef]
  30. Jiang, W.; Wu, X.; Gong, Y.; Yu, W.; Zhong, X. Holt–Winters smoothing enhanced by fruit fly optimization algorithm to forecast monthly electricity consumption. Energy 2020, 193, 116779. [Google Scholar] [CrossRef]
  31. Holt, C.C. Forecasting seasonals and trends by exponentially weighted moving averages. Int. J. Forecast. 2004, 20, 5–10. [Google Scholar] [CrossRef]
  32. Bowerman, B.L.; O’Connell, R.; Koehler, A. Forecasting, Time Series, and Regression: An Applied Approach, 4th ed.; Thomson Brooks/Cole: Belmont, CA, USA, 2005. [Google Scholar]
  33. Makridakis, S.; Hibon, M. Exponential smoothing: The effect of initial values and loss functions on postsample forecasting accuracy. Int. J. Forecast. 1991, 7, 317–330. [Google Scholar] [CrossRef]
  34. Archibald, B.C. Parameter space of the Holt–Winters’ model. Int. J. Forecast. 1990, 6, 199–210. [Google Scholar] [CrossRef]
  35. Lawton, R. How should additive Holt–Winters estimates be corrected? Int. J. Forecast. 1998, 14, 393–403. [Google Scholar] [CrossRef]
  36. Barnett, S.; Cameron, R.G. Introduction to Mathematical Control Theory, 2nd ed.; Oxford University Press: Oxford, UK, 1985. [Google Scholar]
  37. Harvey, A.C. Forecasting, Structural Time Series Models and the Kalman Filter; Cambridge University Press: Cambridge, UK, 1990. [Google Scholar]
  38. Hyndman, R.J.; Akram, M.; Archibald, B.C. Invertibility Conditions for Exponential Smoothing Models; Monash University, Department of Econometrics and Business Statistics: Monash, Australia, 2003. [Google Scholar]
  39. Hyndman, R.J.; Akram, M.; Archibald, B.C. The admissible parameter space for exponential smoothing models. Ann. Inst. Stat. Math. 2008, 60, 407–426. [Google Scholar] [CrossRef]
  40. Osman, A.F.; King, M.L. Stability and Forecastability Characteristics of Exponential Smoothing with Regressors Methods. In Proceedings of the Regional Conference on Science, Technology and Social Sciences (RCSTSS 2016), Penang, Malaysia, 4–6 December 2016; pp. 1029–1038. [Google Scholar]
  41. Hyndman, R.J.; Kostenko, A.V. Minimum sample size requirements for seasonal forecasting models. Foresight 2007, 6, 12–15. [Google Scholar]
  42. Bermúdez, J. Exponential smoothing with covariates applied to electricity demand forecast. Eur. J. Ind. Eng. 2013, 7, 333–349. [Google Scholar] [CrossRef]
  43. Troncoso, A.; Riquelme-Santos, J.M.; Riquelme, J.; Gómez-Expósito, A.; Martínez-Ramos, J.L. Time-Series Prediction: Application to the Short-Term Electric Energy Demand. Lecture Notes Comput. Sci. 2004, 3040, 577–586. [Google Scholar]
  44. Rana, M.; Koprinska, I. Forecasting electricity load with advanced wavelet neural networks. Neurocomputing 2016, 182. [Google Scholar] [CrossRef]
  45. Nelder, J.A.; Mead, R. A Simplex Method for Function Minimization. Comput. J. 1965, 7, 308–313. [Google Scholar] [CrossRef]
  46. Hyndman, R.J.; Koehler, A.B. Another look at measures of forecast accuracy. Int. J. Forecast. 2006, 22, 679–688. [Google Scholar] [CrossRef] [Green Version]
  47. Tofallis, C. A better measure of relative prediction accuracy for model selection and model estimation. J. Oper. Res. Soc. 2015, 66, 1352–1362. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Demand split in years and seasons for stability analysis.
Figure 1. Demand split in years and seasons for stability analysis.
Applsci 10 02630 g001
Figure 2. MAPE radar diagram of the forecasts for the N M C 24 , 168 model using the demand time series from 2008 to 2017.
Figure 2. MAPE radar diagram of the forecasts for the N M C 24 , 168 model using the demand time series from 2008 to 2017.
Applsci 10 02630 g002
Figure 3. Radar diagram of the average of the parameters for the model N M C 24 , 168 depending on the time.
Figure 3. Radar diagram of the average of the parameters for the model N M C 24 , 168 depending on the time.
Applsci 10 02630 g003
Figure 4. MAPE of the 24-hours ahead forecasts according to the size of the datasets used to obtain the model.
Figure 4. MAPE of the 24-hours ahead forecasts according to the size of the datasets used to obtain the model.
Applsci 10 02630 g004
Figure 5. Evolution of parameters versus size of data set.
Figure 5. Evolution of parameters versus size of data set.
Applsci 10 02630 g005
Figure 6. MAPE of the forecasts for 24-hours ahead according to the size of the dataset used to obtain the A M C 24 , 168 , 8766 model.
Figure 6. MAPE of the forecasts for 24-hours ahead according to the size of the dataset used to obtain the A M C 24 , 168 , 8766 model.
Applsci 10 02630 g006
Table 1. Multiple seasonal Holt-Winters models’ nomenclature according to trend and seasonal method. The first letter determines the trend, N: none, A: additive, d: damped additive, M: multiplicative and D: damped multiplicative. The second letter is used for Seasonality, with only N (none), A (additive) and M (multiplicative) option. The third letter is used for the AR(1) adjustment: L (no adjustment) and C (adjusted).
Table 1. Multiple seasonal Holt-Winters models’ nomenclature according to trend and seasonal method. The first letter determines the trend, N: none, A: additive, d: damped additive, M: multiplicative and D: damped multiplicative. The second letter is used for Seasonality, with only N (none), A (additive) and M (multiplicative) option. The third letter is used for the AR(1) adjustment: L (no adjustment) and C (adjusted).
SeasonalityNoneAdditiveMultip.NoneAdditiveMultip.
Trend NormalAR(1) Adjusted
NoneNNLNALNMLNNCNACNMC
AdditiveANLAALAMLANCAACAMC
Damped additivedNLdALdMLdNCdACdMC
MultiplicativeMNLMALDMLMNCMACMMC
Damped multiplicativeDNLDMLDMLDMCDACDMC
Table 2. Summary of the 24-hour ahead forecasting MAPE of double seasonal models, split by years.
Table 2. Summary of the 24-hour ahead forecasting MAPE of double seasonal models, split by years.
Year2008200920102011201220132014201520162017Mean
A A C 24 , 168 2.47553.33222.87052.53672.67612.26572.54472.45272.67412.62382.6963
A M C 24 , 168 2.46443.25762.83892.49742.56972.22842.42252.41312.71292.69722.6521
d A A C 24 , 168 2.44023.30522.82272.51202.59272.22722.51142.43972.63612.61892.6571
d A M C 24 , 168 2.40283.17232.80472.47202.52092.21902.38662.41642.64472.55852.6034
D M A C 24 , 168 2.44833.32172.80342.51832.60542.23512.48462.42792.63992.62962.6601
D M M C 24 , 168 2.41193.15722.80872.45192.52672.20452.40772.41172.63302.61842.6026
M A C 24 , 168 2.47223.33202.84272.52602.60592.24302.50312.44202.65202.63252.6746
M M C 24 , 168 2.44623.18442.85382.46702.56812.24442.47872.57812.73702.76152.6531
N A C 24 , 168 2.44343.32082.81312.49702.59322.22582.48692.42562.64972.62162.6552
N M C 24 , 168 2.40613.13392.80432.41962.51262.17202.44072.39992.63662.58102.5872
Table 3. Distribution of the parameters for the N M C 24 , 168 model.
Table 3. Distribution of the parameters for the N M C 24 , 168 model.
α δ ( 24 ) δ ( 168 ) φ AR
meanDev.meanDev.meanDev.meanDev.
2009
Autumn 0.06470.03980.30030.05880.26600.07950.87160.0487
Spring 0.00990.00740.37620.13260.16680.03160.94800.0245
Summer 0.05020.02880.24070.08700.20440.06370.89380.0420
Winter 0.60090.41410.42400.22090.63860.38750.66150.1899
Total 0.16230.29820.33310.14570.30480.25480.85220.1390
2010
Autumn 0.08050.06100.28900.02810.21520.04220.90110.0446
Spring 0.02300.01950.30290.11010.21880.05050.93530.0163
Summer 0.05280.00750.24680.09210.25180.06850.87690.0279
Winter 0.39680.47660.31480.15640.53310.42680.75370.2124
Total 0.10000.20560.28630.09500.26960.18680.88500.0966
2011
Autumn 0.02350.07230.30170.04410.23510.08390.94130.0552
Spring 0.02910.02380.33660.14350.19730.04950.90950.0448
Summer 0.08040.05150.21230.05630.22280.08220.88460.0582
Winter 0.18210.39130.29250.05750.48780.30390.86180.1942
Total 0.06240.15280.28740.09710.25730.15660.90630.0865
2012
Autumn 0.05290.04560.33750.04520.23400.06910.90880.0480
Spring 0.02440.03670.33820.12810.20570.04780.94300.0542
Summer 0.10050.04340.22590.06620.20830.03730.84450.0208
Winter 0.47010.47200.38580.22040.62690.41470.67810.2440
Total 0.12640.24150.31790.12630.28520.22580.86380.1358
2013
Autumn 0.04290.01750.32590.07980.24200.07930.85600.0574
Spring 0.01820.01870.31600.11680.16830.06060.93650.0389
Summer 0.01700.01870.22180.08240.23060.07080.92400.0541
Winter 0.55740.49540.57060.35620.71780.39040.63410.2710
Total 0.12440.29320.34070.20670.29920.26810.86570.1650
2014
Autumn 0.06760.03620.38230.04960.23690.08660.76440.1494
Spring 0.02210.02050.35680.16770.19650.01300.93760.0361
Summer 0.01390.02380.19540.10140.23850.03630.95370.0148
Winter 0.38120.49670.31560.19550.46920.46010.70070.1910
Total 0.12120.26520.31250.14140.28530.22960.83910.1547
2015
Autumn 0.00210.00210.31230.02850.24280.03140.94740.0133
Spring 0.04400.03860.35070.13490.16730.02150.91990.0360
Summer 0.03140.03300.26160.12340.24860.14690.92780.0539
Winter 0.37220.48740.34290.21050.45520.47180.68100.2140
Total 0.11240.26160.31690.12500.27850.23900.86900.1486
2016
Autumn 0.04430.00820.32380.01650.23900.02730.92090.0068
Spring 0.05530.04370.33450.12260.22790.08680.85080.1155
Summer 0.07550.03040.20210.07640.23800.08320.88760.0036
Winter 0.32900.51730.26900.12280.49700.43700.74500.2567
Total 0.12600.25360.28240.09800.30050.22700.85110.1385
2017
Autumn 0.02730.02060.31930.04160.22260.02980.93240.0348
Spring 0.01880.01820.35010.19700.22080.04810.94830.0277
Summer 0.04940.00210.30120.03050.21270.04190.92250.0085
Winter 0.33470.51090.37650.27080.49630.43660.72590.2737
Total 0.10750.25790.33680.14760.28810.22660.88230.1516
Table 4. Distribution of smoothing parameters of the A M C 24 , 168 , 8766 model.
Table 4. Distribution of smoothing parameters of the A M C 24 , 168 , 8766 model.
α γ δ ( 24 ) δ ( 168 ) δ ( 8766 ) φ AR
meanDev.meanDevmeanDev.meanDev.meanDev.meanDev.
2011
Autumn 0.00080.00090.00010.00000.30810.00040.22960.00190.07830.03060.94690.0019
Spring 0.00060.00080.00010.00000.31370.00690.23770.01830.04800.05020.94630.0012
Summer 0.00010.00000.00010.00000.31930.00940.22650.00870.07180.06350.94770.0014
Winter 0.00010.00000.00010.00000.30640.00440.21440.01460.16120.00380.94660.0004
Total 0.00030.00050.00010.00000.31280.00810.22670.01490.08920.06040.94660.0014
2012
Autumn 0.00010.00000.00010.00000.31320.01130.24460.00820.04830.06820.94980.0016
Spring 0.00080.00090.00010.00000.30320.00450.22770.00180.08860.02210.94380.0008
Summer 0.00070.00130.00010.00000.31900.00900.23400.01390.06840.04870.94420.0017
Winter 0.00040.00050.00010.00000.32590.01010.24040.02150.08260.03860.94460.0016
Total 0.00050.00080.00010.00000.31580.01160.23440.01380.07350.04050.94580.0026
2013
Autumn 0.00010.0000.00010.00000.31850.00790.23480.01220.08020.01540.95100.0003
Spring 0.00010.00000.00010.00000.30380.00460.22800.00750.08850.03280.95340.0017
Summer 0.00010.00000.00010.00000.31470.00300.22140.00600.10170.02590.95150.0011
Winter 0.00010.00000.00010.00000.31790.01330.22920.00200.14810.05710.95220.0014
Total 0.00010.00000.00010.00000.31340.00900.22720.00800.10640.04160.95230.0014
2014
Autumn 0.00010.00000.00010.00000.31780.01000.24520.00770.04670.04620.94370.0005
Spring 0.00010.00000.00010.00000.31450.00290.22510.00720.08930.01260.94190.0004
Summer 0.00010.00000.00010.00000.32350.01300.23520.00940.05570.05170.94290.0018
Winter 0.00010.00000.00010.00000.32440.00320.23180.00280.10030.05150.94460.0022
Total 0.00010.00000.00010.00000.32400.00840.23430.00980.07310.04390.94330.0016
2015
Autumn 0.00010.00000.00010.00000.29840.00950.22580.01060.09830.02040.94260.0014
Spring 0.00010.00000.00010.00000.30500.00400.22790.00420.04030.01470.94210.0014
Summer 0.00070.00100.00010.00000.31340.00550.22500.01270.05960.05230.94110.0027
Winter 0.00010.00000.00010.00000.31600.00680.21170.00740.13770.03030.94030.0003
Total 0.00020.00050.00010.00000.30820.00920.22240.01030.08400.04810.94150.0017
2016
Autumn 0.00010.00010.32630.22460.03990.9470
Spring 0.00010.00000.000100.00000.30350.00670.22620.00960.07570.02730.94530.0015
Summer 0.00010.00000.00010.00000.31120.00650.22320.00550.08810.03440.94570.0022
Winter 0.00010.00000.00010.00000.30890.00400.21710.00250.13010.03810.94300.0008
Total 0.00020.00050.00010.00000.31340.00970.22810.01150.08620.04620.94560.0038

Share and Cite

MDPI and ACS Style

Trull, Ó.; García-Díaz, J.C.; Troncoso, A. Stability of Multiple Seasonal Holt-Winters Models Applied to Hourly Electricity Demand in Spain. Appl. Sci. 2020, 10, 2630. https://doi.org/10.3390/app10072630

AMA Style

Trull Ó, García-Díaz JC, Troncoso A. Stability of Multiple Seasonal Holt-Winters Models Applied to Hourly Electricity Demand in Spain. Applied Sciences. 2020; 10(7):2630. https://doi.org/10.3390/app10072630

Chicago/Turabian Style

Trull, Óscar, J. Carlos García-Díaz, and Alicia Troncoso. 2020. "Stability of Multiple Seasonal Holt-Winters Models Applied to Hourly Electricity Demand in Spain" Applied Sciences 10, no. 7: 2630. https://doi.org/10.3390/app10072630

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