DOE PAGES title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: 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:
 [1];  [1];  [1]
  1. 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}
}

Journal Article:

Citation Metrics:
Cited by: 62 works
Citation information provided by
Web of Science

Save / Share:

Works referenced in this record:

Robust on-line fault detection diagnosis for HVAC components based on nonlinear state estimation techniques
journal, July 2014


A vision for building performance simulation: a position paper prepared on behalf of the IBPSA Board
journal, February 2015


Experimental analysis of model predictive control for an energy efficient building heating system
journal, September 2011


Modelica-based modelling and simulation to support research and development in building energy and control systems
journal, May 2009


Modelica Buildings library
journal, March 2013

  • Wetter, Michael; Zuo, Wangda; Nouidui, Thierry S.
  • Journal of Building Performance Simulation, Vol. 7, Issue 4
  • DOI: 10.1080/19401493.2013.765506

A comparison of deterministic and probabilistic optimization algorithms for nonsmooth simulation-based optimization
journal, August 2004


Quantization-Based Simulation of Differential Algebraic Equation Systems
journal, July 2003


Linearly implicit quantization-based integration methods for stiff ordinary differential equations
journal, June 2013


Development and integration of an equation-solving program for engineering thermodynamics courses: EES FOR ENGINEERING THERMODYNAMICS
journal, January 1993


A stand-alone quantized state system solver for continuous system simulation
journal, June 2014


Modeling and optimization with Optimica and JModelica.org—Languages and tools for solving large-scale dynamic optimization problems
journal, November 2010


BuildOpt—a new building energy simulation program that is built on smooth models
journal, August 2005


On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming
journal, April 2005


Options for Control of Reactive Power by Distributed Photovoltaic Generators
journal, June 2011


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


Implementation and verification of the IDEAS building energy simulation library
journal, February 2018


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


A Bayesian Network model for predicting cooling load of commercial buildings
journal, June 2017


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
  • DOI: 10.3390/en11102604

Model implementation and verification of the envelope, HVAC and controller of an office building in Modelica
journal, December 2018


Building simulation: Ten challenges
journal, April 2018


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
  • DOI: 10.1063/1.5053110

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
  • DOI: 10.1080/19401493.2019.1597923

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
  • DOI: 10.3390/en9110915

Dynamic equation-based thermo-hydraulic pipe model for district heating and cooling systems
journal, November 2017


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
  • DOI: 10.3384/ecp19157139

Modeling and simulation of large-scale Systems: a systematic comparison of modeling paradigms
preprint, January 2019