Sage Modeling and Simulation Library

VaporPressureCalculator Methods

The VaporPressureCalculator type exposes the following members.

Methods


  Name Description
Public method Static member ComputeBoilingPoint(Substance, Double)
Public method Static member ComputeBoilingPoint(MaterialType, Double)
Estimates the boiling point of the material type at the provided pressure. This is the point at which the partial pressure is equal to the external pressure.
Public method Static member ComputeBoilingPoint(Mixture, Double)
Estimates the boiling point of the material types in the mixture at the provided pressure. This is the point at which the partial pressure is equal to the external pressure.
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
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Static member SumOfPartialPressures
Computes the sum of partial pressures of all of the substances in the specified mixture at the specified temerature.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)