FlashAlgorithmIdentifyPhase Method |
This algorithm returns the state of a fluid given its composition and system conditions.
Namespace: DWSIM.Thermodynamics.PropertyPackages.Auxiliary.FlashAlgorithmsAssembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 8.4.5.0
Syntaxpublic static string IdentifyPhase(
double[] Vx,
double P,
double T,
PropertyPackage pp,
string eos
)
Public Shared Function IdentifyPhase (
Vx As Double(),
P As Double,
T As Double,
pp As PropertyPackage,
eos As String
) As String
Request Example
View SourceParameters
- 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
StringA string indicating the phase: 'V' or 'L'.
RemarksThis 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