Next Article in Journal
A Review of Cognitive Radio Smart Grid Communication Infrastructure Systems
Next Article in Special Issue
Fifth-Generation District Heating and Cooling Substations: Demand Response with Artificial Neural Network-Based Model Predictive Control
Previous Article in Journal
Quantifying the Building Energy Dynamics of Manhattan, New York City, Using an Urban Building Energy Model and Localized Weather Data
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Towards a Real-Time Predictive Management Approach of Indoor Air Quality in Energy-Efficient Buildings

1
College of Engineering and Architecture, International University of Rabat, LERMA Lab, Sala El Jadida 11100, Morocco
2
ENSIAS, Mohamed V University, Rabat 10713, Morocco
*
Author to whom correspondence should be addressed.
Energies 2020, 13(12), 3246; https://doi.org/10.3390/en13123246
Submission received: 2 May 2020 / Revised: 26 May 2020 / Accepted: 2 June 2020 / Published: 23 June 2020

Abstract

:
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.

1. Introduction

Heating, ventilation and air-conditioning (HVAC) systems represent approximately 50% of the global energy consumption in buildings and 36% of all energy-related CO2 emissions worldwide [1,2]. Therefore, building’s systems, especially HVAC, have to be efficiently controlled in order to balance the tradeoff between the occupants’ comfort and energy efficiency in buildings [3,4,5]. Four main metrics need to be considered, however, which are (i) the thermal comfort, (ii) visual comfort, (iii) acoustics comfort and (iv) the indoor air quality. According to a recent standard, integrating those metric parameters into the design of HVAC systems could provide a significant improvement of energy usage of these systems while ensuring comfortable indoor environmental conditions [6]. In brief, comfort metrics are required to assess the energy efficiency in buildings. In particular, indoor air quality which has been recognized as one of the most important factors influencing the indoor environmental quality of the occupants as well as one of the main sources of energy consumption in buildings [4,6], which depends mainly on the ventilation management service. On the other hand, ventilation systems in buildings are necessary to maintain a proper and healthy indoor air quality (IAQ) aiming to control the indoor environmental requirements, such as CO2 level, humidity and air velocity, by providing the required level of fresh air from outside to inside the building. The main aim is to reduce the excess of CO2 concentration with the respect of humidity by using an efficient ventilation rate in order to enhance the energy conservation while creating a more comfortable healthy environment. Therefore, developing advanced control strategies requires taking into consideration these environmental requirements, which are mostly based on international standards. For instance, Ashrae standard 62 is one of the important references that defines the performance requirements for ventilation to provide acceptable IAQ in buildings [3].
Indoor CO2 is considered among the most important parameters for developing intelligent control approaches of ventilation systems in order to minimize the overall energy usage while ensuring good indoor air quality. Basically, conventional building’s ventilation systems have constant or prefixed ventilation rates based on the demand of that building’s space. Typically, the fan acts automatically on the behalf of the occupants even when the demand for ventilation decreases. This could affect the thermal and indoor air quality comfort due to uncontrollable ventilation rate operations, leading to energy wastage. In addition, IAQ is considered among the main parameters for occupants’ well-being and occupants’ comfort in schools, libraries and other building sectors. In fact, inadequate ventilation systems, which do not supply enough fresh air, can cause poor IAQ leading to discomfort, symptoms and health issues. This might also affect the occupants’ productivity [7]. In fact, our recent experimental study has shown a strong correlation between the CO2 concentration and the SPO2, the O2 level inside the occupants’ blood [8]. The study showed also how the increase in CO2 concentration can affect the heart rate and SPO2 of the occupants leading to discomfort.
IAQ depends on many building context-awareness parameters, such as the envelope, operation sittings of the ventilation systems and the occupants’ number [9]. Actually, most proposed methods for controlling IAQ is through the use of standalone ventilation systems by supplying the required outdoor air level using appropriate ventilation rates. These approaches will allow maintaining good indoor air quality while reducing the energy consumption [10,11,12,13]. Most of the deployed approaches are based on a fixed ventilation rate in order to minimize the power consumption while keeping a comfortable indoor air quality [14,15]. However, these approaches could operate efficiently in a static environment with priory known occupancy schedules. Recently, sophisticated control approaches have been proposed for environments with dynamic occupancy changes [16,17,18]. Namely, the well known proportional, integral and derivative (PID) control, which seems sufficient to cover the dynamic control requirements of these dynamic systems, however, the energy consumption remains an important issue [19]. Therefore, most recent studies focused on the parameter design of PID controllers in order to improve their performances, mainly in terms of precision, robustness and stability [20,21]. In fact, inappropriate setting of P, I and D could affect the precision as well as the internal stability and robustness of the system [22]. Moreover, the PID controller is unsuitable for managing systems with multiple inputs/outputs with time-varying disturbances, such as in HVAC systems.
Advanced algorithms were recently developed in recent years for HVAC control systems, such as the fuzzy logic control, genetic algorithm and model predictive control (MPC) [23,24]. Among these control algorithms, predictive control strategies have been introduced as one of the most advanced control techniques used in building system control in order to regulate very complex related processes, such as in HVAC systems [25,26]—especially for energy and cost savings [27,28], robustness to disturbances and changes in operating conditions [29,30], indoor air quality and thermal comfort improvement [31,32]. In fact, model-based predictive control has an optimization mechanism that allows integrating the process’s constraints and disturbances in its control action. The aim is to predict the dynamic behavior of the system, within a prediction horizon. Moreover, the MPC mechanism could handle uncertainties and nonlinear processes and their dynamics [33].
In our previous work, we have investigated the PID and ON/OFF controllers and validated their performance [15,18]. We then proposed a CO2-based strategy using a state feedback for controlling ventilation systems, and the results showed that the proposed state-feedback technique outperformed the Proportional Integral (PI) and ON/OFF controllers in terms of energy consumption while maintaining good indoor air quality. The three controllers have been deployed in our University testbed (EEBLab, for Energy Efficient Buildings Laboratory), which is located in Rabat, Morocco. The experiments were conducted in real sitting scenarios and the results showed that the CO2-based state feedback (SF) control was able to maintain the CO2 concentration in the comfortable zone, while minimizing energy consumption. It is worth noting that the EEBLab consists mainly of: (i) RES-Renewable Energy Sources (e.g., wind and solar), (ii) battery devices to store the excessive power, and (iii) active/passive systems (e.g., air conditioner, ventilation systems, geothermal, pad cooling system).
The work presented in this paper was conducted under two ongoing R&D projects [34]. The aim was to develop predictive approaches and techniques for active/passive system (e.g., ventilation, HVAC, pad cooling, geothermal) control, including the integration of renewable energy and storage systems [35,36,37]. A platform that combined IoT and Big data processing technologies for real-time control of the building’s systems was also deployed in our EEBLab for real testing [38]. In fact, in order to enable predictive control, a holistic platform, which integrates recent IoT sensing/actuating and Big data technologies, was developed for data monitoring and processing together with real-time machine-learning techniques. Mainly, the data streams we were collecting from a variety of sensors, such as CO2, temperature, humidity and motion sensors, will be used for predicting occupancy. Occupancy information will be then used to develop context-driven services and predictive control, such as controlling window opening and shading, smart HVAC, ventilation, and lighting services. Mainly, the aim was to carry out the MAPCAST closed loop (measure, analyze and predict the inputs control parameters for forecasting required actions), which enables the predictive control of active and passive systems including the control of our micro-grid systems [36,38].
The aim of the work presented in this paper was towards developing and designing advanced controllers of standalone ventilation systems by carrying out the MAPCAST principles. In fact, a real-time predictive management approach was then developed, which aimed to autonomously measure, analyze actual data, predict future values and forecast ventilation actions. The first part of this work was dedicated to ventilation’s system modeling including the design of both generalized predictive control (GPC) and MPC controllers. Simulation results are then presented to compare first the MPC against the PI and SF control we have developed and compared in our previous work [39]. Mainly, in this work, a performance comparison between two predictive controllers, MPC and GPC, were performed and analyzed for a building’s ventilation system. The PI and SF controllers were only used as baseline references to validate and assess the performance of MPC and GPC. The obtained results were analyzed and compared based on three main metrics, the regulation of indoor CO2 concentration, the ventilation rate, and the power consumption, both aggregated and disaggregated.
The outline of this article is organized as follows. Section 2 presents the proposed methodology followed throughout the article, which mainly describes the ventilation’s control model using the MPC and GPC. Simulation parameters and evaluation metrics together with the obtained results are reported in Section 3. Section 4 provides the conclusions and perspectives.

