Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/362018893

Forecasting of Energy Consumption : Artificial Intelligence Methods

Conference Paper · June 2022


DOI: 10.23919/CISTI54924.2022.9820078

CITATIONS READS

0 211

2 authors, including:

Miguel A. Brito
University of Minho
19 PUBLICATIONS 71 CITATIONS

SEE PROFILE

All content following this page was uploaded by Miguel A. Brito on 03 October 2022.

The user has requested enhancement of the downloaded file.


Forecasting of Energy Consumption
Artificial Intelligence Methods
Tiago C. Brito Miguel A. Brito
Information Systems Department Centro Algoritmi
School of Engineering School of Engineering
University of Minho University of Minho
Guimarães, Portugal Guimarães, Portugal
tiagobrito09@gmail.com mab@dsi.uminho.pt

Abstract — Currently, energy consumption is one of the most intelligent) and their characteristics. Section III presents several
important research areas in the world. The growing need to Machine Learning approaches and some studies that used these
increase energy efficiency and improve the use of energy sources models. Section IV presents the conclusions of this paper.
brings the need for better energy management and forecasting
models. Therefore, forecasting energy consumption has become II. FORECASTING ENERGY CONSUMPTION
crucial for estimating energy consumption, as it provides both
environmental and especially economic benefits. Forecasting is an
Energy consumption is one of the most substantial
integral part of business decision-making processes. The growing research areas in today’s world. The ever-increasing human
needs for greater energy efficiency and better use of energy population, building constructions, and technology usage are
sources bring out the need for better energy management and the most important factors that currently lead to increased
forecasting models. This article seeks to find the most suitable electric energy consumption. Therefore, it´s very important to
energy consumption prediction model through a review of studies forecast energy consumption to manage energy more efficiently
that have developed data-based building energy consumption and improve energy consumption performance, which brings
prediction models, with a particular focus on the machine learning benefits to buildings and the consumers [3].
algorithms used for prediction and some performance measures Forecasting energy consumption has become crucial
used for evaluation.
for estimating energy usage. As well as providing
Keywords – energy consumption; energy forecasting; Artificial environmental benefits, building energy efficiency can provide
Intelligence; Machine Learning. great economic benefits [4]. Forecasting is an integral part of
business decision processes. The energy industry relies on
I. INTRODUCTION forecasters to forecast load, generation, prices, etc. These
Industry, transport, and buildings are the three main sectors forecasts are being used by all segments of the energy industry,
of the economy with the highest energy consumption, where for planning and operations of both power systems and business
buildings represent the most significant percentage [1]. Due to entities [5].
the increasing energy consumption in buildings, the Currently, there are several models for predicting
management and control of this energy consumption take on a energy consumption. Prediction and classification of energy
vital role to allow for flexibility and thus reduce unnecessary consumption in buildings, as the essential approaches
consumption and energy bill expenses [2]. transmitting to energy efficiency, are significantly necessary
The purchase and sale of energy are one of the fundamental with the aim to improve building performance, reduce
aspects of the good performance of any electricity supplier, and environmental impact, and estimate the economical potential
the forecasting of the energy needs of its set of customers is for further energy conservation and renewable energy scheme
necessary for this purchase to be carried out. The use of [6]. These models can be generally categorized into
predictive models to forecast electricity consumption at a certain conventional models and artificial intelligence (AI) based
time in the future will be a differentiating factor because it will models. Each method has its own advantages and disadvantages
anticipate unexpected events and also help eliminate possible for different types of applications. Among these methods, AI
penalties that suppliers suffer due to the purchase of too much or has gained the most attention of numerous researchers, due to
too little energy, which often leads to the payment of fines. its forecasting performance accuracy [7].
Therefore, by forecasting energy consumption, any electricity The conventional models such as the regression-based
supplier will make substantial gains in the purchase and sale of approach and stochastic time series had been typically applied
energy. before the rise of AI methods. Although these methods are easy
The main objective of this paper is to conduct a literature to develop and use, they can´t deal with the nonlinear pattern
review of intelligent approaches used to predict energy and they lack flexibility [7]. The large error variation of
consumption to find the best method to predict this type of classical models can significantly affect the planning and
consumption. This paper is organized as follows: Section II operation of the energy system. It can be the reason for a large
describes the importance of energy consumption forecasting and amount of financial loss to the utility and the consumer [8].
presents the two main types of models (conventional and
Nowadays, most researchers prefer to use AI methods These AI/ML models can be classified into three
in the forecasting field, especially in electrical energy important categories, which are single model, ensemble model,
consumption forecasting. Artificial Intelligence has shown its and hybrid model. The single models use only one learning
capabilities and it has been proven that this method is better algorithm and are the best choice for users who would like to
than the conventional methods in the forecasting field. promptly estimate the energy consumption of buildings; the
One of the strengths of these methods based on ensemble models include multiple prediction models and are
Artificial Intelligence is that they can deal with nonlinear the best for users who know the machine learning techniques
patterns [7]. These types of methods are more robust and full- [4]. The ensemble model has a very effective prediction result
scale in all applied areas and forecasting horizons than which indicates that this model is effective for addressing the
conventional models [9]. problem of day-ahead industrial demand forecasting [11]; the
hybrid models combine two or more machine learning
III. MACHINE LEARNING APPROACHES techniques, and they are the best for users who have a deep
When we discuss AI models it is also crucial to talk knowledge of AI techniques and highly need accuracy [4].
about Machine Learning (ML). ML is a sub-field of AI and A very important method, Artificial Neural Networks
computer sciences that has evolved from pattern recognition to (ANNs) is the most broadly applied artificial intelligence
analyse the data structure and fit it into models that users can method in the buildings ‘performance field due to its
understand and replicate. Figure 1 explains all the ML competence to handle nonlinear variables’ relationships
categories, methods, and models applicable to energy-related accurately and promptly. These types of models have an
projects, considering the standard approaches and definitions of average error percentage lower than the general average [12].
different authors. ANN has more efficiency over other techniques due to its
ML is classified into four categories: Supervised ability to adapt and learn nonlinear associations between
Learning (SL), Unsupervised Learning (UL), Reinforcement different factors. ANN is proven to give forecast results with
Learning (RL), and Deep Learning (DL). SL and UL categories the least error, this could significantly enhance the economic
aim to predict or describe the existing relationships within the use of energy [8]. In their study, N. Truong [13] purpose an
data set and being called supervised when the dependent additive artificial neural network (AANNs) for predicting
variable is available and unsupervised when it is not. The UL energy use in residential buildings. They concluded that the
methods are mainly responsible for customer segmentation, AANNs model was the most effective forecasting model among
buildings efficiency clustering, and consumption profile the investigated models, Support Vector Regression (SVR) and
grouping for non-technical losses detection. RL is a ANN in predicting energy consumption, which provides
computational approach that learns from the interaction with building managers with a useful tool to improve energy
the environment, which means defining how system agents can efficiency in buildings. The AANNs model was recommended
take actions in their environment to maximize the cumulative as an effective AI-based model for predicting net energy
reward. DL belongs to the Artificial Neural Networks (ANN) consumption in residential buildings with a solar photovoltaic
field, and they are an extensive family of techniques in multiple system.
domains, which can be applied to both Supervised and A study proposed by K.P. Amber [14], compared the
Unsupervised Learning. DL algorithms have gained importance prediction capabilities of five different intelligent system
in recent years for time series prediction tasks and outperform techniques by forecasting the electricity consumption of an
the most benchmark and statistical algorithms [10]. administration building located in London. These five
techniques were: Multiple Regression (MR), Genetic
Programming (GP), Artificial Neural Network (ANN), Deep
Neural Network (DNN), and Support Vector Machine (SVM).
The prediction models were developed based on five years of
observed data of five different parameters such as solar
radiation, temperature, wind speed, humidity, and weekday
index (this parameter differentiates between working and non-
working days). Results demonstrate that ANN performs better
than all other four techniques with a low MAPE of 6%. The
results of ANN and GP for median, second and third quartile
were very close to the actual values and these two methods
seem to perform better than others in overall prediction.
Another type of forecasting approach is using Load
Profiles (LP) which is performed using three levels (annual,
weekly, and daily). Short-term and mid-term load forecasting
models were developed using multiple Artificial Intelligence
techniques such as Convolutional Neural Network (CNN). The
Figure 1. Data-driven techniques classification and Machine Learning main contribution of this approach is the historical load data to
categories for energy systems analysis and prediction [10].
create LP, which helped to understand consumer behaviours results showed when this model was applied to buildings with
and variations according to different time granularities [15]. large monthly variations in daily electricity consumption the
An interesting ML model, Random Forest (RF) can proposed strategy can increase the prediction accuracy.
make predictions at a very high level of resolution without However, when it was applied to the buildings with
losing quality in the results and very similar errors. With this insignificant monthly variations in the daily electricity
approach, it is possible to detect variations in the energy consumption, the prediction accuracy did not show an obvious
demands resulting from variables not covered by improvement when compared with the use of the LSTM models
meteorological or socio-economic data. However, the error alone. Another interesting approach to the LSTM model was
increases with higher differences in time between the prediction proposed [21]. In this study, was adopted the LSTM neural
and the last observation, which shows a time limit in the network to capture the interrelationship between energy
application of this kind of algorithm [16]. A new hybrid model consumption data and time, and a genetic algorithm (GA) was
using SVR and RF presented by C. F. Fan [17] exploits the adopted to select the optimal architecture for LSTM neural
insensitivity of the RF model to variables, greatly reducing the networks to improve its forecasting accuracy and robustness.
forecasting error of the proposed model due to unstable noise in The principal result obtained was that the GA algorithm is
the data and improving the generalizability of the proposed effective and robust in searching for the optimal LSTM neural
model. network architecture.
M. Gomez-Omella [18] presented an article about the
development of the forecasting models that are the main base IV. CONCLUSIONS
of the Energy Demand Forecasting service is addressed. And This paper reviewed previous research work on the use
subsequently, the degradation of the models during the COVID- of various types of ML models to predict energy consumption.
19 pandemic in Spain was analysed and an approach to mitigate Between AI/ML and conventional methods, we concluded that
this situation was proposed. Were analysed 2 methods: K- intelligent methods have more and better advantages and
Nearest Features for Time Series (KNFTS) and a method based therefore they are the most widely used methods today.
on the recognition of similar patterns in the time series, K- However, in general, it is challenging to conclude
Nearest Patterns in Time Series (KNPTS). The results have which ML model is the best, as from literature it can be induced
shown that the predictions are more accurate using the KNPTS that all models provide reasonable accuracy by supplying large
model. The EDR (Edit Distance for Real Sequence) value has samples and optimising the hyper-parameters. So, it is
been the most effective measure to assess the accuracy and gets imperative to thoroughly analyse the nature of available or
lower values for all the cases. The COVID-19 pandemic collectable data and the application, to choose the most suitable
changed users’ electricity consumption habits, which led to the model. In fact, a selection of the appropriate features for each
degradation of the performance of forecast models. The results model requires extensive research for each application, as it is
have shown that the retraining of the models using only data the preliminary requirement for the implementation of any ML
from the lockdown period, provides an average improvement of model [22]. Different models serve different purposes, have
6.67% in terms of EDR. different scopes, were trained on different datasets, and use
P.H. Kuo [19] presented a new load forecasting model different features for prediction.
based on a deep learning network algorithm. The forecasting All the models have their own strengths and
accuracy of the proposed model was within the requested range, weaknesses and perform differently under different
and the model has the advantages of simplicity and high circumstances [23]. Thus, the best way to predict energy
forecasting performance. According to the results, the Deep consumption will require us to implement several models and
Energy (deep learning network algorithm) precisely predict compare them through performance measures, to be able to
energy load in the next three days. In addition, the proposed conclude which one will be the most suitable for our specific
algorithm was compared with five AI algorithms: SVM, RF, case.
DT (Decision Tree), MLP (ANN type), and LSTM which were
commonly used in load forecasting. The comparison showed ACKNOWLEDGEMENT
that the performance of Deep Energy was the best among all This work has been supported by FCT – Fundação
tested algorithms and had the lowest values of both Mean para a Ciência e Tecnologia within the R&D Units Project
Absolute Percentage Error (MAPE) and Cumulative Variation Scope: UIDB/00319/2020.
of Root Mean Square Error (CV-RMSE). According to all the
obtained results, the proposed method can reduce monitoring REFERENCES
expenses, the initial cost of hardware components, and long- [1] Himeur, Y., Alsalemi, A., Bensaali, F., & Amira, A. (2020).
term maintenance costs. Building power consumption datasets: Survey, taxonomy and
future directions. https://doi.org/10.1016/j.enbuild.2020.110404
A study proposed by X. Zhou [20], demonstrated a
[2] Jozi, A., Pinto, T., & Vale, Z. (2022). Contextual learning for
new strategy that integrates Long Short-Term Memory (LSTM) energy forecasting in buildings. International Journal of
models and Reinforcement Learning (RL) with the self- Electrical Power & Energy Systems, 136, 107707.
optimization capability to likely provide more reliable https://doi.org/10.1016/j.ijepes.2021.107707
prediction in daily electricity consumption and thus facilitate [3] Tabrizchi, H., Javidi, M. M., & Amirzadeh, V. (2021). Estimates
of residential building energy consumption using a multi-verse
building optimal operation and demand-side management. The optimizer-based support vector machine with k-fold cross-
validation. Evolving Systems, 12(3), 755–767. Artificial Intelligence Model for Improving Energy Efficiency.
https://doi.org/10.1007/s12530-019-09283-8 Computational Intelligence and Neuroscience, 2021.
[4] Chou, J. S., & Tran, D. S. (2018). Forecasting energy consumption https://doi.org/10.1155/2021/6028573
time series using machine learning techniques based on usage [14] Amber, K. P., Ahmad, R., Aslam, M. W., Kousar, A., Usman, M.,
patterns of residential householders. Energy, 165, 709–726. & Khan, M. S. (2018). Intelligent techniques for forecasting
https://doi.org/10.1016/j.energy.2018.09.144 electricity consumption of buildings. Energy, 157, 886–893.
[5] Hong, T., Pinson, P., Wang, Y., Weron, R., Yang, D., & https://doi.org/10.1016/j.energy.2018.05.155
Zareipour, H. (2020). Energy Forecasting: A Review and Outlook. [15] Bendaoud, N. M. M., Farah, N., & ben Ahmed, S. (2022).
IEEE Open Access Journal of Power and Energy, 7, 376–388. Applying load profiles propagation to machine learning based
https://doi.org/10.1109/oajpe.2020.3029979 electrical energy forecasting. Electric Power Systems Research,
[6] Wei, Y., Zhang, X., Shi, Y., Xia, L., Pan, S., Wu, J., Han, M., & 203, 107635. https://doi.org/10.1016/j.epsr.2021.107635
Zhao, X. (2018). A review of data-driven approaches for [16] Cáceres, L., Merino, J. I., & Díaz-Díaz, N. (2021). A
prediction and classification of building energy consumption. In computational intelligence approach to predict energy demand
Renewable and Sustainable Energy Reviews (Vol. 82, pp. 1027– using random forest in a cloudera cluster. Applied Sciences
1047). Elsevier Ltd. https://doi.org/10.1016/j.rser.2017.09.108 (Switzerland), 11(18). https://doi.org/10.3390/app11188635
[7] Mat Daut, M. A., Hassan, M. Y., Abdullah, H., Rahman, H. A., [17] Fan, G. F., Yu, M., Dong, S. Q., Yeh, Y. H., & Hong, W. C.
Abdullah, M. P., & Hussin, F. (2017). Building electrical energy (2021). Forecasting short-term electricity load using hybrid
consumption forecasting analysis using conventional and artificial support vector regression with grey catastrophe and random forest
intelligence methods: A review. In Renewable and Sustainable modeling. Utilities Policy, 73.
Energy Reviews (Vol. 70, pp. 1108–1118). Elsevier Ltd. https://doi.org/10.1016/j.jup.2021.101294
https://doi.org/10.1016/j.rser.2016.12.015 [18] Gomez-Omella M., Esnaola-Gonzalez I., Ferreiro S. (2020) Short-
[8] Chandran, L. R., Jayagopal, N., Lal, L. S., Narayanan, C., Deepak, Term Forecasting Methodology for Energy Demand in
S., & Harikrishnan, V. (2021). Residential Load Time Series Residential Buildings and the Impact of the COVID-19 Pandemic
Forecasting using ANN and Classical Methods. Proceedings of on Forecasts. In: Bramer M., Ellis R. (eds) Artificial Intelligence
the 6th International Conference on Communication and XXXVII. SGAI 2020. Lecture Notes in Computer Science, vol
Electronics Systems, ICCES 2021, 1508–1515. 12498. Springer, Cham. https://doi.org/10.1007/978-3-030-
https://doi.org/10.1109/ICCES51350.2021.9488969 63799-6_18
[9] Wei, N., Li, C., Peng, X., Zeng, F., & Lu, X. (2019). Conventional [19] Kuo, P. H., & Huang, C. J. (2018). A high precision artificial
models and artificial intelligence-based models for energy neural networks model for short-Term energy load forecasting.
consumption forecasting: A review. Journal of Petroleum Science Energies, 11(1). https://doi.org/10.3390/en11010213
and Engineering, 181, 106187. [20] Zhou, X., Lin, W., Kumar, R., Cui, P., & Ma, Z. (2022). A data-
https://doi.org/10.1016/J.PETROL.2019.106187 driven strategy using long short term memory models and
[10] Barja-Martinez, S., Aragüés-Peñalba, M., Munné-Collado, Í., reinforcement learning to predict building electricity
Lloret-Gallego, P., Bullich-Massagué, E., & Villafafila-Robles, R. consumption. Applied Energy, 306, 118078.
(2021). Artificial intelligence techniques for enabling Big Data https://doi.org/10.1016/j.apenergy.2021.118078
services in distribution networks: A review. In Renewable and [21] Luo, X. J., & Oyedele, L. O. (2021). Forecasting building energy
Sustainable Energy Reviews (Vol. 150). Elsevier Ltd. consumption: Adaptive long-short term memory neural networks
https://doi.org/10.1016/j.rser.2021.111459 driven by genetic algorithm. Advanced Engineering Informatics,
[11] Porteiro, R., Hernández-Callejo, L., & Nesmachnow, S. (2019). 50. https://doi.org/10.1016/j.aei.2021.101357
Electricity demand forecasting in industrial and residential [22] Seyedzadeh, S., Glesk, I., & Roper, M. (2018). Machine learning
facilities using ensemble machine learning Predicción de for estimation of building energy consumption and performance:
demanda eléctrica en instalaciones industriales y residenciales a review. https://doi.org/s40327-018-0064-7
utilizando aprendizaje automático combinado.
[23] Amasyali, K., & El-Gohary, N. M. (2018). A review of data-
https://doi.org/10.17533/udea
driven building energy consumption prediction studies. In
[12] Elbeltagi, E., & Wefki, H. (2021). Predicting energy consumption Renewable and Sustainable Energy Reviews (Vol. 81, pp. 1192–
for residential buildings using ANN through parametric modeling. 1205). Elsevier Ltd. https://doi.org/10.1016/j.rser.2017.04.095
Energy Reports, 7, 2534–2545.
https://doi.org/10.1016/j.egyr.2021.04.053
[13] Truong, N. S., Ngo, N. T., & Pham, A. D. (2021). Forecasting
Time-Series Energy Data in Buildings Using an Additive

View publication stats

You might also like