Click or drag to resize

ExcelIntegrationTVFFlash2 Method


Namespace: DWSIM.Thermodynamics.ExcelAddIn
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 8.8.1.0
Syntax
[ExcelFunctionAttribute(Description = "Calculates a Temperature / Vapor Fraction Flash using the selected Property Package. Accepts an initial estimate for the pressure search.", 
	HelpTopic = "ExcelAddInHelp.chm!20")]
public static Object[,] TVFFlash2(
	[ExcelArgumentAttribute("The name of the Property Package to use.")] string proppack,
	[ExcelArgumentAttribute("[DEPRECATED] Flash Algorithm (0 or 2 = Nested Loops VLE, 1 = Inside-Out VLE, 3 = Inside-Out VLLE, 4 = Gibbs VLE, 5 = Gibbs VLLE, 6 = Nested-Loops VLLE, 7 = Nested-Loops SLE, 8 = Nested-Loops Immisc., 9 = Simple LLE, 10 = Nested Loops SVLLE, 11 = Gibbs Minimization SVLLE)")] int flashalg,
	[ExcelArgumentAttribute("Temperature in K.")] double T,
	[ExcelArgumentAttribute("Mixture Mole Vapor Fraction.")] double VF,
	[ExcelArgumentAttribute("Compound names.")] Object[] compounds,
	[ExcelArgumentAttribute("Compound mole fractions.")] double[] molefractions,
	[ExcelArgumentAttribute("Interaction Parameters Set #1.")] Object ip1,
	[ExcelArgumentAttribute("Interaction Parameters Set #2.")] Object ip2,
	[ExcelArgumentAttribute("Interaction Parameters Set #3.")] Object ip3,
	[ExcelArgumentAttribute("Interaction Parameters Set #4.")] Object ip4,
	[ExcelArgumentAttribute("Interaction Parameters Set #5.")] Object ip5,
	[ExcelArgumentAttribute("Interaction Parameters Set #6.")] Object ip6,
	[ExcelArgumentAttribute("Interaction Parameters Set #7.")] Object ip7,
	[ExcelArgumentAttribute("Interaction Parameters Set #8.")] Object ip8,
	[ExcelArgumentAttribute("Initial estimate for pressure search, in Pa.")] double InitialEstimate
)
Request Example View Source

Parameters

proppack  String
 
flashalg  Int32
 
T  Double
 
VF  Double
 
compounds  Object
 
molefractions  Double
 
ip1  Object
 
ip2  Object
 
ip3  Object
 
ip4  Object
 
ip5  Object
 
ip6  Object
 
ip7  Object
 
ip8  Object
 
InitialEstimate  Double
 

Return Value

Object
See Also