classCoolProp
CoolProp medium models
Extends from Modelica.Icons.Information (Icon for general information packages).
Information
Pure (or pseudo-pure) medium models in CoolProp can be accessed by extending the ExternalMedia.Media.CoolPropMedium package.
Set substanceNames to a single-element string array containing the name of the specific medium, as specified by the CoolProp documentation. Additional flags can be passed to CoolProp by separating them from the name of the medium, e.g., "CO2|enable_BICUBIC=1" or "CO2|enable_TTSE=1|calc_transport=0". Useful flags include:
- enable_TTSE (default 0) Enables TTSE tabular interpolation
- enable_BICUBIC (default 0) Enables bicubic tabular interpolation
- calc_transport (default 1) Enables the computation of transport properties
- debug (default 0) Set the debug level, 0-1000
Set mediumName to a string that describes the medium (this only used for documentation purposes but has no effect in selecting the medium model).
See ExternalMedia.Examples for examples.