[86] | 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 | *--------------------------------------------------------------------*# |
---|
[1] | 25 | using "stage_separators/tray"; |
---|
| 26 | |
---|
| 27 | FlowSheet tray_Test |
---|
| 28 | PARAMETERS |
---|
[213] | 29 | PP as Plugin(Brief="Physical Properties", |
---|
| 30 | Type="PP", |
---|
| 31 | Components = [ "n-pentane", "benzene"], |
---|
| 32 | LiquidModel = "PR", |
---|
| 33 | VapourModel = "PR" |
---|
| 34 | ); |
---|
[1] | 35 | NComp as Integer; |
---|
| 36 | |
---|
| 37 | SET |
---|
| 38 | NComp = PP.NumberOfComponents; |
---|
| 39 | |
---|
| 40 | DEVICES |
---|
| 41 | t1 as tray; |
---|
[202] | 42 | feed as source; |
---|
| 43 | inL as liquid_stream; |
---|
| 44 | inV as vapour_stream; |
---|
[1] | 45 | |
---|
| 46 | CONNECTIONS |
---|
[208] | 47 | feed.Outlet to t1.Inlet; |
---|
[1] | 48 | inL to t1.InletL; |
---|
| 49 | inV to t1.InletV; |
---|
| 50 | |
---|
| 51 | SPECIFY |
---|
[202] | 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]; |
---|
[1] | 56 | |
---|
[202] | 57 | inL.P = 165 * 'kPa'; |
---|
| 58 | inL.T = 310 * 'K'; |
---|
| 59 | inL.F = 61.99 * 'kmol/h'; |
---|
[1] | 60 | inL.z = [0.1641, 0.8359]; |
---|
| 61 | |
---|
[202] | 62 | inV.P = 150 * 'kPa'; |
---|
| 63 | inV.T = 321 * 'K'; |
---|
[1] | 64 | inV.z = [0.0584, 0.9416]; |
---|
[202] | 65 | |
---|
[1] | 66 | t1.Emv = 1; |
---|
[202] | 67 | t1.OutletV.F = 147.1 * 'kmol/h'; |
---|
[1] | 68 | |
---|
| 69 | SET |
---|
[202] | 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'; |
---|
[1] | 75 | t1.beta = 0.6; |
---|
| 76 | t1.alfa = 4; |
---|
[202] | 77 | t1.Ap = 3.94 * 'ft^2'; |
---|
[1] | 78 | |
---|
| 79 | INITIAL |
---|
[202] | 80 | t1.OutletL.T = 290 *'K'; |
---|
[1] | 81 | t1.Level = 0.9 * t1.hw; |
---|
| 82 | t1.OutletL.z(1) = 0.5; |
---|
| 83 | |
---|
| 84 | OPTIONS |
---|
[202] | 85 | TimeEnd = 100; |
---|
[1] | 86 | end |
---|