Calculator_CalculatorCalcEquilibrium Method |
Namespace: DWSIM.Thermodynamics.CalculatorInterfaceAssembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 8.8.1.0
Syntax [DispIdAttribute(39)]
FlashCalculationResult CalcEquilibrium(
CalculatorFlashCalculationType flashtype,
int flashalg,
double val1,
double val2,
PropertyPackage pp,
string[] compounds,
double[] molefractions,
double[] initialKval,
double initialestimate,
Object ip1 = null,
Object ip2 = null,
Object ip3 = null,
Object ip4 = null
)
<DispIdAttribute(39)>
Function CalcEquilibrium (
flashtype As CalculatorFlashCalculationType,
flashalg As Integer,
val1 As Double,
val2 As Double,
pp As PropertyPackage,
compounds As String(),
molefractions As Double(),
initialKval As Double(),
initialestimate As Double,
Optional ip1 As Object = Nothing,
Optional ip2 As Object = Nothing,
Optional ip3 As Object = Nothing,
Optional ip4 As Object = Nothing
) As FlashCalculationResult
Request Example
Parameters
- flashtype CalculatorFlashCalculationType
-
- flashalg Int32
-
- val1 Double
-
- val2 Double
-
- pp PropertyPackage
-
- compounds String
-
- molefractions Double
-
- initialKval Double
-
- initialestimate Double
-
- ip1 Object (Optional)
-
- ip2 Object (Optional)
-
- ip3 Object (Optional)
-
- ip4 Object (Optional)
-
Return Value
FlashCalculationResultSee Also