1 | |
---|
2 | using "heat_exchangers/HeatExchangerSimplified.mso"; |
---|
3 | |
---|
4 | FlowSheet LMTD_Method |
---|
5 | DEVICES |
---|
6 | |
---|
7 | exchanger as HeatExchanger_LMTD; |
---|
8 | streamhot as stream_therm; |
---|
9 | streamcold as stream_therm; |
---|
10 | |
---|
11 | CONNECTIONS |
---|
12 | |
---|
13 | streamhot to exchanger.Inlet.Hot; |
---|
14 | streamcold to exchanger.Inlet.Cold; |
---|
15 | |
---|
16 | PARAMETERS |
---|
17 | PP as CalcObject (File="vrpp"); |
---|
18 | HE as CalcObject (File="Heatex"); |
---|
19 | NComp as Integer; |
---|
20 | SET |
---|
21 | |
---|
22 | PP.LiquidModel = "RK"; |
---|
23 | PP.VapourModel = "RK"; |
---|
24 | PP.Components = ["water"]; |
---|
25 | NComp = PP.NumberOfComponents; |
---|
26 | |
---|
27 | # HE.FlowDirection = "Cocurrent"; |
---|
28 | HE.FlowDirection = "Counter"; |
---|
29 | |
---|
30 | SPECIFY |
---|
31 | |
---|
32 | exchanger.Details.A = 65.031*"m^2"; |
---|
33 | exchanger.Details.U = 0.75*"W/(m^2*K)"; |
---|
34 | exchanger.PressureDrop.Hot.Pdrop = 0*"atm"; |
---|
35 | exchanger.PressureDrop.Cold.Pdrop = 0*"atm"; |
---|
36 | exchanger.Fc = 1; |
---|
37 | |
---|
38 | streamhot.F = 1000 * "kmol/h"; |
---|
39 | streamhot.T = 450 * "K"; |
---|
40 | streamhot.v = 1; |
---|
41 | streamhot.P = 1.5 * "atm"; |
---|
42 | streamhot.z = [1]; |
---|
43 | |
---|
44 | streamcold.F = 500 * "kmol/h"; |
---|
45 | streamcold.P = 1 * "atm"; |
---|
46 | streamcold.T = 350 * "K"; |
---|
47 | streamcold.v = 0; |
---|
48 | streamcold.z = [1]; |
---|
49 | |
---|
50 | OPTIONS |
---|
51 | mode = "steady"; |
---|
52 | relativeAccuracy = 1e-6; |
---|
53 | |
---|
54 | end |
---|
55 | |
---|
56 | FlowSheet NTU_Method |
---|
57 | DEVICES |
---|
58 | |
---|
59 | exchanger as HeatExchanger_NTU; |
---|
60 | streamhot as stream_therm; |
---|
61 | streamcold as stream_therm; |
---|
62 | |
---|
63 | CONNECTIONS |
---|
64 | |
---|
65 | streamhot to exchanger.Inlet.Hot; |
---|
66 | streamcold to exchanger.Inlet.Cold; |
---|
67 | |
---|
68 | PARAMETERS |
---|
69 | PP as CalcObject (File="vrpp"); |
---|
70 | HE as CalcObject (File="Heatex"); |
---|
71 | NComp as Integer; |
---|
72 | SET |
---|
73 | |
---|
74 | PP.LiquidModel = "RK"; |
---|
75 | PP.VapourModel = "RK"; |
---|
76 | PP.Components = ["water"]; |
---|
77 | NComp = PP.NumberOfComponents; |
---|
78 | |
---|
79 | # HE.FlowDirection = "Cocurrent"; |
---|
80 | HE.FlowDirection = "Counter"; |
---|
81 | |
---|
82 | SPECIFY |
---|
83 | |
---|
84 | exchanger.Details.A = 65.031*"m^2"; |
---|
85 | exchanger.Details.U = 0.75*"W/(m^2*K)"; |
---|
86 | exchanger.PressureDrop.Hot.Pdrop = 0*"atm"; |
---|
87 | exchanger.PressureDrop.Cold.Pdrop = 0*"atm"; |
---|
88 | |
---|
89 | streamhot.F = 1000 * "kmol/h"; |
---|
90 | streamhot.T = 450 * "K"; |
---|
91 | streamhot.v = 1; |
---|
92 | streamhot.P = 1.5 * "atm"; |
---|
93 | streamhot.z = [1]; |
---|
94 | |
---|
95 | streamcold.F = 500 * "kmol/h"; |
---|
96 | streamcold.P = 1 * "atm"; |
---|
97 | streamcold.T = 350 * "K"; |
---|
98 | streamcold.v = 0; |
---|
99 | streamcold.z = [1]; |
---|
100 | |
---|
101 | OPTIONS |
---|
102 | mode = "steady"; |
---|
103 | relativeAccuracy = 1e-6; |
---|
104 | |
---|
105 | end |
---|
106 | |
---|