In Search of Deep Learning Architectures for Load Forecasting: A Comparative Analysis and the Impact of the Covid-19 Pandemic on Model Performance
Sotiris Pelekis, Evangelos Karakolis, Francisco Silva, Vasileios, Schoinas, Spiros Mouzakitis, Georgios Kormpakis, Nuno Amaro, John Psarras

TL;DR
This paper compares deep learning models for short-term load forecasting in power grids, analyzing their accuracy, sustainability, and robustness during the COVID-19 pandemic, with implications for energy market participation and grid reliability.
Contribution
It provides a comparative analysis of N-BEATS, LSTM, and TCN architectures for load forecasting, including their performance during distribution shifts caused by the COVID-19 pandemic.
Findings
N-BEATS outperforms other models in accuracy.
COVID-19 significantly impacts model performance.
LSTM and TCN show varying robustness to distribution shifts.
Abstract
In power grids, short-term load forecasting (STLF) is crucial as it contributes to the optimization of their reliability, emissions, and costs, while it enables the participation of energy companies in the energy market. STLF is a challenging task, due to the complex demand of active and reactive power from multiple types of electrical loads and their dependence on numerous exogenous variables. Amongst them, special circumstances, such as the COVID-19 pandemic, can often be the reason behind distribution shifts of load series. This work conducts a comparative study of Deep Learning (DL) architectures, namely Neural Basis Expansion Analysis Time Series Forecasting (N-BEATS), Long Short-Term Memory (LSTM), and Temporal Convolutional Networks (TCN), with respect to forecasting accuracy and training sustainability, meanwhile examining their out-of-distribution generalization capabilities…
| Time | Periodicity | Encoding | Number of |
| Feature | Method | Derived Covariates | |
| Year | - | Integer | 1 |
| Month | Yearly | Sine & Cosine | 2 |
| Day of Year | Yearly | Sine & Cosine | 2 |
| Day of Week | Weekly | Sine & Cosine | 2 |
| Week of Year | Yearly | Sine & Cosine | 2 |
| Holiday | Yearly | Boolean | 1 |
| Base | Architectural Properties per Model Flavor | ||
|---|---|---|---|
| Model | Property Name | Flavor 0 | Flavor 1 |
| N-BEATS | Number of stacks | 20 | 30 |
| Number of blocks | 1 | 1 | |
| Number of layers | 4 | 4 | |
| Layer widths | 64 | 512 | |
| Expansion coefficient dim. | 5 | 5 | |
| Encoder – | Recurrent layers | 1 | 2 |
| Decoder LSTM | Hidden dimension | 20 | 64 |
| Dropout | 0 | 0 | |
| Learning rate | 0.0008 | 0.001 | |
| TCN | Kernel size | 3 | 5 |
| Number of filters | 3 | 5 | |
| Dilation base | 2 | 3 | |
| Convolutional layers | auto | auto | |
| PSF | Ensemble Method | Averaging | SVR |
| Architecture | Performance | |||||
| Model | Model | GPU | ||||
| Family | ID | Flavor | l | MAPE | Epochs | Time |
| (h) | ||||||
| PSF | 0 | 0 | - | 3.333 | - | 0 |
| 1 | 1 | - | 3.581 | - | 0 | |
| N-BEATS | 2 | 0 | 384 | 2.245 | 51 | 1.10 |
| 3 | 0 | 672 | 2.212 | 43 | 1.00 | |
| 4 | 0 | 960 | 2.001 | 71 | 1.49 | |
| 5 | 1 | 384 | 2.305 | 23 | 0.94 | |
| 6 | 1 | 672 | 2.315 | 31 | 1.04 | |
| 7 | 1 | 960 | 2.179 | 37 | 1.18 | |
| LSTM | 8 | 0 | 384 | 2.437 | 261 | 5.85 |
| 9 | 0 | 672 | 2.57 | 141 | 3.67 | |
| 10 | 0 | 960 | 2.56 | 149 | 3.85 | |
| 11 | 1 | 384 | 2.212 | 35 | 1.19 | |
| 12 | 1 | 672 | 2.087 | 43 | 1.98 | |
| 13 | 1 | 960 | 2.201 | 41 | 2.15 | |
| TCN | 14 | 0 | 384 | 2.525 | 127 | 3.06 |
| 15 | 0 | 672 | 2.409 | 145 | 3.44 | |
| 16 | 0 | 960 | 2.413 | 117 | 3.04 | |
| 17 | 1 | 384 | 2.293 | 123 | 2.70 | |
| 18 | 1 | 672 | 2.243 | 99 | 2.58 | |
| 19 | 1 | 960 | 2.268 | 89 | 2.39 | |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
MethodsAttentive Walk-Aggregating Graph Neural Network
In Search of Deep Learning Architectures for Load Forecasting: A Comparative Analysis and the Impact of the Covid-19 Pandemic on Model Performance
Sotiris Pelekis
Decision Support Systems Laboratory
National Technical University of
Athens, ICCS, Greece
0000-0002-9259-9115
Evangelos Karakolis
Decision Support Systems Laboratory
National Technical University of
Athens, ICCS, Greece
0000-0003-2833-3088
Francisco Silva
*R&D NESTER *
*Lisbon, Portugal *
Vasileios Schoinas
* Decision Support Systems Laboratory*
* National Technical University of*
* Athens, Greece*
0000-0001-9809-6220
Spiros Mouzakitis
Decision Support Systems Laboratory
National Technical University of
Athens, ICCS, Greece
0000-0001-9616-447X
Georgios Kormpakis
Decision Support Systems Laboratory
National Technical University of
Athens, ICCS, Greece
0000-0003-4052-4549
Nuno Amaro
* R&D NESTER*
* Lisbon, Portugal*
John Psarras
Decision Support Systems Laboratory
National Technical University of
Athens, ICCS, Greece
Abstract
In power grids, short-term load forecasting (STLF) is crucial as it contributes to the optimization of their reliability, emissions, and costs, while it enables the participation of energy companies in the energy market. STLF is a challenging task, due to the complex demand of active and reactive power from multiple types of electrical loads and their dependence on numerous exogenous variables. Amongst them, special circumstances—such as the COVID-19 pandemic—can often be the reason behind distribution shifts of load series. This work conducts a comparative study of Deep Learning (DL) architectures—namely Neural Basis Expansion Analysis Time Series Forecasting (N-BEATS), Long Short-Term Memory (LSTM), and Temporal Convolutional Networks (TCN)—with respect to forecasting accuracy and training sustainability, meanwhile examining their out-of-distribution generalization capabilities during the COVID-19 pandemic era. A Pattern Sequence Forecasting (PSF) model is used as baseline. The case study focuses on day-ahead forecasts for the Portuguese national 15-minute resolution net load time series. The results can be leveraged by energy companies and network operators (i) to reinforce their forecasting toolkit with state-of-the-art DL models; (ii) to become aware of the serious consequences of crisis events on model performance; (iii) as a high-level model evaluation, deployment, and sustainability guide within a smart grid context.
Index Terms:
COVID-19, Deep Learning, LSTM, MLOps, N-BEATS, Out-of-Distribution Generalization, Short-Term Load Forecasting, Smart Grid, Sustainability, Temporal Convolution, Forecasting
I Introduction
I-A Background
Electricity load forecasts are crucial in assuring the development and optimal operation of power systems, which have always been a significant challenge for any country regardless of their economical state. Load forecasts, both at demand and generation side, can serve in maintaining the balance between load and generation, the economic power dispatch, storage scheduling, network planning and expansion of power grids. Recently, this task is becoming even more popular [1] and important, especially for European countries as the energy crisis has reached an unprecedented peak with geopolitical extensions. According to the European Union’s Institute for Security Studies [2] the balance between the security, affordability and sustainability dimensions of the energy ”trilemma” has come under serious strain and governments often resort to disparate measures, impeding the progress of the global energy and climate change agenda [3]. Considering the urge to face this energy crisis, the integration of smart grids and the high penetration of renewable energy sources (RES) has been considered as the only way forward [4].
The stochasticity of RES, along with the privatization and deregulation of electricity market pose severe uncertainties in electricity load forecasts. Additionally, energy demand patterns depend on numerous external variables such as the weather conditions, energy prices [5], seasonal factors and social activities leading to complex correlations and therefore demanding modelling for Load Forecasting (LF). The COVID-19 global health emergency is a bright example of an occasion that radically altered the patterns social activities for a long time and therefore power systems operation and electricity demand patterns [6]. These distribution shifts are projected on the patterns of time series and definitely require either dedicated handling depending on the nature of the utilized forecasting technique [7, 8]. This variety of factors and events, form a multiparametric and complex problem calling for innovative and rigorous LF solutions with out-of-distribution generalization capabilities [9].
Fortunately, the smart grid paradigm is, essentially, wide open to innovative approaches enabling the integration and exploitation of real-time and data-centric solutions powered by Information and Communication Technologies (ICT) such as Big Data, Internet of Things (IoT), Artificial Intelligence (AI) and lately Machine Learning Operations (MLOps) [10] towards harmonized network operation [11, 12]. Such technologies, and especially MLOps, have the potential to revolutionize the energy sector by establishing a new paradigm in load forecasting (LF) that goes beyond conventional model development processes. In this context, automated and continuous model training, evaluation, validation and deployment are expected to replace the manual processes of the conventional Machine Learning (ML) lifecycle, leading to faster and more efficient decision making for network operators and generally Electrical Power and Energy System (EPES) stakeholders.
LF is divided into four major categories based on the forecasting horizon. Very short-term load forecasting (VSTLF) addresses forecast horizons of a few minutes to a few hours. It is mainly used for real-time control and demand response. Electricity demand forecasts of one day to one week ahead are known as Short-Term Load Forecasting (STLF). The resolution of such forecasts ranges from 15-minute to hourly and mainly serves for day-to-day operations of utilities and participation in the electricity market. Medium-term load forecasting (MTLF) involves demand forecasts of a week up to a year ahead and is mainly used for maintenance scheduling and planning of fuel purchases as well as energy trading and revenue assessment for the utilities. Finally, long-term load forecasting (LTLF) may involve time horizons up to 20 years ahead and is usually linked to grid development and strategical planning [13]. ML based STLF forms the core task of this study and therefore the focus of the rest of this paper is shifted towards this direction.
I-B Related Work
Over the years, various forecasting approaches have been proposed in literature for load forecasting, and specifically Short-Term Load Forecasting (STLF). However, the studies have been inconclusive regarding the superiority of a specific technique as different solutions exhibit varying robustness, complexity and requirements for computational resources. Additionally, each time series and each forecasting technique exhibit their unique characteristics depending on the use case in question and the scope of the analysis. Forecasting models can be divided into two basic categories, namely: (a) conventional statistical methods and basic ML methods, b) advanced, state-of-the-art methods that usually include Deep Learning (DL) and, very commonly, hybrid setups. Conventional methods usually serve as baselines.
Statistical models like linear regression have been widely used for STLF [14, 15]. Specifically, Dudek in [16] combined them with pattern-based techniques. Simpler models like the Box-Jenkins method [17], Exponential Smoothing (ES) [18], and nonparametric regression [19] are also common in literature. ARIMA models [20] and their variations, such as ARIMAX [21] and SARIMA [22], have also been an option for STLF. Techniques like decomposition [23] are rarely used alone, however they are often met in hybrid models [24], such as Wavelet transformation [25]. Conventional methods can also include simple ML approaches. These models usually are Feed-Forward Artificial Neural Networks (ANN) [26, 27] and Support Vector Machines (SVM) [28, 29]. Self-Organising Maps (SOM) [30], regression trees [31], random forests (RF) [32], gradient boosting regression trees (GBRT) [33] and Kalman filtering [34] have been also proposed for STLF. Ultimately, clustering approaches have proven to be very efficient in predicting load profiles [35]. Conventional models sometimes fail to model the nonlinear relationship between weather and load or are susceptible to outliers [36], however they offer simplicity and robustness [37], and can serve as baselines.
More advanced and state-of-the art-models very often include hybrid and ensemble models. Genetic algorithms (GA) have been widely used in order to minimize training time [38, 39] and select training parameters for Genetic Algorithm Neural Network (GA-NN) hybrid models [40, 41]. Fuzzy logic (FL) [37, 34] ensembled with other models is used for better and faster handling of very long time-series [42]. Convolutional Neural Network (CNN)-Recurrent Neural Network (RNN) hybrids are often used to better correlate load patterns with weather conditions [43, 44]. ANNs can be trained from an Artificial Immune System model mainly for hyper-parameter optimization [45, 46]. Additional fields of research include extreme learning machine [47], sequence-to-sequence models and specifically encoder-decoder architectures [48, 49, 50]. These advanced techniques can also have various applications in more specific problems like transmission system loads for special days, such as New Years’ Eve or Easter [37], or even special loads like data center consumption [40].
I-C Contribution
The high-level objective of this paper is STLF at Transmission System Operator (TSO) level. Specifically, we examine day-ahead forecasts of 15-minute resolution (96 timesteps-ahead predictions) for the net load time series of the Portuguese transmission system. Specifically, the purpose of this paper is to perform an extensive comparison of DL architectures, namely Neural Basis Expansion Analysis Time Series Forecasting (N-BEATS) [51], Long Short-Term Memory Recurrent NNs (LSTM) [52] and Temporal Convolutional Networks (TCN) [53]. An averaging and a stacking ensemble of PSF estimators [35] serve as baseline models. Moreover, we attempt to demonstrate the effects of the COVID-19 global emergency that initiated in early 2020 on the performance of the employed models by alternating their training, validation, and testing periods accordingly. Ultimately, motivated by the capabilities of the smart grid for integration of ICT technologies and automation we also propose a high-level model deployment scheme targeted for production environments and production systems of network operators.
I-D Structure of the Article
The rest of the paper is organized as follows. Section II describes our methodological approach, including the utilized methods, architectures, and the proposed evaluation and deployment scheme. Section III summarizes the results of the forecasting models, in terms of accuracy and sustainability, also discussing the effects of the pandemic on them, followed by concluding remarks and future work in Section IV.
II Methodology
This section presents the followed methodology for addressing the common stages of an ML lifecycle. Specifically, the stages described are (i) data collection, wrangling and transformations; (ii) exploratory analysis of the dataset; (iii) selection of ML and DL architectures along with their development process and model validation; (iv) an evaluation framework tailored to the requirements of production smart grid environment and finally (v) a proposed conceptual framework for models’ deployment to production based on the principles of MLOps.
II-A Data Collection and Feature Extraction
The main part of the dataset consisted of the Portuguese net energy demand time series at a 15-minute resolution. Such data are publicly available online. Except for performing a comparative analysis of state-of-the-art ML models in forecasting the Portuguese load at day-ahead level, the aim of this study is also to observe the effects of the COVID-19 pandemic on model performance. Therefore, collected net load data from 2009 to 2020 were utilized, as they permit to experiment with different whole year test sets that either referred (2020) or not (2019) to time periods related with the global health emergency. Some common operations that were applied before proceeding to transformations and feature engineering, are: (i) removal of duplicate entries (mainly caused by changes between standard and daylight saving time) and (ii) filling missing data (very few cases that were handled with linear interpolation).
Autoregressive models can predict future values of a time series by looking back at its past values. However, as already discussed, various exogenous variables can affect its patterns, therefore holding predicting power. Amongst them, we decided to model the time in an attempt to capture seasonal factors and special events. An initial step of data transformations was thus performed leading to additional variables, from now on referred to as temporal covariates. Temporal covariates are synthetic variables that encode the timely characteristics of each time step and can be used as predictors enriching the input feature space of the forecasting problem. Table I lists the specific temporal covariates accompanied by their modelling approach. A very common encoding approach is through sinusoidal and cosinusoidal transformations as they can reproduce the continuousness periodicity of time. Both transformations need to be included in the final temporal covariates to avoid getting the same values for different time moments due to their nonmonotonic nature.
II-B Exploratory Data Analysis
Following data wrangling and feature engineering, several data exploratory analytics and insights were extracted for the dataset. These analytics mainly contribute to visualize and understand the basic patterns of the load series along with the pandemic’s effects on the time series profile, motivating the COVID-19 related analysis. All statistics range from 2017 to 2020, highlighting the distribution shift of the load time series during the lockdown period, which began on of March 2020 and lasted until the 3rd of May 2020 when a gradual relaxation of measures was applied. Fig. 1 illustrates the alteration of the distribution of load values within 2020 compared to previous years, denoting a general load reduction, smoothing and transition to a unimodal rather than bimodal yearly distribution. Fig. 2 illustrates the total monthly load values for all years of interest, pinpointing a harsh and unprecedented decrease during the lockdown which is highly expected due to the commercial, tourism and food industries of the country being closed and the corporate ones shifting to the Work from Home paradigm. Fig. 3 clearly depicts the alteration of average daily profiles with respect to mostly their magnitude yet their shape as well. In summary, all observations imply that any conventional model being trained on the historical values of the Portuguese load series is expected to fail to completely adapt to the distributions shift caused by the pandemic, leading to dips in performance and increased errors while predicting 2020. This factor subjects to further investigation within the present study.
II-C Model Selection
In this section we present the ML and DL models employed within our experimentation.
PSF. The Pattern Sequence Forecast algorithm (PSF) introduced by Martinez-Alvarez et al. in [35], is a univariate time-series forecasting approach based on the similarity between pattern sequences. It consists in two distinct steps: the clustering step, in which time-series patterns are grouped, and the predictive step, which leverages on the cluster models to generate forecasts. PSF therefore treats training data as a set of cluster labels, using their sequencing to find and match windows of similar sequencing and combining them into a single forecast.
LSTM. Unlike standard feedforward neural networks, RNNs have feedback connections that render them appropriate for processing sequential data. Long short-term memory (LSTM) is an extension of the conventional RNN that came to solve the vanishing gradient problem, mitigating the inability to learn long range dependencies [52]. LSTMs have been widely used for short-term load forecasting tasks. A very common approach of employing LSTMs is through encoder-decoder setups—instead of fully recurrent architectures—especially for sequence-to-sequence tasks, and therefore were utilized for the multi-step horizon forecasts of the present study (96 forecast steps) [48, 49, 50].
N-BEATS is a neural network that was first described in a 2019 article by Oreshkin et al. in [51]. The authors reported that N-BEATS outperformed the M4 forecast competition winner by 3%. The M4 winner was a hybrid between a recurrent neural network and Holt-Winters exponential smoothing, whereas N-BEATS implements a “pure” deep neural architecture. N-BEATS treats forecasting as a non-linear multivariate regression problem. It comprises a very deep stack of fully connected non-linear neural regressor blocks interconnected with doubly residual links. N-BEATS has already been validated on mid-term energy forecasting tasks [54]. However, our case study tasks fall within the scope of STLF, hence opening a new perspective for validating the architecture on this task.
TCN is a CNN that consists of dilated, causal 1-dimensional convolutional layers with the same input and output lengths and was first proposed in [53] as a solution for time series forecasting tasks. The authors reported that a simple convolutional architecture is more effective across diverse sequence modelling tasks than recurrent architectures such as LSTMs and GRUs. TCNs have been recently validated for STLF tasks [55, 56] and are employed throughout our case study.
II-D Model Training
The aim of the training process has been the creation of models for day-ahead forecasting at 15-minute resolution for the net electricity demand of the Portuguese transmission system. In this context, the selected ML and DL methods were trained for multiple combinations of hyperparameters allowing to select the optimal architecture for each method, as described in detail in Table II. Additionally to the hyperparameters of the table, an experimentation on different lookback window values took place, namely 384 (3 days), 672 (7 days), and 960 (10 days) timesteps. Note that the number of layers of the TCN architectures are set to “auto” as they are adjusted at each training round to ensure full receptive field coverage based on Eq. 1111https://unit8.com/resources/temporal-convolutional-networks-and-forecasting/.
[TABLE]
where represents the number of convolutional layers, the length of the lookback window, the dilation base, and the kernel size. For the training of the PSF baseline models several instances were obtained for different pattern window lengths and underlying clustering algorithms, including K-Means, SOM, and Gaussian Mixture Models. Each of the baseline algorithms was optimized using the Silhouette Index. The final optimized PSF models were used to create ensemble forecasts, using both averaging and stacking ensemble techniques, with SVR as the meta-learning algorithm. Model training took place on a laptop with an AMD Ryzen 9 4900H CPU, an NVIDIA RTX2060 6GB GPU, and 24GB RAM.
The dataset split was as follows: (i) training set: 2009-2017 (ii) validation set: 2018 (iii) test set: 2019. Subsequently, the best models from the previous step were retrained to investigate the effect of the COVID-19 load distribution shifts on model performance. For this purpose, the dataset split was modified for the test set to include the pandemic period as follows: (i) training set: 2009-2018 (ii) validation set: 2019 (iii) test set: 2020. The results of the experiments are summarized in the section III.
With respect to temporal covariates, the N-BEATS model was trained without them as: (i) indicated in [51, 54]; (ii) it was observed that its performance was systematically lower when the covariates were included in the model. On the contrary, LSTMs and TCNs are trained and evaluated including the temporal covariates for the opposite reason. Temporal covariates are not applicable to the PSF method.
II-E Model Validation and Evaluation Framework
Regarding model validation and evaluation, in our case every DL model was: (i) trained on the predefined training set; (ii) validated on the validation set to discover the best hyperparameters; (iii) and evaluated on the remaining and previously unseen test set. With respect to performance measures, various forecast errors are common in forecasting applications including the Mean Absolute Error (MAE), the Mean Squared Error (MSE), the Mean Absolute Percentage Error (MAPE), the Root Mean Square Error (RMSE), the Symmetric Mean Absolute Percentage Error (SMAPE), and the Mean Absolute Scaled Error (MASE) [57]. We use MAPE (Eq. 2) as a widely accepted choice for STLF benchmarks.
[TABLE]
where represents the number of samples, and stand for the actual data values and forecasted data values, respectively.
Regarding the calculation of MAPE—as our experimentation is aimed for smart grid applications and deployment to production—we opted for a backtesting approach. Backtesting refers to the periodical updating of a model’s history depending on its forecasting horizon. To elaborate more, let us suppose a TSO that aims to participate in the Portuguese daily energy market. Every day, a 96-step-ahead (day-ahead) forecast is required. However, at the end of the forecasted day, the ground truth values of the series are already known and thus can be fed to the model to update its lookback window for day-ahead inference. Hence, the proposed DL models are validated and evaluated following this approach, which is however not applicable to the PSF method.
II-F High-Level Deployment Framework
As previously discussed, the proposed deployment framework can be part of a TSO smart grid system that is used for producing daily load forecasts in an automated manner. At this deployment stage, it is important that the model’s performance is constantly monitored by being evaluated on newly ingested data. Dips in performance possibly indicate that the entire training process may need to be repeated to update the model to incorporate new trends. Fig. 4 illustrates this concept within a smart grid application.
III Results
This section presents the results of our study. Python and MLflow [10] were used to set up the experimentation pipeline and keep track of of the performed experiments.
III-A Results of the Comparative Analysis
The results of the comparative analysis for the 2009-2019 experimentation period (training set: 2009-2017, validation set: 2018, test set: 2019) are shown in Table III. They refer both to model accuracies (MAPE) and GPU training times as such a measurement can be a good indicator of environmental friendliness and sustainability. Specifically, the N-BEATS architecture clearly outperforms the LSTM and TCN architectures from both perspectives with Model 4 achieving the lowest MAPE at a relatively low GPU time. Moreover, regarding TCN and LSTM it can be concluded that a lookback window (l) of 7 days (672 15-minute timesteps) is the best option for higher accuracy. However, this is not the case for N-BEATS which performs better for the 10-day lookback window. Note here that all deep architectures outperform the PSF baseline model in terms of accuracy at the cost—of course—of significant GPU utilization.
As a general comment, larger and more complex neural network architectures (flavor 1) on average result to fewer epochs as they can fit the datasets faster, denoting lower GPU times and thus higher sustainability. In fact, except for N-BEATS, deeper architectures lead as well to higher accuracies, avoiding potential overfitting thanks to the early stopping approach. Note here that a poor selection of neural architecture—such as the flavor 0 of the LSTM family—can lead to low accuracy and increased GPU times and eventually higher electricity consumption during training.
III-B Impact of the Pandemic on the Model Performance
To examine the impact of the COVID-19 global health emergency on DL models’ performance, the most accurate setups from each DL model family from the experiments of 2009-2019 period (Model 4, 12 and 18) were retrained on 2009-2018 validated on 2019, and tested on 2020. Even though the training dataset is larger by one year, a condition that is usually beneficial for the accuracy of DL models, this is not the case here as most models perform lower on average as illustrated in Fig. 5. To get a more detailed insight on the effects of the pandemic, the model errors are listed for each season separately, revealing the most affected period by the pandemic. Expectedly, during the spring and summer periods the MAPE is significantly increased. Of course, the lockdown period, which can be approximately projected to spring 2020 (also accounting for the post-lockdown measures) is linked with larger errors, especially for the LSTM and N-BEATS models. Nonetheless, the TCN model exhibits a much smaller accuracy decrease proving to be the most robust choice for the distribution shift observed during the lockdown period. A potential interpretation of this result can be that the TCN model exhibited a relative ”underfitting” compared to the other models for the testing period of 2019; and underfitted models usually tend to estimate less accurately the target distribution, however they are less affected by potential distribution shifts, which is the case for 2020.
IV Conclusions and Future Work
Power grids have been undergoing an unprecedented change during the last few years, integrating RES and new technologies such Big Data and ML. In this context, STLF is a multiparametric task of great importance as it allows for harmonized grid operation and participation of EPES stakeholders in the energy market. In the meanwhile of this smart grid evolution, the COVID-19 global health emergency triggered socioeconomic phenomena that led to distribution shifts of energy demand, demonstrating the need for rigorous forecasting models and out-of-distribution generalization. The present work focuses on comparing three state-of-the-art DL architectures—namely N-BEATS, encoder-decoder LSTM, and TCN—in terms of accuracy and sustainability, also examining their robustness during the pandemic period.
During the pre-pandemic period, it has been demonstrated that N-BEATS outperforms both the other architectures leveraging a relatively simple architecture, while also exhibiting acceptable GPU times and hence sustainability. Nonetheless, it is significantly affected by the load distribution shifts of the pandemic leading to decreased accuracy when tested on 2020. The TCN architecture exhibits lower accuracy and sustainability in general, however it demonstrates better out-of-distribution generalization during the pandemic, as a potential result of underfitting the pre-pandemic training set. The encoder-decoder LSTM proved to be highly sensitive to the architecture depth and complexity, while it also failed to adapt to the COVID-19 distribution shift. As a main conclusion, it is always upon EPES stakeholders and their ML engineers to decide on their architecture of preference for STLF tasks based on their computational resources, error tolerance per season, and readiness for model retraining in case of distribution shifts. Hence, we would suggest TCN for those that need a ”one-for-all” solution without the constant necessity for monitoring and retraining. On the contrary, we would suggest N-BEATS for stakeholders that require state-of-the-art performance and high sustainability at the cost of an automated monitoring process as the one proposed in the deployment scheme of Fig. 4.
Future work includes: (i) the integration of weather variables—and specifically weather forecasts—in the models; (ii) an exhaustive hyperparameter space search as long as High-Performance Computers (HPC) become available; (iv) the extensive search of rigorous setups—including DL ensembles—that will allow for out-of-distribution generalization without the compromise of underfitting during normal periods; (v) a thorough study on the tradeoff between accuracy and GPU times in terms of grid and environmental sustainability. From a broader perspective, a future step could as well be the extension of this experimentation to more European countries alongside the development of a production ICT system for automated and easily deployable STLF.
Acknowledgment
This work has been funded by the European Union’s Horizon 2020 research and innovation programme under the I-NERGY project, Grant Agreement No 101016508.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Tao Hong, Jingrui Xie and Jonathan Black “Global energy forecasting competition 2017: Hierarchical probabilistic load forecasting” In International Journal of Forecasting 35.4 Elsevier, 2019, pp. 1389–1399 DOI: 10.1016/J.IJFORECAST.2019.02.006 · doi ↗
- 2[2] European Union Institute for Security Studies “Europe’s energy crisis conundrum”, 2022 URL: https://www.iss.europa.eu/content/europes-energy-crisis-conundrum
- 3[3] Cornelia Fraune and Michèle Knodt “Sustainable energy transformations in an age of populism, post-truth politics, and local resistance” In Energy Research & Social Science 43 Elsevier, 2018, pp. 1–7 DOI: 10.1016/J.ERSS.2018.05.029 · doi ↗
- 4[4] Chi Wei Su, Khalid Khan, Muhammad Umar and Weike Zhang “Does renewable energy redefine geopolitical risks?” In Energy Policy 158 Elsevier, 2021, pp. 112566 DOI: 10.1016/J.ENPOL.2021.112566 · doi ↗
- 5[5] Evangelos Spiliotis, Haris Doukas, Vassilios Assimakopoulos and Fotios Petropoulos “Forecasting week-ahead hourly electricity prices in Belgium with statistical and machine learning methods” In Mathematical Modelling of Contemporary Electricity Markets Academic Press, 2021, pp. 59–74 DOI: 10.1016/B 978-0-12-821838-9.00005-0 · doi ↗
- 6[6] Aviad Navon et al. “Effects of the COVID-19 Pandemic on Energy Systems and Electric Power Grids—A Review of the Challenges Ahead” In Energies 2021, Vol. 14, Page 1056 14.4 Multidisciplinary Digital Publishing Institute, 2021, pp. 1056 DOI: 10.3390/EN 14041056 · doi ↗
- 7[7] David Obst, Joseph De Vilmarest and Yannig Goude “Adaptive Methods for Short-Term Electricity Load Forecasting during COVID-19 Lockdown in France” In IEEE Transactions on Power Systems 36.5 Institute of Electrical Electronics Engineers Inc., 2021, pp. 4754–4763 DOI: 10.1109/TPWRS.2021.3067551 · doi ↗
- 8[8] Andrei M Tudose et al. “Short-Term Load Forecasting Using Convolutional Neural Networks in COVID-19 Context: The Romanian Case Study” In Energies 2021, Vol. 14, Page 4046 14.13 Multidisciplinary Digital Publishing Institute, 2021, pp. 4046 DOI: 10.3390/EN 14134046 · doi ↗
