Version 2.8

Vapor Cycle Library 2.8 is part of Modelon's 2022.1 release. New versions of Modelon's libraries are sold and distributed directly from Modelon, as well as approved resellers.

Version 2.8 contains the changes described below.

Build 1 (2022-01-25)

New features

  • Implemented Twophase stabilizer in the Pipes models. Additional dynamic states can be introduced to decouple heat flow rate and its effect on the phase boundary in the pipe flow by setting the parameter use_stabilizer_twoPhaseFraction = true. This has proven to be efficient in avoiding oscillations that may occur in some cases.
  • Added PH diagram for R32 refrigerant.


  • Improved robustness when solving pressure and enthalpy from density and temperature in all SBTL media
  • SBTL media can now compute partial derivatives and time derivatives at vapor and liquid lines.
  • Improved the documentation of Supercritical CO2-based Recompression Brayton Cycle (RCB) experiment
  • Improved the initialization by adding the RecompressionBraytonCycle initialization record for Supercritical CO2-based Recompression Brayton Cycle (RCB) experiment. Also added RecompressionBraytonCycleHTF initialization record for heat transfer fluid usage.
  • Restructured the Experiments package. The subcomponents are moved to the appropriate package now. It's easy for users to find the components used in experiments.

Fixed issues

User libraries will automatically be converted from version 2.7. These conversions are made using the included conversion script: VaporCycle/Resources/Scripts/Convert_to_2.8.mos.

Removed classes

Classes that were moved to Modelon Based Library:

  • VaporCycle.Electrical → Modelon.ThermoFluid.Electrical
  • VaporCycle.Media.TableBasedProperties.SBTL.PropaneSBTL → Modelon.Media.PreDefined.TwoPhase.PropaneSBTL
  • VaporCycle.Media.TableBasedProperties.SBTL.R1234yfSBTL → Modelon.Media.PreDefined.TwoPhase.R1234yfSBTL