Ticket #73: Tanque_arm.mso

File Tanque_arm.mso, 1.7 KB (added by Antonio José, 16 years ago)
Line 
1#*
2 * EMSO template file for new flowsheets.
3 *
4 * The user should edit the contents of this file in order
5 * to develop a new flowsheet.
6 *
7 * $Id: flowsheet.mso 114 2007-01-15 14:20:51Z rafael $
8 *#
9
10#*
11 * The using command makes available entities declared in another files.
12 *
13 * With this command the user can make use of the EML models
14 *#
15using "tanque.mso";
16
17
18FlowSheet Tanque_arm
19       
20         
21        PARAMETERS
22        PP                      as Plugin (File="vrpp");
23        NComp   as Integer;
24        Ninlet as Integer;
25       
26        DEVICES
27        sH2 as corrente;
28        sN2 as corrente;
29        sCO2 as corrente;
30        sCO as corrente;
31        arm as tanque;
32       
33        SET
34        PP.Components = ["hydrogen", "nitrogen", "carbon dioxide", "carbon monoxide"];
35        PP.LiquidModel = "PR";
36        PP.VapourModel = "PR";
37        NComp = 4;#PP.NumberOfComponents;
38        arm.Ninlet = 4;
39       
40        CONNECTIONS
41   
42        sH2 to arm.Inlet(1);
43        sN2 to arm.Inlet(2);
44        sCO2 to arm.Inlet(3);
45        sCO to arm.Inlet(4);
46       
47        SPECIFY
48        sH2.F = 40 * 'kmol/h';
49        sH2.P = 1 * 'atm';
50        sH2.T = 273  * 'K';
51        sH2.z = [1,0,0,0];
52       
53        sN2.F = 1.2 * 'kmol/h';
54        sN2.P = 1 * 'atm';
55        sN2.T = 273  * 'K';
56        sN2.z = [0,1,0,0];
57       
58        sCO2.F = 1.2 * 'kmol/h';
59        sCO2.P = 1 * 'atm';
60        sCO2.T = 273  * 'K';
61    sCO2.z = [0,0,1,0];
62       
63        sCO.F = 40 * 'kmol/h';
64        sCO.P = 1 * 'atm';
65        sCO.T = 273  * 'K';
66        sCO.z = [0,0,0,1];
67
68#tanque
69    arm.Mw = [2,28,44,28] * 'g/mol';
70        arm.Q = 0 * 'kJ/h';
71        arm.Outlet.P = 1 * 'atm';
72               
73        SET
74        arm.V = 500 * 'm^3';
75    #arm.C = 0.5 * '(m^(7/2))/(kg^(1/2))';
76       
77    INITIAL
78        arm.Outlet.T = 273 * 'K';
79        #arm.Outlet.F = 82.4 * 'kmol/h';
80        #arm.Outlet.P = 1 * 'atm';
81       
82        OPTIONS
83        Dynamic = true;
84        TimeStep = 1000;
85        TimeEnd = 50000;
86        #InitialFile = "Tanque_arm";
87   
88end
89
90
91