Skip to Content
EnergiesEnergies
  • Article
  • Open Access

28 May 2021

36 Pages

Multi-Step Energy Demand and Generation Forecasting with Confidence Used for Specification-Free Aggregate Demand Optimization

,
and
Centre for Research and Technology Hellas, Information Technologies Institute, 57001 Thessaloniki, Greece
*
Author to whom correspondence should be addressed.
†
Current address: 6th km Harilaou—Thermi, 57001 Thessaloniki, Greece.

Abstract

Energy demand and generation are common variables that need to be forecast in recent years, due to the necessity for energy self-consumption via storage and Demand Side Management. This work studies multi-step time series forecasting models for energy with confidence intervals for each time point, accompanied by a demand optimization algorithm, for energy management in partly or completely isolated islands. Particularly, the forecasting is performed via numerous traditional and contemporary machine learning regression models, which receive as input past energy data and weather forecasts. During pre-processing, the historical data are grouped into sets of months and days of week based on clustering models, and a separate regression model is automatically selected for each of them, as well as for each forecasting horizon. Furthermore, the multi-criteria optimization algorithm is implemented for demand scheduling with load shifting, assuming that, at each time point, demand is within its confidence interval resulting from the forecasting algorithm. Both clustering and multiple model training proved to be beneficial to forecasting compared to traditional training. The Normalized Root Mean Square Error of the forecasting models ranged approximately from 0.17 to 0.71, depending on the forecasting difficulty. It also appeared that the optimization algorithm can simultaneously increase renewable penetration and achieve load peak shaving, while also saving consumption cost in one of the tested islands. The global improvement estimation of the optimization algorithm ranged approximately from 5% to 38%, depending on the flexibility of the demand patterns.

1. Introduction

Time series forecasting is useful in many applications [1,2]. Before 1927, time series were forecast using extrapolation. Then, Yule introduced the autoregressive model in order to forecast future values of time series as weighted sums of previous ones, and linear modelling with noise was the common practice for forecasting within the next 50 years or so. Afterwards, the linear models proved to be inadequate to describe complex time series behaviour, and since 1980, along with the evolution of computers, time series forecasting has been addressed also using machine learning techniques and state-space reconstruction with time-delay embedding [3]. Examples of recent generic time series forecasting methods are random walk with drift, Autoregressive Fractionally Integrated Moving Average (ARFIMA), exponential smoothing state-space model with Box–Cox transformation, Autoregressive Moving Average (ARMA) errors, Trend and Seasonal components (BATS), simple exponential smoothing, Theta and Prophet methods [4], a hybrid approach linearly combining alternative neural network models based on a weighting automatically derived by the model errors [5], Bayesian models [6] and discretization with fuzzification [7].
One of the aforementioned applications is that of forecasting energy demand (consumption) and generation (production). The review in [8] explains why the variance of solar and wind generation leads to cost and how this cost is reduced thanks to generation forecasting.
Self-consumption of energy is achieved with an energy storage system and Demand Side Management. The most popular strategy for the latter is load shifting [9]. According to [10], with the increase of population, energy management through demand response (DR) programs has become an important need. Particularly, most of such programs are price-based, according to the following charging policies: (a) Time-of-Use (TOU), according to which the price depends on the time of the day and is determined by the historically average cost of energy delivery at each time, (b) Real-Time Pricing (RTP), where future prices are determined in real time on an hourly basis based on the current conditions, and (c) Critical-Peak Pricing (CPP), which is a dynamic pricing mechanism using elements of the above two to modify tariffs as a temporary response to events or conditions like high market prices or reserve being reduced. RTP is mentioned as the best DR technique [11].
The current paper presents first a generic forecasting algorithm, based on machine learning techniques, applied to predict aggregate demand and generation in three demonstrators (Orkney island, Ballen marina at Samsø and Madeira island). Past values of the variable to be forecast along with weather forecasts from [12] were considered as potential input to the forecasting regression models. However, only the variables that improved the performance of the models were finally selected. The historical dataset was grouped w.r.t. month and day of week by applying a clustering method to the data of the variable to be forecast. Along with each forecast, a confidence interval is automatically provided by the algorithm, according to the distribution of the forecasting error, considering the impact of the forecasting horizon, time of the day and month–day of week group resulting from the above clustering. The pre-processed input and output variables of the forecasting models were defined in such a way that they have near-linear dependencies. However, multiple regression architectures were tested with hyper-parameter tuning, including the contemporary Extreme Learning Machines (ELM), which is presented in [13] as better than the usual Artificial Intelligence techniques, due to its faster learning ability and its simpler architecture. Additionally, a demand optimization algorithm was developed, which assumes that the future demand can be shifted among the timestamps of the optimization interval (e.g., next 24 h). Regarding constraints, it was considered that the average demand across all timestamps of the interval should not be modified, and that the demand at each future timestamp always ranges within the respective confidence interval. This optimization algorithm is generic and was implemented for each demonstrator using relevant data. It considers three optimization criteria, namely minimum cost for the consumer, maximum usage of renewable energy and minimum power instability. The degree of deviation from the fulfilment of each of these criteria was evaluated based on a Key Performance Indicator (KPI), which was defined mathematically. In order that multiple criteria among the above three are considered for the optimization, a total KPI was defined as a weighted mean of the individual KPIs, which were scaled appropriately first. Not all three criteria were considered in all demonstrators, because some criteria were considered as non-applicable to some of them. The optimization algorithm is accompanied by a flexibility analysis for total demand, based on confidence intervals for demand, derived from the forecasting algorithm. Flexibility is the ability to increase or reduce the production of power plants or the consumption of demand processes [14]. A standard formula for quantifying flexibility does not exist, and flexibility depends on the settings of the problem in question.
Based on the above, the solution described in this paper may be considered as useful if at least one of the following hypotheses is valid:
  • The end user is an energy consumer who views the recommendations about the time points in the near future when energy consumption should be preferred according to the desired weighting factors of the three optimization criteria and the unit prices of energy at every time point which are applicable to this user, and adjusts his/her consumption behavior accordingly.
  • The end user is a Distribution Systems Operator that forwards the recommendations of these algorithms to its customers.
  • The end user is someone authorized to determine the unit prices of energy consumption at every time point, so (s)he can examine to what extent the economic criterion contradicts the renewable energy penetration and power stability criteria and adjust unit prices accordingly, also dynamically.
The remainder of the paper is organized as follows: Section 2 presents the related work and the contribution of ours. In Section 3, the high-level architecture of the system of the forecasting and optimization algorithms is depicted, whereas in Section 4 and Section 5 the forecasting and optimization algorithms, respectively, are presented in detail, including their methodology and experimental results. The paper is concluded in Section 6. Finally, Appendix A provides more information about the raw data.

3. High-Level Architecture

The high-level architecture of the forecasting and optimization algorithms is depicted in Figure 1. The data sources refer to demand and generation data, for example, from application programming interfaces (APIs) in case of real-time data from Madeira, or files with previously downloaded historical data. Historical weather data and observed historical data from [12] are also considered. The forecasting module receives input data from these sources and is able to (re)train demand and generation forecasting models and use them for real-time predictions. Particularly, the models are saved for future reuse, and are also retrained if they are outdated, according to a configurable oldness threshold. The forecasts are stored in the output database and afterwards they are used by the optimization module, which delivers to the same database the optimal demand scheduling for the near future. Executing the forecasting module and posting the forecasting output before the optimization module is triggered was preferred as an option, because if the optimization module called the forecasting module instead, the forecasts could not be used as input by third party modules.
Figure 1. High-level architecture of the forecasting and optimization algorithms.

4. The Forecasting Algorithm

The forecasting algorithm has been implemented using data from all three demonstrators of Orkney, Samsø and Madeira. Forecasting models were trained for aggregate generation and demand (power).

4.1. Methodology of the Forecasting Algorithm

