Professional Documents
Culture Documents
An example of this setting can be United Arab Emirates. The occupants by using RFID and IR sensors. In [10] Akkaya et al.
homeowners developed an occupancy monitoring mechanism using RFID,
sensors and camera. The system collect large amount of data on
Thus, the novelty of our system lies in its state of art localization of people. This data is used to improve energy
architecture to provide an integrated platform for smart energy efficiency of buildings. The HVAC control is performed by
management of different stakeholders ranging from the home applying 4 stages: occupancy detection, occupancy counting,
owner customers to utility providers. Moreover, the system can occupancy tracking, and behavior recognition.
extend its application to monitor power consumption of any After reviewing the literature, the team found that
machine or device besides the HVAC units. there many issue not solved yet. The first one is the Lack of
standard which is an important issue that needs to be addressed
II. PREVIOUS WORK immediately to enable interoperability and integration of IoT
In the research done by Kim el al. [2], they developed a systems. Consumption of resources is another area ignored by
Business Platform for demand side management for energy. It most developers, the impact of which will be visible as the
is basically a cluster of distributed energy resources which are amount of instances increase. Security wise, most IoT
controlled centrally. The system is constructed of 2 big data implementations lack proper security measures. Security must
clusters: one is Hadoop and the other one is Spark installed. The be implemented starting from the physical layer to the
energy usage data is collected every 15 minutes and then saved application layer. Thus, IoT systems being developed should
into a relational database. The queries can be executed in follow a standard, be efficient in consumption of resources and
parallel to reduce time. In [3], Lee et al. built a system for be resilient against cyber-attacks.
storing, indexing, and searching for huge-scale energy usage
data. Their implementation is a proof-of-concept that big data III. PROPOSED Solution
technologies can be effectively applied to the large-scale energy An efficient energy management system should ensure
domain. Their system consists of: a cluster infrastructure, monitoring of building atmospheric conditions, equipment
automatic data-collection, data loading to a distributed file status, bill tracking utility, and record generation [11]. To
system, a distributed database for managing large-scale power render these services, four divisions of business processes are
data, and data access APIs. The distributed database is used for considered:
storing the big data of power measurements. Bergelt, Vodel and Consumption Analysis for Monitoring: Analytical
Hardt [4] introduced a big data implementation for wireless techniques can help identify different areas of power
sensor networks. They relied on an assumption that the network consumption discrepancies across different buildings over
have a huge number of sensors, consequently, the collected data a span of time.
will be enormous. They used a combination of database- Asset Efficiency Analysis: The efficiency of an HVAC
orientation and wake-up technology to rise their system unit in a building can largely depend upon the age of the
efficiency in terms of energy and power consumption. Zhou el building or environmental conditions. Using different
al. in [5] presented a digitized system for improving energy benchmarking techniques, ideal efficiency levels for a
consumption efficiency. They used a big data paradigm where device can be computed and compared with specific cases
huge amounts of power consumption data are generated, which involve excessive energy consumption.
collected and stored. They used 3 dimensions to slicing and Root Cause Analysis: This type of analytics can be
dicing users’ energy consumption data. These dimensions are performed for scenarios where energy consumption is
time, type of the households and geographical area. Grolinger, more than the expected measure. The analysis can help
Katarina et al. in [6] introduced sensor-based forecasting justify or invalidate an estimated conjecture on average
system for event-organizing venues halls. They used smart power consumption.
meters to measure energy consumption daily, hourly and store Predictive Analysis: A predictive analysis can be
these in big data centers. Machine-learning alongside with performed by identifying the pattern of device
neural networks (NN) approaches are used to analyze and performance and its power consumption through trend
predict power consumption. Corotinschi and Gaitan in [7] lines.
introduced a solution to manage of electricity and heating
Access Control of Devices: The end user client
systems to achieve a desired performance. Certain scenarios are
application should provide access control to switch
defined to reduce the power consumption of the building. The
ON/OFF the device remotely.
system has sensory capabilities to interact with the environment
and collect information and it is also able to learn and make Bill Tracking Utility: Billing is one of the business
decision automatically using machine learning approaches. In process offered by our system. The end devices report
[8], Moreno et al. introduced an automation platform that daily consumption once every day to the middleware via
deploys a network of Home Automation Modules (HAM) MQTT message. The server upon receiving the message
connected to all the appliances and control panels to updates the power consumption charge in the database.
automatically control the devices. The collected information Moreover, the payment history is also preserved for
from HAM is provided to the end users through a web interface. analytics purpose to track bill defaulters.
Moreno et al. in [9] presented a holistic IoT based platform to
collect information in a smart environment. The architecture These business processes are accommodated on a national
implements a mechanism to provide indoor localization of the level as the data sent to the EMS is analyzed on four different
3
1. Hardware: 2. Software:
The hardware part consists of a Photon development kit i. Benchmarking and Data Analysis:
which is the main processor on the edge. This kit has an
embedded Wi-Fi chip which gives it the ability to access the One of the primary analysis technique in data mining is
internet without any extra modules. An RFID reader (with tags) Benchmarking. Benchmarking the data sets can help identify
is used for the local control of the AC appliances. Switching which devices/buildings should be focused on for setting
on/off the AC devices is physically achieved by implementing optimal energy management goals and policies. The Pentaho
Photon relays bank. Temperature, humidity and transformer Business Analytics serves as an optimum platform for
current sensors are set for measuring these substantial benchmarking real time data and generating user-interactive
quantities. A 220 volts AC fan is used as a proof of concept. reports. For the system design different benchmarking
Depending on the different business processes, the photon scenarios are deemed for four different stakeholder levels. For
kit is programmed to function differently for each scenario. For homeowners the analysis setups comprise of benchmarking
the consumption analysis business process, the Photon is power consumption of different devices in a house,
encoded to collect the temperature, humidity and power benchmarking weather variations with respect to power
consumption data from the sensors every 2 seconds. This data, consumption annually. A screenshot of the Home Owner Level
attached with the user, house and device details, is sent to the analysis graphs created on Pentaho is as shown in Figure 4
MQTT server in JSON format to a specific channel. To below.
implement access control of devices through client application,
the Photon also reports the status of the AC device whenever
the status of device changes by the end user. To enable the
billing utility process, the photon transmits the daily power
consumption for the specific device by using the current
consumption after calculating how much time the device status
is on. Figure 3 below gives a complete view of the hardware
implementation of the project.
Power = ((Irms/1.414)*220.0)
Figure 7 (a):Slab Report (b): Energy Map with cities and their power
distribution annually (Red denotes the highest power consumption,
Yellow denotes moderate power consumption, Green denotes the
lowest power consumption annually) (c) Weather Map across UAE
cities depicting temperature-humidity variation
Figure 10 (a): Pending Bill amount displayed with Pay Bill Button
view (b): User notified with the paid bill status
Through the evaluation results on MQTT server, we clients. The MQTT communication performance can greatly
deduced that the maximum threshold for the broker is only improve using a more powerful machine for MQTT broker
1000 concurrent client messages and the connection is setup. Scalability can be improved with the bridge capability
broken beyond this range. Benchmark results for offered by the MQTT broker. Also, with proper load balancing
Throughput Vs. Number of clients is shown in Fig 12 techniques the scalability of MQTT can be improved.
below. Moreover, using distributed MQTT brokers like Apache Kafka
can help alleviate the issue of scalability of MQTT.
150000
100000
QoS 1 Figure 14: Server Performance during the request phase
50000
0 QoS 0
ii. Speed Test for Hadoop Database
1 10 100 1000
Number of Clients Time required to write data to Hadoop using WebHDFS is
crucial to the project. The time required should be as low as
Figure 13: Latency (s) Vs. Number of Clients possible for a large system. The time difference between
submission of job and completion of job was measured for 4000
From the above results it can be deduced that the concurrent requests. The average time it took for WebHDFS to
overall latency for QoS 0 is always lower than that of QoS 1 for write was found to be around 66 sec. A summary of the
all categories of clients. This difference is due the fact that in response time to Complete a write by WebHDFS is shown in
QoS 0 message delivery is not acknowledged whereas in QoS Figure 15 below.
1 an acknowledgment for confirmed message reception is sent,
which adds to the latency of message transmission. Moreover, Average response time (ms) 65,925.30
it can be deduced from Figure 8 that for 1000 clients’ message Maximum response time (ms) 122,382.00
transmission there is a packet drop of 2.9% in QoS 0 and 2.6%
Minimum response time (ms) 329.00
in QoS 1. However, since QoS 1 is more reliable than QoS 0,
therefore the loss percentage of messages for QoS 0 is higher Median response time (ms) 67,378.00
than that of QoS 1. From the above experimented data, we can Figure 15: Response Time by WebHDFS
infer that these results simulate a small community of 1000
9
Similarly, time required to fetch 4000 files from Hadoop by IEEE, Queenstown, 2014, pp. 53-58.
executing an ETL script was measured. Two attempts were doi: 10.1109/SAS.2014.6798916
made to measure the time required to read from Hadoop. Each [5] Zhou, Kaile, and Shanlin Yang. "Understanding household
file is ~62 Bytes in memory. In the first attempt, the time taken energy consumption behavior: The contribution of energy big
was 3481ms. In the second attempt, the ETL took 4062ms to data analytics." Renewable and Sustainable Energy
complete the task. These measures are for 4000 concurrent Reviews 56 (2016): 810-819.
communication. Thus, this simulates a small city and ensures a [6] Grolinger, Katarina, et al. "Energy Forecasting for Event
decent performance level. Moreover, results can be enhanced Venues: Big Data and Prediction Accuracy." Energy and
by running the setup in a distributed environment. Buildings 112 (2016): 222-233.
[7] G. Corotinschi and V. Gaitan, "Smart cities become possible
VI. FUTURE PROSPECT thanks to the Internet of Things", 2015 19th International
The current system design can enhance its scalability domain Conference on System Theory, Control and Computing
by making it compatible with existing HVAC compliant (ICSTCC), 2015.
communication protocols such as BACNet or LonWorks. [8] M. V. Moreno, B. Úbeda, A. F. Skarmeta and M. A.
BACNet is an ISO 16484-5, and ANSI/ASHRAE 135-1995 Zamora, "How can We Tackle Energy Efficiency in IoT
standard [13]. Having multiple operating interfaces for Based," MDPI , no. 14, p. 33, 2014
controlling HVAC systems of the building is difficult. Thus, [9] M. Moreno, J. Santa, M. Zamora and A. Skarmeta, "A
integrating the system design with BACNet compliant devices holistic IoT-based management platform for smart
will provide a single platform solution with interoperability environments", 2014 IEEE International Conference on
among different HVAC systems of the building. Another Communications (ICC), 2014.
addition to the current system design can be machine learning [10] K. Akkaya, I. Guvenc, R. Aygun, N. Pala and A. Kadri,
technologies. Applying machine learning technologies would "IoT-based occupancy monitoring techniques for energy-
enable the system to analyze the data more efficiently and it also efficient smart buildings", 2015 IEEE Wireless
makes the systems able to predict data for the future. The Communications and Networking Conference Workshops
system can be largely scaled with the implementation of wake- (WCNCW), 2015.
up technology for the used sensors like temperature, humidity, [11] A. Bhardwaj, "TATA Consultancy Services-White Paper,"
and current sensor. 2015.[Online].Available:
http://www.tcs.com/SiteCollectionDocuments/White-
Papers/BPS-Internet-of-Things-Smart-Energy-Management-
VII. CONCLUSION
1015-1.pdf.
Our proposed project is set to open new avenues for smart [12] "Prototyping tools for the Internet of Things", Particle,
energy management on IoT Platform. Hadoop and Data 2016. [Online]. Available: https://www.particle.io/prototype.
analytics is used extensively for the process of data mining in [Accessed: 05- Apr- 2016].
order to develop smart algorithms on large data for decision [13] Downloads.siemens.com, 2016. [Online]. Available:
making. The system design of our project provides a complete https://www.downloads.siemens.com/download-
environment for smart energy management such as remote center/Download.aspx?pos=download&fct=getasset&id1=A6
control of devices, automatic generation of bills, and record V10209534. [Accessed: 29- Feb- 2016].
generation to view the energy impact of appliances and the
related price charged through an end user mobile application.
REFERENCES
[1]S. Writer, "Greening the existing building stock of the UAE
– Middle East Construction News", Meconstructionnews.com,
2011.[Online].Available:
http://meconstructionnews.com/557/greening-the-existing-
building-stock-of-the-uae. [Accessed: 16- May- 2016].