calcHumidity

0th

Percentile

Calculating Various Humidity Related Values

This set of functions calculates different humidity related values based on the given entities.

Keywords
manip
Usage
calcDewp(ta, rh)
calcEnth(ta, rh, pb)
calcHumx(ta, rh)
calcMixR(ta, rh, pb)
calcRH(ta, mr, pb)
calcSVP(ta)
calcVP(ta, mr, pb)
Arguments
ta

a numeric value or vector presenting air temperature in [degree C]

rh

a numeric value or vector presenting relative humidity in [%]

mr

a numeric value or vector presenting the mixIng ratio in [g/kg]

pb

a numeric value or vector presenting barometric pressure in [torr]

Details

The length of the arguments must be either the same or they must have the length one and one common second length.

Value

calcDewp returns the dew point temperature in [degree C]

calcEnth returns a single value or a vector of values of enthalpy in [J]

calcHumx returns a single value or a vector of values of the humidex of air [ ]

calcMixR returns a single value or a vector of mixIng ratio in [g/kg]

calcRH returns a single value or a vector of relative humidities in [%]

calcSVP returns a single value or a vector of saturation vapor pressure in [kpa]

calcVP returns a single value or a vector of vapor pressure in [kpa]

References

For references related to humidex, see: Rajib Ranaa, Brano Kusya, Raja Jurdaka, Josh Wallb and Wen Hua, Feasibility analysis of using humidex as an indoor thermal comfort predictor, Energy and Buildings 64 (2013) 17-25.

Masterton, J. M., and Richardson, F. A., Humidex a method of quantifying humandiscomfort due to excessive heat and humidity, clI 1-79. Downsview, Ont: Environment Canada. Atmosheric Environment Service, 1979.

Aliases
  • calcHumidity
  • calcDewp
  • calcEnth
  • calcHumx
  • calcMixR
  • calcRH
  • calcSVP
  • calcVP
Examples
# NOT RUN {
## Calc single value of absolute humidity
ta <- 25
rh <- 50
calcMixR(ta, rh, 760)

## Calc set of values of absolute humidity
ta <- 25:30
rh <- 50
calcMixR(ta, rh, 760)

## Calculating dew point temperature with single values for ta and rh
calcDewp(25, 50)

## Calculating dew point temperature with a vector of values for ta and a single value for rh
calcDewp(25:29, 50)

## Calc single value of enthalpy
ta <- 25
rh <- 50
calcEnth(ta, rh, 760)

## Calc set of values of enthalpy
ta <- 25:30
rh <- 50
calcEnth(ta, rh, 760)
# }
Documentation reproduced from package comf, version 0.1.7, License: GPL-2

Community examples

Looks like there are no examples yet.