Numerical Methods for Nonlinear Optimal Control Problems and Their Applications in Indoor Climate Control

OF THE DISSERTATION Numerical Methods for Nonlinear Optimal Control Problems and Their Applications in Indoor Climate Control by Runxin He Doctor of Philosophy in Electrical Engineering Washington University in St. Louis, August 2017 Research Advisor: Humberto Gonzalez Efficiency, comfort, and convenience are three major aspects in the design of control systems for residential Heating, Ventilation, and Air Conditioning (HVAC) units. In this dissertation, we study optimization-based algorithms for HVAC control that minimizes energy consumption while maintaining a desired temperature, or even human comfort in a room. Our algorithm uses a Computer Fluid Dynamics (CFD) model, mathematically formulated using Partial Differential Equations (PDEs), to describe the interactions between temperature, pressure, and air flow. Our model allows us to naturally formulate problems such as controlling the temperature of a small region of interest within a room, or to control the speed of the air flow at the vents, which are hard to describe using finite-dimensional Ordinary Partial Differential (ODE) models. Our results show that our HVAC control algorithms produce significant energy savings without a decrease in comfort. Also, we formulate a gradient-based estimation algorithm capable of reconstructing the states of doors in a building, as well as its temperature distribution, based on a floor plan and a set of x thermostats. The estimation algorithm solves in real time a convection-diffusion CFD model for the air flow in the building as a function of its geometric configuration. We formulate the estimation algorithm as an optimization problem, and we solve it by computing the adjoint equations of our CFD model, which we then use to obtain the gradients of the cost function with respect to the flow’s temperature and door states. We evaluate the performance of our method using simulations of a real apartment in the St. Louis area. Our results show that the estimation method is both efficient and accurate, establishing its potential for the design of smarter control schemes in the operation of high-performance buildings. The optimization problems we generate for HVAC system’s control and estimation are largescale optimal control problem. While some optimal control problems can be efficiently solved using algebraic or convex methods, most general forms of optimal control must be solved using memory-expensive numerical methods. In this dissertation we present theoretical formulations and corresponding numerical algorithms that can find optimal inputs for general dynamical systems by using direct methods. The results show these algorithms’ performance and potentials to be applied to solve large-scale nonlinear optimal control problem in real time.

[1]  G. M. Troianiello,et al.  Elliptic Differential Equations and Obstacle Problems , 1987 .

[2]  Nando de Freitas,et al.  An Introduction to MCMC for Machine Learning , 2004, Machine Learning.

[3]  Olivier Pironneau,et al.  NUMERICAL COUPLING FOR AIR FLOW COMPUTATIONS IN COMPLEX ARCHITECTURES , 2004 .

[4]  Farrokh Janabi-Sharifi,et al.  Theory and applications of HVAC control systems – A review of model predictive control (MPC) , 2014 .

[5]  Michael A. Saunders,et al.  SNOPT: An SQP Algorithm for Large-Scale Constrained Optimization , 2005, SIAM Rev..

[6]  Joseph Andrew Clarke,et al.  Energy Simulation in Building Design , 1985 .

[7]  Xiao Chen,et al.  Occupant feedback based model predictive control for thermal comfort and energy optimization: A chamber experimental evaluation , 2016 .

[8]  Vivette Girault,et al.  Finite Element Methods for Navier-Stokes Equations - Theory and Algorithms , 1986, Springer Series in Computational Mathematics.

[9]  Franz Kappel,et al.  Comparison of optimal design methods in inverse problems , 2011, Inverse problems.

[10]  Irena Lasiecka,et al.  Abstract settings for tangential boundary stabilization of Navier–Stokes equations by high- and low-gain feedback controllers , 2006 .

[11]  L. Biegler,et al.  A FAST COMPUTATIONAL FRAMEWORK FOR LARGE-SCALE MOVING HORIZON ESTIMATION , 2007 .

[12]  Petru-Daniel Morosan,et al.  Building temperature regulation using a distributed model predictive control , 2010 .

[13]  O. Sigmund,et al.  Topology optimization of channel flow problems , 2005 .

[14]  Nathan Mendes,et al.  Predictive controllers for thermal comfort optimization and energy savings , 2008 .

[15]  Jay H. Lee,et al.  Constrained linear state estimation - a moving horizon approach , 2001, Autom..

[16]  Stuart E. Dreyfus,et al.  Applied Dynamic Programming , 1965 .

[17]  Harvey Thomas Banks,et al.  Modeling and estimating uncertainty in parameter estimation , 2001 .

[18]  Humberto González,et al.  Zoned HVAC control via PDE-constrained optimization , 2015, 2016 American Control Conference (ACC).

[19]  M. Giles,et al.  Adjoint equations in CFD: duality, boundary conditions and solution behaviour , 1997 .