The goal of this algorithm is to forecast the values of a variable for multiple future time points, using data until present as input, from that and/or other variables. Each estimation is accompanied by a confidence interval. The forecasting problem is formulated based on both traditional and state-of-the art machine learning regression models.
The approach consists of the following steps:
  • Scaling each raw variable so that it has mean equal to 0 and standard deviation equal to 1. This is required by some of the non-linear regression architectures.
  • In particular cases, the target variable is transformed to one of its features, but typically all raw variables are directly used in the following steps, just after aggregation.
  • Selection of input variables based on linear regression.
  • Grouping the historical dataset w.r.t. month and day of week by applying a clustering algorithm to the data of the target variable (i.e., the variable to be forecast). The selection of the clustering algorithm and respective clusters is automatic, based on the behavior of the target variable, and particularly the selection of algorithm is also based on training of linear regression approximations of the forecasting models.
  • Supervised training of all regression architectures on the selected input variables. A separate training is performed for each group and forecasting horizon. The best architecture, based on 3-fold cross-validation, is automatically selected in each case, and the respective model is retrained within the whole historical dataset. (Cross-validation is a common method to evaluate the ability of a model to generalize to unknown data. Since usually about 50–70% of a dataset is used for a single training, considering 3 folds is a reasonable choice).
Each forecasting model may be expressed mathematically as:
y ^ s ( t )   =   f G ( t ) , s x G ( t ) , s ( t ) , z G ( t ) , s ( t ) , p r , G ( t ) , s ( t ) , h G ( t ) ( t ) , w ( t ) , w ¯ G ( t ) , s ( t ) ,
according to the following notation:
  • t: time point for which the forecast is made
  • s: forecasting horizon
  • y ^ s ( t ) : estimation of the value that the target variable will have at the time point t based on the forecasting horizon s
  • G ( t ) : the group of months and days of week that t belongs to
  • x G ( t ) , s ( t ) : latest known measurement of the target variable within G ( t ) when forecasting for the time point t with horizon s (“present value”)
  • r: duration such that all past values of the variable to be forecast, within G ( t ) , obtained after final aggregation (see Section 4.3.1), with a delay up to this duration, are used as input to the model
  • z G ( t ) , s ( t ) : latest known measurement of the target variable at the same time of the day as t within G ( t ) when forecasting for the time point t with horizon s (“last value at same time”)
  • p r , G ( t ) , s ( t ) : past values of the variable to be forecast, within G ( t ) , obtained after final aggregation, with a delay up to duration r, to be used as input to the model, when forecasting for the time point t with horizon s
  • h G ( t ) ( t ) : historical mean of the target variable at the same time of the day as t within G ( t ) (“average time profile”)
  • w ( t ) : weather variables at the time point t (forecast weather in case of real-time forecast of the target variable, or exact weather in case of training on a historical interval)
  • w ¯ G ( t ) , s ( t ) : mean of weather variables within the interval from the time point of x G ( t ) , s ( t ) to t—in practice, no variable from this vector proved to be useful (and it would not make sense in most of the cases), so it will not be discussed later
It needs to be clarified that the time point of x G ( t ) , s ( t ) is not necessarily t   −   s , and the time point of z G ( t ) , s ( t ) is not necessarily t   −   ( 1 day ) . It may also be earlier, because only the time points of the same group G ( t ) are taken into account in the computation of the lag between the time point of x G ( t ) , s ( t ) and t. For example, if G ( t ) is a group of business days of summer months, then the earliest business day of June of some year is considered as the next day of the last business day of the August of the previous year. Similarly, the time interval of past values with previous output duration r is not necessarily [ t   −   r , t ) .
The confidence interval for y ^ s ( t ) is computed based on the empirical distribution of the error of the test sets, which is considered as dependent on the group, the forecasting horizon and the time of the day. Thus, it can be written as y ^ s ( t )   +   ε G ( t ) , s , t , a 2 , y ^ s ( t )   +   ε G ( t ) , s , t , 1 − a 2 , where a denotes the significance level and ε G ( t ) , s , t , a 2 , ε G ( t ) , s , t , 1 − a 2 the a 2 and 1   −   a 2 percentiles of the error of a single prediction of the target variable respectively, within G ( t ) , for horizon s and time of the day equal to the time of the day of the time point t. In practice, the error distributions in this work are symmetric enough so that ε G ( t ) , s , t , a 2   <   0 and ε G ( t ) , s , t , 1 − a 2   >   0 in all cases for a   =   0.05 (which is our choice), so the forecast belongs to its confidence interval. On the other hand, it was not assumed that the error distribution is necessarily Gaussian (or even fully symmetric), because this assumption could be wrong. So, it was preferred to estimate the confidence interval based on the historical data (non-parametric approach) rather than the critical values of some Gaussian or other known distribution (parametric approach).

4.1.1. Forecasting Regression Model Architectures and Tested Hyper-Parameters

The following regression architectures and respective hyper-parameters are tested using the scikit-learn Python library [56] (version 0.20.1):
  • Multilayer Perceptron Regressor [MLP(hidden layer sizes)]—in case of absence of hidden layers [MLP()], this is reduced to linear regression
    -
    hidden layer sizes = (), (1), (2), (5), (1,1), (2,2), (5,5)
    -
    activation = “tanh”
    -
    solver = “lbfgs”
    -
    maximum number of iterations = 10 8
    -
    alpha = 0
  • Random Forest Regressor [RF(maximum depth)]
    -
    maximum depth = 1, 2, 5, 10
    -
    number of estimators = 100
  • Nearest Neighbour Regressor [NN(number of neighbours, weights)]
    -
    number of neighbours = 5, 10, 20, 50, 100, 200
    -
    weights = “uniform”, “distance”
  • Support Vector Regressor [SVR(penalty, kernel(degree), epsilon)]
    -
    penalty (C) = 0.1, 1, 10
    -
    kernel = “poly” (polynomial), “rbf” [Radial Basis Function (RBF)], “sigmoid”
    -
    degree = 1, 2 (applicable only to the “poly” kernel)
    -
    epsilon = 0.1, 0.01, 10 − 3 , 10 − 4 , 10 − 5
    -
    maximum number of iterations = 10 7
  • Gaussian Process Regressor [GPR(alpha)] (when the number of data points is less than 10 4 , so that training is memory-efficient)
    -
    alpha = 10 − 10 , 10 − 9 , 10 − 8 , 10 − 7 , 10 − 6 , 10 − 5 , 10 − 4 , 10 − 3 , 0.01, 0.1
In addition, some more recent algorithms from the scikit-learn extensions library [57] (version 0.0.2), which are not so widely-used in the bibliography compared to the previous ones, have been considered:
  • Kernel Regression [KR(kernel, gamma)]
    -
    kernel = “poly”, “rbf”, “sigmoid”
    -
    gamma = 0.01, 0.1, 1, 10, 100, 10 3
  • Exteme Learning Machines [ELM(hidden layer units, alpha, RBF width, activation function)]
    -
    hidden layer units = 1, 2, 5, 10, 20, 50, 100
    -
    alpha = 0, 0.5, 1
    -
    RBF width = 10 − 3 , 1
    -
    activation function = “gaussian”, “tanh”
The selected values of the aforementioned non-tuned hyper-parameters differ from the default values set by the respective library, because they seemed to generally perform better, based on preliminary experiments. For all other hyper-parameters of the above regressors the default values are considered. More information on the hyper-parameters may be found in the documentation of the above two libraries.

4.1.2. Clustering Methodology and Relevant Architectures Tested

As mentioned above, clustering aims at grouping the dataset by subsets of months and days of week combinations, so that different regression models are trained for each cluster. This is helpful when the behavior of the target variable depends on the month and/or day of week. Clustering addresses the problem of existence of qualitative variables (month and day of week), which, since their numbering is not meaningful, would traditionally need to be inserted as binary variables in the regression models (one-hot encoding), and this would lead to too many input variables in the models, as aforementioned, which would need to share their common parameters among different months, days of week and times of day.
Clustering is performed in two phases. In the first phase it is done w.r.t. months and in the second phase w.r.t. day of week for each cluster of months resulting from the first phase. The feature vector of each month used as input for months clustering consists of the mean values of the target variable at every pair of day of week and time of day during that month within all years with existing data. For example, when using a sampling step of 1h, the length of the feature vector is 7·24 = 168. In the second phase, the feature vector of each day of week which is used as input to cluster days of week consists of the mean values of the target variable at every time of the day during that day of week and within the set of months of the months group in question.
The following clustering architectures are tested using the first of the two above libraries [56]:
  • Algorithms automatically selecting number of clusters:
    -
    Affinity Propagation (AP)
    -
    Mean Shift (MS)
  • Algorithms requiring manual selection of number of clusters n (1, 2, 6 and 12 clusters are tested for month, whereas 1, 2 and 7 clusters are tested for day of week):
    -
    K-Means (KM(n))
    -
    Agglomerative Clustering (AC(n))
