Next Article in Journal
An Open-Source Wireless Electrophysiological Complex for In Vivo Recording Neuronal Activity in the Rodent’s Brain
Previous Article in Journal
Demand-Driven Data Acquisition for Large Scale Fleets
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Atrous Convolutions and Residual GRU Based Architecture for Matching Power Demand with Supply

Sejong University, Seoul 143-747, Korea
*
Author to whom correspondence should be addressed.
Sensors 2021, 21(21), 7191; https://doi.org/10.3390/s21217191
Submission received: 10 September 2021 / Revised: 20 October 2021 / Accepted: 24 October 2021 / Published: 29 October 2021
(This article belongs to the Topic Future Electricity Network Infrastructures)
(This article belongs to the Section Electronic Sensors)

Abstract

:
Nowadays, for efficient energy management, local demand-supply matching in power grid is emerging research domain. However, energy demand is increasing day by day in many countries due to rapid growth of the population and most of their work being reliant on electronic devices. This problem has highlighted the significance of effectively matching power demand with supply for optimal energy management. To resolve this issue, we present an intelligent deep learning framework that integrates Atrous Convolutional Layers (ACL) with Residual Gated Recurrent Units (RGRU) to establish balance between the demand and supply. Moreover, it accurately predicts short-term energy and delivers a systematic method of communication between consumers and energy distributors as well. To cope with the varying nature of electricity data, first data acquisition step is performed where data are collected from various sources such as smart meters and solar plants. In the second step a pre-processing method is applied on raw data to normalize and clean the data. Next, the refined data are passed to ACL for spatial feature extraction. Finally, a sequential learning model RGRU is used that learns from complicated patterns for the final output. The proposed model obtains the smallest values of Mean Square Error (MSE) including 0.1753, 0.0001, 0.0177 over IHEPC, KCB, and Solar datasets, respectively, which manifests better performance as compared to existing approaches.

1. Introduction

In smart grids energy management through automated techniques for future energy generation and consumption prediction is a fascinating field of research. Smart grids are safe and authentic venues that efficiently transmit energy among various consumers. The entire process of electric energy from generation resources (wind, solar, hydro) to consumption (residential, commercial, industries) [1,2] is shown in Figure 1. The energy consumption at the consumer side completely affects the energy generation at power plants. Most of the consumers are inexpert and have no knowledge of how to demand energy from power grids, resulting in a waste of energy and financial loss. In the meantime, the suppliers at the production unit intend to reduce the total expense as much as possible to get a balanced level of energy generation which needs proper timing and management schemes. For better planning, an efficient model is highly required that can precisely predict energy consumed in houses/industries and generated at power plants. A smart grid is responsible for the stable state of energy between generation and consumption [3].
Electricity is a basic ingredient of human life. It is necessary to keep the balance between the supplier in the grid and real consumption demand to take full advantage of its usage. Due to increasing demand of electrical devices such as electric cars, microwave ovens, air purifiers, networking devices etc., the management of power grids faces numerous challenges. It is estimated that in 2050, 62% of energy will be provide by renewable sources. Moreover, the quantity of green energy created in 2019 is 27% globally while the capacity of the total production in Slovakia is only 13%. However, it is very difficult to connect the renewable energy sources with smart grids because it entirely relies on weather conditions. From this perspective, renewable energy sources are unreliable without a sophisticated management system. To address such problems, energy storage device (i.e., battery) is the best solution that preserve unused energy for later usage. Additionally, Artificial Intelligence (AI)-based battery health prediction models significantly improve the companies’ planning through which energy management teams generate the energy based on user’s demand [4]. Secondly, the temperature within electric wires rises when electricity is transmitted over long distances, resulting in considerable energy loss in the form of heat. At the end, these electricity losses are compensated from consumers. For such type of problem, decentralization method is better to use where large energy plants transmitted the energy to the local smart grid which have sufficient knowledge about the demand of consumers. Moreover, to establish efficient energy transmission the proposed model is suitable for matching demand with power supply. Another problem is hardware failure in electrical devices like electric cars where a significant amount of time is required for charging. For fast charging, supercharges consumes huge amount of energy, resulting high energy demand from smart grid. Therefore, to speed up this procedure a stable energy prediction model is necessary that can meet the desires of the consumers on time.
There are two main issues arising in energy generation, including sustainable development and the worldwide weather change [5]. Due to the increasing number of the population the consumption of energy is rising by 2% every year, where energy generation is totally depending on fossil fuels including coal, oil, and natural gas [6]. Fossil fuels is the major resource of energy generation which has been widely used throughout the years. The usage of fossil fuels in huge amounts instigated their lack and also generated some environmental problems that affect the living health and disturb the global climate [7]. Furthermore, the development of fossil fuels takes many years, whereas the current energy generated procedures are quicker than fossil fuels. As a result, the energy generation industries are presenting interest in renewable energy sources [8]. Renewable energy sources are considered the best substitutes for fossil fuels because they are naturally created on geographical area [9]. However, their usage with unpredictability that compromises the stability and dependability of large-scale renewable energy facilities [5]. Energy prediction facilities at renewable energy is a critical component of future stabilization and development [10]. Accurate energy consumption and generation prediction is a challenging task due to the unreliable, unexpected, and inconsistent nature of energy data. Regarding this, various resource energy forecasting has been examined in recent years to address the problems which have mainly arisen due to the excessive number of renewable energy resources and power plants globally [11]. The literature has described several approaches for short- and long-term energy consumption and generation. The majority of future renewable energy prediction approaches are based on physical models that estimate and predict energy using weather and power station data [12]. Most of the physical approaches are inadequate and unsuitable for short-term energy predictions [6]. In the literature, several statistical techniques including Hammerstein model, autoregressive moving average, Bayesian-based adaptive model, Kalman filter, and Markov chain model are commonly used for both energy consumption and generation [13]. The statistical techniques generate precise predictions; unfortunately, majority of them are unable to manage long-term energy predictions due to being linear in nature [6].
Machine Learning (ML) and Deep Learning (DL) have proved to be useful techniques for energy generation prediction [11] and intelligent communication [14]. Many AI-based methods have been proposed to improve renewable energy [15]. Numerous time horizons have been studied to estimate renewable energy generation including minutely, hourly, daily, weekly, and monthly, depending on the goals of the forecasting [16]. For the renewable energy prediction, ML-based techniques are commonly used including k-nearest neighbors, Support Vector Regression (SVR), random forest, multiple linear regression, support vector machines, and gradient boosting among others. Despite this, few well known sequential learning models such as long short-term memory and gated recurrent units are widely used for energy generation that give satisfactory results [17].
Due to the significant role and wider application of renewable energy, a considerable body of literature on the prediction of renewable energy has been published [18]. However, ML approaches faced numerous challenges because they can only work on a fixed length of data. Similarly, deep learning models, particularly CNNs, extract less meaningful information from time series data. Few ML- and DL-based models revealed incredible performance in real-time energy consumption and generation prediction, especially in dynamic environmental conditions [19]. Therefore, this study aimed to use a hybrid DL approach based on ACL and RGRU to enhance short-term horizons for both energy consumption and generation predictions. Our novel hybrid framework is beneficial for efficient energy management systems. The proposed network extracts discriminative and representative features from sequential data via ACL and forwards it to the RGRU that learns spatial patterns from sequence. Our main contributions in this study are as follows:
  • Sometimes, smart sensors generate unusual data due to several reasons such as metering fault, weather condition, irregular customer consumption etc., which requires data pre-processing strategies to refine the dataset before the training process. Therefore, in this work a pre-processing step is applied to remove abnormalities from raw input data including outlier reduction, filling missing values etc.
  • Conventional approaches followed a single model for energy consumption and generation prediction, which are unable to efficiently extract spatiotemporal patterns and also generate false predictions with high error rates. Therefore, we proposed a hybrid network with the integration of ACL and RGRU that minimize error score in generation as well as consumption.
  • Matching consumption with production becomes a more acute challenge in a sustainable energy system with increasing amounts of renewable energy that offer fluctuations and unpredictability. To overcome this problem, a generalized hybrid model is developed that efficiently predicts both generation and consumption energy.
  • The reliability of the model is assessed over Mean Square Error (MSE), Root Mean Square Error (RMSE), and Mean Absolute Error (MAE). The efficiency of the proposed model is evaluated over benchmark datasets which shows that the proposed framework greatly reduces the error rate as compared to other existing models.
