Equation-based languages– A new paradigm for building energy modeling, simulation and optimization

TitleEquation-based languages– A new paradigm for building energy modeling, simulation and optimization
Publication TypeJournal Article
Year of Publication2015
AuthorsWetter, Michael, Marco Bonvini, and Thierry Stephane Nouidui
Abstract

Most of the state-of-the-art building simulation programs implementmodels in imperative programming languages. This complicatesmodeling and excludes the use of certain efficient methods for simulationand optimization. In contrast, equation-based modeling languagesdeclare relations among variables, thereby allowing the use ofcomputer algebra to enable much simpler schematic modeling and togenerate efficient code for simulation and optimization.We contrast the two approaches in this paper. We explain howsuch manipulations support new use cases. In the first of two examples,we couple models of the electrical grid, multiple buildings,HVAC systems and controllers to test a controller that adjusts buildingroom temperatures and PV inverter reactive power to maintainpower quality. In the second example, we contrast the computingtime for solving an optimal control problem for a room-level modelpredictive controller with and without symbolic manipulations. Exploitingthe equation-based language led to 2, 200 times faster solution

LBNL Report Number

LBNL-1003383