source: branches/gui/sample/stage_separators/sample_columnTeste.mso @ 611

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

testing column

File size: 2.4 KB
Line 
1#*-------------------------------------------------------------------
2* EMSO Model Library (EML) Copyright (C) 2004 - 2007 ALSOC.
3*
4* This LIBRARY is free software; you can distribute it and/or modify
5* it under the therms of the ALSOC FREE LICENSE as available at
6* http://www.enq.ufrgs.br/alsoc.
7*
8* EMSO Copyright (C) 2004 - 2007 ALSOC, original code
9* from http://www.rps.eng.br Copyright (C) 2002-2004.
10* All rights reserved.
11*
12* EMSO is distributed under the therms of the ALSOC LICENSE as
13* available at http://www.enq.ufrgs.br/alsoc.
14*
15*--------------------------------------------------------------------
16* Sample file for column model
17*--------------------------------------------------------------------
18*
19* This sample file needs VRTherm DEMO(www.vrtech.com.br) to run
20* SectionColumn_Test and needs VRTherm full to run the distillation
21* column flowsheet.
22*
23*----------------------------------------------------------------------
24* Author: Paula B. Staudt
25* $Id: sample_column.mso 580 2008-07-26 19:34:58Z bicca $
26*--------------------------------------------------------------------*#
27
28using "stage_separators/columnTeste";
29
30# column section with 2 trays
31FlowSheet SectionColumn_Test_with2tray
32       
33PARAMETERS
34        PP      as Plugin(Brief="Physical Properties",
35                Type="PP",
36                Components = [ "isobutane", "benzene"],
37                LiquidModel = "PR",
38                VapourModel = "PR"
39        );
40        NComp   as Integer;
41
42DEVICES
43        sec             as Section_ColumnTeste;
44        feed            as liquid_stream;
45
46SET
47        NComp = PP.NumberOfComponents;
48        sec.FeedTray = 2;
49       
50CONNECTIONS
51        feed            to sec.Inlet;#Feed at stage 2
52
53SPECIFY
54        feed.F = 113.4 * 'kmol/h';
55        feed.T = 291 * 'K';
56        feed.P = 168.3 * 'kPa';
57        feed.z = [0.5, 0.5];
58
59        sec.cond.F = 68 * 'kmol/h';
60        sec.cond.P = 150 * 'kPa';
61        sec.cond.T = 281.75 * 'K';
62        sec.cond.z = [0.6664, 0.3336];
63
64        sec.reb.P = 185 * 'kPa';
65        sec.reb.T = 328.12 * 'K';
66        sec.reb.z = [0.001848, 0.9982];
67       
68        sec.trays.Emv = 1;
69        sec.trays(1).OutletV.F = 150 * 'kmol/h';
70
71SET
72        sec.NTrays = 2;
73#COLUMN
74        sec.trays.V = 4 * 'ft^3';
75        sec.trays.Ah = 0.394 * 'ft^2';
76        sec.trays.lw = 20.94 * 'in';
77        sec.trays.hw = 0.125 * 'ft';
78        sec.trays.Q = 0 * 'kW';
79        sec.trays.beta = 0.6;
80        sec.trays.alfa = 4;
81        sec.trays.Ap = 3.94 * 'ft^2';
82
83INITIAL
84        sec.trays.OutletL.T = 270 *'K';
85        sec.trays.Level = 0.9 * sec.trays.hw;
86        sec.trays.OutletL.z(1) = 0.5;
87       
88OPTIONS
89        TimeStep = 10;
90        TimeEnd = 1000;
91       
92end
93
Note: See TracBrowser for help on using the repository browser.