TECHNICALPAPER
TECHNICALPAPER
net/publication/342956749
CITATIONS READS
4 553
6 authors, including:
Some of the authors of this publication are also working on these related projects:
The Optimal Location of STATCOM and BESS in Smart Grid System for Voltage Stability Improvement using PSO Adaptive Neural Network Hybrid Algorithm View project
DEVELOPMENT OF A PREDICTIVE ALGORITHM FOR HEART DISEASE USING AN ENSEMBLE OF LOGIT MODEL AND NEAREST NEIGHBOUR TREE METHOD BASED ON
SMARTWATCH DATA View project
All content following this page was uploaded by Nor Azuana Ramli on 15 July 2020.
Abstract—Energy consumed by smart buildings in efficiency by simplifying the system connection in using
Malaysia accelerates continuously due to the growth of computerized process [4]. All the electrical appliances can be
country’s population. This occurrence creates awareness controlled digitally and offer handiness towards consumers
towards energy management team to organize and manage in managing their energy management. A smart building
their energy consumption systematically. The main purpose of
this research is to analyse and predict the energy consumptions
with the help of Internet of Things (IoT) is the most effective
in order to achieve a better energy management of a ways in supporting energy efficiency management and
commercial smart building towards efficiency. In this paper, monitoring energy consumption [5]. IoT provides a digital
historical data of hourly consumption of maximum demand platform to observe and supervise the energy consumption in
collected at the selected tenants of the smart commercial a huge scale of data in the presence of internet. This
building implemented with Internet of Things (IoT) has been technology also helps in reducing the energy costs and
analysed using statistical method computed with the formula of charges by enhancing the way in managing the energy
mean, variance, skewness and kurtosis. k-nearest neighbour consumption of building [6]. It is crucial for consumers
(k-NN) method has been applied on the data of consumptions especially energy management team to have a deep
for prediction process by using three different values of nearest
neighbour. The predicted data has been separated into
comprehension on the pattern of their smart building energy
different training and testing ratios which are 70% and 30%. consumption. Statistical method is one of the analysis
Root mean square error (RMSE) is proposed in this paper to techniques that are used to obtain data regarding the energy
evaluate the performance of predicted data. The results consumption of building [7]. Analysing of energy
showed that the nearest neighbour with k = 5 is the most consumption is really important in improving energy
accurate since it provides the lowest average RMSE value with efficiency and cost saving for a building [8]. Hence,
5.73, 8.54 and 0.35 for each tenant of the building respectively. statistical method is proposed as the main objective in this
This model will be used as a reference to predict the energy research is to do statistical analysis for energy consumption
usage for the upcoming period. In the future, data that has of a smart building.
been predicted can be integrated into the available system for
user monitoring and controlling purposes. Prediction also brings convenience towards consumers
and energy management team in estimating their usage and
Keywords—Internet of Things, smart building, maximum planning for upcoming period to improve the energy
demand, machine learning, k-nearest neighbour
efficiency of a smart building. To achieve the next objective
of the research, k-nearest neighbour (k-NN) method is
I. INTRODUCTION proposed in this study in order to predict energy consumption
Energy consumptions in Malaysia increase gradually due for the upcoming period. This method known as one of the
to the growth of population which is in year of 2018, it hits prediction technique that helps in energy management
32 million people and will be estimated to increase more in efficiency by minimize the energy consumption towards a
the future [1]. The growth of population lead to the building [9]. Moreover, this method is considered to be one
increasing of energy demand in this country and have been of the simplest classification techniques used for prediction
estimated to reach 116 million tons of oil equivalents (mtoe) [10]. This method also is a non-parametric and simple
by the year 2020. Energy provided in Malaysia is influenced learning algorithm that uses a database concerning the
by the main fossil fuel sources which included coal, natural energy consumption to predict and make a classification of
gas and fuel oil. Buildings which including commercial, new sample data [11]. Prediction method will encourage
residential and industrial in our country utilizes a total of energy management team to supervise their energy
48% of the electricity that have been created [2]. The consumption that will lead the management system to
increasing of energy consumptions towards buildings from become more manageable and systematic towards achieving
day to day create enforcement to this country in managing energy efficiency. Predicting their energy consumption also
and reducing the energy consumption as much as possible in becomes substantial in order to control the energy usage and
order to improve energy efficiency. reduce the expenses on energy cost for billing purposes.
Energy efficiency can be improved by applying a smart All the data used for analysis and prediction method were
system management towards a building. Smart building is a collected based on real time data from a smart commercial
cutting edge technology structures that can improve energy building located in Klang Valley, Malaysia. This paper is
separated into four sections. Comparison between present User can observe and monitor the collected data internally
studies with literatures that has been reviewed will be through an online platform by giving an ID number and
discussed in the first section. Next, all methods for analysis password.
and prediction that have been applied in this study will be
deliberated in details. The results and findings obtained from
both methods will be discussed in the last section.
Fig. 2. The illustration of k-nearest neighbour method Skewness determines the symmetrical of the data
distribution while kurtosis defines the shape of the
The prediction process required historic data of the distribution curves for graph distribution. Standard error of
electrical consumption that has been collected at both skewness and kurtosis for each tenant in the table has been
tenants in a particular time to undergo prediction using multiplied with 3 and all the values are compared to the
nearest neighbour values which are 3, 4 and 5. The predicted absolute value of skewness and kurtosis in order to know the
data will be compared with the historical data for each normality of dataset of maximum demand consumption used
values of nearest neighbour used. This prediction method to undergo analysis process. If the values of absolute
used Euclidian distance function that is set as default in skewness and kurtosis are lesser than the calculated standard
SPSS software. error that has been multiplied earlier, which are known as
score values, it shows that the data of hourly consumption of
C. Performance Evaluation maximum demand used to undergo analysis using SPSS
software is normal.
Root mean square error (RMSE) is used to evaluate the
Figure 4 and 5 shows the skewness and kurtosis for all
value of maximum demand that have been predicted using
tenants. Bar graph of absolute values for skewness and
k-NN method. RMSE will calculates the difference between
kurtosis are lesser than bar graph of calculated score values.
the predicted data and historical data value of maximum
It can be concluded that all the data used for analysis is
demand consumption for each month of every tenant using
normal and can proceed to undergo prediction process.
equation provided below where n is the total number of
data, At is the historical values of maximum demand data
and Ft is the predicted values. The accuracy of prediction
value calculated by difference value of k was determined by
RMSE calculation.
Fig. 7 (b). Comparison between actual and predicted maximum demand for
tenant A2
formulas consists of mean, variance, skewness and kurtosis
in order to know the normality of collected dataset.
Prediction in this research is completed by using k-nearest
neighbour (k-NN) method with three different values of k.
Predicted data undergo training and testing data in the ratio
of 70 to 30 to avoid overestimating. Root mean square error
(RMSE) is applied on the predicted data to determine the
accuracy value of k. As a conclusion, value of k = 5 is the
most accurate among other values due to the least value of
RMSE calculated. Prediction on maximum demand for
Fig. 7 (c). Comparison between actual and predicted maximum demand for
tenant B1 upcoming period also had been done by using k = 5 as a
reference. To conclude, energy consumption analysis brings
convenience towards user and energy management team to
have a deep understanding on their energy behaviour.
Prediction creates awareness and helps them to enhance
their energy management system in order to reduce the
energy bills. For future study, predicted data of maximum
demand can be integrated into the available system for user
monitoring and controlling purposes in achieving energy
efficiency and sustainability.
Fig. 7 (d). Comparison between actual and predicted maximum demand for
tenant B2
V. CONCLUSION
In this paper, a research is conducted based on real data
collection at the smart commercial building located in Klang
Valley, Malaysia. Analysis on maximum demand
consumption measured in kilowatt had been done
concerning at major tenants of the building. Statistical
method is proposed computed with several mathematical
APPENDIX
Fig. 9. Hourly consumption of maximum demand graph for Tenant A1 of June 2018
Fig. 10. Hourly consumption of maximum demand graph for Tenant A2 of June 2018
REFERENCES
[1] “Malaysia Population (LIVE).” Malaysia Population (2018) – [8] F. Farahnakian, T. Pahikkala, P. Liljeberg, and J. Plosila, “Energy
Worldometers, 2018 [Online]. aware consolidation algorithm based on K-nearest neighbor regression
[2] J. S. Hassan, R. M. Zin, M. Z. A. Majid, S. Balubaid, and M. R. for cloud data centers,” Proc. - 2013 IEEE/ACM 6th Int. Conf. Util.
Hainin, “Building energy consumption in Malaysia: An overview,” J. Cloud Comput. UCC 2013.
Teknol., 2014. [9] F. Wahid and D. Kim, “A Prediction Approach for Demand Analysis
[3] P. Tracy and P. Tracy, "What is a smart building and how can it benefit of Energy Consumption Using K-Nearest Neighbor in Residential
you?", RCR Wireless News, 2019 [Online] Buildings,” Int. J. Smart Home, 2016.
[4] K. Akkaya, I. Guvenc, R. Aygun, N. Pala, and A. Kadri, “IoT-based [10] "A Quick Introduction to K-Nearest Neighbors Algorithm",
occupancy monitoring techniques for energy-efficient smart buildings,” Noteworthy - The Journal Blog, 2019 [Online].
2015 IEEE Wirel. Commun. Netw. Conf. Work. WCNCW, 2015 [11] C. Li, Z. Ding, D. Zhao, J. Yi, and G. Zhang, “Building energy
[5] A. R. Al-Ali, I. A. Zualkernan, M. Rashid, R. Gupta, and M. Alikarar, consumption prediction: An extreme deep learning approach,”
“A smart home energy management system using IoT and big data Energies, 2017.
analytics approach,” IEEE Trans. Consum. Electron., 2017. [12] R. Zhou, Y. Pan, Z. Huang, and Q. Wang, “Building Energy Use
[6] V. V. Afanas’ev, V. G. Kovalev, V. V. Tarasova, and V. A. Prediction Using Time Series Analysis,” IEEE 6th Int. Conf.
Tarasov,“The use of statistical methods to analyze electric-energy Serv. Comput. Appl, 2013.
consumption by budget institutions,” Russ. Electr. Eng., 2017. [13] N. A. Ramli, M.F.A. Hamid, N. H. Azhan, and M. A. A. Ishak,
[7] M. N. . Salleh, A. Hariri, M. Z. . Yusof, A. . Leman, M. Faris Mubin, “Solar Power Generation Prediction by using k- Nearest Neighbor
and K. . Rahman, “Energy Consumption Analysis Based on Energy Method,” unpublished.
Efficiency Approach: A Case of Suburban Area,” 2016.