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

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

updates in column model

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        reb             as vapour_stream;
46        cond    as liquid_stream;
47
48SET
49        NComp = PP.NumberOfComponents;
50        sec.FeedTray = 2;
51       
52CONNECTIONS
53        feed            to sec.Inlet;#Feed at stage 2
54
55SPECIFY
56        feed.F = 113.4 * 'kmol/h';
57        feed.T = 291 * 'K';
58        feed.P = 168.3 * 'kPa';
59        feed.z = [0.5, 0.5];
60
61        cond.F = 68 * 'kmol/h';
62        cond.P = 150 * 'kPa';
63        cond.T = 281.75 * 'K';
64        cond.z = [0.6664, 0.3336];
65
66        reb.P = 185 * 'kPa';
67        reb.T = 328.12 * 'K';
68        reb.z = [0.001848, 0.9982];
69       
70        sec.trays.Emv = 1;
71        sec.trays(1).OutletV.F = 150 * 'kmol/h';
72
73SET
74        sec.NTrays = 2;
75#COLUMN
76        sec.trays.V = 4 * 'ft^3';
77        sec.trays.Ah = 0.394 * 'ft^2';
78        sec.trays.lw = 20.94 * 'in';
79        sec.trays.hw = 0.125 * 'ft';
80        sec.trays.Q = 0 * 'kW';
81        sec.trays.beta = 0.6;
82        sec.trays.alfa = 4;
83        sec.trays.Ap = 3.94 * 'ft^2';
84
85INITIAL
86        sec.trays.OutletL.T = 270 *'K';
87        sec.trays.Level = 0.9 * sec.trays.hw;
88        sec.trays.OutletL.z(1) = 0.5;
89       
90OPTIONS
91        TimeStep = 10;
92        TimeEnd = 1000;
93       
94end
95
Note: See TracBrowser for help on using the repository browser.