Next Article in Journal
A GIS Approach Land Suitability and Availability Analysis of Jatropha Curcas L. Growth in Mexico as a Potential Source for Biodiesel Production
Previous Article in Journal
A Methodology to Systematically Identify and Characterize Energy Flexibility Measures in Industrial Systems
Previous Article in Special Issue
A Methodology for Energy Load Profile Forecasting Based on Intelligent Clustering and Smoothing Techniques
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Forecasting Electricity Consumption in Commercial Buildings Using a Machine Learning Approach

1
Department of Convergence and Fusion System Engineering, Kyungpook National University, Sangju 37224, Korea
2
Department of Mathematics, Natural and Economic Sciences, Ulm University of Applied Sciences, Prittwitzstr, 10, 89075 Ulm, Germany
*
Author to whom correspondence should be addressed.
Energies 2020, 13(22), 5885; https://doi.org/10.3390/en13225885
Revised: 2 November 2020 / Accepted: 9 November 2020 / Published: 11 November 2020
(This article belongs to the Special Issue Smart Forecasting of Building and District Energy Management)

Abstract

:
Prediction of electricity consumption is a key research area for efficient power grid operation. Accurate electricity consumption predictions of buildings can prevent power shortages in modern cities, reduce social costs caused by unnecessary energy supply, and support stable and efficient power grid operation. In this study, an electricity consumption prediction model is proposed using open-access data for the monthly and daily electricity consumption of 28 commercial buildings in Seo-gu, Gwangju, South Korea. In the case of the electricity consumption prediction of a building, information about specific parameters that affect energy consumption in target buildings is required. However, inappropriate parameter selection of the prediction model can lead to decreased prediction accuracy. Therefore, we propose a two-step approach to develop a highly accurate electricity consumption prediction model by overcoming the limitations of insufficient information. In the first step, the electricity consumption model of the building is derived by reflecting the characteristics of an individual building that constitutes a building community. In the second step, we use additional information, including the specific building’s features, as well as the energy facility types of the building. Using dynamic-time-warping-based clustering classification, we could infer the energy equipment information of the buildings. We apply the two-step method to develop a prediction model using machine learning methods. In addition, we propose an optimal prediction model by comparing the performance of a traditional time-series analysis technique and machine learning techniques. In this study, the proposed model performs >27.5% better than the existing model. Using the proposed model, it will be possible to accurately predict electricity consumption of commercial buildings, and it can be used as a major guideline for the power supply and demand of buildings and cities.

Graphical Abstract

1. Introduction

Climate change and the occurrence of anomalies have been a global and consistent problem. Indiscriminate development is the major cause of climate change and various anomalies. As such, carbon-emission regulations were negotiated internationally through the Kyoto Protocol (Kyoto Conference on Prevention of Global Warming) and the Paris Agreement [1,2]. International regulations have had a major impact on carbon-emission reductions by countries and companies. Countries and companies are implementing methods, such as the use of renewable energy, carbon recycling, construction efficient power grids, and operations to reduce carbon emissions [3]. More than 40% of the world’s energy consumption is used within buildings. In addition, carbon emissions from buildings account for one-third of the global total [4,5], and building energy consumption continues to increase every year. Therefore, energy savings in buildings is a critical component for addressing climate change. The energy demand forecasting method is an effective way to conserve energy in buildings.
Demand response is important for the construction of an efficient power grid and operation [6]. Accurate electricity consumption prediction is important for establishing plans for electricity supply and demand at the national or provincial level and for power system facilities. Accurate electricity consumption predictions can prevent unnecessary power supply and power shortages. For example, when excessive electricity demand is predicted, unnecessary spending may occur due to the development of excess power generation facilities. On the other hand, insufficient electricity demand prediction may cause a power shortage phenomenon due to insufficient power generation facilities and lead to blackouts. In fact, a blackout phenomenon occurred due to a power shortage in September 2011 in Korea. Therefore, a stable plan for power supply and demand should be established with accurate demand prediction, minimized unnecessary costs, and stable power grid operation through securing a stable power reserve rate [7,8].
Demand response is another important research topic in the smart grid field. A smart grid is an intelligent power grid system capable of efficient operation and reduction of energy, where energy can be used efficiently through energy storage management, user energy demand management, and peak load management. The smart grid environment exchanges information about power generation and consumption through two-way communication [7,9,10]. Therefore, it is possible to appropriately adjust the amount of energy generated according to the amount of future electricity consumption predicted via consumer electricity consumption information. This enables rational and efficient electricity use by reducing unnecessary power supply.
Buildings can be classified into structure types based on volume, shape, and purpose. In terms of the purpose, buildings can also be further classified into several types, such as detached houses, apartments, commercial buildings, and medical and public buildings [11]. In Korea, commercial buildings account for 17.9% of all buildings and account for a large proportion of total building energy consumption [12]. Buildings have different electricity consumption patterns depending on their usage; thus, it is necessary to predict electricity demand for each. Specifically, commercial buildings show similar patterns with respect to occupancy because of similar commercial economic activities on weekdays and public holidays [7]. Therefore, in this study, we propose a daily and monthly electricity consumption prediction model for commercial buildings located in Seo-gu, Gwangju.
This study aims to develop an electricity consumption prediction model for commercial buildings and proposes a method to improve model performance through a two-step approach to compensate for insufficient information. In the first step, the electricity consumption prediction model of multiple buildings is developed by reflecting the features of individual buildings constituting the building community. The electricity consumption prediction model for multiple buildings might fail to highlight the degree of influence of features of individual buildings on the electricity consumption pattern. Therefore, when the input parameters are applied in consideration of the differences in power consumption level according to the total building area, the prediction performance of the proposed model can be improved.
In the second step, we infer the information of the building’s heating and cooling facilities by classifying the electricity consumption patterns of buildings through the dynamic time warping (DTW)-based clustering method. We utilize the inferred facility information as an input parameter to improve the prediction accuracy of the electricity consumption prediction model.
To develop an electricity consumption prediction model with high accuracy, information on heating and cooling facilities of individual buildings is required. However, it is impossible to gather all of the information related to cooling and heating facility types of the target buildings due to the Personal Information Protection Act.
As the electricity consumption patterns of buildings vary according to the features of the heating and cooling facilities of each building, we analyze the information of representative cooling and heating facilities constituting commercial buildings in Korea and conduct a scenario-based analysis to derive information about building energy equipment. Therefore, the facility information inferred from scenario-based analysis and DTW-based clustering method enable improved accuracy of the proposed model.
In the last part, we conduct performance evaluation using machine learning models artificial neural network (ANN), deep neural network (DNN), long short-term memory (LSTM), support vector regression (SVR)), and the time-series-based method seasonal autoregressive integrated moving average-X (SARIMAX) is optimize using the design of experiments. Moreover, we present accurate daily and monthly electricity consumption of the commercial buildings.

2. Research Framework

As shown in Figure 1, the study was conducted in three steps. In Step 1, we performed data collection and pre-processing to train the model properly. In Step 2, for the development of the electricity consumption prediction model, input parameters were selected through correlation analysis between factors that influence electricity consumption and potential energy consumption. The model performance was evaluated using five different methods related to machine learning and time series to develop the electricity consumption prediction model using the derived input parameters. In Step 3, the accuracy of the electricity consumption prediction was improved by inferring information on heating and cooling facilities of individual buildings. We identified the types of electricity consumption patterns of commercial buildings through scenario-based analyses and classified the buildings based on their main heating and cooling facilities. The accuracy of the prediction model could be improved using the inferred facility information as an additional input parameter.

Literature Review

