skip to main content


Title: Modelica buildings library

This paper describes the Buildings library, a free open-source library that is implemented in Modelica, an equation-based object-oriented modeling language. The library supports rapid prototyping, as well as design and operation of building energy and control systems. First, we describe the scope of the library, which covers HVAC systems, multi-zone heat transfer and multi-zone airflow and contaminant transport. Next, we describe differentiability requirements and address how we implemented them. We describe the class hierarchy that allows implementing component models by extending partial implementations of base models of heat and mass exchangers, and by instantiating basic models for conservation equations and flow resistances. We also describe associated tools for pre- and post-processing, regression tests, co-simulation and real-time data exchange with building automation systems. Furthermore, the paper closes with an example of a chilled water plant, with and without water-side economizer, in which we analyzed the system-level efficiency for different control setpoints.
 [1] ;  [1] ;  [1] ;  [1]
  1. Lawrence Berkeley National Lab. (LBNL), Berkeley, CA (United States)
Publication Date:
Report Number(s):
Journal ID: ISSN 1940-1493; ir:1002944
Accepted Manuscript
Journal Name:
Journal of Building Performance Simulation
Additional Journal Information:
Journal Volume: 7; Journal Issue: 4; Journal ID: ISSN 1940-1493
Taylor & Francis
Research Org:
Lawrence Berkeley National Lab. (LBNL), Berkeley, CA (United States)
Sponsoring Org:
Country of Publication:
United States
42 ENGINEERING; 97 MATHEMATICS AND COMPUTING; equation-based; object-oriented; modular modelling; building simulation; co-simulation
OSTI Identifier: