Last change
on this file since 1 was
1,
checked in by Rafael de Pelegrini Soares, 16 years ago
|
Initial import of the library
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Id
|
File size:
1.3 KB
|
Line | |
---|
1 | |
---|
2 | |
---|
3 | using "mixers_splitters/sepComp"; |
---|
4 | |
---|
5 | FlowSheet 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 | outputLevel = "high"; |
---|
40 | relativeAccuracy = 1e-7; |
---|
41 | |
---|
42 | end |
---|
43 | |
---|
44 | |
---|
45 | FlowSheet Sample_sepComp |
---|
46 | PARAMETERS |
---|
47 | PP as CalcObject(Brief="Physical Properties",File="vrpp"); |
---|
48 | NComp as Integer; |
---|
49 | |
---|
50 | DEVICES |
---|
51 | stream as streamTP; |
---|
52 | sep as sepComp; |
---|
53 | |
---|
54 | CONNECTIONS |
---|
55 | stream to sep.Inlet; |
---|
56 | |
---|
57 | SET |
---|
58 | PP.Components = [ "isobutane", "n-pentane"]; |
---|
59 | PP.LiquidModel = "PR"; |
---|
60 | PP.VapourModel = "PR"; |
---|
61 | NComp = PP.NumberOfComponents; |
---|
62 | sep.mainComp = 1; |
---|
63 | |
---|
64 | SPECIFY |
---|
65 | stream.F = 30 * "kmol/h"; |
---|
66 | stream.P = 120 * "kPa"; |
---|
67 | stream.T = 290 * "K"; |
---|
68 | stream.z = [0.6, 0.4]; |
---|
69 | sep.Outlet1.z(1) = 0.7; |
---|
70 | sep.frac = 0.4; |
---|
71 | # sep.recovery = 0.533333; |
---|
72 | |
---|
73 | OPTIONS |
---|
74 | outputLevel = "high"; |
---|
75 | relativeAccuracy = 1e-7; |
---|
76 | |
---|
77 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.