Class NbsNrcSteamTable
- java.lang.Object
-
- org.orekit.models.earth.weather.water.NbsNrcSteamTable
-
- All Implemented Interfaces:
WaterVaporPressureProvider
public class NbsNrcSteamTable extends Object implements WaterVaporPressureProvider
Steam table from US National Bureau of Standards (NBS) and National Research Council (NRC) of Canada.The table is an extract from table 1 in Thermopedia, using only the pressure column and truncated to 99°C (the original table goes up to 373.976°C). According to the access page, this data is available for free.
- Since:
- 12.1
- Author:
- Luc Maisonobe
- See Also:
- Thermopedia Steam Tables
-
-
Constructor Summary
Constructors Constructor Description NbsNrcSteamTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.models.earth.weather.water.WaterVaporPressureProvider
relativeHumidity, relativeHumidity
-
-
-
-
Method Detail
-
waterVaporPressure
public double waterVaporPressure(double p, double t, double rh)
Compute water vapor pressure.- Specified by:
waterVaporPressure
in interfaceWaterVaporPressureProvider
- Parameters:
p
- pressure (Pa)t
- temperature (Kelvin)rh
- relative humidity, as a ratio (50% → 0.5)- Returns:
- water vapor pressure (Pa)
-
waterVaporPressure
public <T extends CalculusFieldElement<T>> T waterVaporPressure(T p, T t, T rh)
Compute water vapor pressure.- Specified by:
waterVaporPressure
in interfaceWaterVaporPressureProvider
- 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)
-
-