ThermoCycle: A Modelica library for the simulation of thermodynamic systems

Sylvain Quoilin
University of Liège, Energy Systems Research Unit, Liège, Belgium

Adriano Desideri
University of Liège, Energy Systems Research Unit, Liège, Belgium

Jorrit Wronski
Department of Mechanical Engineering, Technical University of Denmark, Lyngby, Denmark

Ian Bell
University of Liège, Energy Systems Research Unit, Liège, Belgium

Vincent Lemort
University of Liège, Energy Systems Research Unit, Liège, Belgium

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

Ingår i: Proceedings of the 10th International Modelica Conference; March 10-12; 2014; Lund; Sweden

Linköping Electronic Conference Proceedings 96:72, s. 683-692

Visa mer +

Publicerad: 2014-03-10

ISBN: 978-91-7519-380-9

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


This paper presents the results of an on-going project to develop ThermoCycle; an open Modelica library for the simulation of low-capacity thermodynamic cycles and thermal systems. Special attention is paid to robustness and simulation speed since dynamic simulations are often limited by numerical constraints and failures; either during initialization or during integration. Furthermore; the use of complex equations of state (EOS) to compute thermodynamic properties significantly decreases the simulation speed. In this paper; the approach adopted in the library to overcome these challenges is presented and discussed.


Thermodynamic systems; numerical methods; simulation speed; robustness


[1] Ian H. Bell, Jorrit Wronski, Sylvain Quoilin, and Vincent Lemort. Pure- and Pseudo-Pure Fluid Thermophysical Property Evaluation and the Open-Source Thermophysical Property Library CoolProp. Industrial & Engineering Chemistry Research, 2014.

[2] J. Bonilla, L. J. Yebra, and S. Dormido. Mean densities in dynamic mathematical two-phase flow models. Computer Modeling in Engineering and Sciences (CMES), 67(1):13, 2010.

[3] F. Burkholder and C. Kutscher. Heat loss testing of schott’s 2008 ptr70 parabolic trough receiver. Technical report, NREL, 2009.

[4] F. Casella. Object-oriented modelling of twophase fluid flows by the finite volume method. Proceedings 5th Mathmod Vienna, Austria, Sep, 2006.

[5] F. Casella, J.G. van Putten, and P. Colonna. Dynamic simulation of a biomass-fired steam power plant: A comparison between causal and a-causal modular modeling IMECE2007-41091. In Proceedings of the International Mechanical Engineering Congress, volume 6, pages 205–216, 2007.

[6] Francesco Casella and Alberto Leva. Modelica open library for power plant simulation: design and experimental validation. In Proceeding of the 2003 Modelica conference, Linkoping, Sweden, 2003.

[7] Francesco Casella and Alberto Leva. Modelica open library for power plant simulation: design and experimental validation. In Proceeding of the 2003 Modelica conference, Linkoping, Sweden, 2003.

[8] Francesco Casella, Tiemo Mathijssen, Piero Colonna, and Jos van Buijtenen. Dynamic modeling of organic rankine cycle power systems. Journal of Engineering for Gas Turbines and Power, 135(4):042310, March 2013.

[9] Francesco Casella and Christoph Richter. External media: A library for easy re-use of external fluid property code in madelica. In In proceeding of the 6th International Modelica Conference, 2008.

[10] P. Colonna and T. P. van der Stelt. FluidProp: a program for the estimation of thermo physical properties of fluids. Energy Technology Section, Delft University of Technology, 2004.

[11] Sebastien Declaye, Sylvain Quoilin, Ludovic Guillaume, and Vincent Lemort. Experimental study on an open-drive scroll expander integrated into an {ORC} (organic rankine cycle) system with {R245fa} as working fluid. Energy, 55(0):173 – 183, 2013.

[12] R. Forristall. Heat transfer analysis and modeling of a parabolic trough solar receiver implemented in engineering equation solver. Technical Report Task No. CP032000, National Renewable Energy Laboratory (U.S. Department of Energy), 2003.

[13] Peter Fritzson. Principles of Object-Oriented Modeling and Simulation with Modelica 2.1. John Wiley & Sons, August 2010.

[14] L. Guangbin, Z. Yuanyang, L. Yunxia, and L. Liansheng. Simulation of the dynamic processes in a scroll expander-generator used for small-scale organic rankine cycle system. In Proceedings of the institution of Mechanical Engineers, Part A: Journal of Power and Energy, 2011.

[15] Jakob Munch Jensen. Dynamic Modeling of Thermo-fluid Systems: With Focus on Evaporators for Refrigeration : Ph.D.-thesis. Energy Engineering, Department of Mechanical Engineering, Technical University of Denmark, 2003.

[16] E.W. Lemmon, M.L. Huber, and M.O. McLinden. NIST Standard Reference Database 23: Reference Fluid Thermodynamic and Transport Properties-REFPROP. National Institute of Standards and Technology, Boulder, Colorado, 2010.

[17] Vincent Lemort, Sylvain Quoilin, Cristian Cuevas, and Jean Lebrun. Testing and modeling a scroll expander integrated into an organic rankine cycle. Applied Thermal Engineering, 29(14-15):3094–3102, 2009.

[18] E. Prabhu. Solar trough organic Rankine electricity system (STORES) stage 1: Power plant optimization and economics. Technical Report NREL/SR-550-39433, National Renewable Energy Laboratory, 2006.

[19] H. Price and V. Hassani. Modular trough power plant cycle and system analysis. Technical Report NREL/TP-550-31240, National Renewable Energy Laboratory, 2002.

[20] S. Quoilin, M. Orosz, H. Hemond, and V. Lemort. Performance and design optimization of a low-cost solar organic rankine cycle for remote power generation. Journal of Solar Energy Engineering, 85:955–966, 2011.

[21] Sylvain Quoilin. Sustainable Energy Conversion Through the Use of Organic Rankine Cycles for Waste Heat Recovery and Solar Applications. PhD thesis, University of Liege, Belgium, 2011.

[22] Sylvain Quoilin, Richard Aumann, Andreas Grill, Andreas Schuster, Vincent Lemort, and Hartmut Spliethoff. Dynamic modeling and optimal control strategy of waste heat recovery organic rankine cycles. Applied Energy, 88(6):2183–2190, 2011.

[23] Sylvain Quoilin, Ian Bell, Adriano Desideri, and Vincent Lemort. Methods to increase the robustness of finite-volume flow models in thermodynamic systems. Energies, 2014.

[24] Christian Schulze, Manuel Graber, and Wilhelm Tegethoff. A limiter for preventing singularity in simplified finite volume methods. In Mathematical Modelling, 2012.

[25] Michael Sielemann, Francesco Casella, Martin Otter, Christoph Clauß, Jonas Eborn, Sven Erik Mattsson, and Hans Olsson. Robust initialization of differential-algebraic equations using homotopy. In Proceedings of the 8th Modelica Conference, pages 21–22, Dresden, 2011.

[26] TLK Thermo GmbH. TIL Suite - Simulates Thermal Systems, April 4th 2013.

[27] Hubertus Tummescheit, Jonas Eborn, and Falko Jens Wagner. Development of a modelica base library for modeling of thermo-hydraulic systems. In Proceedings of the Modelica Workshop 2000, 2000.

[28] Jorrit Wronski, Jean-Francois Oudkerk, and Fredrik Haglind. Modelling of a small scale reciprocating ORC expander for cogeneration applications. In ASME-ORC 2013 – 2nd International Seminar on ORC Power Systems, 2013.

Citeringar i Crossref