In the field of energy demand response prediction, various studies have been conducted according to various prediction targets, prediction periods, and model techniques. Specifically, a variety of machine learning and statistical methods based on time series have been widely applied. In this section, previous studies on prediction models are discussed considering the time scale given in Table 1.
First, in the case of hourly predictions, Walker et al. predicted the electricity consumption by hour in a small area of the smart grid environment for 47 commercial buildings, and used Boosted tree/Random forest, support vector machine (SVM), and ANN [13]. Chae et al. predicted electricity consumption in 15 min for commercial buildings [14]. Variable importance analysis was used to select the important variables regarding electricity consumption; building information and electricity consumption data were obtained through a building management system, and a predictive model was developed using an ANN. Ryu et al. predicted hourly load for various buildings [15]. As a prediction technique, they used a rectified linear unit without pre-training and a DNN based on a pre-training restricted Boltzmann machine. Rahman et al. used DNN, LSTM, MLP, NN, and RNN to predict hourly electricity consumption for commercial and residential buildings [16]. Jain et al. used SVR to predict hourly electricity consumption in multi-family residential buildings and made sensor-based predictions by investigating the effects of time and spatial granularity on model accuracy [17].
Related to daily models, Song et al. proposed a model for predicting daily oil production [18]. LSTM was used as a prediction technique, and the PSO algorithm was used to optimize the LSTM. Shao et al. predicted the daily electricity consumption for hotel buildings [19]. A predictive model was developed using the SVR model technique; meteorological parameters and air conditioning unit operation data were used as input parameters. The accuracy was improved after data quality evaluation and pretreatment. Bouktif et al. predicted the daily electricity consumption data for France’s metropolitan areas [20]. RNN, LSTM, NN, Extra Trees, and Random Forest were used as model techniques, and the LSTM was optimized using genetic algorithm (GA). Ngo et al. developed a cooling load prediction model for 243 office buildings, and used ANN, SVR, LR, CART, and ensemble as prediction models [21].
In case of the monthly prediction, Jeong et al. developed a monthly prediction model to determine the annual energy cost budget for educational facilities, and used SARIMA, ANN, and Hybrid (SARIMA, ANN) [8]. The problems associated with the existing model were identified and a new model was proposed through the predictive model. Choi et al. and Lee et al. predicted the monthly gas consumption of buildings through DTW-based clustering classifications [22,23].

3. Method

As introduced in the research framework, steps 1, 2, and 3 were performed to develop the electricity consumption prediction model.

3.1. STEP 1: Data Collection and Pre-Processing

To develop accurate and proper prediction models, it is very important to collect and pre-process data in an appropriate form [24]. Improper data collection and inadequate pre-processing inhibits model training and reduces the model’s performance. Therefore, it is necessary to perform data pre-processing in terms of handling missing data as well as underfitting and overfitting issues [25].

3.1.1. Data Collection

All the data used in this study were collected from the Public Open Data [26]. We collected 15-min and monthly electricity consumption data (i-SMART, the Power Portal Service) of 28 commercial buildings located in Seo-gu, Gwangju, Korea. In addition, we collected the meteorological data and building information of the target buildings from the KMA (Korea Meteorological Administration) [27,28]. Figure 2 shows commercial buildings’ location map in Gwangju, South Korea.
First, the electricity consumption data of the target buildings were collected from January to December 2016. Collected electricity consumption data was with 15-min resolution; therefore, we converted data into daily and monthly time scales. In addition, we collected data for three years from January 2014 to December 2016 to develop a monthly power consumption prediction model. Second, meteorological and building information were gathered as explanatory variables for input parameters. Meteorological data consisted of temperature, precipitation, wind speed, atmospheric pressure, relative humidity, and solar irradiance, and building information comprised the total area, number of floors, and underground floor. In addition, data including energy equipment of the buildings related to heating and cooling systems were also necessary accurately to predict the amount of energy consumption; however, it is impossible to collect the majority of the information of the building energy facilities. Therefore, this study tries to compensate for insufficient facility information through the inference method of the scenario-based analysis, which is the analysis of the electricity consumption pattern of the building and clustering classification. Furthermore, we also conducted data analysis in consideration of holidays and weekends, which greatly affect the power consumption. The collected input and target values are described in Table 2.

3.1.2. Pre-Processing

In the pre-processing process, a few pieces of information regarding daily precipitation were missed, so the Lagrange interpolation method was applied. If the time series are presented as ( x 1 , y 1 ), ( x 2 , y 2 ), …, ( x n , y n ), the Lagrange interpolation can be formulated as presented in Equation (1).
L ( x )   =   i   =   0 n y i j   =   0 , j i n ( x x j ) ( x i x j )
where L(x) is the Lagrange polynomial, y represents the interpolation value, and n is the size of the data used for interpolation [29]. Thus, some missing values were interpolated through Lagrange interpolation and used as input parameters.
The electricity consumption data of the buildings were also pre-processed to a suitable form toward a proper time scale. The collected electricity consumption data with 15-min resolution was summed and converted into daily electricity consumption. Monthly data was collected on a monthly basis. Therefore, as shown in Table 3, the input parameters consist of buildings information, meteorological information, and day of week information; a new Q-value can be used as a correction factor for analyzing the correlation between the input parameters and electricity consumption. The electricity consumption is used as a dependent variable.
To adjust the numerical differences among the datasets, min–max normalization was conducted. The normalization technique prevents the performance deterioration of the model training process due to the significant differences among target data; this helps to improve the speed of data learning process [30]. The min-max normalization is formulated as presented in Equation (2)
z   =   x min ( x ) max ( x ) min ( x )  
where x is an original value and z is the normalized value. Table 3 and Table 4 summarize the training data for the development of the model by dividing it into daily and monthly data. To develop the prediction model for commercial buildings, target data of the 28 buildings were processed as training.

3.2. STEP 2: Development of DR Prediction Model (First Step)

Correlation analysis and parameter derivation to improve model accuracy.

3.2.1. Sensitivity Analysis

Sensitivity analysis (SA) is the study of how a mathematical model or parameter variation of a system affects the output or performance of a system [31,32,33,34]. In this section, we analyzed the effect of each meteorological parameter on energy demand through SA. Table 5 shows the SA of the electricity consumption and meteorological information. δ(delta) is SA indices for individual inputs, and S1 is first-order global SA indices or main effect indices. Among the meteorological variables, the both delta and S1 indices of the temperature parameter shows the highest value. We recognized that the temperature factor has the highest influence on the energy consumption.

3.2.2. Correlation Analysis

Correlation analysis is a method of confirming the degree of correlation between variables. The Pearson correlation method, widely applied in data analysis, was employed in this model. The closer the correlation value is to 0, the weaker the linear correlation, where +1 and −1 indicate strong positive and negative linear correlations, respectively [35]. We investigated the correlation analysis with respect to the meteorological information and features of the building regarding the amount of electricity consumption of the building to derive the relationship between the consumption of electricity and various features of the building.
Table 6 represents the results of the correlation analysis for both summer and winter season in consideration of seasonal features for a building in terms of energy consumption. Among them, the correlation between electricity consumption and temperature variation is relatively high, with a negative high value of −0.38969 in winter, and a positive high value of 0.502439 in summer.
On the contrary, Figure 3 shows the results of the correlation analysis for a single building as well as for 28 buildings. In case of a single building, the correlation between temperature and electricity consumption is high, but it is low in the case of multiple buildings; −0.101294 in winter and 0.137393 in summer.
In case of the correlation between temperature and electricity consumption, the single building case has a high correlation whereas the multiple building case shows a low correlation.
According to Table 6 and Table 7, the volume of the building, including the total area, has a high correlation value between energy consumption; therefore, we considered the compensation values for data analysis because the different sizes of the buildings have significant influence on the electricity consumption variation.

3.2.3. Compensation Value