The remaining paper is arranged as follows: Section 2 briefly describes the literature study about energy prediction methods. A brief description about the proposed framework is delivered in Section 3. The experimental results and performance assessment details are provided in Section 4, while Section 5 is directed towards the overall research conclusion with limitation and future research guidelines.

2. Literature Review

Energy production is a fundamental industrial sector where its preservation is one of the most essential aspects that enhances the industrial energy efficiency. A proper energy management is necessary for every company. If the energy efficiency does not improve, sustainable development will still produce a significant amount of energy.
The worldwide renewable energy industry had overall revenues of $692.8 billion in the year 2020, reflecting an 8.9% Compound Annual Growth Rate (CAGR) from 2016 to 2020 [20]. There are numerous companies which are responsible for the generation, transmission, and supply of electricity. In South Korea, the largest electric utility is Korea Electric Power Corporation (KEPCO). This company engages in business to obtain legitimate goals, which include electric power assets innovation, production, distribution, transformation and transmission of electric power, as well as marketing, research, technological advancement etc. Korea Western Power (KWP) is another company that generates and transmits the electrical energy to residential, commercial, and industrial sectors. Furthermore, it also maintains heat in power stations, and power storage plants. Another generation company known as Korea Hydro and Nuclear Power (KHNP) controlled nuclear power plants that produces natural gas, water, and electric energy. POSCO energy is involved in power production, battery storage, and renewable energy. For almost 50 years, POSCO energy has provided reliable energy to the metropolitan regions.
Energy for industries is one of the most powerful and profitable sources in the contemporary economy. However, most energy firms are unaware of the energy generation potential and do not use cutting-edge technology to improve their procedures. The world is faced with serious energy issues and installed smart machines in industry require significant amounts of energy to operate. Energy companies urgently need to enhance their forecast analysis tools to save costs, conserve energy, and deliver better service to customers. To accomplish this job, AI-based model is the best choice in the industry sectors for the purpose of predictive analytics. The energy forecasting literature can be divided into two major categories: energy consumption and generation approaches.

2.1. Energy Consumtpion Prediction Approaches

Machine learning-based models are commonly used in various domains such as heating load prediction [21], electrical energy generation and consumption prediction which are comparatively old literature [22], including Linear and multiple regression [23,24,25], clustering [26], SVR [27], Extreme Learning Machine (ELM) [28] among others are the main methods. The forecasting method that receives the most attention is Short-Term Load Forecasting (STLF). For example, Ceperic et al. proposed that the SVR technique used for a short period of power demands prediction [29]. Furthermore, they presented two major significant enhancements over the present forecasting methods based on SVR. The first improvement is the process inputs followed by the feature selection algorithms. They also implemented particle swarm global optimization to enhance the hyperparameters of SVR. Finally, the system was tested over two power predicting datasets and compare results with the existing approaches. In later study for STLF, Li et al. [28] predicted energy using evolutionary ELM and wavelet transform. To lead the ELM in selecting the optimal parameters from the provided input weights, the artificial bee colony algorithm is used. Based on public utility data, the authors accomplished substantial findings from various parts of North America and ISO New England. To compute the consumers demand feedback, Chen et al. [30] proposed a short-term forecasting model based on SVR for office buildings. In another approach, Wu et al. [31] developed a gradient boosting framework for short-term prediction using multiple kernel which delivers further flexibility as compared to conventional kernel approaches.
Due to the increase in popularity of DL, scientists mostly used it for energy load prediction [21,32] for better performance. Literature studies related to energy prediction based on DL approaches show incredible performance [33]. For instance, Kong et al. [34] proposed STLF LSTM which mainly focus on handling the power consumed by residential areas which leads the accurate forecasting results. Another study [35] developed a hybrid approach for energy prediction of domestic buildings in which genetic algorithms and DL were combined with LSTM to suggest the best objective function along with hidden neurons for the prediction of energy. This approach is checked across the data from commercial and residential households for VSTLF forecasting, and the results are better than those of the traditional forecasting models. Wu et al. [31] used the transfer regression method based on multiple kernel learning to predict the energy and perform experiments over the data from residential houses to demonstrate the significant boundaries of reduced error rate. Likewise, the latest studies employed a deep autoencoder to convert the low to high level features representation and at the end they applied a cluster algorithm which is known as an adoptive self-organizing map [36].

2.2. Energy Generation Prediction Approaches

In recent decades, experts have changed their attention to renewable energy sources for predicting energy generation. These energy sources have been extensively used for power generation because of their simplicity and renewable nature. The main problem in electricity generation from renewable sources is ensuring its long-term reliability. Energy generated through different resources mainly depend on various environmental factors including weather and wind (speed and direction). These uncontrollable factors make the prediction issue more difficult. Numerous types of methods have been used for energy prediction generated through wind, hydropower, and solar. As in this study, we utilized the solar dataset, therefore related literature is covered.
Solar energy is an infinite renewable energy source which does not release any gases or carbon because it does not use fuel and considered as one of the favorable technologies for energy generation. In this technology, sunlight radiation plays a significant role with varying time scales. Several ML and DL-based models have been proposed for proper management and prediction in a low computational manner [37]. Regarding this, Aslam et al. [38] investigated numerous DL methods including RNN, GRU, LSTM, SVR, and FFNN for short-term solar radiation prediction. Torres-Barran et al. [39] explored regression models such as random forest, gradient boost, and XGBoost for the prediction of energy generated through solar. Next, Saloux et al. [40] applied decision tree, SVM, and artificial neural network for solar plant heat prediction, whereas Sun et al. [41] developed a CNN-based prediction method of photovoltaics energy. Similarly, Torres et al. [42] introduced a feed forward neural network to forecast the power generated via PV. Few researchers used ML algorithms for solar energy generation prediction, for instance, Liu et al. [43] investigated SVM and regression-based approaches while ALKandari et al. [44] explored both statistical and ML methods for future solar energy prediction.

