Skip to main content

Adequacy of neural networks for wide-scale day-ahead load forecasts on buildings and distribution systems using smart meter data


Power system operation increasingly relies on numerous day-ahead forecasts of local, disaggregated loads such as single buildings, microgrids and small distribution system areas. Various data-driven models can be effective predicting specific time series one-step-ahead. The aim of this work is to investigate the adequacy of neural network methodology for predicting the entire load curve day-ahead and evaluate its performance for a wide-scale application on local loads. To do so, we adopt networks from other short-term load forecasting problems for the multi-step prediction. We evaluate various feed-forward and recurrent neural network architectures drawing statistically relevant conclusions on a large sample of residential buildings. Our results suggest that neural network methodology might be ill-chosen when we predict numerous loads of different characteristics while manual setup is not possible. This article urges to consider other techniques that aim to substitute standardized load profiles using wide-scale smart meters data.


Following the ongoing transformation of the European power system, it will be necessary to locally balance the increasing share of decentralized renewable energy supply. Distribution system operation will require a versatile and reliable model to obtain numerous day-ahead load forecasts (DALF) on various levels of load aggregation. Wide-scale installation of smart meters allows to apply specialized data-driven techniques for local day-ahead forecasting instead of currently used standardized load profiles (SLP). Among various machine learning approaches to load forecasting discussed in the literature, artificial neural networks (ANN) are the most intensively investigated methodology (Ahmad et al. 2018; Bourdeau et al. 2019).

There exist multiple models predicting a specific load time series one-step-ahead (e.g. hourly consumption of a university campus) (Ahmad et al. 2018). Nevertheless, only few proposals were made to use neural networks for day-ahead (multi-step) forecasts which will become more important for the distribution system operation. In particular, ANNs have been applied for predicting day-ahead loads of larger buildings (Bagnasco et al. 2015; Chitsaz et al. 2015a; Ryu et al. 2016), consumer aggregations (Marinescu et al. 2013) and microgrids (Amjady et al. 2010; Hernández et al. 2014). Further, there have been attempts to forecast a single household load using novel deep learning techniques (Amarasinghe et al. 2017; Mocanu et al. 2016).

Proposed models allow only limited conclusions about applying ANN for DALF on a wide-scaleFootnote 1. The well-performing setup required detailed knowledge of the load and was often found and manually tuned through trial and error. Further, the networks require large amounts of historic data and are subject to overfitting (Amarasinghe et al. 2017; Chalal et al. 2016). The accuracy substantially varied depending on the load. While a proposed model was accurate for a given building, similar setup performed notably worse when applied on a different consumer (Foucquier et al. 2013).

When deciding on a general methodology to substitute SLPs for wide-scale distribution system operation, statistical analysis is required to avoid case-based reasoning. In this work, we provide a comprehensive evaluation of the ANN methodology for local day-ahead load forecasting. While many existing models forecast the time-series one-step-ahead, we discuss various strategies to adopt a network for predicting the entire daily load curve. From the literature, we select and evaluate four different ANN architectures that appear suitable for a wide-scale application. We provide evidence that the prominent ANN methodology, as currently implemented, might be ill-suited for predicting local consumption on a wide-scale, despite being accurate for particular loads.


In this section, we provide theoretical background for our study. We start by describing the loads we will be predicting and continue with an overview of the ANN methodology as well as its state of the art applications for local load forecasting. The provided background allows unprepared readers to comprehend the selection and setup of ANN models that we describe in the subsequent section.

Local loads

Local loads range from single family homes to a small distribution system area supplied by an MV/LV substation including microgrids (Dang-Ha et al. 2017). Naturally, their consumption is very diverse and more volatile than the transmission system load.

A consumption pattern mainly depends on the aggregation size. At a small level, it highly depends on the consumer behavior which makes it harder to predict. Generally, load is autoregressive and underlies annual and weekly seasonalities but to different extent depending on the size (Sevlian and Rajagopal 2014) (Fig. 1).

Fig. 1
figure 1

Load and SLP of an aggregation of 400 households (a) in comparison to a single home (b). Aggregated load curve is substantially smoother and follows a regular pattern

