ThermophysicalData[CoolProp] - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : ThermophysicalData : CoolProp : ThermophysicalData/CoolProp/HAPropsSI

ThermophysicalData[CoolProp]

  

HAPropsSI

  

access CoolProp thermophysical fluid data about humid air

 

Calling Sequence

Parameters

Description

Examples

References

Compatibility

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, Twb, T_wb, WetBulb

temperature_wet_bulb, temperaturewetbulb

K

Both

Wet-Bulb Temperature

C, cp

specific_heat_per_dry_air, specificheatperdryair, specific_heat, specificheat

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

D, Tdp, DewPoint, T_dp

temperature_dew_point, temperaturedewpoint

K

Both

Dew-Point Temperature

H, Hda, Enthalpy

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

K, k, Conductivity

thermal_conductivity, thermalconductivity

W/m/K

Output

Mixture thermal conductivity

M, Visc, mu

viscosity

Pa*s

Output

Mixture viscosity

psi_w, Y

water_mole_fraction, watermolefraction, waterfraction, water_fraction

mol(water)/mol(humid_air)

Both

Water mole fraction

P

pressure

Pa

Input

Pressure

P_w

water_vapor_pressure, watervaporpressure, water_vapour_pressure, watervapourpressure

Pa

Input

Partial pressure of water vapor

R, RH, RelHum

relative_humidity, relativehumidity, humidity

-

Both

Relative humidity in [0, 1]

S, Sda, Entropy

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, Tdb, T_db

temperature_dry_bulb, temperaturedrybulb

K

Both

Dry-Bulb Temperature

V, Vda

volume_per_dry_air, volumeperdryair, volume

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

W, Omega, HumRat

humidity_ratio, humidityratio

kg(water)/kg(dry_air)

Both

Humidity Ratio

Z

compressibility_factor, compressibilityfactor

-

Output

Compressibility factor (Z=pvRT)

Examples

withThermophysicalData

Chemicals,CoolProp,PHTChart,Property,PsychrometricChart,TemperatureEntropyChart

(1)

withCoolProp

HAPropsSI,PhaseSI,Property,Props1SI,PropsSI

(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%.

hHAPropsSIH,T,298.15,P,101325,R,0.5

h50423.4503907690087

(3)

The temperature of saturated air at the previous enthalpy.

HAPropsSIT,P,101325,H,h,R,1.0

290.962089195154249

(4)

The order of the inputs does not matter.

HAPropsSIT,H,h,R,1.0,P,101325

290.962089195154249

(5)

If you supply units for some of the inputs, the result has units, too.

HAPropsSIT,H,h,R,1.0,P,101325UnitPa

290.9620892K

(6)

Unless you supply the useunits = false option.

HAPropsSIT,H,h,R,1.0,P,101325UnitPa,useunits=false

290.962089195154249

(7)

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.

• 

For more information on Maple 2016 changes, see Updates in Maple 2016.

See Also

ThermophysicalData

ThermophysicalData/fluids