Click or drag to resize

CalculatorCalcTwoPhaseProp(String, String, String, String, String, String, Double, Double, Double, Double, Object, Object, Object, Object) Method

Calculates two phase properties (K-values, Ln(K-values) or Surface Tension) using the selected Property Package.

Namespace: DWSIM.Thermodynamics.CalculatorInterface
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 8.8.1.0
Syntax
[DispIdAttribute(18)]
public Object[] CalcTwoPhaseProp(
	string proppack,
	string prop,
	string basis,
	string phaselabel1,
	string phaselabel2,
	string[] compounds,
	double temperature,
	double pressure,
	double[] molefractions1,
	double[] molefractions2,
	Object ip1 = null,
	Object ip2 = null,
	Object ip3 = null,
	Object ip4 = null
)
Request Example View Source

Parameters

proppack  String
The name of the Property Package to use.
prop  String
The property to calculate.
basis  String
The returning basis of the properties: Mole, Mass or UNDEFINED.
phaselabel1  String
The name of the first phase.
phaselabel2  String
The name of the second phase.
compounds  String
The list of compounds to include.
temperature  Double
Temperature in K.
pressure  Double
Pressure in Pa.
molefractions1  Double
*Normalized* mole fractions of the compounds in the first phase.
molefractions2  Double
*Normalized* mole fractions of the compounds in the second phase.
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.

Return Value

Object

Implements

Calculator_CalculatorCalcTwoPhaseProp(String, String, String, String, String, String, Double, Double, Double, Double, Object, Object, Object, Object)
See Also