Artificial neural networks

Neural network methodology is a set of methods used in many machine learning applications. It can model almost any nonlinear relation between multiple inputs and outputs. Assuming existence, the relation is self-learned from historic data by a specialized training algorithm that solves the regression equation (Friedman et al. 2008)

$$ y = \mathbf{r}(X) + \epsilon $$

where regression function r describes the systematic information about scalar variable y, and residual error ε represents all the uncaptured influences independent of vector input X.

A network can be seen as an interconnection of single elements called artificial neurons with an individual output

$$ y_{\text{neuron}} = \phi\left(u \right), \text{ where}\,\, u = \sum\limits_{i=1}^{n_{u}} w_{i} v^{(i)}. $$

The nu neuron inputs \(v^{(i)}\in \mathbb {R}\) weighted with \(w_{i}\in \mathbb {R}\) are processed by an activation function ϕ. If several of such neurons are interconnected into a network, theoretically, any non-linear relationship can be approximated. For this, neurons are organized in layers and the data traverses the network from input to output passing through some neurons in the hidden layers one or several times.

We formalize an ANN as follows. Let \(\mathcal {N}\) be a neural network with nx inputs, ny outputs, and nw interconnections that exists between the neurons. It is fully determined by its architecture, and the set of weights for each neuron. The network provides a regression function estimate

$$ Y = \mathbf{r}_{\mathcal{N}}(X,W) $$

which maps a multivariate input \(X \in \mathbb {R}^{n_{x}}\) to the output \(Y \in \mathbb {R}^{n_{y}}\) for a given set of weights \(W = \left [w_{1},\hdots,w_{n_{w}}\right ] \in \mathbb {R}^{n_{w}}\) which are determined during the model training. To forecast with an ANN model we proceed as follows:


We select a network architecture, relevant inputs and set hyper-parameters that can not be learned directly from the data and are determined prior to training the network. A network architecture includes inputs, network type, number of neurons in the layers and their topology. While an extensive overview of different architectures contrasting the differences can be found in Raza and Khosravi (2015), there are two general types.

Feed-forward neural network (FFNN) is the type, where starting at the input, the data traverses the network without any cycles or loops. The most prominent architecture of this type is the multi-layer perceptron (MLP). It includes at least one hidden layer where each hidden neuron has a nonlinear activation function.

Recurrent neural networks (RNN) have feedback loops that allow data to traverse the network both ways. The connections between the neurons form a directed graph, and unlike a FFNN, a recurrent network has a dynamic internal state.

Deep neural networks (DNN) are those that have at least two hidden layers allowing complex topology both of FFNN and RNN types. It was shown, that increasing network size and complexity can often improve the accuracy, but elevates the time and historic data needed to train the network (Goodfellow et al. 2016).

Each network has a set of hyper-parameters (number of neurons, activation function, training algorithm etc.) that significantly affect the prediction accuracy. The hyper-parameters are often manually selected and iteratively fine-tuned given an in-depth knowledge of the forecasting problem.

Network training

In the training phase, r needs to be estimated finding W that defines the network \(\mathcal {N}\) so that \(\mathbf {r}_{\mathcal {N}}\) yields the lowest error on the given training data and is expected to generalize well - i.e., produce the lowest error on the unseen data. The weights are initialized randomly and calculated with a supervised training algorithm using either a back-propagation (BP) of training error (Rumelhart et al. 1986) combined with different variants of gradient descent optimization (Kiefer and Wolfowitz 1952; Kingma and Ba 2017; Riedmiller and Braun 1993) or Levenberg Marquardt (LM) algorithm (Hagan and Menhaj 1994; Moré 1978).


At last, the forecast \(\hat {Y}\) is obtained with a previously trained network for a given input X as \(\hat {Y} = \mathbf {r}_{\mathcal {N}} \left (X^{*}\right)\). The model is evaluated on test data using an appropriate error definition (Haben et al. 2014).

