Excel IntegrationPHFlash 3 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 = "Calculates a Pressure / Enthalpy Flash using the selected Property Package. Accepts an initial estimate for the temperature search.",
HelpTopic = "ExcelAddInHelp.chm!17")]
public static Object[,] PHFlash3(
[ExcelArgumentAttribute("The name of the Property Package to use.")] string proppack,
[ExcelArgumentAttribute("Pressure in Pa.")] double P,
[ExcelArgumentAttribute("Mixture Mass Enthalpy in kJ/kg.")] double H,
[ExcelArgumentAttribute("Compound names.")] Object[] compounds,
[ExcelArgumentAttribute("Compound mole fractions.")] double[] molefractions,
[ExcelArgumentAttribute("Serialized Property Package data.")] string ppdata,
[ExcelArgumentAttribute("Initial estimate for temperature search, in K.")] double InitialEstimate
)VB
<ExcelFunctionAttribute(Description := "Calculates a Pressure / Enthalpy Flash using the selected Property Package. Accepts an initial estimate for the temperature search.",
HelpTopic := "ExcelAddInHelp.chm!17")>
Public Shared Function PHFlash3 (
<ExcelArgumentAttribute("The name of the Property Package to use.")> proppack As String,
<ExcelArgumentAttribute("Pressure in Pa.")> P As Double,
<ExcelArgumentAttribute("Mixture Mass Enthalpy in kJ/kg.")> H As Double,
<ExcelArgumentAttribute("Compound names.")> compounds As Object(),
<ExcelArgumentAttribute("Compound mole fractions.")> molefractions As Double(),
<ExcelArgumentAttribute("Serialized Property Package data.")> ppdata As String,
<ExcelArgumentAttribute("Initial estimate for temperature search, in K.")> InitialEstimate As Double
) As Object(,)Parameters
- proppack String
- P Double
- H Double
- compounds Object
- molefractions Double
- ppdata String
- InitialEstimate Double