source: branches/gui/sample/stage_separators/sample_flash_steady.mso

Last change on this file was 766, checked in by Rafael de Pelegrini Soares, 13 years ago

Better code organization for this sample.

File size: 1.2 KB
Line 
1#*----------------------------------------------
2* FlowSheet generated automaticaly by EMSO-GUI
3*----------------------------------------------*#
4
5using "streams";
6using "stage_separators/flash";
7
8FlowSheet sample_flash_steady
9        PARAMETERS
10        PP as Plugin(Brief="Physical Properties",
11                Type="PP",
12                Components = ["n-butane","benzene","n-octane"],
13                LiquidModel = "SRK",
14                VapourModel = "SRK"
15        );
16        NComp as Integer;
17        SET
18        NComp = PP.NumberOfComponents;
19
20        DEVICES
21        Heat as energy_source;
22        Feed as simple_source;
23        VaporProduct as sink;
24        LiquidProduct as sink;
25        flash_steady_1 as flash_steady;
26
27        CONNECTIONS
28        flash_steady_1.OutletVapour to VaporProduct.Inlet;
29        flash_steady_1.OutletLiquid to LiquidProduct.Inlet;
30        Feed.Outlet to flash_steady_1.Inlet;
31        Heat.OutletQ to flash_steady_1.InletQ;
32
33        SET
34        Feed.ValidPhases = "Vapour-Liquid";
35
36        SPECIFY
37        Feed.MolarComposition(1) = 0.3;
38        Feed.MolarComposition(2) = 0.3;
39        Feed.MolarComposition(3) = 0.4;
40        Feed.F = 622.84 * 'kmol/h';
41        Feed.T_Cdeg = 64.85 * 'K';
42        Feed.P = 5 * 'atm';
43
44        flash_steady_1.OutletLiquid.T = 330 * 'K';
45        flash_steady_1.OutletLiquid.P = 0.6 * 'atm';
46
47        OPTIONS
48        Dynamic = false;
49end
Note: See TracBrowser for help on using the repository browser.