3. The Proposed Framework

A smart grid is a venue that is responsible for managing and supplying energy among consumers with diverse levels of energy expenditure. A power grid along with a proper supervision system accomplishes the demand of consumers in an efficient way and saves massive amounts of energy for the future. In contrast, conventional grids willingly distribute energy as per consumers’ demand, without any knowledge about the consumer behaviors in case of erroneous usage and environment conditions, among others, that yield an incorrect consumption of energy. Meanwhile, a smart grid preserves and tracks the energy demands-related information individually. However, in most of the situation grids demonstrate weak performance due to work overload, or they do not have consumers’ energy demand data. Therefore, an automatic system is highly desired that accurately predicts the energy, management between consumer and suppliers, and removes anomalies from the commercial and residential sectors’ energy data. Concerning this, we propose a novel framework that precisely predicts the consumed and renewable energy that assists the smart grid during the transmission of energy on user demands. The complete scenario of the proposed framework is shown in Figure 2 where significant steps are briefly explained in the subsequent sections. The model learning and energy consumption prediction procedure is given in Algorithms 1 and 2.
Algorithm 1 Learning Procedure of the Proposed Framework
Input: Dataset (ꭙ1, ꭙ2,3), (ƴ1, ƴ2, ƴ3)
Output: Trained model Ɯ, ∫
1. Initialize projector Ɯ and predictor ∫;
2. repeat
3. Sample ϰ1Ƭ, ꭚ1Ƭ from ꭙ1, ƴ1, respectively;
4. ΘƜΘƜ -∂/∂ ΘƜ (ψ);
5. Θ∫Θ∫ -∂/∂ Θ∫ (ψ);
6. Until ΘƜ, Θ∫ converge
7. return Ɯ, ∫
Algorithm 2 Procedure for Energy Consumption Prediction
Input: ϰ1Ƭ State with energy consumption
Output:1Ƭ
1. for i = 1, … Ƭ do
2. £iÞ  Ɯ (ϰi, £i−1Þ); Computed state with total minutes
3. end for
4. ζ1d ∫d (ꭚ0, £iÞ);
5. ꭚ1 Ʊ * ζ1d + b;
6. for i = 2,…, Ƭ do
7. ζ1d ∫ (ꭚi−1, ζi−1d);
8. ꭚI Ʊ * ζ1d + b;
9. end for
10. return1Ƭ

3.1. Data Collection and Pre-Processing

Currently, statistical energy data are recorded through smart meters that contain various parameters including time, date, and voltage among others. In each apartment of residential/commercial buildings, smart meters are installed that act as a center hub, where different electronic appliances and heavy machineries are fixed via wires. Normally, the meter leader collected the data from smart meters monthly, which contain several errors such as outliers, redundancy, and missing values, among others, that were mainly triggered due to faults in unit measuring tools, continuous changes in climate, consumers’ behavior, and metering glitches. Therefore, to obtain better refinement and desire for energy consumption output, it is necessary to pass these noisy data from the pre-processing step for refinement.
In the proposed framework, we employ a pre-processing method to refine the data before training the model because on scatter data the neural networks are more sensitive. First, we eliminate the missing values that frequently occurred during collection. Secondly, before applying standardization process, the outlier is eliminating that can affect the normalize values and drag the attribute values towards the maximum and minimum range. After normalization, the alteration effect on the IHEPC dataset is visualized in Figure 3, where the IHEPC dataset features range lies between 0 and 250. So, through assistance of min-max normalization, the diverse features range is transformed into 0 and 1.
On the other hand, a standard transformation method is also applied on KAB and solar datasets to arrange all the actual input values in a specific range. The mathematical representation of min-max and standard transform operation is shown in Equations (1) and (2).
X = ( Y U ) S
X = ( Y Y min ) Y max Y min
where Y, U, S, Ymin, and Ymax signify the original data, mean, standard deviation, minimum and maximum value in the dataset, respectively. Finally, we set all datasets for short intervals because we are dealing with short-term energy consumption prediction. Through assistance of pre-processing techniques on raw data we obtain remarkable prediction performance on all datasets used in this study.

3.2. ACL for Spatial Features Extraction

CNN models are specifically developed for image analytics problems, where it takes two-dimension data as an input [45]. Recently, CNNs have shown better performance on statistical data [46]. Nowadays, one dimension CNNs have also proven remarkable performance, particularly for time series data analysis such as electricity consumption [47], weather, and stock price prediction which is a non-linear problem that mainly obtains incredible performance by utilizing the weight sharing concept. However, during the training process, CNN models extract deep features from input data by using huge numbers of parameters and loss of contextual information. To address these concerns, researchers followed various strategies including unsampling or deconvolution that require huge space in the memory and are computationally expensive. Therefore, in the proposed framework we apply ACL with the skip connections concept that is much better than the conventional CNN in terms of accuracy. The visual difference between the traditional convolution layers and ACL is shown in Figure 4.
Initially, atrous convolutions were design for wavelet transformation, and which expand the receptive field without an increase in parameters and are static in the feature maps size throughout the architecture. Typically, signal processing, weather forecasting, and electrical energy consumption prediction data contain lengthy patterns of information so, to extract spatial features, ACL is the best choice for the precise prediction of various types of data. Mathematically, ACL can be represented as:
F ( ) = ( ϰ · đ f ) ( ) = i = 0 k 1 f ( i ) · ϰ đ . i
where different atrous factors, filter size, and actual input data are denoted by d, k, ϰ. For instance, we have a diverse numbers of filters f: {0, …, k − 1} → N with atrous rate 1, 2, and 3 then 1D ACL are shown in Figure 5.

3.3. Sequential Model for Short-Term Energy Prediction

In this section, we briefly explain the architecture of RGRU use in the proposed framework. In conventional neural networks, the output of one layer is passed to the next layer as an input while in the residual each layer datum is fed into the subsequent layer and the input data is forward directly to those layers that are away from two to three layers. Before a deep description below, Figure 6 shows a single residual block.
Normally, the performance of the neural network is enhanced with the increasing numbers of layers, but there is a boundary to adding the number of layers for the improvement of the accuracy. Neural networks utilized a universal function that was able to learn and evaluate any simplex or complex problem. However, sometimes it comprises a vanishing gradients problem and is not able to learn simple identity functions, even if we made complex deep architecture by increasing the number of layers in the network for improvement. Another is a degradation issue which was also created by adding the numbers of layers, where the accuracy of the network improves up to specific points and after that the performance is decreased. To overcome the overfitting and degradation problems, in this study we utilize residual or skip connection row/column wise data.
In RGRU, few layers are skipped during the training process that assists in learning an identity function directly. To understand the concept of residual block mathematically, let us assume a neural network block with x input and real distribution, represented by H(x) as shown in Equation (4).
R ( x ) = output input = H ( x ) x
H ( x ) = R ( x ) + x
Equation (5) is obtained after reordering Equation (4). The entire residual block is trying to generate true output H(x) and from Figure 6 it is clearly exhibited that x is the identity connection where the layers are truly trying to learn the residual R(x). In short, the traditional network layers are always learning from actual output H(x) while residual network layers learn from the residual R(x). It is experimentally observed that the performance of the residual is better as compared to traditional GRU because it learns from both input and output rather than only the input. Our RGRU network is capable of learning identity function and addressing the vanishing gradient problem due to the utilization of larger gradients with an initial layer that intelligently learn as fast as the resultant layers.

