Next Article in Journal
Electrical and Physical Characteristics of WO3/Ag/WO3 Sandwich Structure Fabricated with Magnetic-Control Sputtering Metrology
Next Article in Special Issue
Void Hole Avoidance for Reliable Data Delivery in IoT Enabled Underwater Wireless Sensor Networks
Previous Article in Journal
Multi-Timescale Drowsiness Characterization Based on a Video of a Driver’s Face
Previous Article in Special Issue
IoT Hierarchical Topology Strategy and Intelligentize Evaluation System of Diesel Engine in Complexity Environment
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

IoT Operating System Based Fuzzy Inference System for Home Energy Management System in Smart Buildings

1
School of Electrical Engineering and Computer Science (SEECS), National University of Sciences and Technology (NUST), Islamabad 44000, Pakistan
2
COMSATS Institute of Information Technology, Islamabad 44000, Pakistan
*
Author to whom correspondence should be addressed.
Sensors 2018, 18(9), 2802; https://doi.org/10.3390/s18092802
Submission received: 2 August 2018 / Revised: 19 August 2018 / Accepted: 20 August 2018 / Published: 25 August 2018

Abstract

:
Energy consumption in the residential sector is 25% of all the sectors. The advent of smart appliances and intelligent sensors have increased the realization of home energy management systems. Acquiring balance between energy consumption and user comfort is in the spotlight when the performance of the smart home is evaluated. Appliances of heating, ventilation and air conditioning constitute up to 64% of energy consumption in residential buildings. A number of research works have shown that fuzzy logic system integrated with other techniques is used with the main objective of energy consumption minimization. However, user comfort is often sacrificed in these techniques. In this paper, we have proposed a Fuzzy Inference System (FIS) that uses humidity as an additional input parameter in order to maintain the thermostat set-points according to user comfort. Additionally, we have used indoor room temperature variation as a feedback to proposed FIS in order to get the better energy consumption. As the number of rules increase, the task of defining them in FIS becomes time consuming and eventually increases the chance of manual errors. We have also proposed the automatic rule base generation using the combinatorial method. The proposed techniques are evaluated using Mamdani FIS and Sugeno FIS. The proposed method provides a flexible and energy efficient decision-making system that maintains the user thermal comfort with the help of intelligent sensors. The proposed FIS system requires less memory and low processing power along with the use of sensors, making it possible to be used in the IoT operating system e.g., RIOT. Simulation results validate that the proposed technique reduces energy consumption by 28%.

1. Introduction

During recent decades, concerns over managing energy consumption are rising significantly. Among all the energy consuming economic sectors, namely industrial, transportation, residential and commercial, the residential sector is the third highest energy consumer [1]. The residential sector is responsible for approximately 21% and 17% of total energy consumption in U.S.A., and Canada, respectively [2]. As the total population of the world is increasing swiftly, electricity demand is also estimated to increase by 24% by 2035 [3]. Among all the residential appliances, Heating, Ventilation and Air Conditioning (HVAC) is the main component for user comfort and target for energy consumption minimization as these appliances constitute the major part of residential energy consumption [4]. HVAC appliances are the main electrical loads observed during peak hours [5].
In order to manage the energy consumption, smart home with its Home Energy Management System (HEMS) plays an important role by improving the efficiency, reliability and the conservation of energy usage. A set of incentives and initiatives such as Demand Response (DR), Energy Efficiency (EE), Time of Use (ToU) rates, and Real Time Pricing (RTP), etc. have been introduced by the utilities and smart grid to encourage the energy consumer for participating in load management techniques [6,7]. However, it is often observed that success of these initiatives highly depends on the user acceptance and participation [8]. Demand response and user participation can be facilitated by the use of a thermostat, electric water heater, etc., so that users can program and schedule their devices accordingly [9,10]. HEMS respond to these varying prices by either scheduling or curtailing the load.
With the advancement of embedded devices, intelligent sensors and availability of the Internet, Internet of Things (IoT) has proved its usefulness in the energy conservation domain. Sensors are being used to monitor different environmental condition variations and help to manage the growing number of appliances in an automatic way and maintain the comfortable environment. IoT has found its way to different devices in homes like air conditioning, lighting, etc., and these appliances are connected to the Internet so that these devices can be controlled remotely using smart phones. With the increase in the number of home appliances and sensors, cost and complexity of processing is increasing day by day. The operating system provides a link between software and hardware. When IoT is considered, it brings its own set of constraints for the operating system in terms of memory, size, power and processing capacity. Because of the variation in appliances and connection in IoT, there are various operating systems available in the market, e.g., Real Time Operating System (RTOS), TinyOS, Real-time Internet of Things (RIOT), Android Things, etc. IoT enhances the smart control of HEMS by using sensors, actuators and controllers. However, energy consumption minimization, user comfort enhancement, cost reduction and Peak-to-Average Ratio (PAR) remain major challenges of the HEMS.
Different novel appliance scheduling schemes [11] based on linear programming [12], particle swarm optimization [13], linear sequential multiloop algorithm [14], game theory [15], dynamic programming [16] and fuzzy logic system [17] have been proposed for residential energy optimization and management. Hierarchical control of Alternating Current (AC) and Direct Current (DC) micro-grid has been discussed in [18], whereas decentralized autonomous management techniques [19,20] for independent control and agent-based modelling in order to optimize the individual stakeholder objectives [21] have been proposed in previous research. In order to get the benefit of the demand-side management techniques, a fully neuron connected network of micro-grid [22], particle swarm optimization [23] and linear programming in combination with fuzzy logic [24] have been proposed.
A nonlinear sliding mode controller has been proposed in [25] by coupling humidity and temperature for energy efficient working of HVAC. The proposed technique has surpassed the conventional PID controller in terms of steady state, settling and rise time. The performance of model predictive control has been compared to the PID controllers as well. In [26], the model of a house considering climatic data of a Portuguese city for the functioning of an air conditioner has been simulated for the demand response. Six ToU rates have been considered and an optimal solution was selected on the basis of expenses incurred. Similar research has been conducted by the same authors in [27] while considering the thermal comfort.
However, it has been seen that previous efforts in energy optimization often results in jeopardizing the user comfort as the major focus of these studies were mainly on energy consumption minimization at the cost of user comfort. Recent research work on an energy management system for residential buildings is concentrated on the scheduling of appliances to off-peak hours, which can cause delay in working of appliances and increase of PAR. These approaches are also non-adaptive according to the user schedule.
There are different environment variables that constitute the user comfort e.g., indoor temperature, outdoor temperature, humidity, etc. Therefore, in order to efficiently utilize the benefits of DR incentive while maintaining user comfort, there is a need to consider more parameters that directly affect the user. Our proposed methodology is considering the objectives of user thermal comfort maintenance along with energy consumption minimization, which were not considered in the previous studies [17,28]. Using a humidity parameter allows us to set the thermostat set-points that not only lie in the resident’s comfort zone but also result in energy conservation. In order to evaluate the energy consumption of HVAC for all the possible scenarios that occur due to considered input parameters, a large number of rules to be defined in an FIS rule base pose a difficulty. In this paper, a method is proposed that uses all of the combinations of the input parameters membership function and define all the rules in a less cumbersome manner. In addition to this, a feedback loop is added to the proposed FIS, which constantly checks the change in the indoor room temperature and controls the working of the heater specifically. The proposed system in this paper requires less memory to evaluate the rules in the FIS rule base (approximately 2 kB). The proposed fuzzy controller also requires less power and makes it possible for the controller to be integrated at the home level as a working mechanism using RIOT.
The remainder of paper is structured as follows: state-of-the-art work is categorized and tabulated in Section 2; Section 3 elaborates the problem formulation; in Section 4, the system model based on the fuzzy logic system is presented; simulation results in Section 5 is followed by Section 6 where conclusion of the paper is discussed. Table 1 describes the variables and the abbreviations used throughout this paper.

2. Related Work

When dealing with HEMS, researchers have come to find that electric load can be categorized as thermostatically controlled and manually controlled. HVAC devices like air conditioners, heaters, and heat pumps are thermostatically controlled loads. HVAC devices are the major contributors of peak load during peak hours. Load shedding and scheduling of these devices can result in energy consumption minimization. The literature includes a wide range of work related to scheduling and load shedding of different home appliances.

2.1. Nature-Based Algorithms for DSM

In the literature, it is observed that nature-based algorithms are often used for scheduling the appliances [29] as nature has provided a beautiful source to researchers for solving complicated problems from different research and problem domains.
A mathematical Wind Driven Optimization (WDO) [30] technique has been used to achieve user comfort in terms of appliance waiting time and objective of electricity cost minimization. Appliances were divided into three different classes and the hybrid of WDO along with the Knapsack Problem (K-WDO) has been used. Simulations were performed in comparison with Particle Swarm Optimization (PSO), where the proposed technique results in better cost reduction.
In order to increase the user convenience in residential buildings, an approach of the home energy management based on neural network and Q-learning algorithm has been proposed [31]. Results have shown that the technique not only reduced the peak formation and resulted in energy conservation but also helped in reducing carbon footprints. A novel air conditioning system [32] has been developed for better demand response by shifting the load in order to balance the power of the smart grid. The proposed system used two demand response strategies named Demand-Side Bidding (DSB) strategy and Demand as Frequency-controlled Reserve (DFR) strategy. The objective of the study was cost and energy saving while considering a building in Hong Kong with the synthetic dynamic price for RTP. Simulations have been performed for the 40-story office building using EnergyPlus. The proposed technique was compared with the conventional air conditioning approach, which results in reduction in cost and energy use. In order to balance the occupant comfort and residential energy consumption, a technique based on ZigBee-based sensor nodes and a machine learning approach has been proposed in [33].
The impact of different dynamic prices like ToU and Critical Peak Pricing (CPP) has been detailed in a survey [34]. Here, 15 homes were taken for experiments where the presence of central air conditioning and Programmable Communicating Thermostat (PCT) have been ensured. Similarly, another survey was performed in order to check the use of thermostat in ambient temperature variations and quantitative interviews of users were conducted for the comfort evaluation in Finland [35]. Additionally, the effect of occupancy using occupancy-responsive thermostat was observed in [36]. When the building was vacant, an occupancy-responsive thermostat change the initialized set-point to the setback.
The Hidden Markov Model has been used to estimate the user occupancy status in [37]. A smart thermostat was proposed for turning the HVAC ON and OFF by following the user occupancy and sleep pattern. Motion sensors and door sensors were used to collect the data about a user schedule as well as simulations were performed in EnergyPlus. The proposed technique achieved better energy efficiency while the user comfort was heavily sacrificed because of the missing time, and the other limitation of this proposed technique is that it uses only one type of HVAC equipment for evaluating its proposed proposal. Information transmission in underwater wireless sensors is majorly disturbed by the energy holes. A localization-free interference and energy hole minimization routing protocol has been proposed in [38]. Simulation results of the proposed technique has shown the better performance in the number of packets received to the final destination. In order to increase the efficiency of demand response in HEMS, different types of research work are going on from a traditional method of control to a more efficient feedback controller. In [39], the occupancy of the user has been used to review Model Predictive Control (MPC) for HVAC buildings. A limitation of this approach is its high computational cost and complexity of designing a particular system.
A hybrid technique using two optimization approaches of Bacterial Foraging Algorithm (BFA) and genetic algorithm [40] with the objective of reducing cost and PAR has been proposed. PAR is an important performance metric used to evaluate the effect of peak electricity consumption on the system. There are a variety of appliances that require either high voltage or low voltage. Demand-side Management (DSM) persuades the electricity consumer to shift the high voltage required appliances to the low peak hours so that less energy is consumed during peak hours. However, most of the schedulers often result in the increase of PAR as they increase the load during low peak hours. The proposed algorithm used a fitness function of cost reduction, but it also minimizes PAR using day ahead RTP.
In [41], hybrid meta-heuristic techniques for scheduling of appliances have been proposed. The main point of designing a hybrid technique is a balance of exploration and exploitation. In order to achieve this balance hybrid of Optimal Stopping Rule (OSR) with Genetic Algorithm (GA), Teaching Learning Based Optimization (TLBO) and a Firefly Algorithm (FA) have been proposed. The objectives of this research were to reduce energy consumption and minimizing waiting time along with peak-to-average ratio and cost as optimized parameters. MATLAB (R2013a, MathWorks, Natick, MA, USA) simulation has been conducted while considering user priorities and RTP for heterogeneous homes. A limitation of the proposed methodology is the use of a limited number of appliances. This proposed scheme has not considered the effect of HVAC, which is the major energy consumer in the residential sector.

2.2. Fuzzy Inference System for DSM

A control strategy was developed for HVAC in order to respond to the RTP. A Dynamic Demand Response Controller (DDRC) [42] has been proposed that evaluates the value of electricity price at 15 min interval and change the thermostat set-point according to the setback initialized by the user. DDRC was implemented in MATLAB and the house model was integrated using EnergyPlus. A limitation of the proposed methodology is the use of a narrow range for temperature maintenance as they have not considered user preference.
In [43], a fuzzy logic rule-based algorithm was developed along with wireless sensors’ integration. A wireless programmable thermostat has been simulated in MATLAB. The proposed system used outdoor temperature, load demand, electricity price and user occupancy parameters in real time to reduce the thermostat set-points for better energy utilization in heating/cooling systems. Performance metrics are demand response participation, energy consumption, and the occupants’ user comfort. The Center of Gravity (CoG) method is used for defuzzification, whereas membership functions of parameters are defined as a triangular shape. As the output parameter decides how much load reduction should be done, the defuzzified value tells by how much value an initialized set-point will change. The objective of this research was to reduce energy consumption while having a best indoor temperature, but user comfort is sacrificed.
In the literature, it is found that a user often neglects or forgets to change the set-points according to varying price rates. In [44], an autonomous thermostat was developed by integrating fuzzy logic, wireless sensors, and smart grid initiatives. The proposed approach used Supervised Fuzzy Logic Learning (SFLL) including parameters of outdoor temperature, occupant presence, current electricity price and electricity demand to reduce the thermostat set-point. The proposed autonomous thermostat worked in two modes: (i) Economy Mode and (ii) Comfort Mode. The developed thermostat can handle all types of electricity pricing rates using Mamdani FIS. A limitation of the proposed system is its region-specific approach as research was conducted in a cold country—Canada.
Because of advancement in technologies and communication, the Programmable Communicating Thermostat (PCT) is often recommended for use. PCTs automatically change the set-point of a thermostat according to the change in the pricing rate. PCTs are the thermostat that does not require the constant user interaction. Comparison between the conventional thermostat and programmable communication thermostat has been performed in [45] using computer simulation that was run for 24 h. In this paper, price-based demand response program of RTP for residential air conditioning load is used to reduce the peak electric load. The authors have considered three air conditioners with different power ratings to perform simulation in SIMULINK (R2013a, MathWorks, Natick, MA, USA). In [46], Fuzzy Logic Approach (FLA) is augmented with PCT to increase the working efficiency of thermostat for load reduction that can work for both RTP and ToU pricing mechanisms. Demand response has been implemented as proactive demand shedding using MATLAB GUI. A house simulator using thermodynamic principles was described in this paper. The input parameters were current outdoor temperature taken from sensors; electricity price communicated by the utility; occupancy from occupancy sensor and initialized set-points of thermostat, whereas the output of the system is load reduction. The proposed technique (PCT + FLA) has been compared with fixed thermostat, programmable thermostat, and PCT, showing that proposed work outperforms in energy consumption minimization. A limitation of this technique is its non-adaptiveness.
The system proposed in [46] was made adaptive using Adaptive Fuzzy Logic Model (AFLM) in [17]. In this study, AFLM has been integrated with the wireless sensor network to learn and adapt the thermostat set-point according to the user priorities. Learning vectors and adapting vector were used in order to learn the change in user preference and adapt according to the user’s choice if the initialized set-points have been overridden by the user for consecutive three times. Simulations were performed for two months using “Manual Mode” and “Autonomous Mode” where “Autonomous Mode” was preferred by the user.
In [28], a worldwide adaptive thermostat controller by implementing fuzzy logic has been presented. The proposed controller changes the thermostat set-points as the load demand changes. Input parameters to this system were user occupancy, utility price, outdoor temperature, and initialized set-point. This system was evaluated using Mamdani FIS and Sugeno FIS. Performance metrics were energy consumption, cost, PAR, and user comfort. Energy consumption was computed using FIS by performing MATLAB simulations where Sugeno FIS outperformed among all the approaches. The proposed technique resulted in low cost and avoidance of peak formation, but it also results in user discomfort.
In [47], two demand-side management techniques i.e., load shifting and load curtailment, have been applied. In this research, the proposed techniques were Binary Particle Swarm Optimization Fuzzy Mamdani (BPSOFMAM) inference system and Binary Particle Swarm Optimization Fuzzy Sugeno (BPSOFSUG) inference system for controlling and scheduling electric loads. The proposed techniques were implemented on 10 single family apartments in order to control daily used appliances e.g., washer, dryer, etc. and seasonally used appliances e.g., air conditioner. BPSO was used to schedule daily used appliances during low peak hours, whereas fuzzy logic was used for maintaining thermostat set-points to improve the energy utilization efficiency. Air conditioning system set-points were initialized according to the PMV indexing method. Although the proposed technique outperforms in energy consumption minimization as compared to the existing approaches, user comfort is sacrificed. In literature, a fuzzy controller that aims to use ventilation for passive cooling of the residential building has been proposed in [48]. Cooling demand was reduced by optimizing the proposed controller using a multi-objective evolutionary algorithm. Although the proposed methodology considered the thermal comfort, the major focus was mainly on the cooling load of HVAC. A brief summary of the most relevant papers is presented in Table 2 only for quick lookup.

3. Problem Formulation

Fuzziness is a term that arises when we are dealing with uncertainty coming from linguistic concepts without a clear boundary. Measuring user comfort in HEMS is considered as vague or fuzzy. In natural language, for example, if someone classifies the user thermal comfort as cold, it leaves us with the uncertainty of how cold it is. Introduction of a fuzzy logic in the system will make the user interaction more natural [49]. Fuzzy logic allows researchers to compute with words that help in human reasoning and decision-making.

3.1. Fuzzy Logic Controller

Conventional controllers are expressed in the form of mathematical modeling so that they can represent the physical quantities of the real system. Inputs and outputs of Fuzzy Logic Controllers (FLC) are real variables that are mapped with a nonlinear function. Because of this, they have been found to be very helpful in modeling the nonlinear HVAC system. FLC is advantageous because of having no mathematical modeling requirement as compared to the conventional controllers. Conceptual diagram of the FLC system is shown in Figure 1.
FIS takes the crisp inputs, fuzzifies them, applies fuzzy operators on the premise (antecedent), performs implications from the premise to the conclusion (consequent), aggregates the conclusion across fuzzy rules to generate fuzzy output and defuzzify it to get a crisp output. The model proposed in this paper is evaluated and tested using the Mamdani FIS and Sugeno FIS. Mamdani FIS rules are generated using the linguistic variables for both the premise and conclusion.
I F Outdoor-Temp is “Normal” A N D Indoor-Temp is “Normal” A N D Rates is “High Peak” A N D Occupancy is “Absent” A N D ISP is “Low” A N D Humidity is “Low” T H E N energy consumption is “Low”.
The formula used for the centroid defuzzification method in Mamdani FIS is as follows [50]:
z = μ C ( z ) · z d z μ C ( z ) d z .
Sugeno FIS takes the premise part as a linguistic variable; however, its conclusion part is a function that can be of zero order (constant) or first order.
I F Outdoor-Temp is “Normal” A N D Indoor-Temp is “Normal” A N D Rates is “High Peak” A N D Occupancy is “Absent” A N D ISP is “Low” A N D Humidity is “Low” T H E N energy consumption = energy-consumption ( t e m p i n , t e m p o u t , p r i c e , o c c u p a n c y , I S P , h u m i d i t y ).
The formula used by Sugeno FIS for the average weighted defuzzification method is as follows:
z = μ C z ¯ · z ¯ μ C z ¯ .
To conclude, Mamdani FIS is intuition based method that is well suited for the human input, whereas Sugeno FIS is a computationally efficient method and is well suited for the mathematical analysis [51]. In order to calculate the total cost of electricity consumption in this paper, the following formula is used where C o s t ( h ) is the hourly cost, E C ( h ) is the electricity consumption on an hourly basis and R a t e s ( h ) are the hourly pricing tariffs based on ToU:
C o s t ( h ) = E C ( h ) × R a t e s ( h ) .
PAR is used to get the information of the load peaks and to determine how much load balance is achieved. PAR is calculated using the formula below:
P A R = L o a d m a x i m u m L o a d a v e r a g e .
The efficiency of the proposed technique as compared to the previous technique is calculated from the equation below where V a l u e p r e is the value achieved using a previous approach and V a l u e p r o is the value obtained by applying the proposed technique:
E f f i c i e n c y G a i n = V a l u e p r e V a l u e p r o V a l u e p r e .

3.2. The Proposed Model

There are many parameters that can be considered as an input to the rule base of the fuzzy logic system. However, proposed research considers parameters that directly influence the user comfort and energy consumption minimization. This research investigates the inclusion of humidity as an input parameter to proposed FIS and adding feedback loop to the system in order to maintain the user comfort and reduce the energy consumption. The parameters used in the FIS are indoor temperature, outdoor temperature, pricing mechanism, occupant’s presence, initialized set-point and relative humidity of the current house or region. In order to measure the real-time environmental variables, the use of wireless sensors is required. The proposed controller in this paper has the potential to be embedded in the IoT operating system RIOT as IoT increases the number of parameters to be monitored along with increase in the efficiency of control over the internet. FIS is used to decide how much energy consumption should be made by the controller.
Figure 2 shows that environmental variables of the surroundings are monitored by the sensors. Crisp values of the input parameters i.e., indoor temperature, outdoor temperature, humidity, user occupancy and the initialized set-points are continuously sent to controllers and the measurements are periodically sent to the Internet over the gateway. It is assumed that the proposed technique communicates with a smart meter in order to read the price signal imposed by the utility. Initialized set-points on the thermostat are decided by the user on the basis of environmental conditions i.e., humidity and temperature. Energy management controller utilizes the fuzzy rule base inference system to make the decision regarding energy consumption based on the combinations of sensor values and smart grid price values by firing the corresponding rules. Decision on energy consumption is sent to HVAC by an actuator for the desired working of appliances.
In addition, indoor temperature change is also monitored at 5 min intervals and sent to the controller through a feedback loop for the heater room model. After every 5 min, it is decided whether the heater should be ON or OFF on the basis of indoor temperature and thermostat set-point. A number of simulations have been performed to decide the optimal time interval for measuring the room temperature variation. If the interval is less than 5 min, a heater continuously switches between ON and OFF state, which is not suitable for energy conservation. However, if the interval is set for more than 5 min, simulation results have shown that the indoor temperature rises above the thermostat set-point that can affect the user thermal comfort. Because of this, a 5 min interval is considered as the optimal interval that maintains the balance between energy conservation and user comfort. In order to switch the heater ON or OFF, a relay is used. When the temperature of the room changes in accordance with the thermostat set-point proposed controller will send the command to an actuator that controls the working of the heater. Our fuzzy inference rule base takes 972 bytes of memory and our entire proposed system will have memory requirements of 2 kB. Less memory requirements and low processing power to traverse lookup tables make it ideal to be used with any IoT operating system. Operating system used for IoT software is RIOT. RIOT is a microkernel-based operating system that matches with various software requirements of devices and deals with challenges related to the constraint of memory and power consumption. RIOT has the ability to work for small networked devices that provide real-time controlling capabilities with less memory constraints. All of these features of RIOT make it a perfect choice to implement the proposed controller on system. In order to generate the fuzzy rule base system using the input parameters, a combinatorics method is devised that defines a total of 486 rules automatically, which is otherwise difficult to program manually.
As a result, the expectations of a “Controller” that is equipped with proposed FIS are as follows:
(i)
A system that helps the user to set a wide range of the thermostat set-points based on the temperature and relative humidity.
(ii)
An energy management controller that will help in better energy optimization.
(iii)
A controller that can handle smart grid initiatives like ToU and DR that results in the energy management and conservation.
(iv)
The proposed controller will help in initializing the thermostat set-points that maintain the temperature under user comfort zone.
(v)
FIS controller is designed in such a way that can include other parameters without having the hassle to define a large number of rules.
(vi)
The proposed controller includes room temperature variation that helps in making better decisions for the energy conservation.
(vii)
Using an IoT based fuzzy controller will result in real-time monitoring and total controllability.
A thermodynamic model is used to measure the room temperature variation in order to simulate the indoor temperature sensor. The input parameters of the proposed feedback loop system are indoor temperature, outdoor temperature, initialized set-point, occupancy and the electricity price. In [52], the authors have discussed the difficulty and complexity of modeling room temperature variation and at the same time catering to the effect of external weather so that outside climate varies continuously. The principle of heat transfer [53] is developed from thermodynamic laws and rate equations of conduction, convection, and radiations. The proposed research only considers the conduction and convection mechanism [54,55] to represent the thermodynamic model of the room. The thermodynamic model used is verified and analyzed with respect to different energy managing parameters.

3.3. Model of Residential Heating System

In order to model the working of the heater inside a room and simulate the variation in room temperature, heater and its thermal characteristics, room and its thermal characteristics and a thermostat are taken as a model component. The thermal model is an adaption of the [46], which was created using the model of heat gain and heat loss of system.
As shown in Figure 3, thermostat plays a central role in the room-heater model with having a room temperature sensor and controller. In this model, heat generated by the heater is calculated as well as the heat lost to the surroundings. After all the calculations have been performed, the controller part of the thermostat reads the value of the indoor temperature and sends the control signal if the room temperature is different as compared to the set-point temperature. The components of residential heating system are described below:
  • Heater:
    Heater component is modeled using the amount of heat gain supplied to the room. When the heater is ON, hot air is blown at a constant temperature T H e a t e r and a flow rate M H e a t e r . Heat gain inside the room is calculated using the equation below. Output of the heat is dependent on the thermostat control signal:
    d Q g a i n d t = ( T H e a t e r T R o o m ) × M H e a t e r × c a i r ,
    where d Q g a i n d t is heat gain because of hot air flow from heater, T H e a t e r is temperature of hot air from heater, T R o o m is room air temperature at real time, M H e a t e r is air mass flow rate through heater, and c a i r is heat capacity of air at constant pressure.
  • Thermostat:
    Thermostat in the room calculates the difference in the initialized thermostat value and room temperature and turns the heater ON or OFF based on the difference. Thermostat computes the difference at each 5-min interval. The working of the thermostat can be summarized as follows:
    (i)
    When the room temperature is below the desired set-point, the heater state is ON and it supplies the heat gain and value of control signal is equal to 1.
    (ii)
    When the room temperature is above the initialized set-point for that particular time, the heater is turned OFF by the thermostat and heat gain is equal to zero as the control signal is 0.
  • Room:
    In order to calculate the temperature variation, the system considers both the heat gain from the heater and heat loss from room to the surroundings. Heat loss ( d Q l o s s d t ) was calculated using the equation mentioned below where T o u t s i d e is outdoor temperature at real time and R t h e r m a l is equivalent thermal resistance of the house:
    d Q l o s s d t = T R o o m T o u t s i d e R t h e r m a l .
    In order to compute the variation in indoor temperature ( d T r o o m d t ), heat gain and heat loss calculated using the Equations (6)–(7) two formulas were added in the following equation, where M a i r is the mass of air inside room:
    d T r o o m d t = 1 M a i r × c a i r ( d Q g a i n d t d Q l o s s d t ) .
In order to validate the proposed methodology, two extremal temperatures are considered i.e., coldest and hottest day from Yakutsk, Russia.

4. System Model Implementation

In this proposed technique, parameters have been considered that directly affect the energy consumption and user comfort in residential buildings. These parameters are indoor temperature ( T e m p i n d o o r ), outdoor temperature ( T e m p o u t d o o r ), user occupancy ( O c c ), price rates ( P r a t e s ), thermostat set-points ( I S P s ), and humidity ( H u m i d i t y r e l ).
In the proposed technique, trapezoidal membership function is used to define the membership functions of the input and output variables. This system has only one output that is energy consumption ( E C ). Although the triangular membership function is simple to use, the parameters used in this study are best defined using trapezoidal membership function since the temperature, set-points, price and humidity do not suddenly drop their value and maintain the same value for a length of time. Thus, these flat line membership functions have the advantage of simplicity [50].

4.1. Outdoor Temperature

Electricity load is affected by different variables like outdoor temperature and electricity prices. There is a strong relationship between setting the set-point and outdoor temperature that directly determine the energy consumption. The importance of outdoor temperature becomes more valuable when the temperature fluctuates strongly in many countries like Canada. This situation results in making the HVAC a highly variable load among all the appliances. Generally, when the outdoor temperature is very cold or hot, the electricity demand is very high. As this system is an extension of an adaptive fuzzy learning model [17] and a worldwide adaptive thermostat model [28], two extreme weather details have been considered.
Two cities considered for analyzing the cooling and heating power consumption in any residential building are the Wadi Halfa in Sudan and Yakutsk from Russia. Wadi Halfa is one of the hottest cities in the world and Yakutsk is the coldest city in the world. After that, one of the hottest and coldest days from the respective cities is taken into account. Wadi Halfa experiences the highest temperature during the month of June, whereas Yakutsk is coldest during January. The outdoor temperature for Wadi Halfa and Yakutsk was taken from a weather forecasting website [56,57], respectively. The outdoor temperature is considered on an hourly basis. Figure 4 shows the membership functions of the outdoor temperature.

4.2. Indoor Temperature

Indoor temperature is an important parameter that determines the user comfort. Energy consumption is highly dependent on the indoor temperature. If the outdoor temperature is at the extreme, then maintaining a normal indoor temperature often results in high energy consumption. Figure 5 defines the membership function of the indoor temperature used for hot and cold cities.

4.3. Occupancy

Occupancy is a parameter that determines the importance of user comfort. Occupancy data to know whether a person was present at a particular time or not can be received from occupancy sensors. The effect of occupancy can be seen in the energy consumption because, when a place is not occupied, a proposed controller will work differently as compared to a scenario when that place is occupied. Hence, considering the effect of user occupancy not only results in energy consumption minimization, but it also maintains user comfort. Membership function for occupancy input parameter is shown in Figure 6.

4.4. Price Tariff

Reduction in bill is a target that residential users always want to achieve. Total bill and energy consumption shows high dependence on the pricing tariffs for the current time. In this proposed methodology, a ToU pricing tariff is considered. Installing smart meters is very advantageous for residential users as they provide consumers with current energy cost as well as current energy consumption. This kind of interaction will reduce the peak load as the user can reduce the load during peak hours, which will benefit both utility and user by decreasing the energy consumption and resulting in bill reduction. Figure 7 shows the price tariff from Hydro One, Canada used for the evaluation of results in this paper.

4.5. Relative Humidity

One of the parameters that has a huge impact on the evaluation of thermal comfort is humidity. Integrating the values of relative humidity not only helps to reduce the energy consumption but also maintains the environment that lies in the user comfort zone. There is a range of temperature and humidity values that lies in the user comfort zone according to the American Society of Heating, Refrigerating and Air-Conditioning Engineers (ASHRAE). It can be seen in Figure 8 that a user can be in a comfort zone even at a higher temperature if the humidity is low [58]. However, if temperature reduces, higher humidity maintains the user comfort zone.

4.6. Initialized Set-Points

The proposed solution simulated the working of the thermostat. The user sets the thermostat set-points according to their need and comfort. Therefore, initialized set-points are considered as one of the inputs to the FIS in order to measure the energy consumption. The proposed system monitored the initialized set-points on an hourly basis and, along with the other information, helped in applying the appropriate rule. Initialized set-points defined for indoor temperature for both hot and cold cities were set according to the psychrometric chart mentioned in [58].

4.7. Automatic FIS Rule Base Generation

The proposed system is evaluated with the help of fuzzy rules in order to determine the total energy consumption. As the input parameters of the FIS increase, the number of rules in the FIS rule base also increased. It is often observed that defining rules manually to the software is a very lengthy and tedious process. As the proposed technique in this paper is an extension of a worldwide adaptive thermostat model [28] by adding humidity as an input parameter, one can observe the increase in the number of rules, which is as follows:
(i)
In worldwide adaptive thermostat [28], there were four variables with three membership functions and one variable with two membership functions. This resulted in a total of 162 rules to be defined in the rule base of Mamdani FIS and Sugeno FIS.
(ii)
Adding humidity as a parameter to the system results in five variables with three membership functions and one variable with two membership functions. A total of 486 rules are required to be defined for the both Mamdani FIS and Sugeno FIS.
As the number of rules to be defined in a system increases, the process of defining the rules will become cumbersome. Many approaches have been designed to lessen the burden of defining rules manually. In this paper, a technique for the automatic generation of rule base is proposed using the combinatorics and weightage method. Each membership function of a single input parameter is assigned a weightage that is used to calculate S c o r e , and values of output parameters are going to be assigned according to the calculated S c o r e as shown in Algorithm 1. The major steps of FLC are as follows:
(i)
The first step is the fuzzification process in which all the membership functions of the system parameters are initialized and defined.
(ii)
The second step is defining the rules in the rule base by giving weightage to membership functions of input parameters and then assigning the suitable output fuzzy value.
(iii)
The third step uses the Mamdani FIS and Sugeno FIS to evaluate the energy consumption.
(iv)
After rule evaluation, defuzzification is performed to get the crisp value for the energy consumption. In the end, calculation of remaining performance measures is performed.
In the second step, after assigning weights to the membership functions of the input parameters, to circumvent the combinatorial growth of IF-THEN rules, we introduce a parameter called S c o r e , which is indicative of energy consumption. Low S c o r e means low energy consumption and vice versa. The  S c o r e is calculated as the weighted sum of weights assigned to the membership function of variables involved. The weights are dependent on the membership function where membership function of low, medium, and high have the weights of 0, 1, and 2, respectively.
The only exception is the variable of Occupancy with binary weights of 0 or 1 in reference to the absence and presence of occupants. The method used for the automatic rule generation utilizes the combination of the input parameters where order does not matter and they follow the commutative property when S c o r e is calculated by adding the weights of membership functions of input parameters. The S c o r e at any instant is as follows:
S c o r e = i = 1 6 W ( v i ) ,
where W is weight and variables v i are renamed according to Table 3.
Algorithm 1 Automatic Rule Generator
1:
T e m p o u t d o o r {L,M,H}
2:
T e m p i n d o o r {L,M,H}
3:
H u m i d i t y r e l {L,M,H}
4:
P r a t e s {OP,MP,HP}
5:
O c c {A,P}
6:
I S P s {L,M,H}
7:
for H u m i d i t y r e l [ 1 ] to H u m i d i t y r e l [ n ] do
8:
    for T e m p o u t d o o r [ 1 ] to T e m p o u t d o o r [ n ] do
9:
        for T e m p i n d o o r [ 1 ] to T e m p i n d o o r [ n ] do
10:
           for P r a t e s [ 1 ] to P r a t e s [ n ] do
11:
               for I S P s [ 1 ] to I S P s [ n ] do
12:
                   for O c c [ 1 ] to O c c [ n ] do
13:
                       Compute S c o r e           ▹ Defined in Equation (9)
14:
                       if S c o r e = 0 or S c o r e = 1 then
15:
                           E C = V L
16:
                       else if S c o r e = 2 or S c o r e = 3 then
17:
                           E C = L
18:
                       else if S c o r e >= 4 and S c o r e <= 7 then
19:
                           E C = M
20:
                       else if S c o r e = 8 or S c o r e = 9 then
21:
                           E C = H
22:
                       else
23:
                           E C = V H
24:
                       end if
25:
                   end for
26:
               end for
27:
           end for
28:
        end for
29:
    end for
30:
end for
Sample FIS rules defined using the automatic rule generation algorithm are presented in Table 4. Membership functions of the input provided to the proposed FIS and the resulting output are defined and abbreviated as follows:
(i)
Temperature: Indoor temperature ( T i n ) and outdoor temperature ( T o u t ) for both hot and cold cities have membership functions of (1) Low (L); (2) Medium (M); and (3) High (H) according to their cold and hot weather.
(ii)
Electricity Pricing: Pricing tariff ( R a t e ) is classified into the following membership functions: (1) Off-Peak (OP); (2) Mid-Peak (MP); and (3) High-Peak (HP).
(iii)
Occupancy: The user can either be present in the residential building or not. This condition is demonstrated using the membership functions of (1) Absent (A) and Present (P).
(iv)
Thermostat set-points and Humidity: Both initialized set-points ( I S P ) and humidity ( H u m i d i t y ) input parameters are classified in the membership function of (1) Low (L); (2) Medium (M); and (3) High (H).
(v)
Energy consumption: Output of the proposed FIS is energy consumed ( E C ), which is classified into the following membership functions: (1) Very Low (VL); (2) Low (L); (3) Medium (M); (4) High (H); and (5) Very High (VH).

5. Simulation Results

This section contains the simulation analysis of the proposed schemes. In order to investigate the effect of adding feedback loop in the FIS, a 2 kW heater is considered for a small room, whereas impact of adding a humidity parameter is observed using the 10 kW HVAC in a residential building. The objective of enhancing user comfort was achieved by initializing the set-points according to the temperature and relative humidity. The effect of adding a feedback loop in the FIS for energy consumption minimization is also discussed in this section.

5.1. Results of FIS with Feedback

1
Scenario I:
In Scenario I, outdoor temperature represented the coldest day that is below 0 C. As the temperature is very low, it is likely to take more energy consumption to maintain the inside temperature according to the user desired thermostat set-point. Figure 9 represents the room temperature variation with respect to the initialized set-points, outdoor temperature, and the heater state.
Figure 10 and Figure 11 show the daily energy consumption graph that is the output of using Mamdani FIS and Sugeno FIS with and without using a feedback loop. Figure 10 shows the comparison of Mamdani FIS when using feedback loop and without a feedback loop. As the outdoor temperature is very low, the heater is ON at a very large number of instances. It will constitute more energy consumption as compared to the other scenarios considered here. According to the Figure 10, energy consumption in a day using Mamdani FIS with feedback is 10.41 kWh and without feedback is 20.61 kWh.
As the proposed technique used two FIS, Figure 11 shows the energy consumption by using Sugeno FIS including feedback loop and without a feedback loop. Energy consumption using Sugeno FIS without a feedback loop is 20.38 kWh and FIS with the addition of the feedback loop consumes 10.30 kWh of energy.
Figure 12 shows the comparison of the proposed technique with the existing technique to show the effect of adding a feedback loop. As the energy consumption is computed at every 5 min interval by firing the rules from the fuzzy rule base that corresponds to the real-time scenario, it can be seen that fuzzy rule base with a feedback loop is getting realistic data, on the basis of which it turns the heater ON and OFF and saves the energy consumption accordingly.
Monthly consumption of the proposed Mamdani FIS is 312 kWh as compared to the existing Mamdani FIS where total energy consumption in a month is 618 kWh. Energy consumption in a month using Sugeno FIS with a feedback loop in this scenario is 309 kWh and without including feedback loop results in the 611 kWh of monthly energy consumption. In this scenario, it can be clearly observed that Sugeno FIS outperforms in improving the efficiency of energy consumption minimization. The monthly cost incurred to the residential consumers using the proposed techniques versus existing technique is presented in Figure 13. According to the graph, the monthly cost for Mamdani FIS with a feedback loop is $28.26 and with Sugeno FIS along with the feedback loop is $27.73. Energy consumption cost in a month without adding a feedback loop and using Mamdani FIS and Sugeno FIS is $56.05 and $54.95, respectively. From the above discussion, it can be concluded that Sugeno FIS is clearly the best performer among other considered methods.
2
Scenario II:
Outside temperature in this scenario depicted a sunny day where the outdoor temperature reached the desired thermostat temperature, in this case there was no need to turn ON the heater and the simulation results shown in Figure 14 depict the same behavior of the heater state in response to outdoor and indoor temperature. During the afternoon, outdoor temperature rises and the heater is kept in an OFF state in order to conserve the energy, as compared to the previous technique, where the heater is still ON and is utilizing the energy because the previous approach does not consider the variation in the room temperature.
In this scenario, the outdoor temperature rises during the afternoon up to the desired thermostat set-point. During this time, there is no need for the heater to be turned ON and thus zero energy is consumed during these hours. Figure 15 and Figure 16 clearly validate the working of the proposed FIS as the energy is not being consumed during those hours and the energy is conserved. As compared to the existing technique of Mamdani FIS, which consumes 16.71 kWh in the day, Mamdani FIS with a feedback loop consumes 3.39 kWh. The minimum amount of energy used in this scenario by using Mamdani FIS without a feedback loop is 0.015 kWh, whereas, when feedback is added to the Mamdani FIS, it can reduce the energy consumption to 0 kWh. The maximum amount of energy consumed in both cases observed is the same, i.e., 0.08 kWh.
Similar behavior can be observed by looking at Figure 16. Energy consumed using Sugeno FIS without a feedback loop is 16.43 kWh, as compared to the total energy consumed in a day using Sugeno FIS with a feedback loop of 3.31 kWh, which increases the efficiency of the proposed FIS to achieve the objective of minimization of energy consumption.
Similarly, if the energy consumption in a month is observed in Figure 17, the proposed FIS outperforms as compared to the previous technique. Energy consumed in a month using Mamdani FIS and Sugeno FIS without adding a feedback loop is 501 kWh and 493 kWh, respectively, whereas the total amount of energy consumed during a month using Mamdani FIS and Sugeno FIS with the addition of feedback loop is 101 kWh and 99 kWh, respectively.
Consequently, the effect of conserving energy consumption can be seen in the total cost reduction. Figure 18 shows the total cost incurred by a residential building consumer using Mamdani FIS and Sugeno FIS with and without adding the feedback loop on the basis of the indoor room temperature variations. In the case of Mamdani FIS with and without the feedback loop, total cost of the energy used in a month is $8.68 and $46.19, respectively, whereas the cost while using Sugeno FIS with and without adding a feedback loop is $8.50 and $45.55, respectively. Similar to previous results, Sugeno FIS outperforms in terms of efficiency when energy and cost is considered.

5.2. Results of FIS with Humidity

1
Energy consumption with proposed FLC in Hot Cities
Two different simulation results for energy consumption in a day and for a month for comparison of techniques using and without using humidity as an input parameter are shown in Figure 19 and Figure 20.
In Figure 19, energy consumption for one day using Mamdani FIS and Sugeno FIS including and without including humidity is shown. Maximum hourly consumption for Mamdani FIS and Sugeno FIS without humidity is 5.7 kWh and 5.5 kWh, whereas maximum hourly energy consumption of proposed FLC using Mamdani FIS and Sugeno FIS with humidity is 4.5 kWh and 4.5 kWh. Our proposed FLC improves the energy consumption by effectively maintaining the user comfort up to 21% for both techniques.
Figure 20 shows the monthly energy consumption of our designed FLC using both FIS with and without considering humidity. Energy consumption shown is calculated by evaluating and analyzing the fuzzy rule base.
The energy consumption of FLC using Mamdani FIS without humidity is 2954 kWh, Sugeno FIS without humidity consumes 2837 kWh, Mamdani FIS with humidity shows 2270 kWh energy consumption and Sugeno FIS with humidity consumes 2295 kWh energy. Mamdani FIS with humidity improves energy consumption by 23% while Sugeno FIS with humidity is improving energy consumption by 22% as compared to the energy consumed using Mamdani FIS and Sugeno FIS without humidity.
The proposed Mamdani FIS performs better than proposed Sugeno FIS because it is simple in nature and has more energy efficiency. As the demand for HVAC varies on an hourly basis in a residential building, the set-points of the thermostat are modified by using temperature and relative humidity information. These thermostat points have been initialized keeping in mind the relationship of temperature and relative humidity according to the psychrometric graph so that user comfort is not jeopardized.
2
Energy consumption with proposed FLC in Cold Cities
As the proposed technique is the extension of [28], dealing with both hot and cold cities, this section discusses the energy consumption evaluation for the cold cities. Schedule of user occupancy and ToU rates remain the same for cold cities’ evaluation. Outdoor temperature, indoor temperature, relative humidity, and thermostat set-point were used in accordance with cold city weather data.
In Figure 21, energy consumption of the method proposed and the existing method for comparison is presented. The maximum energy consumption in cold cities is 6.26 kWh, 6.30 kWh, 4.5 kWh, and 4.5 kWh using FIS Mamdani FIS without humidity, Sugeno FIS without humidity, Mamdani FIS with humidity and Sugeno FIS with humidity. In a cold city scenario, Mamdani FIS and Sugeno FIS with humidity show 28% efficiency in energy consumption compared to FIS without humidity.
Figure 22 shows the energy consumption of cold cities for one month simulation using Mamdani FIS and Sugeno FIS while considering and leaving the humidity parameter. Energy consumption is minimized while maintaining user comfort at a desired level using I S P s . Although the energy consumption for cold cities is greater as compared to hot cities, our proposed system succeeds in energy consumption minimization, which shows the efficiency of the proposed scheme compared to the earlier schemes.
Monthly energy consumption of Mamdani FIS without humidity is 3629 kWh, Sugeno FIS without humidity is 3652 kWh, Mamdani FIS with humidity uses 2958 kWh and Sugeno FIS with humidity consumes 2922 kWh of energy. Efficiency in energy consumption for Mamdani FIS with humidity is 19%, whereas Sugeno FIS with humidity is 20% as compared to both FIS without humidity.
3
Total Cost incurred with proposed FLC in Hot Cities
Energy consumption minimization has the inevitable consequence of bill reduction. The cost for hot cities is calculated as using Equation (3). Figure 23 shows that proposed FLC performs better as compared to existing FLC for one day. Using the technique of Mamdani FIS without humidity, the cost is nearly $8.92, Sugeno FIS without humidity costs $8.59, Mamdani FIS with humidity approach costs $6.79 and Sugeno FIS with humidity FIS costs $6.86. The proposed technique of FLC using Mamdani FIS with humidity reduces the cost by 23.87% and Sugeno FIS with humidity shows efficiency of 23.09% as compared to the existing FLC without humidity as an input parameter. Mamdani FIS outperforms here because of its simple nature and results in bill reduction.
A similar conclusion is reached when monthly expense of using HVAC is calculated as shown in Figure 24. Mamdani FIS with humidity as an input parameter reduced the energy consumption resulting in a total cost of $203.83 in a month. Sugeno FIS with humidity as an environmental variable results in a total cost of $205.80 for a month. The total expenses incurred using proposed FIS are less as compared to existing FIS where Mamdani FIS costs $277.63 and Sugeno FIS without humidity parameter costs around $257.82 for a month.
4
Total Cost incurred with proposed FLC in Cold Cities
As shown in Figure 25, the scheme using Mamdani FIS without humidity results in total cost of $11.19, Sugeno FIS without humidity costs $11.25, whereas the proposed Mamdani FIS with humidity shows that total cost incurred is $9.42, and Sugeno FIS with humidity costs $9.30 for energy consumption in a day. Moreover, Mamdani FIS with humidity shows the efficiency of 16.44% in cost reduction and 17.33% efficiency of Sugeno FIS with humidity in bill cost reduction as compared to the existing FIS without including humidity as an input parameter. We also compared the result of monthly consumption using proposed techniques for the cold city with those of the existing methods. As shown in Figure 26, Mamdani FIS and Sugeno FIS with humidity variables result in monthly costs of $282.87 and $279.17, respectively. These results show an increase in efficiency as the Mamdani FIS without humidity and Sugeno FIS without humidity as an input parameter results in the monthly cost of $335.75 and $337.76, respectively.
5
Results for PAR using proposed FIS
Peak-to-Average Ratio (PAR) is an important measure that is compared and observed when energy consumption is minimized either by load shifting or by load curtailment. It is often seen that appliance scheduling often results in an increase in the PAR when shifting load from high peak to low peak hours. PAR of the cold cities is shown in Figure 27. Clearly, it can be seen that Mamdani FIS with humidity achieved 12% efficiency as compared to Mamdani FIS without humidity, whereas the efficiency of Sugeno FIS with humidity is 10%. However, if the simulation was run for hot cities, no prominent efficiency was achieved. The reason behind this kind of behavior of proposed FLC is that it is mainly focused on the energy consumption minimization. Improvement in the PAR for cold cities can be considered as a by-product of the proposed FLC.
6
User Comfort maintenance using proposed FIS
The proposed FLC was working on the initialized set-points keeping in mind Figure 8, which shows a range of temperature that lies in user comfort for a particular relative humidity value. It was observed that, in previous techniques like [28,44], user comfort was mostly sacrificed. Using Figure 8, we are allowed to set high set-points for hot cities and low set-points for cold cities. Thus, it can be said that having information of humidity not only results in energy consumption minimization, but it also helps in maintaining the user comfort.

6. Conclusions

On the basis of the results, we have concluded that, by adding a feedback loop to the FIS with the input parameter of indoor temperature, outdoor temperature, occupancy, set-points, and price tariff, energy consumption required for a small room with a heater can be minimized as compared to previous techniques. Simulation results validated that the proposed method can reduce the energy consumption up to 50% in the worst case scenario.
There are several different parameters that can be considered to evaluate the user thermal comfort e.g., temperature, humidity, metabolic rate, etc. Different sensors are available that can be used to monitor environmental parameters like temperature, humidity, and occupancy. In order to enhance the user thermal comfort and minimize the energy consumption, a humidity parameter was integrated to the existing FIS. Rules in the FIS are designed on the combination of the input parameter’s membership function. Increasing the parameter increases the number of rules to be defined in the fuzzy rule base. In order to tackle different kinds of scenarios, defining more rules is beneficial. A method based on combinatorics was also defined, which assigns consequent to the antecedents of the fuzzy rules based on human intuition. MATLAB simulations were performed for one month that provides the validity of the proposed technique to reduce the energy consumption up to 28%. The proposed technique also maintained the user comfort while achieving electricity cost reduction up to 24%.
By comparing the results of two different and well-recognized fuzzy inference systems, it can be concluded that Mamdani FIS with humidity outperforms the existing techniques in the hot cities, whereas Sugeno FIS is more efficient in the cold city scenario when the humidity parameter is added. The main reason behind the difference in the performance of a proposed fuzzy inference system is the working nature of these systems. Comparative to the hot cities, cold city scenarios are more complex, which makes it more compatible with the complex nature of Sugeno FIS. In hot cities, Mamdani outperforms because of its simplest nature.
With the use of intelligent sensors and smart appliances, the proposed system is also capable of being implemented in IoT operating systems. The FIS proposed in this paper requires less memory, low processing power and real-time working capabilities. The proposed technique of FIS is able to be integrated in the RIOT, which is an operating system of networked IoT, mainly focusing on the low power devices with memory constraints.
Possible further improvement of the proposed research can be the inclusion of more input parameters to take into account the real scenarios in order to decide how much energy consumption is required. As the system proposed only deals with HVAC, possible extension to include more house appliances is also possible in order to save energy and maintain user comfort.
Enhancing the proposed system to work autonomously, which takes the information of the temperature and humidity from the sensor and decides the thermostat set-points automatically without user interaction is desirable for future work. Another possible extension to this system is to make the system adaptive according to user schedule. Because of global warming and depletion of fossil fuels, renewable energy sources are finding their way to the energy management system. This work can be further expanded to consider the potential effects of the renewable energy sources.
This system can also be expanded by applying the same fuzzy controller to a large number of houses and can be integrated into a micro grid. As the amount of data increases when dealing with a large number of homes, this system can be further integrated with cloud computing or fog computing. Big data analysis is used to improve the scalability of the smart grid component and can be added to the existing technique because of an increase in the system data when dealing with a large number of residential buildings. As the proposed system has the capability to be implemented in the IoT operating system, future studies should aim to for development of the system on a IoT networked platform.

Author Contributions

Conceptualization, S.I. and N.J.; Funding acquisition, I.A.; Investigation, Q.-u.-A., S.A.K. and A.W.M.; Methodology, I.A. and N.J.; Supervision, S.I.; Writing—original draft, Q.-u.-A.; Writing—review and editing, S.A.K. and A.W.M.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Energy Information Administration. Household Energy Consumption and Expenditures, Consumption by End Use; Energy Information Administration (EIA): Washington, DC, USA, 2010. [Google Scholar]
  2. Office of Energy Efficiency. Energy Efficiency Trends in Canada; Natural Resources of Canada: Ottawa, ON, USA, 2012. [Google Scholar]
  3. Conti, J.; Holtberg, P.; Beamon, J.; Schaal, A.; Sweetnam, G.; Kydes, A. Annual Energy Outlook with Projections to 2035; Report of U.S. Energy Information Administration (EIA); EIA: Washington, DC, USA, 2010. [Google Scholar]
  4. Ahmad, M.W.; Mourshed, M.; Yuce, B.; Rezgui, Y. Computational intelligence techniques for HVAC systems: A review. Build. Simul. 2016, 9, 359–398. [Google Scholar] [CrossRef] [Green Version]
  5. Borenstein, S.; Jaske, M.; Rosenfeld, A. Dynamic Pricing, Advanced Metering, and Demand Response in Electricity Markets; Center for the Study of Energy Markets, University of California: Berkeley, CA, USA, 2002. [Google Scholar]
  6. Rahimi, F.; Ipakchi, A. Demand response as a market resource under the smart grid paradigm. IEEE Trans. Smart Grid 2010, 1, 82–88. [Google Scholar] [CrossRef]
  7. Albadi, M.H.; El-Saadany, E. A summary of demand response in electricity markets. Electr. Power Syst. Res. 2008, 78, 1989–1996. [Google Scholar] [CrossRef]
  8. Silva, B.N.; Khan, M.; Han, K. Load Balancing Integrated Least Slack Time-Based Appliance Scheduling for Smart Home Energy Management. Sensors 2018, 18, 685. [Google Scholar] [CrossRef] [PubMed]
  9. Haiad, C.; Peterson, J.; Reeves, P.; Hirsch, J. Programmable Thermostats Installed into Residential Buildings: Predicting Energy Savings Using Occupant Behavior & Simulation; Southern California Edison: Rosemead, CA, USA, 2004. [Google Scholar]
  10. Chu, C.M.; Jong, T.L.; Huang, Y.W. A direct load control of air-conditioning loads with thermal comfort control. In Proceedings of the IEEE Power Engineering Society General Meeting, San Francisco, CA, USA, 16 June 2005; pp. 664–669. [Google Scholar]
  11. Beaudin, M.; Zareipour, H. Home energy management systems: A review of modelling and complexity. Renew. Sustain. Energy Rev. 2015, 45, 318–335. [Google Scholar] [CrossRef]
  12. Mohsenian-Rad, A.H.; Leon-Garcia, A. Optimal residential load control with price prediction in real-time electricity pricing environments. IEEE Trans. Smart Grid 2010, 1, 120–133. [Google Scholar] [CrossRef]
  13. Pedrasa, M.A.A.; Spooner, T.D.; MacGill, I.F. Coordinated scheduling of residential distributed energy resources to optimize smart home energy services. IEEE Trans. Smart Grid 2010, 1, 134–143. [Google Scholar] [CrossRef]
  14. Du, P.; Lu, N. Appliance commitment for household load scheduling. IEEE Trans. Smart Grid 2011, 2, 411–419. [Google Scholar] [CrossRef]
  15. Mohsenian-Rad, A.H.; Wong, V.W.; Jatskevich, J.; Schober, R. Optimal and autonomous incentive-based energy consumption scheduling algorithm for smart grid. In Proceedings of the Innovative Smart Grid Technologies (ISGT), Gothenburg, Sweden, 19–21 January 2010; pp. 1–6. [Google Scholar]
  16. Molderink, A.; Bakker, V.; Bosman, M.G.; Hurink, J.L.; Smit, G.J. Management and control of domestic smart grid technology. IEEE Trans. Smart Grid 2010, 1, 109–119. [Google Scholar] [CrossRef]
  17. Keshtkar, A.; Arzanpour, S. An adaptive fuzzy logic system for residential energy management in smart grid environments. Appl. Energy 2017, 186, 68–81. [Google Scholar] [CrossRef]
  18. Guerrero, J.M.; Vasquez, J.C.; Matas, J.; de Vicuna, L.G.; Castilla, M. Hierarchical Control of Droop-Controlled AC and DC Microgrids—A General Approach Toward Standardization. IEEE Trans. Ind. Electron. 2011, 58, 158–172. [Google Scholar] [CrossRef]
  19. Karavas, C.S.; Kyriakarakos, G.; Arvanitis, K.G.; Papadakis, G. A multi-agent decentralized energy management system based on distributed intelligence for the design and control of autonomous polygeneration microgrids. Energy Convers. Manag. 2015, 103, 166–179. [Google Scholar] [CrossRef]
  20. Karavas, C.S.; Arvanitis, K.; Papadakis, G. A Game Theory Approach to Multi-Agent Decentralized Energy Management of Autonomous Polygeneration Microgrids. Energies 2017, 10, 1756. [Google Scholar] [CrossRef]
  21. Kuznetsova, E.; Li, Y.F.; Ruiz, C.; Zio, E. An integrated framework of agent-based modelling and robust optimization for microgrid energy management. Appl. Energy 2014, 129, 70–88. [Google Scholar] [CrossRef]
  22. Siano, P.; Cecati, C.; Yu, H.; Kolbusz, J. Real Time Operation of Smart Grids via FCN Networks and Optimal Power Flow. IEEE Trans. Ind. Inf. 2012, 8, 944–952. [Google Scholar] [CrossRef]
  23. Faria, P.; Vale, Z.; Soares, J.; Ferreira, J. Demand Response Management in Power Systems Using Particle Swarm Optimization. IEEE Intell. Syst. 2013, 28, 43–51. [Google Scholar] [CrossRef]
  24. Chaouachi, A.; Kamel, R.M.; Andoulsi, R.; Nagasaka, K. Multiobjective Intelligent Energy Management for a Microgrid. IEEE Trans. Ind. Electron. 2013, 60, 1688–1699. [Google Scholar] [CrossRef]
  25. Shah, A.; Huang, D.; Chen, Y.; Kang, X.; Qin, N. Robust Sliding Mode Control of Air Handling Unit for Energy Efficiency Enhancement. Energies 2017, 10, 1815. [Google Scholar] [CrossRef]
  26. Godina, R.; Rodrigues, E.M.G.; Pouresmaeil, E.; Matias, J.C.O.; Catalão, J.P.S. Model Predictive Control Home Energy Management and Optimization Strategy with Demand Response. Appl. Sci. 2018, 8, 408. [Google Scholar] [CrossRef]
  27. Godina, R.; Rodrigues, E.M.G.; Pouresmaeil, E.; Catalão, J.P.S. Optimal residential model predictive control energy management performance with PV microgeneration. Comput. Oper. Res. 2018, 96, 143–156. [Google Scholar] [CrossRef]
  28. Javaid, S.; Javaid, N.; Iqbal, S.; Mughal, M.J. Controlling energy consumption with the world-wide adaptive thermostat using fuzzy inference system in smart grid. In Proceedings of the International Conference on Information and Communication Technology Convergence (ICTC), Jeju, Korea, 18–20 October 2017; pp. 66–71. [Google Scholar]
  29. Javaid, N.; Ahmed, A.; Iqbal, S.I.; Ashraf, M. Day Ahead Real Time Pricing and Critical Peak Pricing Based Power Scheduling for Smart Homes with Different Duty Cycles. Energies 2018, 11, 1464. [Google Scholar] [CrossRef]
  30. Rasheed, M.B.; Javaid, N.; Ahmad, A.; Khan, Z.A.; Qasim, U.; Alrajeh, N. An efficient power scheduling scheme for residential load management in smart homes. Appl. Sci. 2015, 5, 1134–1163. [Google Scholar] [CrossRef]
  31. Mahapatra, C.; Moharana, A.K.; Leung, V.C.M. Energy Management in Smart Cities Based on Internet of Things: Peak Demand Reduction and Energy Savings. Sensors 2017, 17, 2812. [Google Scholar] [CrossRef] [PubMed]
  32. Yan, C.; Xue, X.; Wang, S.; Cui, B. A novel air-conditioning system for proactive power demand response to smart grid. Energy Convers. Manag. 2015, 102, 239–246. [Google Scholar] [CrossRef]
  33. Yun, J.; Won, K.H. Building Environment Analysis based on Temperature and Humidity for Smart Energy Systems. Sensors 2012, 12, 13458–13470. [Google Scholar] [CrossRef] [PubMed]
  34. Faruqui, A.; Sergici, S. Household response to dynamic pricing of electricity: A survey of 15 experiments. J. Regul. Econ. 2010, 38, 193–225. [Google Scholar] [CrossRef]
  35. Karjalainen, S. Thermal comfort and use of thermostats in Finnish homes and offices. Build. Environ. 2009, 44, 1237–1245. [Google Scholar] [CrossRef]
  36. Woolley, J.; Pritoni, M.; Modera, M.; Center, W.C.E. Why occupancy-responsive adaptive thermostats do not always save-and the limits for when they should. In Proceedings of the 2014 ACEEE Summer Study on Energy Efficiency in Buildings, Asilomar, CA, USA, 17–22 August 2014. [Google Scholar]
  37. Lu, J.; Sookoor, T.; Srinivasan, V.; Gao, G.; Holben, B.; Stankovic, J.; Field, E.; Whitehouse, K. The smart thermostat: Using occupancy sensors to save energy in homes. In Proceedings of the 8th ACM Conference on Embedded Networked Sensor Systems, Zürich, Switzerland, 3–5 November 2010; pp. 211–224. [Google Scholar]
  38. Khan, A.; Ahmedy, I.; Anisi, M.H.; Javaid, N.; Ali, I.; Khan, N.; Alsaqer, M. A Localization-Free Interference and Energy Holes Minimization Routing for Underwater Wireless Sensor Networks. Sensors 2018, 18, 165. [Google Scholar] [CrossRef] [PubMed]
  39. Mirakhorli, A.; Dong, B. Occupancy behavior based model predictive control for building indoor climate—A critical review. Energy Build. 2016, 129, 499–513. [Google Scholar] [CrossRef]
  40. Khalid, A.; Javaid, N.; Mateen, A.; Khalid, B.; Khan, Z.A.; Qasim, U. Demand Side Management using Hybrid Bacterial Foraging and Genetic Algorithm Optimization Techniques. In Proceedings of the 2016 10th International Conference on Complex, Intelligent, and Software Intensive Systems (CISIS), Fukuoka, Japan, 6–8 July 2016; pp. 494–502. [Google Scholar]
  41. Nadeem, Z.; Javaid, N.; Malik, A.W.; Iqbal, S. Scheduling Appliances with GA, TLBO, FA, OSR and Their Hybrids Using Chance Constrained Optimization for Smart Homes. Energies 2018, 11, 888. [Google Scholar] [CrossRef]
  42. Yoon, J.H.; Baldick, R.; Novoselac, A. Dynamic demand response controller based on real-time retail price for residential buildings. IEEE Trans. Smart Grid 2014, 5, 121–129. [Google Scholar] [CrossRef]
  43. Keshtkar, A.; Arzanpour, S. A fuzzy logic system for demand-side load management in residential buildings. In Proceedings of the 2014 IEEE 27th Canadian Conference on Electrical and Computer Engineering (CCECE), Toronto, ON, Canada, 4–7 May 2014; pp. 1–5. [Google Scholar]
  44. Keshtkar, A.; Arzanpour, S.; Keshtkar, F. An autonomous system via fuzzy logic for residential peak load management in smart grids. In Proceedings of the 2015 North American Power Symposium (NAPS), Charlotte, NC, USA, 4–6 October 2015; pp. 1–6. [Google Scholar]
  45. Chanana, S.; Arora, M. Demand response from residential air conditioning load using a programmable communication thermostat. Int. J. Electr. Electron. Sci. Eng. 2013, 7, 1670–1676. [Google Scholar]
  46. Keshtkar, A.; Arzanpour, S.; Keshtkar, F.; Ahmadi, P. Smart residential load reduction via fuzzy logic, wireless sensors, and smart grid incentives. Energy Build. 2015, 104, 165–180. [Google Scholar] [CrossRef]
  47. Javaid, S.; Javaid, N.; Iqbal, S.; Aslam, S.; Rahim, M.H. Optimizing energy consumption of air-conditioning systems with the fuzzy logic controllers in residential buildings. In Proceedings of the 2018 International Conference on Computing, Mathematics and Engineering Technologies, Sukkur, Pakistan, 3–4 March 2018. [Google Scholar]
  48. Grygierek, K.; Ferdyn-Grygierek, J. Multi-Objectives Optimization of Ventilation Controllers for Passive Cooling in Residential Buildings. Sensors 2018, 18, 1144. [Google Scholar] [CrossRef] [PubMed]
  49. Iqbal, S.; Boumella, N.; Garcia, J. Fuzzy Controllers-Recent Advances in Theory and Applications; InTech: London, UK, 2012. [Google Scholar]
  50. Ross, T.J. Fuzzy Logic with Engineering Applications; John Wiley & Sons: Hoboken, NJ, USA, 2009. [Google Scholar]
  51. The MathWorks Inc. Comparison of Sugeno and Mamdani Systems. 2018. Available online: https://www.mathworks.com/help/fuzzy/comparison-of-sugeno-and-mamdani-systems.html (accessed on 30 July 2018).
  52. Keshtkar, A. Development of an Adaptive Fuzzy Logic System for Energy Management in Residential Buildings. Ph.D. Thesis, School of Mechatronic Systems Engineering, Simon Fraser University, Burnaby, BC, Canada, 2015. [Google Scholar]
  53. Cengel, Y.A.; Ghajar, A. Heat and Mass Transfer (A Practical Approach, SI Version); McGraw-Hill Education: New York, NY, USA, 2011. [Google Scholar]
  54. The MathWorks Inc. Thermal Model of a House. Available online: https://www.mathworks.com/help/simulink/examples/thermal-model-of-a-house.html (accessed on 30 July 2018).
  55. The MathWorks Inc. Model and Simulate Dynamic System. Available online: https://www.mathworks.com/help/simulink/gs/define-system.html (accessed on 30 July 2018).
  56. Time and Date Weather Forecast Website. Past Weather in Wadi Halfa, Sudan—June 2017. Available online: https://www.timeanddate.com/weather/@364132/historic?month=6&year=2017 (accessed on 30 July 2018).
  57. Time and Date Weather Forecast Website. Past Weather in Yakutsk, Russia—January 2017. Available online: https://www.timeanddate.com/weather/russia/yakutsk/historic?month=1&year=2017 (accessed on 30 July 2018).
  58. Apogee Interactive Inc. Comfort. Available online: https://c03.apogee.net/contentplayer/?coursetype=res&utilityid=wppi&id=1703 (accessed on 30 July 2018).
Figure 1. Conceptual diagram of the fuzzy logic controller.
Figure 1. Conceptual diagram of the fuzzy logic controller.
Sensors 18 02802 g001
Figure 2. Block diagram of the proposed fuzzy inference system.
Figure 2. Block diagram of the proposed fuzzy inference system.
Sensors 18 02802 g002
Figure 3. Heater model with thermostat controller.
Figure 3. Heater model with thermostat controller.
Sensors 18 02802 g003
Figure 4. Membership functions of outdoor temperature.
Figure 4. Membership functions of outdoor temperature.
Sensors 18 02802 g004
Figure 5. Membership functions of indoor temperature.
Figure 5. Membership functions of indoor temperature.
Sensors 18 02802 g005
Figure 6. Input membership functions of occupancy, price, relative humidity, initialized setpoints.
Figure 6. Input membership functions of occupancy, price, relative humidity, initialized setpoints.
Sensors 18 02802 g006
Figure 7. Time of Use rates by Hydro One, Ontario, Canada.
Figure 7. Time of Use rates by Hydro One, Ontario, Canada.
Sensors 18 02802 g007
Figure 8. Depiction of user comfort zone.
Figure 8. Depiction of user comfort zone.
Sensors 18 02802 g008
Figure 9. Temperature variation and heater state (Scenario I).
Figure 9. Temperature variation and heater state (Scenario I).
Sensors 18 02802 g009
Figure 10. Energy consumption in a day using Mamdani FIS (Scenario I).
Figure 10. Energy consumption in a day using Mamdani FIS (Scenario I).
Sensors 18 02802 g010
Figure 11. Energy consumption in a day using Sugeno FIS (Scenario I).
Figure 11. Energy consumption in a day using Sugeno FIS (Scenario I).
Sensors 18 02802 g011
Figure 12. Monthly energy consumption (Scenario I).
Figure 12. Monthly energy consumption (Scenario I).
Sensors 18 02802 g012
Figure 13. Monthly electricity cost incurred (Scenario I).
Figure 13. Monthly electricity cost incurred (Scenario I).
Sensors 18 02802 g013
Figure 14. Temperature variation and heater state (Scenario II).
Figure 14. Temperature variation and heater state (Scenario II).
Sensors 18 02802 g014
Figure 15. Energy consumption in a day using Mamdani FIS (Scenario II).
Figure 15. Energy consumption in a day using Mamdani FIS (Scenario II).
Sensors 18 02802 g015
Figure 16. Energy consumption in a day using Sugeno FIS (Scenario II).
Figure 16. Energy consumption in a day using Sugeno FIS (Scenario II).
Sensors 18 02802 g016
Figure 17. Monthly energy consumption (Scenario II).
Figure 17. Monthly energy consumption (Scenario II).
Sensors 18 02802 g017
Figure 18. Monthly electricity cost incurred (Scenario II).
Figure 18. Monthly electricity cost incurred (Scenario II).
Sensors 18 02802 g018
Figure 19. Energy consumption over a day for hot cities.
Figure 19. Energy consumption over a day for hot cities.
Sensors 18 02802 g019
Figure 20. One month simulation of energy consumption for hot cities.
Figure 20. One month simulation of energy consumption for hot cities.
Sensors 18 02802 g020
Figure 21. Energy consumption over a day for cold cities.
Figure 21. Energy consumption over a day for cold cities.
Sensors 18 02802 g021
Figure 22. One month simulation of energy consumption for cold cities.
Figure 22. One month simulation of energy consumption for cold cities.
Sensors 18 02802 g022
Figure 23. Daily cost for energy consumption in the hot cities.
Figure 23. Daily cost for energy consumption in the hot cities.
Sensors 18 02802 g023
Figure 24. Monthly cost of energy consumption in the hot cities.
Figure 24. Monthly cost of energy consumption in the hot cities.
Sensors 18 02802 g024
Figure 25. Daily cost for energy consumption in the cold cities.
Figure 25. Daily cost for energy consumption in the cold cities.
Sensors 18 02802 g025
Figure 26. Monthly cost of energy consumption in the cold cities
Figure 26. Monthly cost of energy consumption in the cold cities
Sensors 18 02802 g026
Figure 27. Peak-to-Average Ratio (PAR) of cold cities.
Figure 27. Peak-to-Average Ratio (PAR) of cold cities.
Sensors 18 02802 g027
Table 1. Nomenclature.
Table 1. Nomenclature.
Variables and AbbreviationsDescriptionVariables and AbbreviationsDescription
FISFuzzy Inference SystemHEMSHome Energy Management System
HVACHeating, Ventilation and Air ConditioningPARPeak-to-Average Ratio
PCTProgrammable Communicating ThermostatToUTime of Use
T e m p i n d o o r Indoor temperature fuzzy input parameter T e m p o u t d o o r Outdoor temperature fuzzy input parameter
O c c Occupancy fuzzy input parameter P r a t e s Electricity rate fuzzy input parameter
I S P s Thermostat set point fuzzy input parameter H u m i d i t y r e l Relative humidity fuzzy input parameter
Table 2. Summary of the previous scheduling techniques and fuzzy logic system.
Table 2. Summary of the previous scheduling techniques and fuzzy logic system.
ReferenceTechniqueThe objectiveA limitation
An efficient power scheduling scheme [30]Hybrid of Knapsack Problem (K-WDO)Minimization of the appliance waiting time and electricity cost.Thermal comfort is ignored.
Air-conditioning system for proactive power demand response [32]DSB and DFRCost and energy saving.Use of synthetic dynamic prices and the system only works for offices.
The smart thermostat: using occupancy sensors [37]Hidden Markov Model for occupancy based schedulingImproved energy conservation.Thermal comfort is sacrificed. Simulations are limited to only one type of HVAC.
Occupancy behavior-based model predictive control [39]Occupancy based Model Predictive Control (MPC)User comfort enhancement and energy consumption minimization.High computational cost and increase the complexity of the system.
Hybrid Bacterial Foraging and Genetic Algorithm Optimization Techniques [40]Hybrid of BFA and GAReduction in cost and PAR.Thermal comfort is neglected. Only one pricing scheme is considered.
Scheduling Appliances with GA, TLBO, FA, OSR and Their Hybrids [41]Hybrid of OSR with TLBO, FA, GAReduction in appliance waiting time, cost, PAR, and energy consumption.Limited number of appliances. HVAC is not considered.
Dynamic demand response controller based on RTP [42]Dynamic Demand Response Controller (DDRC)Energy consumption minimizationNarrow range of the temperature band is considered. User preference is ignored.
A fuzzy logic system for demand-side load management [43]Fuzzy logic rule based algorithmDemand response participation. Minimization of the energy consumption.User comfort is sacrificed.
An autonomous system via fuzzy logic [44]Autonomous thermostat with Fuzzy Logic SystemEnergy conservationRegion-specific study. Only Mamdani FIS is considered.
An adaptive fuzzy logic system [17]Adaptive Fuzzy Logic Model (AFLM)Adapt the thermostat set-points according to user comfort. Energy consumption minimization.The proposed technique only considered the cold regions. User comfort is heavily disturbed.
Worldwide adaptive thermostat using fuzzy inference system [28]World-wide adaptive thermostatWorks for both cold and hot cities. Reduction in peak, cost and energy consumption.User comfort is jeopardized.
Table 3. Variables used in S c o r e calculation.
Table 3. Variables used in S c o r e calculation.
i v i
1 T e m p i n d o o r
2 T e m p o u t d o o r
3 O c c
4 P r a t e s
5 I S P s
6 H u m i d i t y r e l
Table 4. Sample of rules defined in the proposed Fuzzy Inference System rule base.
Table 4. Sample of rules defined in the proposed Fuzzy Inference System rule base.
#Rule T in T out Rate Occupant ISP Humidity EC
1LLHPALLVL
2LMOPPLLM
3LHMPPMHM
4MHOPAHHH
5MLMPPMMM
6HMOPALMM
7HHOPPHHVH

Share and Cite

MDPI and ACS Style

Ain, Q.-u.; Iqbal, S.; Khan, S.A.; Malik, A.W.; Ahmad, I.; Javaid, N. IoT Operating System Based Fuzzy Inference System for Home Energy Management System in Smart Buildings. Sensors 2018, 18, 2802. https://doi.org/10.3390/s18092802

AMA Style

Ain Q-u, Iqbal S, Khan SA, Malik AW, Ahmad I, Javaid N. IoT Operating System Based Fuzzy Inference System for Home Energy Management System in Smart Buildings. Sensors. 2018; 18(9):2802. https://doi.org/10.3390/s18092802

Chicago/Turabian Style

Ain, Qurat-ul, Sohail Iqbal, Safdar Abbas Khan, Asad Waqar Malik, Iftikhar Ahmad, and Nadeem Javaid. 2018. "IoT Operating System Based Fuzzy Inference System for Home Energy Management System in Smart Buildings" Sensors 18, no. 9: 2802. https://doi.org/10.3390/s18092802

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