ExcelIntegrationPSFlash4 Method |
Namespace: DWSIM.Thermodynamics.ExcelAddInAssembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 8.8.1.0
Syntax [ExcelFunctionAttribute(Description = "Calculates a Pressure / Entropy Flash using the selected Property Package. Accepts an initial estimate for the temperature search.",
HelpTopic = "ExcelAddInHelp.chm!18")]
public static Object[,] PSFlash4(
[ExcelArgumentAttribute("The name of the Property Package to use.")] string proppack,
[ExcelArgumentAttribute("Pressure in Pa.")] double P,
[ExcelArgumentAttribute("Mixture Mass Entropy in kJ/[kg.K].")] double S,
[ExcelArgumentAttribute("Compound names.")] Object[] compounds,
[ExcelArgumentAttribute("Compound mole fractions.")] double[] molefractions,
[ExcelArgumentAttribute("Interaction Parameters Set #1.")] Object ip1,
[ExcelArgumentAttribute("Interaction Parameters Set #2.")] Object ip2,
[ExcelArgumentAttribute("Interaction Parameters Set #3.")] Object ip3,
[ExcelArgumentAttribute("Interaction Parameters Set #4.")] Object ip4,
[ExcelArgumentAttribute("Interaction Parameters Set #5.")] Object ip5,
[ExcelArgumentAttribute("Interaction Parameters Set #6.")] Object ip6,
[ExcelArgumentAttribute("Interaction Parameters Set #7.")] Object ip7,
[ExcelArgumentAttribute("Interaction Parameters Set #8.")] Object ip8,
[ExcelArgumentAttribute("Initial estimate for temperature search, in K.")] double InitialEstimate
)
<ExcelFunctionAttribute(Description := "Calculates a Pressure / Entropy Flash using the selected Property Package. Accepts an initial estimate for the temperature search.",
HelpTopic := "ExcelAddInHelp.chm!18")>
Public Shared Function PSFlash4 (
<ExcelArgumentAttribute("The name of the Property Package to use.")> proppack As String,
<ExcelArgumentAttribute("Pressure in Pa.")> P As Double,
<ExcelArgumentAttribute("Mixture Mass Entropy in kJ/[kg.K].")> S As Double,
<ExcelArgumentAttribute("Compound names.")> compounds As Object(),
<ExcelArgumentAttribute("Compound mole fractions.")> molefractions As Double(),
<ExcelArgumentAttribute("Interaction Parameters Set #1.")> ip1 As Object,
<ExcelArgumentAttribute("Interaction Parameters Set #2.")> ip2 As Object,
<ExcelArgumentAttribute("Interaction Parameters Set #3.")> ip3 As Object,
<ExcelArgumentAttribute("Interaction Parameters Set #4.")> ip4 As Object,
<ExcelArgumentAttribute("Interaction Parameters Set #5.")> ip5 As Object,
<ExcelArgumentAttribute("Interaction Parameters Set #6.")> ip6 As Object,
<ExcelArgumentAttribute("Interaction Parameters Set #7.")> ip7 As Object,
<ExcelArgumentAttribute("Interaction Parameters Set #8.")> ip8 As Object,
<ExcelArgumentAttribute("Initial estimate for temperature search, in K.")> InitialEstimate As Double
) As Object(,)
Request Example
View SourceParameters
- proppack String
-
- P Double
-
- S Double
-
- compounds Object
-
- molefractions Double
-
- ip1 Object
-
- ip2 Object
-
- ip3 Object
-
- ip4 Object
-
- ip5 Object
-
- ip6 Object
-
- ip7 Object
-
- ip8 Object
-
- InitialEstimate Double
-
Return Value
ObjectSee Also