HVAC and Control Templates for the Modelica Buildings Library

Publication Type
Conference Paper
Authors
DOI
10.3384/ecp204217
Abstract

This article reports on our experience in creating Modelica classes that serve as templates for modeling HVAC systems with thousands of configurations and closed-loop controls. Our motivation is to reduce model creation and parameterization time, provide access to state-of-the-art control sequences, while limiting the risk of error and enforcing modeling best practices. 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.

Conference Name
15th International Modelica Conference 2023, Aachen, October 9-11Proceedings of the 15th International Modelica Conference 2023, Aachen, October 9-11
Volume
204
Year of Publication
2023
Publisher
Linköping University Electronic Press
URL
Refereed Designation
Unknown
Keywords
Organizations
Research Areas
File(s)
Download citation