PhaseSI - Maple Help

ThermophysicalData[CoolProp]

 PhaseSI
 access CoolProp phase data in string form

 Calling Sequence PhaseSI(input1, value1, input2, value2, fluid)

Parameters

 input1, input2 - symbol or string giving the input quantities value1, value2 - real numbers for the input quantities, optionally with unit fluid - symbol or string representing the medium

Description

 • The PhaseSI function interrogates the CoolProp library for phase information. The CoolProp library really only deals with fluid phases; it knows when a fluid transitions between liquid and gas, for example, but not when it transitions between liquid and solid.
 • This is the same information as returned by the PropsSI command for the output Phase, but the PropsSI command returns this as a numerical constant, whereas PhaseSI returns it as a string.
 • The entries in the Quantity and Maple-specific aliases columns of the following table can be used for input1 and input2. Only some combinations of these inputs will work. For input1 and input2, the quantities can be entered as strings or symbols. If a variable with the same name is already in use, it is best to use a string or to use unevaluation quotes to prevent evaluation of the variable name. In almost all circumstances, you can use either one of the names used by the CoolProp library, or an alias defined by the Maple package.
 • For value1 and value2, you should use real constants. Optionally, you can affix a unit to the value you give; the default unit for any quantity is given in the Unit column of the following table.

 Quantity Maple-specific aliases Unit Description DELTA, Delta reduceddensity, reduced_density - Reduced density (rho/rhoc) DMOLAR, Dmolar molardensity, molar_density mol/m^3 Molar density D, DMASS, Dmass density, mass_density, massdensity kg/m^3 Mass density HMOLAR, Hmolar molar_specific_enthalpy, molarspecificenthalpy J/mol Molar specific enthalpy H, HMASS, Hmass massspecificenthalpy, enthalpy, mass_specific_enthalpy J/kg Mass specific enthalpy P pressure Pa Pressure Q mass_vapor_quality, massvaporquality, vapor_quality, vapour_quality, mass_vapour_quality, massvapourquality, vapourquality, vaporquality - Mass vapor quality SMOLAR, Smolar molar_specific_entropy, molarspecificentropy J/mol/K Molar specific entropy S, SMASS, Smass massspecificentropy, entropy, mass_specific_entropy J/kg/K Mass specific entropy TAU, Tau reciprocalreducedtemperature, reciprocal_reduced_temperature - Reciprocal reduced temperature (Tc/T) T temperature K Temperature UMOLAR, Umolar molar_specific_internal_energy, molarspecificinternalenergy J/mol Molar specific internal energy U, UMASS, Umass internal_energy, internalenergy, massspecificinternalenergy, mass_specific_internal_energy J/kg Mass specific internal energy

Examples

 > $\mathrm{with}\left(\mathrm{ThermophysicalData}\right)$
 $\left[{\mathrm{Atmosphere}}{,}{\mathrm{Chemicals}}{,}{\mathrm{CoolProp}}{,}{\mathrm{PHTChart}}{,}{\mathrm{Property}}{,}{\mathrm{PsychrometricChart}}{,}{\mathrm{TemperatureEntropyChart}}\right]$ (1)
 > $\mathrm{with}\left(\mathrm{CoolProp}\right)$
 $\left[{\mathrm{HAPropsSI}}{,}{\mathrm{PhaseSI}}{,}{\mathrm{Property}}{,}{\mathrm{Props1SI}}{,}{\mathrm{PropsSI}}\right]$ (2)

Determine the phase of water at 1 atmosphere and two different temperatures: 373 kelvin and 374 kelvin.

 > $\mathrm{PhaseSI}\left(P,101325,T,373,\mathrm{Water}\right)$
 ${"liquid"}$ (3)
 > $\mathrm{PhaseSI}\left(P,101325,T,374,\mathrm{Water}\right)$
 ${"gas"}$ (4)

References

 Bell, Ian H.; Wronski, Jorrit; Quoilin, Sylvain; and Lemort, Vincent. Pure and Pseudo-pure Fluid Thermophysical Property Evaluation and the Open-Source Thermophysical Property Library CoolProp. Industrial & Engineering Chemistry Research, Vol. 53 No. 6 (2014): 2498-2508; http://www.coolprop.org/.

Compatibility

 • The ThermophysicalData[CoolProp][PhaseSI] command was introduced in Maple 2016.