In this study, we derived a new parameter to explain the degree of electricity consumption according to the building size and variation in temperature. Therefore, a new variable was derived by combining the total area and temperature variables regarding building energy consumption.
The correction factor was derived by referring to the thermal conductivity formula to compensate for the correlation according to different total areas and temperature changes of the 28 buildings.
Q v a l u e   =   A × t  
where A is the total area and t is the temperature. A new parameter, Q-value was derived through the multiplication of the total area and the temperature parameter. Figure 4 shows the correlation of the electricity consumption and the results of the both temperature and Q-value. The correlation of the temperature with the electricity consumption is as low as 0.00444 and 0.02867, whereas the correlation of Q-value with electricity consumption is as high as 0.43839 per day and 0.42713 per month.

3.2.4. Development of the Prediction Model (First Step)

For the first step, we developed the prediction model, such as a traditional time-series-based model (SARIMAX) and a machine learning model (ANN, DNN, LSTM, SVR) through the correlation analysis between electricity consumption and the input parameter to the independent variable. Test Case 1 adopts monthly and daily electricity consumption data as a target value with input parameters such as meteorological data, building information, and day of the week information. In Test Case 2, Q-value is additionally considered an input parameter. Therefore, we evaluated five different model techniques with two test cases (Test Cases 1 and 2).
  • ANN
Artificial neural networks (ANNs) are most often implemented in predictive models in machine learning. The ANN is a network model resembling functions similar to the human brain. There are numerous neurons in the human brain to process and collect information through neurons. The mathematical model was introduced in 1943 by McCulloch and Pitts [36]. The ANN′s nonlinear approach is suitable for solving complicated relationships between input and output data. The ANN consists of an input layer, hidden layer, and an output layer and receives data through the input layer, processes it in the hidden layer, and obtains the result in the output layer. The operation in the hidden layer is as follows:
f ( x )   =   i W i X i +   β i  
g ( f ( x ) )   =   sin h ( f ( x ) ) cos h ( f ( x ) )   =   e f ( x ) e   =   f ( x ) e f ( x )   +   e f ( x )  
where f(x) represents a combination function. W represents the weight between layers. X represents the i th neuron in the input layer. β represents the bias of the i th neuron. The g function is a transfer function, and Equation (5) represents the hyperbolic tangent function [37].
  • SVR
SVM is one of the most popular artificial intelligence methods as a machine learning model. SVM is widely used for a classification and regression methods, and the SVM-based regression method is called the SVR. SVM was first introduced by Vapnik (1995) as a robust learning algorithm for solving nonlinear problems [38]. SVM is used to determine the optimal decision hyperplane classifying the classes by maximum margin. SVR is a learning method that includes as much data as possible in a certain margin on the same principle as SVM. The sensitivity of the model can be controlled by adjusting the margin [19,39].
  • SARIMAX
Autoregressive integrated moving average (ARIMA) is widely utilized in traditional statistical time-series analysis, and is a model obtained by mixing the autoregressive (AR) model and moving average (MA) model. Seasonal autoregressive integrated moving average (SARIMA) is the model used when the data contains seasonal characteristics. In addition, seasonal autoregressive integrated moving average-X (SARIMAX) is the model that considers both seasonal characteristics and external variables. In this study, SARIMAX is used to apply the electricity consumption data type and external variables with seasonal characteristics. In this study, SARIMAX is used to apply the electricity consumption data type and external variables with seasonal characteristics [40,41].
  • DNN
Deep neural network (DNN) is an ANN with multiple hidden layers. DNN solves the overfitting problem, which is a disadvantage of the ANN, and reduces the learning time. In addition, DNN can handle complicated models with fewer nodes than ANN [42]. DNN is widely used in demand forecasting and big data fields because it can model complicated nonlinear relationships. Equation (6) represents the ability for DNN to determine the weighted value.
Δ w i j ( t + 1 )   =   Δ w i j ( t ) +   η ϑ C ϑ w i j .  
where w   is weight, η is learning rate, C is cost function. The choice of cost function is determined by factors such as the type of learning (supervised learning, self-learning (machine learning), reinforcement learning) and the activation function [43].
  • LSTM
Long short-term memory (LSTM) is suitable for a prediction model based on time-series analysis. LSTM was first proposed by Sepp Hochreiter and Jürgen Schmidhuber and was developed to solve the vanishing gradient problem of RNN [44].
The basic structure of LSTM contains of cells, which consist of an input gate, an output gate, and a forget gate, which stores and transmits data from the cell as shown in Figure 5. The role at the gate is as follows. The forget gate is the process of deciding whether to discard past data, the input gate determines whether to store the current information, and the output gate is the process of deciding which output value to output. The LSTM structure solves the problem of long-term prediction of RNN [18].
In this study, to predict the electricity consumption at time t + 1, the model was developed by adding the electricity consumption, the target value at time t, to the input parameter at time t + 1.

3.2.5. Results and assessment (First Step)

  • Error calculation
To evaluate the electricity consumption prediction performance for each model, we use mean absolute percentage error (MAPE), root mean square error (RMSE), mean bias error (MBE), and coefficient of variation (CV) evaluation. Equations (7)–(10) describe the equations of the performance evaluation.
MAPE   =   100 n t   =   1 n | A t P t A t |  
RMSE   =   1 n t   =   1 n ( A t P t ) 2  
MBE   =   t   =   1 n ( A t P t ) t   =   1 n A t
CV   =   RMSE 1 n t   =   1 n A t   =   1 n t   =   1 n ( A t P t ) 2 1 n t   =   1 n A t  
where A t is actual data, P t is target data, and n is number of samples. MAPE is a value expressed as a percentage of the error between the measured value and the predicted value and is generally used to predict the error [45]. RMSE is a value representing the error between the measured value and the predicted value as standard deviation [46]. The RMSE is a relative value and is affected by the size of the sample. Therefore, the RMSE can be evaluated by relative comparison on the same data set. MBE is a value representing the average of the deviation between the measured value and the predicted value. The closer to 0, the better regardless of the sign [47]. CV is expressed as the square root of the mean squared error, and the model with the minimum value or 0 is the optimal model [14].
  • Assessment of trained models
Figure 6 and Table 8 show the results of the performance evaluation with the Q-value for commercial multiple buildings. Test Case 2 shows the performance results of applying the Q-value as one of the input parameters, whereas Test Case 1 considers meteorological data, building information, and day of weekend or not as input values. Besides, the performance results of the SARIMAX ANN, DNN, and LSTM show that the overall result of Test Case 2 has good performance compared to that of Test Case 1.
Most of the performance results considering Q-values show that the accuracy has improved except for the SVR case. The performance result of the SVR shows a similar outcome whether considering Q-value or not. In addition, the DNN and LSTM have the highest accuracy compared to the performance results of the SARIMAX, SVR, ANN, DNN, and LSTM.
However, to improve the accuracy of the demand prediction model for multiple buildings, which has been improved with the addition of Q-value, it is necessary to analyze more various influencing factors affecting electricity consumption.
Therefore, in this study, to improve the performance of the predictive model, we try to use the information related to heating and cooling facilities that affect the electricity consumption of the building for analysis. Also, we intend to infer facility information through a clustering technique for using equipment information that is difficult to collect.

3.3. STEP 3: Development of DR Prediction Model (Second Step)

Improving model accuracy through facility information deduction.

3.3.1. Analysis of Facility Information Based on the Pattern of Electricity Consumption

