Click or drag to resize

CalculatorCalcProp(PropertyPackage, String, String, String, String, Double, Double, Double, Object, Object, Object, Object) Method

Calculates properties using the selected Property Package.

Namespace: DWSIM.Thermodynamics.CalculatorInterface
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 8.8.1.0
Syntax
[DispIdAttribute(17)]
public Object[] CalcProp(
	PropertyPackage proppack,
	string prop,
	string basis,
	string phaselabel,
	string[] compounds,
	double temperature,
	double pressure,
	double[] molefractions,
	Object ip1 = null,
	Object ip2 = null,
	Object ip3 = null,
	Object ip4 = null
)
Request Example View Source

Parameters

proppack  PropertyPackage
The Property Package instance to use.
prop  String
The property to calculate.
basis  String
The returning basis of the properties: Mole, Mass or UNDEFINED.
phaselabel  String
The name of the phase to calculate properties from.
compounds  String
The list of compounds to include.
temperature  Double
Temperature in K.
pressure  Double
Pressure in Pa.
molefractions  Double
*Normalized* mole fractions of the compounds in the mixture.
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_CalculatorCalcProp(PropertyPackage, String, String, String, String, Double, Double, Double, Object, Object, Object, Object)
See Also