Setting hyper-parameters and training often requires a vast amount of historic data, and it is hard to interpret the weights of the resulting network. Nonetheless, for some applications where a considerable amount of data is available, computation time is not an issue and there is an extensive problem knowledge allowing manual fine-tuning, ANN models can be very accurate. Inspired by the advances in machine learning, there are several applications for local load forecasting that we describe next.

Neural network applications

Numerous researchers applied the methodology described above to predict the load in microgrids (Hernández et al. 2014), distribution system areas (Wang et al. 2018) and buildings with a recent review citing over 90 publications (Runge and Zmeureanu 2019). The model performance depends fundamentally on the characteristics of time series. Thus, we focus on applications for short-term forecasting of local loads with (sub-)hourly resolution. This substantially reduces the number of related works to the ones summarized in Table 1.

Table 1 Neural networks in the literature predicting (sub-)hourly local loads. Description is provided in “Neural network applications” section

The models have several aspects in common. They were developed for a specific load - a given building or an area of a distribution grid. The well performing architecture is setup manually, given explicit knowledge of the problem, researcher experience and intuition combined with trial and error. Model inputs are related to historical load, calendar features and, sometimes, daily weather. Further, they require large amounts of historic data. For instance, DNN model convolutional neural network (CNN) (Amarasinghe et al. 2017), restricted Boltzmann machine (RBM) (Mocanu et al. 2016; Ryu et al. 2016), long short-term memory (LSTM) (Marino et al. 2016; Kong et al. 2017) and echo-state network (ESN) (Shi et al. 2016) - all required years of data to setup and train the network.

Despite a common preconception, researchers are ambiguous about using weather related inputs such as outside ambient temperature (OAT) or solar irradiation. Some, do consider weather modeling electrical heating and PV at the level of MV/LV feeder (Hayes and Prodanovic 2016) or larger buildings (Pîrjan et al. 2017). An in-depth sensitivity analysis can highlight an existing weather dependency (Llanos et al. 2012). Others, observe the models that do not use any weather data performing better for disaggregated loads (Hayes et al. 2015; Marinescu et al. 2013; Hernández et al. 2014). In Bagnasco et al. (2015), authors test two networks on the same dataset with and without such data. They observe no consistent advantage for either model. Alternatively, some researchers assume that the instantaneous weather changes do not affect the load significantly and consider only the month and the day arguing that the temperature does not change substantially from day to day (Hernández et al. 2014).

Hyper-parameters have a major impact on the performance (Mena et al. 2014; Pîrjan et al. 2017). From the publications in Table 1 and more general review studies on ANN applications for load forecasting (Humeau et al. 2013; Runge and Zmeureanu 2019), we see that the models are usually setup and fine-tuned manually. Nevertheless, there have been attempts for automated trial and error (Amjady et al. 2010; Hernández et al. 2014).

Yet, despite the increasing interest, the development of fully automated models based on ANN is in a preliminary stage (Hutter et al. 2019). As of today, the load forecasting models rely on explicit a priori knowledge of the consumer and manual fine-tuning (Table 1). The well performing network architecture presented in the results is often found through a trial and error process and requires large amounts of historic data and computational resources


In this section, we formulate the day-ahead forecasting problem and describe the model architectures, their setup and simulation. We will present the simulation results afterwards.

Day-ahead forecasting requires to predict the entire curve for the next day. The exact time at which we need the predicted curve depends on the particular application. We assume that the forecast has to be done shortly before midnight for the upcoming day, as it is done in other studies (Table 1). We formulate the DALF problem as follows.

Given a training set\(\mathcal {T}: = \left \{ \left (X_{1},y_{1}\right),\hdots, \left (X_{m},y_{m}\right) \right \}\) that consists of m observations of multivariate input X={X1,X2, } and univariate output y={y1,y2, } time series, predict the vector

$$ Y_{d+1}= \left[ y_{1}, \ldots, y_{n}\right] $$

of n consecutive values representing the next-day load curve. With an input Xd+1, the prediction \(\hat {Y}_{d+1}(X_{d+1})\) has to minimize the root mean squared error (RMSE) defined as:

$$ \text{RMSE} = \sqrt{ \frac{1}{n} \sum\limits_{i=1}^{n}{\epsilon_{i}^{2}} }. $$