As above, it needs to be clarified that apart from the number of clusters (when applicable), for the rest of parameters of the clustering algorithms the default values have been considered, and may be found in the documentation of the library. In each of the two phases, among the candidate clustering architectures, the one minimizing the Normalized Root Mean Square Error (NRMSE) (see Section 4.1.3) after training the fast linear regression model separately for each cluster and for each forecasting horizon is automatically selected as the best. As will be demonstrated later by the forecasting results, although non-linear models contribute to the reduction of the errors, using linear regression as a much faster approximation is satisfactory, since the input variables in Equation (1) have been defined in a way that they are near-linearly associated with the output.

4.1.3. Evaluation

The performance of the forecasting algorithm is quantified based on the Normalized Root Mean Square Error (NRMSE), which is interpreted as the ratio of the standard error of the prediction error to the standard deviation of the target variable, and is a common evaluation metric for regression problems. In this work, the NRMSE for a particular forecasting horizon s is defined as
E ( s )   =   ∑ F ∑ t ∈ I s , F [ y ( t )   −   y ^ s ( t ) ] 2 ∑ F ∑ t ∈ I s , F [ y ( t )   −   y ¯ ] 2 ,
and the total NRMSE as
E   =   ∑ s ∑ F ∑ t ∈ I s , F [ y ( t )   −   y ^ s ( t ) ] 2 ∑ s ∑ F ∑ t ∈ I s , F [ y ( t )   −   y ¯ ] 2 ,
according to the following notation:
  • F: training-test set split of the cross-validation
  • I s , F : time interval for which forecasts are made based on horizon s, within all training/test sets obtained by split F when computing training/test NRMSE respectively and within all groups of months and days of week pairs resulting from clustering
  • y ( t ) : exact value of the target variable at the time point t
  • y ^ s ( t ) : forecast value of the target variable for the time point t
  • y ¯ : mean of the target variable within the whole historical dataset
The NRMSE is non-negative. Lower values are better, so the perfect value is 0. It is independent of the measurement unit of the target variable, because it is scaled by the denominator. When it equals 1, the model performance is the same as the performance of the naive model that always predicts the mean of the variable as the future value of the target variable. It is easy to prove that the latter is the best constant model, because the mean of a variable minimizes the sum of square differences between the variable’s observations and a constant number w.r.t. this constant.
The NRMSE is computed for the test sets (test NRMSE) and the persistence model, as defined in [31], pp. 704–729, the forecasts of which equal the latest available value (benchmark NRMSE), which is another naive approach to be compared with ours. The formula of this model is
y ^ s ( t )   =   x G ( t ) , s ( t ) .
The performance measure for the models that has been used for model selection is the test NRMSE.

4.2. Raw Data Used from Each Demonstrator

Table 1 shows the demand and generation data from each demonstrator that were used for training. At Orkney, almost all generation is produced by wind, and it is separated into ANM and non-ANM. ANM stands for Active Network Management. This corresponds to the wind turbines to which curtailment is applied when generation is too high to be consumed or stored. Because some non-ANM turbines may become ANM in the future, forecasting models are trained also for the sum of ANM and non-ANM generation. In case of Samsø, only the harbour is studied. Harbour generation has not been measured yet directly, but it was estimated indirectly for a whole year by the partners of the demonstrator.
Table 1. Power data used from each demonstrator for training of the forecasting models.
Before feeding the data to the Python code, some minor preliminary cleaning took place offline:
  • Orkney generation was frozen within some intervals, which were discarded from the analysis. After that, about 5% and 6% of ANM and non-ANM generation timestamps respectively appeared to have missing values. Furthermore, a few negative values of generation were replaced by 0.
  • In Madeira case, about 1% of the timestamps were discarded, because the sum of registered total demand was not within the range ± 1 % of the total generation, renewable and non-renewable (thermal), although total demand and total generation should be equal.
As mentioned above, weather data are also available for every location from [12], although some data are missing sometimes.
More details about the technical objective, the grid issues/constraints, the market, regulatory and legal context, as well as the suitable DR programs for each demonstrator are documented in [58]. More details about the raw power data may be found in Appendix A.

4.3. Experimental Results from the Forecasting Algorithm and Discussion

The results obtained by implementing the steps of the approach mentioned previously are presented and discussed in this subsection.

4.3.1. Algorithmic Specifications and Initial Pre-Processing

For all demonstrators, it is desired that forecasts are made for forecasting horizons of 1 h, 2 h,..., 24 h. So, the raw data, which have a sampling step of 15 min–1 h, are aggregated with a 1-h sampling step. (A constant sampling rate is needed for the models. It is worthless and time consuming to keep a finer resolution because all forecasting horizons are a multiple of 1 h and the algorithm is not required to be executed more frequently than once an hour, or even once a day). For each variable, missing values are addressed with linear interpolation only for data gaps up to 1 h.
Especially for the Samsø demonstrator, it is interesting and also easy to disaggregate the controllable from the non-controllable demand, because it is assumed that any control algorithm can affect only the former. Based on information from the demonstrator experts, the controllable demand corresponds to the harbour assets and usually to spikes in the demand plot, because controllable energy is consumed for short periods of time (usually up to 3 h) for particular purposes (e.g., sauna, wastewater pump, EV charger on harbour master’s office). On the other hand, demand for charging the numerous boats in the harbour, which is much smoother, is considered as non-controllable at this stage, although there is a plan to control it in the future. Therefore, in the analysis of this work, it has been assumed that the non-controllable demand may be expressed by the rolling median of demand with a window size of 9 h (9 time points). As for the controllable demand, because the exact time of the day when it is observed is partly vague, it has been expressed by the difference between the rolling mean and the rolling median of demand with a window size of 9 h, and the models for forecasting it use a sampling step of 12 h, obtained with a second aggregation, after the variable transformation.

4.3.2. Input Variables Selection and Timestamps Clustering

The input variables were selected using a forward-backward selection policy. Variables inclusion/exclusion was based on the test error obtained after training linear regression models on the dataset. Regarding the past values, maximum delays of 0, 1 h, 2 h, 6 h, 12 h and 23 h were examined, except for the controllable demand at Samsø, where the final sampling step is 12 h, as mentioned above, so only the delays 0, 12 h and 23 h were tested. The selections made are shown in Table 2. It needs to be noted that the “sun” variable is not directly available by [12]. It is a variable defined in this work in order to quantify the sunlight and is computed as 1   −   ( cloudcover ) between the sunrise and sunset time (obtained also by [12]), and as 0 otherwise. It is also worth mentioning that the variable selection process is rendered more complex due to clustering, because some variables may be useful without clustering and useless when clustering is applied.
Table 2. Input variables selected and clustering details regarding the forecasting models.
Overall, in Table 2 the input variables selected, the clustering algorithms that proved to be the most appropriate and the respective clusters obtained are presented.
Regarding the input variables, the present value is always selected, except for the case of controllable Samsø demand, where, as aforementioned, the data have been aggregated with a 12-h sampling step, and thus the forecasts are made only for 12-h and 24-h forecasting horizons. The average time profile and the last value at the same time point as the one for which the forecast is made, or also other past values of the target variable, are often helpful. As for the weather data, as expected, wind-related variables (especially wind speed) are always selected as input to models forecasting wind generation, whereas sunlight and humidity appear to affect solar generation.
Clustering in months improved the overall forecasting performance almost in any case, and particularly the clusters based on generation are separated more clearly into winter and summer months. Sometimes (especially for demand forecasting) clustering days of week also makes sense, because these are related to people’s consumption patterns. The most evident example is Madeira demand, where it seems that business days, Saturdays and Sundays have three different profiles almost every month. The clusters were also meaningful for Samsø controllable demand, which was relatively high during first or second halves of specific days of the week in winter, but other days of week in the summer. The benefit of clustering will be shown more clearly by the numerical evaluation in Section 4.3.3, as well as by the comparison of the average time profiles among the selected clusters in Appendix A.

4.3.3. Results from Training the Regression Models

