ThermophysicalData[CoolProp]
HAPropsSI
access CoolProp thermophysical fluid data about humid air
Calling Sequence
Parameters
Description
Examples
References
Compatibility
HAPropsSI(output, input1, value1, input2, value2, input3, value3, opts)
output
-
symbol or string for the desired output quantity
input1, input2, input3
symbol or string giving the input quantities
value1, value2, value3
real numbers for the input quantities, optionally with unit
opts
(optional) equation of the form useunits = true or useunits = false
The HAPropsSI function interrogates the CoolProp library for thermophysical data regarding humid air.
The output parameter can be any of the thermophysical properties in the Quantity and Maple-specific aliases columns of the following table that have either Output or Both in the Input/Output column.
Quantities with either Input or Both in the Input/Output column can be used for input1, input2, and input3. Only some combinations of these quantities will work as inputs.
The quantities input1, input2, input3, and output should 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.
You should use real constants for value1, value2, and value3. You can optionally affix a unit to the values you give; the default unit for any quantity is listed in the Unit column of the following table. If you supply a unit with any of the quantities you submit, the answer will have the appropriate unit as well. This behavior can be overridden by using the useunits option: if you supply useunits = true (which can be shortened to just useunits), then the result will always have the appropriate unit, and if you supply useunits = false, the result will never have a unit.
Quantity
Maple-specific aliases
Unit
Input / Output
B, T_wb, Twb, WetBulb
temperature_wet_bulb, temperaturewetbulb
K
Both
Wet-Bulb Temperature
C, cp
specific_heat, specific_heat_per_dry_air, specificheat, specificheatperdryair
J/kg(dry_air)/K
Output
Mixture specific heat per unit dry air
Cha, cp_ha
specific_heat_per_humid_air, specificheatperhumidair
J/kg(humid_air)/K
Mixture specific heat per unit humid air
CV
ha_quantity, haquantity
Mixture specific heat at constant volume per unit dry air
CVha, cv_ha
Mixture specific heat at constant volume per unit humid air
D, DewPoint, T_dp, Tdp
temperature_dew_point, temperaturedewpoint
Dew-Point Temperature
Enthalpy, H, Hda
enthalpy, enthalpy_per_dry_air, enthalpyperdryair
J/kg(dry_air)
Mixture enthalpy per dry air
Hha
enthalpy_per_humid_air, enthalpyperhumidair
J/kg(humid_air)
Mixture enthalpy per humid air
Conductivity, K, k
thermal_conductivity, thermalconductivity
W/m/K
Mixture thermal conductivity
M, Visc, mu
viscosity
Pa*s
Mixture viscosity
Y, psi_w
water_fraction, water_mole_fraction, waterfraction, watermolefraction
mol(water)/mol(humid_air)
Water mole fraction
P
pressure
Pa
Input
Pressure
P_w
water_vapor_pressure, water_vapour_pressure, watervaporpressure, watervapourpressure
Partial pressure of water vapor
R, RH, RelHum
humidity, relative_humidity, relativehumidity
Relative humidity in [0, 1]
Entropy, S, Sda
entropy, entropy_per_dry_air, entropyperdryair
Mixture entropy per unit dry air
Sha
entropy_per_humid_air, entropyperhumidair
Mixture entropy per unit humid air
T, T_db, Tdb
temperature_dry_bulb, temperaturedrybulb
Dry-Bulb Temperature
V, Vda
volume, volume_per_dry_air, volumeperdryair
m^3/kg(dry_air)
Mixture volume per unit dry air
Vha
volume_per_humid_air, volumeperhumidair
m^3/kg(humid_air)
Mixture volume per unit humid air
HumRat, Omega, W
humidity_ratio, humidityratio
kg(water)/kg(dry_air)
Humidity Ratio
Z
compressibility_factor, compressibilityfactor
Compressibility factor (Z=p⁢vR⁢T)
with⁡ThermophysicalData
Atmosphere,Chemicals,CoolProp,PHTChart,Property,PsychrometricChart,TemperatureEntropyChart
with⁡CoolProp
HAPropsSI,PhaseSI,Property,Props1SI,PropsSI
Determine the enthalpy (J per kg dry air) as a function of temperature, pressure, and relative humidity at dry bulb temperature T of 25C, pressure P of one atmosphere, and relative humidity R of 50%.
h≔HAPropsSI⁡H,T,298.15,P,101325,R,0.5
h≔50423.4503907690087
The temperature of saturated air at the previous enthalpy.
HAPropsSI⁡T,P,101325,H,h,R,1.0
290.962092468873607
The order of the inputs does not matter.
HAPropsSI⁡T,H,h,R,1.0,P,101325
If you supply units for some of the inputs, the result has units, too.
HAPropsSI⁡T,H,h,R,1.0,P,101325⁢Unit⁡Pa
290.9620925⁢K
Unless you supply the useunits = false option.
HAPropsSI⁡T,H,h,R,1.0,P,101325⁢Unit⁡Pa,useunits=false
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/.
The ThermophysicalData[CoolProp][HAPropsSI] command was introduced in Maple 2016.
For more information on Maple 2016 changes, see Updates in Maple 2016.
See Also
ThermophysicalData
ThermophysicalData/fluids
Download Help Document