Energy consumption in commercial building consists of heating and cooling, lighting, and office equipment, and heating and cooling accounts for 48.9% of the total [48]. Energy consumption of lighting and office equipment account for a certain level of energy regardless of seasonal changes; however, energy demand for heating and cooling facilities tends to vary according to the season. Therefore, it is crucial to utilize information on heating and cooling facilities of the buildings in terms of the development of electricity demand response prediction models for multiple buildings.
As shown in Figure 7, as South Korea has four distinct seasons in spring, summer, autumn, and winter according to temperature changes, electricity consumption varies by season. The amount of energy consumption for heating and cooling occupies a large portion of total energy, especially summer and winter season. We found that it is possible to derive facility information of the buildings by analyzing power consumption pattern with regard to seasonal features.
Generally, building energy consumption for heating and cooling includes gas, district heating, and solar energy as well as electricity in Korea. Therefore, the energy used for heating and cooling facilities is inferred based on the pattern of electric energy consumption. In this step, we performed a classification process based on the fact that the heating and cooling system of the commercial building can be categorized in accordance with the literature survey in Korea [49,50,51,52].
On the basis of summer and winter, information on heating and cooling facilities for the three scenarios are inferred. The information on heating and cooling facilities is inferred by classifying them into three cases based on summer and winter. The following seasonal features can be derived from the electricity usage pattern for cooling of buildings. The average temperature is 25 °C during July and August in Korea, and due to the hot weather, most buildings need to use air conditioning to maintain building temperature. Accordingly, most of the buildings consume a lot of electricity. Meanwhile, in the case of public buildings, the energy saving policy requires restricted use of air conditioners to maintain the indoor temperature between 26 °C and 28 °C. Due to the temperature restrictions imposed for public buildings, the electricity consumption is lower than that of other buildings, and consumption patterns are consistent. Thus, two features of buildings can be considered: unlimited electricity consumption and limited and consistent electricity consumption in the summer.
In Seo-gu, Gwangju, Korea, the average annual temperature in winter is 5 °C. When the ambient temperature is lower than a certain temperature, the building uses more energy for heating. Heating systems used in Korean commercial buildings is classified into heating types using electricity and gas (city gas and a system using district heating).
Most of the commercial buildings use electric heat pump (EHP) systems, whereas some commercial buildings use mixed type the heating system adopting electricity and gas together. Therefore, for commercial buildings, heating systems can be divided into two types; EHP system and mixed heating.
Therefore, buildings can be divided into three cases according to the type of heating and cooling energy source used in summer and winter. Table 9 shows three clusters classified by facility types.
Case 1 involves a building that uses electric heating and cooling facilities in both summer and winter. Case 2 involves a building that uses electric cooling in summer and mixed energy heating in winter. Case 3 involves a building that adopts temperature restriction in summer and electric heating in winter. These three cases are used as criteria for clustering classification; 28 buildings were classified into these clusters through clustering analysis (Section 3.3.2).

3.3.2. DTW-Based Clustering

Each building exhibits different electricity consumption patterns depending on the heating and cooling facility types or purpose of use. In particular, the pattern of electricity consumption differs according to the type of heating and cooling facility, and the pattern of electricity consumption can be identified through the inference of the facility types. Therefore, as in Section 3.3.1, the facility type of the buildings is estimated, and then we can classify the building clusters according to the electricity consumption patterns of various buildings.
The hierarchical clustering of 28 buildings is required based on the results of facility information analysis. The clustering technique is a method of dividing data having similar patterns into the similar group. By calculating the distance between the data, the data of adjacent distances belong to a group. Representatively, clustering based on the Euclidean distance algorithm can be used, and similarity between entities can be found by calculating the shortest distance between entities. However, the Euclidean distance algorithm has a limitation in reflecting time series. The electricity consumption has time-series information, and continuous change over time is a key feature. Thus, DTW algorithm is able to measure similarity of time series and suitable for data changing non-linearly in the time dimension [53]. Therefore, a hierarchical clustering analysis was performed using the DTW algorithm.
Prior to clustering classification, electricity consumption data of each building was normalized to reduce clustering classification errors.
Figure 8 and Figure 9 show the electricity consumption patterns of the buildings according to each cluster. The colored lines on each graph represent each building. Clusters is classified based on three cases, which are the results of heating and cooling facility information analyses. We can see that buildings having similar patterns of electricity consumption in a formed cluster. Cluster 1 is composed of buildings that consume a lot of electricity in summer and winter. Cluster 2 is composed of buildings with high power consumption in summer and relatively low power consumption in winter. Cluster 3 is composed of buildings that consume more electricity in winter than in summer. All of the 28 buildings, the number of buildings in Cluster 1 is 8, the number of buildings in Cluster 2 is 12, and the number of buildings in cluster is 7 buildings. The graph of the all the clusters present an average value of the electricity consumption of each cluster.
Case 1, described in Table 8, is equal to the power consumption pattern of Cluster 1, Case 2 equals Cluster 2, and Case 3 equivalents Cluster 3. Accordingly, we can see that the result of the clustering and building′s energy consumption pattern inferred from the energy facility types of the buildings are identical. Therefore, the features of heating and cooling systems affecting energy consumption can be derived, and we can use this inferred value to predict future energy consumption accurately.

3.3.3. Development of a Prediction Model (Second Step)

The clustering analysis through the estimation of the building’s facility was classified into three buildings with similar patterns of electricity consumption. Twenty-eight buildings classified into three clusters were applied to the demand prediction model.
To design an optimal prediction model and evaluate the performance, a proposed model was evaluated using three different datasets.
Table 10 shows the description of the experimental datasets.
Test Case 1 was evaluated using an original dataset, Test Case 2 was evaluated using a dataset that used Q-value (described in Section 3.2), and Test Case 3 was evaluated using a dataset that used Q-value and facility information obtained via clustering analysis.
These three test cases were evaluated at different time scales (both daily and monthly); same input parameters were utilized, including meteorological information, building information, and Q-value. As shown in the previous experiment, the performance evaluation was conducted using machine learning and time series-based statistical models: ANN, DNN, LSTM, SVR and SARIMAX.
In the case of ANN, DNN, and LSTM, hyperparameters have a significant influence on the performance of model training; in particular, the difference between accuracy and learning speed can be controlled via hyperparameter tuning. The machine learning model can be evaluated according to the number of nodes and batch size. Therefore, we conducted experiments by adjusting the number of nodes and batch size to find the optimal parameter selection. Batch sizes of 5, 10, 20, and 50 were tested, the number of nodes was evaluated from 10 to 400, and the selected number of hidden layers was three. The optimal hyperparameter values were selected based on reference [54]. In all experiments, the same number of nodes and batch sizes were applied. Finally, the hyperparameters of the test model with the highest accuracy were selected.
From the experimental result, we found that the error rate was low when most of the values in the daily and monthly models were ≥100 or more nodes; we can get similar accuracy rates with the number of nodes over 100. In this study, we evaluated the models considering various batch sizes and number of nodes to obtain high accuracy.

3.3.4. Results and Assessment (Second Step)

Figure 10 and Table 11 show the results of performance evaluation for each test case. Test Case 3 evaluated by dataset using Q-value and facility information shows better performance in the MAPE, RMSE, MBE and CV compared to Test Case 2 and Test Case 3 in all five methods with every time scale. In the first step, Test Case 3 shows better performance than Test Case 2, and we could confirm that the derived value of the heating and cooling type renders improved performance.
A short-term electricity demand response prediction model was evaluated by each time period. The LSTM exhibited an error rate of 8.97% for MAPE and 12.70% for CV in daily prediction. In case of the monthly prediction, the DNN exhibited an error rate of 10.85% for MAPE and 13.58% for CV, the daily prediction showed a lower error rate than the monthly prediction.
The proposed method was assessed according to five machine learning and time series estimation techniques to determine the optimal model. In the daily case, the LSTM showed the best performance, whereas the DNN presented the best performance in the monthly case. As there was insufficient data in the case of the monthly evaluation compared to the daily case, the influence of the time-series effect of the LSTM technique was less reflected.
Summarizing the abovementioned results, the LSTM showed the best performance in Test Case 3 in the daily case. In the daily case, the LSTM showed the best performance of MAPE 8.97%, RMSE 388.67 (kW), MBE 0.18%, and CV 12.7%. In the second step, wherein Q-value and facility information, were used we are able to obtain improved performance in every evaluation technique in daily and monthly cases.
  • Comparison of actual and predicted values
