164
Views
0
CrossRef citations to date
0
Altmetric
Articles

Unveiling overlooked aspects of model predictive control for building air conditioning systems

, , , , , & ORCID Icon show all
Pages 510-525 | Received 17 Dec 2023, Accepted 18 Mar 2024, Published online: 10 May 2024

Abstract

The ongoing research on model predictive control (MPC) for building air conditioning systems predominantly centers on improving the predictive capabilities of system models. In this paper, the impacts of three additional pivotal factors on MPC performance are assessed by examining a generic MPC design for a typical variable air volume (VAV) system that serves large commercial buildings. The three factors encompass the nuanced reformulation of optimization, the judicious relaxation of constraints, and the meticulous tuning of parameters. Detailed case studies with an integrated Modelica and EnergyPlus model of the US Department of Energy's Commercial Reference Building are conducted. The results confirm that the optimization formulation, along with relaxation methods, significantly affects MPC performance in terms of energy savings, zonal thermal comfort level, and computational demand. They also reveal that the impact of the MPC control parameters on the energy savings and thermal comfort may vary by season and can be non-monotonic.

1. Introduction

Building operations encompass a multitude of objectives ranging from the enhancement of indoor air quality, provision of thermal comfort, and maximization of energy efficiency. This diversity gives rise to multifaceted challenges in achieving optimal building performance. Recently, model prediction control (MPC) (Allgöwer and Zheng Citation2012) has been emerging as a comprehensive approach that can effectively address the intricate complexity of building operations (Drgoňa et al. Citation2020). MPC orchestrates a sequence of control actions by optimizing an objective function across a future time horizon, followed by execution of the initial action. In comparison with the prevalent rule-based control that predominates in contemporary buildings, MPC has two major advantages. First, it reconciles conflicting control objectives through co-optimization, thus deriving control actions for balanced operational goals. Second, it foresees upcoming system conditions through prediction, thus refining control actions for optimal building performance.

Although pilot demonstrations (Drgoňa, Picard, and Helsen Citation2020) have revealed promising results, the practical implementation of MPC into real-world scenarios is contingent upon a multitude of factors. In the literature, it has been commonly believed that the predictive accuracy and computational efficiency of building system models hold paramount importance for the performance of MPC. Hence, considerable research efforts have been dedicated to reducing modeling error and computational demand of building system models. For example, random forests (Smarra et al. Citation2018) and latent heat information (Raman et al. Citation2020) are used to improve the predictive accuracy of the building system models. Linearization (Yang and Wan Citation2022), model order reduction (Chen and Li Citation2021), and rule extraction(Yang et al. Citation2023) are used to reduce the computation time for executing the building system models.

However, the predictive accuracy and computational efficiency of building system models are not the sole factors influencing MPC performance. It turns out that the intricate processes of formulating, solving, and configuring MPC also warrant examination. During MPC formulation, it becomes imperative to incorporate the domain knowledge of the studied system. This knowledge should be embedded into the definition of optimization objectives and constraints, which is referred to as optimization reformulation. Following the optimization formulation, constraint relaxation must be undertaken for effectively solving the optimization problem with high complexity. Constraint relaxation aims to reduce the complexity of the original problem and is often achieved by either removing certain constraints or converting hard constraints into soft ones. Lastly, to achieve better control performance, fine-tuning parameters can be attempted for different MPC configurations. Prediction horizon and control interval are the two most often adjusted parameters, which define how far into the future the control considers and how often the control actions are updated, respectively.

The use of optimization reformulation, constraint relaxation, and parameter fine-tuning for improving MPC performance has been recognized across various domains, including applications in industrial electronics (Bolognani et al. Citation2008), chemical reactors (Mhaskar Citation2006), power systems (Valverde and Van Cutsem Citation2013), spacecraft (Dang et al. Citation2020), unmanned aerial vehicles (Michel et al. Citation2017), and robotic manipulators (Elsisi et al. Citation2021). However, these crucial factors have not received adequate attention in the design of MPC for building systems as only a limited number of studies have considered MPC parameter tuning for building applications. For example, the cost and the computing time of an MPC for a residential house with varying prediction horizons was studied (Lefort et al. Citation2013). The effect of the prediction horizon and control interval on the energy performance of an MPC was examined (Gholamibozanjani et al. Citation2018). In previous studies (Huang, Lin, Chinde et al. Citation2021), we scrutinized the impacts of control interval on MPC performance for a commercial building in terms of cost savings and computational time. While quantitatively describing the sensitivity of the control performance to the selected MPC parameters, those studies ignore the impacts from the operational conditions of buildings, such as changing weather conditions, leading to partial capture of this sensitivity.

In this paper, we unveil the impacts of optimization reformulation, constraint relaxation, and parameter tuning on MPC performance for building systems. We consider a generic MPC for a typical variable air volume (VAV) system of large commercial buildings to reduce overall energy consumption and enhance zonal thermal comfort. We then define various customization options to explore the effects of those three factors, which specifically include

  • two optimization reformulations for eliminating simultaneous cooling and heating and avoiding unrealistic fan operations, respectively;

  • two options for relaxing the thermal comfort constraint;

  • five values for the prediction horizon; and

  • three values of the control interval.

Detailed case studies with an integrated Modelica (Fritzson and Engelson Citation1998) and EnergyPlus (Crawley et al. Citation2001) model of the US Department of Energy's (DOE's) Commercial Reference Building (Deru et al. Citation2011) (hereinafter referred to as Reference Building) are conducted to quantitatively assess the impacts of these customization options.

The remainder of this paper is organized as follows. In Section 2, we describe the typical configuration of the studied VAV system. We then propose a new MPC for this VAV system and explore different options when designing this MPC in Section 3. After that, we discuss how to evaluate the proposed MPC with the Reference Building in Section 4. In Section 5, we present the results from the MPC evaluation and provide insights on how to interpret those results. Conclusions can be found in Section 6.

2. Studied system

Figure  shows a schematic of a typical VAV system that serves several zones in a building. In this system, there are multiple air handling unit (AHU), terminals, a duct network, a chiller, and a boiler. An AHU generates cooling air and distributes the air among several zones via the duct network. The AHU consists of a fan, a cooling coil, a chilled water valve, and an outdoor damper. The fan circulates air between each zone and the AHU. The cooling coil removes heat from the air with cold water from the chiller. The chilled water valve adjusts the water flow rate through the cooling coil. The outdoor air damper adjusts the flow rate of the outdoor air. Each terminal serves one zone and adjusts the supply air flow rate via a damper and heats the supply air with a reheat coil, respectively. The reheat coil connects to the boiler, and there is a valve that modulates the flow rate of the hot water through the heating coil. The duct network distributes the supply air among terminals. It also collects the return air from all the zones and determines how much of the return air is circulated back to the AHU with one exhaust damper. The chiller and the boiler produce chilled water and hot water, respectively.

Figure 1. Typical configuration of a variable air volume system.

Figure 1. Typical configuration of a variable air volume system.

The operation of the VAV system is modulated by 6 local controllers. Specifically, controller #1 adjusts the position of the chilled water valve to maintain the temperature of the cooling air at or less than a predefined setpoint, namely the discharge air temperature setpoint. Controller #2 adjusts the position of the outdoor/exhaust/return air damper to maintain the temperature of the air entering the cooling coil at or less than a predefined setpoint, namely the mixed air temperature setpoint. Controller #3 adjusts the speed of the fan to maintain the static pressure in the duct network at a predefined setpoint. Controller #4 determines the desired supply air flow rate, namely the supply airflow setpoint, and the desired supply air temperature, namely the supply temperature setpoint, based on the zone temperature and thermostat settings. Controller #5 modulates the position of the damper in each terminal to maintain the supply airflow rate at the supply airflow setpoint. Controller #6 adjusts the position of the reheat coil to maintain the supply air temperature at the supply temperature setpoint.

3. Model predictive control design

We consider a procedure for designing MPC, as illustrated in Figure . This procedure consists of four steps. Step 1, Problem Statement, defines the control objectives and sets up the corresponding optimization problem to achieve those objectives. Steps 2 and 3 aim to solve the problem defined in Step 1. Specifically, Step 2, Optimization Reformation, modifies the objective function and/or adds additional constraints to help the optimization solver find the true optimum. Step 3, Constraints Relaxation, extends the search space by modifying the constraints from Steps 1 and 2. Step 4, Control Parametrization, assigns the values for the control parameters so that the MPC can be deployed. In the following, we elaborate how we execute the procedure for the VAV system and different options in Step 2, 3 and 4.

Figure 2. Procedure for designing model predictive control.

Figure 2. Procedure for designing model predictive control.

3.1. Problem statement

When operating the studied VAV system, there are two objectives:

  • Reducing the energy consumption of the VAV system. More precisely, we aim to reduce the energy consumption of chillers, fans, and boilers.

  • Improving the thermal comfort level of the zones served by the VAV system. We define the thermal comfort based on the zone temperature and keep the zone temperature within predefined limits.

Based on the control objectives, we define the following optimization problem: (1a) minimizeu1,,uNk=1N(Pk(xk,uk,dk))Δt,(1a) (1b) subjecttoxk=f(xk1,uk,dk),kN1N,(1b) (1c) x0=x^0,(1c) (1d) xkXk,kN1N,(1d) (1e) ukUk,kN1N,(1e) (1f) uk=uMj+1,kNMj+2M(j+1),jN0NM1,(1f) where k and N are the index of the discrete time step and the number of time steps within one optimization period, respectively. Pk, xk, uk, and dk denote the power of the studied system, the system states, the control decision variables, and exogenous inputs, respectively, at time step k. x^k denotes the measured values of the system states at time step k. Xk and Uk are the set of accepted values for xk and uk, respectively. M is the number of time steps when the values of uk are unchanged.

For the studied VAV system, Pk is calculated by: (2) Pk=Pchk+Pbok+j=inPfa,ik,(2) where Pchk, Pbok, and Pfa,ik are the power of the chiller, the power of the boiler, and the fan power of AHU i, at time step k. n denotes the number of AHUs in the studied VAV system. Pchk is calculated by (3) Pchk=a0+a1Qcok+a2(Qcok)2+a3(Qcok)3,(3) where a0, a1, a2, and a3 are constants. Qcok is the cooling load at time step k and is calculated by (4) Qcok=cpσi=1nj=1zim˙i,jk(ζikTok+(1ζik)j=1,zim˙i,jkTi,jkj=1,zim˙i,jkTs,ik),(4) where cp is the specific heat of air. σ is the sensible heat ratio. m˙i,jk and Ti,jk are the supply flow rate and the zone temperature of zone j, which is served by AHU i, respectively, at time step k. zi denotes the number of zones served by AHU i. ζik and Ts,ik are the outdoor air damper position and the supply air temperature of AHU i, respectively, at time step k. Tok is the outdoor air temperature at time step k.

Pbot is calculated by (5) Pbok=b0cpi=1nj=1zim˙i,jk(Ts,i,jkTs,ik),(5) where b0 is a constant. Ts,i,jk is the supply air temperature of zone j, which is served by AHU i, at time step k.

Pfa,it is calculated by (6) Pfa,i=c0,i+c1j=1zim˙i,jk+c2,i(j=1zim˙i,jk)2+c3,i(j=1,zim˙i,jk)3,(6) where c0,i, c1,i, c2,i, and c3,i are constants.

