Next Article in Journal
Improved Deep CNN with Parameter Initialization for Data Analysis of Near-Infrared Spectroscopy Sensors
Next Article in Special Issue
Evaluation of the Visual Stimuli on Personal Thermal Comfort Perception in Real and Virtual Environments Using Machine Learning Approaches
Previous Article in Journal
Data-Driven Bias Correction and Defect Diagnosis Model for In-Service Vehicle Acceleration Measurements
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Deep Learning Assisted Buildings Energy Consumption Profiling Using Smart Meter Data

1
Intelligent Media Laboratory, Digital Contents Research Institute, Sejong University, Seoul 143-747, Korea
2
Department of Software, Sejong University, Seoul 143-747, Korea
*
Author to whom correspondence should be addressed.
Sensors 2020, 20(3), 873; https://doi.org/10.3390/s20030873
Submission received: 28 November 2019 / Revised: 31 January 2020 / Accepted: 2 February 2020 / Published: 6 February 2020

Abstract

:
The exponential growth in population and their overall reliance on the usage of electrical and electronic devices have increased the demand for energy production. It needs precise energy management systems that can forecast the usage of the consumers for future policymaking. Embedded smart sensors attached to electricity meters and home appliances enable power suppliers to effectively analyze the energy usage to generate and distribute electricity into residential areas based on their level of energy consumption. Therefore, this paper proposes a clustering-based analysis of energy consumption to categorize the consumers’ electricity usage into different levels. First, a deep autoencoder that transfers the low-dimensional energy consumption data to high-level representations was trained. Second, the high-level representations were fed into an adaptive self-organizing map (SOM) clustering algorithm. Afterward, the levels of electricity energy consumption were established by conducting the statistical analysis on the obtained clustered data. Finally, the results were visualized in graphs and calendar views, and the predicted levels of energy consumption were plotted over the city map, providing a compact overview to the providers for energy utilization analysis.

1. Introduction

In recent years, the global demand for energy has propelled due to population growth, the utilization of electrical and electronic devices, economic development, and dramatic changes in climate. The residential sector is regarded as one of the major consumers of energy [1]. According to the United Nations Environment Program [2], buildings consume approximately 40% of global energy. This fact brings huge challenges to the power-supply side and energy management systems. Nevertheless, at the same time, it stimulates data scientists to come up with new methods for energy consumption predictions, which contribute to optimal energy usage and a more balanced distribution from the power supply side [3]. Smart sensing technologies collect data from multiple sources such as room temperature, humidity, wind speed, heating load, cooling load, and the energy consumption of all home appliances. This multivariant data provide an analysis platform for the data scientist to utilize it for forecasting and effective energy consumption management.
Energy consumption is dependent on many factors such as the infrastructure, energy prices, and weather conditions. Therefore, it is very difficult to forecast the overall energy demand of residential buildings by simulating each building performance with conventional systems [4]. Alternatively, machine learning and data mining techniques can be utilized, which exploit knowledge from historical data and can provide enough decision-making predictions, the basis for designing new power distribution configurations for residential areas [5,6].
In the past decade, several machine learning techniques including supervised and unsupervised approaches have been utilized for energy consumption level predictions [7]. Among the unsupervised learning techniques, clustering is considered as one of the most frequently applied techniques in data mining and machine learning. Clustering involves partitioning objects with similar patterns under observation into different groups. A vast number of works on clustering electricity usage patterns have been presented by researchers. For instance, Kim et al. [8] generated a typical load profile from data measured with automatic meter reading systems, then performed cluster analysis using three clustering algorithms, specifically, the hierarchical, k-means, and fuzzy c-means algorithms. Hernandez et al. [9] classified daily load curves in industrial parks, which can be regarded as microgrids from the energy network perspective using SOM, then exploited k-means to obtain a number of clusters. Ford and Siraj [10] demonstrated the possibility of applying disaggregation techniques on smart meter data via fuzzy c-means clustering. A similar work is attributed to Rhodes et al. [11] where they utilized the k-means algorithm to group residential houses with similar hourly electricity use profiles. Ramos et al. [12] proposed a method to characterize electricity medium voltage consumers by using several clustering algorithms. In order to choose the best one among the typical load profiles, they measured the performance of the clustering algorithms in terms of eight clustering validity indices. To deal with scalability and computational complexity of the power consumption profiling process, Al-Jarrah et al. [13] proposed the multi-layered clustering method for power consumption profiling. First, they acquired local power consumption profiles using k-means, considering clusters with a low number of patterns as abnormal power consumption behavior. In the second stage, a global power consumption profile was derived from the local ones. Furthermore, Cai et al. [14] applied an improved k-means algorithm with particle swarm optimization (PSO) to open residential buildings dataset to divide their electricity consumption in an entire region into different levels. To extract the daily electricity consumption behavior of a household, Nordahl et al. [15] used the centroids of the generated clusters by k-medoids. Park and Son [16] developed a methodology in which one-dimensional time series smart meter data were reshaped to two-dimensional arrays called load profile images. After performing image processing techniques on those images, they derived the class load image profiles via clustering algorithms. Rasanen et al. [17] partitioned customers into electricity user groups based on similar electricity usage behavior with the SOM, k-means, and hierarchical clustering algorithms. Similarly, to group electricity consumption profiles, Wen et al. [18] investigated a shape-based clustering method.
The discussed literature reveals several limitations of the employed techniques from various perspectives of energy consumption prediction. The aforementioned literature lacks focus on capturing the recognizable patterns in building smart sensing data, which has a limited number of features. These features can be represented in low dimensional feature space and may affect the overall performance in data analytic tasks. The majority of the existing techniques enquire about the number of clusters to differentiate among distinct categories of data. In addition, the presentation of the energy consumption for data analysts and common individuals is a common problem that has not been tackled effectively in the existing literature. Therefore, aiming at the mentioned problems in energy predictions for households, this paper presents a novel framework with the following main contributions:
(1) The energy consumption data acquired from residential building smart sensors are of very low dimensions, and finding recognizable patterns in such data is very difficult, which affects the performance of electrical energy consumption analysis. To address this issue, a deep autoencoder, which effectively learns and converts the tiny pattern representations in low dimensional data into high-level representations, is proposed.
(2) The mainstream clustering algorithms require an input parameter to divide data into multiple clusters. In this paper, an adaptive clustering algorithm known as self-organizing maps (SOMs) was utilized to efficiently divide the high dimensional data achieved from the pre-trained deep autoencoder into multiple clusters.
(3) After the division of data into multiple clusters, statistical analysis was performed on the clustered data to know which buildings had a higher-, mid-, and low- level of energy consumption.
(4) The energy providers are not always data analysists who can understand the processed information easily. Therefore, after clustering and finding the levels of energy consumption, the information was visualized on the map of the city from where the data were gathered. This helps the proposed framework to precisely present the electricity consumption data of different areas of the city to the providers.
The rest of the paper is organized as follows. All technical details of the proposed framework are discussed in Section 2. The experimental evaluation and discussion on the results are given in Section 3. Section 4 summarizes the key findings of this article and our recommendations for future research.