4. Experimental Results

This section is mainly classified into three steps, first a brief description about datasets, secondly three evaluation metrics are discussed in detail which are mainly used for assessment purposes, and finally experiments are conducted over KAB IHEPC, and solar datasets for short-term prediction and are compared with other existing energy consumption and generation prediction models. Further, all the experiments are conducted on GeForce GTX 2060 GPU coupled with quad channel 64 GB RAM. The model is implemented in python (Version 1.12) using Keras framework with backend TensorFlow and Adam is selected as an optimizer.

4.1. Dataset Description

In this study, KCB, IHEPC and solar datasets are used for experiments: the KCB energy consumption data is mainly collected from commercial buildings, while data of PV are downloaded from the Republic of Korea website. The data are recorded from January 2015 to October 2018 where the variables including surface temperature, inclined irradiance, and surrounding temperature are considered as an input while predicted variables show the output power of the plant. The details of the parameters along its numerical values are given in Table 1.
IHEPC is the residential buildings data that are publicly available on the UCI repository. These residential buildings are situated in the country of France where one-minute energy consumption data have been recorded from 2006 to 2010. In total, 2,075,259 pieces of data are collected, in which 25,979 samples contain missing values therefore, first passed it to the pre-processing layer to obtain free noisy data. It contains numerous attributes/features including data, time voltage, global active power, global reactive power, intensity, and three sub-metering as shown in Table 2. All the sub-metering data indicate the entire energy consumption in building, while sub-metering 1–3 individually record the kitchen, living and laundry room. On other hand, each sample contains 15 min of data collected from the sensor in the KCB dataset that is almost similar to IHEPC, but there are some variations in terms of time, buildings, and the recorded unit’s device.

4.2. Evaluation Metrics

The performance of the proposed framework is assessed through three popular evaluation metrics such as MSE, RMSE, and MAE. Equations (6)–(8) exhibit the mathematical representation of these metrics individually. MSE computes the average squared variation among the actual values and predicted output values generated by the model. RMSE is mostly used for regression model analysis that determines the dissimilarity between all the actual and predicted data, then evaluates the squares of errors and at the end computes the square root of the obtained mean value. MAE takes the average absolute of error attained through actual and model predicted values.
MSE = 1 Tsamp 1 n ( A P ) 2
RMSE = 1 Tsamp 1 n ( A P ) 2
MAE = 1 Tsamp 1 n | A P |

4.3. Ablation Study

In this section, numerous models’ performance is evaluated over different datasets. The proposed model is built up by integrating ACL with RGRU, so to find the strength of each component, we conducted comprehensive experiments. The details of the experiments are mentioned in the following subsections.
A.
Evaluation over IHEPC Dataset
For short-term energy consumption prediction, first the ACL model is computed using IHEPC where we obtained 0.2112, 0.4595, and 0.3143 of MSE, RMSE, and MAE. Next, sequential learning model performance is checked against the same data where we achieved better results as compared to the first model, i.e., 0.1841 MSE, 0.4290 RMSE, and 0.2984 MAE. Finally, a hybrid model is proposed by incorporating ACL with sequential learning model RGRU which shows convincing performance and obtained the lowest error rate including 0.1753, 0.4186, and 0.2635 for MSE, RMSE, and MAE, respectively as shown in Table 3. The actual and predicted outcomes for the household consumption dataset on hourly resolution is illustrated in Figure 7.
B.
Evaluation over KCB Dataset
On hourly resolution data of KCB, we investigated different models including ACL, RGRU, and concatenation of these two components for energy consumption prediction. This dataset is approximately similar to IHEPC where our first proposed model is ACL which obtained 0.0124, 0.1113, and 0.0928 of MSE, RMSE, and MAE. Our second proposed model is RGRU which used the concept of skip connection and performed better as compared to the first CNN model where MSE, RMSE, and MAE are 0.0121, 0.1100, and 0.0827, respectively, as shown in Table 4. Our final hybrid model shows tremendous performance and predicted next hour energy data with the smallest error score including 0.0001 MSE, 0.0100 RMSE, and 0.0031 MAE. The actual and predicted graph generated through the proposed method is shown in Figure 8.
C.
Evaluation over Solar Dataset
Nowadays, for energy management system demand-supply matching is a significant research domain. Most of the literature studies mainly focus on consumer side energy prediction which is not an efficient method for management systems at the supplier side. Regarding this along with energy consumption prediction, our proposed model also works efficiently for power generation prediction. For this job, a comprehensive result is generated over the solar dataset. Based on these energy data our first model is trained and tested, known as ACL, which obtained 0.0193 MSE, 0.1389 RMSE, and 0.1297 MAP on hourly resolution data. Next, the sequential learning model is investigated, which utilizes the residual concept known as RGRU that further boosts the performance and gives minimum error scores for MSE, RMSE, and MAE (i.e., 0.0187, 0.1367, and 0.1175) as shown in Table 5. Despite these models we also used a hybrid approach by integrating both models which also shows incredible performance such as 0.177 MSE, 0.1332 RMSE, and 0.1013 MAE. The actual and predicted graph is generated over solar data as shown in Figure 9.

4.4. Comparative Analysis and Discussion