Figure 11 and Figure 12 show the actual and predicted values for one of the target buildings (building number 1) based on the results listed in Table 11. The figures show the monthly and daily electricity consumption prediction results generated using five predictive model techniques. Test Case 3 using facility information and the Q-value as an input parameter showed a high degree of agreement between the actual and predicted values in every evaluation model. Overall, the DNN and LSTM had the highest agreement between the predicted and actual values compared to other model techniques, and the highest accuracy was observed in Test Case 3.

4. Discussion and Conclusions

In this study, a daily and monthly electricity consumption prediction model for 28 commercial buildings was proposed using open-access data in Seo-gu, Gwangju, South Korea. Performing energy research of multiple buildings in metropolitan city is difficult as it is cumbersome to gather all of the specific information of target buildings, such as heating and cooling system types, facility information, and the prediction accuracy is decreased when developing a prediction algorithm using insufficient information. Therefore, we proposed a two-step approach to overcome the limitations of data collection, and we designed machine learning and statistics-based prediction models considering daily and monthly cases, belonging to the range of short-term electricity demand prediction. For the development of the prediction algorithm, five different techniques—machine learning techniques (ANN, DNN, LSTM, and SVR) and the traditional time-series analysis technique (SARIMAX) —were evaluated with respect to various test conditions.
In the case of the multiple buildings, in the first step, there is a problem that the features of individual buildings are not reflected. Therefore, to apply the features of individual buildings, a predictive model was developed by analyzing the correlation of electricity consumption with meteorological and building information. Through correlation analysis, the new parameter was developed by combining the total area and temperature variables that explain the effects of the features of individual buildings. As a result of developing the daily monthly prediction model, performance improvement was achieved in all models except for the SVR; in particular, significantly improved results were obtained in the monthly model.
In the second step, as the electricity consumption patterns vary for buildings according to the heating and cooling equipment, building information and building facility information are crucial in developing a building′s electricity demand prediction model. However, collection of building facility information is limited due to various problems. Therefore, we inferred building energy facility types and propose a predictive model by performing electricity consumption pattern analysis and DTW-based clustering classification. Based on the inferred information of the heating and cooling types, buildings were divided into three categories and evaluated.
In the experiment, the Test Case 3 model, which reflected the characteristics of individual buildings and the energy consumption pattern in the prediction model, showed the highest performance by applying the Q-value and information on the heating and cooling facilities. It was confirmed that the prediction model performed 27.5% better than the existing model (Table 11). The degree of agreement between the actual and predicted values was confirmed through Figure 11 and Figure 12.
In this study, an improved building electricity consumption prediction model was developed based on building and facility information using a two-step approach. Building and facility information are essential in developing a highly accurate electricity consumption prediction model. However, inappropriate parameter selection of the prediction model can lead to decreased prediction accuracy.
With the approach proposed in this study, we prove that the problems associated with insufficient data needed for the prediction can be resolved. In addition, we show the importance of parameter selection for model prediction affecting energy consumption as well as verifying which model would be a suitable machine learning and time-series algorithm for short-term energy prediction. By enabling stable power supply through accurate electricity demand response prediction, efficient power operation in specific regions and cities will be possible.

Author Contributions

