source: branches/gui/sample/stage_separators/Column_Reboiled_Kettle_Diagram.mso @ 841

Last change on this file since 841 was 749, checked in by gerson bicca, 14 years ago

added samples in mso version

File size: 3.5 KB
RevLine 
[749]1#*----------------------------------------------
2* FlowSheet generated automaticaly by EMSO-GUI
3*----------------------------------------------*#
4
5using "streams";
6using "stage_separators/column";
7
8FlowSheet Column_Reboiled_Kettle_Diagram
9        PARAMETERS
10        PP as Plugin(Brief="Physical Properties",
11                Type="PP",
12                Components = ["isobutane","n-pentane","propylene","benzene","isobutene"],
13                LiquidModel = "PR",
14                VapourModel = "PR"
15        );
16        NComp as Integer;
17        SET
18        NComp = PP.NumberOfComponents;
19
20        DEVICES
21        feed as simple_source;
22
23        SET
24
25        SPECIFY
26        feed.MolarComposition(1) = 0.20;
27        feed.MolarComposition(2) = 0.20;
28        feed.MolarComposition(3) = 0.20;
29        feed.MolarComposition(4) = 0.20;
30        feed.MolarComposition(5) = 0.20;
31        feed.F = 113.4 * 'kmol/h';
32        feed.T = 291 * 'K';
33        feed.P = 168.30 * 'kPa';
34
35        INITIAL
36
37        GUESS
38
39        DEVICES
40        vapour_Outlet as simple_sink;
41
42        SET
43
44        SPECIFY
45
46        INITIAL
47
48        GUESS
49
50        DEVICES
51        liquid_inlet as source;
52
53        SET
54        liquid_inlet.CompositionBasis = "Molar";
55        liquid_inlet.ValidPhases = "Liquid-Only";
56
57        SPECIFY
58        liquid_inlet.Composition(1) = 0.20;
59        liquid_inlet.Composition(2) = 0.20;
60        liquid_inlet.Composition(3) = 0.20;
61        liquid_inlet.Composition(4) = 0.20;
62        liquid_inlet.Composition(5) = 0.20;
63        liquid_inlet.F = 68 * 'kmol/h';
64        liquid_inlet.T = 281.75 * 'K';
65        liquid_inlet.P = 150 * 'kPa';
66
67        INITIAL
68
69        GUESS
70
71        DEVICES
72        vapour_drawoff as simple_sink;
73
74        SET
75
76        SPECIFY
77
78        INITIAL
79
80        GUESS
81
82        DEVICES
83        liquid_drawoff as simple_sink;
84
85        SET
86
87        SPECIFY
88
89        INITIAL
90
91        GUESS
92
93        DEVICES
94        column_Reboiled_Stripping_kettle as Reboiled_Stripping_kettle;
95
96        SET
97        column_Reboiled_Stripping_kettle.NumberOfTrays = 8;
98        column_Reboiled_Stripping_kettle.FeedTrayLocation = 5;
99        column_Reboiled_Stripping_kettle.VolumeOfTray = 4 * 'ft^3';
100        column_Reboiled_Stripping_kettle.HeatSupply = 0 * 'kW';
101        column_Reboiled_Stripping_kettle.PlateArea = 3.94 * 'ft^2';
102        column_Reboiled_Stripping_kettle.HolesArea = 0.394 * 'ft^2';
103        column_Reboiled_Stripping_kettle.WeirLength = 20.94 * 'in';
104        column_Reboiled_Stripping_kettle.WeirHeight = 0.125 * 'ft';
105        column_Reboiled_Stripping_kettle.beta = 0.6;
106        column_Reboiled_Stripping_kettle.alfa = 4;
107        column_Reboiled_Stripping_kettle.REBOILER.Across = 1 * 'm^2';
108        column_Reboiled_Stripping_kettle.REBOILER.V = 2 * 'm^3';
109
110        SPECIFY
111        column_Reboiled_Stripping_kettle.VapourDrawOffFlow = 0 * 'kmol/h';
112        column_Reboiled_Stripping_kettle.LiquidDrawOffFlow = 0 * 'kmol/h';
113        column_Reboiled_Stripping_kettle.MurphreeEff = 1;
114        column_Reboiled_Stripping_kettle.REBOILER.OutletLiquid.F = 28.4 * 'kmol/h';
115        column_Reboiled_Stripping_kettle.VapourOutlet.F = 5 * 'kmol/h';
116
117        INITIAL
118
119        GUESS
120
121        DEVICES
122        bottom_product as simple_sink;
123
124        SET
125
126        SPECIFY
127
128        INITIAL
129
130        GUESS
131
132        DEVICES
133        Heat_to_Reboiler as energy_source;
134
135        SET
136
137        SPECIFY
138        Heat_to_Reboiler.OutletQ = 1047.22 * 'kW';
139
140        INITIAL
141
142        GUESS
143
144        CONNECTIONS
145        column_Reboiled_Stripping_kettle.VapourOutlet to vapour_Outlet.Inlet;
146        liquid_inlet.Outlet to column_Reboiled_Stripping_kettle.LiquidInlet;
147        feed.Outlet to column_Reboiled_Stripping_kettle.FeedTray;
148        column_Reboiled_Stripping_kettle.VapourDrawOff to vapour_drawoff.Inlet;
149        column_Reboiled_Stripping_kettle.LiquidDrawOff to liquid_drawoff.Inlet;
150        column_Reboiled_Stripping_kettle.BottomProduct to bottom_product.Inlet;
151        Heat_to_Reboiler.OutletQ to column_Reboiled_Stripping_kettle.HeatToReboiler;
152
153        OPTIONS
154        Dynamic = true;
155        TimeStep = 0.1;
156        TimeEnd = 10;
157        TimeUnit = 's';
158        Integration = "original";
159        NLASolver(
160                File = "sundials",
161                RelativeAccuracy = 1e-3,
162                AbsoluteAccuracy = 1e-6,
163                MaxIterations = 100
164        );
165        DAESolver(
166                File = "sundials",
167                RelativeAccuracy = 1e-3,
168                AbsoluteAccuracy = 1e-6,
169                EventAccuracy = 1e-2
170        );
171end
Note: See TracBrowser for help on using the repository browser.