This function models a adiabatic mixer unit operation.
It takes a number of streams as input + the output pressure plus volume type and based on a mass and energy balance calculate the outlet temperature.
Input
Argument
|
Type
|
Optional
|
Description
|
StreamsIn
|
C#: Range
|
No
|
A range of cells where each row gives information for each input stream.
Input are:
•Composition •Temperature •Pressure •VolumeType |
PressureOut
|
C# : double
|
No
|
Pressure of the outlet stream
|
VolumeTypeOut
|
C#: string
|
No
|
Sets the volume type for the output stream.
Valid input are:
•Auto (Volume root with the lowest Gibbs energy, recommended) •Liquid •Vapor |
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
|
Extra
This function is defined in C# as:
public Object[,] Mixer(Range StreamsIn, double PressureOut, string VolumeTypeOut, string Output, string Components, string Units, [In, Optional] object Distribution, [In, Optional] object BlockMassfraction, [In, Optional] object ProjectSheet, [In, Optional] object AdvVLXE, [In, Optional] object AdvUser)
|