In this section, the results attained via the proposed method are compared with recent techniques of energy consumption and generation prediction that also utilize the same dataset. Further, through a detailed discussion we analyze why our approach is better than the existing work.
For precise energy consumption prediction, several researchers have proposed different models. For instance, Mocanu et al. [48] investigated a novel prediction model to improve the infrastructure of the electricity and efficient implementation of renewable energy sources, however their model generated a high error score because they extracted short descriptors which did not entirely cover the meaningful information from the input data. Another approach introduced by Marino et al. [49] aims to reduce energy from wastage and predict energy with minimum error. This work is further boosted by Ullah et al. [32] who utilized CNN with Bi-directional BDLSTM and obtained 0.31 MSE, 0.56 RMSE, and 0.34 MAE. In traditional convolution layers, where various filters are applied that cover a small region of input data, the generated feature maps do not contain significant information. Similarly, Le et al. [50] also practice the CNN with Bi-LSTM for the efficient prediction of consumed energy. For the same problem, Kim and Cho [51] proposed DL using an autoencoder and analyzed different resolution data to confirm the precise prediction. Autoencoders compress the input data and ignore small significant information which also plays a major role in prediction. Due to the growing human population, residential buildings consume large amount of energy, and it is common knowledge that people in residential buildings have no information on how to preserve the energy. Therefore, to stabilize the energy and establish a convenient method of communication between consumers and suppliers, Kim and Cho presented a hybrid model using CNN with LSTM for prediction which did not extract discriminative features, hence they obtained a high error rate.
From Table 6 we observed that the proposed ACL-RGRU obtained remarkable performance as compared to previous state-of-the-art approaches. To obtain better results, most of the researchers followed the concept of adding layers but, in the proposed model, we gained minimum error rate by using the concept of RGRU. On the IHEPC dataset our method attained the 0.1753, 0.4186, and 0.2635 error score for MSE, RMSE, and MAE, respectively. Another effort by Rajabi et al. [52] obtained 0.79 RMSE and 0.59 MAE through two-dimensional CNN. Another approach presented by Khan et al. [53] further boosted this work where they established a hybrid approach by integrating CNN with an autoencoder for precise energy prediction and provided efficient communication between consumers and suppliers where they obtained an 0.19, 0.47, and 0.31 error rate for MSE, RMSE, and MAE, respectively. A study followed by Sajjad et al. [54] applied pre-processing techniques before extracting patterns from data through CNN and at the end they utilized GRU for sequence learning, which further reduced the error with 0.22, 0.47, and 0.33 for MSE, RMSE, and MAE. Besides these most recent approaches, CNN with bidirectional GRU is developed by Khan et al. [21] where they further enhanced the prediction scores with 0.18, 0.42, and 0.29 for MSE, RMSE, and MAE.
We also trained and tested the proposed model over our own prepared dataset where data are basically collected from sensors attached with commercial buildings that count the energy consumption units. The attributes are entirely similar to IHEPC, but there exist some variations which are briefly discussed in the dataset description section. On KCB there are only two articles that exist in the literature, but authors in [53] only mentioned that their proposed model gives the worst performance while the LSTM model achieved the highest performance and did not mention numerical results. Another recent work by Khan et al. [57] proposed a hybrid model by the integration of dilated convolutional layers with bidirectional long-short-term-memory. On hourly data they obtained 0.0126, 0.1122, 0.0893 sores for MSE, RMSE, and MAE. Furthermore, the dataset also contains noisy and scattered data, therefore the authors first applied some pre-processing steps such as filling missing values, removing outliers and performing some normalization techniques in order to arrange all the values in a specified threshold. In contrast, utilizing the concept of ACL with RGRU block shows remarkable predicted scores of 0.0001, 0.0100, and 0.0031 for MSE, RMSE, and MAE.
We deeply investigated the literature studies and concluded that researchers only focused on energy consumption and limited work has been presented that accomplished both consumption and generation prediction in a unified framework. For better energy management it is necessary to build a model that effectively predicts the renewable energy to fulfill the demand of customers. Therefore, in this study, a generalize hybrid deep learning model is proposed for equivalent consumer power demand with supply. Our model obtained 0.0177, 0.1332, and 0.1013 scores for MSE, RMSE, and MAE. For a fair comparison we found that only one article is present which also used the same solar dataset. An adaptive artificial neural network is proposed by Zameen and Won [58] and achieved 0.0207 and 0.1438 scores for MSE and RMSE. The results clearly verify and demonstrate that the proposed hybrid approach is suitable and performs better for both energy consumption and generation prediction.
The learning mechanism of the proposed model is different from the above discussed literature due the following aspects: by using ACL broadly to cover the input data it is capable of extracting discriminative, robust, and representative features. Furthermore, our approach is also deployable in real-time because ACL reduces huge numbers of model parameters. Another big advantage of the usage of the skip connection concept that intelligently improves the network performance and reduces the chances of overfitting. Due to the above, reasons the proposed model achieved new state-of-the-art accuracy.

4.5. Time Complexity Analysis

We calculate and compare the time complexity of the proposed model to ensure its deployment for real-time applications. To accomplish this job, we utilize two local servers: CPU and GPU. In this study, the solar dataset is used, so total training and testing time over CPU intel (R) Core (TM) i7-7700 with 16.0 GB RAM is 640 and 0.08 s, respectively. Meanwhile the training and testing time of the proposed model with the same resolution data using GPU (GeForce RTX 2060) Super with 64 GB RAM installed Window 10 operating system and processor AMD Ryzen 9 is 328 and 0.001 (s). The model training and testing execution time is also given in Table 7.

5. Conclusions and Future Research Directions

In this paper, a short-term energy prediction framework is proposed that mainly contains four steps. First, the raw data is collected that contain abnormalities including missing values, outliers, and redundancy among others, therefore before training it is necessary to polish these data. Secondly, to obtain abnormality free data we passed it to pre-processing where a normalization method is applied to organize all the data into a particular range. Next, discriminative features are extracted via ACL followed by sequence learning model RGRU which learns spatial patterns during training process. Finally, the proposed framework is assessed over KCB, IHEPC, and solar datasets that shows incredible performance as compared to other state-of-the-art energy prediction techniques. In addition, three evaluation metrics are used including MSE, RMSE, and MAE for the assessment of the proposed framework. The limitation of this work is that the proposed model is only designed for multi-step prediction with a particular horizon. To adopt such limitations in future, we will explore some other approaches such as spiking neural network, fuzzy logic, and lightweight hybrid model, particularly for single-step forecasting and resource constraining devices.

Author Contributions

S.U.K.: Conceptualization, Software, Writing original draft, Visualization, and Methodology; I.U.H.: Methodology, Validation, Visualization, and Writing—review & editing; Z.A.K.: Software, Data curation, and Conceptualization. N.K.: Writing original draft, Data curation, and review & editing. M.Y.L.: Formal analysis, and Software. S.W.B.: Funding acquisition, Software, and Supervision. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Research Foundation of Korea(NRF) grant funded by the Korea government (MSIT) (No. 2019M3F2A1073179). This work was supported by the Korea Institute of Energy Technology Evaluation and Planning (KETEP) and the Ministry of Trade, Industry & Energy (MOTIE) of the Republic of Korea (No. 20209810300090, Development and Demonstration of Real-time Monitoring Platform regarding EES Operation Status for Safety Enhancement).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

There is no conflict of interest.