In the pie charts of Figure 2, the number of cases (cluster and forecasting horizon pair) in which each regression model architecture was the best in terms of the selected evaluation measure mentioned above is shown for the three demonstrators. For example, the first pie depicts 24 × 12 = 288 groups, since there are 24 forecasting horizons and 12 clustering groups, as shown above. These architectures correspond to the results of Table 3. Furthermore, in Figure 3, Figure 4 and Figure 5, the training, test and benchmark errors of the selected architectures are plotted as a function of the forecasting horizon, but still aggregated for all clustering groups.
Figure 2. Number of group and forecasting horizon pairs for which each model architecture was the best.
Table 3. Results (test NRMSE) from training the regression forecasting models.
Figure 3. NRMSE per forecasting horizon corresponding to the selected models for Orkney.
Figure 4. NRMSE per forecasting horizon corresponding to the selected models for Samsø.
Figure 5. NRMSE per forecasting horizon corresponding to the selected models for Madeira.
In the pies, each main colour corresponds to a particular model kind (e.g., blue to MLP), and every tone of that main colour corresponds to a different selection of hyper-parameters for that kind, although there is no standard correspondence between tone and values of hyper-parameters; instead, darker tones correspond to higher frequency.
It was observed that usually several architectures have comparable performance for the same learning task. However, sometimes the appropriateness of an architecture seemed to depend on the forecasting horizon. MLP and SVR tend to perform better for low horizons, whereas RF and NN for higher. GPR, KR and ELM were more rarely selected. GPR proved to be inefficient also in terms of memory cost, which was not even viable when a lot of training data (>10,000 time points) were used (mainly in some cases related to Madeira generation, where the clusters were not many).
In Table 3, higher error indicates that the variable is harder to forecast, especially when it does not regard an aggregate measurement (e.g., the controllable demand at Samsø, which constitutes a relatively small part of the total harbour -or island- demand). However, all errors (apart from the ones corresponding to the benchmark) are below 1, so all models offer an added value compared to any of the two naive approaches. A special outcome of this table is that the novel ANM wind generation at Orkney, which is gradually becoming more and more common, seems a bit easier to be forecast compared to the traditional non-ANM wind generation. The intermediate columns are of particular interest as well. Generally, in cases of many clusters, clustering considerably reduces the error, as shown by the first two numeric columns. The most important of these cases are the controllable demand at Samsø and the demand at Madeira, as aforementioned, where it is clear that demand patterns are affected by month and/or day of week. From the comparison of the first and third numeric columns it can be inferred that, in several cases, the selection of the numerous regression models, as shown previously in the pie charts, is beneficial compared to the usage of linear regression for all clustered groups and forecasting horizons; however, often, the improvement is not serious (at least as an average from all horizons), even in cases where linear regression is not the predominant model in the respective pie. On the one hand, this is advantageous because it shows that, thanks to the methodology based on which the input variables have been defined, the easy-to-train linear regression model is an acceptable estimation when used for selection of input variables and clustering algorithm before the final training. On average, the appropriate clustering proved to be approximately equally important as the testing of all considered regressors.
More information is provided by the error curves. As expected, the error is usually lower for low forecasting horizon, and this indicates that the more the error drops as the horizon decreases, the higher the impact of the present value to forecasting. When the benchmark error decreases as the horizon approaches 24 h, this implies that the value of the variable being forecast is relatively close to the value 1 day before within the same group. Therefore, the impact of variables apart from the present value and the last value at the same time as the time for the forecast is reflected by the difference of test and benchmark error for a horizon of 24 h. The cases with the most remarkable difference correspond to Orkney wind generation, which exhibits strong correlation with wind speed (Pearson 0.8048 and Spearman 0.8417 for total wind generation) and wind gust (Pearson 0.8082 and Spearman 0.8389 for total wind generation) in the dataset, in contrast with the Madeira case, where the correlation between wind generation and wind speed is much weaker (Pearson 0.3211 and Spearman 0.3689). Furthermore, a valley appears in the benchmark error curve of Samsø total demand and Madeira hydro generation, because these variables usually exhibit two increases and decreases of similar duration every day, so values with a time distance of 12 h are generally closer to each other compared to values with time distance of for example, 6 h or 18 h. Finally, the training error fluctuations are explained by the variety of architectures selected among forecasting horizons. The test error curves are smooth, and close to the training error ones, at least for some forecasting horizons, and this happens especially in the Madeira case, where the amount of data is higher. This provides evidence that no overfitting issue exists.
Figure 6 and Figure 7 demonstrate examples from the real-time execution of the forecasting algorithm in our dashboards, comparing actual and forecast values with 95% confidence intervals for the same timestamps in the Madeira case. These dashboards contain data from 2020 and 2021, that is, after the training and cross-validation time interval mentioned in Table 1, which covers 2018 and most of 2019. Especially, Figure 6 corresponds to demand, which obviously depends highly on the time of the day and generally it is lower during weekends, especially Sundays. The latter justifies the automatic clustering in business days, Saturdays and Sundays, as shown in Table 2. Due to the effect of the last value at same time within the same cluster as an input to the models, the algorithm can also identify the overall change of the pattern from week to week. There is comparable error both with 1-h and 24-h forecasting horizons, which conforms with the almost flat green curve for Madeira demand in Figure 5. Only the first day (Monday, 4th January) the forecasts are slightly lower than the exact values using an 24-h horizon, since the previous day of the same cluster (Friday, 1st January) was a public holiday, so demand was exceptionally lower than normal for business days. Finally, in Figure 7, apart from the effect of time of the day, the special impact of weather variables is depicted. In each column, intentionally, 2 consecutive days of the same cluster (based on Table 2) with clearly distinguishable weather and power profiles were selected, so that the alignment between forecasts and exact values using a 24-h horizon is not attributed just to the average time profile, or to the last values at same time, which would probably be almost equal to the values to be forecast otherwise. As anticipated, wind speed and sun have positive correlation with wind and solar generation respectively. Although an exhaustive evaluation of the confidence intervals was not a part of this work, these two figures convince that about 95% of the exact values are within the intervals.
Figure 6. Time series of exact and forecast values with 95% confidence interval for Madeira demand during the first 4 calendar weeks of 2021, based on 24-h (top) and 1-h (bottom) forecasting horizon. The effect of average time profile and the day of week clusters (business days, Saturday, Sunday) on all values is shown. The measurement unit of demand is MW and the time zone is 2 h ahead of Madeira’s.
Figure 7. Examples showing the effect of wind speed and sun on Madeira wind (left) and solar (right) generation respectively [exact and forecast generation values with 95% confidence interval based on 24-h (top) and 1-h (middle) forecasting horizon], during 2 consecutive days of the same clustering group with different weather and generation profiles, as shown by the scatter plots (bottom). The measurement units of generation and wind speed are MW and mph respectively, and the time zone is 2 h ahead of Madeira’s.

5. The Optimization Algorithm

The optimization algorithm proposes the optimal demand for each time point of the next time interval (“optimization interval”), based on a pre-defined time granularity. Although the algorithm can be easily adapted, the following potential optimization criteria have been considered, based on the demonstrators’ needs known:
  • minimum cost (minimum mean product of demand and price per energy unit of demand)
  • maximum usage of renewable energy (minimum variance of difference between demand and forecast generation)
  • minimum power instability (minimum demand variance)
under the following constraints:
  • Within the optimization interval, the total demand equals the total forecast demand (w.r.t. time). This means that demand can only be shifted, but not reduced overall.
  • At each time point of the optimization interval, demand is within a time-point-dependent interval.
A Key Performance Indicator (KPI) was defined to quantify each criterion.
The optimization approach followed regards a generic, specification-free optimization of the aggregate demand of the island (Orkney, Madeira) or the Ballen harbour (Samsø).
For Madeira, the future energy price is generally known and partially fixed. Particularly, every customer selects among programs with 1, 2, or 3 time zones with different prices in each (simple, bi-hour and tri-hour tariff respectively). The tariffs with more zones incentivize the customer to consume less during high-demand periods, by imposing higher price during them, while decreasing price during low-demand periods, compared to the tariffs with fewer zones. In Figure 8, the energy price zones for the tri-hour tariff are shown. In the bi-hour tariff case the peak and half-peak zones are merged, whereas, apparently, in the simple tariff case price is independent of time. In cases of multiple time zones, the customers can also select between the daily cycle, where the time periods of the zones depend only on the season, and the weekly cycle, where they depend also on the day of week, as also shown in the figure. The price in each zone depends not only on the tariff, but also on the contracted power of the customer. Prices change in the beginning of each year by the Energy Services National Regulator and not by the Distribution System Operator. In the remainder of the paper, the tri-hour daily cycle will be assumed with the following realistic prices for the current year:
Figure 8. Energy price zones for the tri-hour tariff in Madeira. The information in the figure has been provided by the experts of the demonstrator.
  • peak: €0.1773/kWh
  • half-peak: €0.1272/kWh
  • off-peak: €0.0624/kWh

