source: mso/sample/mixers_splitters/sample_sepComp.mso @ 33

Last change on this file since 33 was 33, checked in by Argimiro Resende Secchi, 16 years ago

clean up.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1
2
3using "mixers_splitters/sepComp";
4
5FlowSheet Sample_sepComp_n
6        PARAMETERS
7        PP      as CalcObject(Brief="Physical Properties",File="vrpp");
8        NComp as Integer;
9       
10        DEVICES
11        stream as stream_therm;
12        sep as sepComp_n;
13       
14        CONNECTIONS
15        stream to sep.Inlet;
16       
17        SET
18        PP.Components = [ "isobutane", "n-pentane"];
19        PP.LiquidModel = "PR";
20        PP.VapourModel = "PR";
21        NComp = PP.NumberOfComponents;
22        sep.mainComp = 1;
23        sep.NOutlet = 3;
24
25        SPECIFY
26        stream.F = 30 * "kmol/h";
27        stream.P = 120 * "kPa";
28        stream.T = 290 * "K";
29        stream.z = [0.6, 0.4];
30        stream.v = 0;
31        sep.Outlet(1).z(1) = 0.7;
32        sep.Outlet(2).z(1) = 0.1;
33        sep.frac(1) = 0.4;
34        sep.frac(2) = 0.2;
35#       sep.recovery(1) = 0.533333;
36#       sep.recovery(2) = 0.033333;
37
38        OPTIONS
39        relativeAccuracy = 1e-7;
40       
41end
42
43
44FlowSheet Sample_sepComp
45        PARAMETERS
46        PP      as CalcObject(Brief="Physical Properties",File="vrpp");
47        NComp as Integer;
48       
49        DEVICES
50        stream as streamTP;
51        sep as sepComp;
52       
53        CONNECTIONS
54        stream to sep.Inlet;
55       
56        SET
57        PP.Components = [ "isobutane", "n-pentane"];
58        PP.LiquidModel = "PR";
59        PP.VapourModel = "PR";
60        NComp = PP.NumberOfComponents;
61        sep.mainComp = 1;
62
63        SPECIFY
64        stream.F = 30 * "kmol/h";
65        stream.P = 120 * "kPa";
66        stream.T = 290 * "K";
67        stream.z = [0.6, 0.4];
68        sep.Outlet1.z(1) = 0.7;
69        sep.frac = 0.4;
70#       sep.recovery = 0.533333;
71
72        OPTIONS
73        relativeAccuracy = 1e-7;
74       
75end
Note: See TracBrowser for help on using the repository browser.