References

  1. Wang, Y.; Chen, Q.; Sun, M.; Kang, C.; Xia, Q. An Ensemble Forecasting Method for the Aggregated Load with Subprofiles. IEEE Trans. Smart Grid 2018, 9, 3906–3908. [Google Scholar] [CrossRef]
  2. Zhang, Y.-F.; Chiang, H.-D. Enhanced ELITE-Load: A Novel CMPSOATT Methodology Constructing Short-Term Load Forecasting Model for Industrial Applications. IEEE Trans. Ind. Inform. 2019, 16, 2325–2334. [Google Scholar] [CrossRef]
  3. Zhuang, P.; Liang, H. Hierarchical and Decentralized Stochastic Energy Management for Smart Distribution Systems with High BESS Penetration. IEEE Trans. Smart Grid 2019, 10, 6516–6527. [Google Scholar] [CrossRef]
  4. Khan, N.; Ullah, F.U.M.; Ullah, A.; Lee, M.Y.; Baik, S.W. Batteries State of Health Estimation via Efficient Neural Networks with Multiple Channel Charging Profiles. IEEE Access 2021, 9, 7797–7813. [Google Scholar] [CrossRef]
  5. Nam, K.; Hwangbo, S.; Yoo, C. A deep learning-based forecasting model for renewable energy scenarios to guide sustainable energy policy: A case study of Korea. Renew. Sustain. Energy Rev. 2020, 122, 109725. [Google Scholar] [CrossRef]
  6. Wang, H.; Lei, Z.; Zhang, X.; Zhou, B.; Peng, J. A review of deep learning for renewable energy forecasting. Energy Convers. Manag. 2019, 198, 111799. [Google Scholar] [CrossRef]
  7. Hu, X.; Zou, Y.; Yang, Y. Greener plug-in hybrid electric vehicles incorporating renewable energy and rapid system optimization. Energy 2016, 111, 971–980. [Google Scholar] [CrossRef]
  8. Xiong, L.; Li, P.; Wang, Z.; Wang, J. Multi-agent based multi objective renewable energy management for diversified community power consumers. Appl. Energy 2020, 259, 114140. [Google Scholar] [CrossRef]
  9. Javed, M.S.; Zhong, D.; Ma, T.; Song, A.; Ahmed, S. Hybrid pumped hydro and battery storage for renewable energy based power supply system. Appl. Energy 2020, 257, 114026. [Google Scholar] [CrossRef]
  10. Ahmad, T.; Zhang, H.; Yan, B. A review on renewable energy and electricity requirement forecasting models for smart grid and buildings. Sustain. Cities Soc. 2020, 55, 102052. [Google Scholar] [CrossRef]
  11. Aslam, S.; Herodotou, H.; Mohsin, S.M.; Javaid, N.; Ashraf, N.; Aslam, S. A survey on deep learning methods for power load and renewable energy forecasting in smart microgrids. Renew. Sustain. Energy Rev. 2021, 144, 110992. [Google Scholar] [CrossRef]
  12. Hodge, B.-M.; Martinez-Anido, C.B.; Wang, Q.; Chartan, E.; Florita, A.; Kiviluoma, J. The combined value of wind and solar power forecasting improvements and electricity storage. Appl. Energy 2018, 214, 1–15. [Google Scholar] [CrossRef]
  13. Wang, Y.; Wang, H.; Srinivasan, D.; Hu, Q. Robust functional regression for wind speed forecasting based on Sparse Bayesian learning. Renew. Energy 2019, 132, 43–60. [Google Scholar] [CrossRef]
  14. Huang, X.-L.; Ma, X.; Hu, F. Editorial: Machine Learning and Intelligent Communications. Mob. Netw. Appl. 2018, 23, 68–70. [Google Scholar] [CrossRef] [Green Version]
  15. Li, G.; Xie, S.; Wang, B.; Xin, J.; Li, Y.; Du, S. Photovoltaic Power Forecasting With a Hybrid Deep Learning Approach. IEEE Access 2020, 8, 175871–175880. [Google Scholar] [CrossRef]
  16. Haq, I.; Ullah, A.; Khan, S.; Khan, N.; Lee, M.; Rho, S.; Baik, S. Sequential Learning-Based Energy Consumption Prediction Model for Residential and Commercial Sectors. Mathematics 2021, 9, 605. [Google Scholar] [CrossRef]
  17. Khan, N.; Ullah, F.U.M.; Haq, I.U.; Khan, S.U.; Lee, M.Y.; Baik, S.W. AB-Net: A Novel Deep Learning Assisted Framework for Renewable Energy Generation Forecasting. Mathematics 2021, 9, 2456. [Google Scholar] [CrossRef]
  18. Maciel, J.N.; Ledesma, J.J.G.; Junior, O.H.A. Forecasting Solar Power Output Generation: A Systematic Review with the Proknow-C. IEEE Lat. Am. Trans. 2021, 19, 612–624. [Google Scholar] [CrossRef]
  19. Bermejo, J.F.; Fernández, J.F.G.; Polo, F.O.; Márquez, A.C. A Review of the Use of Artificial Neural Network Models for Energy and Reliability Prediction. A Study of the Solar PV, Hydraulic and Wind Energy Sources. Appl. Sci. 2019, 9, 1844. [Google Scholar] [CrossRef] [Green Version]
  20. Laura Wood, S.P.M. Global Renewable Energy Industry Guide 2021. Available online: https://www.businesswire.com/news/home/20210902005385/en/Global-Renewable-Energy-Industry-Guide-2021-Value-and-Volume-2016-2020-and-Forecast-to-2025---ResearchAndMarkets.com (accessed on 15 October 2021).
  21. Sajjad, M.; Khan, S.; Khan, N.; Haq, I.; Ullah, A.; Lee, M.; Baik, S. Towards Efficient Building Designing: Heating and Cooling Load Prediction via Multi-Output Model. Sensors 2020, 20, 6419. [Google Scholar] [CrossRef]
  22. Jiang, D.; Zhang, P.; Lv, Z.; Song, H. Energy-Efficient Multi-Constraint Routing Algorithm With Load Balancing for Smart City Applications. IEEE Internet Things J. 2016, 3, 1437–1447. [Google Scholar] [CrossRef]
  23. Fumo, N.; Biswas, M. Regression analysis for prediction of residential energy consumption. Renew. Sustain. Energy Rev. 2015, 47, 332–343. [Google Scholar] [CrossRef]
  24. Amber, K.; Aslam, M.; Hussain, S. Electricity consumption forecasting models for administration buildings of the UK higher education sector. Energy Build. 2015, 90, 127–136. [Google Scholar] [CrossRef]
  25. Vu, D.; Muttaqi, K.; Agalgaonkar, A. A variance inflation factor and backward elimination based robust regression model for forecasting monthly electricity demand using climatic variables. Appl. Energy 2015, 140, 385–394. [Google Scholar] [CrossRef] [Green Version]
  26. Quilumba, F.L.; Lee, W.-J.; Huang, H.; Wang, D.Y.; Szabados, R.L. Using Smart Meter Data to Improve the Accuracy of Intraday Load Forecasting Considering Customer Behavior Similarities. IEEE Trans. Smart Grid 2014, 6, 911–918. [Google Scholar] [CrossRef]
  27. Hong, W.-C. Electric load forecasting by seasonal recurrent SVR (support vector regression) with chaotic artificial bee colony algorithm. Energy 2011, 36, 5568–5578. [Google Scholar] [CrossRef]
  28. Li, S.; Wang, P.; Goel, L. Short-term Load forecasting by Wavelet Transform and Evolutionary Extreme Learning Machine. Electr. Power Syst. Res. 2015, 122, 96–103. [Google Scholar] [CrossRef]
  29. Ceperic, E.; Ceperic, V.; Baric, A. A Strategy for Short-Term Load Forecasting by Support Vector Regression Machines. IEEE Trans. Power Syst. 2013, 28, 4356–4364. [Google Scholar] [CrossRef]
  30. Chen, Y.; Xu, P.; Chu, Y.; Li, W.; Wu, Y.; Ni, L.; Bao, Y.; Wang, K. Short-term electrical load forecasting using the Support Vector Regression (SVR) model to calculate the demand response baseline for office buildings. Appl. Energy 2017, 195, 659–670. [Google Scholar] [CrossRef]
  31. Wu, D.; Wang, B.; Precup, D.; Boulet, B. Multiple Kernel Learning-Based Transfer Regression for Electric Load Forecasting. IEEE Trans. Smart Grid 2019, 11, 1183–1192. [Google Scholar] [CrossRef]
  32. Ullah, F.U.M.; Ullah, A.; Haq, I.U.; Rho, S.; Baik, S.W. Short-Term Prediction of Residential Power Energy Consumption via CNN and Multi-Layer Bi-Directional LSTM Networks. IEEE Access 2020, 8, 123369–123380. [Google Scholar] [CrossRef]
  33. Hussain, T.; Ullah, F.U.M.; Muhammad, K.; Rho, S.; Ullah, A.; Hwang, E.; Moon, J.; Baik, S.W. Smart and intelligent energy monitoring systems: A comprehensive literature survey and future research guidelines. Int. J. Energy Res. 2021, 45, 3590–3614. [Google Scholar] [CrossRef]
  34. Kong, W.; Dong, Z.Y.; Hill, D.J.; Luo, F.; Xu, Y. Short-Term Residential Load Forecasting Based on Resident Behaviour Learning. IEEE Trans. Power Syst. 2018, 33, 1087–1088. [Google Scholar] [CrossRef]
  35. Almalaq, A.; Zhang, J.J. Evolutionary Deep Learning-Based Energy Consumption Prediction for Buildings. IEEE Access 2019, 7, 1520–1531. [Google Scholar] [CrossRef]
  36. Ullah, A.; Haydarov, K.; Haq, I.U.; Muhammad, K.; Rho, S.; Lee, M.; Baik, S.W. Deep Learning Assisted Buildings Energy Consumption Profiling Using Smart Meter Data. Sensors 2020, 20, 873. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  37. Irtija, N.; Sangoleye, F.; Tsiropoulou, E.E. Contract-Theoretic Demand Response Management in Smart Grid Systems. IEEE Access 2020, 8, 184976–184987. [Google Scholar] [CrossRef]
  38. Aslam, M.; Lee, J.-M.; Kim, H.-S.; Lee, S.-J.; Hong, S. Deep Learning Models for Long-Term Solar Radiation Forecasting Considering Microgrid Installation: A Comparative Study. Energies 2019, 13, 147. [Google Scholar] [CrossRef] [Green Version]
  39. Torres-Barrán, A.; Alonso, Á.; Dorronsoro, J.R. Regression tree ensembles for wind energy and solar radiation prediction. Neurocomputing 2019, 326–327, 151–160. [Google Scholar] [CrossRef]
  40. Saloux, E.; Candanedo, J.A. Forecasting District Heating Demand using Machine Learning Algorithms. Energy Procedia 2018, 149, 59–68. [Google Scholar] [CrossRef]
  41. Sun, Y.; Venugopal, V.; Brandt, A.R. Short-term solar power forecast with deep learning: Exploring optimal input and output configuration. Sol. Energy 2019, 188, 730–741. [Google Scholar] [CrossRef]
  42. Torres, J.F.; Troncoso, A.; Koprinska, I.; Wang, Z.; Martínez-Álvarez, F. Big data solar power forecasting based on deep learning and multiple data sources. Expert Syst. 2019, 36, 12394. [Google Scholar] [CrossRef]
  43. Liu, Y.; Zhou, Y.; Chen, Y.; Wang, D.; Wang, Y.; Zhu, Y. Comparison of support vector machine and copula-based nonlinear quantile regression for estimating the daily diffuse solar radiation: A case study in China. Renew. Energy 2020, 146, 1101–1112. [Google Scholar] [CrossRef]
  44. AlKandari, M.; Ahmad, I. Solar power generation forecasting using ensemble approach based on deep learning and statistical methods. Appl. Comput. Inform. 2021, in press. [Google Scholar] [CrossRef]
  45. Khan, N.; Ullah, A.; Haq, I.U.; Menon, V.G.; Baik, S.W. SD-Net: Understanding overcrowded scenes in real-time via an efficient dilated convolutional neural network. J. Real-Time Image Process. 2021, 18, 1729–1743. [Google Scholar] [CrossRef]
  46. Khan, S.U.; Baik, R. MPPIF-Net: Identification of Plasmodium Falciparum Parasite Mitochondrial Proteins Using Deep Features with Multilayer Bi-directional LSTM. Processes 2020, 8, 725. [Google Scholar] [CrossRef]
  47. Ullah, F.; Khan, N.; Hussain, T.; Lee, M.; Baik, S. Diving Deep into Short-Term Electricity Load Forecasting: Comparative Analysis and a Novel Framework. Mathematics 2021, 9, 611. [Google Scholar] [CrossRef]
  48. Mocanu, E.; Nguyen, P.; Gibescu, M.; Kling, W.L. Deep learning for estimating building energy consumption. Sustain. Energy Grids Netw. 2016, 6, 91–99. [Google Scholar] [CrossRef]
  49. Marino, D.L.; Amarasinghe, K.; Manic, M. Building Energy Load Forecasting using Deep Neural Networks. In Proceedings of the IECON 2016—42nd Annual Conference of the IEEE Industrial Electronics Society, Florence, Italy, 24–27 October 2016; pp. 7046–7051. [Google Scholar]
  50. Le, T.; Vo, M.T.; Vo, B.; Hwang, E.; Rho, S.; Baik, S.W. Improving Electric Energy Consumption Prediction Using CNN and Bi-LSTM. Appl. Sci. 2019, 9, 4237. [Google Scholar] [CrossRef] [Green Version]
  51. Kim, J.-Y.; Cho, S.-B. Electric Energy Consumption Prediction by Deep Learning with State Explainable Autoencoder. Energies 2019, 12, 739. [Google Scholar] [CrossRef] [Green Version]
  52. Rajabi, R.; Estebsari, A. Deep Learning Based Forecasting of Individual Residential Loads Using Recurrence Plots. In Proceedings of the 2019 IEEE Milan PowerTech, Milan, Italy, 23–27 June 2019; pp. 1–5. [Google Scholar]
  53. Khan, Z.A.; Hussain, T.; Ullah, A.; Rho, S.; Lee, M.; Baik, S.W. Towards Efficient Electricity Forecasting in Residential and Commercial Buildings: A Novel Hybrid CNN with a LSTM-AE based Framework. Sensors 2020, 20, 1399. [Google Scholar] [CrossRef] [Green Version]
  54. Sajjad, M.; Khan, Z.A.; Ullah, A.; Hussain, T.; Ullah, W.; Lee, M.Y.; Baik, S.W. A Novel CNN-GRU-Based Hybrid Approach for Short-Term Residential Load Forecasting. IEEE Access 2020, 8, 143759–143768. [Google Scholar] [CrossRef]
  55. Kim, T.-Y.; Cho, S.-B. Predicting residential energy consumption using CNN-LSTM neural networks. Energy 2019, 182, 72–81. [Google Scholar] [CrossRef]
  56. Bu, S.-J.; Cho, S.-B. Time Series Forecasting with Multi-Headed Attention-Based Deep Learning for Residential Energy Consumption. Energies 2020, 13, 4722. [Google Scholar] [CrossRef]
  57. Khan, N.; Haq, I.U.; Khan, S.U.; Rho, S.; Lee, M.Y.; Baik, S.W. DB-Net: A novel dilated CNN based multi-step forecasting model for power consumption in integrated local energy systems. Int. J. Electr. Power Energy Syst. 2021, 133, 107023. [Google Scholar] [CrossRef]
  58. Zamee, M.A.; Won, D. Novel Mode Adaptive Artificial Neural Network for Dynamic Learning: Application in Renewable Energy Sources Power Generation Prediction. Energies 2020, 13, 6405. [Google Scholar] [CrossRef]