where \(\epsilon _{i} = y_{i} - \hat {y}_{i}\) is the residual error between actual yi and predicted value \(\hat {y}_{i}\) according to (1).

To find \(\hat {Y}_{d+1}\) we use different model architectures described next in “Model architecture” section. Each model is setup as denoted in “Model setup” and evaluated through the simulation described in “Simulation” sections.

Model architecture

We use network architectures that are the most common among the load forecasting applications (Table 1). Studying the literature, we have not seen any fundamental reason why any of the networks is superior for certain types of loads, given appropriate setup and vigor at manual fine-tuning (Bourdeau et al. 2019). However, for wide-scale usage, practicality becomes important. Hence, we do not conisider DNN and other models that rely on abundant historic data or information from specific sensorial equipment (e.g. occupancy). We adopt two feed-forward and two recurrent networks for day-ahead prediction as described further in the text.

Day-ahead prediction

In time series forecasting, we often encounter situations where only one-step-ahead prediction is required or considered. For electrical load, such task eventually corresponds to an intraday forecast. Following the scope of this work, we focus on day-ahead forecasts, which are multi-step predictions and require forecasting n consecutive points. While n depends on the time series resolution, there are three general strategies (Ben Taieb et al. 2012) to adopt a one-step-ahead forecasting model for a multi-step prediction (Fig. 2).

Fig. 2
figure 2

Network architectures for the day-ahead prediction. a MISO-MLP model using direct strategy; b MIMO-MLP model using multi-out strategy; c NAR model and d NARX model with external input - both using recursive strategy. Further description is provided in the text

Direct strategy is a straight forward approach that requires to setup and train n separate multi-input single-output (MISO) models with nx inputs. However, such strategy disregards the dependencies between the predicted points of the curve. Moreover, it is computationally expensive, since we have to train n networks.

Multi-out strategy sets up and trains one complex multiple-input multiple-output (MIMO) network with nx inputs and n outputs corresponding to the points of the forecast curve. It allows to consider the dependencies between the predicted time-steps and avoids the conditional independence assumption made by the direct strategy.

Recursive strategy forecasts one-step-ahead and uses the prediction \(\hat {y}_{1}\) as a new observation with which forecast is reiterated for i=2 and so on. The fundamental drawback is the sensitivity to prediction error, since it is accumulated while advancing the multi-step forecast. Applying a recursive strategy will only be accurate if we have a good representation of the underlying time series generating process.

Feed-forward models

A feed forward network can forecast day-ahead load curve adopting either direct or multi-output strategy. Given input

$$ X = \left\{ x^{(1)},\cdots, x^{(n_{x})} \right\} \text{ and}\,\, X_{d+1} = \left[x_{1}, \cdots, x_{n_{x}}\right], $$

we use the following multivariate forecasting models:

  1. 1

    Multiple input single output multi-layer perceptron (MISO-MLP)

  2. 2

    Multiple input multiple output multi-layer perceptron (MIMO-MLP)

In the first case, a separate MLP is trained to predict each point of Yd+1 (Fig. 2a). For the ease of exposition, we setup each network with same inputs and hyper-parameters described further in the text. The training output data is split into n separate series y(1),,y(n), so that the n networks will have different weights after the training. The forecast output by the model consists of n separate predictions in

$$ \hat{Y}_{d+1} = \left[ \mathbf{r}_{\mathcal{N}}^{(1)} \left(X_{d+1} \right), \hdots, \mathbf{r}_{\mathcal{N}}^{(n)}\left(X_{d+1} \right) \right]. $$

In the second case, we train one multi-output feed-forward network with nx inputs and n outputs. For a given Xd+1, the multivariate forecast is obtained as

$$ \hat{Y}_{d+1} = \mathbf{r}_{\mathcal{N}} \left(X_{d+1} \right). $$

with one MLP \(\mathbf {r}_{\mathcal {N}}\) to train (Fig. 2b).

Recurrent models

