Conference article

Thermodynamic Property and Fluid Modeling with Modern Programming Language Construct

Martin Otter
DLR - Institute of System Dynamics and Control, Germany

Hilding Elmqvist
Mogram AB, Magle Lilla Kyrkogata 24, 223 51 Lund, Sweden

Dirk Zimmer
DLR - Institute of System Dynamics and Control, Germany

Christopher Laughman
Mitsubishi Electric Research Laboratories, Cambridge, MA, USA

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

Published in: Proceedings of the 13th International Modelica Conference, Regensburg, Germany, March 4–6, 2019

Linköping Electronic Conference Proceedings 157:60, s. 10

Show more +

Published: 2019-02-01

ISBN: 978-91-7685-122-7

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

Abstract

Modelica is used extensively to model thermo-fluid pipe networks. Experience shows that Modelica models in this domain have limitations due to missing functional expressiveness of the Modelica language. In this paper, a prototype is described that demonstrates how thermodynamic property and thermo-fluid pipe component modeling could be considerably enhanced via modern language constructs. This prototype is based on the Modia modelling and simulation prototype and relies on features of the Julia programming language. It utilizes some key ideas of Modelica.Media, and part of Modelica.Media was semi-automatically translated to Julia.

Keywords

Modelica, Modia, Julia, Modelica.Media, Modelica.Fluid, ModiaMedia, thermodynamic property models, thermo-fluid models

References

No references available

Citations in Crossref