Package: psychrolib 2.5.2

psychrolib: Psychrometric Properties of Moist and Dry Air

Implementation of 'PsychroLib' <https://github.com/psychrometrics/psychrolib> library which contains functions to enable the calculation properties of moist and dry air in both metric (SI) and imperial (IP) systems of units. References: Meyer, D. and Thevenard, D (2019) <doi:10.21105/joss.01137>.

Authors:Hongyuan Jia [aut, cre], The PsychroLib Contributors [ctb, cph], ASHRAE [cph]

psychrolib_2.5.2.tar.gz
psychrolib_2.5.2.zip(r-4.5)psychrolib_2.5.2.zip(r-4.4)psychrolib_2.5.2.zip(r-4.3)
psychrolib_2.5.2.tgz(r-4.4-x86_64)psychrolib_2.5.2.tgz(r-4.4-arm64)psychrolib_2.5.2.tgz(r-4.3-x86_64)psychrolib_2.5.2.tgz(r-4.3-arm64)
psychrolib_2.5.2.tar.gz(r-4.5-noble)psychrolib_2.5.2.tar.gz(r-4.4-noble)
psychrolib_2.5.2.tgz(r-4.4-emscripten)psychrolib_2.5.2.tgz(r-4.3-emscripten)
psychrolib.pdf |psychrolib.html
psychrolib/json (API)

