Click or drag to resize

FlashAlgorithmCalcPIP Method

This algorithm returns the Phase Identification (PI) parameter for a fluid given its composition and system conditions.

Namespace: DWSIM.Thermodynamics.PropertyPackages.Auxiliary.FlashAlgorithms
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 8.4.5.0
Syntax
private static double[] CalcPIP(
	double[] Vx,
	double P,
	double T,
	PropertyPackage pp,
	string eos
)
Request Example View Source

Parameters

Vx  Double
Vector of mole fractions
P  Double
Pressure in Pa
T  Double
Temperature in K
pp  PropertyPackage
Property Package instance
eos  String
Equation of State: 'PR' or 'SRK'.

Return Value

Double
A string indicating the phase: 'V' or 'L'.
Remarks
This algorithm is based on the method present in the following paper: G. Venkatarathnam, L.R. Oellrich, Identification of the phase of a fluid using partial derivatives of pressure, volume, and temperature without reference to saturation properties: Applications in phase equilibria calculations, Fluid Phase Equilibria, Volume 301, Issue 2, 25 February 2011, Pages 225-233, ISSN 0378-3812, http://dx.doi.org/10.1016/j.fluid.2010.12.001. (http://www.sciencedirect.com/science/article/pii/S0378381210005935) Keywords: Phase identification; Multiphase equilibria; Process simulators
See Also