TR2018-203

Thermodynamic Property and Fluid Modeling with Modern Programming Language Constructs


    •  Otter, M., Elmqvist, H., Zimmer, D., Laughman, C.R., "Thermodynamic Property and Fluid Modeling with Modern Programming Language Constructs", International Modelica Conference, March 2019.
      BibTeX Download PDF
      • @inproceedings{Otter2019mar,
      • author = {Otter, Martin and Elmqvist, Hilding and Zimmer, Dirk and Laughman, Christopher R.},
      • title = {Thermodynamic Property and Fluid Modeling with Modern Programming Language Constructs},
      • booktitle = {International Modelica Conference},
      • year = 2019,
      • month = mar,
      • url = {https://www.merl.com/publications/TR2018-203}
      • }
  • MERL Contact:
  • Research Area:

    Multi-Physical Modeling


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.