2. Proposed Method

In this section, the core steps of the proposed methodology are discussed in detail. Figure 1 demonstrates the overall dataflow of the proposed framework, which is divided into five steps. First, data are acquired from the smart sensors of the buildings’ electricity meters. Next, the data goes through the pre-processing stage. Afterward, the deep autoencoder is pre-trained. At the fourth stage, the pre-trained autoencoder is trained jointly with a clustering layer through which a number of clusters are obtained. Finally, each cluster is defined with the level of energy consumption.

2.1. Datasets

In this study, the experimental results were conducted over two benchmark datasets. These datasets are fundamentally different from each other in a sense that the first dataset contains energy consumption smart sensors data from residential buildings in a city whereas the second one represents the data of a single house. This means that the proposed system was assessed from different viewpoints: analyzing the whole city and focusing on the single house. First, the proposed technique was examined on the dataset of the monthly energy consumption of Gainesville, located in Alachua County (Florida, USA), which is available via the Open Energy Information website [19]. The data contained the monthly electricity usage of 29,393 residential buildings measured in kWh over the period of five years from 2006 to 2010. During data inspection, some inconsistent samples and outliers were detected. Therefore, they were effectively removed from the dataset because their percentage was insignificant. Next, a single feature defined as kWh per area was used for the experiment. For this purpose, initially, a gross floor area of each building was extracted from the residential buildings’ characteristics data, and then the electricity energy consumption of each house was divided by their gross area. Finally, this single feature was passed into a proposed deep autoencoder.
The second dataset is available on the UCI Repository [20]. It holds 2,075,259 measurements of electric power consumption collected from December 2006 to November 2010 in a house situated in Sceaux, near Paris, France. Some missing values were present in the data, which comprised around 1.25% of the whole data. Pre-processing steps were applied, and all samples were normalized. The original data were recorded with a sampling rate of one minute. Therefore, the minutely data were resampled to a daily one to obtain the level of electricity energy consumption on a daily basis.

2.2. Smart Sensors Data Acquisition and Pre-processing

It is a common fact and proven from recent studies that the performance of trained artificial intelligence (AI) models depend upon the data. Therefore, if the data are accurate and well organized, it helps to precisely train any AI model. Furthermore, the real-world energy consumption data gathered from different kinds of sensing devices are stored in raw format, often incomplete, not well organized, and inconsistent. Therefore, in the proposed framework, the raw data first undergoes the data pre-processing stage, where the noise and outliers are removed. The data distributions before and after the pre-processing step is given in Figure 2 where it can be seen that one sample is an outlier and separated from the other data samples, which would make the training ineffective, therefore, all such samples were removed from the data. Furthermore, as data loss may be encountered during data transmission in networks, some values in the data might be absent. Therefore, in the proposed framework, the missing values in the data were handled by utilizing the mean imputation method [21]. The dataset used for the experiments had only 1.25% of missing values, which were very precisely handled by the mean imputation method. Finally, the min–max method was applied for the normalization of data [22], which maps the entire range of values from 0 to 1 in such a way that the minimum and maximum values become 0 and 1, respectively. The effect of normalization can be seen in Figure 2 where the data distributions are much better to divide into multiple clusters.

2.3. Deep Autoencoder for Feature Learning