5.1. The Mathematical Viewpoint of the Optimization Method

The optimization problem was formulated as a mathematical programming problem for constrained optimization of a non-linear scalar objective function. So, let f ( x ) the scalar objective function of a vector x   =   [ x 1 , x 2 , … , x n ] ⊺ containing the variables the values of which that minimize f ( x ) under the multi-dimensional constraints g ( x )   =   0 , h ( x )   ≥   0 [element-wise (in)equalities] have to be found. The constrained optimization problem
min x f ( x ) : g ( x )   =   0 ,   h ( x )   ≥   0
is approximated by the following unconstrained problem:
min x f ( x )   +   M g 2 ( x ) ⊺ 1   +   h 2 ( x ) ∘ h ( x )   <   0 ⊺ 1 ,
where M > > min x : g ( x ) = 0 , h ( x ) ≥ 0 f ( x ) , the quadratic functions are applied element-wise, 1 denotes a vector with all of its elements equal to 1, the expression h ( x )   <   0 is a vector of integers indicating if the condition holds (1) or not (0) element-wise, and finally ∘ denotes Hadamard (element-wise) product. Using this approximation, when the functions f , g and h are differentiable, the same goes for the new objective function, so the derivative-based optimization methods can be applied. As follows from the following, in our cases f ( x ) ranges around 1, so it is concluded that setting M   =   10 3 is an appropriate choice.
For the implementation of optimization, the Basin-hopping global optimization algorithm has been used from the scipy Python library [59]. Apart from the objective function, its derivative has also been given as input in order that optimization is accelerated, although in this work optimization always lasts less than 1 s, and it has been confirmed that a single iteration of the Basin-hopping algorithm suffices to find the global optimum. Finally, it is worth mentioning that the Basin-hopping algorithm is faster than differential evolution, which is the other global optimization algorithm supported by the same library.

5.2. Methodology of the Optimization Algorithm

As shown in Figure 9, the optimization algorithm needs the following input data:
Figure 9. Low-level architecture of the optimization algorithm and relation with the forecasting algorithm.
  • optimization interval
  • weighting coefficients of the optimization criteria
  • aggregate demand forecast with confidence, based on a configurable significance level
  • aggregate generation forecast (when the renewables-related criterion is considered)
  • demand price at each time of the day, considering also day of week and month
The mathematical formulation of this approach is
min d w c K P I c ( d )   +   w r K P I r ( d )   +   w p K P I p ( d ) : mean t ∈ I o p t d ( t )   =   mean t ∈ I o p t d ^ ( t ) d ^ l ( t )   ≤   d ( t )   ≤   d ^ u ( t ) ∀ t ∈ I o p t ,
with the following notation:
  • I o p t : interval for which the optimization takes place
  • d ( t ) : aggregate demand (power) at time t
  • d : vector of all d ( t ) , t ∈ I o p t , in ascending order of time
  • d ^ ( t ) : forecast aggregate demand at time t
  • [ d ^ l ( t ) , d ^ u ( t ) ] : 95% confidence interval for demand at time t (as explained in Section 4.1, the bounds depend on the predicted demand, but their difference from predicted demand depends only on the forecasting horizon, time of the day and clustering group)
  • K P I c ( d ) , K P I r ( d ) , K P I p ( d ) : KPIs for cost, renewables and power stability criteria respectively
  • w c , w r , w p   ≥   0 , w c   +   w r   +   w p   =   1 : arbitrary weights of KPIs
The KPIs are defined as follows:
K P I c ( d )   =   mean t ∈ I o p t c ( t ) d ( t ) mean t ∈ I h c ( t ) d ( t )
K P I r ( d )   =   mean t ∈ I o p t d ( t )   −   g ( t ) 2 mean t ∈ I h d ( t )   −   g ( t ) 2
K P I p ( d )   =   σ d ( I o p t ) 2 s d ( I h ) 2 ,
according to the following notation:
  • I h : interval of training data for the demand forecasting models
  • c ( t ) : expected aggregate demand cost per energy unit at the time point t (historical prices are set according to the same pricing policy of the current year)
  • g ( t ) : aggregate generation at the time point t
  • σ d ( I o p t ) 2 : theoretical variance of d ( t ) within I o p t (assuming mean as constant equal to the historical mean demand)
  • s d ( I h ) 2 : sample variance of d ( t ) within I h
The denominators of the above formulas aim at scaling KPIs so that they are independent of the measurement units and in order that the contribution of each individual KPI to the entire objective function is independent of the way the KPI is defined. With this scaling, each KPI is non-negative, it is better when lower and the value 1 for the KPI may be interpreted as neutral.

5.3. Flexibility Analysis

In the specification-free optimization of this work, to express flexibility mathematically, the KPI reduction rate has been defined as
R R x , I o p t   =   1   −   K P I x ( d ^ o p t ) K P I x ( d ^ )
according to the following notation:
  • x: type of KPI (cost, renewables or power criterion, or combination)
  • R R x , I o p t : reduction rate of K P I x within optimization interval I o p t
  • d ^ : vector of forecast aggregate demand at all time points of I o p t in ascending order of time
  • d ^ o p t : vector of forecast optimal aggregate demand at all time points of I o p t in ascending order of time

5.4. Implementation Examples of the Optimization Algorithm and Discussion

In Figure 10, Figure 11 and Figure 12, examples from the implementation of the optimization approach in the three demonstrators are shown. In each case, the algorithm has been executed for a particular 24-h time interval, with various considerations about the weights of the KPIs. Obviously, when considering multiple KPIs, the optimized value of each individual KPI is reduced no more than in case that optimization takes place based exclusively on that KPI. In the Orkney case, the cost KPI was never considered, because cost optimization is not a priority in this demonstrator, so real-time price forecasts are not available. It also does not make sense to consider the cost KPI for the Samsø demonstrator, because price is not predictable (based on our trials) and cannot be requested automatically in real time from Nord Pool due to policy constraint. Day-ahead price data are available from Nord Pool only manually through its website, so it would only make sense to consider the cost criterion if the end user provided manually the prices for every time point of the optimization interval. Furthermore, it is worth mentioning that, in the example for Samsø, the demand forecasts have relatively high uncertainty for the largest forecasting horizons, so it is assumed that there is greater margin for demand shifting, and thus the optimal global KPI is more reduced. An other factor that prevents especially the cost and renewables KPIs from being reduced in the Madeira case is the high distance between total renewable generation and demand.
Figure 10. Examples of the application of the optimization approach to Orkney. In the titles, the weights for cost, renewables and power KPIs respectively are shown. In the vertical axis, the measurement unit is MW.
Figure 11. Examples of the application of the optimization approach to Samsø. In the titles, the weights for cost, renewables and power KPIs respectively are shown. In the vertical axis, the measurement unit is KW.
Figure 12. Examples of the application of the optimization approach to Madeira. In the titles, the weights for cost, renewables and power KPIs respectively are shown. In the vertical axis, the measurement unit is MW.
In Table 4, the unstandardized values of the KPIs in each pilot are shown, in cases where the standardized KPIs (i.e., those defined above) have the neutral value 1. Although in the standardized KPIs the measurement units are eliminated thanks to the denominators, this does not hold for the unstandardized ones, which translate the former in the usual measurement units. As anticipated, since the studied energy in the case of Samsø corresponds only to a harbour area instead of an entire island, the unstandardized values of the renewables and power instability KPIs are much lower than in the other two demonstrators. This explains the higher flexibility of demand in the Samsø case, which was observed above. The unstandardized Madeira cost has been computed with the assumption that all customers follow the tri-hour tariff policy with the prices shown previously. In fact, most customers still use the simple tariff, but the idea is to gradually persuade them to resort to the tri-hour tariff and follow a more appropriate consumption pattern as regards the environmental and power stability criteria.
Table 4. Unstandardized values of the optimization KPIs for standardized values equal to 1. Regarding Madeira cost, the unstandardized KPI is proportional to the standardized one. The unstandardized renewables and power stability KPIs are proportional to the square of the respective standardized ones.

6. Conclusions, Limitations and Future Work