2. System Model and Methods

This section introduces the model of the ventilation system for the air indoor regulation. The design and the models of the MPC and GPC controllers are then presented and discussed.

2.1. Ventilation System Modeling

The ventilation system was constituted of two standalone controlled fans, which were respectively responsible for supplying the fresh outdoor air into the inside of the building and draining the CO2 out of the building. In other words, these two fans were operating instantaneously under the same control actions in order to keep a good indoor air quality inside the building. The model describing this system was inspired from the CO2 mass balance method, which combines the indoor/outdoor CO2 concentration, the controlled air flow rate and the occupancy behavior [40]. This model was given by the following equation, where Q is the ventilation rate operation in (m3/s), N is the number of occupants and t is the time in (s), V represents the space’s volume (m3), q means the rate of the generated CO2 concentration per person (L/s), while C e x t (resp. C i ) represents the external CO2 concentration (resp. internal), measured in ppm. The recommended internal CO2 concentration must be lower than 1000 ppm [41]:
V d C i ( t ) d t = Q ( t ) ( C i ( t ) C e x t ( t ) ) + q N ( t )
This equation has a nonlinear behavior due to the inter-relationship between the CO2 concentration and the ventilations rates. It could be linearized as follows, where Q 0 is a constant initial rate as well as the minimum ventilation rate, Δ Q ( t ) is the change necessary to achieve the desired indoor CO2 level, C 0 represents the initial indoor concentration of C i ( t ) , and Δ C i ( t ) is the concentration increment by applying Δ Q ( t ) :
Q ( t ) = Q 0 + Δ Q ( t ) C i ( t ) = C 0 + Δ C i ( t )
Equation (1) can therefore be described by Equation (2):
x ( t ) = Q 0 V Δ C i ( t ) + ( C 0 C e x t ) V Δ Q ( t ) + q N ( t ) V
Let us consider:
A c = Q 0 V ;   B c = ( C 0 C e x t ) V ;   x = Δ C i ( t ) ;   u ( t ) = Δ Q ( t ) ;
where q N ( t ) = F ( t ) is supposed as human disturbance, which must be integrated as an input parameter to the proposed system. Finally, the state-space model is the following:
x ( t ) = A c x ( t ) + B c u ( t ) + F ( t ) V

2.2. Predictive Controllers Design

In this sub-section, we introduce the MPC and GPC models. The aim is to show how these controllers could maintain the system model based on input/output ventilation rates and carbon dioxide concentrations in the building (Equation (3)).

2.2.1. MPC Controller Design