# Install 'psychrolib' in R:
install.packages('psychrolib', repos = c('https://hongyuanjia.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/psychrometrics/psychrolib/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

3.30 score 2 packages 11 scripts 242 downloads 48 exports 1 dependencies

Last updated 3 years agofrom:eb2bbcc2a5 (on CRAN). Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 02 2024
R-4.5-win-x86_64OKNov 02 2024
R-4.5-linux-x86_64OKNov 02 2024
R-4.4-win-x86_64OKNov 02 2024
R-4.4-mac-x86_64OKNov 02 2024
R-4.4-mac-aarch64OKNov 02 2024
R-4.3-win-x86_64OKNov 02 2024
R-4.3-mac-x86_64OKNov 02 2024
R-4.3-mac-aarch64OKNov 02 2024

Exports:CalcPsychrometricsFromRelHumCalcPsychrometricsFromTDewPointCalcPsychrometricsFromTWetBulbGetDegreeOfSaturationGetDryAirDensityGetDryAirEnthalpyGetDryAirVolumeGetHumRatioFromEnthalpyAndTDryBulbGetHumRatioFromRelHumGetHumRatioFromSpecificHumGetHumRatioFromTDewPointGetHumRatioFromTWetBulbGetHumRatioFromVapPresGetMoistAirDensityGetMoistAirEnthalpyGetMoistAirVolumeGetRelHumFromHumRatioGetRelHumFromTDewPointGetRelHumFromTWetBulbGetRelHumFromVapPresGetSatAirEnthalpyGetSatHumRatioGetSatVapPresGetSeaLevelPressureGetSpecificHumFromHumRatioGetStandardAtmPressureGetStandardAtmTemperatureGetStationPressureGetTCelsiusFromTKelvinGetTDewPointFromHumRatioGetTDewPointFromRelHumGetTDewPointFromTWetBulbGetTDewPointFromVapPresGetTDryBulbFromEnthalpyAndHumRatioGetTDryBulbFromMoistAirVolumeAndHumRatioGetTFahrenheitFromTRankineGetTKelvinFromTCelsiusGetTRankineFromTFahrenheitGetTWetBulbFromHumRatioGetTWetBulbFromRelHumGetTWetBulbFromTDewPointGetUnitSystemGetVaporPressureDeficitGetVapPresFromHumRatioGetVapPresFromRelHumGetVapPresFromTDewPointisIPSetUnitSystem

Dependencies:Rcpp

Readme and manuals

Help Manual

Help pageTopics
PsychroLib: Psychrometric Properties of Moist and Dry Airpsychrolib-package psychrolib
Calculate psychrometric values from relative humidity.CalcPsychrometricsFromRelHum
Calculate psychrometric values from dew-point temperature.CalcPsychrometricsFromTDewPoint
Calculate psychrometric values from wet-bulb temperature.CalcPsychrometricsFromTWetBulb
Return the degree of saturation (i.e humidity ratio of the air / humidity ratio of the air at saturation at the same temperature and pressure) given dry-bulb temperature, humidity ratio, and atmospheric pressure.GetDegreeOfSaturation
Return dry-air density given dry-bulb temperature and pressure.GetDryAirDensity
Return dry-air enthalpy given dry-bulb temperature.GetDryAirEnthalpy
Return dry-air volume given dry-bulb temperature and pressure.GetDryAirVolume
Return humidity ratio from enthalpy and dry-bulb temperature.GetHumRatioFromEnthalpyAndTDryBulb
Return humidity ratio given dry-bulb temperature, relative humidity, and pressure.GetHumRatioFromRelHum
Return the humidity ratio (aka mixing ratio) from specific humidity.GetHumRatioFromSpecificHum
Return humidity ratio given dew-point temperature and pressure.GetHumRatioFromTDewPoint
Return humidity ratio given dry-bulb temperature, wet-bulb temperature, and pressure.GetHumRatioFromTWetBulb
Return humidity ratio given water vapor pressure and atmospheric pressure.GetHumRatioFromVapPres
Return moist air density given humidity ratio, dry bulb temperature, and pressure.GetMoistAirDensity
Return moist air enthalpy given dry-bulb temperature and humidity ratio.GetMoistAirEnthalpy
Return moist air specific volume given dry-bulb temperature, humidity ratio, and pressure.GetMoistAirVolume
Return relative humidity given dry-bulb temperature, humidity ratio, and pressure.GetRelHumFromHumRatio
Return relative humidity given dry-bulb temperature and dew-point temperature.GetRelHumFromTDewPoint
Return relative humidity given dry-bulb temperature, wet bulb temperature and pressure.GetRelHumFromTWetBulb
Return relative humidity given dry-bulb temperature and vapor pressure.GetRelHumFromVapPres
Return saturated air enthalpy given dry-bulb temperature and pressure.GetSatAirEnthalpy
Return humidity ratio of saturated air given dry-bulb temperature and pressure.GetSatHumRatio
Return saturation vapor pressure given dry-bulb temperature.GetSatVapPres
Return sea level pressure given dry-bulb temperature, altitude above sea level and pressure.GetSeaLevelPressure
Return the specific humidity from humidity ratio (aka mixing ratio).GetSpecificHumFromHumRatio
Return standard atmosphere barometric pressure, given the elevation (altitude).GetStandardAtmPressure
Return standard atmosphere temperature, given the elevation (altitude).GetStandardAtmTemperature
Return station pressure from sea level pressure.GetStationPressure
Utility function to convert temperature to degree Celsius (degreeC) given temperature in Kelvin (K).GetTCelsiusFromTKelvin
Return dew-point temperature given dry-bulb temperature, humidity ratio, and pressure.GetTDewPointFromHumRatio
Return dew-point temperature given dry-bulb temperature and relative humidity.GetTDewPointFromRelHum
Return dew-point temperature given dry-bulb temperature, wet-bulb temperature, and pressure.GetTDewPointFromTWetBulb
Return dew-point temperature given dry-bulb temperature and vapor pressure.GetTDewPointFromVapPres
Return dry bulb temperature from enthalpy and humidity ratio.GetTDryBulbFromEnthalpyAndHumRatio
Return dry-bulb temperature given moist air specific volume, humidity ratio, and pressure.GetTDryBulbFromMoistAirVolumeAndHumRatio
Utility function to convert temperature to degree Fahrenheit (degreeF) given temperature in degree Rankine (degreeR).GetTFahrenheitFromTRankine
Utility function to convert temperature to Kelvin (K) given temperature in degree Celsius (degreeC).GetTKelvinFromTCelsius
Utility function to convert temperature to degree Rankine (degreeR) given temperature in degree Fahrenheit (degreeF).GetTRankineFromTFahrenheit
Return wet-bulb temperature given dry-bulb temperature, humidity ratio, and pressure.GetTWetBulbFromHumRatio
Return wet-bulb temperature given dry-bulb temperature, relative humidity, and pressure.GetTWetBulbFromRelHum
Return wet-bulb temperature given dry-bulb temperature, dew-point temperature, and pressure.GetTWetBulbFromTDewPoint
Return system of units in use.GetUnitSystem
Return Vapor pressure deficit given dry-bulb temperature, humidity ratio, and pressure.GetVaporPressureDeficit
Return vapor pressure given humidity ratio and pressure.GetVapPresFromHumRatio
Return partial pressure of water vapor as a function of relative humidity and temperature.GetVapPresFromRelHum
Return vapor pressure given dew point temperature.GetVapPresFromTDewPoint
Check whether the system in use is IP or SI.isIP
Set the system of units to use (SI or IP).SetUnitSystem