Note that in Equations (Equation4), (Equation5), and (Equation6), Tok is one exogenous input, and Ti,jk is one system state variable, while Ts,i,jk, m˙i,jk, γik, and Ts,ik are control decision variables. In other words, dk, xk, and uk are defined as (7a) dk=Tok,kN1N,(7a) (7b) xk={Ti,jk|iN1n,jN1zi},kN1N,(7b) (7c) uk={Ts,i,jk,m˙i,jk,ζik,Ts,ik|iN1n,jN1zi},kN1N.(7c) Ti,jk is calculated by (8) Ti,jk=αi,jTi,jk1+βi,jm˙i,jk(Ts,i,jkTi,jk1)+γi,jTok+q˙i,j,(8) where αi,j, βi,j, γi,j, and q˙i,j are constants.

In addition, Xk and Uk are defined with (9a) Xk={Ti,jk|Ti,j,lkTi,jkTi,j,hk,iN1n,jN1zi},kN1N,(9a) (9b) Uk={us|us,lowkusus,higk,usuk},kN1N,(9b) where Ti,j,lk and Ti,j,hk are the lower limit and the upper limit of Ti,jk, respectively. us,lowk and us,higk are the lower limit and the upper limit of element s in uk, respectively.

When implementing uk to the studied VAV system,

  • Ts,i,jk and m˙i,jk are used to overwrite the output of Controller #4, the supply temperature setpoint and the supply airflow setpoint, respectively.

  • ζik is used to overwrite the output of Controller #2.

  • Ts,ik is used as the discharge air temperature setpoint and the mixed air temperature setpoint.

3.2. Optimization reformulation

We consider two modifications to the original formulation defined in Equation (Equation1a). The first modification is to avoid simultaneous cooling and heating. For a VAV system, simultaneous cooling and heating usually occur when the supply airflow rate and the supply air temperature of the thermal zones are both set to be high. In such a case, the cooling power provided by the chiller is canceled out by the reheat coils. One can also explicitly eliminate simultaneous cooling and heating by changing the objective function (Equation1a) to (10) minimizeu1,,uNk=1N(Pk(xk,uk,dk))Δt+ωk=1Ni=1nj=1zi(Ts,i,jkTs,ik),(10) where ω is a weight factor. The second modification is to avoid the unrealistic operation of fans. Based on Equation (Equation6), Pfa,i can be larger than 0 even if the flow rate is 0, which is not realistic. Usually, the coefficients in Equation (Equation6) are obtained through linear regressions, which might not guarantee that c0,i is equal to 0. One can avoid such unreasonable fan operations by adding the following constraint: (11) c0,i=0,iN1n.(11)

3.3. Constraint relaxation

The constraint relaxation is essentially to find a new problem formulation with a solution set that is the same as or similar to the original problem formulation but much easier to solve. In the following section, we elaborate on how we modify constraints and add penalty constraints for the proposed MPC.

In Equation (Equation1a), there are two types of constraints. The first type is for the independent variables, such as the ones defined in Equation (Equation1e). Those constraints are usually easy to handle and thus are not considered in the constraint relaxation. The second type of constraint is for the dependent variables, such as the ones defined in Equation (Equation1d). Those constraints are typically difficult to handle and need to be modified. Specifically, we add a term, called a penalty function, to the objective function that consists of a penalty parameter multiplied by a measure of violation of the second constraint. There are two options for implementing this penalty function. In the first option, the objective function (Equation1a) is changed to (12) minimizeu1,,uNk=1N(Pk(xk,uk,dk))Δt+ωξν2,(12) where ξ is a penalty coefficient and ν is a slack variable. ξ is used to adjust the trade-off between energy saving and thermal comfort; ν is calculated by the solvers of the optimization problem. Equation (Equation9a) is then changed to (13) Xk={Ti,jk|Ti,j,lkνTi,jkTi,j,hk+ν,iN1n,jN1zi},kN1N.(13) In the second option, the objective function (Equation1a) is changed to (14) minimizeu1,,uNk=1N(Pk(xk,uk,dk))Δt+ωk=1Ni=1nj=1ziξ(νi,jk)2,(14) where νi,jt is a slack variable for zone j, which is served by AHU i at time t. Similar to ν, νi,jt is also calculated by the solvers of the optimization problem. Equation (Equation9a) is then changed to (15) Xk={Ti,jk|Ti,j,lkνi,jkTi,jkTi,j,hk+νi,jk,iN1n,jN1zi},kN1N.(15)

3.4. Control parametrization

In this study, MPC parameters refer to the prediction horizon and the control interval, which are defined as NΔt and MΔt, respectively. The prediction horizon specifies how far we should look ahead, while the control interval measures how frequently we should update the control decision variables. When determining the values for MPC parameters, one needs to consider impacts from two aspects. On one hand, a longer prediction horizon and a smaller control interval might help the MPC to better achieve the control objectives. On the other hand, a longer prediction horizon might cause inaccurate predictions from the system models because of error accumulation (Huang, Lin, Chinde et al. Citation2021). Likewise, a smaller control interval might result in higher computational demand. Therefore, quantitatively evaluating the impacts of the MPC parameters is indispensable to identifying the appropriate values for those parameters. However, most of the previous study tends to select arbitrary values for MPC parameters. Based on the survey conducted by Serale et al. (Citation2018), the value of the prediction horizon is usually selected to be larger than 1 h, while the control interval is usually selected from a range of 5 to 30 min.

4. Case study

This section details how the proposed MPC was evaluated over the Reference Building. We first introduce the Reference Building and how this building is modeled with EnergyPlus and Modelica. We then introduce how the evaluation is implemented and detail the settings of the evaluation. Finally, we discuss how the evaluation results are analyzed.

4.1. Reference building

