This function lets the user to perform a flash calculation at fixed pressure and volume.
Note: The best way to use this function is to use the wizard. Select: VLXE/Wizard on the menu
Input
Argument
|
Type
|
Optional
|
Description
|
Feed
|
Range of double
|
No
|
A range of cells with the feed
|
Pressure
|
C# : double
|
No
|
Pressure, default unit: Bar
|
Volume
|
C# : double
|
No
|
Volume, Units: [cm3]
|
FlashType
|
C# : string
|
No
|
Defines the number of phases to look for. Valid input are:
•2: Will maximum look for 2 phases |
Output
|
C# : string
|
No
|
Defines the output. See here for more information.
|
Components
|
C# : string
|
No
|
Give a list of component names.
Only those components are used in the calculations.
See here for more information
|
Units
|
C# : string
|
No
|
Set the units used in this calculation.
See here for more information
|
Distribution
|
C# : object
(Expect a range of double)
|
Yes
|
Gives a range with the distribution of the polymer. Can for example be used if 2 flash calculations are liked as 2 separation tanks.
See here for more information
|
BlockMassfraction
|
C# : object
(Expect a range of double)
|
Yes
|
Sets the block mass fractions in a co-polymer.
See here for more information
|
ProjectSheet
|
C#: object
|
Yes
|
Lets the user set the project sheet to use.
See here for more information
|
AdvVLXE
|
C# : object
|
Yes
|
Advanced used. Reserved for use by VLXE.
See here for more information
|
AdvUser
|
C# : object
|
Yes
|
Advanced used. Reserved for the user. For example it can be used to force the function update.
See here for more information
|
Examples:
Lets do a calculation on a system with three components at 1 bar and 300 cm3. The solvent mass fractions are given in the range: B3:B5
We want temperature and the composition of phase 1 and 2 as the output
=Flash_PV(B3:B5, 1, 300, "T,C(1),C(2)")
Extra
This function is defined in C# as:
public Object[,] Flash_PV(Range Feed, double Pressure, double Volume, string FlashType, string Output, string Components, string Units, [In, Optional] object Distribution, [In, Optional] object BlockMassfraction, [In, Optional] object AdvVLXE, [In, Optional] object AdvUser)
|