In this work, a Hardware-In-the-Loop (HIL) framework is introduced for the implementation and the assessment of predictive control approaches in smart buildings. The framework combines recent Internet of Things (IoT) and big data platforms together with machine-learning algorithms and MATLAB-based Model Predictive Control (MPC) programs in order to enable HIL simulations. As a case study, the MPC algorithm was deployed for control of a standalone ventilation system (VS). The objective is to maintain the indoor Carbon Dioxide (CO2) concentration at the standard comfort range while enhancing energy efficiency in the building. The proposed framework has been tested and deployed in a real-case scenario of the EEBLab test site. The MPC controller has been implemented on MATLAB/Simulink and deployed in a Raspberry Pi (RPi) hardware. Contextual data are collected using the deployed IoT/big data platform and injected into the MPC and LSTM machine learning models. Occupants’ numbers were first forecasted and then sent to the MPC to predict the optimal ventilation flow rates. The performance of the MPC control over the HIL framework has been assessed and compared to an ON/OFF strategy. Results show the usefulness of the proposed approach and its effectiveness in reducing energy consumption by approximately 16%, while maintaining good indoor air quality.
Ventilation, heating and air conditioning systems are the main energy consumers in building sector. Improving the energy consumption of these systems, while satisfying the occupants’ comfort, is the major concern of control and automation designers and researchers. Model predictive control (MPC) methods have been widely studied in order to reduce the energy usage while enhancing the occupants’ comfort. In this paper, a generalized predictive control (GPC) algorithm based on controlled auto-regressive integrated moving average is investigated for standalone ventilation systems’ control. A building’s ventilation system is first modeled together with the GPC and MPC controllers. Simulations have been conducted for validation purposes and are structured into two main parts. In the first part, we compare the MPC with two traditional controllers, while the second part is dedicated to the comparison of the MPC against the GPC controller. Simulation results show the effectiveness of the GPC in reducing the energy consumption by about 4.34% while providing significant indoor air quality improvement.