When evaluating the proposed MPC, it is essential to include a representative operation condition of the VAV system. To fulfill this requirement, the Reference Building is employed. The Reference Building was developed by DOE and three of its national laboratories to represent the average characteristics of commercial building groups, categorized by building type and climate zone, in the United States. Specifically, the Reference Building for the large office buildings in Chicago is used in this study.

This higher-fidelity building model represents a VAV system that serves a typical high-rise building. This Reference Building has 12 floors with 5 zones per floor. In this building, the occupant density, the lighting power density, and the plug and process power density are 18.6m2/person, 10.8W/m2 and 10.8W/m2, respectively. The schedules of the internal load are based on ASHRAE (Citation1989). The VAV system that serves this building contains 12 AHUs. Each AHU serves one floor and is connected to five VAV terminals.

The Reference Building is not a real building; thus, a simulation model of this building is used for evaluating the proposed MPC. In this study, we leverage a higher-fidelity building model from our previous study in Huang et al. (Citation2018). When implementing this higher-fidelity building model, we employed EnergyPlus and Modelica Buildings Library (Wetter et al. Citation2014). More precisely, we modeled the building envelope and internal heat gain with EnergyPlus and approximated the VAV system and its associated control with Modelica Buildings Library. The data exchange between the EnergyPlus model and the Modelica model is realized via a functional mockup interface (Nouidui, Wetter, and Zuo Citation2014) and is illustrated in Figure . Note that the EnergyPlus model is derived from research associated with the Reference Building and has been reviewed extensively by building industry experts. The Modelica model of the physical systems was built based directly on existing Modelica libraries. As validations have already been performed for those libraries (Wetter et al. Citation2014), we do not perform a further valuation on this model in this study. On the other hand, for the Modelica model for the control systems, we have performed validations to make sure the systems can generate expected outputs when inputs are given. More details of the validation can be found in Huang et al. (Citation2018) and Huang, Zuo, Vrabie et al. (Citation2021).

Figure 3. Cosimulation between EnergyPlus and Modelica.

Figure 3. Cosimulation between EnergyPlus and Modelica.

To facilitate the MPC evaluation, we implement a baseline control, as summarized in the following.

  • Chiller plant and boiler plant,

    The operating number of chillers and boilers is controlled based on cooling load and heating load with state machines, respectively. The temperature of the chilled water leaving the chiller plant and the temperature of the hot water leaving the boiler plant are maintained based on predefined setpoints. More details can be found in Huang, Zuo, Vrabie et al. (Citation2021).

  • AHU,

    The supply air temperature setpoint is maintained as 12.89C. The outdoor air damper position is controlled based on a fixed dry-bulb temperature economizer control (ASHRAE Citation2016) in which the threshold outdoor temperature is set at 15.56C. Specifically, when the outdoor temperature exceeds 15.56C, the outdoor air damper position is fixed as 10%; Otherwise, the outdoor air damper position is modulated to maintain the mixed air temperature as 12.89C while the minimum damper position is set to be 10%. Note that the outdoor air damper position is closed during the unoccupied period. The fan speed is continuously modulated to maintain a constant static pressure during the occupied period and cycling on during the rest of the day.

  • Terminals,

    The heating coil position and the supply airflow setpoint are controlled based on a dual-max control sequence (ASHRAE Citation2018). The supply airflow setpoint is then used by a feedback control to modulate the damper position.

4.2. Evaluation execution and settings

To facilitate the execution of the MPC test, we set up a cosimulation between the high-fidelity building model and the MPC. This cosimulation is based on an assumption that the CPU time cost by MPC is much lower than the control interval, that is, δi ¡ Δt (iN1NM). At the beginning of each control interval, the simulation pauses and sends the current measurement to trigger the MPC. The MPC then calculates the control actions based on this measurement and sends the control signals back to the simulation. After receiving the control signals, the simulation continues until it reaches the beginning of the next control interval. Note that among the decision variables, the outdoor damper position is implemented directly as the actuator status and the rest are implemented as setpoints for the local controller.

In this cosimulation, the MPC is implemented with JuMP (version 0.21.10) (Dunning, Huchette, and Lubin Citation2017), which is a domain-specific modeling language for mathematical optimization embedded in Julia (version 1.0.5) (Bezanson et al. Citation2017) and solved by IPOPT (version:0.7.0) (Wächter Citation2009). The cosimulation environment is implemented in the BOPTEST framework (Blum et al. Citation2021). We set the maximum iteration number of the MPC solver to be 1,000. If the iteration number exceeds the maximum iteration number, then the baseline control will be implemented. This cosimulation run on a DELL Latitude E7470 Laptop PC (Win10 OS, Intel®CoreTM i7-6600, 16.0 GB RAM).

When executing the simulation, we consider two testing periods–one summer week (August 26–30) and one mild week (April 8–12)–and use the typical meteorological year (TMY) data (Hall et al. Citation1978) of Chicago, Illinois, United States, as the major input for those testing periods. When testing the MPC, we use the TMY data directly as the ideal weather forecast. In addition, for each testing period, one dedicated training period is used to generate training datasets for the system models. Figure  illustrates the outdoor air temperature during the testing period and the training period in the summer. To enhance data richness, we introduce time-varying thermostat setpoints for each zone to better excite the baseline control, as illustrated in Figure .

Figure 4. Outdoor air temperature during the testing period and the training period in the summer.

Figure 4. Outdoor air temperature during the testing period and the training period in the summer.

Figure 5. Excitation signals of the training period in the summer.

Figure 5. Excitation signals of the training period in the summer.

4.3. Performance metrics

We evaluate the performance of MPC from three aspects:

  • how much the proposed MPC can reduce the energy consumption of the VAV systems;

  • how well the proposed MPC can improve thermal comfort in the zones served by the VAV systems; and

  • how fast the associated optimization problem can be solved.