In order to design the MPC, a discrete model form of our system (Equation (3)) is required. In fact, the obtained Euler approximation has the following discrete state space equation:
{ x ( k + 1 ) = A x ( k ) + B u ( k ) y ( k + 1 ) = C x ( k + 1 )
The representation of n-step-ahead of Equation (4) is given by the following matrix-based forms (i.e., the system’s state, output, and input control increment):
( x ( k + 1 ) x ( k + n ) ) x ¯ = ( A A n ) A ¯ x ( k ) + ( B 0 0 A B B 0 A n 1 B A B B ) B ¯ ( u ( k ) u ( k + n + 1 ) ) u ¯
( y ( k + 1 ) y ( k + n ) ) y ¯ = ( C A C A n ) C ¯ x ( k ) + ( C B 0 0 C A B C B 0 C A n 1 B C A B C B ) D ¯ ( u ( k + 1 ) u ( k + n + 1 ) ) u ¯
( u ( k ) u ( k + n ) ) u ¯ = ( 1 1 n ) I 1 u ( k 1 ) + ( 1 0 0 1 0 1 1 ) I 2 ( Δ u ( k ) Δ u ( k + 1 ) u ( k + n + 1 ) ) Δ u ¯ ( k )
Replacing Equation (7) in (5), we obtain the predictive model: x ¯ = A ¯ x ( k ) + B ¯ I 1 u ( k 1 ) + B ¯ I 2 Δ u ¯ ( k ) .
Replacing Equation (7) in (6), we get the predictive observation model: y ¯ = C ¯ x ( k ) + D ¯ I 1 u ( k 1 ) + D ¯ I 2 Δ u ¯ ( k ) .
The control objective is to find the future incremental action Δ u ¯ ( k ) , which is able to reach the desired predicted reference trajectory presented by the following equation:
y r e f = [ y r e f ( k + 1 ) , y r e f ( k + 2 ) , , y r e f ( k + n ) ]
In fact, the error between the set point references and the predicted system’s outputs is: E = y y r e f . Thus, the predicted control action Δ u ¯ that minimizes this error is computed by minimizing the following criterion:
J = 1 2 ( E Q E T + Δ u ¯ R Δ u ¯ T )

2.2.2. GPC Controller Design

The basic theory of the GPC method, as described in [42], is to compute a sequence of future control actions in order to minimize a multistage cost function defined over a prediction horizon. The criterion index to be optimized is the expectation of a quadratic function, measuring the distance between the predicted system’s outputs and some predicted reference sequence over a prediction horizon and a quadratic function measuring the control effort. Due to its correctness and effectiveness, the GPC has become the most popular MPC method used in various applications both in academia and industrial processes [43,44].
The most transferred function model used by the GPC algorithm is called CARIMA (controlled auto-regressive integrated moving average) model. This form of plant model is that the uncertainty is added into a good representation, so that the slow variation of disturbances could have a non-zero steady-state. Moreover, this model is compact and easy to handle:
A ( z 1 ) y ( k ) = B ( z 1 ) u ( k ) + T ( z 1 ) Δ d ( k )
where u and y are the control inputs and the system output sequences of the plant, respectively, A , B and T are the polynomial Z-function, Δ is the variation operator Δ u k = u ( k ) u ( k 1 ) , and d ( k ) represents the disturbance (white noise). Therefore, the main objective is to convert our state-space model into CARIMA form as follows:
{ x ( k + 1 ) = A x ( k ) + B u ( k ) + d ( k ) y ( k + 1 ) = C x ( k + 1 )
By applying the Z-transform representations, we obtain:
{ x ( z 1 ) = A z 1 x ( z 1 ) + B z 1 u ( z 1 ) + z 1 d ( z 1 ) y ( z 1 ) = C x ( z 1 ) = > { x ( z 1 ) = B z 1 1 A z 1 u ( z 1 ) + z 1 1 A z 1 d ( z 1 ) y ( z 1 ) = C x ( z 1 ) ,
Therefore:
y ( z 1 ) = C B z 1 1 A z 1 u ( z 1 ) + C z 1 1 A z 1 d ( z 1 ) ,
Hence:
1 A z 1 y ( z 1 ) = C B z 1 u ( z 1 ) + C z 1 ( 1 z 1 ) 1 z 1 d ( z 1 ) ,
where:
{ A ( z 1 ) = 1 A z 1 B ( z 1 ) = C B z 1 T ( z 1 ) = C z 1 ( 1 z 1 ) Δ = 1 z 1 .
Thus, the CARIMA form can be described as follows:
A ( z 1 ) y ( z 1 ) = B ( z 1 ) u ( z 1 ) + T ( z 1 ) Δ d ( z 1 ) .
We then synthetize from the CARIMA model a one-step-ahead prediction equation, which represents a set of simultaneous prediction equations:
A ( z 1 ) Δ y ( z 1 ) = B ( z 1 ) Δ u ( z 1 ) + T ( z 1 ) d ( z 1 ) , A ( z 1 ) = ( 1 A ( z 1 ) ) ( 1 z 1 ) = 1 + A 1 ( z 1 ) + A 2 ( z 1 ) ,
Therefore, our model design is:
A ( z 1 ) y ( z 1 ) = b ( z 1 ) Δ u ( z 1 ) .
The simultaneous prediction equations after n-steps-ahead can be considered as follows:
{ k + 1 : y ( k + 1 ) + A 1 y ( k ) + A 2 y ( k 1 ) = C B Δ u ( k ) k + 2 : y ( k + 2 ) + A 1 y ( k + 1 ) + A 2 y ( k ) = C B Δ u ( k + 1 ) k + 3 : y ( k + 3 ) + A 1 y ( k + 2 ) + A 2 y ( k + 1 ) = C B Δ u ( k + 2 ) k + n : y ( k + n ) + A 1 y ( k + n 1 ) + A 2 y ( k + n 2 ) = C B Δ u ( k + n 1 )
The idea is to arrange the above equations into a prediction matrix form, which is simple and easy to handle as follows:
C A [ y ( k + 1 ) y ( k + 2 ) y ( k + 3 ) y ( k + n ) ] y ( k ) F + H A [ y ( k ) y ( k + 1 ) y ( k + 2 ) y ( k + n 1 ) ] y ( k ) P = C B [ Δ u ( k ) Δ u ( k + 1 ) Δ u ( k + 2 ) Δ u ( k + n 1 ) ] Δ u ( k ) F + H B [ Δ u ( k 1 ) Δ u ( k 2 ) Δ u ( k 3 ) Δ u ( k n ) ] Δ u ( k ) P
where y ( k ) F , y ( k ) P , Δ u ( k ) F and Δ u ( k ) P are the unknown prediction output, known past output, future input (decision variable) to be calculated, and the known past input, respectively. C A , H A , C B H B are the key matrices of our predictive control:
C A = ( 1 0 0 A 1 1 A 2 A 1 0 0 0 A 2 A 1 0 1 ) , H A = ( A 1 A 2 0 0 A 2 0 0 0 0 0 0 0 0 ) , C B = ( C B 0 0 0 C B 0 0 0 C B ) , H B = ( 0 0 0 0 ) .
As follows, the output predictions using the shorthand notation for more compact representation:
C A y ( k ) F + H A y ( k ) P = C B Δ u ( k ) F + H B Δ u ( k ) P , y ( k ) F = C A 1 C B H Δ u ( k ) F + C A 1 H B P Δ u ( k ) P C A 1 H A Q y ( k ) P
Let us now define the criterion to be optimized, which mainly relies in our case on error change, between the predicted system output y ( k ) F and the predicted reference sequence r ( k ) F = [ r k + 1 , r k + 2 , r k + 3 , r k + n ] over the horizon, hence the error is e ( k ) F = r ( k ) F y ( k ) F , and consequently the optimal cost criterion is the following:
J = ( e ( k ) F ) T . e ( k ) F + λ ( Δ u ( k ) F ) T Δ u ( k ) F
where λ is the control weighting factor that reduces the magnitude of the control increments in the cost function. This criterion is optimized through the calculation of the gradient Δ u ( k ) F as follows:
By replacing the error change e ( k ) F = r ( k ) F y ( k ) F into (12), we obtain:
J = [ r ( k ) F H Δ u ( k ) F P Δ u ( k ) P Q Δ y ( k ) P ] T × [ r ( k ) F H Δ u ( k ) F P Δ u ( k ) P Q Δ y ( k ) P ] + λ ( Δ u ( k ) F ) T Δ u ( k ) F J = [ ( H Δ u ( k ) F ) T ( H Δ u ( k ) F ) ( 2 ( H Δ u ( k ) F ) T ( r ( k ) F P Δ u ( k ) P Q Δ y ( k ) P ) ) ] + λ ( Δ u ( k ) F ) T Δ u ( k ) F
Then, we applied the mathematical rules:
{ X ( a T X ) = a X ( X T S X ) = ( S + S T ) X ;   X ( X T a ) = a
We get:
Δ u ( k ) F J = Δ u ( k ) F [ ( Δ u ( k ) F ) T X ( H T H + λ I ) S Δ u ( k ) F X 2 ( H Δ u ( k ) F ) T H T ( r ( k ) F P Δ u ( k ) P Q Δ y ( k ) P ) a ] Δ u ( k ) F J = ( S + S T ) Δ u ( k ) F 2 H T ( r ( k ) F P Δ u ( k ) P Q Δ y ( k ) P ) = 0
Δ u ( k ) F = S 1 H T ( r ( k ) F P Δ u ( k ) P Q y ( k ) P ) .
In order to implement this control for real-time simulations, we note that the relation must be adapted for the feedback design as follows:
Δ u ( k ) F = M r ( k ) F N Δ u ( k ) P L y ( k ) P Δ u ( k ) F + N Δ u ( k ) P = M r ( k ) F L y ( k ) P
{ M r ( k ) F = M 1 z r ( k ) + M 2 z 2 r ( k ) + M 3 z 3 r ( k ) + M n z n r ( k ) + = M ( z ) r ( k ) L y ( k ) P = L 0 y ( k ) + L 1 z 1 y ( k ) + L 2 z 2 y ( k ) + + L n 1 z n 1 y ( k ) = L ( z 1 ) y ( k ) Δ u ( k ) F + N Δ u ( k ) P = D ( z 1 ) Δ u ( k )
Hence, the schema bloc of the controlled system by the GPC-based CARIMA model is described in Figure 1:

3. Results and Discussion

This section introduces the implementation and performance evaluation of the MPC and GPC for the ventilation system’s control. Matlab/Simulink was used as a platform for computing and implementing the MPC and GPC models. The controllers’ parameters were obtained by computing different testing, taking into consideration the settling time, rise time and the overshoot of the CO2 concentration, which were chosen by the suitable tuning as illustrated in Table 1. Concerning the PI and SF controllers, the tuning process together with their performance evaluation were detailed in our previous work [39]. The gain values we used are Kp = −0.3 and Ti = 7.5, for proportional gain and integral time, respectively. In addition, numerical simulations were conducted under the same conditions as presented in Table 2, which describes the parameters and the building’s ventilation system, respectively. We used the features and characteristics of the ventilation system already deployed in our test site (EEBLab). Mainly, the ventilators were operating at a maximum air flow rate of about 0.6 m3/s and were supplied by a solar photovoltaic system (24 V, DC). The simulations were performed during a time period of about 15,000 s using same parameters and conditions.
In order to assess the performance of the CO2-based GPC control strategy with the MPC, PI and SF control approaches, four main metrics were evaluated: (a) the indoor CO2 regulation, (b) the ventilation rate operation of the controlled system in (m3/s), (c) the instantaneous electricity power, and (d) the total electricity power consumed by the system in (kW/h), which was calculated using the following equation presented in [45]:
P C e l e c = Q i × Δ p × ( t 3600 ) × ( μ 1000 )
where P C e l e c is the power consumption in (kW/h), Q i is the ventilation rate in (m3/s), Δ p is the total pressure rise from the fan inlet to the outlet in (Pa), t is the time in (s) and μ is the overall efficiency of the fan.
An indoor CO2 concentration scenario generated by the occupants was used as the human disturbance as well as a forecast input for the MPC and GPC. As illustrated in Figure 2, the generated CO2 concentration (ppm) was estimated according to the occupants’ number using the transfer function presented in [46]. The occupied building for our case study was considered a university lecture room with a maximum occupation of 100 students. The estimated occupancy count of the lecture room was drawn from our real-life knowledge of the building usage during the time period 15,000 s, which was composed of three periods: a 1 h 40 min lecture, 1 h 10 min break, and then another 1 h 40 min lecture.
The rest of this sub-section presents the obtained results using the aforementioned simulation settings. First, the MPC controller is evaluated and compared against the PI and SF, while the second focuses on the comparison between the two predictive controllers, the MPC and GPC.

3.1. MPC vs. PI and SF

Figure 3 depicts the comparison between the MPC against the PI and SF controllers. Figure 3a shows the regulation of the CO2 concentration together with the occupancy number, the accumulated CO2 concentration generated by the occupants and the CO2 concentration reference (750 ppm). As shown in this figure, the regulation of the indoor CO2 concentration based on the MPC method strategy allowed the higher performance compared to the PI and SF control techniques. In fact, the MPC controller performed well, as expected, as it was able to reach and follow the CO2 reference and to maintain the comfort level despite the disturbance introduced by the occupants. On the other hand, the PI and SF showed an acceptable overshoot since the constraint range on the indoor CO2 concentration were fixed to ± 10 ppm around the CO2 reference. The MPC controller outperformed the PI and SF in terms of settling and rising time, which allowed achieving the desired indoor CO2 level limit while satisfying the indoor comfort.
The performance of the MPC can be explained by its predictive mechanism, which includes the comfort cost and energy usage as optimization functions, for predicting the effective ventilation flow rate. It achieved 0.13 m3/s (468 m3/h), as depicted in Figure 3b. Compared to 0.135 m3/s and 486 m3/h obtained for both the PI and SF, respectively, the MPC flow rate was slightly optimized by 3.71%, and this was due to the future prediction of indoor CO2 values. Regarding the power consumption of the three controllers, we computed both the instantaneous and accumulated power. Figure 3c shows the instantaneous power consumption required by the first standalone fan for supplying the fresh outdoor air into the controlled space. The results show that the three controllers required almost the same power, but the MPC showed a slight energy reduction.
The total power consumption for the first fan was estimated to be 598.37 Wh, 611.40 Wh, and 612.76 Wh for the MPC, SF and PI, respectively, as illustrated in Figure 3d. The total power consumption demanded by the three controllers including the second fan, which exhausted the indoor air pollutant concentrations to the outside of the building, is reported in Table 3. As expected, the energy gain for the MPC strategy, when compared to both the state feedback and PI controllers, was slightly smaller.

3.2. GPC vs. MPC Performance

This section focuses on the performance evaluation of the GPC against the MPC controller. As illustrated in Figure 4a, the GPC showed a great improvement compared to MPC with faster settling/rise times to achieve and to maintain the CO2 at the fixed setpoint. The results also showed that the designed GPC controller based on the CARIMA model provided better stability and robustness than the MPC. In fact, it was able to rapidly reach the established CO2 reference and then continue maintaining it in spite of the occupants’ presence variation. This was due, in our case, to the rate weighting of the control action Δ u in the optimized criterion J. Its role was to minimize the deviation between the system’s output (measured CO2 concentration) and the CO2 reference trajectory. Figure 4b shows the estimated ventilation rate for both the predictive controllers according to the indoor CO2 concentration, which was generated by the occupants. As expected, the ventilation based on the GPC was able to operate firstly in order to provide the required flow rate as well as to meet the desired reference (fixed to 750 ppm), by anticipating the future CO2 concentration. Unlike the MPC, the ventilation flow rates provided by the GPC achieved 0.2 m3/s (720 m3/h) and decreased to reach 0 m3/s according to the occupants’ presence. This explained the ventilation cessation behavior, which allowed a significant energy reduction during this period as illustrated in Figure 4c. In fact, the fast change in the ventilation rate behavior nicely allowed keeping the CO2 comfort constraint at the required level with little increases in energy consumption, compared to the MPC. However, the GPC-based CARIMA anticipates well the severity of occupancy changes and acts accordingly. As shown in Figure 4c, during unoccupied periods, the ventilators are almost at rest because of the GPC anticipation behavior.
The instantaneous power consumption results for the first fan showed that the GPC allows a slight energy saving compared to the MPC, as shown in Figure 4c. Figure 4d shows that the GPC consumes about 572.39 Wh and 598.37 Wh for MPC. The total consumption (i.e., two fans) for both controllers is reported in Table 4. As expected, the energy gain for the GPC, when compared to the MPC, is slightly better.

4. Conclusions and Perspectives

In this work, a performance comparison between the two predictive controllers were performed and analyzed for building ventilation systems. The PI and state feedback controllers were used as baseline references to investigate the effectiveness of predictive control approaches. Both MPC and GPC control algorithms were designed and successfully implemented. The main objective was to evaluate the effectiveness of each predictive approach in terms of the indoor air quality and energy efficiency. Mainly four metrics were evaluated: the regulation of the indoor CO2 concentration, the ventilation rate, the instantaneous power consumption and the total power consumption. We conclude from the simulation results that using the GPC algorithm based on the CARIMA input/output model allowed the better performance than the MPC for improving both indoor air quality and energy conservation. In fact, compared to the MPC, the GPC provided a better stability and robustness against external disturbance introduced by the occupants. This was due to the fast mathematical derivation of its prediction parameters between the system’s input/output, using the CARIMA model, and to the simplicity of integrating disturbances and constraints in the controller’s structure. In terms of energy consumption, the simulation results also showed that controlling the proposed system with the GPC enabled a better reduction in the energy consumption compared to the MPC, with an overall energy gain equal to 4.34%. This deviation on cumulative energy consumption was mainly related to the occupancy behavior we used together with the other parameters, especially, the prediction horizon and the set-point. This will be further investigated when deployed and experimented in real-sitting scenarios. In fact, the studied controllers will be deployed in our ventilation system, already integrated in our EEBLab. Real-time machine-learning algorithms, that we developed for occupancy forecasting, will be used to forecast CO2, which is required for the MPC and GPC in order to forecast the ventilation rates. The GPC and MPC will be also evaluated for different time horizons together with their performance for both accuracy and time processing, especially when deployed in our IoT platform’s edge nodes (e.g., Raspberry PI, NVidia Nano).
Future research will focus on enhancing the controllers’ order by adding the thermal comfort equation for further applications in heating, ventilation and air-conditioning system control. Both predictive control strategies will be assessed using different criteria in order to balance between the occupants’ comfort (i.e., thermal and indoor air quality) and energy consumption.

Author Contributions

Conceptualization, A.B. and R.O.; methodology, R.O. and M.B.; software, A.B. and R.O.; validation, A.B., R.O. and M.B.; formal analysis, R.O.; investigation, A.B., R.O. and M.B.; resources, A.B., R.O. and M.B.; data curation, A.B. and R.O.; writing—original draft preparation, A.B.; writing—review and editing, M.E. and M.B.; visualization, A.B., R.O. and M.B.; supervision, R.O., M.E. and M.B.; project administration, M.B., M.E. and R.O. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by «Ministere de l’Enseignement Superieur, de la Recherche Scientifique et de la Formation des Cadres (MESRSFC)» and «Centre National pour la Recherche Scientifique et Technique (CNRST)», and partially supported by MIGRID project (grant 5-398, 2017–2019), which is funded by USAID under the PEER program.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Nejat, P.; Jomehzadeh, F.; Taheri, M.M.; Gohari, M.; Majid, M.Z.A. A global review of energy consumption, CO2 emissions and policy in the residential sector (with an overview of the top ten CO2 emitting countries). Renew. Sustain. Energy Rev. 2015, 43, 843–862. [Google Scholar] [CrossRef]
  2. Del Mar-Castilla, M.; Álvarez, J.D.; Normey-Rico, J.E.; Rodríguez, F.; Berenguel, M. A multivariable nonlinear MPC control strategy for thermal comfort and indoor-air quality. In Proceedings of the IECON 39th Annual Conference of the IEEE Industrial Electronics Society, Vienna, Austria, 10–13 November 2013; pp. 7908–7913. [Google Scholar]
  3. ASHRAE. Ventilation for Preservation of Occupants’ Health, Safety and Wellbeing-Specify Indoor Air Quality, Minimum Ventilation Rate Acceptable for Human Occupants and will not Impair Health; 62-1990; ASHRAE: Atlanta, GA, USA, 1990. [Google Scholar]
  4. European Committee for Standardization. Ventilation for Non-Residential Buildings. Performance Requirements for Ventilation and Room-Conditioning Systems; prEN-13779; CEN: Geneva, Switzerland, 2003. [Google Scholar]
  5. Atthajariyakul, S.; Leephakpreeda, T. Real-time determination of optimal indoor-air condition for thermal comfort, air quality and efficient energy usage. Energy Build. 2004, 36, 720–733. [Google Scholar] [CrossRef]
  6. European Committee for Standardization. EN 15251-Indoor Environmental Input Parameters for Design and Assessment of Energy Performance of Buildings Addressing Indoor Air Quality, Thermal Environment, Lighting and Acoustics; European Committee for Standardization: Geneva, Switzerland, 2007. [Google Scholar]
  7. Redlich, C.A.; Sparer, J.; Cullen, M.R. Sick-building syndrome. Lancet 1997, 349, 1013–1016. [Google Scholar] [CrossRef]
  8. Kharbouch, A.; Naitmalek, Y.; Elkhoukhi, H.; Bakhouya, M.; De Florio, V.; El Ouadghiri, M.D.; Latre, S.; Blondia, C. IoT and big data technologies for monitoring and processing real-time healthcare data. IJDST 2019, 10, 17–30. [Google Scholar] [CrossRef]
  9. Kukadia, V.; Palmer, J. The effect of external atmospheric pollution on indoor air quality: A pilot study. Energy Build. 1998, 27, 223–230. [Google Scholar] [CrossRef]
  10. Coley, D.A.; Beisteiner, A. Carbon dioxide levels and ventilation rates in schools. Int. J. Vent. 2002, 1, 45–52. [Google Scholar] [CrossRef]
  11. Seppänen, O.A.; Fisk, W.J.; Mendell, M.J. Association of ventilation rates and CO2 concentrations with health andother responses in commercial and institutional buildings. Indoor Air 1999, 9, 226–252. [Google Scholar] [CrossRef]
  12. El Mankibi, M. Indoor air quality control in case of scheduled or intermittent occupancy based building: Development of a scale model. Build. Environ. 2009, 44, 1356–1361. [Google Scholar] [CrossRef]
  13. Chao, C.Y.; Hu, J.S. Development of an enthalpy and carbon dioxide based demand control ventilation for indoor air quality and energy saving with neural network control. Indoor Built Environ. 2004, 13, 463–475. [Google Scholar] [CrossRef]
  14. Wang, S.; Sun, Z.; Sun, Y.; Zhu, N. Online optimal ventilation control of building air-conditioning systems. Indoor Built Environ. 2011, 20, 129–136. [Google Scholar] [CrossRef]
  15. Lachhab, F.; Bakhouya, M.; Ouladsine, R.; Essaaidi, M. Context-driven monitoring and control of buildings ventilation systems using big data and internet of things-based technologies. Proc. Inst. Mech. Eng. Part I J. Syst. Control Eng. 2019, 233, 276–288. [Google Scholar] [CrossRef]
  16. Thosar, A.; Patra, A.; Bhattacharyya, S. Feedback linearization based control of a variable air volume air conditioning system for cooling applications. ISA Trans. 2008, 47, 339–349. [Google Scholar] [CrossRef] [PubMed]
  17. Arguello-Serrano, B.; Velez-Reyes, M. Nonlinear control of a heating, ventilating, and air conditioning system with thermal load estimation. IEEE Trans. Control Syst. Technol. 1999, 7, 56–63. [Google Scholar] [CrossRef]
  18. Lachhab, F.; Ouladsine, R.; Bakhouya, M.; Essaidi, M. An energy-efficient approach for controlling heating and air-conditioning systems. In Proceedings of the 2017 International Renewable and Sustainable Energy Conference (IRSEC), Tangier, Morocco, 4–7 December 2017; pp. 1–7. [Google Scholar]
  19. Guo, W.; Zhou, M. Technologies toward thermal comfort-based and energy-efficient hvac systems: A review. In Proceedings of the 2009 IEEE International Conference on Systems, Man and Cybernetics, San Antonio, TX, USA, 11–14 October 2009; pp. 3883–3888. [Google Scholar]
  20. Zhang, J.; Zhang, K. A particle swarm optimization approach for optimal design of PID controller for temperature control in HVAC. ICMTMA 2011, 1, 230–233. [Google Scholar]
  21. Lim, D.; Rasmussen, B.P.; Swaroop, D. Selecting PID control gains for nonlinear HVAC&R systems. HVACR Res. 2009, 15, 991–1019. [Google Scholar]
  22. Song, Y.; Wu, S.; Yan, Y.Y. Control strategies for indoor environment quality and energy efficiency—A review. Int. J. Low Carbon Technol. 2013, 10, 305–312. [Google Scholar] [CrossRef] [Green Version]
  23. Behrooz, F.; Mariun, N.; Marhaban, M.H.; Radzi, M.; Amran, M.; Ramli, A.R. Review of control techniques for HVAC systems—Nonlinearity approaches based on Fuzzy cognitive maps. Energies 2018, 11, 495. [Google Scholar] [CrossRef] [Green Version]
  24. Berouine, A.; Akssas, E.; Naitmalek, Y.; Lachhab, F.; Bakhouya, M.; Ouladsine, R.; Essaaidi, M. A fuzzy logic-based approach for HVAC systems control. In Proceedings of the 2019 6th International Conference on Control, Decision and Information Technologies (CoDIT), Paris, France, 23–26 April 2019; pp. 1510–1515. [Google Scholar]
  25. Oldewurtel, F.; Parisiob, A.; Jones, N.C.; Gyalistrasa, D.; Gwerderd, M.; Stauche, V.; BeatLehmann, B.; Morari, M. Use of model predictive control and weather forecasts for energy efficient building climate control. Energy Build. 2012, 45, 15–27. [Google Scholar] [CrossRef] [Green Version]
  26. Bălan, R.; Cooper, J.; Chao, K.M.; Stan, S.; Donca, R. Parameter identification and model based predictive control of temperature inside a house. Energy Build. 2011, 43, 748–758. [Google Scholar] [CrossRef]
  27. Ma, J.; Qin, J.; Salsbury, T.; Xu, P. Demand reduction in building energy systems based on economic model predictive control. Chem. Eng. Sci. 2011, 67, 92–100. [Google Scholar] [CrossRef]
  28. Moroşan, P.D.; Bourdais, R.; Dumur, D.; Buisson, J. Building temperature regulation using a distributed model predictive control. Energy Build. 2010, 42, 1445–1452. [Google Scholar] [CrossRef]
  29. Huang, G. Model predictive control of VAV zone thermal systems concerning bi-linearity and gain nonlinearity. Control Eng. Pract. 2011, 19, 700–710. [Google Scholar] [CrossRef]
  30. Xu, M.; Li, S. Practical generalized predictive control with decentralized identification approach to HVAC systems. Energy Convers. Manag. 2007, 48, 292–299. [Google Scholar] [CrossRef]
  31. Privara, S.; Široký, J.; Ferkl, L.; Cigler, J. Model predictive control of a building heating system: The first experience. Energy Build. 2011, 43, 564–572. [Google Scholar] [CrossRef]
  32. Yuan, S.; Perez, R. Multiple-zone ventilation and temperature control of a single-duct VAV system using model predictive strategy. Energy Build. 2006, 38, 1248–1261. [Google Scholar] [CrossRef]
  33. Afram, A.; Janabi-Sharifi, F. Theory and applications of HVAC control systems—A review of model predictive control (MPC). Build. Environ. 2014, 72, 343–355. [Google Scholar] [CrossRef]
  34. Bakhouya, M.; NaitMalek, Y.; Elmouatamid, A.; Lachhab, F.; Berouine, A.; Boulmrharj, S.; Ouladsine, R.; Felix, V.; Zinedine, K.; Khaidar, K.; et al. Towards a context-driven platform using IoT and big data technologies for energy efficient buildings. In Proceedings of the 2017 3rd International Conference of Cloud Computing Technologies and Applications (CloudTech), Rabat, Morocco, 24–26 October 2017; pp. 1–5. [Google Scholar]
  35. Berrabah, S.; Moussa, M.O.; Bakhouya, M. Towards a thermo-mechanical characterization approach of buildings’ envelope. Energy Rep. 2020, 6, 240–245. [Google Scholar] [CrossRef]
  36. Elmouatamid, A.; NaitMalek, Y.; Bakhouya, M. An energy management platform for micro-grid systems using internet of things and big-data technologies. J. Syst. Control Eng. 2019, 233, 904–917. [Google Scholar] [CrossRef]
  37. Boulmrharj, S.; Nait-Malek, Y.; Elmouatamid, A.; Bakhouya, M.; Ouladsine, R.; Zine-Dine, K.; Khaidar, M.; Siniti, M. Battery characterization and dimensioning approaches for micro-grid systems. Energies 2019, 12, 1305. [Google Scholar] [CrossRef] [Green Version]
  38. Elkhoukhi, H.; Nait-Malek, Y.; Bakhouya, M.; Berouine, A.; Kharbouch, A.; Lachhab, F.; Hanifi, M.; El Ouadghiri, D.; Essaaidi, M. A platform architecture for occupancy detection using stream processing and machine learning approaches. Concurr. Comput. Pract. Exp. 2019, e5651. [Google Scholar] [CrossRef]
  39. Berouine, A.; Ouladsine, R.; Bakhouya, M.; Lachhab, F.; Essaaidi, M. A model predictive approach for ventilation system control in energy efficient buildings. In Proceedings of the 2019 4th World Conference on Complex Systems (WCCS), Ouarzazate, Morocco, 22–25 April 2019; pp. 1–6. [Google Scholar]
  40. Allard, F.; Dorer, V.B.; Feustel, H.E. Fundamentals of the Multizone Air Flow Model-COMIS; Air Infiltration and Ventilation Centre: Coventry, UK, 1990; p. 115. [Google Scholar]
  41. Zannetti, P. Air Pollution Modeling: Theories, Computational Methods and Available Software; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2013. [Google Scholar]
  42. Clarke, D.W.; Mohtadi, C.; Tuffs, P.S. Generalized predictive control—Part I. The basic algorithm. Automatica 1987, 23, 137–148. [Google Scholar] [CrossRef]
  43. Yang, S.H.; Wang, X.Z.; McGreavy, C. A multivariable coordinated control system based on predictive control strategy for FCC reactor-regenerator system. Chem. Eng. Sci. 1996, 51, 2977–2982. [Google Scholar] [CrossRef]
  44. Qin, S.J.; Badgwell, T.A. A survey of industrial model predictive control technology. Control Eng. Pract. 2003, 11, 733–764. [Google Scholar] [CrossRef]
  45. Gunnar, B.; Folkesson, K. Recommendations for Calculations of Energy Consumption for Air Handling Units; Eurovent/Cecomaf WG 6C; Eurovent: Brussels, Belgium, 2005. [Google Scholar]
  46. Benech, P.; Haessig, P. Estimation du Nombre de Personnes Presentes Dans Une Piece a Partir de la Concentration En Dioxyde De Carbone; Institute of Electronics and Telecommunications of Rennes: Rennes, France, 2015. [Google Scholar]
Figure 1. System’s controller feedback blocs of the generalized predictive control (GPC)-based controlled auto-regressive integrated moving average (CARIMA) model.
Figure 1. System’s controller feedback blocs of the generalized predictive control (GPC)-based controlled auto-regressive integrated moving average (CARIMA) model.
Energies 13 03246 g001
Figure 2. Generated indoor CO2 concentration used as the forecast input for the MPC and GPC.
Figure 2. Generated indoor CO2 concentration used as the forecast input for the MPC and GPC.
Energies 13 03246 g002
Figure 3. MPC vs. PI and state feedback (SF): (a) the CO2 regulation, (b) the ventilation air flow rate, (c) the instantaneous power consumption, and (d) the accumulated power consumption.
Figure 3. MPC vs. PI and state feedback (SF): (a) the CO2 regulation, (b) the ventilation air flow rate, (c) the instantaneous power consumption, and (d) the accumulated power consumption.
Energies 13 03246 g003
Figure 4. GPC based on CARIMA vs. the MPC: (a) the CO2 regulation, (b) the ventilation air flow rate, (c) the instantaneous power consumption, and (d) the accumulated power consumption.
Figure 4. GPC based on CARIMA vs. the MPC: (a) the CO2 regulation, (b) the ventilation air flow rate, (c) the instantaneous power consumption, and (d) the accumulated power consumption.
Energies 13 03246 g004
Table 1. Input tuning of the model predictive control (MPC) and GPC algorithms’ parameters.
Table 1. Input tuning of the model predictive control (MPC) and GPC algorithms’ parameters.
Input ParametersControl Horizon (Nu) Prediction (Np)Sampling Time (Ts)Weighting Control (λ)
Value31510s0.6
Table 2. Settings of the ventilation system model parameters.
Table 2. Settings of the ventilation system model parameters.
Parameters NameParameter DescriptionValueUnit
V Simulated space volume400m3
q CO2 generation rate per person0.0086l/s
Q 0 Minimum ventilation rate1/3600m3/s
Q max Maximum ventilation rate0.6m3/s
C e x t Outdoor CO2 concentration450ppm
C 0 Initial indoor CO2 concentration700ppm
C s e t Setpoint of CO2 concentration750ppm
N max Maximum number of occupants100-
Δ p Fan inlet/outlet increment total pressure1500Pa
μ Overall efficiency 0.65-
Table 3. Energy consumption based on the MPC, PI and the state feedback control approaches.
Table 3. Energy consumption based on the MPC, PI and the state feedback control approaches.
Energy (Wh)PISFMPC
Total1225.521222.81196.74
Gain2.35%2.13%-
Table 4. Total energy consumption based on the predictive controllers.
Table 4. Total energy consumption based on the predictive controllers.
Energy (Wh)MPCGPC
Total1196.741144.78
Gain4.34%-

Share and Cite

MDPI and ACS Style

Berouine, A.; Ouladsine, R.; Bakhouya, M.; Essaaidi, M. Towards a Real-Time Predictive Management Approach of Indoor Air Quality in Energy-Efficient Buildings. Energies 2020, 13, 3246. https://doi.org/10.3390/en13123246

AMA Style

Berouine A, Ouladsine R, Bakhouya M, Essaaidi M. Towards a Real-Time Predictive Management Approach of Indoor Air Quality in Energy-Efficient Buildings. Energies. 2020; 13(12):3246. https://doi.org/10.3390/en13123246

Chicago/Turabian Style

Berouine, Anass, Radouane Ouladsine, Mohamed Bakhouya, and Mohamed Essaaidi. 2020. "Towards a Real-Time Predictive Management Approach of Indoor Air Quality in Energy-Efficient Buildings" Energies 13, no. 12: 3246. https://doi.org/10.3390/en13123246

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop