source: trunk/sample/stage_separators/sample_tray.mso @ 488

Last change on this file since 488 was 423, checked in by Paula Bettio Staudt, 16 years ago

Fixed sample_tray flowsheet

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 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 model tray
17*--------------------------------------------------------------------
18*
19* This sample file needs VRTherm DEMO (www.vrtech.com.br) to run.
20*
21*----------------------------------------------------------------------
22* Author: Paula B. Staudt
23* $Id: sample_tray.mso 423 2007-11-29 20:03:51Z paula $
24*--------------------------------------------------------------------*#
25using "stage_separators/tray";
26
27FlowSheet tray_Test
28        PARAMETERS
29        PP      as Plugin(Brief="Physical Properties",
30                Type="PP",
31                Components = [ "n-pentane", "benzene"],
32                LiquidModel = "PR",
33                VapourModel = "PR"
34        );
35        NComp   as Integer;
36
37        SET
38        NComp = PP.NumberOfComponents;
39       
40        DEVICES
41        t1 as tray;
42        feed as source;
43        inL as liquid_stream;
44        inV as vapour_stream;
45       
46        CONNECTIONS
47        feed.Outlet to t1.Inlet;
48        inL to t1.InletL;
49        inV to t1.InletV;
50       
51        SPECIFY
52        feed.Outlet.F = 113.4 * 'kmol/h';
53        feed.Outlet.T = 291 * 'K';
54        feed.Outlet.P = 1.66 * 'atm';
55        feed.Outlet.z = [0.5, 0.5];
56       
57        inL.P = 165 * 'kPa';
58        inL.T = 310 * 'K';
59        inL.F = 61.99 * 'kmol/h';
60        inL.z = [0.1641, 0.8359];
61
62        inV.P = 150 * 'kPa';
63        inV.T = 321 * 'K';
64        inV.z = [0.0584, 0.9416];
65
66        t1.Emv = 1;
67        t1.OutletV.F = 147.1 * 'kmol/h';
68
69        SET
70        t1.V = 4 * 'ft^3';
71        t1.Ah = 0.394 * 'ft^2';
72        t1.lw = 20.94 * 'in';
73        t1.hw = 0.125 * 'ft';
74        t1.Q = 0 * 'kW';
75        t1.beta = 0.6;
76        t1.alfa = 4;
77        t1.Ap = 3.94 * 'ft^2';
78       
79        INITIAL
80        t1.OutletL.T = 290 *'K';
81        t1.Level = 0.9 * t1.hw;
82        t1.OutletL.z(1) = 0.5;
83       
84        OPTIONS
85        TimeEnd = 100;
86end
Note: See TracBrowser for help on using the repository browser.