Last change
on this file since 26 was
26,
checked in by gerson bicca, 17 years ago
|
updated heat exchangers model and samples
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Id
|
File size:
1.1 KB
|
Line | |
---|
1 | |
---|
2 | #*-------------------------------------------------------------------- |
---|
3 | * |
---|
4 | * EMSO sample file. |
---|
5 | * |
---|
6 | * heater |
---|
7 | * |
---|
8 | *--------------------------------------------------------------------*# |
---|
9 | |
---|
10 | using "heat_exchangers/heater"; |
---|
11 | |
---|
12 | FlowSheet Cooler_Project |
---|
13 | |
---|
14 | DEVICES |
---|
15 | |
---|
16 | cooler as Cooler; |
---|
17 | streamcold1 as stream_therm; |
---|
18 | streamcold2 as stream_therm; |
---|
19 | |
---|
20 | CONNECTIONS |
---|
21 | |
---|
22 | streamcold1 to cooler.Inlet(1); |
---|
23 | streamcold2 to cooler.Inlet(2); |
---|
24 | |
---|
25 | PARAMETERS |
---|
26 | |
---|
27 | PP as CalcObject (File="vrpp"); |
---|
28 | NComp as Integer; |
---|
29 | Ninlet as Integer (Brief="Number of Inlet Streams"); |
---|
30 | |
---|
31 | SET |
---|
32 | |
---|
33 | PP.LiquidModel = "RK"; |
---|
34 | PP.VapourModel = "RK"; |
---|
35 | |
---|
36 | PP.Components = ["water","methanol"]; |
---|
37 | NComp = PP.NumberOfComponents; |
---|
38 | Ninlet = 2; |
---|
39 | |
---|
40 | SPECIFY |
---|
41 | |
---|
42 | streamcold1.F = 100 * "kmol/h"; |
---|
43 | streamcold1.P = 1 * "atm"; |
---|
44 | streamcold1.T = 100 * "K"; |
---|
45 | streamcold1.v = 0; |
---|
46 | streamcold1.z = [1,0]; |
---|
47 | |
---|
48 | streamcold2.F = 20* "kmol/h"; |
---|
49 | streamcold2.P = 1 * "atm"; |
---|
50 | streamcold2.T = 100 * "K"; |
---|
51 | streamcold2.v = 0; |
---|
52 | streamcold2.z = [0,1]; |
---|
53 | |
---|
54 | cooler.Outlet.T = 70*"K"; |
---|
55 | cooler.Outlet.P = 1 * "atm"; |
---|
56 | |
---|
57 | |
---|
58 | |
---|
59 | OPTIONS |
---|
60 | |
---|
61 | mode = "steady"; |
---|
62 | relativeAccuracy = 1e-8; |
---|
63 | |
---|
64 | end |
---|
65 | |
---|
Note: See
TracBrowser
for help on using the repository browser.