Figure 1. The overall mechanism of the energy generation, transformation, and consumption.
Figure 1. The overall mechanism of the energy generation, transformation, and consumption.
Sensors 21 07191 g001
Figure 2. The proposed framework for short-term electricity generation and consumption prediction.
Figure 2. The proposed framework for short-term electricity generation and consumption prediction.
Sensors 21 07191 g002
Figure 3. Original and refine data representation of the IHEPC dataset.
Figure 3. Original and refine data representation of the IHEPC dataset.
Sensors 21 07191 g003
Figure 4. (a) Shows the traditional convolution layers while ACL is represented in (b).
Figure 4. (a) Shows the traditional convolution layers while ACL is represented in (b).
Sensors 21 07191 g004
Figure 5. Visual representation of 1D convolution with numerous atrous rates.
Figure 5. Visual representation of 1D convolution with numerous atrous rates.
Sensors 21 07191 g005
Figure 6. Representation of skip connection or residual concept in GRU.
Figure 6. Representation of skip connection or residual concept in GRU.
Sensors 21 07191 g006
Figure 7. Performance of the proposed model over IHEPC dataset.
Figure 7. Performance of the proposed model over IHEPC dataset.
Sensors 21 07191 g007
Figure 8. Performance of the proposed model over the KCB dataset.
Figure 8. Performance of the proposed model over the KCB dataset.
Sensors 21 07191 g008
Figure 9. Performance of the proposed model over the solar dataset.
Figure 9. Performance of the proposed model over the solar dataset.
Sensors 21 07191 g009
Table 1. Detailed description of the solar dataset with parameters and units.
Table 1. Detailed description of the solar dataset with parameters and units.
#ParametersValues
01Plant Maximum Output2610 kW
02Plant Capacity3026 kW
03Maximum Inclined Irradiance999.96
04Maximum Surface Temperature49.78
05Maximum Surrounding Temperature125.60
06Duration(2015–2018)
07Time Internal1 h
08Data Points17,252
Table 2. Detailed description of the IHEPC residential dataset with features and units.
Table 2. Detailed description of the IHEPC residential dataset with features and units.
#Available FeaturesUnitsDetail Description
01Datedd/mm/yyAll data contain integer values in proper range and format (1–30), (1–20), (2006–2010) days/months/years
02Timehh/mm/ssAll the time is given in hours/minutes/seconds
03Global Active PowerkiloWatts (kW)1 min’s data are recorded
04Global Reactive Power
05VoltageVolts (V)1 min’s mean value in voltage
06Global IntensityAmp1 min average for intensity
07Sub-Metering 1Watt-hour (Wh)All metering data are related to kitchen appliances such as oven, microwave. Living house-associated appliances such as washing machine, freezer. Bedroom involves air conditioners and heaters.
08Sub-Metering 2
09Sub-Metering 3
Table 3. Various models performance over the IHEPC dataset using hourly resolution data. Bolds results demonstrate the best performance.
Table 3. Various models performance over the IHEPC dataset using hourly resolution data. Bolds results demonstrate the best performance.
MethodMSERMSEMAE
ACL0.21120.45950.3143
RGRU0.18410.42900.2984
Proposed0.17530.41860.2635
Table 4. Various models performance over the KAB dataset using hourly resolution data. Bold results demonstrate the best performance.
Table 4. Various models performance over the KAB dataset using hourly resolution data. Bold results demonstrate the best performance.
MethodMSERMSEMAE
ACL0.01240.11130.0928
RGRU0.01210.11000.0827
Proposed0.00010.01000.0031
Table 5. Various models performance over the solar dataset using hourly resolution data. Bold results demonstrate the best performance.
Table 5. Various models performance over the solar dataset using hourly resolution data. Bold results demonstrate the best performance.
MethodMSERMSEMAE
ACL0.01930.13890.1297
RGRU0.01870.13670.1175
Proposed0.01770.13320.1013
Table 6. Comparative analysis of the proposed method with state-of-the-art for hourly data resolution using IHEPC. Bold and underlined results demonstrate the best and runner-up performance.
Table 6. Comparative analysis of the proposed method with state-of-the-art for hourly data resolution using IHEPC. Bold and underlined results demonstrate the best and runner-up performance.
ReferencesMethodMSERMSEMAE
Mocanu et al. [48] 2016FCRBM-0.66-
Marino et al. [49] 2016LSTM-S2S0.550.74-
Ullah et al. [32] 2019MLDB-BLSTM0.310.560.34
Le et al. [50] 2019CNN-BiLSTM0.290.540.39
Rajabi et al. [52] 2019CNN-2D-RP-0.790.59
Kim and Cho [51] 2019SE-AE0.38-0.39
Kim and Cho [55] 2019CNN-LSTM0.370.610.34
Khan et al. [53] 2020CNN+LSTM-AE0.190.470.31
Sajjad et al. [54] 2020CNN-GRU0.220.470.33
Khan et al. [21] 2020CNN-MB-GRU0.180.420.29
Jun and Cho [56] 2020CNN-LSTM-MHA0.26--
Khan et al. [57] 2021AB0.560.750.67
ProposedACL+RGRU0.170.410.26
Table 7. Execution time of the proposed model using the solar dataset.
Table 7. Execution time of the proposed model using the solar dataset.
Local SystemsTraining Time (s)Testing Time (s)
CPU6400.08
GPU3280.001
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Khan, S.U.; Haq, I.U.; Khan, Z.A.; Khan, N.; Lee, M.Y.; Baik, S.W. Atrous Convolutions and Residual GRU Based Architecture for Matching Power Demand with Supply. Sensors 2021, 21, 7191. https://doi.org/10.3390/s21217191

AMA Style

Khan SU, Haq IU, Khan ZA, Khan N, Lee MY, Baik SW. Atrous Convolutions and Residual GRU Based Architecture for Matching Power Demand with Supply. Sensors. 2021; 21(21):7191. https://doi.org/10.3390/s21217191

Chicago/Turabian Style

Khan, Samee Ullah, Ijaz Ul Haq, Zulfiqar Ahmad Khan, Noman Khan, Mi Young Lee, and Sung Wook Baik. 2021. "Atrous Convolutions and Residual GRU Based Architecture for Matching Power Demand with Supply" Sensors 21, no. 21: 7191. https://doi.org/10.3390/s21217191

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop