1. Introduction
The work in this paper has been done in the sequence of the work presented in [
1]. Sometimes unimportant actions during the day can impact the environment and, in the end, affect the survival of the earth [
2]. That has been the motivation for automation in buildings in order to prevent the loss of energy as much as possible [
3]. Some strategic services such as demand response (DR) programs organize users’ consumption patterns as a generic and systematic program, in which electricity price variations or technical issues with consideration of the interests of consumers and producers are used to activate changes in the consumption patterns. According to the Federal Energy Regulatory Commission, Washington, D.C., USA (FERC) [
4], a DR program is defined as “changes in electric use by demand-side resources from their normal consumption patterns in response to changes in the price of electricity, or to incentive payments designed to induce lower electricity use at times of high wholesale market prices or when system reliability is jeopardized”. The concept of DR programs is widely discussed at the scientific and research levels [
5]. In most of the cases, DR programs have only been focused on consumption, which brings flexibility to the grid by paying incentives to the electricity consumers [
6]. In fact, buildings are responsible for 40% of the world’s energy consumption which is increasing every day [
7].
We have been working on optimizing the energy consumption in buildings while respecting the user’s preferences, specifically, considering the flexibility of lights and air conditioners [
1]. However, previous methodologies, in line with the literature in the field, have not been adequately formalized. They have not been tested in a way that they could be used in a real building, in real time, with consideration of the dynamic changes of users, such as in an office building with consideration of both temperature and users’ preference constraints, and therefore integrated into a building energy management system with consideration of both the building manager and the users’ preferences. The motivation and objectives of this research are based on this referred lack of such a complete methodology and respective validation in a real building. As a hypothesis, we have developed and implemented the proposed methodology, which integrates the following features:
multiperiod optimization to minimize the power consumption of an office building;
updating of the optimization results according to the most recently updated users’ preferences;
schedule of a dishwasher (DW), as a mean of consumption shifting, where the complete washing cycle is integrated into the energy management of several consecutive periods;
constraining of the optimization problem by considering the visual comfort and thermal comfort of the users, with simple rules;
adequate running of the optimization algorithm in successive periods, namely, a feature where the optimization runs every time that the consumer settings are changed;
decision on when and how frequently the optimization algorithm is run;
minimization of the temperature difference between target and actual temperature as part of the objective function, as a measure of comfort.
The following objectives have been successfully accomplished:
the algorithm is implemented and integrated in an agent-based Supervisory Control and Data Acquisition (SCADA) system installed in a real office building, where all the parameters, such as the consumption of devices and the total consumption, are monitored through this SCADA system;
three scenarios have been implemented and the results are collected in order to prove the adequacy of the proposed methodology;
a sensitivity analysis was conducted regarding the role of parameters in power consumption and user comfort;
the building energy manager has defined a set of parameters in order to specify the moments when the optimization is run.
The innovative scientific contribution of this paper is the integration of linear programming optimization in a real building energy management system, minimizing the discomfort of users in each room, using both temperature and power consumption parameters, deciding where to allocate the operation of a dishwasher in its complete cycle, and providing different means for users and for building energy managers to set the optimal bounds of operation for the building regarding its electrical appliances. The comfort approach uses the dynamic energy balance equation from [
8] to relate the indoor and the outdoor temperatures in two successive time steps, and several equations that bound the energy usage by each appliance as defined by the user. Other approaches can be found in the literature; however, this approach represents a good compromise between complexity and accuracy.
After
Section 1, the background literature is presented in
Section 2. The optimization algorithm and the implemented methodology are explained in
Section 3. A case study is demonstrated in
Section 4 in order to validate the performance of the proposed optimization algorithm.
Section 5 illustrates the obtained results of the proposed case study in
Section 4. Finally,
Section 6 describes the main conclusions of the work.
2. Background Literature
Among all types of buildings, office buildings are considered to be the more flexible option for implementing DR programs, because usually they have significant energy consumption, and also in some cases are better equipped for automation infrastructure than residential houses [
9]. Recently, a main concern in energy consumption minimization topics is user comfort [
8] and keeping a balance between energy consumption minimization and user preference needs that are formulated with adequate constraints in order to observe optimization purposes and user easement at the same time [
10]. Mostly, in office buildings, more attention is paid to air conditioners (ACs) [
11,
12], while according to [
13], 29% of the total energy consumption in office buildings occurs due to lighting. The lights in offices are considered as flexible loads if these are controllable by existing equipment [
14].
A Supervisory Control and Data Acquisition (SCADA) system plays a key role in DR implementation since it offers various advantages in order to have automatic load control in different types of buildings [
15]. For example, the SCADA system can control the lights in a building via a Digital Addressable Lighting Interface (DALI) [
16], which has been implemented to support the results of this paper.
In the field of energy consumption, optimizations considering user comfort, various models, and control methods have been developed to reduce energy consumption, energy cost, and thermal discomfort. In [
8], an automated DR implemented in a home energy management system is proposed to optimize the consumption of distinct types of domestic appliances in response to dynamic electricity prices. The main purpose of [
8] is to reduce the consumer’s electricity bill, while increasing their comfort. For thermal appliances, the controller should find the corresponding power consumption at each time slot to preserve the preferred temperature of the user. In [
17], a simplified preconditioning scenario was applied to control the annual energy cost and thermal comfort. The daily discomfort score was considered to evaluate the HVAC optimization, because indoor thermal comfort is related to a user’s workplace health and productivity, the discomfort score based on the adaptive comfort standard, AHSRAE 55, and the optimum comfort indoor temperature based on the outdoor temperature. The main goal of the researchers in [
18] was to achieve a comfortable and energy-efficient built environment. In this context, a multiobjective optimization framework based on a genetic algorithm was proposed to achieve significant potential for HVAC energy savings with consideration of user thermal comfort. A multiobjective optimization algorithm was proposed in [
9] to improve economic efficiency and maintain user comfort at the same time. This optimization algorithm is based on building integrated PV, noncontrollable loads, and outdoor temperature. In [
19], a solution was proposed that considered a proper AC operating temperature based on probabilistic power consumption considering high-dimensional stochastic variables. A refined temperature control scheme was calculated to make the AC operate more efficiently. The main purpose of [
20] was to minimize the electricity cost based on dynamic electricity price and minimize the thermal discomfort associated with a HVAC system. These minimizations were achieved by considering the uncertainties of electricity price, outdoor temperature, the most comfortable temperature level, and external thermal disturbances. In [
21], the thermal behavior of related zones was modeled using an artificial neural network approach to predict the temperature of the next time slot, the energy demand for cooling the zone in the next time slot, and the zone occupancy. An energy reduction strategy was applied based on thermal feedback and comfort margin. In [
22], an optimization problem to minimize the power fluctuation and maximize user comfort based on ASHRAE standard 55 was presented. For this purpose, a graph-based multiobjective optimal scheduling approach was proposed to manage high consumption devices such as ACs, with the goal of obtaining a smoother load profile and maximize users’ thermal comfortability.
In [
13], the authors proposed a smart lighting control based on the internal mode controller of an artificial neural network which maintained occupant’s preferences while natural light was also used. In [
15], a real model of an optimization-based SCADA model was presented, which focused on optimizing the energy usage of lights and AC devices of an office building in order to participate in DR events. Their results illustrated the importance of a SCADA system for DR programs, and how the demand side users are able to participate in DR programs while their preferences are not affected. In [
23], a monitoring and controlling system was developed for lighting fixtures of different office spaces. The proposed work focused on the energy consumption of already installed devices, including lighting systems. The results of this work illustrated significant differences from the expected and real energy-saving results and, in the end, more reliable controlling and monitoring solutions were outlined.
The predicted mean value (PMV) model of thermal comfort, was created by Fanger et al. as an index that predicts the mean thermal sensation vote on a standard scale for a large group of persons for any given combination of thermal environmental variables, activity, and clothing levels [
24]. The PMV index has been used in many studies to control the thermal comfort. In [
25], a numerical simulation was made in a university building with 2072 occupants. The building was equipped with an HVAC system integrating a control physiology based on a PMV index. The PMV index was calculated as a function of the air temperature, air velocity, air relative humidity, mean radiant temperature, clothing level, and activity level to control the thermal behavior.
Considering the research in the literature, and in line with the research in this paper, it is noteable that several studies address optimized control of ACs and lights and the proposed models evaluate the users’ comfort in AC systems considering the distance to the desired temperature. Those works generally require a complex approach to validate the models with actual implementation in the real world. For example, the use of a PMV model requires nontrivial equipment and complex measurements which make its application impossible in practice for most of the AC and light control real-world applications. The input of a demand response signal to the optimization has also been disregarded. In fact, in order to validate the real implementation of optimization algorithms, adequate methodology must be provided, which is a goal in the proposed methodology of this work. The validation of the algorithm using real data and equipment is achieved. Moreover, with the proposed methodology, the building energy manager can define preferences in the optimization process, as building occupants are considered.
3. Methodology Description
Section 3 describes the optimization algorithm implemented in the SCADA system in order to minimize the power consumption of the office building considering user preferences. The main purpose of the present methodology is to optimize the power consumption of the dishwasher (DW), lighting systems, and air conditioning (AC) system of the building. In fact, modification of user consumption patterns by an external entity could reduce user satisfaction. Therefore, several constraints should be considered to maintain user comfort.
Figure 1 illustrates the overall system architecture.
As shown in
Figure 1, three types of appliances with different quantities are considered to achieve optimization purposes. Lighting intensity and ACs are employed to reduce the amount of power in different periods. A DW is employed for load shifting in peak hours to off-peak hours. Each of these operations should be performed in a specific framework.
Figure 2 shows the process of the present optimization algorithm.
According to
Figure 2, the algorithm starts by importing the input data such as consumption information of office buildings that have been provided by the SCADA system. The optimization algorithm presents a linear multiperiod optimization in which, in each period of the algorithm, different power reduction objectives are being addressed. There are priority numbers defined specifically for each distinct AC and light in order to determine the importance of each device in different periods. By this methodology, the devices compete to participate in power reduction based on their priority numbers. With respect to the definition of the priority, the lower numbers are the first participants in power reduction, while the high priority numbers are the most important and the most essential devices for the users. In the case that only one device is participating to achieve the optimization goals, such as the DW, the priority numbers show the importance of the time that a user employs that specific device.
Since the user preferences can change over time, the comfort parameters can be updated any time by users. After each parameter update, the algorithm runs with newly defined values and more recent updates for the energy consumption forecast.
According to the load shifting technique, the power consumption of the DW should be shifted from some periods to next or previous periods depending on the desired conditions, such as economic or technical reasons. In such appliances, the operation cycle is critical as it leads to several limitations in the operation scenarios, namely, when a DW starts to operate, where should the cycle be completed, and when can it not be interrupted before finishing the cycle. Therefore, the selection of the starting point for the DW load shifting in the optimization algorithm requires careful consideration. Accordingly, priority parameter figures have been dedicated to each period to determine the capability of each period to receive the shifted load.
The present algorithm can consider several periods with various durations. The obtained results of each period are related to other periods, and the input data and parameters can be changed among all periods. In order to have a vision of the real implementation of the algorithm the TTP (required time to process the data), DOP (duration of the period), and TTNP (required time to start the next period of initial input data) have been considered as variables that can vary based on different utilizations.
Figure 3 presents the timeline of the algorithm implementation.
As shown in
Figure 3, the TTP is needed to import the initial data and input data of the first period to start the algorithm. It is also visible that the time required to obtain the results of the first period should be considered as the DOP-TTNP, while the TTNP is considered to import the required data and process the next period.
Regarding consideration of the user convenience, comfort parameters have been defined to limit the overall power reduction of each individual device and also limit the power reduction in consecutive periods. After adjusting all required parameters, the algorithm executes to achieve the desired power reduction and shift the DW load as needed, by considering thermal parameters and restriction parameters.
Equation (1) presents the objective function of the optimization algorithm.
As can be seen in Equation (1), the consumption levels of the lights and ACs are considered as integer variables. The normal and shifted modes of the DW are considered as binary variables to represent the participation of the DW in optimization. DW_Bin_sh stands for shifting the complete operation cycle of the DW load between one to ST and T_in indicates the indoor temperature of each office in each period that the algorithm should select the respective T_in based on following constraints. T_set shows the set temperature by the user that can be different in each period of a day.
Since all the periods are not capable of receiving the shifted load, W_DW_sh specifies the best time to start the operation. Suppose that a complete operation cycle of the DW is equal to N periods, therefore, W_DW_sh in periods from ST_N to ST should be adjusted so that the shifting is not valid in the referred periods.
Regarding the constraints, Equation (2) represents the amount of required power reduction and load balance in each distinct period. According to Equation (2), the reduced power from lights, ACs, and the dishwasher can be considered as the total power reduction in each period. It should be mentioned that, since the DW is a discrete device, the curtailed power from the DW is equal to the actual consumption of the DW. However, the shifted power of the DW should be considered as the power consumption. Therefore, the power reduction in lights and ACs should compensate for the consumption of shifted load to achieve the demand of power reduction.
Equation (3) guarantees that the DW can be shifted only once in periods between one to
ST. This means the algorithm is obligated to find a particular time suitable for the starting point of the DW.
In Equation (4), it is specified that the shifted power of the DW should be exactly equal to the consumption of the DW in an actual situation. According to the input data, the shifted consumption of the DW should not be less or more than the consumption of the DW in a normal situation.
In addition, the consumption optimization of lights and ACs can disrupt the visual and thermal comfort of the users, respectively. To overcome this issue, several constraints have been defined to limit the exorbitant power reduction from referred devices. For ACs, the algorithm should find the corresponding power consumption at each period to preserve the set temperature by users. Equation (5) shows the relation of indoor and outdoor temperature in two successive periods [
8].
In Equations (6) and (7), the power reduction of the lights and ACs has been restricted by defining
PRR_L and
PRR_AC, respectively.
PRR_L and
PRR_AC are the maximum allowed power reduction for each device in different periods. When
PRR_L and
PRR_AC are equal to one, it means the device is available to turn off. Additionally, Equations (8) and (9) present the limitation of power reduction for lights and ACs, respectively, based on specific hours of the day.
Equations (8) and (9) are open to being adjusted based on users’ timetables and preferences. In the same equations, Max_L_h is the special state of PRR_L, and Max_AC_h is the appearance of PRR_AC. It should be noted that 1 h is divided into four periods in Equations (8) and (9).
Taking advantage of natural light in each room can be considered in this optimization. In fact, the amount of natural light depends on the architecture of each room, as well as geographical location of the room. Thus, Equation (10) sets the maximum allowed power reduction of each light based on the architecture and geographical conditions of the room with a defining
Max_L_R parameter.
Focusing on the user comfort, the power reduction in consecutive periods for a certain device can be annoying for the user because the user could feel light reduction or thermal inconvenience for a prolonged period. Therefore, Equations (11) and (12) are assigned to prevent power reduction os certain lights and ACs, respectively, in consecutive periods.
As can be seen in Equation (11), the power reduction of each light in two consecutive periods is limited by MaxRed_L and the power reduction in each AC has been restricted by MaxRed_AC for two consecutive periods.
4. Case Study
The main purpose of
Section 4 is to present illustrative scenarios to apply the proposed the methodology. The scenarios validate the methodology assumptions and detail the respective implementation. Three different scenarios are tested considering working hours of 20 days in an office building. The building, in this case study, is located on the Instituto Superior de Engenharia do Porto (ISEP) Campus, in Porto, Portugal and is equipped with the SCADA system for controlling and monitoring several environmental parameters, as well as energy consumption and production. In fact, the building is able to manage electricity consumption and also to record the data in a database. There are several energy meters in the building that monitor the real-time consumption of lighting systems, sockets, and air conditioners. Therefore, in this case study, the profiles of devices are real consumption data of the building that have been acquired from the SCADA system.
All comfort parameters used in
Section 4 are adapted from several real experiments. The temperature variation in offices in the sequence of power consumption reduction has been investigated in many real studies to determine the thermal comfort limit. In addition, the visual comfort bounds of the users have been provided due to many actual tests with user interaction.
Figure 4 illustrates the plan of the building and the controllable devices in each office room.
The lighting system of the building contains 20 fluorescent lights which are fully controllable via the Digital Addressable Lighting Interface (DALI) system. There are 10 controllable ACs that are located in each distinct area of the building, and one DW in the kitchen.
In this case study, three different scenarios are shown to compare the results obtained for the different purposes of the algorithm. The amount of power reduction and cost reduction are compared in all scenarios with the base situation.
Figure 5 shows the consumption of the DW, the lighting systems, and ACs of the building in 20 working days. It should be mentioned that the algorithm focuses on the working hours of the office building from 8:00 to 20:00. The 12 working hours have been divided into 48 periods with DOP equal to 15 min.
As shown in
Figure 5, the ACs are responsible for a large part of the energy consumption in the building. Although, lighting systems and the DW can play effective roles in energy optimization.
Three different scenarios have been designed based on the same algorithm with various properties. All scenarios pursue the energy optimization goal while they have their particular purposes. It should be mentioned that the initial power consumption, the amount of power reduction, and the priority of devices are the same in all six scenarios and they focus on 20 days of input data.
Table 1 presents the applied objective function (OF), which is classified as OF (1) and OF (2). OF (1) is applied to minimize the power consumption of devices without consideration of thermal comfort of users in the equation, however, OF (2) is the complete form of objective function in (1), which aims to minimize the power consumption of devices and discomfort of the users. Equations (13) and (14) show the OF (1) and OF (2), respectively.
Table 1 also shows the applied comfort constraints in each scenario, which is classified as two categories of, first, (I) and, secondly, (II). Comfort constraints category (I) indicates the consideration of constraints (5) for controlling the power reduction of lights and ACs, respectively, to preserve the indoor temperature between user preferred temperature settings. Comfort constraints category (II) considers constraints (6), and (7) for restricting the power reduction of lights and ACs, respectively. It also considers constraints (8), and (9) for applying restrictions in specific periods and (10) is defined to limit the power reduction of the lights in specific places based on user preferences. In the last stage, constraints (11), and (12) are dedicated for preventing power reduction in consecutive periods in certain devices.
4.1. Scenario A
Scenario A is the version of the algorithm which aims to reduce the demand for power reduction by considering user comfort constraints category (II) and shifting the DW consumption. Ten ACs, 20 lights, and one DW have been considered in this scenario. Comfort constraints should distribute the power reduction among all devices based on restrictions. Shifting the power consumption from some periods to other periods can be interpreted that the power should be curtailed in some periods, but this curtailment should be compensated for in other periods as power consumption. The challenging point for the algorithm is the continuouss operation cycle of the DW and selecting the suitable periods to shift the complete operating cycle. Since the operation cannot be interrupted, the algorithm searches for the best starting point. In this scenario, priority of each period determines the starting period of shifting. This priority can reflect electricity cost, technical issue, critical periods, and user decisions.
4.2. Scenario B
Scenario B is considered to survey the impact of comfort constraints category (I) for providing thermal comfort of the users without considering comfort constraints category (II). Ten ACs, 20 lights, and one DW have been considered in this scenario for optimizing the energy consumption by reducing and shifting the power. Comfort constraints category (I) has an impact on power consumption of the ACs by preserving the desired temperature of the user based on outdoor temperature and set temperature. It should be mentioned, in this study, that the inertia factor is equal to 0.98, the thermal conductivity TC = 0.35 kW/°C, and the coefficient of performance C = 5.
4.3. Scenario C
Scenario C is the complete version of the algorithm that addresses the impact of considering comfort constraints categories (I) and (II) on the behavior of 10 ACs, 20 lights, and one DW in optimization. The demand for total power reduction in each period is equal to scenario A and B, but the comfort constraints should distribute the power reduction among all devices based on defined thermal comfort constraints and power restrictions constraints. It should be noted that load shifting is also considered in this scenario. In this scenario, comfort constraints category (II) is able to restrict the power reduction based on the value of the parameters and required reduction; however, comfort constraints category (I) aims to obtain the desired indoor temperature.
4.4. Scenario Data
As shown in
Table 2, the parameters that are related to the comfort of the user maintain their base value in all scenarios in order to survey the impact of added constraints, however they can be decreased or increased based on different purposes.
As shown in
Figure 6, there are different demands for power reduction in each period of each day. These values are the minimum demand for power reduction; however, they can be increased in some periods to compensate the power consumption due to DW shifting.
Figure 7 and
Figure 8 show the outdoor temperature and the adjusted temperature by user, respectively, in each period of 20 days. It should be noted that
Figure 8 shows the adjusted temperature by users in 20 days, however, each day includes 10 distinct AC with 10 different preferred temperature, and therefore
Figure 8 shows 200 rows related to 20 days.
Figure 9A,B shows the amount of Max_L_h, and Max_AC_h, respectively, that are equal in all presented scenarios, but they can be modified based on users. According to the definitions of Max_L_h and Max_AC_h, they can limit the power reduction of devices in some particular hours, and therefore various amounts can be dedicated to them during a day.
Sometimes there are no special preferences for some devices and Max_L_h and Max_AC_h should be considered equal to one. Hence, some devices overlap in
Figure 9A,B. In
Section 4, all the considered scenarios for validating performance of the algorithm have been presented and explained. These scenarios are defined so that all the possibilities and features of the algorithm can be tested and validated.
6. Conclusions
Demand response programs have great potential to improve buildings’ energy consumption optimization, bringing benefits to the building energy manager and occupants. Occupants comfort must be respected, and adequate automation should support such an intelligent energy management.
Research in the literature has focused on optimizing the air conditioning use according to the actual indoor temperature, in order to keep it close to the desired level, and in a set of offline scenarios. The optimization model proposed in this paper has been adequately developed in order to address the control of lights, ACs, and a washing machine, providing comfort modeling by keeping the desired temperature and by prioritizing the use of each appliance. Successful implementation in a real building has been achieved.
The results obtained in the three proposed scenarios show that the proposed methodology can optimize the energy consumption with an adequate modeling of the indoor temperature behavior. In Scenario B, the optimization was focused on the indoor temperature equations and it was possible to control the consumption of each appliance. In Scenario C, other constraints were considered in order to give the building energy manager and the users the opportunity to set bounds on the changes of the devices’ control actions. Easily, it was possible to identify the more relevant appliances in each period, and in each room, providing a more flexible contextual energy management. It is a major achievement of the proposed methodology because the users were able to specify their preferences regarding lights and ACs rather than consider only the indoor temperature setpoint. As shown in the results, as the bounds of the refereed equations are set to reduce the flexibility of each appliance, as a measure of comfort also, it was possible to analyze the indoor temperature behavior which was kept rather far from the desired temperature, as the users had other conflicting preferences. In fact, the provided objective function aims to reduce the difference between the actual and the desired temperature (in each individual room) but, as seen, if the users provide flexibility in the preference constraints, the optimization manages to reach the required demand reduction as a constraint, and therefore in some rooms the ACs provide a relatively bad temperature profile. The main point is that the model decides which are the most important ACs in each period for the global building target, respecting the individual users’ preferences. Such results are in fact very different from the results in the literature as those studies focused on keeping the indoor temperature without properly challenging obtaining a required reduction level.
As future work, sensitivity analyses should be done in order to study the definition of the importance of temperature difference minimization in the objective function.