Excel IntegrationGet Compound Prop Method
Definition
Namespace: DWSIM.Thermodynamics.ExcelAddIn
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
C#
[ExcelFunctionAttribute(Description = "Returns a single property value for a compound. For a constant property, set T = 0 and P = 0. For a T-dep property, set P = 0. For a P-dep property, set T = 0.",
HelpTopic = "ExcelAddInHelp.chm!2")]
public static Object GetCompoundProp(
[ExcelArgumentAttribute("Compound name.")] string compound,
[ExcelArgumentAttribute("Property identifier.")] string prop,
[ExcelArgumentAttribute("Temperature in K, if needed. Set as zero for a constant or P-dep property.")] double temperature,
[ExcelArgumentAttribute("Pressure in Pa, if needed. Set as zero for a constant or T-dep property.")] double pressure
)VB
<ExcelFunctionAttribute(Description := "Returns a single property value for a compound. For a constant property, set T = 0 and P = 0. For a T-dep property, set P = 0. For a P-dep property, set T = 0.",
HelpTopic := "ExcelAddInHelp.chm!2")>
Public Shared Function GetCompoundProp (
<ExcelArgumentAttribute("Compound name.")> compound As String,
<ExcelArgumentAttribute("Property identifier.")> prop As String,
<ExcelArgumentAttribute("Temperature in K, if needed. Set as zero for a constant or P-dep property.")> temperature As Double,
<ExcelArgumentAttribute("Pressure in Pa, if needed. Set as zero for a constant or T-dep property.")> pressure As Double
) As Object