Conceptualization and methodology were conducted by J.H. and D.S. Writing of the original draft was accomplished by J.H. and D.S. Writing, including review and editing, was performed by D.S. and M.-O.O. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by “Human Resources Program in Energy Technology” of the Korea Institute of Energy Technology Evaluation and Planning (KETEP) and was granted financial resource from the Ministry of Trade, Industry & Energy, Republic of Korea. (No. 20194010000040) and Korea Electric Power Corporation (grant number R19XO01-04).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Cullen, D. Climate change. Nature 2011, 479, 267–268. [Google Scholar] [CrossRef] [Green Version]
  2. Horowitz, C.A. Paris Agreement. Int. Leg. Mater. 2016, 55, 740–755. [Google Scholar] [CrossRef]
  3. Bae, K.Y.; Jang, H.S.; Jung, B.C.; Sung, D.K. Effect of Prediction Error of Machine Learning Schemes on Photovoltaic Power Trading Based on Energy Storage Systems. Energies 2019, 12, 1249. [Google Scholar] [CrossRef] [Green Version]
  4. Kneifel, J.; Webb, D. Predicting energy performance of a net-zero energy building: A statistical approach. Appl. Energy 2016, 178, 468–483. [Google Scholar] [CrossRef]
  5. Walker, S.; Labeodan, T.; Boxem, G.; Maassen, W.; Zeiler, W. An assessment methodology of sustainable energy transition scenarios for realizing energy neutral neighborhoods. Appl. Energy 2018, 228, 2346–2360. [Google Scholar] [CrossRef]
  6. Kwon, O.S.; Bin Song, K. Development of Short-Term Load Forecasting Method by Analysis of Load Characteristics during Chuseok Holiday. Trans. Korean Inst. Electr. Eng. 2011, 60, 2215–2220. [Google Scholar] [CrossRef]
  7. Saleh, M.S.; Althaibani, A.; Esa, Y.; Mhandi, Y.; Mohamed, A.A. Impact of clustering microgrids on their stability and resilience during blackouts. In Proceedings of the 2015 International Conference on Smart Grid and Clean Energy Technologies (ICSGCE), Offenburg, Germany, 20–23 October 2015; pp. 195–200. [Google Scholar]
  8. Jeong, K.; Koo, C.; Hong, T. An estimation model for determining the annual energy cost budget in educational facilities using SARIMA (seasonal autoregressive integrated moving average) and ANN (artificial neural network). Energy 2014, 71, 71–79. [Google Scholar] [CrossRef]
  9. Muralitharan, K.; Sakthivel, R.; Vishnuvarthan, R. Neural network based optimization approach for energy demand prediction in smart grid. Neurocomputing 2018, 273, 199–208. [Google Scholar] [CrossRef]
  10. Ahmad, T.; Chen, H. Potential of three variant machine-learning models for forecasting district level medium-term and long-term energy demand in smart grid environment. Energy 2018, 160, 1008–1020. [Google Scholar] [CrossRef]
  11. Building Act. Korea Law Information Center. Available online: http://www.law.go.kr/법령/건축법 (accessed on 20 September 2020).
  12. Statistics on Buildings. Molit Statistics System. 2019. Available online: https://stat.molit.go.kr/ (accessed on 20 September 2020).
  13. Walker, S.; Khan, W.; Katic, K.; Maassen, W.; Zeiler, W. Accuracy of different machine learning algorithms and added-value of predicting aggregated-level energy performance of commercial buildings. Energy Build. 2020, 209, 109705. [Google Scholar] [CrossRef]
  14. Chae, Y.T.; Horesh, R.; Hwang, Y.; Lee, Y.M. Artificial neural network model for forecasting sub-hourly electricity usage in commercial buildings. Energy Build. 2016, 111, 184–194. [Google Scholar] [CrossRef]
  15. Ryu, S.; Noh, J.; Kim, H. Deep Neural Network Based Demand Side Short Term Load Forecasting. Energies 2016, 10, 3. [Google Scholar] [CrossRef]
  16. Rahman, A.; Srikumar, V.; Smith, A.D. Predicting electricity consumption for commercial and residential buildings using deep recurrent neural networks. Appl. Energy 2018, 212, 372–385. [Google Scholar] [CrossRef]
  17. Jain, R.; Smith, K.M.; Culligan, P.J.; Taylor, J.E. Forecasting energy consumption of multi-family residential buildings using support vector regression: Investigating the impact of temporal and spatial monitoring granularity on performance accuracy. Appl. Energy 2014, 123, 168–178. [Google Scholar] [CrossRef]
  18. Song, X.; Liu, Y.; Xue, L.; Wang, J.; Zhang, J.; Wang, J.; Jiang, L.; Cheng, Z. Time-series well performance prediction based on Long Short-Term Memory (LSTM) neural network model. J. Pet. Sci. Eng. 2020, 186, 106682. [Google Scholar] [CrossRef]
  19. Shao, M.; Wang, X.; Bu, Z.; Chen, X.; Wang, Y. Prediction of energy consumption in hotel buildings via support vector machines. Sustain. Cities Soc. 2020, 57, 102128. [Google Scholar] [CrossRef]
  20. Bouktif, S.; Fiaz, A.; Ouni, A.; Serhani, M.A. Optimal Deep Learning LSTM Model for Electric Load Forecasting using Feature Selection and Genetic Algorithm: Comparison with Machine Learning Approaches. Energies 2018, 11, 1636. [Google Scholar] [CrossRef] [Green Version]
  21. Ngo, N.-T. Early predicting cooling loads for energy-efficient design in office buildings by machine learning. Energy Build. 2019, 182, 264–273. [Google Scholar] [CrossRef]
  22. Choi, D.; Lee, Y.; Koh, M. The Prediction and Valuation of Gas Consumption in Building using Artificial Neural Networks Based on Clustering Method. KIEAE J. 2018, 18, 69–74. [Google Scholar] [CrossRef]
  23. Lee, Y.-J.; Ko, M.-J.; Choi, D.-S. Pattern and Energy Intensity Analysis of Monthly Gas Energy Consumption in Apartment Using Dynamic Time Warping Hierarchical Clustering. J. Korean Soc. Living Environ. Syst. 2019, 26, 134–139. [Google Scholar] [CrossRef]
  24. Pyle, D. Data Preparation for Data Mining; Morgan Kaufmann Publishers: Burlington, MA, USA, 1999. [Google Scholar]
  25. Bourdeau, M.; Zhai, X.; Nefzaoui, E.; Guo, X.; Chatellier, P. Modeling and forecasting building energy consumption: A review of data-driven techniques. Sustain. Cities Soc. 2019, 48. [Google Scholar] [CrossRef]
  26. Public Open Data. Available online: https://www.data.go.kr/ (accessed on 20 September 2020).
  27. Korea Meteorological Administration (KMA). Available online: https://data.kma.go.kr (accessed on 20 September 2020).
  28. A Legister of Building. Saeumteo. Available online: https://cloud.eais.go.kr (accessed on 20 September 2020).
  29. Meijering, E. A chronology of interpolation: From ancient astronomy to modern signal and image processing. Proc. IEEE 2002, 90, 319–342. [Google Scholar] [CrossRef] [Green Version]
  30. Ioffe, S.; Szegedy, C. Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift. Available online: https://arxiv.org/abs/1502.03167 (accessed on 20 September 2020).
  31. Sobol, I. Global sensitivity indices for nonlinear mathematical models and their Monte Carlo estimates. Math. Comput. Simul. 2001, 55, 271–280. [Google Scholar] [CrossRef]
  32. Wei, P.; Lu, Z.; Yuan, X. Monte Carlo simulation for moment-independent sensitivity analysis. Reliab. Eng. Syst. Saf. 2013, 110, 60–67. [Google Scholar] [CrossRef]
  33. Wei, P.; Lu, Z.; Song, J. Moment-Independent Sensitivity Analysis Using Copula. Risk Anal. 2013, 34, 210–222. [Google Scholar] [CrossRef]
  34. Borgonovo, E. A new uncertainty importance measure. Reliab. Eng. Syst. Saf. 2007, 92, 771–784. [Google Scholar] [CrossRef]
  35. Adler, J.; Parmryd, I. Quantifying colocalization by correlation: The pearson correlation coefficient is superior to the Mander’s overlap coefficient. Cytom. Part A 2010, 77A, 733–742. [Google Scholar] [CrossRef]
  36. McCulloch, W.S.; Pitts, W. A logical calculus of the ideas immanent in nervous activity. 1943. Assoc. Symb. Log 1990, 52, 99. [Google Scholar]
  37. Gurney, K. An Introduction to Neural Networks; CRC Press: Boca Raton, FL, USA, 2018. [Google Scholar]
  38. Cortes, C.; Vapnik, V. Support-vector networks. Mach. Learn. 1995, 20, 273–297. [Google Scholar] [CrossRef]
  39. Dong, B.; Cao, C.; Lee, S.E. Applying support vector machines to predict building energy consumption in tropical region. Energy Build. 2005, 37, 545–553. [Google Scholar] [CrossRef]
  40. Box, G.E.; Jenkins, G.M.; Reinsel, G.C.; Ljung, G.M. Time Series Analysis: Forecasting and Control; Wiley: Hoboken, NJ, USA, 2016. [Google Scholar]
  41. Contreras, J.; Espínola, R.; Nogales, F.J.; Conejo, A.J. ARIMA models to predict next-day electricity prices. IEEE Trans. Power Syst. 2003, 18, 1014–1020. [Google Scholar] [CrossRef]
  42. Bengio, Y.; Courville, A.; Vincent, P. Representation Learning: A Review and New Perspectives. IEEE Trans. Pattern Anal. Mach. Intell. 2013, 35, 1798–1828. [Google Scholar] [CrossRef] [PubMed]
  43. Hinton, G.; Deng, L.; Yu, D.; Dahl, G.E.; Mohamed, A.-R.; Jaitly, N.; Senior, A.; Vanhoucke, V.; Nguyen, P.; Sainath, T.N.; et al. Deep Neural Networks for Acoustic Modeling in Speech Recognition: The Shared Views of Four Research Groups. IEEE Signal Process. Mag. 2012, 29, 82–97. [Google Scholar] [CrossRef]
  44. Greff, K.; Srivastava, R.K.; Koutnik, J.; Steunebrink, B.R.; Schmidhuber, J. LSTM: A Search Space Odyssey. IEEE Trans. Neural Netw. Learn. Syst. 2016, 28, 2222–2232. [Google Scholar] [CrossRef] [Green Version]
  45. De Myttenaere, A.; Golden, B.; Le Grand, B.; Rossi, F. Mean Absolute Percentage Error for regression models. Neurocomputing 2016, 192, 38–48. [Google Scholar] [CrossRef] [Green Version]
  46. Hyndman, R.J.; Koehler, A.B. Another look at measures of forecast accuracy. Int. J. Forecast. 2006, 22, 679–688. [Google Scholar] [CrossRef] [Green Version]
  47. Stone, R. Improved statistical procedure for the evaluation of solar radiation estimation models. Sol. Energy 1993, 51, 289–291. [Google Scholar] [CrossRef]
  48. Son, C.-H.; Yang, I.-H. A Study on the Effect of Envelope Factors on Cooling, Heating and Lighting Energy Consumption in Office Building. J. Korean Inst. Illum. Electr. Install. Eng. 2012, 26, 8–17. [Google Scholar]
  49. Jung, S. A Study on the Comparison of Maximum Power Demand in Building’s Heating and Cooling systems: The Case of EHP, GHP and absorption chiller-heater system+CAV. Resid. Environ. Inst. Korea 2012, 10, 303–311. [Google Scholar]
  50. Kim, Y.; Lee, T. Analysis of Energy Consumption Characteristics of a Medium Sized Office Building. Korea Facil. Manag. Assoc. 2012, 9, 41–49. [Google Scholar]
  51. Cho, M.S.; Le, D.Y. An Analysis of Residential Building Energy Consumption Using Building Energy Integrated Database—Focused on Building Uses, Regions, Scale and the Year of Construction Completion. J. Real Estate Anal. 2017, 3, 101–118. [Google Scholar] [CrossRef]
  52. Building Cooling Facility Survey Report. October 2014. Available online: http://www.prism.go.kr (accessed on 20 September 2020).
  53. Mishra, S.; Shafi, Z.; Pathak, S. Time series event correlation with DTW and Hierarchical Clustering methods. PeerJ Prepr. 2019, 1–12. [Google Scholar] [CrossRef]
  54. Heaton, J. Artificial Intelligence for Humans, Volume 3: Deep Learning and Neural Networks; CreateSpace Independent Publishing Platform: Scotts Valley, CA, USA, 2015. [Google Scholar]
