Equation-based languages – A new paradigm for building energy modeling, simulation and optimization
Abstract
Most of the state-of-the-art building simulation programs implement models in imperative programming languages. This complicates modeling and excludes the use of certain efficient methods for simulation and optimization. In contrast, equation-based modeling languages declare relations among variables, thereby allowing the use of computer algebra to enable much simpler schematic modeling and to generate efficient code for simulation and optimization. We contrast the two approaches in this paper. We explain how such 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 building room temperatures and PV inverter reactive power to maintain power quality. In the second example, we contrast the computing time for solving an optimal control problem for a room-level model predictive controller with and without symbolic manipulations. As a result, exploiting the equation-based language led to 2, 200 times faster solution
- Authors:
-
- Lawrence Berkeley National Lab. (LBNL), Berkeley, CA (United States)
- Publication Date:
- Research Org.:
- Lawrence Berkeley National Laboratory (LBNL), Berkeley, CA (United States)
- Sponsoring Org.:
- USDOE Office of Energy Efficiency and Renewable Energy (EERE)
- OSTI Identifier:
- 1250902
- Alternate Identifier(s):
- OSTI ID: 1254863
- Report Number(s):
- LBNL-1003383
Journal ID: ISSN 0378-7788; ir:1003383
- Resource Type:
- Accepted Manuscript
- Journal Name:
- Energy and Buildings
- Additional Journal Information:
- Journal Volume: 117; Journal Issue: C; Journal ID: ISSN 0378-7788
- Publisher:
- Elsevier
- Country of Publication:
- United States
- Language:
- English
- Subject:
- 97 MATHEMATICS AND COMPUTING; 32 ENERGY CONSERVATION, CONSUMPTION, AND UTILIZATION; equation-based modeling; modelica; multi-physics simulation; smart grid; optimal control
Citation Formats
Wetter, Michael, Bonvini, Marco, and Nouidui, Thierry S. Equation-based languages – A new paradigm for building energy modeling, simulation and optimization. United States: N. p., 2016.
Web. doi:10.1016/j.enbuild.2015.10.017.
Wetter, Michael, Bonvini, Marco, & Nouidui, Thierry S. Equation-based languages – A new paradigm for building energy modeling, simulation and optimization. United States. https://doi.org/10.1016/j.enbuild.2015.10.017
Wetter, Michael, Bonvini, Marco, and Nouidui, Thierry S. Fri .
"Equation-based languages – A new paradigm for building energy modeling, simulation and optimization". United States. https://doi.org/10.1016/j.enbuild.2015.10.017. https://www.osti.gov/servlets/purl/1250902.
@article{osti_1250902,
title = {Equation-based languages – A new paradigm for building energy modeling, simulation and optimization},
author = {Wetter, Michael and Bonvini, Marco and Nouidui, Thierry S.},
abstractNote = {Most of the state-of-the-art building simulation programs implement models in imperative programming languages. This complicates modeling and excludes the use of certain efficient methods for simulation and optimization. In contrast, equation-based modeling languages declare relations among variables, thereby allowing the use of computer algebra to enable much simpler schematic modeling and to generate efficient code for simulation and optimization. We contrast the two approaches in this paper. We explain how such 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 building room temperatures and PV inverter reactive power to maintain power quality. In the second example, we contrast the computing time for solving an optimal control problem for a room-level model predictive controller with and without symbolic manipulations. As a result, exploiting the equation-based language led to 2, 200 times faster solution},
doi = {10.1016/j.enbuild.2015.10.017},
journal = {Energy and Buildings},
number = C,
volume = 117,
place = {United States},
year = {Fri Apr 01 00:00:00 EDT 2016},
month = {Fri Apr 01 00:00:00 EDT 2016}
}
Web of Science
Works referenced in this record:
Robust on-line fault detection diagnosis for HVAC components based on nonlinear state estimation techniques
journal, July 2014
- Bonvini, Marco; Sohn, Michael D.; Granderson, Jessica
- Applied Energy, Vol. 124
A vision for building performance simulation: a position paper prepared on behalf of the IBPSA Board
journal, February 2015
- Clarke, Joe
- Journal of Building Performance Simulation, Vol. 8, Issue 2
Experimental analysis of model predictive control for an energy efficient building heating system
journal, September 2011
- Široký, Jan; Oldewurtel, Frauke; Cigler, Jiří
- Applied Energy, Vol. 88, Issue 9
Modelica-based modelling and simulation to support research and development in building energy and control systems
journal, May 2009
- Wetter, Michael
- Journal of Building Performance Simulation, Vol. 2, Issue 2
Modelica Buildings library
journal, March 2013
- Wetter, Michael; Zuo, Wangda; Nouidui, Thierry S.
- Journal of Building Performance Simulation, Vol. 7, Issue 4
A comparison of deterministic and probabilistic optimization algorithms for nonsmooth simulation-based optimization
journal, August 2004
- Wetter, Michael; Wright, Jonathan
- Building and Environment, Vol. 39, Issue 8
Quantization-Based Simulation of Differential Algebraic Equation Systems
journal, July 2003
- Kofman, Ernesto
- SIMULATION, Vol. 79, Issue 7
Linearly implicit quantization-based integration methods for stiff ordinary differential equations
journal, June 2013
- Migoni, Gustavo; Bortolotto, Mario; Kofman, Ernesto
- Simulation Modelling Practice and Theory, Vol. 35
Development and integration of an equation-solving program for engineering thermodynamics courses: EES FOR ENGINEERING THERMODYNAMICS
journal, January 1993
- Klein, S. A.
- Computer Applications in Engineering Education, Vol. 1, Issue 3
A stand-alone quantized state system solver for continuous system simulation
journal, June 2014
- Fernández, Joaquín; Kofman, Ernesto
- SIMULATION, Vol. 90, Issue 7
Modeling and optimization with Optimica and JModelica.org—Languages and tools for solving large-scale dynamic optimization problems
journal, November 2010
- Åkesson, J.; Årzén, K. -E.; Gäfvert, M.
- Computers & Chemical Engineering, Vol. 34, Issue 11
BuildOpt—a new building energy simulation program that is built on smooth models
journal, August 2005
- Wetter, Michael
- Building and Environment, Vol. 40, Issue 8
On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming
journal, April 2005
- Wächter, Andreas; Biegler, Lorenz T.
- Mathematical Programming, Vol. 106, Issue 1
Options for Control of Reactive Power by Distributed Photovoltaic Generators
journal, June 2011
- Turitsyn, Konstantin; Sulc, Petr; Backhaus, Scott
- Proceedings of the IEEE, Vol. 99, Issue 6
Works referencing / citing this record:
Energy performance gap of a nearly Zero Energy Building (nZEB) in Denmark: the influence of occupancy modelling
journal, January 2020
- Carpino, C.; Loukou, E.; Heiselberg, P.
- Building Research & Information, Vol. 48, Issue 8
Implementation and verification of the IDEAS building energy simulation library
journal, February 2018
- Jorissen, F.; Reynders, G.; Baetens, R.
- Journal of Building Performance Simulation, Vol. 11, Issue 6
IBPSA Project 1: BIM/GIS and Modelica framework for building and community energy system design and operation – ongoing developments, lessons learned and challenges
journal, August 2019
- Wetter, M.; van Treeck, C.; Helsen, L.
- IOP Conference Series: Earth and Environmental Science, Vol. 323
A Bayesian Network model for predicting cooling load of commercial buildings
journal, June 2017
- Huang, Sen; Zuo, Wangda; Sohn, Michael D.
- Building Simulation, Vol. 11, Issue 1
Intelligent Systems for Building Energy and Occupant Comfort Optimization: A State of the Art Review and Recommendations
journal, September 2018
- Boodi, Abhinandana; Beddiar, Karim; Benamour, Malek
- Energies, Vol. 11, Issue 10
Model implementation and verification of the envelope, HVAC and controller of an office building in Modelica
journal, December 2018
- Jorissen, F.; Boydens, W.; Helsen, L.
- Journal of Building Performance Simulation, Vol. 12, Issue 4
Building simulation: Ten challenges
journal, April 2018
- Hong, Tianzhen; Langevin, Jared; Sun, Kaiyu
- Building Simulation, Vol. 11, Issue 5
Energy performance optimization in buildings: A review on semantic interoperability, fault detection, and predictive control
journal, December 2018
- Benndorf, Gesa A.; Wystrcil, Dominik; Réhault, Nicolas
- Applied Physics Reviews, Vol. 5, Issue 4
Assessing scalability of a low-voltage distribution grid co-simulation through functional mock-up interface
journal, April 2019
- Reinbold, Vincent; Protopapadaki, Christina; Tavella, Jean-Philippe
- Journal of Building Performance Simulation, Vol. 12, Issue 5
A Procedure to Perform Multi-Objective Optimization for Sustainable Design of Buildings
journal, November 2016
- Brunelli, Cristina; Castellani, Francesco; Garinei, Alberto
- Energies, Vol. 9, Issue 11
Model implementation and verification of the envelope, HVAC and controller of an office building in Modelica
text, January 2018
- Jorissen, F.; Boydens, W.; Helsen, L.
- Taylor & Francis
IBPSA Project 1: BIM/GIS and Modelica framework for building and community energy system design and operation - ongoing developments, lessons learned and challenges
text, January 2019
- Wetter, Michael; Van Treeck, Christoph Alban; Helsen, Lieve
- RWTH Aachen University
Model implementation and verification of the envelope, HVAC and controller of an office building in Modelica
text, January 2018
- Jorissen, F.; Boydens, W.; Helsen, L.
- Taylor & Francis
Practical factors of envelope model setup and their effects on the performance of model predictive control for building heating, ventilating, and air conditioning systems
journal, February 2019
- Blum, D. H.; Arendt, K.; Rivalin, L.
- Applied Energy, Vol. 236
Dynamic equation-based thermo-hydraulic pipe model for district heating and cooling systems
journal, November 2017
- van der Heijde, B.; Fuchs, M.; Ribas Tugores, C.
- Energy Conversion and Management, Vol. 151
Integrated Modelica Model and Model Predictive Control of a Terraced House Using IDEAS
conference, February 2019
- Jorissen, Filip; Helsen, Lieve
- Linköping Electronic Conference Proceedings
Modeling and simulation of large-scale Systems: a systematic comparison of modeling paradigms
preprint, January 2019
- Schweiger, Gerald; Nilsson, Henrik; Schoeggl, Josef
- arXiv