ExcelIntegrationGetCompoundProp Method |
Namespace: DWSIM.Thermodynamics.ExcelAddInAssembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 8.8.1.0
Syntax [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
)
<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
Request Example
View SourceParameters
- compound String
-
- prop String
-
- temperature Double
-
- pressure Double
-
Return Value
ObjectSee Also