The concept of an RNN where past output values are fed back allows to create non-linear autoregressive time series models. With it, we apply a recursive strategy to the multi-step forecasting introducing the following models:

  1. 1

    Nonlinear autoregressive model (NAR)

  2. 2

    Nonlinear autoregressive model with exogenous inputs (NARX)

In the first case, we create a univariate autoregressive model with p lags defined as

$$ \hat{y}_{i} = \mathbf{r}_{\mathcal{N}} \left(y_{i-1},\hdots, y_{i-p} \right) $$

where prediction \(\hat {y}_{i}\) is a a function of the p preceding values yi−1,…,yip of the time series y (Fig. 2c).

In the second case, NARX model presents an extension of the NAR model that can consider external inputs to create a multivariate time series model

$$ \hat{y}_{i} = \mathbf{r}_{\mathcal{N}} \left(y_{i-1},\hdots, y_{i-p}, X_{i} \right). $$

Here, a prediction \(\hat {y}_{i}\) is calculated as a function of its p lags \(y_{i-1},\dots,y_{i-p}\) and an exogenous input Xi (Fig. 2d).

Model setup

In Table 2, we summarize the networks used in this study with corresponding number of inputs, outputs, training data and degrees of freedom (total number of weights). As in related works, we assume hourly time series resolution (n=24). We now proceed explaining the setup and justifying the choice of hyper-parameters.

Table 2 Network setup overview


We consider the dependency on past values, OAT and weekly seasonality. For the feed-forward models, we input the load curve of the previous day while NARX uses 24 lags (p=24) recursively. Further, multivariate networks (MISO-MLP, MIMO-MLP, NARX) model the seasonality and annual temperature cycle explicitly. The weekly seasonality is considered with a weekday number and a (boolean) public holiday variable. The annual temperature cycle is modeled as a function of month and day number. In this study, we assume that short-term weather changes do not notably impact the load (Hernández et al. 2014). As we will see, the simulation results validate this assumption.

The univariate model (NAR) considers weekly patterns implicitly by using one week of lags (p=168). The annual cycle is accounted for by using only two most recent months of data for training that is repeated monthly.

Network training is more efficient with normalized inputs(Dan Foresee and Hagan 1997). Following a standard practice, we apply minmax-normalization as follows. Each separate input x(j), with j[1,,nx] is transformed to

$$ \tilde{x}^{(j)} = \frac{ 2\left(x^{(j)} - x^{(j)}_{\text{min}} \right) }{ x^{(j)}_{\text{max}} - x^{(j)}_{\text{min}} } - 1, $$

where the smallest input value \(x^{(j)}_{\text {min}}\) corresponds to \(\tilde {x}^{(j)} = -1\) and the largest input \(x^{(j)}_{\text {max}}\) corresponds to \(\tilde {x}^{(j)}=1\). Herewith, every normalized training input lies in the range of [−1;1]. We use the same normalization constants \(x^{(j)}_{\text {min}}, x^{(j)}_{\text {max}}\) for the evaluation.


Subsequently, network output must be transformed back into the range of original data. We provide the network with a pre-processing block that appears before the input layer and a post-processing block that appears after the output layer (Fig. 3)

Fig. 3
figure 3

Input-output processing for each model

Additionally, for recursive models (NAR, NARX) post-processing includes a hold and release unit. In their case, the output \(\hat {Y}\) is a scalar prediction for a single time step. For those models, post-processing allows to output the entire forecast curve at once.

Training data

For wide-scale prediction of local loads it is important to rely on the smallest viable amount of training data. In addition to the availability issue, time series can constantly alter their regime with old data becoming irrelevant (inhabitants change, new equipment is installed). Multivariate networks (MIMO-MLP, MISO-MLP, NARX) require at least one year of data to learn the dependency on the month. Currently used SLPs also require total consumption over a year to scale the profile. In contrast, the NAR model is trained only on the two months of preceding data.