This study demonstrated how energy consumption can be managed via load shifting recommendations in large areas, where the consideration of all specifications of the involved consumers is intractable. Instead, our generic methodology relied on the idea that the uncertainty in demand forecasts reflects the flexibility of the consumers’ consumption profiles. This uncertainty was evaluated thanks to confidence intervals for demand, which were produced by training demand forecasting models, considering the effect of forecasting horizon, time of the day, month and day of week on the forecasting error distribution. Unlike most works found in the literature, the current optimization algorithm took into account simultaneously multiple criteria (among cost, renewable resources penetration and demand stability) after appropriate scaling of the respective Key Performance Indicators so that they are comparable. To consider the renewable resources criterion, forecasting models for the generation of various forms were also trained. The grouping in pairs of months and days of week was based on automatically selected clustering algorithms, which took into account the behavior of the variable to be forecast (energy demand or generation). Since the best model was selected separately for each cluster and for each forecasting horizon, and secondly because several models, many of which had similar performance, were compared, it was not considered as necessary to select and fuse multiple (instead of one) models for a particular combination of cluster and horizon, which would cause unnecessary storage of too many selected models. Although there are similarities in the models forecasting similar variables in different islands (e.g., effect of sun and humidity on solar generation of Samsø and Madeira), there are also some differences without obvious reason (e.g., difference in performance between linear and non-linear regressors and effect of clustering on performance of regressors for wind generation in Orkney and Madeira), which demonstrates the need for performance comparison among candidate clustering and regression architectures. This conclusion conforms with the findings of our literature review. Despite the demonstrated positive effect of using multiple regressors for the different clusters and forecasting horizons, the input variables to the forecasting models (mainly the average time profile) were defined in a way that they have near-linear relation with the variable to be forecast (output), thus rendering the linear regression models satisfactory approximations considering their little training time. These linear approximations were also useful for preliminary training in order to select the most appropriate input variables and clustering architecture. Another benefit of the linear regression models is that they do not overfit the data, due to their low capacity. The forecasting models can be retrained manually or automatically (periodically), provided that the algorithm has access to more recent data. Retraining would be particularly useful in order to take into account previously unknown situations, for example, demand drop due to the coronavirus disease 2019, which was observed for example, within spring of 2020 in Madeira.
The limitations of the forecasting algorithm regard mainly the regression models, especially their training. Training with 3-fold cross validation took hours in case of the analyzed datasets, due to the comparison of numerous architectures, some of which have to learn numerous parameters with quadratic or cubic time complexity w.r.t. the number of observations. However, the training of the aforementioned linear approximations requires less than a minute for all groups and forecasting horizons together. Among all regressor kinds, only Gaussian Process Regressor has a memory limitation, since it is efficient for up to 10,000 training observations approximately. The storage of the high number of models shown in the pie charts required a few GB of space in our experiment. However, it appeared that for only few regressor kinds the size of the model file was tens or thousands of MB. The model file sizes of the most lightweight architectures (e.g., linear regression) was even below 10 KB.
The optimization methodology presented in this paper can easily be adapted to different KPIs and constraints. For example, an extension of the optimization algorithm could consider also Battery Energy Storage Systems (BESSs), which have been installed at Samsø and Madeira. With a BESS, different policies are often appropriate, for example, increasing demand when generation is currently low, but is going to increase in the near future, so that unexploited renewable energy because the battery gets full is avoided.
The forecasting and the optimization algorithms have been deployed for Madeira and are running in real time, using dashboards like the ones shown above. In the near future, the Distribution System Operator of Madeira will start to utilize them in order to make appropriate recommendations to its customers, so the impact of the algorithms will be verified.

Author Contributions

Conceptualization and project administration, D.I. and D.T.; methodology, software, validation, formal analysis, investigation, data curation, writing–original draft preparation, writing–review and editing, visualization, supervision and funding acquisition, N.K.; resources, non-applicable. All authors have read and agreed to the published version of the manuscript.

Funding

This work has been partially supported by the European Commission through the project HORIZON 2020—INNOVATION ACTIONS (IA)—731249—SMILE. The opinions expressed in this paper are those of the authors and do not necessarily reflect the views of the European Commission.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The data from the Samsø demonstrator presented in this study are openly available in nikolokas/paper-power-forecasting-optimization at 10.5281/zenodo.4815245, reference number [60]. Restrictions apply to the availability of power data from the Orkney and Madeira demonstrators; data were obtained from their pilot partners and are available from the authors with the permission of these partners.

Acknowledgments

The authors would like to thank the SMILE pilot partners for sharing data and communicating specifications.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
ACAgglomerative Clustering
AHPanalytical hierarchy process
ANMActive Network Management
ANNArtificial Neural Network
APAffinity Propagation
APIApplication Programming Interface
ARFIMAAutoregressive Fractionally Integrated Moving Average
ARIMAAutoregressive Integrated Moving Average
ARMAAutoregressive Moving Average
BATSBox–Cox transformation, ARMA errors, Trend and Seasonal components
BESSBattery Energy Storage System
CPPCritical Peak Pricing
DRDemand Response
ELMExtreme Learning Machine
EPSOEvolutionary Particle Swarm Optimization
EVelectric vehicle
GPRGaussian Process Regressor 
GRBFNGeneralized Radial Basis Function Network
KMK-Means
KPIKey Performance Indicator 
KRKernel Regression
MAUTmulti-attribute utility theory
MAVTmulti-attribute value theory
MCDAmulti-criteria decision analysis 
MLPMulti-Layer Perceptron
MSMean Shift
NNNearest Neighbour Regressor 
NRMSENormalized Root Mean Square Error 
PSOParticle Swarm Optimization
PVphotovoltaic
QPSOQuantum PSO
RBFRadial Basis Function
RFRandom Forest Regressor 
RTPReal-Time Pricing
SARIMASeasonal Autoregressive Integrated Moving Average
SPEAstrength Pareto evolutionary algorithm
SVRSupport Vector Regressor 
TOUTime-of-Use
TSTabu search

Appendix A. Access to Raw Data and Statistical Analysis

This appendix begins with a statistical summary of the power variables to be forecast. Particularly, Table A1 shows the summary statistics of these variables within the entire time ranges of analysis. Figure A1, Figure A2 and Figure A3 present the average time profiles of the same variables as a function of the clustering group and time of the day, thus justifying the automatic selections of these clusters, which were shown also in Table 2.
Table A1. Summary statistics of power data. Count is the number of timestamps when data exist, after resampling.
Figure A1. Average time profiles of power data from Orkney. The horizontal axes represent time of the day (h), and the vertical ones power (MW). The legends explain the clustering groups in the form (months, days of week), where days are numbered from 0 (Monday) to 6 (Sunday).
Figure A2. Average time profiles of power data from Samsø. The horizontal axes represent time of the day (h), and the vertical ones power (KW). The legends explain the clustering groups in the form (months, days of week), where days are numbered from 0 (Monday) to 6 (Sunday).
Figure A3. Average time profiles of power data from Madeira. The horizontal axes represent time of the day (h), and the vertical ones power (MW). The legends explain the clustering groups in the form (months, days of week), where days are numbered from 0 (Monday) to 6 (Sunday).
The raw data used from Samsø, obtained after the preliminary calibrations which were discussed in Section 4.2, may be found in [60] for reproducibility purposes and further analysis.
Other open energy data on which the algorithms of this paper can be applied are found in [61]; these have been used in [62]. There are also other relevant works [63,64].

