Sage Modeling and Simulation Library

VaporPressureCalculator..::..ComputeVaporPressure Method

Overload List


  Name Description
Public method Static member ComputeVaporPressure(MaterialType, Double, TemperatureUnits, PressureUnits)
Computes and returns the vapor pressure of the specified material type in the mixture at the given temperature and pressure. The returned value is expressed in millimeters of mercury.
Public method Static member ComputeVaporPressure(MaterialType, Mixture)
Computes and returns the vapor pressure of the specified material type in the mixture at the given temperature and pressure. The returned value is expressed in atmospheres. From the WebEmit spreadsheet, we are using the following algorithm: The means for calculating Vapor Pressure VP of Substance S in mixture M at temperature T and pressure P, is:
C#
VPHL is [Vapor Pressure by Henry's Law]
VPRL is [Vapor Pressure by Raoult's Law]

if ( mole fraction of S in M is > 10% ) {
    VPRL if we can, else VPHL
} else {
    the lesser of VPRL & VPHL
}

If no legitimate answer can be derived, we will return double.NaN