Class Wang1988

  • All Implemented Interfaces:
    WaterVaporPressureProvider

    public class Wang1988
    extends Object
    implements WaterVaporPressureProvider
    Conversion polynomial from "The Principle of the GPS Precise Positioning System", Wang et al, 1988.

    This corresponds to equation 5.96 in Guochang Xu, GPS - Theory, Algorithms and Applications, Springer, 2007.

    Since:
    12.1
    Author:
    Luc Maisonobe
    • Constructor Detail

      • Wang1988

        public Wang1988()
    • Method Detail

      • waterVaporPressure

        public double waterVaporPressure​(double p,
                                         double t,
                                         double rh)
        Compute water vapor pressure.
        Specified by:
        waterVaporPressure in interface WaterVaporPressureProvider
        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 interface WaterVaporPressureProvider
        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)