Figure 1. Research framework.
Figure 1. Research framework.
Energies 13 05885 g001
Figure 2. Commercial buildings’ location map in Gwangju, South Korea.
Figure 2. Commercial buildings’ location map in Gwangju, South Korea.
Energies 13 05885 g002
Figure 3. Correlation between electricity consumption and meteorological information.
Figure 3. Correlation between electricity consumption and meteorological information.
Energies 13 05885 g003
Figure 4. Correlation with electricity consumption in multiple buildings.
Figure 4. Correlation with electricity consumption in multiple buildings.
Energies 13 05885 g004
Figure 5. Structure of LSTM (Long Short-Term Memory).
Figure 5. Structure of LSTM (Long Short-Term Memory).
Energies 13 05885 g005
Figure 6. Individual assessment graph for trained models (MAPE).
Figure 6. Individual assessment graph for trained models (MAPE).
Energies 13 05885 g006
Figure 7. Daily and monthly temperature for January–December 2016 in Gwangju, South Korea.
Figure 7. Daily and monthly temperature for January–December 2016 in Gwangju, South Korea.
Energies 13 05885 g007
Figure 8. Daily electricity consumption of each building cluster.
Figure 8. Daily electricity consumption of each building cluster.
Energies 13 05885 g008
Figure 9. Monthly electricity consumption of each buildings cluster.
Figure 9. Monthly electricity consumption of each buildings cluster.
Energies 13 05885 g009
Figure 10. Assessment of individual model (Steps 2 and 3).
Figure 10. Assessment of individual model (Steps 2 and 3).
Energies 13 05885 g010
Figure 11. Graph comparing actual and predicted values in monthly cases.
Figure 11. Graph comparing actual and predicted values in monthly cases.
Energies 13 05885 g011
Figure 12. Graph comparing actual and predicted values in daily cases.
Figure 12. Graph comparing actual and predicted values in daily cases.
Energies 13 05885 g012
Table 1. Summary of the studies on prediction model analysis.
Table 1. Summary of the studies on prediction model analysis.
Time ScaleResearchObject of PredictionFeaturesModelEvaluation
HourlyWalker et al. [13]Commercial Buildings Electricity ConsumptionMeteorological Parameters, day of the week, hour of the day, month of the year, seasons, working day, Autoregressive parametersBoosted-tree/Random forest, SVM, ANN,MAPE, CV-RMSE, R2, Theil U-Statistics,
Chae et al. [14]Commercial Buildings Electricity ConsumptionMeteorological Parameters, Time indicator, Operational conditionANNCV-RMSE, MBE, APE, MSE
Ryu et al. [15]Various Building type Load ConsumptionWeather features, day of the week, weekday indicator, date information of labelDNN (RBM, ReLU), SNN, DSHW, ARIMAMAPE, RRMSE
Rahman et al. [16]Commercial Buildings Electricity ConsumptionHVAC Critical, HVAC Normal, Convenience, Critical, Convenience Power Normal, CRAC Critical, CRAC NormaDNN, LSTM, MLP, NN, RNNRMS, RMSE, Pearson Coefficient
Jain et al. [17]Electricity consumption of multi-family residential buildingsMeteorological Parameters, Spatial granularitySVRCV
DailySong et al. [18]Oil productionPressure, Temperature, Permeability, Porosity, Well lengthLSTMMAPE, MAE, RMSE
Shao et al. [19]Hotel Building Electricity Consumption.Meteorological Parameters, Building measurement information, Building information.SVRMSE, R2
Bouktif et al. [20]Electric LoadMeteorological ParametersRNN, LSTM, NN, Extra Trees, Random ForestCV, RMSE, MAE
Ngo et al. [21]Cooling load in office buildingsBuilding information, building envelops, Internal loadsANN, SVR, CART, LR, EnsembleR, RMSE, MAE, MAPE, SI, Computing time
MonthlyJeong et al. [8]Educational Building Electricity ConsumptionCharacteristics by educational facilitySARIMA, ANN, Hybrid (SARIMA, ANN)MAPE, RMSE, MAE
Choi et al. [22]Gas consumption in BuildingBuilding information Date, TemperatureANNR2, Pearson Coefficient
Lee et al. [23]Gas consumptionGas consumptionDTW Clustering-
Table 2. Input parameter and target value information.
Table 2. Input parameter and target value information.
Input ParameterTarget Value
DailyTemperature (°C), Precipitation (mm),
Wind Speed (m/s), Atmospheric Pressure (hPa),
Relative Humidity (%), Solar Irradiance (MJ/m2),
Total Area (m2), Number of Floors, Underground Floors, Day of the Week, Q-value, Facility type
January–December 2016
Daily electricity consumption for
1 year (kW)
MonthlyTemperature (°C), Wind Speed (m/s),
Atmospheric Pressure (hPa), Relative Humidity (%),
Solar Irradiance (MJ/m2), Total Area (m2), Number of Floors, Underground Floors, Q-value, Facility type
January 2014–December 2016
Monthly electricity consumption for 3 years (kW)
Table 3. Example dataset of multiple buildings (daily).
Table 3. Example dataset of multiple buildings (daily).
Building NumberDateTemperature (°C)Precipitation (mm)Wind Speed (m/s)Relative Humidity (%)Atmospheric Pressure (hPa)Solar Irradiance (MJ/m2)Total Area (m2)Number of FloorsUnderground FloorsDay of the WeekElectricity Consumption (kW)
BN #11 January 20167.10.71.671.11018.79.298238.56921875.37
2 January 20166.500.678.61015.27.598238.569211847.25
31 December 20161.900.677.51021.86.628238.569212035.68
BN #21 January 20167.10.71.671.11018.79.2921,935.238112686.56
31 December 20161.900.677.51021.86.6221,935.238113208.68
BN #31 January 20167.10.71.671.11018.79.296401.65511446.58
31 December 20161.900.677.51021.86.626401.65511442.53
BN #41 January 20167.10.71.671.11018.79.299939.175111649.63
31 December 20161.900.677.51021.86.629939.175112093.5
.
.
.
BN #261 January 20167.10.71.671.11018.79.2954,304.04173112,819.84
31 December 20161.900.677.51021.86.6254,304.04173113,757.76
BN #271 January 20167.10.71.671.11018.79.297279.99211201.32
31 December 20161.900.677.51021.86.627279.99211768.92
BN #281 January 20167.10.71.671.11018.79.292191.041011577.6
31 December 20161.900.677.51021.86.622191.041011574.39
Table 4. Example dataset of multiple buildings (monthly).
Table 4. Example dataset of multiple buildings (monthly).
Building
Number
DateTemperature (°C)Wind Speed (m/s)Relative Humidity (%)Atmospheric Pressure (hPa)Solar Irradiance (MJ/m2)Total Area (m2)Number of FloorsUnderground FloorsElectricity Consumption (kW)
BN #1January 20142.11.8581016.5285.648238.569296,194
February 20144.22.2571015.4295.268238.569294,178
December 20164.71.5691016.1241.728238.569269,539
BN #2January 20142.11.8581016.5285.6421,935.2381156,744
December 20164.71.5691016.1241.7221,935.2381133,456
BN #3January 20142.11.8581016.5285.646401.655131,872
December 20164.71.5691016.1241.726401.655129,750
BN #4January 20142.11.8581016.5285.649939.175181,523
December 20164.71.5691016.1241.729939.175161,373
.
.
.
BN #26January 20142.11.8581016.5285.6454,304.04173546,912
December 20164.71.5691016.1241.7254,304.04173461,424
BN #27January 20142.11.8581016.5285.647279.99266,898
December 20164.71.5691016.1241.727279.99250,179
BN #28January 20142.11.8581016.5285.642191.0410127,079
December 20164.71.5691016.1241.722191.0410123,605
Table 5. Sensitivity analysis of the electricity consumption and meteorological information in a single building.
Table 5. Sensitivity analysis of the electricity consumption and meteorological information in a single building.
SeasonWinterSummer
Parameterδ (Delta)S1δ (Delta)S1
Temperature0.1818800.2462280.2126780.243081
Precipitation0.1038990.0416970.1799380.085850
Wind Speed0.0856060.0636680.0483590.013573
Relative Humidity0.0565840.0150880.0128910.028091
Atmospheric Pressure0.0633520.0319690.0706070.024481
Solar Irradiance0.0305670.0256310.0489700.081328
Table 6. Correlation of the electricity consumption and meteorological information from a single building.
Table 6. Correlation of the electricity consumption and meteorological information from a single building.
SeasonTemperaturePrecipitationWind SpeedRelative HumidityAtmospheric PressureSolar Irradiance
Winter−0.389690.0222290.227532−0.040630.166891−0.03883
Summer0.502439−0.126350.012127−0.080270.0300380.252418
Table 7. Correlation of the electricity consumption and meteorological and building information from multiple buildings.
Table 7. Correlation of the electricity consumption and meteorological and building information from multiple buildings.
Meteorological Information
SeasonTemperaturePrecipitationWind SpeedRelative HumidityAtmospheric PressureSolar Irradiance
Winter−0.1012940.0021570.0344990.0007600.078926−0.073448
Summer0.137393−0.067337−0.026587−0.0598330.0498730.095713
Building Information
SeasonTotal AreaNumber of FloorUnderground Floor
Winter0.6100650.4048680.254268
Summer0.6387080.5271500.445445
Table 8. Individual evaluation summary for trained models in multiple buildings (First Step).
Table 8. Individual evaluation summary for trained models in multiple buildings (First Step).
Test CasePerformance
Evaluation
SARIMAXSVRANNDNNLSTM
DailyTest Case 1MAPE (%)27.1599124.7414124.3253114.5498211.23937
RMSE (kW)557.6002711.1884571.3286406.2006579.5171
MBE (%)−1.18098−1.228982.777059−0.76317−0.31540
CV (%)18.2168923.1798618.6654013.2706418.13398
Test Case 2MAPE (%)25.2246024.8327920.4589310.8390210.78970
RMSE (kW)669.5132701.3550452.3658382.9493389.8103
MBE (%)−1.07525−1.219582.639181.125600.258391
CV (%)21.4290422.8593514.7788712.5110212.73517
MonthlyTest Case 1MAPE (%)39.3065128.6725640.9217427.5981925.68580
RMSE (kW)29795.6441911.2628848.6415503.4332260.52
MBE (%)2.531365−8.84265−1.27958−4.62698−4.156262
CV (%)34.8191444.9190933.7124818.1172937.547024
Test Case 2MAPE (%)19.9677028.9661429.3057114.2471918.61913
RMSE (kW)27423.9841840.3217719.8113946.7526755.26
MBE (%)−1.94524−9.77504−1.43820−0.478992.69541
CV (%)29.0076144.8430620.7073414.9476631.13961
Table 9. The number of three clusters classified by facility types.
Table 9. The number of three clusters classified by facility types.
CaseSummerWinter
Case 1Electricity as a cooling facilityElectricity as a heating facility
Case 2Electricity as a cooling facilityMixed energy as a heating facility
Case 3Electricity as a cooling facility
(Electricity usage restrictions)
Electricity as a heating facility
Table 10. Description of the experimental datasets.
Table 10. Description of the experimental datasets.
Dataset NameGroup Description
Test Case 1Original dataset in building group.
Test Case 2Dataset using Q-value (First Step in Section 3.2)
Test Case 3Dataset using Q-value (First Step) and
facility information (Second Step in Section 3.3)
Table 11. Comparison of the predicted results from Test Cases 1, 2, and 3 (Second Step).
Table 11. Comparison of the predicted results from Test Cases 1, 2, and 3 (Second Step).
Test CasePerformance
Evaluation
SARIMAXSVRANNDNNLSTM
DailyTest Case 1MAPE (%)27.1599124.7414124.3253114.5498211.23937
RMSE (kW)557.6002711.1884571.3286406.2006579.5171
MBE (%)−1.18098−1.228982.777059−0.76317−0.31540
CV (%)18.2168923.1798618.6654013.2706418.13398
Test Case 2MAPE (%)25.2246024.8327920.4589310.8390210.78970
RMSE (kW)669.5132701.3550452.3658382.9493389.8103
MBE (%)−1.07525−1.219582.639181.125600.258391
CV (%)21.4290422.8593514.7788712.5110212.73517
Test Case 3MAPE (%)24.8494916.9538417.882999.776528.96914
RMSE (kW)653.5616414.9893439.2258426.7818388.6730
MBE (%)−0.379030.646133−0.17665−0.109450.18410
CV (%)20.9184713.525814.349613.910112.6980
MonthlyTest Case 1MAPE (%)39.3065128.6725640.9217427.5981925.68580
RMSE (kW)29795.6441911.2628848.6415503.4332260.52
MBE (%)2.531365−8.84265−1.27958−4.62698−4.156262
CV (%)34.8191444.9190933.7124818.1172937.547024
Test Case 2MAPE (%)19.9677028.9661429.3057114.2471918.61913
RMSE (kW)27423.9841840.3217719.8113946.7526755.26
MBE (%)−1.94524−9.77504−1.43820−0.478992.69541
CV (%)29.0076144.8430620.7073414.9476631.13961
Test Case 3MAPE (%)19.5004118.1130928.3597510.8462511.79058
RMSE (kW)26215.6914633.7117113.5912667.4912205.81
MBE (%)−1.93994−0.75605−1.325070.17049−1.28465
CV (%)27.7295515.6839219.9989113.5765913.08178
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Hwang, J.; Suh, D.; Otto, M.-O. Forecasting Electricity Consumption in Commercial Buildings Using a Machine Learning Approach. Energies 2020, 13, 5885. https://doi.org/10.3390/en13225885

AMA Style

Hwang J, Suh D, Otto M-O. Forecasting Electricity Consumption in Commercial Buildings Using a Machine Learning Approach. Energies. 2020; 13(22):5885. https://doi.org/10.3390/en13225885

Chicago/Turabian Style

Hwang, Junhwa, Dongjun Suh, and Marc-Oliver Otto. 2020. "Forecasting Electricity Consumption in Commercial Buildings Using a Machine Learning Approach" Energies 13, no. 22: 5885. https://doi.org/10.3390/en13225885

APA Style

Hwang, J., Suh, D., & Otto, M. -O. (2020). Forecasting Electricity Consumption in Commercial Buildings Using a Machine Learning Approach. Energies, 13(22), 5885. https://doi.org/10.3390/en13225885

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