source: branches/gui/sample/stage_separators/Column_Diagram.mso @ 628

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

added sample diagram for column section (testing)

File size: 4.2 KB
Line 
1#*----------------------------------------------
2* FlowSheet generated automaticaly by EMSO-GUI
3*----------------------------------------------*#
4
5using "streams";
6using "stage_separators\columnTeste";
7
8FlowSheet Column_Diagram
9        PARAMETERS
10        PP as Plugin(Brief="Physical Properties",
11                Type="PP",
12                Components = ["isobutane","benzene"],
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        SectionUp as Section_ColumnTeste;
23        condenserDevice as source;
24        reboilerDevice as source;
25        simple_sink_1 as simple_sink;
26        simple_sink_2 as simple_sink;
27
28        CONNECTIONS
29        condenserDevice.Outlet to SectionUp.LiquidInlet;
30        SectionUp.VapourOutlet to simple_sink_1.Inlet;
31        feed.Outlet to SectionUp.FeedTray;
32        reboilerDevice.Outlet to SectionUp.VapourInlet;
33        SectionUp.LiquidOutlet to simple_sink_2.Inlet;
34       
35        SPECIFY
36        feed.MolarComposition(1) = 0.5;
37        feed.MolarComposition(2) = 0.5;
38        feed.F = 113.4 * 'kmol/h';
39        feed.T = 291 * 'K';
40        feed.P = 168.30 * 'kPa';
41
42        SectionUp.trays(1).OutletV.F = 150 * 'kmol/h';
43        SectionUp.MurphreeEff = 1;
44       
45        condenserDevice.Composition(1) = 0.6664;
46        condenserDevice.Composition(2) = 0.3336;
47        condenserDevice.F = 68 * 'kmol/h';
48        condenserDevice.T = 281.75 * 'K';
49        condenserDevice.P = 150 * 'kPa';
50
51        reboilerDevice.Composition(1) = 0.001848;
52        reboilerDevice.Composition(2) = 0.9982;
53        reboilerDevice.T = 328.12 * 'K';
54        reboilerDevice.P = 185 * 'kPa';
55       
56
57        SET
58        condenserDevice.CompositionBasis = "Molar";
59        SectionUp.NumberOfTrays = 8;
60        SectionUp.FeedTrayLocation = 5;
61        SectionUp.VapourFlowModel = "Reepmeyer";
62        SectionUp.LiquidFlowModel = "default";
63        SectionUp.VolumeOfTray = 4 * 'ft^3';
64        SectionUp.HeatSupply = 0 * 'kW';
65        SectionUp.PlateArea = 3.94 * 'ft^2';
66        SectionUp.HolesArea = 0.394 * 'ft^2';
67        SectionUp.WeirLength = 20.94 * 'in';
68        SectionUp.WeirHeight = 0.125 * 'ft';
69        SectionUp.beta = 0.6;
70        SectionUp.alfa = 4;
71
72
73        INITIAL
74        SectionUp.trays.OutletL.T = [290:(300-290)/(SectionUp.NumberOfTrays-1):300] *'K';
75        SectionUp.trays.Level = 0.3 * SectionUp.WeirHeight;
76        SectionUp.trays.OutletL.z(1) = 0.5;
77       
78        OPTIONS
79        Dynamic = true;
80        TimeStep = 1;
81        TimeEnd = 5;
82        #GuessFile="Column_Diagram";
83
84end
85
86FlowSheet Column_Diagram2
87        PARAMETERS
88        PP as Plugin(Brief="Physical Properties",
89                Type="PP",
90                Components = ["isobutane","benzene"],
91                LiquidModel = "PR",
92                VapourModel = "PR"
93        );
94        NComp as Integer;
95        SET
96        NComp = PP.NumberOfComponents;
97
98        DEVICES
99        feed as simple_source;
100        SectionUp as Section_ColumnTeste;
101        condenserDevice as source;
102        reboilerDevice as source;
103        simple_sink_1 as simple_sink;
104        simple_sink_2 as simple_sink;
105
106        CONNECTIONS
107        condenserDevice.Outlet to SectionUp.LiquidInlet;
108        SectionUp.VapourOutlet to simple_sink_1.Inlet;
109        feed.Outlet to SectionUp.FeedTray;
110        reboilerDevice.Outlet to SectionUp.VapourInlet;
111        SectionUp.LiquidOutlet to simple_sink_2.Inlet;
112       
113        SPECIFY
114        feed.MolarComposition(1) = 0.5;
115        feed.MolarComposition(2) = 0.5;
116        feed.F = 113.4 * 'kmol/h';
117        feed.T = 291 * 'K';
118        feed.P = 168.30 * 'kPa';
119
120        SectionUp.MurphreeEff= 1;
121        SectionUp.trays(1).OutletV.F = 150 * 'kmol/h';
122
123        condenserDevice.Composition(1) = 0.6664;
124        condenserDevice.Composition(2) = 0.3336;
125        condenserDevice.F = 68 * 'kmol/h';
126        condenserDevice.T = 281.75 * 'K';
127        condenserDevice.P = 150 * 'kPa';
128
129        reboilerDevice.Composition(1) = 0.001848;
130        reboilerDevice.Composition(2) = 0.9982;
131        reboilerDevice.T = 328.12 * 'K';
132        reboilerDevice.P = 185 * 'kPa';
133       
134        SET
135        condenserDevice.CompositionBasis = "Molar";
136        SectionUp.NumberOfTrays = 2;
137        SectionUp.FeedTrayLocation = 2;
138        SectionUp.VapourFlowModel = "Reepmeyer";
139        SectionUp.LiquidFlowModel = "default";
140        SectionUp.VolumeOfTray = 4 * 'ft^3';
141        SectionUp.HeatSupply = 0 * 'kW';
142        SectionUp.PlateArea = 3.94 * 'ft^2';
143        SectionUp.HolesArea = 0.394 * 'ft^2';
144        SectionUp.WeirLength = 20.94 * 'in';
145        SectionUp.WeirHeight = 0.125 * 'ft';
146        SectionUp.beta = 0.6;
147        SectionUp.alfa = 4;
148
149
150        INITIAL
151        SectionUp.trays.OutletL.T = 270 *'K';
152        SectionUp.trays.Level = 0.9 * SectionUp.WeirHeight;
153        #SectionUp.trays.Level = 0.125 * 'ft';
154        SectionUp.trays.OutletL.z(1) = 0.5;
155       
156        OPTIONS
157        Dynamic = true;
158        TimeStep = 0.01;
159        TimeEnd = 3;
160        #GuessFile="Column_Diagram2";
161
162end
Note: See TracBrowser for help on using the repository browser.