Calculating the phase envelope for a mixture is an very important calculation since it provides basic information on how the mixture behaves in the temperature, pressure space.
VLXE can handle a very large range of systems. The code is not yet able to automatic handle all kinds of systems. Therefore 2 phase envelope functions are provided.
One that takes a minimum of user input and one that gives the user maximum freedom.
This function takes a large range of input gives the user maximum freedom.
Input
Argument
|
Type
|
Optional
|
Description
|
Feed
|
Range of double
|
No
|
A range of cells with the feed
|
StartingPoint
|
C# : string
|
No
|
State the starting point. Valid input are:
•CloudT •CloudP |
Direction
|
C# : string
|
No
|
Direction in pressure. Valid input are:
•Up •Down |
Pressure
|
C# : double
|
No
|
Pressure of the first point. Units [User defined]
|
StopProperty
|
C# : string
|
No
|
Where to stop the curve. Valid input are:
•Automatic - The curve stops when it cannot continue •Pressure - User gives the stop pressure. •Temperature - User gives the stop temperature •Enthalpy - User gives the stop enthalpy •Entropy - User gives the stop entropy |
StopValue
|
C# : double
|
No
|
Value depends on StopProperty
|
Output
|
C# : string
|
No
|
Defines the output for each point on the curve. 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
|
MinimumTemperature
|
C# : object
(Expect a range of double)
|
Yes
|
Polymer systems only:
Minimum temperature for the first point.
|
MaximumTemperature
|
C# : object
(Expect a range of double)
|
Yes
|
Polymer systems only:
Maximum temperature for the first point.
|
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
|
Extra
This function is defined in C# as:
public Object[,] PhaseEnvelopeBubbleT(Range Feed, string CurveType, string Direction, double Pressure, string StopProperty, double StopValue, string Output, string Components, string Units, [In, Optional] object MinimumTemperature, [In, Optional] object MaximumTemperature, [In, Optional] object Distribution, [In, Optional] object BlockMassfraction, [In, Optional] object AdvVLXE, [In, Optional] object AdvUser)
|