Artificial neural networks (ANNs) have been extensively used in the past decade and have different variants that are used for various kinds of data analysis [23]. The autoencoders are one of the effective types of ANN, which are mostly used for compressing data from high to low dimension features or expending from low to high dimension features. It efficiently learns the patterns in data, encodes it, squeezes, or expand it, and reconstructs it to the original form by utilizing the ANN backpropagation technique to tune its parameters and reduce the error rate. Autoencoders have been investigated in research areas such as image super-resolution [24] and denoising [25,26]. Ribeiro et al. [27] used the reconstruction error of appearance and motion features with a combination of video frames from a convolutional autoencoder to detect anomalous behavior. In addition, Zhavoronkov et al. [28] applied a variational autoencoder to map the chemical structure into a latent vector in their approach on the generative molecular design.
The typical autoencoder consists of two parts [29], the first part is called an encoder f W : x z , where the model learns how to squeeze or expand the input dimensions and convert it into a latent-space representation based on Equation (1).
z = f x =   σ W x + b
where σ is an activation function that can be sigmoid, tanh, and ReLU, etc. In the proposed technique, the ReLU activation function was utilized. W is the trainable weights, b is the bias unit, and x is the input value. The second part of the autoencoder is a decoder g W : z x , where the model learns how to convert the encoded data back to its original representation based on Equation (2).
x = g z =   σ W z + b
The encoder and decoder are symmetrical to each other and share an intermediate layer known as a bottleneck, where the compressed or the extended data lies. In the deep structure of autoencoders, the data from the previous layer are input x to the next layer; the processing formula for deep and simple autoencoders is the same. Considering the energy consumption level prediction problem, the acquired energy data from different smart sensors is not sufficient to train a precise AI model. Recent studies indicate that effective AI models need a huge amount of data of intermediate dimensions. To address the issue of less data, researchers have utilized different kinds of oversampling techniques. For high to intermediate dimensions, researchers have utilized principal component analysis (PCA) and autoencoders. However, the low to high dimensions problem is very rarely addressed by data scientists because in this case, it is very difficult to reproduce the exact form of original data. In the proposed technique, a deep autoencoder has been presented to learn the patterns in low dimensional features so that high-level representations can be extracted from the energy consumption data. This idea was adopted from the deconvolution process in the recent convolutional neural network models such as FlowNet and FlowNet2 where they applied 2D filters to reconstruct an image from low dimensional features. Therefore, the design of the proposed autoencoder is different from the conventional structure of autoencoders where it is utilized to seek a non-linear mapping between low-dimensional original features and higher-dimensional latent feature space. For instance, given an input x   ϵ   d , the encoder maps it to z p , where d is the dimensions of x and p is the dimensions of z, such that d < p, resulting in high-dimensional features in latent space being extracted using four encoding layers. The first layer encodes x-dimensional feature vector to five neurons, followed by 10, 20, and 25 dimensions, respectively. The five neurons increase between the autoencoder layers was chosen because the first dataset only had two features and similarly four features in the second dataset. Therefore, a direct increase from two to 25 is inefficient and the model faces an overfitting problem if it is trained for many iterations. The proposed deep autoencoder has been trained from scratch for 1000 epochs to estimate the non-linear mapping function f W . During this phase, the learnable weights are adjusted iteratively by minimizing the difference between the original input and its reconstruction via the ANN backpropagation technique. The trained deep autoencoder was utilized jointly with SOM for clustering household energy data.

2.4. Fine-Tuning Train Deep Autoencoder with SOM for Clustering

Transfer learning, which is also known as fine-tuning, is a very effective process of patterns finding in raw data by utilizing AI trained models for different tasks. For instance, the famous convolutional neural network models including AlexNet, GoogleNet, and VGGNet are first trained on a large scale image dataset, then utilized for different tasks like object detection, tracking, and salient information extraction etc. using a parameter fine-tuning process [30]. In the fine-tuning process, the parameters of the model are not randomly initialized, but are tuned from the values it is already trained in, which helps the cost function to easily fit the underlying problem without going into any overfitting or underfitting problem. The proposed problem is related to clustering, where the energy consumption data are being divided into multiple clusters. The existing clustering techniques are mostly based on statistical formulas and are very difficult to fine tune with the trained neural network models. Second, for these techniques such as k-means [31], Density-based spatial clustering of applications with noise (DBSCAN) [32], Ordering points to identify the clustering structure (OPTICS) [33], etc., direct features are needed to feed to these algorithms, not the raw data that needs to be processed first for patterns extraction. Furthermore, it is very complicated to fuse statistical methods with the AI trainable parameters for the clustering task. Therefore, in the proposed technique, a NN based clustering technique is utilized for clustering by adding its layers to the bottleneck of the pre-trained deep autoencoder.
Given an estimate of the non-linear mapping function f W , the deep autoencoder and clustering layer are jointly trained. The input for the cluster layer is learned latent space from the bottleneck of the pre-trained model. For clustering, the SOM was chosen, also known as Kohonen’s map [34]. The internal structure of the SOM is given in Figure 3. It consists of one- or two-dimensional grid of N processing units also called neurons. Each unit or neuron n is associated with a prototype vector v n = [ v n 1 , ,   v n δ ], where δ is the dimension of an input vector. The SOM stands out from other NN based techniques because it utilizes a neighborhood function to preserve the topological structure of the input space. Another property of the SOM is that it is based on competitive learning: the neurons whose weights vector match the input sample most closely according to some distance function are selected as the winner neurons b (Equation (3)). The weights of the winner neurons and its neighbors in the gird are updated toward the input sample with an adaptation coefficient α t according to an update rule in Equation (4). In this study, the neighboring units are determined by a Gaussian neighborhood function defined in Equation (5).
x v b = m i n n x v n
v n t + 1 = v n t + α t K d x v n t
K d =   e ( d λ t ) 2
where d is the Manhattan distance between the winner neuron b and the other neuron n on the SOM map. The temperature parameter λ t controls the radius of the neighborhood and shrinks linearly with time t as calculated in Equation (6).
λ t = T m a x t N × T m a x T m i n ,   t = 0 ,   1 ,   2 ,
where T m a x and T m i n correspond to the maximum and minimum temperatures, respectively. N is the maximum number of iterations for the input pattern x. Once the SOM network is trained, during the mapping process, when the testing sample is presented as an input, only the best matching unit is selected as a cluster label.

2.5. Level of Consumption by Each Cluster