Activation function of the neurons must correspond to the applied normalization. With x(j)[−1;1], each layer should have ϕ(u) with the same domain and range. Unfortunately, the majority of related works (Table 1) do not specify the activation function (Amjady et al. 2010; Hernández et al. 2014; Hayes and Prodanovic 2016; Marinescu et al. 2013; Mocanu et al. 2016; Pîrjan et al. 2017; Marino et al. 2016). Among the rest, the most common functions are linear (Amarasinghe et al. 2017; Llanos et al. 2012; Mena et al. 2014; Ryu et al. 2016) and tanh-sigmoid (Bagnasco et al. 2015; Shi et al. 2016; Kong et al. 2017) defined as

$$ \phi(u) = \frac{2}{1 + exp(-2u)} - 1, $$

and which we use in this study since \(\phi (u) \in [-1;1], \forall u\in \mathbb {R}\).

Network size determines the predictive capacity of the model. For this work, we use networks with one hidden layer consisting of 15 neurons. The optimal number of hidden layers and neurons depends on the task and there is no theoretical methodology to determine it. Often, the size is chosen using experience in comparable problems. In related works, best performing networks also had one hidden layer with a similar number of neurons (Table 1).

Training algorithm for each network combines LM method with Bayesian regularization (Dan Foresee and Hagan 1997). The LM algorithm appears to be much faster than BP-based approaches for moderately-sized networks (Hagan and Menhaj 1994). Bayesian regularization does not keep some of the limited training data as a validation set in contrast to the commonly used early stopping technique (Friedman et al. 2008). At the same time, it is effective preventing overfitting and improving generalization of moderately over-sized networks (Dias et al. 2003).


We conduct the following simulations predicting the load day by day and calculating RMSE for each predicted time series. The loads are taken from the publicly available smart meter data of Irish Commission for Energy Regulation (Commission for Energy Regulation (CER) 2012). Given a sample of over 900 homesFootnote 2 at the same location, we select the loads with no missing data and annual consumption within the interquartile range (IQR). The resulting data-set consists of 444 single buildings with 17 consecutive months of data. Each time series was re-sampled equidistantly with a 60 minute resolution and normalized by its maximum value to allow scale-free comparisons between the loads. We conduct the simulations using MATLAB-software. The hyper-parameters of the networks not mentioned explicitly in “Model setup” section were left to MATLAB defaults.

Simulation A We create aggregated loads of different size for which we predict the demand curves over one month (August). For each load, we train a network on preceding data 100 times to investigate the effect that random weights initialization has on the training solution. This gives us a sample of 100 forecast errors for each load and model.

Simulation B We predict the loads of single homes separately during another five months period (September – December). We retrain the networks every month using the preceding data for training on a rolling basis.


We have observed substantial stochastic dispersion of the forecast error referable to random weight initialization (“Forecasting loads of different size” section) and variation among the households (“Forecasting large sample of households” section). Error distri- bution was represented with violin-plots while box-plots helped us to evaluate the range and statistical significance (p-value 0.05). Irish residential SLPs were used as a reference forecast (Irish standard load profiles 2014). Stochastic variation of errors had notable implications described in this section and discussed in the end of the article.

Forecasting loads of different size

We observed that mean RMSE changed drastically with load size and had notable dispersion. Average forecast of the biggest aggregation was three to four times as accurate as for a single home (Table 3). Further, forecast error had variation between 9% and 62% in terms of relative range (Fig. 4).

Fig. 4
figure 4

RMSE relative to the error obtained with SLP when predicting load aggregations of different size. Boxplots and violin plots represent the variation of the obtained error. The boxplot notch denotes the confidence interval (p-value 0.05). Violins depict a kernel density estimate of the error distribution (Hintze and Nelson 1998). Absolute error values are denoted in Table 3. All models had a substantial variation due to the random weight initializations and none was consistently better for all aggregations. Only for the biggest load (400 homes) was MIMO-MLP significantly more accurate than the SLP forecast

Table 3 Mean RMSE of 100 networks predicting loads of different size (number of homes in the aggregation). Confidence intervals are denoted in Fig. 4

The ANN models were setup adequately. Residuals were mostly uncorrelated and according to Eq. 1 contained no systematic information (Fig. 5 left column). Uncaptured influence of a further variable would have been manifested in a substantial correlation which only started to appear for bigger loads (Fig. 5 right column). We attribute it to weather that began to have a notable effect on the overall consumption.

Fig. 5
figure 5

Residuals of MIMO-MLP and NAR models predicting single home and 400 homes aggregation. Residuals are almost uncorrelated for single household. Yet, correlation becomes notable for 400 homes

On the other side, the training algorithm failed to provide stable solutions. The dispersion could not be explained by the lack of historic data and was observed for each network. The most consistent training was achieved for the NAR model that is underdetermined with twice as many degrees of freedom as data (approx. 2:1). Yet, well-determined NARX (approx. 1:19) had wider IQR. In some cases, outliers indicating eventual overfitting were observed.

Only for the biggest load was an ANN forecast significantly more accurate than the reference (Fig. 4). Further, we observed the direct approach being the worst among multi-step strategies. Apart from this, we could not make any consistent comparisons between the architectures. While RNNs were accurate for smaller loads, MIMO-MLP delivered smaller error for bigger loads.

Due to the error dispersion, any meaningful conclusion can only be made using statistics on a relevantly large sample of trained networks. Our results indicated that the applied networks are only accurate for bigger aggregations (400 homes onwards) while for smaller loads they failed to infer the inherent patterns.

Forecasting large sample of households

We observed that the forecast error varies substantially depending on the given household (Fig. 6). The relative range spread between 162% (MISO-MLP) and 127% (NARX model) among the sample notwithstanding the homes had similar annual consumption and location.

Fig. 6
figure 6

RMSE (p.u.) predicting a sample of 444 single homes day by day between September and December. Median error (red horizontal line), mean error (red cross), 95% confidence interval (notch), IQR and outliers (red circles) are denoted with box-plots. Estimated distribution is represented using violin plots (Hintze and Nelson 1998). While the error is approximately normally distributed among the households, no network architecture was significantly more accurate on average than the SLP forecast (red dashed line)

On average, none of the networks reached the reference accuracy (SLP). As in the previous simulation, direct forecast (MISO-MLP) was observed to be least accurate among multi-step strategies while recursive prediction with RNN was the most successful (NARX, NAR). Nevertheless, while for some households NAR substantially improved the accuracy by up to 25% against the reference, such result was only valid for the specific load. Still, it had mean error that was 10% above the reference applied on the same sample of households.


Our results suggest that ANN methodology might be inapt for wide-scale local load forecasting. Each of the four architectures produced dispersed forecast errors linked to the variation among training solutions and simulated buildings. As expected, mean error rapidly decreased for bigger loads. At the same time, no architecture was consistently better for each size. Even more surprisingly, no network was significantly more accurate for smaller loads than the forecast with an SLP (benchmark).

It is known that network performance depends on the characteristics of the time series linked to the load size and that ANNs do deliver accurate forecasts for some regular load curves (Wang et al. 2018). These models are often setup manually for one-step-ahead predictions using extensive training data (Runge and Zmeureanu 2019). To the best of our knowledge, ANNs were never applied in context of wide-scale day-ahead predictions on a statistically relevant sample of local loads where historic data is limited, manual adjustment is not possible and the loads can be highly volatile.

We have observed that no network architecture evaluated in this work was decisively superior for all loads (Fig. 4). Moreover, only for the biggest aggregation, there was a network significantly better than the benchmark. While this contradicts many specific cases where similar ANN models were shown to perform well (Table 1), a comparable conclusion has been reported earlier for small loads where even a naive approach outperformed an MLP (Hayes et al. 2015).

The accuracy of an ANN-model for wide range of loads can be improved by selecting the best architecture among a set of candidates for each given consumer. Such idea of an ensemble model is currently discussed (Ahmad et al. 2018; Bourdeau et al. 2019). However, we have observed notable dispersion of the forecast error obtained by the same network due to the random weight initialization which is a fundamental part of network training. This dispersion makes model selection based on trial and error (Hernández et al. 2014; Amjady et al. 2010) and comparison in general, more difficult requiring to consider a statistically relevant sample of training solutions for each candidate.