[20]  Johannes P. Schlöder,et al.  A real-time algorithm for moving horizon state and parameter estimation , 2011, Comput. Chem. Eng..

[21]  Anders Logg,et al.  Automated Solution of Differential Equations by the Finite Element Method: The FEniCS Book , 2012 .

[22]  Hazim B. Awbi,et al.  Application of computational fluid dynamics in room ventilation , 1989 .

[23]  Subhransu Roy,et al.  Numerical simulation of two-dimensional room air flow with and without buoyancy , 2000 .

[24]  L. Hou,et al.  Analysis and finite element approximation of optimal control problems for the stationary Navier-Stokes equations with Dirichlet controls , 1991 .

[25]  Stephen P. Banks,et al.  Global optimal feedback control for general nonlinear systems with nonquadratic performance criteria , 2004, Syst. Control. Lett..

[26]  J. Betts,et al.  MESH REFINEMENT IN DIRECT TRANSCRIPTION METHODS FOR OPTIMAL CONTROL , 1998 .

[27]  Sigurd Skogestad,et al.  Offset-free tracking of model predictive control with model mismatch : Experimental results , 2005 .

[28]  John A. Burns,et al.  High performance computing for energy efficient buildings , 2010, FIT.

[29]  Manfred Morari,et al.  Use of model predictive control and weather forecasts for energy efficient building climate control , 2012 .

[30]  C. Doering,et al.  Applied analysis of the Navier-Stokes equations: Index , 1995 .

[31]  S. Shankar Sastry,et al.  Consistent Approximations for the Optimal Control of Constrained Switched Systems - Part 1: A Conceptual Algorithm , 2013, SIAM J. Control. Optim..

[32]  Robert Mahony,et al.  Modelling and control of a quad-rotor robot , 2006 .

[33]  George M. Siouris,et al.  Applied Optimal Control: Optimization, Estimation, and Control , 1979, IEEE Transactions on Systems, Man, and Cybernetics.

[34]  M S Waring,et al.  Particle loading rates for HVAC filters, heat exchangers, and ducts. , 2008, Indoor air.

[35]  David Q. Mayne,et al.  Constrained state estimation for nonlinear discrete-time systems: stability and moving horizon approximations , 2003, IEEE Trans. Autom. Control..

[36]  G. M.,et al.  Partial Differential Equations I , 2023, Applied Mathematical Sciences.

[37]  Lino Guzzella,et al.  EKF based self-adaptive thermal model for a passive house , 2014 .

[38]  Kevin P. Murphy,et al.  Machine learning - a probabilistic perspective , 2012, Adaptive computation and machine learning series.

[39]  Kazufumi Ito,et al.  Optimal Controls of Navier--Stokes Equations , 1994 .

[40]  Britta Jänicke,et al.  The difference between the mean radiant temperature and the air temperature within indoor environments: A case study during summer conditions , 2015 .

[41]  W. Bangerth,et al.  deal.II—A general-purpose object-oriented finite element library , 2007, TOMS.

[42]  Dimitri P. Bertsekas,et al.  Dynamic Programming and Optimal Control, Two Volume Set , 1995 .

[43]  Christian Ghiaus,et al.  Optimal temperature control of intermittently heated buildings using Model Predictive Control: Part , 2012 .

[44]  Manfred Morari,et al.  Learning near-optimal decision rules for energy efficient building control , 2012, 2012 IEEE 51st IEEE Conference on Decision and Control (CDC).

[45]  Chunfeng Yang,et al.  Utilizing artificial neural network to predict energy consumption and thermal comfort level: an indoor swimming pool case study , 2014 .

[46]  L. S. Pontryagin,et al.  Mathematical Theory of Optimal Processes , 1962 .

[47]  A. W. M. Schijndel Multiphysics modeling of building physical constructions , 2011 .

[48]  Francesco Borrelli,et al.  Bilinear Model Predictive Control of a HVAC System Using Sequential Quadratic Programming , 2011 .

[49]  Francesco Borrelli,et al.  Stochastic Model Predictive Control for Building HVAC Systems: Complexity and Conservatism , 2015, IEEE Transactions on Control Systems Technology.

[50]  Jean-Pierre Raymond,et al.  Feedback Boundary Stabilization of the Two-Dimensional Navier--Stokes Equations , 2006, SIAM J. Control. Optim..

[51]  Aun-Neow Poo,et al.  Support vector regression model predictive control on a HVAC plant , 2007 .

[52]  Humberto González,et al.  Numerical synthesis of pontryagin optimal control minimizers using sampling-based methods , 2017, 2017 IEEE 56th Annual Conference on Decision and Control (CDC).

[53]  Philip Rabinowitz,et al.  Methods of Numerical Integration , 1985 .

[54]  L. Armijo Minimization of functions having Lipschitz continuous first partial derivatives. , 1966 .

[55]  Giovanni P. Galdi,et al.  An Introduction to the Mathematical Theory of the Navier-Stokes Equations: Steady-State Problems , 2011 .

[56]  Clarence W. Rowley,et al.  Model Reduction for fluids, Using Balanced Proper Orthogonal Decomposition , 2005, Int. J. Bifurc. Chaos.

[57]  John T. Betts,et al.  Practical Methods for Optimal Control and Estimation Using Nonlinear Programming , 2009 .

[58]  S. Shankar Sastry,et al.  A numerical method for the optimal control of switched systems , 2010, 49th IEEE Conference on Decision and Control (CDC).

[59]  Arnaud Doucet,et al.  A survey of convergence results on particle filtering methods for practitioners , 2002, IEEE Trans. Signal Process..

[60]  S. Gutman Identification of discontinuous parameters in flow equations , 1990 .

[61]  S. Shankar Sastry,et al.  Provably safe and robust learning-based model predictive control , 2011, Autom..

[62]  David E. Culler,et al.  Energy-Efficient Building HVAC Control Using Hybrid System LBMPC , 2012, ArXiv.

[63]  T. A. Zang,et al.  Spectral Methods: Fundamentals in Single Domains , 2010 .

[64]  J. B. Jørgensen,et al.  Numerical Methods for Large Scale Moving Horizon Estimation and Control , 2004 .

[65]  Lukas Ferkl,et al.  Model predictive control of a building heating system: The first experience , 2011 .

[66]  J. Doyle,et al.  Robust and optimal control , 1995, Proceedings of 35th IEEE Conference on Decision and Control.

[67]  L. Berkovitz Optimal Control Theory , 1974 .

[68]  John A. Burns,et al.  Control, estimation and optimization of energy efficient buildings , 2009, 2009 American Control Conference.

[69]  John A. Burns,et al.  Approximation methods for boundary control of the Boussinesq equations , 2013, 52nd IEEE Conference on Decision and Control.

[70]  W. Ziemer Weakly differentiable functions , 1989 .

[71]  Prabir Barooah,et al.  A method for model-reduction of non-linear thermal dynamics of multi-zone buildings , 2012 .

[72]  Frederick C. Michel,et al.  TWO–DIMENSIONAL COMPUTATIONAL FLUID DYNAMICS (CFD) MODELING OF AIR VELOCITY AND AMMONIA DISTRIBUTION IN A HIGH–RISETM HOG BUILDING –4050. , 2002 .

[73]  Anil V. Rao,et al.  ( Preprint ) AAS 09-334 A SURVEY OF NUMERICAL METHODS FOR OPTIMAL CONTROL , 2009 .

[74]  Standard Ashrae Thermal Environmental Conditions for Human Occupancy , 1992 .

[75]  Yeh-Liang Hsu,et al.  A Review of Accelerometry-Based Wearable Motion Detectors for Physical Activity Monitoring , 2010, Sensors.

[76]  K. Bathe,et al.  Finite element developments for general fluid flows with structural interactions , 2004 .

[77]  Lorenz T. Biegler,et al.  On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming , 2006, Math. Program..

[78]  H. González,et al.  Gradient-Based Estimation of Air Flow and Geometry Configurations in a Building Using Fluid Dynamic Adjoint Equations , 2016, 1605.05339.

[79]  Kazufumi Ito,et al.  Optimal Control of Thermally Convected Fluid Flows , 1998, SIAM J. Sci. Comput..

[80]  K. Maute,et al.  Topology optimization of flow domains using the lattice Boltzmann method , 2007 .

[81]  Claire J. Tomlin,et al.  Reaction-diffusion systems in protein networks: Global existence and identification , 2014, Syst. Control. Lett..

[82]  Arthur Gelb,et al.  Applied Optimal Estimation , 1974 .

[83]  David Q. Mayne,et al.  Constrained model predictive control: Stability and optimality , 2000, Autom..

[84]  Meinhard E. Mayer,et al.  Navier-Stokes Equations and Turbulence , 2008 .

[85]  Lei Chen,et al.  A neural network-based multi-zone modelling approach for predictive control system design in commercial buildings , 2015 .

[86]  Manfred Morari,et al.  Stochastic Model Predictive Control for Building Climate Control , 2014, IEEE Transactions on Control Systems Technology.

[87]  I. Michael Ross,et al.  A pseudospectral method for the optimal control of constrained feedback linearizable systems , 2005, Proceedings of 2005 IEEE Conference on Control Applications, 2005. CCA 2005..

[88]  Christian Ghiaus,et al.  Optimal temperature control of intermittently heated buildings using Model Predictive Control: Part I – Building modeling , 2012 .

[89]  J. Warga Relaxed variational problems , 1962 .

[90]  David E. Culler,et al.  Reducing Transient and Steady State Electricity Consumption in HVAC Using Learning-Based Model-Predictive Control , 2012, Proceedings of the IEEE.

[91]  Gongsheng Huang,et al.  Model predictive control of VAV zone thermal systems concerning bi-linearity and gain nonlinearity , 2011 .

[92]  Ivan P. Gavrilyuk,et al.  Lagrange multiplier approach to variational problems and applications , 2010, Math. Comput..

[93]  Anders Logg,et al.  The FEniCS Project Version 1.5 , 2015 .

[94]  António E. Ruano,et al.  Neural networks based predictive control for thermal comfort and energy savings in public buildings , 2012 .

[95]  Nursyarizal Mohd Nor,et al.  A review on optimized control systems for building energy and comfort management of smart sustainable buildings , 2014 .

[96]  Richard J. A. M. Stevens,et al.  Comparison between two- and three-dimensional Rayleigh–Bénard convection , 2013, Journal of Fluid Mechanics.

[97]  Sabine Fenstermacher,et al.  Numerical Approximation Of Partial Differential Equations , 2016 .

[98]  F. Brezzi,et al.  Finite dimensional approximation of nonlinear problems , 1981 .

[99]  Elijah Polak,et al.  Optimization: Algorithms and Consistent Approximations , 1997 .

[100]  Pravin Varaiya,et al.  Stochastic Systems: Estimation, Identification, and Adaptive Control , 1986 .

[101]  Kevin Weekly,et al.  Environmental sensing by wearable device for indoor activity and location estimation , 2014, IECON 2014 - 40th Annual Conference of the IEEE Industrial Electronics Society.

[102]  Manfred Morari,et al.  Learning decision rules for energy efficient building control , 2014 .

[103]  Y. Y. Belov,et al.  Inverse Problems for Partial Differential Equations , 2002 .

[104]  Neil J. Gordon,et al.  A tutorial on particle filters for online nonlinear/non-Gaussian Bayesian tracking , 2002, IEEE Trans. Signal Process..

[105]  Stephen L. Campbell,et al.  Initialization of direct transcription optimal control software , 2003, 42nd IEEE International Conference on Decision and Control (IEEE Cat. No.03CH37475).

[106]  Y Houdas,et al.  Experimental determination of coefficient of heat exchanges by convection of human body. , 1967, Journal of applied physiology.

[107]  Anastasios I. Dounis,et al.  Advanced control systems engineering for energy and comfort management in a building environment--A review , 2009 .

[108]  Zhenjun Ma,et al.  Supervisory and Optimal Control of Building HVAC Systems: A Review , 2008 .

[109]  Dudley,et al.  Real Analysis and Probability: Measurability: Borel Isomorphism and Analytic Sets , 2002 .

[110]  Stephen P. Boyd,et al.  Linear controller design: limits of performance , 1991 .

[111]  Lukas Ferkl,et al.  Optimization of Predicted Mean Vote index within Model Predictive Control framework: Computationally tractable solution , 2012 .

[112]  Max Gunzburger,et al.  Adjoint Equation-Based Methods for Control Problems in Incompressible, Viscous Flows , 2000 .

[113]  P. O. Fanger,et al.  Thermal comfort: analysis and applications in environmental engineering, , 1972 .

[114]  J. Warga Optimal control of differential and functional equations , 1972 .

[115]  S. Ravindran,et al.  A Penalized Neumann Control Approach for Solving an Optimal Dirichlet Control Problem for the Navier--Stokes Equations , 1998 .

[116]  Jean-Marie Flaus,et al.  Moving horizon state estimation with global convergence using interval techniques: application to biotechnological processes , 2003 .

[117]  Xiaoming He,et al.  Control of the Boussinesq equations with implications for sensor location in energy efficient buildings , 2012, 2012 American Control Conference (ACC).

[118]  Basel Kikhia,et al.  Optimal Placement of Accelerometers for the Detection of Everyday Activities , 2013, Sensors.

[119]  Angela Sasic Kalagasidis,et al.  HAM-Tools - An Integrated Simulation Tool for Heat, Air and Moisture Transfer Analyses in Building Physics , 2004 .

[120]  R Bellman,et al.  DYNAMIC PROGRAMMING AND LAGRANGE MULTIPLIERS. , 1956, Proceedings of the National Academy of Sciences of the United States of America.

[121]  Clifford C. Federspiel,et al.  User-Adaptable Comfort Control for HVAC Systems , 1992, 1992 American Control Conference.

[122]  P. Raviart Finite element methods and Navier-Stokes equations , 1979 .

[123]  S. Shankar Sastry,et al.  Consistent Approximations for the Optimal Control of Constrained Switched Systems - Part 2: An Implementable Algorithm , 2013, SIAM J. Control. Optim..

[124]  William L. Garrard,et al.  Design of nonlinear automatic flight control systems , 1977, Autom..