In order to achieve proper usage of the acquired clustering results, the energy consumption data was divided into various levels. Followed by this, appropriate levels of energy consumption were assigned to each cluster that were attained in the previous step. It has a bonus point where energy consumption analysts can easily differentiate among regions with a higher and lower level of energy consumption. When the dataset is divided into partitions, it is necessary to determine their degree of electricity energy utilization. For this purpose, the partitions were sorted according to their centers, and statistical measures were employed to identify which cluster represents a particular degree of electricity energy consumption. The median values of the features were chosen to compare the clusters. The reason why the median was chosen is that it is robust against outliers and skewed distributions. After computing the median of the feature, the clusters were sorted in ascending order according to their medians. In this manner, each cluster obtained its appropriate level of energy consumption. A sample representation for assigning levels to each cluster is given in Figure 4.

3. Experimental Results and Discussion

This section describes the experiments conducted to evaluate the proposed scheme on two benchmark energy consumption datasets including the DOE building performance [19] and individual household electric power consumption [20]. Various experiments were conducted using the raw features from datasets and encoded high dimensional features. Furthermore, the outcomes of clustering the energy consumption for yearly, monthly, weekly, and daily basis were discussed. The experimentation was carried out on R and Python 3.6 with RStudio and Jupyter Notebook IDEs on a Windows 10 OS with an Intel Core i7, 3.6 GHz processor, and 16 GB of RAM. In the experiments, the grid size was set to 2 × 2 and 4 × 1 while the temperature parameters T m a x   and T m i n were 10.0 and 0.001, respectively. The training process was performed with a batch size of 5 and iterated for 10,000 times according to Algorithm 1.
Algorithm 1 Clustering with SOM
1: Input: Input data: X; SOM grid size M, N; Temperatures T m a x , T m i n ; Maximum iterations MaxIter;
2: Preparation:
3:     Pretrained deep autoencoder
4: Steps:
5:     for i from 0 to MaxIter do
6:            Load training batch
7:            Compute cluster assignments for the batch using Equation (3).
8:            Update the temperature parameter using Equation (6).
9:            Compute topographic weights for the batch using Equation (5).
10:           Train autoencoder
11:     end for
12:           Assign energy consumption levels to clusters
Output: Levels of energy consumption

3.1. Evaluation Metrics

The evaluation of clustering algorithms is not a simple task compared to supervised classification algorithms. Generally, two approaches are used widely to judge the quality of the clustering algorithms: external and internal. External criteria are based on the knowledge about the ground truth class assignments of the data samples. However, that kind of prior information is usually not available or very costly to gather. Unlike the external evaluation method, internal criteria rely on information within the dataset. In this study, the three cluster validity indices were used to evaluate the performance of the proposed technique: The Silhouette coefficient [36], the Calinski–Harabasz [37], and the Davies–Bouldin indices [38].
The Silhouette score [36] judges the clustering performance based on the pairwise difference of inter- and intra-cluster distances. For a single sample in the dataset, the silhouette score is defined in Equation (7).
s = b a min x a , b  
where a and b are the mean distances between one sample and all other points within the same partition and within the next nearest cluster, respectively. The overall score for the entire dataset is computed by taking the mean of all the silhouette scores of each point.
The Calinski–Harabasz (CH) index [37] is calculated by computing the ratio of the traces of intra- and inter-cluster scatter matrices for K clusters as given in Equation (8).
C H = k = 1 K n k z k z 2 Σ k = 1 K Σ i = 1 n k x i z k 2 × n K K 1  
where n is the number of samples in the dataset and n k is the number of points in cluster k. The z and z k are the centers of the entire data points and cluster k, respectively. Given the cluster diameters s i and s j of cluster i and j , and the distance between these two clusters d i j , then the clustering algorithm is evaluated using Equation (9).
R i j = s i + s j d i j  
This means that the lower the value of R i j , the better the separation of the clusters and the compactness within the clusters. For instance, Davies–Bouldin (DB) index [38] for k clusters can be formulated as given in Equation (10).
D B = 1 k i = 1 k max   i j R i j

3.2. Results and Comparison with State-of-the-Art

The proposed clustering technique was compared with other conventional algorithms including k-means [31], ward [39], average-linkage [40], optics [33], birch [41], and fuzzy adaptive resonance theory (Fuzzy ART) [42], which is also based on competitive learning. The data for experiments over both datasets were split into training and test sets with a ratio of 4:1. The achieved results for the DOE building performance and individual household electricity power consumption datasets are given in Table 1 and Table 2, respectively. The scores are given in both tables where the highest score is represented in bold and the runner-up is underlined. The clustering validity indices with the dash sign indicate that a clustering algorithm yielded only a single cluster. The second last column shows whether or not the algorithm needs an input number of clusters and the retrieved clusters represent how many clusters have been generated by an algorithm for the given data.
Two kinds of experiments were performed for the proposed SOM clustering algorithm. First, the 2D-SOM structure with a grid size 2 × 2 was applied, however, the results achieved for this was not better than the k-means and others; it had the same accuracy as the state-of-the-art techniques. Next, the 1D-SOM structure with a grid size 4 × 1 was applied, and this architecture outperformed the state-of-the-art techniques. This can be explained by the fact that 1-dimensional SOM adjusts itself more easily to the underlying distribution of the dataset rather than 2-dimensional SOM [43]. The proposed method achieved the highest CH score of 690,916.65, and the second were Silhouette and DB scores of 0.58 and 0.49, respectively, for the DOE building performance dataset using the 1D-SOM architecture. The average linkage algorithm achieved the highest scores of 0.95 and 0.33 for Silhouette and DB, respectively. Similarly, the k-means achieved the second highest score of 683,580.737 for CH. Analogously, by using the individual household electricity power consumption dataset, the proposed method achieved the highest scores of 0.2412 and 85.2139 for Silhouette and CH, respectively, and was the second highest for DB. The average linkage achieved the highest for DB and second highest for Silhouette. Similarly, the k-means achieved the second highest for 84.1566 and 1.49 for CH and DB, respectively. The Birch and Fuzzy ART algorithms retrieved only one cluster for the DOE building performance dataset. Similarly, the Optics and Birch retrieved only one cluster for the individual household electricity power consumption dataset. The proposed clustering technique outperformed all of the clustering algorithms, except for the k-means and average-linkage hierarchical clustering algorithms in some cases. However, the advantage of 1D-SOM over k-means and average linkage is that, it does not enforce the number of clusters to be exactly equal to the input size. The SOM requires the maximum number of possible clusters and it adjusts very effectively to the number of clusters that can be generated from data. While assigning data to its units, some of the grid units may be empty with no sample assignment to it.

