CalculatorTVFFlash(PropertyPackage, Int32, Double, Double, String, Double, Object, Object, Object, Object, Double) Method | 
 Calculates a TVF Flash using the referenced Property Package.
 
Namespace: DWSIM.Thermodynamics.CalculatorInterfaceAssembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 8.8.1.0
Syntax[DispIdAttribute(35)]
public Object[,] TVFFlash(
	PropertyPackage proppack,
	int flashalg,
	double T,
	double VF,
	string[] compounds,
	double[] molefractions,
	Object ip1 = null,
	Object ip2 = null,
	Object ip3 = null,
	Object ip4 = null,
	double InitialPressureEstimate = 0
)
<DispIdAttribute(35)>
Public Function TVFFlash ( 
	proppack As PropertyPackage,
	flashalg As Integer,
	T As Double,
	VF As Double,
	compounds As String(),
	molefractions As Double(),
	Optional ip1 As Object = Nothing,
	Optional ip2 As Object = Nothing,
	Optional ip3 As Object = Nothing,
	Optional ip4 As Object = Nothing,
	Optional InitialPressureEstimate As Double = 0
) As Object(,)
 Request Example
		View SourceParameters
- proppack  PropertyPackage
 - A reference to the Property Package object to use.
 - flashalg  Int32
 - [DEPRECATED] Flash Algorithm (2 = Global Def., 0 = NL VLE, 1 = IO VLE, 3 = IO VLLE, 4 = Gibbs VLE, 5 = Gibbs VLLE, 6 = NL VLLE, 7 = NL SLE, 8 = NL Immisc., 9 = Simple LLE, 10 = Nested Loops SVLLE, 11 = Gibbs Minimization SVLLE)
 - T  Double
 - Temperature in K.
 - VF  Double
 - Mixture Mole Vapor Fraction.
 - compounds  String
 - Compound names.
 - molefractions  Double
 - Compound mole fractions.
 - ip1  Object  (Optional)
 - Interaction Parameters Set #1.
 - ip2  Object  (Optional)
 - Interaction Parameters Set #2.
 - ip3  Object  (Optional)
 - Interaction Parameters Set #3.
 - ip4  Object  (Optional)
 - Interaction Parameters Set #4.
 - InitialPressureEstimate  Double  (Optional)
 - Initial estimate for the pressure, in Pa.
 
Return Value
ObjectA matrix containing phase fractions and compound distribution in mole fractions.
Implements
Calculator_CalculatorTVFFlash(PropertyPackage, Int32, Double, Double, String, Double, Object, Object, Object, Object, Double)
See Also