# Modeling and Optimal Control Algorithm Design for HVAC Systems in Energy Efficient Buildings

### Mehdi Maasoumy Haghighi

###
EECS Department

University of California, Berkeley

Technical Report No. UCB/EECS-2011-12

February 10, 2011

### http://www.eecs.berkeley.edu/Pubs/TechRpts/2011/EECS-2011-12.pdf

This report focuses on modeling the thermal behavior of buildings and designing an optimal control algorithm for their HVAC systems. The problem of developing a good model to capture the heat storage and heat transmission properties of building thermal elements such as rooms and walls is addressed by using the lumped capacitance method. The equations governing the system dynamics are derived using the thermal circuit approach, and by de ning equivalent thermal masses, thermal resistors and thermal capacitors. In the control design part, we have introduced a new hierarchical control algorithm which is composed of lower level PID controllers and a higher level LQR controller. The optimal tracking problem is solved in the higher level controller where the interconnection of all the rooms and the walls are taken into consideration. The LQR controller minimizes a quadratic cost function which has two quadratic terms. One takes into account the comfort level and the other represents the control enullort, i.e. the energy consumed to operate the HVAC system. There are two tuning parameters as the weight matrices for each of these two terms by which the performance of the controller can be tuned in different operating conditions. Simulation results show how much energy can be saved using this algorithm.

BibTeX citation:

@mastersthesis{Maasoumy Haghighi:EECS-2011-12, Author = {Maasoumy Haghighi, Mehdi}, Editor = {Sangiovanni-Vincentelli, Alberto L.}, Title = {Modeling and Optimal Control Algorithm Design for HVAC Systems in Energy Efficient Buildings}, School = {EECS Department, University of California, Berkeley}, Year = {2011}, Month = {Feb}, URL = {http://www.eecs.berkeley.edu/Pubs/TechRpts/2011/EECS-2011-12.html}, Number = {UCB/EECS-2011-12}, Abstract = {This report focuses on modeling the thermal behavior of buildings and designing an optimal control algorithm for their HVAC systems. The problem of developing a good model to capture the heat storage and heat transmission properties of building thermal elements such as rooms and walls is addressed by using the lumped capacitance method. The equations governing the system dynamics are derived using the thermal circuit approach, and by dening equivalent thermal masses, thermal resistors and thermal capacitors. In the control design part, we have introduced a new hierarchical control algorithm which is composed of lower level PID controllers and a higher level LQR controller. The optimal tracking problem is solved in the higher level controller where the interconnection of all the rooms and the walls are taken into consideration. The LQR controller minimizes a quadratic cost function which has two quadratic terms. One takes into account the comfort level and the other represents the control eort, i.e. the energy consumed to operate the HVAC system. There are two tuning parameters as the weight matrices for each of these two terms by which the performance of the controller can be tuned in different operating conditions. Simulation results show how much energy can be saved using this algorithm.} }

EndNote citation:

%0 Thesis %A Maasoumy Haghighi, Mehdi %E Sangiovanni-Vincentelli, Alberto L. %T Modeling and Optimal Control Algorithm Design for HVAC Systems in Energy Efficient Buildings %I EECS Department, University of California, Berkeley %D 2011 %8 February 10 %@ UCB/EECS-2011-12 %U http://www.eecs.berkeley.edu/Pubs/TechRpts/2011/EECS-2011-12.html %F Maasoumy Haghighi:EECS-2011-12