3.3. Cluster Visualizations and Analysis

Visualization is a very important aspect of big data analytics. The clustering results have been visualized in various ways for the ease of energy providers. The residential DOE buildings dataset has the important feature of area, which is very helpful in knowing how much energy is consumed per area. The partitioning of this dataset is based on the rate of electricity energy consumption rate per area of the residential buildings. Therefore, Figure 5a,b show whether energy consumption is related to area or not.
It is widely-known that an increase in building area will increase the energy consumption. However, using the proposed technique, the data are clustered in a way in which the higher consumption small area buildings are grouped with higher consumption large area buildings. This means that the area has some effect, but it cannot be said that the area is directly proportional to energy consumption; if the ratios of consumption are checked, they are similar. So, from this analysis, it can be derived as which buildings are consuming more from its daily needs. Furthermore, the levels of consumption were assigned to clusters for the residential DOE building dataset based on the median value of the electricity energy consumption rate per area in each cluster. For instance, in Figure 6b, cluster 0 had the smallest median value among other clusters, therefore it resembled the lowest level of energy consumption. Similarly, all clusters were assigned to their corresponding levels of energy usage from the lowest to highest. Afterward, the level of consumption was visualized on the map of Gainesville city. Since the coordinates of location of residential buildings were not available in the dataset, therefore, zip codes of the city were utilized, and the most frequent level of electricity utilization was selected for each area defined by zip codes; the results are presented in Figure 6c.
For the individual household electricity power consumption, seven features were exploited for clustering and its analysis. Due to multiple features, the scattered plot visualization was not interpretable and ineffective in this case, as shown in Figure 5c,d. The 3D plot in Figure 5d was better for understanding the partition, however, it could not provide information about the feature dependency on the energy consumptions. Therefore, these data were analyzed on a monthly and daily basis and resampled for both cases in a different manner. The monthly consumption patterns provide broader details of energy consumption by a user and the daily levels prediction provide more detailed information about the individual usage of energy. For this dataset, the levels of consumption were identified based on the median value of Global Active Power Consumption and visualized in Figure 6a. Similarly, the levels of monthly consumption were predicted and illustrated in Figure 7. Finally, the daily profiles of the individuals are provided in Figure 8 for a period of five years and each level has been assigned a different color, which can easily indicate at what period of the year the user is consuming more energy.

4. Conclusions

In this paper, a clustering based electricity power consumption level prediction technique was presented for consumer profiling using smart sensor data. The proposed framework was based on a deep autoencoder and SOM. First, the smart sensor energy data were passed through a pre-processing step, where mean imputation and min-max methods are used for data normalization and outlier removal. Next, a deep autoencoder was trained to transfer the low dimensional energy data to high-level representations. These high-level representations were then fed into an adaptive SOM clustering algorithm. Finally, statistical analysis was done on the obtained clustered data to establish different levels of the electrical energy consumption level of each user. Furthermore, the energy consumption levels for efficient analysis were visualized by means of graphs and bar charts and we plotted the predicted levels on the map of a city, which clearly showed which part of the city had more energy consumption. Using this approach, providers can forecast each building’s energy consumption and produce that amount of energy in the future. Furthermore, it provides the timeline and behavior of energy utilization of each building’s energy utilization on a daily, weekly, monthly, and yearly basis. In future work, variational autoencoders can be utilized, which have the ability to understand the underlying probability distribution of the source data. Additionally, finding the parameters of the distribution can be investigated, which will help predict the variation in low dimensional data.

Author Contributions

Conceptualization, A.U.; methodology, A.U.; software, K.H.; validation, K.H., I.U.H. and K.M.; formal analysis, M.L.; investigation, K.H.; resources, S.W.B.; data curation, I.U.H.; writing—original draft preparation, A.U.; writing—review and editing, K.M. and I.U.H.; visualization, K.H.; supervision, S.W.B.; project administration, M.L.; funding acquisition, S.W.B. and S.R. All authors have read and agreed to the published version of the manuscript.

Acknowledgments

This work was supported by the National Research Foundation of Korea (NRF), grant funded by the Korea government (MSIT) (No. 2019M3F2A1073179).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Naspi, F.; Arnesano, M.; Stazi, F.; D’Orazio, M.; Revel, G.M. Measuring Occupants’ Behaviour for Buildings’ Dynamic Cosimulation. J. Sens. 2018, 2018. [Google Scholar] [CrossRef] [Green Version]
  2. Programme, U.N.E. Energy Efficiency for Buildings. Available online: http://www.studiocollantin.eu/pdf/UNEP%20Info%20sheet%20-%20EE%20Buildings.pdf (accessed on 9 September 2019).
  3. Larsen, G.K.H.; van Foreest, N.D.; Scherpen, J.M.A. Power supply-demand balance in a Smart Grid: An information sharing model for a market mechanism. Appl. Math. Model. 2014, 38, 3350–3360. [Google Scholar] [CrossRef]
  4. Naspi, F.; Stazi, F.; Arnesano, M.; Seri, F.; Zampetti, L.; Revel, G.M.; D’Orazio, M. Measuring users-windows interactions in buildings: Behavioural models for the summer season. TEMA 2018, 4, 1–12. [Google Scholar]
  5. Sameti, M.; Haghighat, F. Optimization of 4th generation distributed district heating system: Design and planning of combined heat and power. Renew. Energ. 2019, 130, 371–387. [Google Scholar] [CrossRef]
  6. Grindvoll, H.; Vermesan, O.; Crosbie, T.; Bahr, R.; Dawood, N.; Revel, G.M. A wireless sensor network for intelligent building energy management based on multi communication standards-A case study. J. Inf. Technol. Constr. 2012, 17, 43–61. [Google Scholar]
  7. Ai, S.; Chakravorty, A.; Rong, C. Household Power Demand Prediction Using Evolutionary Ensemble Neural Network Pool with Multiple Network Structures. Sensors 2019, 19, 721. [Google Scholar] [CrossRef] [Green Version]
  8. Kim, Y.-I.; Ko, J.-M.; Choi, S.-H. Methods for generating TLPs (typical load profiles) for smart grid-based energy programs. In Proceedings of the 2011 IEEE Symposium on Computational Intelligence Applications in Smart Grid (CIASG), Paris, France, 11–15 April 2011; pp. 1–6. [Google Scholar]
  9. Hernández, L.; Baladrón, C.; Aguiar, J.; Carro, B.; Sánchez-Esguevillas, A. Classification and clustering of electricity demand patterns in industrial parks. Energies 2012, 5, 5215–5228. [Google Scholar] [CrossRef] [Green Version]
  10. Ford, V.; Siraj, A. Clustering of smart meter data for disaggregation. In Proceedings of the 2013 IEEE Global Conference on Signal and Information Processing, Austin, TX, USA, 3–5 December 2013; pp. 507–510. [Google Scholar]
  11. Rhodes, J.D.; Cole, W.J.; Upshaw, C.R.; Edgar, T.F.; Webber, M.E. Clustering analysis of residential electricity demand profiles. Appl. Energ. 2014, 135, 461–471. [Google Scholar] [CrossRef] [Green Version]
  12. Ramos, S.; Duarte, J.M.; Duarte, F.J.; Vale, Z. A data-mining-based methodology to support MV electricity customers’ characterization. Energy Build. 2015, 91, 16–25. [Google Scholar] [CrossRef] [Green Version]
  13. Al-Jarrah, O.Y.; Al-Hammadi, Y.; Yoo, P.D.; Muhaidat, S. Multi-layered clustering for power consumption profiling in smart grids. IEEE Access 2017, 5, 18459–18468. [Google Scholar] [CrossRef]
  14. Cai, H.; Shen, S.; Lin, Q.; Li, X.; Xiao, H. Predicting the energy consumption of residential buildings for regional electricity supply-side and demand-side management. IEEE Access 2019, 7, 30386–30397. [Google Scholar] [CrossRef]
  15. Nordahl, C.; Boeva, V.; Grahn, H.; Netz, M.P. Profiling of Household Residents’ Electricity Consumption Behavior Using Clustering Analysis. In Proceedings of the International Conference on Computational Science, Faro, Portugal, 12–14 June 2019; pp. 779–786. [Google Scholar]
  16. Park, K.-J.; Son, S.-Y. A Novel Load Image Profile-Based Electricity Load Clustering Methodology. IEEE Access 2019, 7, 59048–59058. [Google Scholar] [CrossRef]
  17. Räsänen, T.; Voukantsis, D.; Niska, H.; Karatzas, K.; Kolehmainen, M. Data-based method for creating electricity use load profiles using large amount of customer-specific hourly measured electricity use data. Appl. Energ. 2010, 87, 3538–3545. [Google Scholar] [CrossRef]
  18. Wen, L.; Zhou, K.; Yang, S. A shape-based clustering method for pattern recognition of residential electricity consumption. J. Clean. Prod. 2019, 212, 475–488. [Google Scholar] [CrossRef]
  19. EERE. DOE Buildings Performance Database, Sample Residential Data. Available online: https://openei.org/datasets/dataset/doe-buildings-performance-database-sample-residential-data (accessed on 9 September 2019).
  20. Georges Hebrail, A.B. Individual Household Electric Power Consumption Data Set. Available online: https://archive.ics.uci.edu/ml/datasets/individual+household+electric+power+consumption (accessed on 13 August 2019).
  21. Eekhout, I.; de Boer, R.M.; Twisk, J.W.; de Vet, H.C.; Heymans, M.W. Missing data: A systematic review of how they are reported and handled. Epidemiology 2012, 23, 729–732. [Google Scholar] [CrossRef]
  22. Jain, Y.K.; Bhandare, S.K. Min max normalization based data perturbation method for privacy protection. IJCCT 2011, 2, 45–50. [Google Scholar]
  23. Chiroma, H.; Abdullahi, U.A.; AlArood, A.A.; Gabralla, L.A.; Rana, N.; Shuib, L.; Hashem, I.A.T.; Gbenga, D.E.; Abubakar, A.I.; Zeki, A.M. Progress on Artificial Neural Networks for Big Data Analytics: A Survey. IEEE Access 2019, 7, 70535–70551. [Google Scholar] [CrossRef]
  24. Zeng, K.; Yu, J.; Wang, R.; Li, C.; Tao, D. Coupled deep autoencoder for single image super-resolution. IEEE Trans. Cybern. 2015, 47, 27–37. [Google Scholar] [CrossRef]
  25. Cho, K. Boltzmann machines and denoising autoencoders for image denoising. arXiv 2013, arXiv:1301.3468. [Google Scholar]
  26. Gondara, L. Medical image denoising using convolutional denoising autoencoders. In Proceedings of the 2016 IEEE 16th International Conference on Data Mining Workshops (ICDMW), Barcelona, Spain, 12 December 2016; pp. 241–246. [Google Scholar]
  27. Ribeiro, M.; Lazzaretti, A.E.; Lopes, H.S. A study of deep convolutional auto-encoders for anomaly detection in videos. Pattern Recognit. Lett. 2018, 105, 13–22. [Google Scholar] [CrossRef]
  28. Zhavoronkov, A.; Ivanenkov, Y.A.; Aliper, A.; Veselov, M.S.; Aladinskiy, V.A.; Aladinskaya, A.V.; Terentiev, V.A.; Polykovskiy, D.A.; Kuznetsov, M.D.; Asadulaev, A. Deep learning enables rapid identification of potent DDR1 kinase inhibitors. Nat. Biotechnol. 2019, 37, 1038–1040. [Google Scholar] [CrossRef] [PubMed]
  29. Ullah, A.; Muhammad, K.; Haq, I.U.; Baik, S.W. Action recognition using optimized deep autoencoder and CNN for surveillance data streams of non-stationary environments. Future Gener. Comput. Syst. 2019, 96, 386–397. [Google Scholar] [CrossRef]
  30. Ul Haq, I.; Ullah, A.; Muhammad, K.; Lee, M.Y.; Baik, S.W. Personalized Movie Summarization Using Deep CNN-Assisted Facial Expression Recognition. Complexity 2019, 2019. [Google Scholar] [CrossRef] [Green Version]
  31. Deelers, S.; Auwatanamongkol, S. Enhancing K-means algorithm with initial cluster centers derived from data partitioning along the data axis with the highest variance. IJCS 2007, 2, 247–252. [Google Scholar]
  32. Ester, M.; Kriegel, H.-P.; Sander, J.; Xu, X. A density-based algorithm for discovering clusters in large spatial databases with noise. In Proceedings of the KDD, Portland, OR, USA, 2–4 August 1996; pp. 226–231. [Google Scholar]
  33. Ankerst, M.; Breunig, M.M.; Kriegel, H.-P.; Sander, J. OPTICS: Ordering points to identify the clustering structure. In Proceedings of the ACM Sigmod Record, Philadelphia, PA, USA, 1–3 June 1999; pp. 49–60. [Google Scholar]
  34. Forest, F.; Lebbah, M.; Azzag, H.; Lacaille, J. Deep Embedded SOM: Joint Representation Learning and Self-Organization. Available online: http://florentfo.rest/files/ESANN-2019-DeepEmbeddedSOM-full-paper.pdf (accessed on 10 August 2019).
  35. Kohonen, T.; Honkela, T. Kohonen network. Scholarpedia 2007, 2, 1568. [Google Scholar] [CrossRef]
  36. Rousseeuw, P.J. Silhouettes: A graphical aid to the interpretation and validation of cluster analysis. J. Comput. Appl. Math. 1987, 20, 53–65. [Google Scholar] [CrossRef] [Green Version]
  37. Caliński, T.; Harabasz, J. A dendrite method for cluster analysis. Commun. Stat.-Theory Methods 1974, 3, 1–27. [Google Scholar] [CrossRef]
  38. Davies, D.L.; Bouldin, D.W. A cluster separation measure. IEEE Trans. Pattern Anal. Mach. Intel. 1979, 1, 224–227. [Google Scholar] [CrossRef]
  39. Ward, J.H., Jr. Hierarchical grouping to optimize an objective function. JASA 1963, 58, 236–244. [Google Scholar] [CrossRef]
  40. Ding, C.; He, X. Cluster merging and splitting in hierarchical clustering algorithms. In Proceedings of the 2002 IEEE International Conference on Data Mining, Maebashi TERRSA, Maebashi, Japan, 9–12 December 2002; pp. 139–146. [Google Scholar]
  41. Zhang, T.; Ramakrishnan, R.; Livny, M. BIRCH: An efficient data clustering method for very large databases. ACM Sigmod Rec. 1996, 25, 103–114. [Google Scholar] [CrossRef]
  42. Carpenter, G.A.; Grossberg, S.; Rosen, D.B. Fuzzy ART: Fast stable learning and categorization of analog patterns by an adaptive resonance system. Neural Netw. 1991, 4, 759–771. [Google Scholar] [CrossRef] [Green Version]
  43. Bação, F.; Lobo, V.; Painho, M. Self-organizing maps as substitutes for k-means clustering. In Proceedings of the International Conference on Computational Science, Heidelberg, Berlin, 22 May 2005; pp. 476–483. [Google Scholar]
Figure 1. Framework of the proposed building energy consumption level prediction: (a) Data are obtained from the buildings’ smart sensing devices and preprocessed for removing outliers and normalization, (b) a deep autoencoder is pre-trained to convert low dimensional sensors data into higher-level representations, (c) the pre-trained autoencoder is trained along with the SOM clustering layer, (d) visualization of the obtained clusters, (e) finding the energy consumption level of each cluster data.
Figure 1. Framework of the proposed building energy consumption level prediction: (a) Data are obtained from the buildings’ smart sensing devices and preprocessed for removing outliers and normalization, (b) a deep autoencoder is pre-trained to convert low dimensional sensors data into higher-level representations, (c) the pre-trained autoencoder is trained along with the SOM clustering layer, (d) visualization of the obtained clusters, (e) finding the energy consumption level of each cluster data.
Sensors 20 00873 g001
Figure 2. A comparison of the smart sensor data distributions (a) before and (b) after the pre-processing step.
Figure 2. A comparison of the smart sensor data distributions (a) before and (b) after the pre-processing step.
Sensors 20 00873 g002
Figure 3. The internal structure of the SOM. A feature vector X is provided to the SOM map with the size of m × n, and the best matching unit is selected among the grid neurons γ i j   1 i m   a n d   1 j n . Afterward, the weight vectors of the winner unit and its neighboring units are updated. When the learning process is completed, each sample is assigned to its nearest node [35].
Figure 3. The internal structure of the SOM. A feature vector X is provided to the SOM map with the size of m × n, and the best matching unit is selected among the grid neurons γ i j   1 i m   a n d   1 j n . Afterward, the weight vectors of the winner unit and its neighboring units are updated. When the learning process is completed, each sample is assigned to its nearest node [35].
Sensors 20 00873 g003
Figure 4. (a) The four clusters achieved by the proposed clustering technique, which were first randomly labelled with numbers ranging from 0 to 3, (b) The center of each cluster was identified and sorted in ascending order, which shows the proper numbers representing the level of consumption.
Figure 4. (a) The four clusters achieved by the proposed clustering technique, which were first randomly labelled with numbers ranging from 0 to 3, (b) The center of each cluster was identified and sorted in ascending order, which shows the proper numbers representing the level of consumption.
Sensors 20 00873 g004
Figure 5. Clustering results of two datasets. (a,b) Residential DOE buildings dataset, (c,d) individual household dataset where each cluster is represented by a unique color based on different levels of consumption.
Figure 5. Clustering results of two datasets. (a,b) Residential DOE buildings dataset, (c,d) individual household dataset where each cluster is represented by a unique color based on different levels of consumption.
Sensors 20 00873 g005
Figure 6. The distribution of samples among the levels of energy consumption. (a) Individual household electric power consumption, (b) DOE buildings performance dataset, and, (c) the map of Gainesville, where each area is a different color assigned based on the energy consumption of buildings in that area.
Figure 6. The distribution of samples among the levels of energy consumption. (a) Individual household electric power consumption, (b) DOE buildings performance dataset, and, (c) the map of Gainesville, where each area is a different color assigned based on the energy consumption of buildings in that area.
Sensors 20 00873 g006
Figure 7. Monthly electricity energy consumption patterns captured in different clusters for the individual household dataset.
Figure 7. Monthly electricity energy consumption patterns captured in different clusters for the individual household dataset.
Sensors 20 00873 g007
Figure 8. Daily electricity energy consumption patterns captured in different clusters during the five years for the individual household dataset.
Figure 8. Daily electricity energy consumption patterns captured in different clusters during the five years for the individual household dataset.
Sensors 20 00873 g008
Table 1. The comparison of the proposed technique with state-of-the-art clustering algorithms over DOE buildings performance dataset.
Table 1. The comparison of the proposed technique with state-of-the-art clustering algorithms over DOE buildings performance dataset.
AlgorithmSilhouetteCHDBTime (Seconds)Input Clusters/
Retrieved Clusters
Clusters Initialization
Required/Not Required
k-means0.55683,580.7370.557.124/4Required
Ward0.48580,575.7280.551421.994/4Required
Average Linkage0.95690.0380.33687.234/4Required
Optics0.1727,847.34859.0310479.69-/6Not Required
Birch---4.57-/1Not Required
Fuzzy ART---13065.65-/1Not Required
Proposed
Method (1D SOM)
0.58690916.650.49301.204/4Required Maximum
Proposed
Method (2D SOM)
0.55661626.1400.54211.054/4Required Maximum
Table 2. The comparison of the proposed technique with state-of-the-art clustering algorithms over the individual household electric power consumption dataset.
Table 2. The comparison of the proposed technique with state-of-the-art clustering algorithms over the individual household electric power consumption dataset.
AlgorithmSilhouetteCHDBTime (Seconds)Input Clusters/
Retrieved Clusters
Cluster Initialization
Required/Not Required
k-means0.201184.15661.490.134/4Required
Ward0.1643335.121.630.154/4Required
Average Linkage0.2275.270.440.184/4Required
Optics---1.21-/1Not Required
Birch---0.025-/1Not Required
Fuzzy ART0.0683.9873.53089.91-/14Not Required
Proposed
Method (1D SOM)
0.241285.21391.49241.054/4Required Maximum
Proposed
Method (2D SOM)
0. 199460.55282.21274.644/4Required Maximum

Share and Cite

MDPI and ACS Style

Ullah, A.; Haydarov, K.; Ul Haq, I.; Muhammad, K.; Rho, S.; Lee, M.; Baik, S.W. Deep Learning Assisted Buildings Energy Consumption Profiling Using Smart Meter Data. Sensors 2020, 20, 873. https://doi.org/10.3390/s20030873

AMA Style

Ullah A, Haydarov K, Ul Haq I, Muhammad K, Rho S, Lee M, Baik SW. Deep Learning Assisted Buildings Energy Consumption Profiling Using Smart Meter Data. Sensors. 2020; 20(3):873. https://doi.org/10.3390/s20030873

Chicago/Turabian Style

Ullah, Amin, Kilichbek Haydarov, Ijaz Ul Haq, Khan Muhammad, Seungmin Rho, Miyoung Lee, and Sung Wook Baik. 2020. "Deep Learning Assisted Buildings Energy Consumption Profiling Using Smart Meter Data" Sensors 20, no. 3: 873. https://doi.org/10.3390/s20030873

APA Style

Ullah, A., Haydarov, K., Ul Haq, I., Muhammad, K., Rho, S., Lee, M., & Baik, S. W. (2020). Deep Learning Assisted Buildings Energy Consumption Profiling Using Smart Meter Data. Sensors, 20(3), 873. https://doi.org/10.3390/s20030873

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