|
Calling Sequence
|
|
HAPropsSI(output, input1, value1, input2, value2, input3, value3, opts)
|
|
Parameters
|
|
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
|
|
|
|
|
Description
|
|
•
|
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
|
Description
|
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
|
Output
|
Mixture specific heat per unit humid air
|
CV
|
ha_quantity, haquantity
|
J/kg(dry_air)/K
|
Output
|
Mixture specific heat at constant volume per unit dry air
|
CVha, cv_ha
|
CVha, cv_ha
|
J/kg(humid_air)/K
|
Output
|
Mixture specific heat at constant volume per unit humid air
|
D, DewPoint, T_dp, Tdp
|
temperature_dew_point, temperaturedewpoint
|
K
|
Both
|
Dew-Point Temperature
|
Enthalpy, H, Hda
|
enthalpy, enthalpy_per_dry_air, enthalpyperdryair
|
J/kg(dry_air)
|
Both
|
Mixture enthalpy per dry air
|
Hha
|
enthalpy_per_humid_air, enthalpyperhumidair
|
J/kg(humid_air)
|
Both
|
Mixture enthalpy per humid air
|
Conductivity, K, k
|
thermal_conductivity, thermalconductivity
|
W/m/K
|
Output
|
Mixture thermal conductivity
|
M, Visc, mu
|
viscosity
|
Pa*s
|
Output
|
Mixture viscosity
|
Y, psi_w
|
water_fraction, water_mole_fraction, waterfraction, watermolefraction
|
mol(water)/mol(humid_air)
|
Both
|
Water mole fraction
|
P
|
pressure
|
Pa
|
Input
|
Pressure
|
P_w
|
water_vapor_pressure, water_vapour_pressure, watervaporpressure, watervapourpressure
|
Pa
|
Input
|
Partial pressure of water vapor
|
R, RH, RelHum
|
humidity, relative_humidity, relativehumidity
|
-
|
Both
|
Relative humidity in [0, 1]
|
Entropy, S, Sda
|
entropy, entropy_per_dry_air, entropyperdryair
|
J/kg(dry_air)/K
|
Both
|
Mixture entropy per unit dry air
|
Sha
|
entropy_per_humid_air, entropyperhumidair
|
J/kg(humid_air)/K
|
Both
|
Mixture entropy per unit humid air
|
T, T_db, Tdb
|
temperature_dry_bulb, temperaturedrybulb
|
K
|
Both
|
Dry-Bulb Temperature
|
V, Vda
|
volume, volume_per_dry_air, volumeperdryair
|
m^3/kg(dry_air)
|
Both
|
Mixture volume per unit dry air
|
Vha
|
volume_per_humid_air, volumeperhumidair
|
m^3/kg(humid_air)
|
Both
|
Mixture volume per unit humid air
|
HumRat, Omega, W
|
humidity_ratio, humidityratio
|
kg(water)/kg(dry_air)
|
Both
|
Humidity Ratio
|
Z
|
compressibility_factor, compressibilityfactor
|
-
|
Output
|
Compressibility factor ()
|
|
|
|
|
Examples
|
|
>
|
|
| (1) |
| (2) |
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%.
>
|
|
| (3) |
The temperature of saturated air at the previous enthalpy.
>
|
|
The order of the inputs does not matter.
>
|
|
If you supply units for some of the inputs, the result has units, too.
>
|
|
Unless you supply the useunits = false option.
>
|
|
|
|
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][HAPropsSI] command was introduced in Maple 2016.
|
|
|
|