The Use of Key Enabling Technologies in the Nearly Zero Energy Buildings Monitoring, Control and Intelligent Management

: The 2018 revision of the European Performance Building Directive (EPBD) requires that from the year 2020 onwards, all new buildings will have to be “nearly zero energy buildings”. It also further promotes smart building technologies, raising awareness amongst building owners and occupants of the value behind building automation. The European Commission also identiﬁed, in 2011, Key Enabling Technologies (KETs), which provide the basis for innovation in the EU. In the frame of the SUDOKET project, the Solar XXI building was used as a pilot case, as innovative integrated solutions and technologies are monitored and controlled. The objective of this paper is to validate a simulation of the laboratorial test room in EnergyPlus with data obtained experimentally and determine the impact of the control systems on energy needs and on thermal comfort. Two systems, in particular, were studied: the Building-Integrated Photovoltaic (BIPV) and the earth tubes. Once validated, the simulation of the test room without the systems was created, allowing their impact to be determined. The results show that, for the analysed periods, BIPVs reduced the heating consumption by 22% while also increasing thermal comfort, and the earth tube system would reduce the cooling needs by 97%. This work provides additional insights into the beneﬁts of the indicated systems and the beneﬁts of a designed automatically controlled system on occupant thermal comfort and test room acclimatisation needs. While this work focused on thermal comfort and energy performance beneﬁts, the indicated systems also control indoor air quality through CO 2 and illuminance monitoring, having a more expansive role and contribution to smart buildings. Key


Introduction
In the European Union, buildings are responsible for approximately 40% of the energy consumption and 36% of the greenhouse gas emissions [1]. In 2010, the Energy Performance of Buildings Directive (EPBD) recast [2] introduced new requirements with the objective of attaining environmental and energy efficiency goals and produce innovative and efficient buildings. Along with the Energy Efficiency Directive (EED), the two directives aimed to significantly improve the buildings in the EU, not only from an energetic point of view but also from an environmental perspective [2]. In both directives, special attention is also paid to public buildings in terms of energy efficiency measures, drivers and barriers [3] and their optimal calculation [4]. In 2018, EPBD was updated in order to convey the improvement of European buildings, in which it demands that all new public buildings be nearly Zero Energy Buildings (nZEB) by 31 December 2018, and all new buildings be nZEB by 31 December 2020 [2]. Furthermore, it aims to promote smart building technologies through a smart readiness indicator (SRI), which estimates the capability of a building to adapt its operation to the occupant's needs while optimising energy efficiency and overall performance [5]. For a building to be considered nZEB, it must reduce its energy consumption regarding its energy consumption and occupant thermal comfort, whose conclusions contribute to the development and promotion of KETs in the building sector.
The scientific relevance of this study, other than the specific objectives of the SUDO-KET project in the field of innovative buildings, is that it adds value to the research of retrofitting the existing buildings with innovative and collaborative solutions that can better assist in the quest for energy savings and emissions reductions. The demonstration of the KEToperation is made using an existing office building named Solar XXI, which was originally developed as a passive building with efficient solution sets and strategies [19]. Solar XXI building, which has a proven record of high performance with respect of zero energy concept [20], was "upgraded" in the context of this study with a set of connectivity technologies allowing for easy integration of multiple building systems and sharing of data and information, as shown later. This paper, therefore, hopes to provide insights on the energy needs and on thermal comfort benefits of adding smart building technologies into building operation, based on a case study in Portugal.
This paper is organised into four sections. The first section presents the framework and the goal of the research. The second section characterises the materials and methods, which include the case study, the control systems, the thermal comfort approach and the simulation and validation. The second section briefly discussed solar availability in the Portuguese context and compared it to other European contexts. The third section describes the findings in terms of thermal comfort and energy performance. Finally, the fourth section draws conclusions from the previous sections.

Case Study
The Solar XXI building, presented in Figure 1, was built in 2006 and belongs to the Portuguese National Laboratory of Energy and Geology's (LNEG) energy laboratory headquarters and a real living laboratory demonstrator of a building nZEB performance [19]. The building is located in Lisbon and has an area of 1500 m 2 , 1200 m 2 of which are heated, distributed by three floors containing offices, laboratories and test rooms. The Solar XXI building integrates several passive solutions that reduce energy needs, both for Winter and Summer, through window shading, natural lighting, the use of passive cooling from earth tubes and passive heating through BIPV [21]. The constructive design of the building consists of the envelope solutions described in Table 1. The constructive design of the building consists of the envelope solutions described in Table 1.

Building Component Description (From Exterior Layer to Interior Layer) U-Value [W/m 2 ]
Roof (gravel) Gravel (5 cm), expanded polystyrene (5 cm), extruded polystyrene (5 cm), shaping layer (13 cm), reinforced concrete slab (20 cm), traditional plaster (2 cm) 0.342 Roof (slab) Paving slabs (10 cm), expanded polystyrene (5 cm), extruded polystyrene (5 cm), shaping layer (18 cm), reinforced concrete slab (20 cm), traditional plaster (2 cm) 0.305 Exterior wall Traditional plaster (3 cm), expanded polystyrene (6 cm), masonry ( Monitoring Laboratory The monitored test room (Office104) was a 5.2 m × 3.4 m × 3.5 m test room purposed to be an office for one person. The test room had a window in the southern wall with an area of 2.5 m 2 shaded by an exterior Venetian blind to manage solar gains in the summer. The north wall connected the test room to the central corridor, and the remaining walls connected with other offices, illustrated by Figure 2. Above the door, there was an adjustable translucent vent that could be opened to control the office indoor air quality and allow heat exchange.  The monitored test room (Office104) was a 5.2 m × 3.4 m × 3.5 m test room purposed to be an office for one person. The test room had a window in the southern wall with an area of 2.5 m 2 shaded by an exterior Venetian blind to manage solar gains in the summer. The north wall connected the test room to the central corridor, and the remaining walls connected with other offices, illustrated by Figure 2. Above the door, there was an adjustable translucent vent that could be opened to control the office indoor air quality and allow heat exchange. The installed sensors allowed monitoring diverse aspects of the monitored room, such as temperature; relative humidity; carbon dioxide (CO2) concentration, with a SED-CO2-G-5045 [22]; and luminosity, with an ARGUS Presence Master with IR [23], which guided the implemented algorithms in the installed systems. An interface was located in the room where the user could assess the indoor air quality and alter the heating setpoint (SE8650U0B11 [24]. The SED-CO2-G-5045 measured temperature with a ±0.3 °C accuracy, humidity with a ±3% accuracy, and CO2 with a ± 60 + 3% ppm accuracy, for a range of 0 to 5000 ppm [22]. The ARGUS Presence Master with IR detected illuminance within a range of 10 to 1000 lux [23]. Additionally, meteorological data were collected on-site through a weather station installed on the roof of Solar XXI [25]. The installed sensors allowed monitoring diverse aspects of the monitored room, such as temperature; relative humidity; carbon dioxide (CO 2 ) concentration, with a SED-CO 2 -G-5045 [22]; and luminosity, with an ARGUS Presence Master with IR [23], which guided the implemented algorithms in the installed systems. An interface was located in the room where the user could assess the indoor air quality and alter the heating setpoint (SE8650U0B11 [24]. The SED-CO 2 -G-5045 measured temperature with a ±0.3 • C accuracy, humidity with a ±3% accuracy, and CO 2 with a ±60 + 3% ppm accuracy, for a range of 0 to 5000 ppm [22]. The ARGUS Presence Master with IR detected illuminance within a range of 10 to 1000 lux [23]. Additionally, meteorological data were collected on-site through a weather station installed on the roof of Solar XXI [25].
The measured data were collected and stored through the EcoStruxure Power Monitoring Expert software platform by Schneider Electric [26], as shown in the example presented in Figure 3. This platform provides advanced energy visualisation and analysis tools, enabling building audit, identify abnormal energy usage and patterns, and validate savings [26].

Control Systems
For a building to attain nZEB status, it is required to have high energy performance by having low energy needs compensated heavily by local energy production from renewable sources. While the concept of SRI is being assessed by the European Commission [27,28], in this section, the integration of the control systems in the monitored test room is described, illustrated in Figure 4 and presented in Figure 5. The measured data were collected and stored through the EcoStruxure Power itoring Expert software platform by Schneider Electric [26], as shown in the exampl sented in Figure 3. This platform provides advanced energy visualisation and an tools, enabling building audit, identify abnormal energy usage and patterns, and va savings [26].

Control Systems
For a building to attain nZEB status, it is required to have high energy perform by having low energy needs compensated heavily by local energy production fro newable sources. While the concept of SRI is being assessed by the European Comm [27,28], in this section, the integration of the control systems in the monitored test ro described, illustrated in Figure 4 and presented in Figure 5.

BIPV
The Building-Integrated Photovoltaic (BIPV) systems were installed in the so çade of the Solar XXI building in 2006. These systems act as an outer shell to the building envelope, which enables the reduction in thermal fluxes to the outdoors [ increase in thermal mass, which is characterised by having each an interior air cav arating the building and the vertical PV cover (four BP3160 (160 W) [31] solar pan have four openings, two in the exterior (above and below the PV cover) and tw interior (on the upper and lower section of the wall) which allow several airflow c rations. During PV operation, electric energy conversion generates heat, leading module temperatures [25,32,33]. The airflow configurations allow (natural or mech ventilation to remove heat from the PV modules, leading to higher PV effi [25,32,[34][35][36] and reducing potential overheating while also potentially heating or ing heat from the indoor air space, as represented in Figure 6 [37]. In Figure 6, four configurations are described. The first configuration (MOD1 left to right, uses the indoor air to cool the PV module and recovers the heated-u the indoor space, providing additional heating and is typically used to heat up the space during occupation. The second configuration (MOD3) uses the outdoor air the PV modules. This configuration is used when the BIPV cannot be used to h

BIPV
The Building-Integrated Photovoltaic (BIPV) systems were installed in the south façade of the Solar XXI building in 2006. These systems act as an outer shell to the current building envelope, which enables the reduction in thermal fluxes to the outdoors [30] and increase in thermal mass, which is characterised by having each an interior air cavity separating the building and the vertical PV cover (four BP3160 (160 W) [31] solar panels) and have four openings, two in the exterior (above and below the PV cover) and two in the interior (on the upper and lower section of the wall) which allow several airflow configurations. During PV operation, electric energy conversion generates heat, leading to high module temperatures [25,32,33]. The airflow configurations allow (natural or mechanical) ventilation to remove heat from the PV modules, leading to higher PV efficiencies [25,32,[34][35][36] and reducing potential overheating while also potentially heating or removing heat from the indoor air space, as represented in Figure 6 [37].

BIPV
The Building-Integrated Photovoltaic (BIPV) systems were installed in the south façade of the Solar XXI building in 2006. These systems act as an outer shell to the current building envelope, which enables the reduction in thermal fluxes to the outdoors [30] and increase in thermal mass, which is characterised by having each an interior air cavity separating the building and the vertical PV cover (four BP3160 (160 W) [31] solar panels) and have four openings, two in the exterior (above and below the PV cover) and two in the interior (on the upper and lower section of the wall) which allow several airflow configurations. During PV operation, electric energy conversion generates heat, leading to high module temperatures [25,32,33]. The airflow configurations allow (natural or mechanical) ventilation to remove heat from the PV modules, leading to higher PV efficiencies [25,32,[34][35][36] and reducing potential overheating while also potentially heating or removing heat from the indoor air space, as represented in Figure 6 [37]. In Figure 6, four configurations are described. The first configuration (MOD1), from left to right, uses the indoor air to cool the PV module and recovers the heated-up air to the indoor space, providing additional heating and is typically used to heat up the indoor space during occupation. The second configuration (MOD3) uses the outdoor air to cool the PV modules. This configuration is used when the BIPV cannot be used to heat the In Figure 6, four configurations are described. The first configuration (MOD1), from left to right, uses the indoor air to cool the PV module and recovers the heated-up air to the indoor space, providing additional heating and is typically used to heat up the indoor space during occupation. The second configuration (MOD3) uses the outdoor air to cool the PV modules. This configuration is used when the BIPV cannot be used to heat the indoor space nor aid in ejecting hot air from the indoor space. The third configuration (MOD4) allows heat to escape the building when cool air is being injected in the indoor space, through earth tubes or an over-door air vent. This configuration is used when the indoor air temperature is above comfortable levels. The last airflow configuration (MOD2) is an alternative to the first configuration, where outdoor air is used to cool the PV modules and is injected indoors. This configuration is used when the outdoor air temperature is higher than the indoor air temperature. For more details regarding the BIPV main features, please refer to [38].
The temperature within the BIPV air cavity is measured by two PT100 thermocouple probes, which operate for a range of −70 to 400 • C [39]. The detailed algorithm of the BIPV controlled operation is presented in Figure 7, and a fragment of the implemented algorithm in Figure 8, described in Tables 2 and 3, respectively. indoor space nor aid in ejecting hot air from the indoor space. The third configuration (MOD4) allows heat to escape the building when cool air is being injected in the indoor space, through earth tubes or an over-door air vent. This configuration is used when the indoor air temperature is above comfortable levels. The last airflow configuration (MOD2) is an alternative to the first configuration, where outdoor air is used to cool the PV modules and is injected indoors. This configuration is used when the outdoor air temperature is higher than the indoor air temperature. For more details regarding the BIPV main features, please refer to [38]. The temperature within the BIPV air cavity is measured by two PT100 thermocouple probes, which operate for a range of −70 to 400 °C [39]. The detailed algorithm of the BIPV controlled operation is presented in Figure 7, and a fragment of the implemented algorithm in Figure 8, described in Tables 2 and 3, respectively.   indoor space nor aid in ejecting hot air from the indoor space. The third configuration (MOD4) allows heat to escape the building when cool air is being injected in the indoor space, through earth tubes or an over-door air vent. This configuration is used when the indoor air temperature is above comfortable levels. The last airflow configuration (MOD2) is an alternative to the first configuration, where outdoor air is used to cool the PV modules and is injected indoors. This configuration is used when the outdoor air temperature is higher than the indoor air temperature. For more details regarding the BIPV main features, please refer to [38]. The temperature within the BIPV air cavity is measured by two PT100 thermocouple probes, which operate for a range of −70 to 400 °C [39]. The detailed algorithm of the BIPV controlled operation is presented in Figure 7, and a fragment of the implemented algorithm in Figure 8, described in Tables 2 and 3, respectively.     The algorithm is continuously assessing the system's thermal status (indoor air temperature, outdoor air temperature, earth tube temperature, air cavity temperature) to determine the ideal BIPV configuration.

Over-Door Air Vent
As described, above the office doors, there is an adjustable translucent vent of 1.15 m 2 which allows airflow between the office and the building through cross ventilation while also making use of the existing natural lighting strategies [21], presented in Figure 9. The vent operation is described in Figure 7, where it has a role of CO 2 management, opening the vent when the office CO 2 levels attain a defined maximum CO 2 concentration of 800 ppm, and also to guide airflow, whether to renew office air when hot air is being extracted, or to receive air from the office when it is being insufflated with outdoor air.

Earth Tubes
Earth tubes use the ground to cool down outdoor air, allowing cool air to enter the offices when needed. The ground acts as a thermal sink, as Lisbon's outdoor air can reach 35 °C, while the ground floor temperature will be between 16 °C and 18 °C [37]. This system is more effective during the afternoon, as the outdoor air cools, but the indoor air remains high due to the building's thermal inertia. In the test room, there are two earth tube openings with a 0.15 m radius, which insufflates the office with captured outdoor air 15 m from the building, and redirects it through tubes that are buried 4.6 m underground, allowing heat exchange from the outdoor air with the soil through the tubes' cement walls [37]. For more details regarding the earth tubes, please refer to [38].
This system can prevent the passage of air, allow air to circulate naturally, or use fans to assist the office cooling. Each fan has a maximum airflow rate of 200 m 3 /h [40]. Each fan can operate for 5 different velocities, allowing 12 operational schemes: off, natural ventilation, and 10 mechanical ventilation schemes, allowing a maximum airflow rate of 400 m 3 /h.
The earth tubes entry in the office is presented in Figure 10. The implemented earth tube algorithm evaluates the indoor air temperature and the possibility of the earth tube to aid heat/cool the office. If the office air temperature is above the defined maximum temperature setpoint, the earth tubes will cool according to the

Earth Tubes
Earth tubes use the ground to cool down outdoor air, allowing cool air to enter the offices when needed. The ground acts as a thermal sink, as Lisbon's outdoor air can reach 35 • C, while the ground floor temperature will be between 16 • C and 18 • C [37]. This system is more effective during the afternoon, as the outdoor air cools, but the indoor air remains high due to the building's thermal inertia. In the test room, there are two earth tube openings with a 0.15 m radius, which insufflates the office with captured outdoor air 15 m from the building, and redirects it through tubes that are buried 4.6 m underground, allowing heat exchange from the outdoor air with the soil through the tubes' cement walls [37]. For more details regarding the earth tubes, please refer to [38].
This system can prevent the passage of air, allow air to circulate naturally, or use fans to assist the office cooling. Each fan has a maximum airflow rate of 200 m 3 /h [40]. Each fan can operate for 5 different velocities, allowing 12 operational schemes: off, natural ventilation, and 10 mechanical ventilation schemes, allowing a maximum airflow rate of 400 m 3 /h.
The earth tubes entry in the office is presented in Figure 10.

Earth Tubes
Earth tubes use the ground to cool down outdoor air, allowing cool air to enter the offices when needed. The ground acts as a thermal sink, as Lisbon's outdoor air can reach 35 °C, while the ground floor temperature will be between 16 °C and 18 °C [37]. This system is more effective during the afternoon, as the outdoor air cools, but the indoor air remains high due to the building's thermal inertia. In the test room, there are two earth tube openings with a 0.15 m radius, which insufflates the office with captured outdoor air 15 m from the building, and redirects it through tubes that are buried 4.6 m underground, allowing heat exchange from the outdoor air with the soil through the tubes' cement walls [37]. For more details regarding the earth tubes, please refer to [38].
This system can prevent the passage of air, allow air to circulate naturally, or use fans to assist the office cooling. Each fan has a maximum airflow rate of 200 m 3 /h [40]. Each fan can operate for 5 different velocities, allowing 12 operational schemes: off, natural ventilation, and 10 mechanical ventilation schemes, allowing a maximum airflow rate of 400 m 3 /h.
The earth tubes entry in the office is presented in Figure 10. The implemented earth tube algorithm evaluates the indoor air temperature and the possibility of the earth tube to aid heat/cool the office. If the office air temperature is above the defined maximum temperature setpoint, the earth tubes will cool according to the above the defined maximum temperature setpoint, the earth tubes will cool according to the difference between the current office air temperature and the maximum temperature setpoint, adjusting the fan speed to the office needs.
Earth tubes are also accounted for in the BIPV algorithm in Figure 7. As it provides cool air to the office, the BIPV configuration adapts to the configuration, which allows hot air to leave the office.

Lighting
Each office was equipped with an ARGUS Presence Master with IR [23], presented in Figure 5, mounted on the ceiling, which monitors the office illuminance, dimming the office lights in according to the office's luminous needs. The algorithm indicates the system to dim the lighting when the office luminosity is above a maximum setpoint of 500 lux and to increase the lighting when the office luminosity is below a minimum setpoint of 300 lux for each defined timestep while also verifying office occupancy.

Blinds
Solar XXI southern façade was equipped with Warema-Cruzfer Venetian blinds for each window, which can be adjusted vertically and whose blades' angle can be altered. The blades have 0.06 m width and are 0.055 m apart, distanced 0.33 m from the window. These blinds reduce the solar gains into the offices and prevent overheating during the summer, reflecting up to 80% of solar radiation [41]. The algorithm is designed, for temperatures below the minimum setpoint temperature, to raise the blinds to allow sunlight entry, in turn decreasing the artificial lighting needed. For temperatures between the minimum setpoint and the maximum setpoint temperature, the blinds control the office's illuminance to ensure sufficient illuminance and only act to reduce sunlight case the measured illuminance is too great. Lastly, for office air temperatures greater than the maximum temperature, the blinds act to block sunlight and minimise solar gains.
Furthermore, it is noteworthy to remark that the setpoints defined are not necessarily defined as comfort limits but can be adjusted to act before reaching comfort limits in order to prevent the comfort limit from being reached.

Thermal Comfort
Thermal comfort is defined as "the mental condition which expresses satisfaction with the thermal environment" [42]. According to Fanger [43], there are six main factors that influence occupant thermal comfort, four related to the thermal environment: air temperature, mean radiant temperature, relative air velocity, vapour pressure in the ambient air; and two related to the occupant: activity level and clothing thermal resistance. From these parameters, the Predicted Mean Vote (PMV) and Predicted Percentage Dissatisfied (PPD) are obtained. The PMV predicts the average response of a population according to the American Society of Heating, Refrigerating and A-C Engineers (ASHRAE) thermal sensation scale, where 0 is defined as "comfortable", negative values as "cold" and positive values as "hot", defined by Equation (1).
where M is the occupant metabolic heat generation (W/m 2 ) and L the occupant's thermal load (W/m 2 ), defined by Equation (2).
where W is the effective mechanical power (W/m 2 ), often considered 0 for conservative results. f cl represents the clothing area factor (dimensionless), T cl is defined as the temperature of the outer surface of the occupant's clothes ( • C), T r is the mean radiant temperature ( • C) and T a represents the ambient air temperature ( • C). The variable h c de-fines the convective heat transfer coefficient (W/m 2 ) and P a defines the ambient air vapour pressure (kPa). ASHRAE 55 [44] defines the occupant comfortable zone for PMV values between −0.5 and 0.5. Similarly, PPD is a function of PMV, establishing the predicted percentage of the population unsatisfied with the thermal environment, defined in Equation (3).
Converting the established comfortable zone defined between PMV values of −0.5 and 0.5 to PPD, the comfortable zone is defined for PPD values under 10%.

Simulation
The tools used in the building simulation were EnergyPlus Version 9.5 and SketchUp Make 2017. EnergyPlus is a building simulation tool used to model building energy consumption which allows an integrated evaluation of the building system [45]. EnergyPlus played an essential role in predicting the behaviour and impact of the implemented control systems, whose implementation was validated with on-site measured data. SketchUp is a 3D modelling program owned by Trimble Inc., which is used by architects, civil and mechanical engineers [46]. The SketchUp illustrated in Figure 11 represents the Solar XXI building. perature (°C) and represents the ambient air temperature (°C). The variable ℎ defines the convective heat transfer coefficient (W/m 2 ) and defines the ambient air vapour pressure (kPa).
ASHRAE 55 [44] defines the occupant comfortable zone for PMV values between −0.5 and 0.5. Similarly, PPD is a function of PMV, establishing the predicted percentage of the population unsatisfied with the thermal environment, defined in Equation (3).
Converting the established comfortable zone defined between PMV values of −0.5 and 0.5 to PPD, the comfortable zone is defined for PPD values under 10%.

Simulation
The tools used in the building simulation were EnergyPlus Version 9.5 and SketchUp Make 2017. EnergyPlus is a building simulation tool used to model building energy consumption which allows an integrated evaluation of the building system [45]. EnergyPlus played an essential role in predicting the behaviour and impact of the implemented control systems, whose implementation was validated with on-site measured data. SketchUp is a 3D modelling program owned by Trimble Inc., which is used by architects, civil and mechanical engineers [46]. The SketchUp illustrated in Figure 11 represents the Solar XXI building.

Input Data
Data and occupant behaviour observation were made in order to simulate the building operation. The studied office, despite unoccupied, was studied as occupied through simulation to assess the impact of the systems on occupant thermal comfort. The occupation schedule considered was similar to the occupancy schedule of the other occupants, Monday to Friday from 9:30 to 18:30, with a 2 h lunch break at 12:30. From ASHRAE [42], occupant metabolic heat generation was obtained (65 W/m 2 , 120 W, office activity, typing) with summer clothing (0.5 clo) and winter clothing (1 clo) and a 24 h 20 W equipment with an additional 100 W resulting from occupant work activities and a lighting consumption of 8 W/m 2 [47]. The Solar XXI building had no active cooling system, and the heating temperature was 20 °C, provided by radiators. The air infiltration value used was 1.32 ACH (Air Changes per Hour) [48].

Input Data
Data and occupant behaviour observation were made in order to simulate the building operation. The studied office, despite unoccupied, was studied as occupied through simulation to assess the impact of the systems on occupant thermal comfort. The occupation schedule considered was similar to the occupancy schedule of the other occupants, Monday to Friday from 9:30 to 18:30, with a 2 h lunch break at 12:30. From ASHRAE [42], occupant metabolic heat generation was obtained (65 W/m 2 , 120 W, office activity, typing) with summer clothing (0.5 clo) and winter clothing (1 clo) and a 24 h 20 W equipment with an additional 100 W resulting from occupant work activities and a lighting consumption of 8 W/m 2 [47]. The Solar XXI building had no active cooling system, and the heating temperature was 20 • C, provided by radiators. The air infiltration value used was 1.32 ACH (Air Changes per Hour) [48].
The control systems were implemented in EnergyPlus through the combination of individual schedules and the Energy Management System (EMS) tool, which allows adapting the schedules based on the result of the systems' algorithm. For example, the BIPV system was designed using the Zone Mixing tool in conjunction with EMS programs, permitting the design of multiple airflow configurations without overlap. The BIPV EMS programs, for each timestep, would set each BIPV Zone Mixing schedules to either 0 (Off) or 1 (On) based on the office indoor air temperature, the minimum and maximum setpoint temperatures, the outdoor air temperature, the building corridor air temperature and the office CO 2 concentration, as defined in Figure 7. For the earth tube system, the earth tube EMS program allowed to control the flow intensity for each timestep, multiplying the maximum airflow rate of 200 m 3 /h of each fan with the fraction obtained from the program, based on the temperature difference between the indoor air and the maximum setpoint temperature.

Validation
To validate the model, the measured temperature of each division of the building (corridors −1,0,1, offices 101-108, 201-208 and test room) was compared with the simulated temperature for homologous weather conditions. Furthermore, to evaluate the implemented BIPV algorithm in EnergyPlus, the temperature of the air cavity (TestroomBIPVInf and TestroomBIPVSup) was compared with the simulated results. To assess the building in similar weather conditions, the EnergyPlus weather file for Lisbon was altered with the atmospheric data measured on-site by the installed weather station on the roof of the Solar XXI building using the process described in [49]. Two statistical indexes were used to validate the model, the Mean Bias Error (MBE) and the Coefficient of the Variation of the Root Mean Square Error (CvRMSE), defined by Equations (4) and (5), adopted by ASHRAE and the Federal Energy Management Program (FEMP) [50,51], who suggest maximum values of 10% and 30%, respectively, for an hourly analysis.
where S i and M i represent the simulated and measured results for hour i, respectively, and n defines the period of analysis, in this case, 24 h. In Figures 12 and 13, the obtained statistical indexes are presented, verifying the model's validity. As for the analysed period, all simulated thermal zones behave within the defined margin of error. Additionally, as the test room is the target of this study, Figure 14 presents the measured and simulated temperatures during the validation period.

Results and Discussion
In this section, the results of the simulated application of the control systems are presented. The building was evaluated through three models, which spawned from the validated model. The automatically controlled model applies the control systems to all applicable offices; the manually controlled model applies the control systems to all applicable offices, but with simulated human control; and the no KET model presents the building in a basic scenario with none of these systems. These models were evaluated, for winter and summer scenarios, on the test room thermal behaviour, on occupant thermal comfort, heating consumption and cooling needs.
For the automatic controlled system model, in order to reduce the building's dependency on active heating and cooling, the system setpoints were designed to prevent relying on active systems. As such, the minimum setpoint temperature was defined as 22 °C during the summer, as additional heating is undesired, and 23 °C otherwise, to maximise the usage of BIPV for indoor air heating. Conversely, the maximum setpoint temperature was defined as 25 °C during the summer to prevent overheating, and 24 °C otherwise.
For the manual controlled system, setpoints and system manual operation were designed under the assumption that occupants act when uncomfortable, in a corrective manner, and not a predictive manner. As such, the BIPV system operates under two regimes, MOD3 throughout summer and, for the non-summer months, MOD1 during the day and MOD3 during the night. The earth tubes were assumed to be manually actioned when the occupant felt hot (Temperature = 27 °C) and set to the maximum fan speed. The blinds were assumed to be fully open unless the maximum temperature is attained, where the occupant would close the blinds.
For the no KET model, the BIPV systems were removed, and the earth tubes turned off; however, the blinds remained under manual control.
For all models, the CO2 algorithm and light algorithm functioned equally.
The detailed operation of each model is described in Table A1.

Results and Discussion
In this section, the results of the simulated application of the control systems are presented. The building was evaluated through three models, which spawned from the validated model. The automatically controlled model applies the control systems to all applicable offices; the manually controlled model applies the control systems to all applicable offices, but with simulated human control; and the no KET model presents the building in a basic scenario with none of these systems. These models were evaluated, for winter and summer scenarios, on the test room thermal behaviour, on occupant thermal comfort, heating consumption and cooling needs.
For the automatic controlled system model, in order to reduce the building's dependency on active heating and cooling, the system setpoints were designed to prevent relying on active systems. As such, the minimum setpoint temperature was defined as 22 • C during the summer, as additional heating is undesired, and 23 • C otherwise, to maximise the usage of BIPV for indoor air heating. Conversely, the maximum setpoint temperature was defined as 25 • C during the summer to prevent overheating, and 24 • C otherwise.
For the manual controlled system, setpoints and system manual operation were designed under the assumption that occupants act when uncomfortable, in a corrective manner, and not a predictive manner. As such, the BIPV system operates under two regimes, MOD3 throughout summer and, for the non-summer months, MOD1 during the day and MOD3 during the night. The earth tubes were assumed to be manually actioned when the occupant felt hot (Temperature = 27 • C) and set to the maximum fan speed. The blinds were assumed to be fully open unless the maximum temperature is attained, where the occupant would close the blinds.
For the no KET model, the BIPV systems were removed, and the earth tubes turned off; however, the blinds remained under manual control.
For all models, the CO 2 algorithm and light algorithm functioned equally.
The detailed operation of each model is described in Table A1.

Thermal Comfort Performance
In a first analysis, the test room was evaluated with respect to its thermal performance. In this regard, two periods were analysed, January, representing winter conditions, and August, representing summer conditions. The test room was assessed in terms of zone air temperature and occupant comfort.

Winter Scenario
To evaluate the performance of the implemented KETs in the winter scenario, the three models were compared for the month of January. In Figure 15, the zone air temperature for the three models is presented for weekdays (light orange shading) and weekends, where two tendencies can be observed: the test room with the KET systems had a lower temperature during nightfall; however, the KET systems provided with additional heating during occupation.

Thermal Comfort Performance
In a first analysis, the test room was evaluated with respect to its thermal performance. In this regard, two periods were analysed, January, representing winter conditions, and August, representing summer conditions. The test room was assessed in terms of zone air temperature and occupant comfort.

Winter Scenario
To evaluate the performance of the implemented KETs in the winter scenario, the three models were compared for the month of January. In Figure 15, the zone air temperature for the three models is presented for weekdays (light orange shading) and weekends, where two tendencies can be observed: the test room with the KET systems had a lower temperature during nightfall; however, the KET systems provided with additional heating during occupation.   Figure 16, where the models with the BIPV system and, consequently, the higher temperature during occupation led to improved occupant thermal comfort.  Figure 16 presents the simulated occupant comfort through PMV values during occupation (light orange shading), presenting results from 10:00 h to 18:00 h. The provided heating from the BIPV systems during occupation is reflected on the occupant thermal comfort, in Figure 16, where the models with the BIPV system and, consequently, the higher temperature during occupation led to improved occupant thermal comfort.

Summer Scenario
To evaluate the performance of the implemented KETs in the summer scenario, the three models were compared for the month of August. In Figure 17, the zone air temper- Figure 16. Test room winter occupant thermal comfort.

Summer Scenario
To evaluate the performance of the implemented KETs in the summer scenario, the three models were compared for the month of August. In Figure 17, the zone air temperature for the three models is presented for weekdays (light orange shading) and weekends, where two tendencies can be observed: The test room with the automatically controlled KET systems had a lower temperature throughout the month, registering 9 h over 27 • C, however, the manually controlled KET system led to poor results, due to the occupant's assumed corrective behaviour, attaining 153 h above 27 • C. Similarly, the test room without the KET systems attained high temperatures in the summer, with over 166 h above 27 • C. Figure 16. Test room winter occupant thermal comfort.

Summer Scenario
To evaluate the performance of the implemented KETs in the summer scenario, the three models were compared for the month of August. In Figure 17, the zone air temperature for the three models is presented for weekdays (light orange shading) and weekends, where two tendencies can be observed: The test room with the automatically controlled KET systems had a lower temperature throughout the month, registering 9 h over 27 °C, however, the manually controlled KET system led to poor results, due to the occupant's assumed corrective behaviour, attaining 153 h above 27 °C. Similarly, the test room without the KET systems attained high temperatures in the summer, with over 166 h above 27 °C. Figure 17. Test room summer thermal performance. Figure 18 presents the simulated occupant comfort through PMV values during occupation (light orange shading). As mentioned for the analysed summer temperatures, the test room with the automatically controlled KET systems resulted in lower temperatures, reflected in the presented low PMV values, exceeding the PMV = 0.5 recommendation during 6 h of the analysed period, whereas the manually controlled model, which

Energy Performance
As a consequence of the thermal behaviour of the test room, it is of interest to analyse the impact of the KET systems on the heating and cooling of the test room. An annual simulation of the three models and the heating consumption resulting from the radiator

Energy Performance
As a consequence of the thermal behaviour of the test room, it is of interest to analyse the impact of the KET systems on the heating and cooling of the test room. An annual simulation of the three models and the heating consumption resulting from the radiator was created, and an ideal loads system to evaluate the cooling needs during the summer was implemented. Figure 19 presents the test room's simulated heating consumption for the three models, where the impact of the KET systems on heating and the impact of automatic control over a manual control can be observed. The yearly estimated heating consumption for the automatically controlled system is of 179 kWh/year, or 10.2 kWh/m 2 /year, registering a reduction of 8.4% when compared to the manually controlled system and a reduction of 22.3% when compared to the model without the KET systems.

Energy Performance
As a consequence of the thermal behaviour of the test room, it is of interest to analyse the impact of the KET systems on the heating and cooling of the test room. An annual simulation of the three models and the heating consumption resulting from the radiator was created, and an ideal loads system to evaluate the cooling needs during the summer was implemented. Figure 19 presents the test room's simulated heating consumption for the three models, where the impact of the KET systems on heating and the impact of automatic control over a manual control can be observed. The yearly estimated heating consumption for the automatically controlled system is of 179 kWh/year, or 10.2 kWh/m 2 /year, registering a reduction of 8.4% when compared to the manually controlled system and a reduction of 22.3% when compared to the model without the KET systems. Figure 19. Test room annual heating consumption. Figure 19. Test room annual heating consumption. Figure 20 presents the test room's performance during the cooling period for the three models, where the impact of the KET systems on cooling prevention (in red and blue lines) and cooling needs (in columns) can be observed. The manually controlled system, due to its higher temperatures and assumed occupant corrective behaviour, led to increased cooling needs, as the earth tubes would only act to aid the cooling and not to prevent cooling, presenting simulated cooling needs of 19.46 kWh/year. Likewise, the model without the KET systems registers increased cooling needs, as it does not have the contribution of the earth tube, registering simulated cooling needs of 23.99 kWh/year. The test room's cooling needs for the automatically controlled KET model is estimated to be 0.75 kWh/year, as the room hardly surpassed the maximum temperature of 27 • C, due to the cooling provided by the earth tubes in advance, showcased by the blue line. In this scenario, the earth tubes provided 71 kWh cooling throughout the year. The contribution of the earth tubes allowed the automatically controlled model to attain cooling needs 97% lower than the other models, presenting a reduction of 1.33 kWh/m 2 /year when compared to the no KET model, highlighting their effectiveness in cooling prevention. test room's cooling needs for the automatically controlled KET model is estimated to be 0.75 kWh/year, as the room hardly surpassed the maximum temperature of 27 °C, due to the cooling provided by the earth tubes in advance, showcased by the blue line. In this scenario, the earth tubes provided 71 kWh cooling throughout the year. The contribution of the earth tubes allowed the automatically controlled model to attain cooling needs 97% lower than the other models, presenting a reduction of 1.33 kWh/m 2 /year when compared to the no KET model, highlighting their effectiveness in cooling prevention.

Conclusions
In this research, the application of Key Enabling Technologies in a monitored test room was evaluated through simulation regarding the improvement of control systems on the test room's thermal and energetic performance. This investigation is part of the SUDOKET project, which is committed to the application of KETs in the design and construction of innovative buildings, increasing efficiency and competitiveness of the building sector while reducing environmental impact.
A model of the Solar XXI building was created and validated through temperature comparison with the sensors placed in each thermal zone. From the validated model, three new models were created. A first model would simulate the building under normal operating conditions with all control systems installed where applicable, a second model, similar to the first, would represent the operation of the same systems, albeit with simulated manual control, and lastly, a third model which would remove the BIPV and the earth tubes systems, and manual blinds control. The comparison of these three models would allow retrieving insights into the impact of the systems and their control on the thermal and energetic performance of the test room.

Conclusions
In this research, the application of Key Enabling Technologies in a monitored test room was evaluated through simulation regarding the improvement of control systems on the test room's thermal and energetic performance. This investigation is part of the SUDOKET project, which is committed to the application of KETs in the design and construction of innovative buildings, increasing efficiency and competitiveness of the building sector while reducing environmental impact.
A model of the Solar XXI building was created and validated through temperature comparison with the sensors placed in each thermal zone. From the validated model, three new models were created. A first model would simulate the building under normal operating conditions with all control systems installed where applicable, a second model, similar to the first, would represent the operation of the same systems, albeit with simulated manual control, and lastly, a third model which would remove the BIPV and the earth tubes systems, and manual blinds control. The comparison of these three models would allow retrieving insights into the impact of the systems and their control on the thermal and energetic performance of the test room.
For winter conditions, it was observed that the manually controlled system would behave similarly to the automatically controlled system and both systems would lead to an increase in temperature of the test room during occupation, reducing discomfort. Through a yearly analysis, the automatically controlled system model would require 22% less heating than the no KET model and 8% less heating than the manually controlled system model.
For summer conditions, as Solar XXI is a building with advanced building envelope solutions and high thermal inertia, it was seen that, for a cooling setpoint of 27 • C, the test room would require low cooling. However, due to the implementation of an earth tube algorithm that would prevent the test room from reaching 27 • C, the automatically controlled system would reduce cooling needs and improve occupant thermal comfort. By analysing the cooling needs throughout the year, it was observed that the automatically controlled systems would lead to a 97% cooling needs reduction when compared to the no KET model. In this analysis, the manually controlled system performed poorly due to the corrective nature of the manual algorithms when compared to the preventive nature of the automatic algorithms.
This work provides additional insights into the benefits of the indicated systems and the benefits of a designed automatically controlled system on occupant thermal comfort and test room acclimatisation needs. While this work focused on thermal comfort and energy performance benefits, the indicated systems also control indoor air quality through CO 2 and illuminance monitoring, having a more expansive role and contribution to smart buildings. Funding: This research was funded by SUDOKET-SOE2/P1/E0677-mapping, consolidation and dissemination of the Key Enabling Technologies (KETs) for the construction sector in the SUDOE space, funded by the INTERREG SUDOE cooperation program and co-financed by European Regional Development Funds (ERDF).

Institutional Review Board Statement: Not applicable.
Informed Consent Statement: Not applicable.

Data Availability Statement:
The data presented in this study are available on request from the corresponding author.
Acknowledgments: This research was funded by SUDOKET-mapping, consolidation and dissemination of the Key Enabling Technologies (KETs) for the construction sector in the SUDOE space, funded by the INTERREG SUDOE cooperation program and co-financed by European Regional Development Funds (ERDF).

Conflicts of Interest:
The authors declare no conflict of interest.