The ThermoCycle library is an open-source library for dynamic modelling of ORC systems developed in the Modelica language. The library aims at providing a robust framework to model thermal systems, including ORC systems.

Thermodynamic properties of organic fluids require complex equations of state available only in external libraries such as FluidProp, Refprop or CoolProp. Thermodynamic properties in the ThermoCycle library are computed using the open-source library CoolProp. The interface between ThermoCycle and CoolProp on the Modelica level is ensured by the CoolProp2Modelica library, which is based on a modified version of the External Media library.


The CoolProp2Modelica library is the interface between Modelica and CoolProp.

The library requires the CoolProp Modelica wrapper to be installed on the target system. This wrapper can be downloaded and compiled from the CoolProp website http://www.http://coolprop.sourceforge.net/. Pre-compiled versions using VisualStudio2010 and VisualStudio2008 have also been made available. Once downloaded the CoolPropLib.lib file has to be copied in the “Dymola \ bin\lib\” folder of the Dymola installation, usually in C:\Program Files\ .


The library is composed by 7 top-level package which are listed below:

  • Components
  • Examples
  • Functions
  • Icons
  • Interfaces
  • Media
  • Obsolete

  • Components is the central part of the library. It is organized in three sub-package: FluidFlow, HeatFlow and Units. It contains all the models available in the library from the simple cell model for fluid flow to complete model of heat exchangers, expanders and control unit.
  • Examples contains models where the components of the library can be tested. It includes several ORC plant models and it also provides a step by step procedure to build an ORC power unit.
  • Functions are the empirical correlations used to characterized some of the models presents in the library.
  • Icons define the graphical interface for some of the models in the library
  • Interfaces define the type of connectors used in the library. The flow connectors are available for compressible, incompressible and perfect fluid model.
  • Media contains a list of some of the fluid available in the library. The CoolProp2Modelica library is anyway necessary to allow the coupling with CoolProp for computing the thermo-physical and transport properties of the fluids.
  • Obsolete is a storage of some old models that are replaced by new ones during the development of the library but that are still used in some examples.


IconsIcons for the ORC components, copied from the ThermoPower library
ObsoletePackage with all the obsolete compoennts including the date of their phasing out

Generated at 2024-06-24T18:16:00Z by OpenModelicaOpenModelica 1.22.4 using GenerateDoc.mos