When evaluating the MPC, we compare its performance to that of the baseline control with the following performance metrics:

  • Electricity Consumption Saving (%). This metric characterizes the enhancement of the energy performance of the VAV system, which is defined as the percentage of saving in terms of electricity consumption; that is, (16) %Ce=EbaseEmpcEbase,(16) where Ebase and Empc are the electricity consumption by the fans and the chiller with the baseline control and with MPC, respectively.

  • Gas Consumption Saving (%). This metric characterizes the enhancement of the energy performance of the VAV system, which is defined as the percentage of saving in terms of gas consumption; that is, (17) %Cg=GbaseGmpcGbase,(17) where Gbase and Gmpc are the gas consumption by the fans and the boiler with the baseline control and with MPC, respectively.

  • Discomfort Reduction (Kmin). This metric characterizes the enhancement of building operations, which is defined as the reduction in the discomfort level; that is, (18) DR=DisbaseDismpc,(18) where Disbase and Dismpc are the discomfort level without and with MPC, respectively. The discomfort level is calculated by (19) Dis=i=1nj=1zig(Ti,jt)ΔtN,(19) where the function g() is defined as (20) g(Ti,jt)={Ti,jtThig,i,jt,ifTi,jt>Thig,i,j,Tlow,i,jtTi,jt,ifTi,jt<Thig,i,j,0,otherwise,(20) where Tlow,i,jt and Thig,i,jt are the lower and higher bounds for Ti,jt.

  • Computational Time (s). This metric characterizes the numerical performance of the MPC, which is defined as the sum of the computational time of the MPC runs; that is, (21) CT=s=1Mtcs,(21) where tcs is the CPU time used by MPC run s while M is the number of MPC runs during the testing period.

5. Results and discussion

5.1. MPC design assessment

To facilitate the assessment of different options in the optimization reformulation and the constraint relaxation, we consider four MPC designs, as illustrated in Table . Case 1 and case 2 use different methods for handling the thermal comfort constraints; Unlike case 1, case 3 doesn't consider simultaneous cooling and heating in the objective function; case 4 drops the constraint for avoiding the unreasonable fan operations in case 1.

Table 1. Model predictive control design.

(22) minimizeu1,,uNk=1N(Pk(xk,uk,dk))Δt+ω1k=1Ni=1nj=1ziξ(νi,jk)2+ω2k=1Ni=1nj=1zi(Ts,i,jkTs,ik),(22) where ω1 and ω2 are weighting factors. (23) minimizeu1,,uNk=1N(Pk(xk,uk,dk))Δt+ω1ξν2+ω2k=1Ni=1nj=1zi(Ts,i,jkTs,ik).(23) (24) minimizeu1,,uNk=1N(Pk(xk,uk,dk))Δt+ωk=1Ni=1nj=1ziξ(νi,jk)2.(24) Note that all the weight factors in the study are determined so that all the corresponding penalty terms are closer to k=1N(Pk(xk,uk,dk))Δt.

When evaluating the MPC designs in Table , we set the prediction horizon and the control interval to be 60 min and 5 min, respectively. For simplicity, we consider the first day of the mild week in the evaluation.

Table  summarizes the evaluation results:

  • Equation (Equation22) can better maintain the thermal comfort level than Equation (Equation23). In case 2, the MPC even increases the discomfort level compared with the baseline, while the discomfort level is reduced by 289.8 Kmin in case 1. This suggests that setting a dedicated, dynamic slack variable for each zone can better handle the thermal comfort constraint. As illustrated in Figure , in case 1, all the zone temperatures are within the comfort zones most of the time. In contrast, the zone temperatures in case 2 are beyond the comfort zones for most of the time, especially during the occupied period. This is due to the relaxation of the temperature constraints with Equation (Equation13).

  • Equation (Equation22) reduces the chance for simultaneous heating and cooling. Compared with that in case 1, the electricity consumption and the gas consumption increase by 8% and 49%, respectively, in case 3. As shown in Figure , the supply flow rate setpoint conflicts with that of the supply temperature in case 3. The supply flow is sometimes set to be quite high, but the supply temperature is set to be high. In addition, there are times when supply flow is set to be quite high but the supply temperature is set to be higher. Those are typical ‘symptoms’ for simultaneous heating and cooling.

  • Equation (Equation11) can significantly reduce electricity consumption. Compared with case 4, the MPC can reduce electricity consumption by 10% in case 1. As shown in Figure , the reduction in electricity consumption is due mainly to the reduction of the supply flow rate during the unoccupied period.

Figure 6. Zone temperatures in case 1 and case 2.

Figure 6. Zone temperatures in case 1 and case 2.

Figure 7. Supply flow rate and supply temperature of one perimeter zone in a typical floor.

Figure 7. Supply flow rate and supply temperature of one perimeter zone in a typical floor.

Figure 8. Supply flow rate of the AHU that serves a typical floor.

Figure 8. Supply flow rate of the AHU that serves a typical floor.

Table 2. Evaluation results for model predictive control cases.

5.2. Parameter sensitivity analysis

In this section, we evaluate how the MPC parameters affect control performance. We first study MPC performance under different prediction horizon lengths (the control interval is fixed as 5 min) for a mild day and a summer day, respectively. One can see the following from Table :

  • For the mild day, the electricity consumption saving ratio and the gas consumption saving ratio don't change much when the prediction horizon increases. The electricity consumption saving ratio and the gas consumption saving ratio decrease when the prediction horizon increases for the summer day in general. It is interesting that the change of saving ratios by the prediction horizon is not monotonic.

  • The discomfort reduction is not sensitive to the prediction horizon for both the mild day and the summer day. We did not see a tendency of change in discomfort reduction when the prediction horizon increased for the summer day. For the mild day, the discomfort reduction increases a little when the prediction horizon increases.

  • The computational time increases when the prediction horizon increases for both the mild day and the summer day in general. With a larger prediction horizon, the number of decision variables increases, according to Equation (Equation9b), leading to a more complicated optimization problem. It is worth mentioning that the computational time does not increase in proportion to the prediction horizon. As shown in Figure , the distribution of computational time is quite uneven for MPC runs on the mild day. The outliers in Figure explain the nonlinear increase of computational time by the prediction horizon.

Figure 9. Computational times of model predictive cotrol with different prediction horizons for the mild day.

Figure 9. Computational times of model predictive cotrol with different prediction horizons for the mild day.

Table 3. MPC evaluation results with different prediction horizons (control interval: 5 min, baseline electricity consumption: 9,980 kWh, baseline gas consumption: 53,1723 kJ).

Table  illustrates the MPC performance under different control interval lengths (the prediction horizon is fixed at 60 min) for a mild day and a summer day, respectively. One can see the following:

  • For the mild day, the electricity consumption saving ratio and the gas consumption saving ratio both decrease dramatically when the control interval increases for both the mild day and the summer day. This is because the MPC's ability to capture building dynamics decreases when the control interval increases.

  • The discomfort reduction is decreased significantly when the control interval increases for both the mild day and the summer day. This means frequently updated control actions are necessary to maintain the desired thermal comfort level.

  • The computational time decreases significantly when the control interval increases for both the mild day and the summer day. When the interval increases, the number of decision variables decreases, accelerating the optimization solving process.

Table 4. Model predictive control evaluation results with different control intervals (prediction horizon: 60 min).

5.3. Detailed observation

In this section, we examine the details regarding the week-long simulations of the MPC operation to understand how the MPC achieves the control objectives. Note that in the week-long simulations, the control interval and the prediction horizon are set to be 5 min and 60 min, respectively, and the rest of the MPC implementation is set based on case 1. Table  summarizes the control performance of this MPC for the two typical weeks.

Table 5. Summary of model predictive control evaluation.

One can see the following from Table :

  • The MPC results in 15% and 9% reductions in electricity consumption and gas consumption, respectively, in the mild week. However, in the summer week, this MPC does not result in any savings in energy consumption. This suggests that weather significantly affects the energy performance of the MPC. Note that the energy saving ratios for the entire mild week are lower than those of the first day of the mild week. This might be because the outdoor temperature during the second day, the third day, and the last day is generally higher than during the first day, as illustrated in Figure .

  • This MPC can significantly improve the thermal comfort level for both the mild week and the summer week. Figure  shows the zone temperature under the MPC and the baseline during the summer week. We can see that improvements in comfort level usually occur when the operation mode of the VAV system changes from unoccupied to occupied. During the transition from unoccupied to occupied, the upper bound of the zone temperature decreases and the lower bound of the zone temperature increases.

  • The computational time for the mild week is similar to that for the summer week. The average computational time for one MPC run is around 1.3 s, which is much lower than the control interval. This means that the assumption we made in Section 4.2 is valid.

Figure 10. Outdoor air temperature of the mild week.

Figure 10. Outdoor air temperature of the mild week.

Figure 11. Zone temperature during the mild week.

Figure 11. Zone temperature during the mild week.

To understand how the reductions in electricity consumption and gas consumption are realized, we first plot the major operation variables of an AHU that serves a typical floor during the first day of the mild season. As shown in Figure :

  • Compared to the baseline, the MPC can reduce the supply flow for most of the time, resulting in reduced fan power consumption. In addition, the MPC results in more hours of free cooling with the outdoor air, reducing the chiller consumption. This might partially explain why this MPC cannot reduce electricity consumption during the summer week: The outdoor temperature is too high for free cooling.

  • The MPC turns on the fan 1 h earlier than the baseline control, causing additional electricity consumption during the occupied period. One hypothesis for this is that starting the fan earlier improves thermal comfort.

Figure 12. Operation of one air handling unit that serves the typical floor during the first day of the mild season.

Figure 12. Operation of one air handling unit that serves the typical floor during the first day of the mild season.

To validate the hypothesis, we review the detailed results for individual VAV terminals. Figure  illustrates the operation of one VAV terminal that serves a core zone on the typical floor during the first day of the mild season. One can see that this MPC significantly reduces the amount of time that the zone temperature is above the upper limit in the earlier morning by starting the fan earlier.

Figure 13. Operation of one variable air volume terminal that serves a core zone in the typical floor during the first day of the mild season.

Figure 13. Operation of one variable air volume terminal that serves a core zone in the typical floor during the first day of the mild season.

Starting the fan earlier can yield energy savings. Figure  shows the operation of one VAV terminal that serves a perimeter zone on the typical floor during the first day of the mild season. We can see that by starting the fan earlier, the MPC increases the zone temperature throughout the day. This avoids the need to provide heating and increase the flow rate during the heating mode, resulting in a reduction in gas and electricity consumption.

Figure 14. Operation of one air handling unit that serves a perimeter zone on typical floor during the first day of the mild season.

Figure 14. Operation of one air handling unit that serves a perimeter zone on typical floor during the first day of the mild season.

6. Conclusions

In this paper, we conduct a comprehensive evaluation of how optimization formulation, constraint relaxation, and parameter tuning affect MPC control performance with a high-fidelity building model. Based on the simulation results from different case studies, the following conclusions can be drawn:

  • Including domain knowledge in the optimization reformulation might provide additional benefits. The testing results related to the fan coefficients and simultaneous heating and cooling reveal that the optimization algorithm might not be smart enough to avoid unreasonable optimization results.

  • When a penalty term is used to handle the thermal comfort constraints, it is critical to consider each zone separately and make the slack variable dynamic. This might be because the accuracy of the zone temperature prediction varies among different zones and/or at different times of the optimization period.

  • The electricity saving ratio, the gas saving ratio, and the discomfort reduction are sensitive to the control interval. The computational time can be significantly affected by both the prediction horizon and the control interval.

  • The impact from the prediction horizon on the energy savings and thermal comfort varies by the seasons and can be non-monotonic.

  • The MPC achieves better energy performance mainly via free-cooling and the "optimal start" of fans. This optimal start can reduce the energy cost of the VAV system during heating mode. It can also improve thermal comfort with a more smooth transition from unoccupied to occupied.

It is worth mentioning that, to ensure generality, this assessment doesn't consider specific needs from uncommon operation conditions. For example, in a very cold climate, the MPC design may need to include additional constraints to avoid a frozen cooling coil for the studied VAV system. In the future, we recommend replicating the assessment that is conducted in this paper, with individual MPC designs, to provide case-specific insights into real-world implementation.

This evaluation clearly emphasizes the need for further study on optimization formulation, constraint relaxation, and parameter tuning of the MPC. It will be beneficial to study how to systematically incorporate the domain knowledge into commonly used optimization formulations to better accumulate the needs for operating building systems. It will be also interesting to develop methods for automatizing the process for parameter tuning in a future study to support large-scale applications of MPC in building systems.

Acknowledgments

This work was supported by the US DOE Office of Energy Efficiency and Renewable Energy, Building Technologies Office. This manuscript has been authored by UT-Battelle, LLC, under contract DE-AC05-00OR22725 with the US Department of Energy (DOE).The US government retains and the publisher, by accepting the article for publication, acknowledges that the US government retains a nonexclusive, paid-up, irrevocable, worldwide license to publish or reproduce the published form of this manuscript, or allow others to do so, for US government purposes. DOE will provide public access to these results of federally sponsored research in accordance with the DOE Public Access Plan (https://www.energy.gov/doe-public-access-plan).

Data Availability Statement

Derived data supporting the findings of this study are available from the corresponding author on request.

Disclosure statement

No potential conflict of interest was reported by the author(s).

References

  • Allgöwer, Frank, and Alex Zheng. 2012. "Nonlinear Model Predictive Control". Vol. 26. Basel, Switzerland: Birkhäuser.
  • ASHRAE. 1989. Energy Standard for Sites and Buildings Except Low-Rise Residential Buildings. Atlanta, GA: ASHRAE.
  • ASHRAE. 2016. ASHRAE Handbook:HVAC Systems and Equipment. Vol. 39. Atlanta, GA: ASHRAE.
  • ASHRAE. 2018. ASHRAE Guideline 36-2018, High-Performance Sequences of Operation for HVAC Systems. Atlanta, GA: ASHRAE
  • Bezanson, Jeff, Alan Edelman, Stefan Karpinski, and Viral B. Shah. 2017. “Julia: A Fresh Approach to Numerical Computing.” SIAM Review 59 (1): 65–98. https://doi.org/10.1137/141000671.
  • Blum, David, Javier Arroyo, Sen Huang, Ján Drgoňa, Filip Jorissen, and Harald Taxt Walnum. 2021. “Building Optimization Testing Framework (BOPTEST) for Simulation-Based Benchmarking of Control Strategies in Buildings.” Journal of Building Performance Simulation 14 (5): 586–610. https://doi.org/10.1080/19401493.2021.1986574.
  • Bolognani, Saverio, Silverio Bolognani, Luca Peretti, and Mauro Zigliotto. 2008. “Design and Implementation of Model Predictive Control for Electrical Motor Drives.” IEEE Transactions on Industrial Electronics 56 (6): 1925–1936. https://doi.org/10.1109/TIE.2008.2007547.
  • Chen, Qiong, and Nan Li. 2021. “Fast Simulation and High-Fidelity Reduced-Order Model of the Multi-Zone Radiant Floor System for Efficient Application to Model Predictive Control.” Energy and Buildings 248(2021):111210. https://doi.org/10.1016/j.enbuild.2021.111210.
  • Crawley, Drury B., Linda K. Lawrie, Frederick C. Winkelmann, Walter F. Buhl, Y. Joe Huang, Curtis O. Pedersen, and Richard K. Strand. 2001. “EnergyPlus: Creating a New-Generation Building Energy Simulation Program.” Energy and Buildings 33 (4): 319–331. https://doi.org/10.1016/S0378-7788(00)00114-6.
  • Dang, Qingqing, Haichao Gui, Kun Liu, and Bo Zhu. 2020. “Relaxed-Constraint Pinpoint Lunar Landing Using Geometric Mechanics and Model Predictive Control.” Journal of Guidance, Control, and Dynamics 43 (9): 1617–1630. https://doi.org/10.2514/1.G005039.
  • Deru, Michael, Kristin Field, Daniel Studer, Kyle Benne, Brent Griffith, Paul Torcellini, and Bing Liu. 2011. US Department of Energy Commercial Reference Building Models of the National Building Stock. Technical Report, Golden, CO, U.S.: NREL.
  • Drgoňa, Ján, Javier Arroyo, Iago Cupeiro Figueroa, David Blum, Krzysztof Arendt, Donghun Kim, and Enric Perarnau Ollé. 2020. “All You Need to Know About Model Predictive Control for Buildings.” Annual Reviews in Control 50:190–232. https://doi.org/10.1016/j.arcontrol.2020.09.001.
  • Drgoňa, Ján, Damien Picard, and Lieve Helsen. 2020. “Cloud-Based Implementation of White-Box Model Predictive Control for a GEOTABS Office Building: A Field Test Demonstration.” Journal of Process Control 88(2020):63–77. https://doi.org/10.1016/j.jprocont.2020.02.007.
  • Dunning, Iain, Joey Huchette, and Miles Lubin. 2017. “JuMP: A Modeling Language for Mathematical Optimization.” SIAM Review 59 (2): 295–320. https://doi.org/10.1137/15M1020575.
  • Elsisi, Mahmoud, Karar Mahmoud, Matti Lehtonen, and Mohamed M. F. Darwish. 2021. “Effective Nonlinear Model Predictive Control Scheme Tuned by Improved NN for Robotic Manipulators.” IEEE Access 9(2021):64278–64290. https://doi.org/10.1109/ACCESS.2021.3075581.
  • Fritzson, Peter, and Vadim Engelson. 1998. “Modelica–A Unified Object-Oriented Language for System Modeling and Simulation.” In ECOOP–Object-Oriented Programming: 12th European Conference, 1998 Proceedings 12 July 20–24, 67–90. Brussels, Belgium: Springer.
  • Gholamibozanjani, Gohar, Joan Tarragona, Alvaro De Gracia, Cèsar Fernández, Luisa F. Cabeza, and Mohammed M. Farid. 2018. “Model Predictive Control Strategy Applied to Different Types of Building for Space Heating.” Applied Energy 231(2018):959–971. https://doi.org/10.1016/j.apenergy.2018.09.181.
  • Hall, Irving J., R. R. Prairie, H. E. Anderson, and E. C. Boes. 1978. Generation of A Typical Meteorological Year. Technical Report, Albuquerque, NM, U.S.: Sandia Labs.
  • Huang, Sen, Yan Chen, Paul W. Ehrlich, and Draguna L. Vrabie. 2018. “A Control-Oriented Building Envelope and HVAC System Simulation Model for A Typical Large Office Building.” In Proceedings of Building Performance Modeling Conference and SimBuild. Chicago, IL.
  • Huang, Sen, Yashen Lin, Venkatesh Chinde, Xu Ma, and Jianming Lian. 2021. “Simulation-Based Performance Evaluation of Model Predictive Control for Building Energy Systems.” Applied Energy 281(2021):116027. https://doi.org/10.1016/j.apenergy.2020.116027.
  • Huang, Sen, Wangda Zuo, Draguna Vrabie, and Rong Xu. 2021. “Modelica-Based System Modeling for Studying Control-Related Faults in Chiller Plants and Boiler Plants Serving Large Office Buildings.” Journal of Building Engineering 44:102654. https://doi.org/10.1016/j.jobe.2021.102654.
  • Lefort, Antoine, Romain Bourdais, Guillaume Ansanay-Alex, and Hervé Guéguen. 2013. “Hierarchical Control Method Applied to Energy Management of a Residential House.” Energy and Buildings 64(2013):53–61. https://doi.org/10.1016/j.enbuild.2013.04.010.
  • Mhaskar, Prashant. 2006. “Robust Model Predictive Control Design for Fault-Tolerant Control of Process Systems.” Industrial & Engineering Chemistry Research 45 (25): 8565–8574. https://doi.org/10.1021/ie060237p.
  • Michel, Nathan, Sylvain Bertrand, Giorgio Valmorbida, Sorin Olaru, and Didier Dumur. 2017. “Design and Parameter Tuning of A Robust Model Predictive Controller for UAVs.” In IFAC World Congress 2017. Toulouse, France.
  • Nouidui, Thierry, Michael Wetter, and Wangda Zuo. 2014. “Functional Mock-Up Unit for Co-Simulation Import in EnergyPlus.” Journal of Building Performance Simulation 7 (3): 192–202. https://doi.org/10.1080/19401493.2013.808265.
  • Raman, Naren Srivaths, Karthikeya Devaprasad, Bo Chen, Herbert A. Ingley, and Prabir Barooah. 2020. “Model Predictive Control for Energy-Efficient HVAC Operation with Humidity and Latent Heat Considerations.” Applied Energy 279(2020):115765. https://doi.org/10.1016/j.apenergy.2020.115765.
  • Serale, Gianluca, Massimo Fiorentini, Alfonso Capozzoli, Daniele Bernardini, and Alberto Bemporad. 2018. “Model Predictive Control (MPC) for Enhancing Building and HVAC System Energy Efficiency: Problem Formulation, Applications and Opportunities.” Energies 11 (3): 631. https://doi.org/10.3390/en11030631.
  • Smarra, Francesco, Achin Jain, Tullio De Rubeis, Dario Ambrosini, Alessandro D'Innocenzo, and Rahul Mangharam. 2018. “Data-Driven Model Predictive Control Using Random Forests for Building Energy Optimization and Climate Control.” Applied Energy 226(2018):1252–1272. https://doi.org/10.1016/j.apenergy.2018.02.126.
  • Valverde, Gustavo, and Thierry Van Cutsem. 2013. “Model Predictive Control of Voltages in Active Distribution Networks.” IEEE Transactions on Smart Grid 4 (4): 2152–2161. https://doi.org/10.1109/TSG.2013.2246199.
  • Wächter, Andreas. 2009. “Short Tutorial: Getting Started with Ipopt in 90 Minutes.” In Dagstuhl Seminar Proceedings. Schloss Dagstuhl, Germany: Schloss Dagstuhl-Leibniz-Zentrum für Informatik.
  • Wetter, Michael, Wangda Zuo, Thierry S. Nouidui, and Xiufeng Pang. 2014. “Modelica Buildings Library.” Journal of Building Performance Simulation 7 (4): 253–270. https://doi.org/10.1080/19401493.2013.765506.
  • Yang, Tao, YangYang Fu, Zheng O'Neill, Rich Kimball, and Jin Wen. 2023. “An Adaptive Model-Predictive Control Informed Rule-Based Control for Residential Cooling Operations Under Extreme Weather Events.” ASHRAE Transactions 129(1):331.
  • Yang, Shiyu, and Man Pun Wan. 2022. “Machine-Learning-based Model Predictive Control with Instantaneous Linearization–A Case Study on An Air-Conditioning and Mechanical Ventilation System.” Applied Energy 306(2022):118041. https://doi.org/10.1016/j.apenergy.2021.118041.