HVAC and Control Templates for the Modelica Buildings Library

Authors

  • Antoine Gautier
  • Michael Wetter
  • Jianjun Hu
  • Hubertus Tummescheit

DOI:

https://doi.org/10.3384/ecp204217

Keywords:

Modelica Buildings Library, template, class parameterization

Abstract

This article reports on our experience in creating Modelica models for systems with thousands of configurations and closed-loop controls. The development of such templates required exploration of class parameterization techniques and data structures for handling large sets of equipment parameters. By describing these issues and the approach taken, we show how the Modelica language can support advanced templating logic. The main limitation we encountered relates to parameter assignment and propagation. The interpretation of parameter attributes at user interface runtime, or the handling of non-trivial constructs involving record classes at compile time is not consistently supported by Modelica tools. This leads to choices that are difficult to make when looking for a generic implementation.

Downloads

Published

2023-12-22