Interface WaterVaporPressureProvider
-
- All Known Implementing Classes:
CIPM2007
,NbsNrcSteamTable
,Wang1988
public interface WaterVaporPressureProvider
Interface for converting between relative humidity and water vapor pressure.- Since:
- 12.1
- Author:
- Luc Maisonobe
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default double
relativeHumidity(double p, double t, double e)
Compute relative humidity.default <T extends CalculusFieldElement<T>>
TrelativeHumidity(T p, T t, T e)
Compute relative humidity.double
waterVaporPressure(double p, double t, double rh)
Compute water vapor pressure.<T extends CalculusFieldElement<T>>
TwaterVaporPressure(T p, T t, T rh)
Compute water vapor pressure.
-
-
-
Method Detail
-
waterVaporPressure
double waterVaporPressure(double p, double t, double rh)
Compute water vapor pressure.- Parameters:
p
- pressure (Pa)t
- temperature (Kelvin)rh
- relative humidity, as a ratio (50% → 0.5)- Returns:
- water vapor pressure (Pa)
-
relativeHumidity
default double relativeHumidity(double p, double t, double e)
Compute relative humidity.- Parameters:
p
- pressure (Pa)t
- temperature (Kelvin)e
- water vapor pressure (Pa)- Returns:
- relative humidity, as a ratio (50% → 0.5)
-
waterVaporPressure
<T extends CalculusFieldElement<T>> T waterVaporPressure(T p, T t, T rh)
Compute water vapor pressure.- Type Parameters:
T
- type of the field elements- Parameters:
p
- pressure (Pa)t
- temperature (Kelvin)rh
- relative humidity, as a ratio (50% → 0.5)- Returns:
- water vapor pressure (Pa)
-
relativeHumidity
default <T extends CalculusFieldElement<T>> T relativeHumidity(T p, T t, T e)
Compute relative humidity.- Type Parameters:
T
- type of the field elements- Parameters:
p
- pressure (Pa)t
- temperature (Kelvin)e
- water vapor pressure (Pa)- Returns:
- relative humidity, as a ratio (50% → 0.5)
-
-