Click or drag to resize

ExcelIntegrationCalcProp2 Method


Namespace: DWSIM.Thermodynamics.ExcelAddIn
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 8.8.1.0
Syntax
[ExcelFunctionAttribute(Description = "Calculates properties using the selected Property Package with custom data.", 
	HelpTopic = "ExcelAddInHelp.chm!11")]
public static Object[,] CalcProp2(
	[ExcelArgumentAttribute("The name of the Property Package to use.")] string proppack,
	[ExcelArgumentAttribute("The property to calculate.")] string prop,
	[ExcelArgumentAttribute("The returning basis of the properties: Mole, Mass or UNDEFINED.")] string basis,
	[ExcelArgumentAttribute("The name of the phase to calculate properties from.")] string phaselabel,
	[ExcelArgumentAttribute("The list of compounds to include.")] Object[] compounds,
	[ExcelArgumentAttribute("Temperature in K.")] double temperature,
	[ExcelArgumentAttribute("Pressure in Pa.")] double pressure,
	[ExcelArgumentAttribute("*Normalized* mole fractions of the compounds in the mixture.")] double[] molefractions,
	[ExcelArgumentAttribute("Serialized Property Package data.")] string ppdata
)
Request Example View Source

Parameters

proppack  String
 
prop  String
 
basis  String
 
phaselabel  String
 
compounds  Object
 
temperature  Double
 
pressure  Double
 
molefractions  Double
 
ppdata  String
 

Return Value

Object
See Also