MultiComponentMultiPhase - A Framework for Thermodynamic Properties in Modelica

Johan Windahl
Modelon AB, Lund, Sweden

Katrin Prölss
Modelon AB, Lund, Sweden

Maarten Bosmans
VORtech, Delft, The Netherlands

Hubertus Tummescheit
Modelon AB, Lund, Sweden

Eli van Es
VORtech, Delft, The Netherlands

Awin Sewgobind
VORtech, Delft, The Netherlands

Ladda ner artikelhttp://dx.doi.org/10.3384/ecp15118653

Ingår i: Proceedings of the 11th International Modelica Conference, Versailles, France, September 21-23, 2015

Linköping Electronic Conference Proceedings 118:70, s. 653-662

Visa mer +

Publicerad: 2015-09-18

ISBN: 978-91-7685-955-1

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


This paper describes the development and requirement specification of an open-source framework for multi-phase multi-component thermo properties in Modelica. The goal is to have a standardized interface to multi-component multi-phase fluids with access to external property packages in Modelica. This will make it easier to develop models for e.g. the process industry. The library uses a model based interface and implications of such a design are analyzed and compared with the traditional function based interface. The work has been carried out in collaboration with Modelon AB and VORtech within the umbrella of Methods and tools as part of the CleanSky SGO project.


CAPE-OPEN; FluidProp; RefProp; fluid properties; flash calculations


Ali Baharev and Arnold Neumaier. Chemical Process Modeling in Modelica, Proceedings of the 9th International Modelica 2012 Conference, Munich, Germany, September 3-5 2012.

Stephen Boyd and Lieven VandenBerghe. Convex Optimization, Cambridge University Press.

CAPE OPEN, Thermodynamic and Physical Properties v1.1, May 2011, Downloaded from http://www.colan.org (accessed 2015-05-17).

Francesco Casella and Christoph Richter, ExternalMedia: A Library for Easy Re-Use of External Fluid Property Code in Modelica, Modelica Conference Proceedings, 2008.

Colan, http://www.colan.org/index-16.html, accessed 2015-05-17.

Karin Dietl, Kilian Link and Gerard Schmitz. Thermal Separation Library: Examples of Use, Proceedings of the 8th International Modelica 2011 Conference, Dresden, Germany, March 20-22 2011.

Fluid property library; a common interface to various stateof-the-art thermodynamic and transport property models. http://www.asimptote.nl/software/fluidprop/ (accessed 2015-05-17).

Johannes Gernert, Andreas Jäger and Roland Span. Calculation of phase equilibria for multi-component mixtures using highly accurate Helmholtz energy equations of state, Fluid Phase Equilibria 375 (2014) 209–218.

Lemmon, E.W., Huber, M.L., McLinden, M.O. NIST Standard Reference Database 23: Reference Fluid Thermodynamic and Transport Properties-REFPROP, Version 9.1, National Institute of Standards and Technology, Standard Reference Data Program, Gaithersburg, 2013.

James C. M. Li, Clapeyron Equation for MultiComponent Systems, The Journal of Chemical Physics volume 25. number 3 september. 1956.

Hans Lämås, Algorithms for Multi-component Phase Equilibrium Models in Modelica, MSc Thesis, Chalmers University of Technology, Gothenburg, Sweden, 2012.

Yasaman Mirsadraee. Dynamic modeling and simulation of a cryogenic air separation plant, Msc Thesis, Linköping, Sweden, 2012

J.M. Mollerup and M.L. Michelsen. Calculation of Thermodynamic Equilibrium Properties, Fluid Phase Equilibria 74 (1992) 1–15. 1992

W Morton. Equation oriented simulation and optimization, Proc Indian Natn Sci Acad 69, (2003) pp. 317-357. 2003

Hans Olsson, Hubertus Tummescheit and Hilding Elmqvist. Using Automatic Differentiation for Partial Derivatives of Functions in Modelica, Proceedings of the 4th International Modelica 2005 Conference, Hamburg, Germany, March 7-8 2005.

Vipul Parekh and Paul Mathias, Efficient flash calculations for chemical process design – extension to the Boston-Britt Inside-Out flash algorithm to extreme conditions and new flash types, Computers and chemical engineering, vol 22 pp 1371-1380 (1998)

Modelica Association, Modelica Language Specification, Version 3.3, 2015 https://www.modelica.org/documents/ModelicaSpec33.pdf, accessed 2015-05-17.

Modelica Association Libraries. Available at https://www.modelica.org/libraries, accessed 2015-05-17.

C. Schultze, A Contribution to Numerically Efficient Modelling of Thermodynamic Systems, PhD thesis, Technische Universität Braunschweig, Fakultät für Maschinenbau., (2014)

Richard Szczepanski, Physical Property Modelling – MultiFlash and CAPE-OPEN. Presentation for ModelicaProp Workshop 9-10 Oct, Delft, 2013.

Mathis Thorade and Ali Saadat, Partial derivatives of thermodynamic state properties for dynamic simulation, Environ Earth Sci 70:3497–3503. 2013

C. Trapp, F.Casella, T. Stelt, P. Colonna. Use of External Fluid property Code in Modelica of a Pre-combustion Co2 Capture Process Involving Multi-Component, Two-Phase Fluids, Proceedings of the 10th International Modelica 2014 Conference, Lund, Sweden, March 10-12 2014.

Hubertus Tummescheit, Jonas Eborn, Chemical Reaction Modeling with Thermofluid/MF and MultiFlash, Proceedings of the 2nd International Modelica Conference, Munich, 2002.

K. Wellner, C. Trapp, G. Schmitz and F.Casella. Interfacing Models for Thermal Separation Processes with Fluid Property Data from External Sources, Proceedings of the 10th International Modelica 2014 Conference, Lund, Sweden, March 10-12 2014.

J.Åkesson, W. Braun, P.Lindholm, B.Bachmann, , Generation of Sparse Jacobians for the Function Mock-Up Interface 2.0, Proceedings of the 9th International Modelica Conference, Munich, 2012.

Citeringar i Crossref