Conference article

Design Choices for Thermofluid Flow Components and Systems that are Exported as Functional Mockup Units

Michael Wetter
Lawrence Berkeley National Laboratory, Energy Technologies Area, Building Technology and Urban Systems, Division, Simulation Research Group, Berkeley CA, USA

Marcus Fuchs
RWTH Aachen University, E.ON Energy Research Center, Institute for Energy Efficient Buildings and Indoor Climate, Aachen, Germany

Thierry S. Nouidui
Lawrence Berkeley National Laboratory, Energy Technologies Area, Building Technology and Urban Systems, Division, Simulation Research Group, Berkeley CA, USA

Download articlehttp://dx.doi.org/10.3384/ecp1511831

Published in: Proceedings of the 11th International Modelica Conference, Versailles, France, September 21-23, 2015

Linköping Electronic Conference Proceedings 118:3, p. 31-41

Show more +

Published: 2015-09-18

ISBN: 978-91-7685-955-1

ISSN: 1650-3686 (print), 1650-3740 (online)

Abstract

This paper discusses design decisions for exporting Modelica thermofluid flow components as Functional Mockup Units. The purpose is to provide guidelines that will allow building energy simulation programs and HVAC equipment manufacturers to effectively use FMUs for modeling of HVAC components and systems. We provide an analysis for direct input-output dependencies of such components and discuss how these dependencies can lead to algebraic loops that are formed when connecting thermofluid flow components. Based on this analysis, we provide recommendations that increase the computing efficiency of such components and systems that are formed by connecting multiple components. We explain what code optimizations are lost when providing thermofluid flow components as FMUs rather than Modelica code. We present an implementation of a package for FMU export of such components, explain the rationale for selecting the connector variables of the FMUs and finally provide computing benchmarks for different design choices. It turns out that selecting temperature rather than specific enthalpy as input and output signals does not lead to a measurable increase in computing time, but selecting many small FMUs rather than a large FMU considerably increases computing time.

Keywords

FMI; Modelica; thermofluid flow

References

François E. Cellier and Ernesto Kofman. Continuous System Simulation. Springer, 2006.

Rüdiger Franke, Francesco Casella, Martin Otter, Michael Sielemann, Hilding Elmqvist, Sven Erik Mattsson, and Hans Olsson. Stream connectors – an extension of modelica for device-oriented modeling of convective transport phenomena. In Francesco Casella, editor, Proc. of the 7-th International Modelica Conference, Como, Italy, September 2009. Modelica Association. URL https://www.modelica.org/events/modelica2009/Proceedings/memorystick/pages/papers/0078/0078.pdf.

Filip Jorissen, Michael Wetter, and Lieve Helsen. Simulation speed analysis and improvements of Modelica models for building energy simulation. In 11-th International Modelica Conference, Paris, France, September 2015. Modelica Association.

Modelica, 2010. Modelica – A Unified Object-Oriented Language for Physical Systems Modeling, Language Specification, Version 3.2. Modelica Association, March 2010. URL https://www.modelica.org/documents/ModelicaSpec32.pdf.

Modelica Association. Functional Mock-up Interface for Model-Exchange and Co-Simulation version 2.0, 2014. https://www.fmi-standard.org/downloads.

Claudius Ptolemaeus, editor. System Design, Modeling, and Simulation using Ptolemy II. Ptolemy.org, 2014. URL http://ptolemy.org/books/Systems.

Michael Wetter, Wangda Zuo, Thierry S. Nouidui, and Xiufeng Pang. Modelica Buildings library. Journal of Building Performance Simulation, 7(4):253–270, 2014. doi:10.1080/19401493.2013.765506.

Michael Wetter, Thierry S. Nouidui, David Lorenzetti, Edward A. Lee, and Amir Roth. Prototyping the next generation energyplus simulation engine. Accepted: 13-th IBPSA Conference. International Building Performance Simulation Association, December 2015. URL http://www.ibpsa.org/.

Citations in Crossref