1. Introduction
To reduce energy consumption and carbon emission, several works had proposed various energy management systems [
1,
2] for smart grids [
3] or smart homes [
4]. The main purposes of original energy management systems are to reduce the energy consumption, peak load, and electricity cost. One popular method for reducing the peak load and electricity cost is shifting the power demand from peak to off-peak hours. For example, the results in [
5] revealed that 37.9% of refrigerator’s demand in peak period can be shifted to other periods and annual electricity bills for customers can be reduced by 11.4%. In [
6], the authors investigated the cost minimization problem in which the electrical appliances allow different levels of delay tolerance. The work [
7] evaluated the performance of a wireless sensor network (WSN)-based in-home energy management (iHEM) application whose objective is to minimize the energy expenses of the consumers and reduce the peak load of the household by scheduling the appliances. Additionally, Collotta et al. [
8,
9] proposed a bluetooth low energy (BLE) and fuzzy-based solution for the smart energy management system, in which the consumer is involved in the choice of switching on/off of home appliances, to reduce peak load and electricity bill by shifting the appliance’s operation. However, shifting the power demand may degrade the user comfort. For instance, delaying the starting time of an electric oven or a microwave oven to shift the power demand, the user may become hungry because of deferring his mealtime, resulting in user comfort degradation. On the contrary, delaying the starting time of an automatic washing machine, the user comfort may be rarely degraded. Hence, related problems such as the user comfort, reduction in electricity bill, electrical appliance scheduling, and required addition of renewable energy sources (RES) had been surveyed in [
3]. Undoubtedly, a modern home energy management system (HEMS) must not only decrease the power consumption and electricity bill, but also preserve the user comfort.
To resolve the defects of conventional HEMSs, Floris et al. [
10] presented a quality of experience (QoE)-aware HEMS. The degree of satisfaction perceived, in terms of the mean opinion score (MOS) [
11], when the starting times of appliances are delayed was investigated using subjective tests which are time-consuming and costly. To evaluate the user comfort under power demand shifting, Chen et al. [
12] introduced the concept of operational comfort level (OCL) and proposed the OCL models for several smart appliances. Additionally, the authors in [
12] proposed a min-max load scheduling (MMLS) algorithm in order to minimize the peak-to-average ratio (PAR) while optimizing the OCL of users. The inconvenience experienced by users when decreasing the power consumption is necessary under the control of an HEMS was also studied in [
13]. Another study [
14] proposed an intelligent HEMS algorithm for residential demand response applications and investigated the impact of the HEMS operation on the user comfort. However, there is still no cost-efficient QoE evaluation method proposed in the literature for an HEMS. Thus, in order to efficiently evaluate the user’s QoE, several QoE mapping functions for delay-tolerant appliances and the heating, ventilation, and air conditioning (HVAC) were introduced in [
15]. Additionally, a QoE-aware smart appliance control algorithm was designed in [
15] to effectively reduce the peak load and electricity bill while guaranteeing the user’s QoE never less than a given threshold.
In the work [
15], a fixed QoE threshold was used so that the setting of the QoE threshold becomes an annoying problem. For example, in a season of high power demand, lowering the QoE threshold significantly reduces the peak load and electricity bill. However, in a season of low power demand, lowering the QoE threshold has a little effect on the reduction of peak load and electricity bill while significantly degrading the user’s QoE. Therefore, how to determine a proper QoE threshold for the smart appliance control algorithm to perform well under various scenarios of different power demands becomes a challenging issue. It is well known that fuzzy logics have been popularly used in an HEMS [
16,
17,
18]. Thus, one aim of this paper is to design a fuzzy logic controller to dynamically adjust the QoE threshold for the proposed smart appliance control algorithm performing well under different profiles of power demands.
Recently, the development and deployment of microgrids with RES have been rapidly increasing all over the world. The contribution of renewable energy to the energy supply has also been increasing. However, to ensure the operation of microgrids, microgrids are always connected to the main grid [
19,
20]. Therefore, it is necessary to take RES into consideration in designing a smart home energy management system (sHEMS). On the other hand, electric vehicles (EV) have been regarded as an effective way to reduce carbon emissions. Additionally, EV batteries can be used for regulating the grid demand by properly scheduling EV charging and discharging to decrease the user’s electricity bill [
21,
22,
23]. Thus, designing a QoE-aware smart appliance control algorithm for the sHEMS considering RES and EV is mandatory.
To summarize, the main contributions of this work are fourfold. First, several QoE mapping functions for delay-tolerant appliances and HVAC are derived to efficiently evaluate the user comfort. Second, a QoE-aware smart appliance control algorithm is proposed to reduce the peak load and electricity bill while preserving the user’s QoE. Thirdly, a fuzzy logic controller for dynamically setting the QoE threshold is designed to resolve the trade-off problem between the user’s QoE and reduction performance of peak load and electricity bill. Finally, the effects of power allocation of RES and EV batteries on the peak load, electricity bill, and user’s QoE are evaluated as well.
The rest of this paper is organized as follows.
Section 2 describes the architecture of a smart microgrid system.
Section 3 introduces the classification of home appliances, defines the QoE functions of home appliances, and describes the designed QoE-aware smart appliance control algorithm for the sHEMS with RES and EV.
Section 4 presents the fuzzy logics and inference rules to dynamically adjust the QoE threshold.
Section 5 evaluates and compares the performance of the proposed QoE-aware smart appliance control algorithm and other existing schemes. Finally, the concluding remarks are made in
Section 6.
2. Smart Microgrid System
In this paper, the smart microgrid system that consists of home appliances, EV, RES, energy storage system, smart meter, smart home network, and sHEMS, as shown in
Figure 1, is considered. RES such as photovoltaics (PV) and wind turbines can generate the power that is temporarily stored in the storage system for later use. The smart meter records and monitors the power consumption of home appliances. The smart home network may include the TCP/IP network, WSN, and power line communication network [
24]. The sHEMS collects (1) the environmental data such as temperature and illuminance sensed by sensors, (2) statuses of home appliances, storage system, and EV, and (3) power consumption information from the smart meter via the smart home network. In
Figure 1, the red lines indicate the power lines while the green lines indicate the network path to the Internet. As to the dashed lines, they represent logical communication connections. However, practical communications must be accomplished using physical communication links and diverse communication protocols such as the wired Ethernet, Wi-Fi, power line communication, and ZigBee protocols can be used. The purpose of the sHEMS is to properly control the operations of home appliances to optimize the energy usage and electricity bill subject to the user comfort constraint. To optimize the energy usage and electricity bill, a smart appliance control algorithm must be designed for the sHEMS.
As mentioned above, the goal of the sHEMS is to minimize the energy usage and electricity bill while preserving the user comfort. It is well known that shifting the starting times of electrical appliances from peak to off-peak hours can reduce the peak load. However, deferring the starting times of home appliances may degrade the user’s QoE. While the impact of deferring the starting times of home appliances on the user’s QoE is rarely studied in the literature. Hence, this paper proposes several QoE functions for efficiently evaluating the user comfort and a QoE-aware smart appliance control algorithm for the sHEMS with RES and EV to reduce the peak load and electricity bill while preserving the user’s QoE. Additionally, a fuzzy logic controller for dynamically adjusting the QoE threshold to improve the user’s QoE is designed.
4. Fuzzy-Controlled QoE Threshold
According to the experiments, a higher QoE threshold used in the proposed QoE-aware smart appliance control algorithm usually results in a better user’s QoE, but a worse reduction in peak load and electricity bill. However, in the case of low power demand, increasing the QoE threshold barely degrades the reduction performance in the peak load and electricity bill while significantly enhancing the user’s QoE. Therefore, the QoE threshold must adapt to different power demands. For example, the QoE threshold decreases as the power demand grows while it increases as the power demand decreases. Hence, in this paper, both the instantaneous power consumption and the power deviation are used to determine a proper QoE threshold. Since the fuzzy theory has been well applied to several different applications [
16,
17,
18], this paper proposes a fuzzy logic control method to determine a proper QoE threshold for the proposed smart appliance control algorithm in
Figure 3.
First, the instantaneous power consumption
supplied by the main grid at time slot
t and the power deviation
between
and
are used to decide the optimal QoE threshold
. Notably, in this paper, the power consumption is observed at the beginning of each time slot of equal length. The average power consumption
is computed based on the power consumption of the
M most recent time slots using the moving average. That is,
The power deviation
is defined by
According to the fuzzy logic theory, the membership functions of
,
, and the variation
of QoE threshold must be first defined. This paper categorizes the instantaneous power consumption
into three levels: H (High), M (Medium), and L (Low). The membership function of
is given by
Figure 4a. The power deviation
is categorized into P (Positive), Z (Zero), and N (Negative), and its membership function is given by
Figure 4b. Similarly,
is categorized into P (Positive), Z (Zero), and N (Negative), and its membership function is plotted in
Figure 4c.
Second, the Mamdani-type inference rules [
26] to determine the variation
of QoE threshold based on
and
are listed in
Table 4. The AND operation in the fuzzy logic rule
A AND
B is defined to be the minimum value of two operands
and
, where
is a membership function and
and
. In the aggregation process, the max rule is used in deriving the overall output. After the aggregation process, the centroid of area is computed in the defuzzification process to find a crisp value
. Finally, the QoE threshold
at time slot
t is determined as follows:
The block diagram of the proposed fuzzy logic controller is plotted in
Figure 5.
5. Numerical Results
In this paper, C++ simulation programs are created to evaluate the performance of the proposed QoE-aware smart appliance control algorithm with a fuzzy-controlled QoE threshold. The considered delay-tolerant appliances consist of the electric oven, microwave oven, dishwasher, and washing machine. The appliances of delay-intolerant with essential load consist of the TV, fan, computer, and LED bulb. The appliances of delay-intolerant with flexible load consist of the refrigerator, water dispenser, and HVAC. However, in simulations, the refrigerator and water dispenser are treated as the background appliances that are always ON (switching randomly between working and standby states) and no control on them. The mean working powers of the refrigerator and water dispenser are 70 W and 660 W, respectively. The reasons for treating the refrigerator and water dispenser as always ON are explained as follows. First, the refrigerator must always keep its inside temperature within a predefined range such as 3 to 7 C to keep the food, fruits, and vegetables fresh. If the refrigerator is turned OFF, its inside temperature may increase over the predefined range, maybe resulting in corruption of food, fruits, and vegetables. Second, users may need to have warm or hot water for drink or making tea at any time. If the water dispenser is turned OFF, users may not have warm or hot water for use at their request instant. Therefore, almost all the households keep the refrigerators and water dispensers always ON.
As to the operation of HVAC, it is governed by the following Equation [
27]:
where
and
are the indoor and outdoor temperatures, respectively, at time
t. The curve of outdoor temperature
used in simulations is given in
Figure 6 [
28]. The parameter
is the sampling interval of temperature.
E is an increasing factor of temperature per unit time and is set to 0.0408 [
27] in simulations. The parameter
is the cooling efficiency of HVAC in working state and is set to 3.8 in simulations. Finally,
is the status of HVAC at time
t. Whenever the indoor temperature
is higher than the target temperature of the HVAC by 1
C, the HVAC starts working, i.e.,
, to cool down until
is less than the target temperature. Whenever
is less than the target temperature, the HVAC stays at the standby state of
until
exceeds the target temperature by 1
C again. Under the QoE-aware smart control, the target temperature of the HVAC is automatically controlled by Equation (
2) and the power constraint
W. The moving average parameter
M for calculating the average power consumption
in Equation (
3) is set to 5. In simulations, the length of each time slot is set to 15 min. Other simulation parameters of home appliances in summer and winter are given in
Table 5, where the request arrival time during a given interval follows the uniform distribution. The simulation parameters of home appliances in summer and winter are almost similar except that fans and HVAC are always OFF in winter. The duration of 100 days is simulated both in summer and winter, and the average of the measured parameter is taken over 100 days. According to the dynamic electricity prices [
29] given by
Figure 7, the peak period ranges from 12:00 p.m. to 7:00 p.m.
To investigate the performance of the proposed QoE-aware smart appliance control algorithm, the scenario without RES nor EV is first considered.
Figure 8 shows the average power consumption in a day. The baseline in
Figure 8 represents the scheme without any control on home appliances or HVAC, i.e., a home appliance is turned on immediately at its request arrival instant and the HVAC always has the setting of normal target temperature (27
C). The optimal scheduling of appliances presented in [
30] is also simulated for comparison. In the optimal scheduling scheme, the HVAC always has the setting of normal target temperature (27
C) and the starting times of delay-tolerant appliances are determined by solving the optimization problem of minimizing the electricity bill, subject to the constraint that the starting time of an appliance must fall within the interval between the request arrival instant
t and
, where QoE
. In the proposed with fixed QoE TH scheme, the proposed QoE-aware smart appliance control algorithm is simulated and the QoE threshold is fixed at 3. As to the proposed with fuzzy-controlled QoE TH scheme, the proposed QoE-aware smart appliance control algorithm and the fuzzy-controlled QoE threshold are used. In
Figure 8, whether using a fixed or fuzzy-controlled QoE threshold, the peak load significantly decreases under the proposed QoE-aware smart appliance control algorithm, relative to the baseline case. As to the optimal scheduling scheme, it is worse than the proposed QoE-aware smart appliance control algorithm in terms of the peak load reduction performance.
The cumulative electricity bill per day is plotted in
Figure 9. In summer days, the proposed QoE-aware smart appliance control algorithm achieves a lower electricity bill, compared with the baseline and optimal scheduling schemes. In winter days, the optimal scheduling scheme achieves the lowest electricity bill. However, the difference among various schemes is very minor because the power consumption in winter days is lower. Thus, sacrificing a user’s QoE may not significantly reduce the electricity bill in winter days. To further evaluate the performance of different schemes, the user’s QoE under different schemes must be compared.
Figure 10 shows the user’s average QoE under different schemes. The average QoE
at time slot
t is computed according to the following equation:
where
is the number of requested appliances (delay-tolerant appliances or HVAC) waiting to start or in ON at time slot
t. For a delay-tolerant appliance, QoE
equals 5 if the appliance has been ON and is computed according to Equation (
1) if the appliance is waiting to start. For the HVAC, QoE
is computed according to Equation (
2). According to
Figure 10, the proposed QoE-aware smart appliance control algorithm with a fuzzy-controlled QoE threshold significantly outperforms the other schemes in terms of the user’s QoE, especially in winter days. Although the optimal scheduling scheme achieves the lowest electricity bill in winter days, compared with other schemes, it results in the worst user’s QoE.
According to the results in
Figure 8,
Figure 9 and
Figure 10, the following conclusions are made. First, compared with the baseline and optimal scheduling schemes, the proposed QoE-aware smart appliance control algorithm effectively shaves the peak load, demonstrating that the proposed control algorithm with a power constraint
is outstanding. Second, compared to the QoE-aware smart appliance control algorithm with a fixed QoE threshold scheme, the one with a fuzzy-controlled QoE threshold can achieve similar reduction performance in the peak load and electricity bill while significantly improving the user’s QoE, demonstrating the superiority of the proposed fuzzy logic controller for setting the QoE threshold. Finally, compared with the baseline and optimal scheduling schemes, the proposed control algorithm for the HVAC can further decrease the electricity bill in summer days.
Next, the scenario of the sHEMS with RES and EV in summer days is simulated. In this section, the renewable energy sources only include the PV. Twelve solar panels of CS6P-255P of 255 W are assumed in simulations. The generating power profile of these 12 solar panels is shown in
Figure 11 [
31]. The schedule of EV charging and discharging is given in
Table 6, where the SOC constraint of the EV battery is set to the range of 60% to 100%. Since the lowest electricity price is at 3:00 according to
Figure 7, the charging of EV battery starts randomly between 2:00 to 3:00. The discharging of EV battery to the load starts at the time of the highest electricity price, i.e., 15:00. The capacity of the EV battery is assumed to be 16 kWh and the charging power rate is set to 1.92 kW/hr [
32]. The setting of other simulation parameters is similar to the first scenario without RES nor EV. The baseline in
Figure 12 is the case that does not consider PV or EV and does not have any appliance control. The proposed QoE-aware smart appliance control algorithm with a fuzzy-controlled QoE threshold is considered in
Figure 12.
Figure 12a shows the power consumption supplied by the grid under different schemes. Obviously, PV significantly reduces the power consumption supplied by the grid during the periods with high electricity prices, yielding a significant reduction in the electricity bill, as shown in
Figure 12b. Additionally, observing the difference between the proposed scheme with PV and the proposed scheme with PV+EV in
Figure 12b,c, one can conclude that a proper scheduling for EV battery charging and discharging results in a further reduction in the electricity bill and an increase in the user’s QoE. Compared with the baseline case, the proposed scheme reduces the electricity bill by 65% under the scenario with RES and EV. Compared with the optimal scheduling scheme, the proposed scheme achieves better reduction performance in the peak load and electricity bill, and has a better user’s QoE, as shown in
Figure 12. Finally, compared with
Figure 8,
Figure 9 and
Figure 10, the electricity bill and power consumption supplied by the grid significantly decrease while the user’s QoE substantially increases under the scenario with PV or EV, as shown in
Figure 12. All these results validate the superiorities of the proposed QoE-aware smart appliance control algorithm with a fuzzy-controlled QoE threshold and the power allocation strategy for RES and EV batteries.