Our results suggest further practical conclusions for using ANN methodology to forecast local loads day-ahead. Firstly, one-step-ahead models, which are more common, should not be adopted directly. Predicting each point of the load curve separately was significantly worse than any other strategy described in this work (Fig. 2).

Secondly, a more complex network architecture with additional input and training data (e.g., DNN) is unlikely to be substantially more accurate. The residual analysis shows that our simple setups had sufficient modeling capacity (Fig. 5). It also shows that, for smaller loads, no further inputs are required and it is enough to consider only annual temperature cycle instead of daily weather changes. Notwithstanding some special cases (e.g. substantial PV share), this counterintuitive observation is consistent with other studies (Hayes et al. 2015; Marinescu et al. 2013; Hernández et al. 2014) and contrasts to the transmission system level where weather explains up to 70% of load variation (Dang-Ha et al. 2017).

Most importantly, stochastic nature of the results becomes apparent when predicting numerous local loads. The variation among the loads and training solutions urges to consider statistical significance of any result. We have demonstrated substantial relative range of forecast error which undermines any conclusion based uniquely on mean error and such like. Related studies rarely consider confidence intervals of errors when evaluating an ANN model applied for local load forecasting (Table 1). Our statistical analysis shows that, even when aptly setup, ANNs may fail to reach the accuracy of currently used SLPs (Fig. 6).

We explain the weak performance of applied architectures by non-stationarity of local loads. Following the ANN methodology, a trained network forecasts unseen data, assuming that the statistical properties of the process generating the data remain constant. Once the regression function is estimated, a network does not adapt to the change in data characteristics which often arrises with local loads. In such case, historic data quickly becomes irrelevant undermining the network training. The fact that the most accurate model used the least amount of training data supports this hypothesis (NAR model using only 2 months of data).

Stationarity assumption is central for any neural network architecture. Hence, it is unclear how ANN methodology, in general, can become effective predicting local loads on a wide-scale. Neural networks are known for their black-box character and it is hard to formulate a theory about their limitations for the given problem. In this situation, empirical evidence obtained through statistical analysis, as in this work, becomes important when deciding on a general approach for replacing SLPs. As currently applied, ANN methodology might be ill-chosen for wide-scale forecasting of local loads. Future research should focus on adaptive models (Ditzler et al. 2015; Kuznetsov and Mohri 2015) which may require an entirely different approach, despite ANNs being successful for other machine learning problems.


This work investigated neural network methodology for wide-scale day-ahead forecasting of local loads such as single homes and small aggregations encountered in microgrids or distribution system areas in general. Currently, grid operation relies on standardized profiles for such forecasts which fail to reflect the volatility and diversity of the loads as they become of interest for local energy management. From numerous existing network architectures, we identify and apply several setups that are practical for wide-scale day-ahead prediction. As exist at present, ANNs do not yield any statistically significant improvement. Herewith, we provide empirical evidence that a prominent neural network methodology might be inadequate for wide-scale day-ahead forecasts of local loads.

Availability of data and materials

Smart meter data set with measured load curves of numerous single consumers is publicly available from Irish Commission for Energy Regulation (Commission for Energy Regulation (CER) 2012).


  1. Wide-scale application implies predicting separately numerous loads of different size and characteristics ranging from single buildings to distribution system areas.

  2. We consider only homes of the control group. Other homes in this dataset participated in a trial that affected their consumption.


Download references


Not applicable.


Not applicable.

Author information

Authors and Affiliations



Oleg Valgaev conducted the literature review, simulations and drafted the manuscript. Hartmut Schmeck and Friederich Kupzog edited, read and approved the final manuscript.

Corresponding author

Correspondence to Oleg Valgaev.

Ethics declarations

Competing interests

The authors declare that they have no competing interests.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit

Reprints and Permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Valgaev, O., Kupzog, F. & Schmeck, H. Adequacy of neural networks for wide-scale day-ahead load forecasts on buildings and distribution systems using smart meter data. Energy Inform 3, 28 (2020).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI:


  • Smart grid
  • Machine learning
  • Load forecasting
  • Day-ahead
  • Neural network
  • Local load
  • Buildings
  • Microgrids
  • Distribution system