scieee AI-readable full text Open interactive document viewer

An Economic Model-Based Predictive Control to Manage the Users’ Thermal Comfort in a Building

Alamin, Yaser Imad; Castilla Nieto, María del Mar; Álvarez Hervás, José Domingo; Ruano, Antonio

Abstract

The goal of maintaining users’ thermal comfort conditions in indoor environments may require complex regulation procedures and a proper energy management. This problem is being widely analyzed, since it has a direct effect on users’ productivity. This paper presents an economic model-based predictive control (MPC) whose main strength is the use of the day-ahead price (DAP) in order to predict the energy consumption associated with the heating, ventilation and air conditioning (HVAC). In this way, the control system is able to maintain a high thermal comfort level by optimizing the use of the HVAC system and to reduce, at the same time, the energy consumption associated with it, as much as possible. Later, the performance of the proposed control system is tested through simulations with a non-linear model of a bioclimatic building room. Several simulation scenarios are considered as a test-bed. From the obtained results, it is possible to conclude that the control system has a good behavior in several situations, i.e., it can reach the users’ thermal comfort for the analyzed situations, whereas the HVAC use is adjusted through the DAP; therefore, the energy savings associated with the HVAC is increased

Full text

energies Article An Economic Model-Based Predictive Control to Manage the Users’ Thermal Comfort in a Building Yaser Imad Alamin 1,†, María del Mar Castilla 2,†, José Domingo Álvarez 1,*,† and Antonio Ruano 3,† 1Department of Informatics, University of Almería, Agrifood Campus of International Excellence (ceiA3) CIESOL Joint Centre University of Almería—CIEMAT, 04120 Almería, Spain; [email protected] 2Department of System Engineering and Automation, School of Engineering, University of Seville, 41092 Seville, Spain; [email protected] 3Faculty of Science and Technology, University of Algarve, Faro, Portugal and, IDMEC, Instituto Superior Técnico, Universidade de Lisboa, 1049-001 Lisboa, Portugal; [email protected] *Correspondence: [email protected]; Tel.: +34-950-214-274 † These authors contributed equally to this work. Academic Editor: Giovanni Pau Received: 2 December 2016; Accepted: 2 March 2017; Published: 7 March 2017 Abstract: The goal of maintaining users’ thermal comfort conditions in indoor environments may require complex regulation procedures and a proper energy management. This problem is being widely analyzed, since it has a direct effect on users’ productivity. This paper presents an economic model-based predictive control (MPC) whose main strength is the use of the day-ahead price (DAP) in order to predict the energy consumption associated with the heating, ventilation and air conditioning (HVAC). In this way, the control system is able to maintain a high thermal comfort level by optimizing the use of the HVAC system and to reduce, at the same time, the energy consumption associated with it, as much as possible. Later, the performance of the proposed control system is tested through simulations with a non-linear model of a bioclimatic building room. Several simulation scenarios are considered as a test-bed. From the obtained results, it is possible to conclude that the control system has a good behavior in several situations, i.e., it can reach the users’ thermal comfort for the analyzed situations, whereas the HVAC use is adjusted through the DAP; therefore, the energy savings associated with the HVAC is increased. Keywords: thermal comfort; energy efficiency; Predicted Mean Vote index; economic MPC 1. Introduction Climate change, the decrease in fossil-based energy resources and the need for reducing greenhouse gas emissions require energy-efficient and smart building systems. For this reason, governments have shown, in recent years, a renovated attention to building energy efficiency. In the framework of the European Union (EU), these trends have led to the appearance of several European-wide regulations, which attempt to standardize the design and improvement of buildings to make them energy efficient. One of the most advanced and easiest to understand regulations in this field is Directive 2010/31/EU of the European Parliament and of the Council on the energy performance of buildings [ 1 ]. This directive promotes the energy performance of buildings [ 2 ] located within the European Union, taking into account outdoor climatic conditions and local peculiarities, as well as indoor climate requirements and profitability in terms of cost-effectiveness. Therefore, buildings play a significant role in environmental impact since they consume 40% of the primary energy of the World, more than half used by heating, ventilation and air conditioning (HVAC) systems [ 3 – 5 ]. Therefore, the adoption of actions based on control systems for maintaining Energies 2017,10, 321; doi:10.3390/en10030321 www.mdpi.com/journal/energies Energies 2017,10, 321 2 of 18 the comfort of their users has shown great potential to reduce this impact. In general, to improve buildings’ performance from an energy efficiency point of view, it is necessary to take into account three different factors: main structural elements of the building, their use and the users of the building. The optimization and control methodologies for buildings can be classified into two approaches: (i) based on a real-time operation of the building, i.e., using a building energy management system; and (ii) an offline approach based on strategic choices for structural changes [ 6 – 8 ]. Additionally, it should be taken into account that users’ comfort and energy efficiency are conflicting objectives since, in order to reach an optimal comfort situation, it is often required to increase energy consumption. Thus, many of these control systems are based on model-based predictive control (MPC), which tries to optimize a cost function to find a tradeoff between users’ comfort and energy consumption without putting users’ welfare at risk. MPC is one of the most extended techniques for comfort control on real-time operation since it uses a model of the system, noise and disturbances, in order to perform predictions of the future output. These predictions are incorporated within a cost function, which is related to closed loop behavior and control effort and that is minimized as a function of the future control signals’ sequence taking into account constraints defined in the problem. Finally, a receding horizon strategy is implemented to achieve feedback. It consists of the following: at each time, the horizon is displaced towards the future, which involves the application of the first control signal of the sequence calculated at each step, while the remaining signals are not used. At the next control instant, the horizon is displaced towards the future, and the controller with new measurements solves and updates the optimal control problem. In Camacho and Bordons [9] , this strategy is widely described, and the possibilities that it offers, as a motivation for its use, are explained in detail. In the last few years, it is possible to find in the literature some works dealing with MPC for controlling the users’ thermal comfort. Among them, it is possible to point out as examples the work presented in Pˇcolka et al. [10] , where an MPC that uses a linear time-dependent model is introduced; with this controller, the authors try to obtain predictions closer to reality than the ones obtained from a linear time-invariant model; at the same time, the computational complexity associated with the optimization procedure does not increase, since the optimization task remains convex. Results obtained with the proposed controller are compared with the ones obtained through a non-linear MPC. The obtained results demonstrated that the proposed linear MPC reaches a reasonable tradeoff between the optimal solution and the time cost associated with the optimization problem, specifically in the case of centralized MPC for large buildings. The benefits that the use of an MPC can offer in the control of aged residential buildings designed with poor construction material and systems are shown and commented on in Carrascal et al. [11] . In this work, RCmodels are used for modeling dwellings. The results indicate that the MPC obtains energy savings varying between 10% and 15% with respect to simple on/off controllers. Finally, a simulation-based MPC procedure is presented in Ascione et al. [12] , in which the EnergyPlus software, which is a building performance simulation tool, is combined with an optimization engine, in this case MATLAB ® , to achieve a multi-objective optimization of the HVAC system’s daily operation; specifically, the MPC tries to optimize the operating cost for space heating and the thermal comfort, quantified by the predicted percentage of dissatisfied (PPD). The results show that the proposed MPC is able to reduce the operating cost for space heating equal to 56%, whereas the PPD is reduced about 8%. However, not only the MPC is used at the time to control the users’ thermal comfort; in Afram and Janabi-Sharifi [13] , optimal set-points and dead-band settings are found for on/off controllers in order to improve thermal comfort, whereas energy consumption is minimized by reducing the switching frequency of HVAC equipment. In Michailidis et al. [14] , an automated control calibration procedure for building optimization and control systems is proposed. Through this methodology, no human intervention or simulation model is required for the initial deployment of the controller. Real results from an Israeli commercial building check the performance of the proposed methodology. A neural network temperature predictor is combined with a fuzzy controller in Marvuglia et al. [15] in Energies 2017,10, 321 3 of 18 order to maintain thermal comfort in an office building. The predictor is able to forecast accurately indoor temperature during summer and winter seasons. The fuzzy controller is fed with these predictions in order to calculate a suitable control action. Another fuzzy logic controller is used in Jazizadeh et al. [16] , which uses building occupants’ personalized thermal profiles in order to improve its efficiency. The results show a reduction in daily average airflow rates by 26% when the users’ personalized thermal profiles are used instead of predefined ones. In this work, an economic MPC for users’ comfort in buildings is presented. The main strength of the proposed approach, with respect to the ones cited and commented on in this section, is the use of the day ahead price (DAP) to take into account the electricity price; in this way, the controller is able to calculate how much money it costs the required energy to reach the desired thermal comfort associated with the HVAC. Specifically, the MPC calculates the optimal fan coil speed to get users’ thermal comfort, whereas the energy consumption of the HVAC is minimized. The performance of the proposed control system is tested through simulation tests with a non-linear model of a bioclimatic building. Specifically, one of the most representative rooms of the Solar Energy Research Center, in Spanish: Centro de Investigación en Energía SOLar—CIESOL, has been used. This room has been equipped with actuators to control the comfort inside the building (HVAC systems, automated windows opening and shading devices and adjustable artificial lighting). It is important to highlight that the proposed control methodology can be applied to other buildings, not necessarily in a bioclimatic one. The only requirement is that the building has a suitable network of sensors in order to be able to estimate the predicted mean vote (PMV) index. The obtained results are promising, and the next step will be to implement the control system into the supervisory control and data acquisition (SCADA) system of the CIESOL building in order to obtain real results. The paper is organized as follows. After the Introduction presented before, the methodology used in this work, i.e., the necessary preliminary concepts to this work, the non-linear model used as a test-bed simulator and the control architecture, are described in depth in Section 2, whereas Sections 3 and 4are devoted to showing the main results and to discussing the conclusions and future works obtained from this work, respectively. 2. Methodology The main aim of this section is to introduce the theoretical background, as the estimation of thermal comfort through the PMV index and the basic concepts of MPC (see Section 2.1) and the steps followed to develop the work presented in this paper. More in detail, Sections 2.2 and 2.3 provide a brief description about the scope of research and the non-linear model used in this work as a test-bed simulator. The control architecture is described in depth in Section 2.4. 2.1. Preliminary Concepts This paper proposes a control architecture to maintain an appropriate level of thermal comfort for the users of a bioclimatic building, but it can also be used in a regular building with a suitable network of sensors. Hence, the main objective of this section is to introduce the theoretical background necessary for a correct understanding of the work presented in this paper. More specifically, Section 2.1.1 is devoted to a detailed analysis of thermal comfort concept and the methodology used for its estimation. Section 2.1.2 introduces the main concepts and definitions related to MPCs from a general point of view. 2.1.1. Thermal Comfort In general, users’ comfort conditions in a certain environment can be defined as a function of several factors, such as indoor-air quality, thermal and visual comfort. Besides, it is a critical issue that should be taken into consideration, since users’ comfort is directly related to their productivity and, moreover, to their physical and psychological well-being. Therefore, users’ comfort is influenced by a wide variety of processes, including physiological, physical, as well as psychological ones. Hence, comfort can be considered as a cognitive process [17]. Energies 2017,10, 321 4 of 18 Thermal comfort is defined by international standards (ASHRAE 55 [ 18 ] and ISO 7730 [ 19 ]) as “That condition of mind which expresses satisfaction with the thermal environment” [ 20 ]. Furthermore, from that definition, it can be inferred that thermal comfort depends on various conditions, such as the surrounding environment (temperature, relative humidity, air velocity) and the season of the year. Nonetheless, it is possible to find in the literature several studies [ 17 ] that have demonstrated that even with the existing differences among living environments and culture around the world, the indoor-air temperature selected by people under comparable circumstances of clothing, physical activity and climate for a thermal comfort situation is very similar. Therefore, it is possible to define appropriate mechanisms to calculate thermal comfort conditions. The most widespread one is the PMV index developed by Fanger [ 21 ] during the 1970s to guarantee humans’ thermal comfort. This index is based on the energy balance of the human body with its surrounding environment [ 22 ], and thus, it guarantees a thermal comfort situation by predicting the average thermal sensation response of large groups of people exposed to different thermal conditions for a long period of time [19]. The value provided by the PMV index is within a seven-point thermal sensation scale, which is shown in Table 1. Hence, to ensure thermal comfort, international standards [ 18 , 19 ] recommend to maintain the PMV index at Level 0 with a tolerance of ± 0.5 [ 23 ]. Moreover, the PMV index is influenced by the six variables that appear in Table 2, that is metabolic rate ( M ), clothing insulation ( Icl ), air temperature ( Tain ), mean radiant temperature ( Tmr ), air velocity ( vain ) and air relative humidity ( Hr ). Most of these variables can be obtained through sensors or by means of a simple methodology [ 24 ]. However, although human activity and clothing insulation variables cannot be easily calculated, since they depend on the precise location of people and the season of the year, tabulated values for them can be obtained from manuals and international standards [ 19 , 21 ]. For instance, the typical values associated with clothing insulation for the winter and summer period are 1.0 clo (clothing insulation unit) and 0.5 clo, respectively. In addition, for characteristic office activities, a metabolic rate equal to 1.0 met is fixed. The PMV index is calculated according to Equation (1) [18,19]. PMV = [0.303 exp(−0.036M) + 0.028]L(1) Table 1. PMV index thermal sensation scale. PMV Index Value Sensation +3 Hot +2 Warm +1 Slightly warm ±0 Neutral −1 Slightly cool −2 Cool −3 Cold Table 2. Variables that influence thermal comfort [25]. Variable Symbol Range Units Metabolic rate M0.8–4 met (W/m2)a Clothing insulation Icl 0–2 clo (m2·°C/W) b Indoor air temperature Tain 10–30 °C Mean radiant temperature Tmr 10–40 °C Air velocity vain 0–1 m/s Air relative humidity Hr30–70 % a1 met = 58.15 W/m2;b1 clo = 0.155 m2·°C/W. In the previous equation, M represents the metabolic rate of a human being expressed in (W/m2) , and L symbolizes the existing difference between the internal heat production and loss that occurs in Energies 2017,10, 321 5 of 18 a human body when the person is subjected to certain thermal conditions in (W/m2) . More specifically, this thermal load, L, can be calculated as is shown in Equation (2). L= (M−Q)−0.0014M(34 −Tain )−1.72 ×10−5M(5867 −pa)(2) −0.42(M−Q−58.15)−39.6 ×10−9fcl[(Tcl +273)4−(Tmr +273)4] −3.05 ×10−3[5733 −6.99(M−Q)−pa]−fclhc(Tcl −Tain ) where Q is the work performed by human muscles for the development of a certain task in (W/m2) and pa represents the partial water vapor pressure in the indoor air expressed in (Pa). This parameter is calculated from indoor-air relative humidity, Hr , since it can be defined as the relationship between partial and saturated water vapor pressures in the air at a given temperature Tain in (K) ; Tmr stands for the mean radiant temperature in (K) ; hc represents the convective heat transfer coefficient in ( W/(m2K) ); fcl is the clothing area factor (-); and Tcl stands for the clothing surface temperature in (K) , which can be estimated according to Equation (3). Tcl =35.7 −0.028(M−Q)−0.155Icl[fclhc(Tcl −Tain )(3) +39.6 ×10−9fcl[(Tcl +273)4−(Tmr +273)4]] Finally, in Equations (2) and (3), hc represents the convective heat transfer coefficient expressed in ( W/(m2K) ), and fcl is the clothing area factor in [−] , which can be calculated as can be observed in Equations (4)–(6): hc=(2.38 ·(Tcl −Tain )0.25,A>12.1 ·√Vin 12.1 ·√Vin,A≤12.1 ·√Vin (4) A=2.38 ·(Tcl −Tain )0.25 (5) fcl =(1.0 +0.2 ·Icl,Icl ≤0.5 clo 1.05 +0.1 ·Icl,Icl >0.5 clo (6) where Icl is the clothing insulation in (clo = (m2K)/W) and Vin represents the air velocity in (m/s). 2.1.2. Model Predictive Control: Basic Concepts and Definitions MPC is one of the most widespread control techniques within industrial and academic fields [ 9 ]. Generally, MPC is characterized by explicitly using a model of the process in order to calculate the future control signals’ sequence by minimizing a certain objective function [ 26 ]. In addition, it uses a receding horizon strategy, that is, at each sample time, the first control signal of the estimated sequence is applied to the system, and the other ones are discarded [9]. Therefore, MPC algorithms use a predicted output data vector (ˆ Y) through a prediction horizon (N) and a vector composed of future changes in the control action (∆u) along a control horizon (Nu) : ˆ Y=F+G∆u(7) where the free (F) and forced (G) response matrices are calculated by means of different methods as a function of the selected algorithm. On the one hand, it should be emphasized that, ˆ Y=F represents the obtained response when the future control actions are zero. On the other hand, ˆ Y=G∆u is the response obtained when the initial conditions are considered null. Hence, the availability of a model of the process is a cornerstone within the MPC field. Furthermore, this model should precisely capture the main dynamics of the controlled process and, simultaneously, be simple enough to not increase the computational cost derived from estimating future control signals [26]. Energies 2017,10, 321 6 of 18 2.2. Scope of the Research: The CIESOL Building In this paper, an economic MPC-based control architecture has been proposed to maintain appropriate thermal comfort conditions inside a certain environment and, simultaneously, to keep energy costs derived from the use of the HVAC system within a controlled range. Besides, to evaluate the performance of the proposed control strategy, it has been tested in simulation inside a characteristic room of the CIESOL building [ 27 ]. CIESOL is a solar energy research center placed inside the Campus of the University of Almería in the southeast of Spain; see Figure 1. Figure 1. The CIESOL building. More specifically, this building is divided into two different floors with a total surface approximately equal to 1072 m 2 . In addition, it has been designed to be a nearly-zero energy building (NZEB), and thus, it has several bioclimatic criteria, such as the use of photovoltaic panels to produce electricity and an HVAC system based on solar cooling, which is composed of a solar collector field, a hot water storage system, a boiler and an absorption machine with its refrigeration tower. Therefore, this HVAC system is able to produce heat or cold air for the whole building as a function of the demanded necessities. To do that, heat or cold water flows around the building, and at each room, it goes through a fan coil unit. This fan coil unit allows one to introduce air at a certain temperature inside each room by regulating both the amount of water that flows through it (by means of a two-way valve) and the volume of air that is introduced in the room (by means of a three-position fan); see Figure 2a. Moreover, the building also uses several passive strategies, such as different enclosures as a function of their orientation and a crossed-ventilation strategy for the passive fitting-out through the hottest months. Furthermore, the CIESOL building works as a research center, which deals with the study of the implemented bioclimatic strategies, the analysis of their influence over energy efficiency and greenhouse effect gas reduction, as well as the development of optimization techniques to increase the ratio of renewable energies’ use against conventional ones. For this reason, it uses a wide network of sensors and actuators (see Figure 2) whose measured data are stored in a database by means of a measurement and acquisition software [ 26 ]. More specifically, the building has a meteorological Energies 2017,10, 321 7 of 18 station composed of different types of sensors (e.g., temperature, relative humidity, direct and diffuse irradiance, CO 2 concentration, etc.). Besides, five representative rooms of the building have been selected, and a large network of sensors and actuators has been installed. For instance, these rooms use air temperature, plane radiant temperature, globe temperature, relative humidity sensors, etc., as actuators, a fan coil unit and automatized windows and blinds. (a) (b) Figure 2. Characteristic room of the CIESOL building. (a) Scheme of a fan coil unit; (b) main sensors. In order to test the control architecture proposed in this paper, one of the representative rooms of the CIESOL building has been selected as a reference. This room was chosen among the characteristic ones mainly due to its occupancy profile. More in detail, this room works as an office, and it is placed in the upper floor of the CIESOL building. In addition, it is characterized by having a north orientation, a volume of 76.8 m 3 and a window with a total surface of 2.15 × 2.09 m 2 . Moreover, it consists of a fan coil unit able to regulate the PMV index by controlling the fan coil speed. Hence, it has been required to obtain a model able to act as a simulator, that is to represent precisely the indoor temperature dynamic behavior. To do that, a model based on fundamental principles has been developed. A brief description of the fundamental principles model used can be found in Section 2.3. 2.3. Room Simulator: Model Based on First Principles As was mentioned previously, the control architecture presented in this paper has been evaluated through simulation tests inside a characteristic room of the CIESOL building: see Section 2.2. To do Energies 2017,10, 321 8 of 18 that, it is necessary to have at disposal a simulator able to exactly capture the dynamic behavior of the main involved environmental variables. More specifically, in this paper, an indoor air temperature model based on first principles has been used as the simulator. In general, a closed environment, such as a room, can be defined as a complex system composed of different types of elements, such as, walls, windows, actuators, etc. Besides, it is also very important to take into consideration several factors as outside climate and the environmental conditions in the adjacent rooms. Afterwards, the relations among different elements can be estimated by means of heat (convection, conduction and radiation) and mass transfer laws. A description of the indoor air temperature balance equations is shown in Equations (8)–(14): ma·Cpa·dTain dt =Qglass +QHVAC +Qnvnt +Qconv +QiGain +Qin f (8) Qglass =f1(Tain ,Tout,Idr,Id f ,Ir f )(9) QHVAC =f2(Timp)(10) Qnvnt =f3(Tain ,Tout)(11) Qconv =f4(Tain ,TN,TS,TW,TE,Tgr,Tc)(12) QiGain =f5(Tain ,Tmr,Hr,Np)(13) Qin f =f6(Tain ,Tout)(14) The meaning of the different parameters that appear in the previous equations is shown in Table 3. Specifically, as can be observed in Equation (8), variation in the indoor air temperature variable can be calculated as a function of: (i) the heat gain due to the windows, Qglass ; (ii) the heat exchanged by means of the forced ventilation, QHVAC ; (iii) the heat gain through natural ventilation, Qnvnt ; (iv) the heat transferred by means of convection with the walls Qconv ; (v) the heat gain due to internal gains (people, electrical appliances, lights, etc.), QiGain ; and (vi) the heat transferred through infiltration, Qin f ; see Figure 3. A detailed description of the procedure to estimate each one of these terms can be found in [26]. Figure 3. Heat balance inside a room. Source: [26]. Energies 2017,10, 321 9 of 18 Table 3. Parameters for the room model [28]. Parameters Description SI Units CpaAir specific heat J/kg·K HrRelative humidity % Id f Diffuse irradiance W/m2 Idr Direct irradiance W/m2 Ir f Reflected irradiance W/m2 maAir mass kg NpNumber of people - Qconv Heat gain by free convection through walls W Qglass Heat gain through the window W QHVAC Heat gain by forced ventilation W QiGain Heat gain due to internal gains W Qin f Heat gain due to infiltrations W Qnvnt Heat gain by natural ventilation W Tain Indoor air temperature K TcCeiling plane radiant temperature K TEEast plane radiant temperature K Tgr Ground plane radiant temperature K Timp Impulse air temperature K Tmr Mean radiant temperature K TNNorth plane radiant temperature K TSSouth plane radiant temperature K TWWest plane radiant temperature K Tout Outdoor air temperature K Hence, thermal comfort control (PMV) will be performed by an indirect control of the indoor air temperature ( Tain ) by means of the fan coil speed ( VFan ). Finally, there will be some disturbances that influence the control process, such as the outdoor air temperature ( Tout ), the solar radiation ( Idr , Id f and Ir f ), the relative humidity (Hr) and the number of people inside the room (Np). 2.4. Control System Architecture The primary control objective of the work presented in this paper is the development of a control system able to provide an appropriate thermal comfort level for the users of a bioclimatic building and, simultaneously, to optimize the economic cost derived from maintaining this thermal comfort situation. In previous works, different predictive control strategies have been compared by the evaluation of several cost functions [ 29 ]. Concretely, in that work, the main goal was to maintain thermal comfort within an appropriate zone defined by the PMV index minimizing, at the same time, energy consumption. To do that, linearized models around an operating point, which relate indoor air temperature (K) and fan coil speed (%), have been used. Nevertheless, in the work presented in this paper, a more advanced thermal comfort control architecture within sustainable buildings has been proposed; see Figure 4. More specifically, it has been supposed that in order to maintain adequate daily environmental conditions for the users of a building, it is required to consume a certain amount of energy. Additionally, it should be taken into account that energy price is not constant along the whole day, but it changes dynamically as a function of supply and demand instead. Hence, the main goal of the proposed control architecture is to decide, based on the energy day ahead price (DAP), when is more beneficial (in economic terms) to consume the necessary amount of energy in order to reach an acceptable thermal comfort level. To do that, it has been supposed that the only actuator able to regulate thermal comfort is the HVAC system based on solar cooling [26]. Therefore, the proposed architecture is based on an economic model-based predictive control scheme (see Figure 4) able to estimate optimal fan coil speed set-points (VFan) in (%), which allows the users to maintain adequate PMV levels in the building. More specifically, these fan coil speed set-points Energies 2017,10, 321 16 of 18 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 Time (hours) -0.2 -0.1 0 0.1 0.2 0.3 0.4 0.5 PMV PMV Setpoint 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 Time (hours) 0 20 40 60 80 100 Fancoil speed (%) (a) 8 9 Time (hours) -0.2 -0.1 0 0.1 0.2 0.3 0.4 PMV PMV 8 9 Time (hours) 0 20 40 60 80 100 Fancoil speed (%) (b) Figure 9. Results for the typical case with on/off actuator (a) and zoom over one hour (b). From a power consumption point of view, the total power spent by the economic MPC is increased due to the discrete nature of the actuator. The power spent is 22,408 W, where most part of this power, 20,900 W, is used to turn on he HVAC system 418 times during the day and only 1508 W to increase the fan coil speed. In this scenario, the time spent to simulate it was longer due to the multiple changes in the control action; thus, it was 612 s. As the reader can seen, in the case of having a discrete actuator available instead of a continuous one, the PMV index is reached with fluctuations, and a higher energy consumption is obtained, without taking into account that in this case, the actuator stress is huge. Therefore, as the discrete operator implies a higher money cost, the reader can consider the money spent in buying a continuous actuator instead of using the discrete one. 4. Conclusions and Future Works In this paper, an economic MPC controller has been developed based on a linear model derived from a non-linear one based on first principles. This model captures the dynamics of a laboratory, which is part of the research center CIESOL. In order to obtain an optimal thermal comfort for the laboratory users, whereas saving energy is done, a control strategy, which takes into account the hourly energy price variation in Spain through the DAP, is developed. Therefore, three simulation scenarios are shown to test the proposed control system, in the first one, the control system is compared with the free response of the system; in the second one, the control system is tested with different DAPs; and finally, in the third one, a discrete actuator is considered. In all of the simulation scenarios, the proposed control system has demonstrated that it is able to achieve a tradeoff between users’ thermal comfort and the amount of energy spent to reach this thermal comfort. This is the main conclusion of this work: the proposed control strategy is able to manage the energy spent through the use of the DAP, whereas the users’ thermal comfort is maximized. Specifically, when the energy price is expensive, the controller decides not to reach an optimal thermal comfort, PMV = 0, but rather very close to it. The saved energy could seem small, since the controller is tested in only one room, but it will increase if the proposed control system is applied to all of the rooms that form a building. As a future research work, the proposed control strategy will be tested with other non-linear models developed in Dymola or TRNSYS. In this way, the theoretical performance of the MPC could be compared with the performance obtained with this highly detailed model. Furthermore, in order to obtain real results, the proposed control strategy will be integrated into the SCADA system of the Energies 2017,10, 321 17 of 18 CIESOL building to apply it in a laboratory. Such measurements will provide significant data and results for further studies. Acknowledgments: This work has been partially funded by the following project: DPI2014-56364-C2-1-R (financed by the Spanish Ministry of Science and Innovation and EU-ERDF funds) and Competitiveness and ERDF funds, and by the Fundación Iberdrola España, through its Call for Research on Energy and Environment Grants “ENERGY FOR RESEARCH”. Yaser Alamin is a fellow of the MARHABA, an Erasmus Mundus Lot 3 project. María del Castilla is a fellow of the Spanish Juan de la Cierva-Formación contract program. José Domingo Álvarez is a fellow of the Spanish Ramón y Cajal contract program. Antonio Ruano would like to acknowledge the support of the Portuguese Foundation for Science & Technology, through IDMEC, under LAETA, Project ID/EMS/50022/2013. Author Contributions: All authors have participated in preparing the research from the beginning to the end, such as establishing research design, method and analysis. All authors discussed and finalized the analysis results to prepare manuscript according to the progress of research. Conflicts of Interest: The authors declare no conflict of interest. References 1. 2010/31/UE. Directive 2010/31/UE of the European Parliament and of the Council of 19 May 2010 on the Energy Performance of Buildings. 2010. Available online: http://eur-lex.europa.eu/LexUriServ/LexUriServ. do?uri=OJ:L:2010:153:0013:0035:EN:PDF (accessed on 17 November 2016). 2. EPBD. 2016. Available online: http://www.epbd-ca.eu/ (accessed on 17 November 2016). 3. Yang, I.H.; Yeo, M.S.; Kim, K.W. Application of artificial neural network to predict the optimal start time for heating system in building. Energy Convers. Manag. 2003,44, 2791–2809. 4. Pérez-Lombard, L.; Ortiz, J.; Pout, C. A review on buildings energy consumption information. Energy Build. 2008,40, 394–398. 5. Moro¸san, P.D.; Bourdais, R.; Dumur, D.; Buisson, J. Building temperature regulation using a distributed model predictive control. Energy Build. 2010,42, 1445–1452. 6. Diakaki, C.; Grigoroudis, E.; Kolokotsa, D. Towards a multi-objective optimization approach for improving energy efficiency in buildings. Energy Build. 2008,40, 1747–1754. 7. Diakaki, C.; Grigoroudis, E.; Kabelis, N.; Kolokotsa, D.; Kalaitzakis, K.; Stavrakakis, G. A multi-objective decision model for the improvement of energy efficiency in buildings. Energy 2010,35, 5483–5496. 8. Carli, R.; Dotoli, M.; Pellegrino, R.; Ranieri, L. A Decision Making Technique to Optimize a Buildings’ Stock Energy Efficiency. IEEE Trans. Syst. Man Cybern. Syst. 2016,PP, 1–14. 9. Camacho, E.F.; Bordons, C. Model Predictive Control; Springer: London, UK, 2004. 10. Pˇcolka, M.; Žáˇceková, E.; Robinett, R.; ˇ Celikovsk ` y, S.; Šebek, M. Bridging the gap between the linear and nonlinear predictive control: Adaptations for efficient building climate control. Control Eng. Pract. 2016 ,53, 124–138. 11. Carrascal, E.; Garrido, I.; Garrido, A.J.; Sala, J.M. Optimization of the Heating System Use in Aged Public Buildings via Model Predictive Control. Energies 2016,9, 251. 12. Ascione, F.; Bianco, N.; De Stasio, C.; Mauro, G.M.; Vanoli, G.P. Simulation-based model predictive control by the multi-objective optimization of building energy performance and thermal comfort. Energy Build. 2016,111, 131–144. 13. Afram, A.; Janabi-Sharifi, F. Effects of dead-band and set-point settings of on/off controllers on the energy consumption and equipment switching frequency of a residential HVAC system. J. Process Control 2016 ,47, 161–174. 14. Michailidis, I.T.; Korkas, C.; Kosmatopoulos, E.B.; Nassie, E. Automated control calibration exploiting exogenous environment energy: An Israeli commercial building case study. Energy Build. 2016 ,128, 473–483. 15. Marvuglia, A.; Messineo, A.; Nicolosi, G. Coupling a neural network temperature predictor and a fuzzy logic controller to perform thermal comfort regulation in an office building. Build. Environ. 2014 ,72, 287–299. 16. Jazizadeh, F.; Ghahramani, A.; Becerik-Gerber, B.; Kichkaylo, T.; Orosz, M. User-led decentralized thermal comfort driven HVAC operations for improved efficiency in office buildings. Energy Build. 2014 ,70, 398–410. 17. American Society of Heating and Air-Conditioning Engineers (ASHRAE). ASHRAE Handbook—Fundamentals; Refrigerating American Society of Heating and Air-Conditioning Engineers: Atlanta, GA, USA, 2009. Energies 2017,10, 321 18 of 18 18. ANSI/ASHRAE 55. Thermal Environmental Conditions for Human Occupancy; American Society of Heating Ventilating and Air-Conditioning Engineers: Atlanta, GA, USA, 2004. 19. Moderate Thermal Environments. Determination of the PMV and PPD Indices and Specification of the Conditions for Thermal Comfort; ISO7730; International Organisation for Standardisation: Geneva, Switzerland, 1994. 20. Fanger, P.O. Assessment of man’s thermal comfort in practice. Br. J. Ind. Med. 1973,30, 313–324. 21. Fanger, P.O. Thermal Comfort Analysis and Applications in Environment Engineering; McGraw Hill: New York, NY, USA, 1972. 22. Orosa, J.A. Research on General Thermal Comfort Models. Eur. J. Sci. Res. 2009,27, 217–227. 23. Liang, J.; Ruxu, D. Thermal comfort control based on neural network for HVAC application. In Proceedings of the 2005 IEEE Conference on Control Applications, Toronto, ON, Canada, 28–31 August 2005; pp. 819–824. 24. Tse, W.L.; Chan, W.L. Real-time measurement of thermal comfort by using an open networking technology. Measurement 2007,40, 654–664. 25. Institute for Energy Diversification and Saving (IDAE). Reglamento de Instalaciones Térmicas en los Edificios; Technical Report; Ministerio de Industria, Turismo y Comercio: Madrid, Spain, 2007. 26. Castilla, M.; Álvarez, J.; Rodríguez, F.; Berenguel, M. Advances series in Industrial Control. In Comfort Control in Buildings; Springer: London, UK, 2014; p. 237. 27. CIESOL. Available online: http://www.ciesol.es (accessed on 17 November 2016). 28. Castilla, M.; Álvarez, J.; Normey-Rico, J.; Rodríguez, F. Thermal comfort control using a non-linear MPC strategy: A real case of study in a bioclimatic building. J. Process Control 2014,24, 703–713. 29. Castilla, M.; Álvarez, J.D.; Berenguel, M.; Rodríguez, F.; Guzmán, J.L.; Pérez, M. A comparison of thermal comfort predictive control strategies. Energy Build. 2011,43, 2737–2746. 30. Rivera, D.; Jun, K. An integrated identification and control design methodology for multivariable process systems applications. IEEE Control Syst. Mag. 2000,20, 25–37. 31. Salsbury, T.I. A new pulse modulation adaptive controller (PCMA) applied to HVAC systems. Control Eng. Pract. 2002,10, 1357–1370. 32. Omie. 2016. Available online: http://www.omie.es/en/inicio (accessed on 17 November 2016). © 2017 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).