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