Sage Modeling and Simulation Library

VaporPressureCalculator..::..ComputeVaporPressure Method (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:
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

Namespace:  Highpoint.Sage.Materials.Chemistry.VaporPressure
Assembly:  Sage4 (in Sage4.dll)


public static double ComputeVaporPressure(
	MaterialType mt,
	Mixture mixture


Type: Highpoint.Sage.Materials.Chemistry..::..MaterialType
The material type of interest.
Type: Highpoint.Sage.Materials.Chemistry..::..Mixture
The mixture under consideration.

Return Value

Vapor Pressure in Atmospheres.