Flash_PS

 

See also: How to define output

Top  Previous  Next

This function lets the user to perform a flash calculations at fixed pressure and entropy (Isentropic flash).

 

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

Entropy

C# : double

No

Entropy, unit: kJ/(Kelvin kg)

FlashType

C# : string

No

Defines the number of phases to look for. Valid input are:

Auto: Stops when stability analysis shows that the system is stable

2: Will maximum look for 2 phases

3: Will maximum look for 3 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 100 bar and -1 kJ/(Kelvin kg). 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_PS(B3:B5,-1, 100, -400, "Auto", "T,C(1),C(2)")

 

Extra

This function is defined in C# as:

public Object[,] Flash_PS(Range Feed, double Pressure, double Entropy, string FlashType, string Output, string Components, string Units, [In, Optional] object Distribution, [In, Optional] object BlockMassfraction, [In, Optional] object AdvVLXE, [In, Optional] object AdvUser)