References

  1. Tealab, A. Time series forecasting using artificial neural networks methodologies: A systematic review. Future Comput. Inform. J. 2018, 3, 334–340. [Google Scholar] [CrossRef] [Scilit]
  2. Sagheer, A.; Kotb, M. Time series forecasting of petroleum production using deep LSTM recurrent networks. Neurocomputing 2019, 323, 203–213. [Google Scholar] [CrossRef] [Scilit]
  3. Weigend, A.S.; Gershenfeld, N.A. Time Series Prediction: Forecasting the Future and Understanding The Past; Routledge: New York, NY, USA, 2018. [Google Scholar]
  4. Papacharalampous, G.; Tyralis, H.; Koutsoyiannis, D. Predictability of monthly temperature and precipitation using automatic time series forecasting methods. Acta Geophys. 2018, 66, 807–831. [Google Scholar] [CrossRef] [Scilit]
  5. Wang, L.; Wang, Z.; Qu, H.; Liu, S. Optimal Forecast Combination Based on Neural Networks for Time Series Forecasting. Appl. Soft Comput. 2018, 66, 1–17. [Google Scholar] [CrossRef] [Scilit]
  6. McAlinn, K.; West, M. Dynamic Bayesian predictive synthesis in time series forecasting. J. Econ. 2019, 210, 155–169. [Google Scholar] [CrossRef] [Scilit]
  7. Singh, P.; Dhiman, G. A hybrid fuzzy time series forecasting model based on granular computing and bio-inspired optimization approaches. J. Comput. Sci. 2018, 27, 370–385. [Google Scholar] [CrossRef] [Scilit]
  8. Notton, G.; Nivet, M.-L.; Voyant, C.; Paoli, C.; Darras, C.; Motte, F.; Fouilloy, A. Intermittent and stochastic character of renewable energy sources: Consequences, cost of intermittence and benefit of forecasting. Renew. Sustain. Energy Rev. 2018, 87, 96–105. [Google Scholar] [CrossRef] [Scilit]
  9. Petrollese, M.; Cau, G.; Cocco, D. Use of weather forecast for increasing the self-consumption rate of home solar systems: An Italian case study. Appl. Energy 2018, 212, 746–758. [Google Scholar] [CrossRef] [Scilit]
  10. Veras, J.M.; Silva, I.R.S.; Pinheiro, P.R.; Rabêlo, R.A.L.; Veloso, A.F.S.; Borges, F.A.S.; Rodrigues, J.J.P.C. A Multi-Objective Demand Response Optimization Model for Scheduling Loads in a Home Energy Management System. Sensors 2018, 18, 3207. [Google Scholar] [CrossRef] [Scilit]
  11. Hu, M.; Xiao, J.-W.; Cui, S.-C.; Wang, Y.-W. Distributed real-time demand response for energy management scheduling in smart grid. Int. J. Electr. Power Energy Syst. 2018, 99, 233–245. [Google Scholar] [CrossRef] [Scilit]
  12. Available online: https://darksky.net/dev/docs (accessed on 19 May 2021).
  13. Yaseen, Z.M.; Allawi, M.F.; Yousif, A.A.; Jaafar, O.; Hamzah, F.M.; El-Shafie, A. Non-tuned machine learning approach for hydrological time series forecasting. Neural Comput. Appl. 2018, 30, 1479–1491. [Google Scholar] [CrossRef] [Scilit]
  14. Available online: https://www.next-kraftwerke.be/en/knowledge-hub/the-increasing-importance-of-flexibility/ (accessed on 19 May 2021).
  15. Xue, P.; Jiang, Y.; Zhou, Z.; Chen, X.; Fang, X.; Liu, J. Multi-step ahead forecasting of heat load in district heating systems using machine learning algorithms. Energy 2019, 188, 116085. [Google Scholar] [CrossRef] [Scilit]
  16. Van der Meer, D.W.; Widén, J.; Munkhammar, J. Review on probabilistic forecasting of photovoltaic power production and electricity consumption. Renew. Sustain. Energy Rev. 2018, 81, 1484–1512. [Google Scholar] [CrossRef] [Scilit]
  17. Hong, T.; Fan, S. Probabilistic electric load forecasting: A tutorial review. Int. J. Forecast. 2016, 32, 914–938. [Google Scholar] [CrossRef] [Scilit]
  18. Hong, T.; Pinson, P.; Fan, S.; Zareipour, H.; Troccoli, A.; Hyndman, R.J. Probabilistic energy forecasting: Global energy forecasting competition 2014 and beyond. Int. J. Forecast. 2016, 32, 896–913. [Google Scholar] [CrossRef] [Scilit]
  19. Gaillard, P.; Goude, Y.; Nedellec, R. Additive models and robust aggregation for GEFCom2014 probabilistic electric load and electricity price forecasting. Int. J. Forecast. 2016, 32, 1038–1050. [Google Scholar] [CrossRef] [Scilit]
  20. Van der Meer, D.W.; Shepero, M.; Svensson, A.; Widén, J.; Munkhammar, J. Probabilistic forecasting of electricity consumption, photovoltaic power generation and net demand of an individual building using Gaussian Processes. Appl. Energy 2018, 213, 195–207. [Google Scholar] [CrossRef] [Scilit]
  21. Hong, T.; Pinson, P.; Wang, Y.; Weron, R.; Yang, D.; Zareipour, H. Energy forecasting: A review and outlook. IEEE Open Access J. Power Energy 2020, 7, 376–388. [Google Scholar] [CrossRef] [Scilit]
  22. Ding, S.; Hipel, K.W.; Dang, Y. Forecasting China’s electricity consumption using a new grey prediction model. Energy 2018, 149, 314–328. [Google Scholar] [CrossRef] [Scilit]
  23. Ding, S. A novel self-adapting intelligent grey model for forecasting China’s natural-gas demand. Energy 2018, 162, 393–407. [Google Scholar] [CrossRef] [Scilit]
  24. De Oliveira, E.M.; Oliveira, F.L.C. Forecasting mid-long term electric energy consumption through bagging ARIMA and exponential smoothing methods. Energy 2018, 144, 776–788. [Google Scholar] [CrossRef] [Scilit]
  25. Gellert, A.; Florea, A.; Fiore, U.; Palmieri, F.; Zanetti, P. A study on forecasting electricity production and consumption in smart cities and factories. Int. J. Inf. Manag. 2019, 49, 546–556. [Google Scholar] [CrossRef] [Scilit]
  26. Rehman, A.; Deyuan, Z. Pakistan’s energy scenario: A forecast of commercial energy consumption and supply from different sources through 2030. Energy Sustain. Soc. 2018, 8, 26. [Google Scholar] [CrossRef]
  27. Mele, E.; Elias, C.; Ktena, A. Electricity use profiling and forecasting at microgrid level. In Proceedings of the IEEE 59th International Scientific Conference on Power and Electrical Engineering of Riga Technical University (RTUCON), Riga, Latvia, 12–13 November 2018; pp. 1–6. [Google Scholar]
  28. Elmouatamid, A.; Ouladsine, A.; Bakhouya, M.; El kamoun, N.; Zine-Dine, K.; Khaidar, M. A Control Strategy Based on Power Forecasting for Micro-Grid Systems. In Proceedings of the IEEE International Smart Cities Conference (ISC2), Casablanca, Morocco, 14–17 October 2019; pp. 735–740. [Google Scholar]
  29. Györi, A.; Niederau, M.; Zeller, V.; Stich, V. Evaluation of Deep Learning-based prediction models in Microgrids. In Proceedings of the IEEE Conference on Energy Conversion (CENCON), Yogyakarta, Indonesia, 16–17 October 2019; pp. 95–99. [Google Scholar]
  30. Akarslan, E.; Hocaoglu, F.O. Electricity demand forecasting of a micro grid using ANN. In Proceedings of the 9th International Renewable Energy Congress (IREC), Hammamet, Tunisia, 20–22 March 2018; pp. 1–5. [Google Scholar]
  31. Morais, H.; Vale, Z.A.; Soares, J.; Sousa, T.; Nara, K.; Theologi, A.M.; Rueda, J.; Ndreko, M.; Erlich, I.; Mishra, S.; et al. Integration of renewable energy in smart grid. In Applications of Modern Heuristic Optimization Methods in Power and Energy Systems; Lee, K.Y., Vale, Z.A., Eds.; Wiley-IEEE Press: Hoboken, NJ, USA, 2020; pp. 613–773. [Google Scholar]
  32. Rodríguez, F.; Fleetwood, A.; Galarza, A.; Fontán, L. Predicting solar energy generation through artificial neural networks using weather forecasts for microgrid control. Renew. Energy 2018, 126, 855–864. [Google Scholar] [CrossRef] [Scilit]
  33. Linkov, I.; Satterstrom, F.K.; Kiker, G.; Seager, T.P.; Bridges, T.; Gardner, K.H.; Rogers, S.H.; Belluck, D.A.; Meyer, A. Multicriteria Decision Analysis: A Comprehensive Decision Approach for Management of Contaminated Sediments. Risk Anal. 2006, 26, 61–78. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  34. Stoycheva, S.; Marchese, D.; Paul, C.; Padoan, S.; Juhmani, A.; Linkov, I. Multi-criteria decision analysis framework for sustainable manufacturing in automotive industry. J. Clean. Prod. 2018, 187, 257–272. [Google Scholar] [CrossRef] [Scilit]
  35. Godina, R.; Rodrigues, E.M.G.; Pouresmaeil, E.; Matias, J.C.O.; Catalão, J.P.S. Model Predictive Control Home Energy Management and Optimization Strategy with Demand Response. Appl. Sci. 2018, 8, 408. [Google Scholar] [CrossRef] [Scilit]
  36. Gazijahani, F.S.; Salehi, J. Reliability constrained two-stage optimization of multiple renewable-based microgrids incorporating critical energy peak pricing demand response program using robust optimization approach. Energy 2018, 161, 999–1015. [Google Scholar] [CrossRef] [Scilit]
  37. Appino, R.R.; Ordiano, J.; Ordiano, J.Á.G.; Mikut, R.; Faulwasser, T.; Hagenmeyer, V. On the use of probabilistic forecasts in scheduling of renewable energy sources coupled to storages. Appl. Energy 2018, 210, 1207–1218. [Google Scholar] [CrossRef] [Scilit]
  38. Wang, Y.; Huang, Y.; Wang, Y.; Zeng, M.; Li, F.; Wang, Y.; Zhang, Y. Energy management of smart micro-grid with response loads and distributed generation considering demand response. J. Clean. Prod. 2018, 197, 1069–1083. [Google Scholar] [CrossRef] [Scilit]
  39. Wang, Y.; Huang, Y.; Wang, Y.; Li, F.; Zhang, Y.; Tian, C. Operation Optimization in a Smart Micro-Grid in the Presence of Distributed Generation and Demand Response. Sustainability 2018, 10, 847. [Google Scholar] [CrossRef] [Scilit]
  40. Liu, T.; Zhang, D.; Wang, S.; Wu, T. Standardized modelling and economic optimization of multi-carrier energy systems considering energy storage and demand response. Energy Convers. Manag. 2019, 182, 126–142. [Google Scholar] [CrossRef] [Scilit]
  41. Nojavan, S.; Nourollahi, R.; Pashaei-Didani, H.; Zare, K. Uncertainty-based electricity procurement by retailer using robust optimization approach in the presence of demand response exchange. Int. J. Electr. Power Energy Syst. 2019, 105, 237–248. [Google Scholar] [CrossRef] [Scilit]
  42. Xiong, Y.; Wang, B.; Chu, C.; Gadh, R. Vehicle grid integration for demand response with mixture user model and decentralized optimization. Appl. Energy 2018, 231, 481–493. [Google Scholar] [CrossRef] [Scilit]
  43. Neves, D.; Pina, A.; Silva, C.A. Comparison of different demand response optimization goals on an isolated microgrid. Sustain. Energy Technol. Assess. 2018, 30, 209–215. [Google Scholar] [CrossRef] [Scilit]
  44. Veras, J.M.; Silva, I.R.S.; Pinheiro, P.R.; Rabêlo, R.A.L. Towards the Handling Demand Response Optimization Model for Home Appliances. Sustainability 2018, 10, 616. [Google Scholar] [CrossRef] [Scilit]
  45. Carli, R.; Dotoli, M.; Jantzen, J.; Kristensen, M.; Othman, S.B. Energy scheduling of a smart microgrid with shared photovoltaic panels and storage: The case of the Ballen marina in Samsø. Energy 2020, 198, 117188. [Google Scholar] [CrossRef] [Scilit]
  46. Hashmi, M.U.; Pereira, L.; Bušić, A. Energy storage in Madeira, Portugal: Co-optimizing for arbitrage, self-sufficiency, peak shaving and energy backup. In Proceedings of the 2019 IEEE Milan PowerTech, Milan, Italy, 23–27 June 2019; pp. 1–6. [Google Scholar]
  47. Murphy, M.D.; O’Mahony, M.J.; Upton, J. Comparison of control systems for the optimisation of ice storage in a dynamic real time electricity pricing environment. Appl. Energy 2015, 149, 392–403. [Google Scholar] [CrossRef] [Scilit]
  48. Craparo, E.; Karatas, M.; Singham, D.I. A robust optimization approach to hybrid microgrid operation using ensemble weather forecasts. Appl. Energy 2017, 201, 135–147. [Google Scholar] [CrossRef] [Scilit]
  49. Mkireb, C.; Dembélxex, A.; Jouglet, A.; Denoeux, T. Robust Optimization of Demand Response Power Bids for Drinking Water Systems. Appl. Energy 2019, 238, 1036–1047. [Google Scholar] [CrossRef] [Scilit]
  50. Huang, W.; Zhang, N.; Kang, C.; Li, M.; Huo, M. From demand response to integrated demand response: Review and prospect of research and application. Prot. Control Modern Power Syst. 2019, 4, 12. [Google Scholar] [CrossRef] [Scilit]
  51. Rakipour, D.; Barati, H. Probabilistic optimization in operation of energy hub with participation of renewable energy resources and demand response. Energy 2019, 173, 384–399. [Google Scholar] [CrossRef] [Scilit]
  52. Golmohamadi, H.; Keypour, R.; Bak-Jensen, B.; Pillai, J.R. A multi-agent based optimization of residential and industrial demand response aggregators. Int. J. Electr. Power Energy Syst. 2019, 107, 472–485. [Google Scholar] [CrossRef] [Scilit]
  53. Otashu, J.I.; Baldea, M. Demand response-oriented dynamic modeling and operational optimization of membrane-based chlor-alkali plants. Comput. Chem. Eng. 2019, 121, 396–408. [Google Scholar] [CrossRef] [Scilit]
  54. Jahani, M.A.T.G.; Nazarian, P.; Safari, A.; Haghifam, M.R. Multi-objective optimization model for optimal reconfiguration of distribution networks with demand response services. Sustain. Cities Soc. 2019, 47, 101514. [Google Scholar] [CrossRef] [Scilit]
  55. Hassan, M.A.S.; Chen, M.; Lin, H.; Ahmed, M.H.; Khan, M.Z.; Chughtai, G.R. Optimization modeling for dynamic price based demand response in microgrids. J. Clean. Prod. 2019, 222, 231–241. [Google Scholar] [CrossRef] [Scilit]
  56. Available online: https://scikit-learn.org/stable/ (accessed on 19 May 2021).
  57. Available online: https://pypi.org/project/sklearn-extensions/ (accessed on 19 May 2021).
  58. Available online: https://www.scribd.com/document/451430756/Attachment-0 (accessed on 19 May 2021).
  59. Available online: https://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.basinhopping.html (accessed on 19 May 2021).
  60. Available online: https://github.com/nikolokas/paper-power-forecasting-optimization (accessed on 19 May 2021).
  61. Zyglakis, L.; Zikos, S.; Kitsikoudis, K.; Bintoudi, A.D.; Tsolakis, A.C.; Ioannidis, D.; Tzovaras, D. Greek Smart House Nanogrid Dataset. Available online: https://zenodo.org/record/4246525#.X8oazBaxU1k (accessed on 19 May 2021).
  62. Tsolakis, A.C.; Bintoudi, A.D.; Zyglakis, L.; Zikos, S.; Timplalexis, C.; Bezas, N.; Kitsikoudis, K.; Ioannidis, D.; Tzovaras, D. Design and Real-Life Deployment of a Smart Nanogrid: A Greek Case Study. In Proceedings of the IEEE International Conference on Power and Energy (PECon), Penang, Malaysia, 7–8 December 2020. [Google Scholar]
  63. Salamanis, A.I.; Xanthopoulou, G.; Bezas, N.; Timplalexis, C.; Bintoudi, A.D.; Zyglakis, L.; Tsolakis, A.C.; Ioannidis, D.; Kehagias, D.; Tzovaras, D. Benchmark Comparison of Analytical, Data-Based and Hybrid Models for Multi-Step Short-Term Photovoltaic Power Generation Forecasting. Energies 2020, 13, 5978. [Google Scholar] [CrossRef] [Scilit]
  64. Tsolakis, A.C.; Kalamaras, I.; Vafeiadis, T.; Zyglakis, L.; Bintoudi, A.D.; Chouliara, A.; Ioannidis, D.; Tzovaras, D. Towards a Holistic Microgrid Performance Framework and a Data-Driven Assessment Analysis. Energies 2020, 13, 5780. [Google Scholar] [CrossRef] [Scilit]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.