SaturationVaporPressure {pvldcurve} | R Documentation |
Saturation vapor pressure (VPsat)
Description
Calculates saturation vapor pressure (kPa) using the Arden Buck equation
Usage
SaturationVaporPressure(data, temperature = "temperature")
Arguments
data |
data frame with at least a numeric column containing temperature (degree Celsius) |
temperature |
optional name of the column in data containing the temperature values; default: "temperature" |
Details
Calculates saturation vapor pressure (kPa) over liquid by temperature using the Arden Buck equation:
VPsat = 0.61121 exp ((18.678 - T 234.5^-1) (T 257.14 + T))
where T = air temperature (degree Celsius)
Value
the original data frame extended by a numeric column with the saturation vapor pressure (kPa).
Examples
# generate example data frame
df <- data.frame(temperature = c(23.1, 23.2))
# extend df by saturation vapor pressure
df_with_VPsat <- SaturationVaporPressure(df)
[Package pvldcurve version 1.2.6 Index]