1 | #*------------------------------------------------------------------- |
---|
2 | * EMSO Model Library (EML) Copyright (C) 2004 - 2007 ALSOC. |
---|
3 | * |
---|
4 | * This LIBRARY is free software; you can distribute it and/or modify |
---|
5 | * it under the therms of the ALSOC FREE LICENSE as available at |
---|
6 | * http://www.enq.ufrgs.br/alsoc. |
---|
7 | * |
---|
8 | * EMSO Copyright (C) 2004 - 2007 ALSOC, original code |
---|
9 | * from http://www.rps.eng.br Copyright (C) 2002-2004. |
---|
10 | * All rights reserved. |
---|
11 | * |
---|
12 | * EMSO is distributed under the therms of the ALSOC LICENSE as |
---|
13 | * available at http://www.enq.ufrgs.br/alsoc. |
---|
14 | * |
---|
15 | *-------------------------------------------------------------------- |
---|
16 | * Sample file for Detailed Shell and Tubes Heat Exchanger |
---|
17 | *-------------------------------------------------------------------- |
---|
18 | * |
---|
19 | * This sample file needs VRTherm (www.vrtech.com.br) to run. |
---|
20 | * |
---|
21 | *---------------------------------------------------------------------- |
---|
22 | * Author: Gerson B. Bicca |
---|
23 | * $Id: sample_Detailed.mso 100 2007-01-09 14:15:56Z bicca $ |
---|
24 | *--------------------------------------------------------------------*# |
---|
25 | using "heat_exchangers/HeatExchangerDetailed"; |
---|
26 | |
---|
27 | FlowSheet sample_NTU |
---|
28 | |
---|
29 | DEVICES |
---|
30 | |
---|
31 | exchanger as ShellandTubes_NTU; |
---|
32 | |
---|
33 | streamhot_in as source; |
---|
34 | streamcold_in as source; |
---|
35 | |
---|
36 | CONNECTIONS |
---|
37 | |
---|
38 | streamhot_in.Outlet to exchanger.InletShell; |
---|
39 | streamcold_in.Outlet to exchanger.InletTube; |
---|
40 | |
---|
41 | PARAMETERS |
---|
42 | |
---|
43 | PP as Plugin (Type ="PP" ,Components = ["water"],LiquidModel = "PR", VapourModel = "PR"); |
---|
44 | |
---|
45 | NComp as Integer; |
---|
46 | |
---|
47 | SET |
---|
48 | #=============================================================== |
---|
49 | # Heat Exchanger Options |
---|
50 | #=============================================================== |
---|
51 | |
---|
52 | NComp = PP.NumberOfComponents; |
---|
53 | |
---|
54 | exchanger.ShellType = "Eshell"; |
---|
55 | |
---|
56 | # Heat Transfer Correlation |
---|
57 | exchanger.LaminarCorrelation = "Schlunder"; |
---|
58 | exchanger.TurbulentCorrelation = "SiederTate"; |
---|
59 | exchanger.TransitionCorrelation = "Gnielinski"; |
---|
60 | |
---|
61 | #===================================================================== |
---|
62 | # Shell Geometrical Parameters |
---|
63 | #===================================================================== |
---|
64 | exchanger.Tpass = 2; |
---|
65 | exchanger.Dishell = 0.75 *'m'; |
---|
66 | exchanger.Lcf = 0.043 *'m'; |
---|
67 | exchanger.Nss = 2; |
---|
68 | exchanger.Donozzle_Shell = 0.1937 *'m'; |
---|
69 | exchanger.Dinozzle_Shell = 0.1937 *'m'; |
---|
70 | exchanger.Honozzle_Shell = 0.0225 *'m'; |
---|
71 | exchanger.Hinozzle_Shell = 0.02155 *'m'; |
---|
72 | #===================================================================== |
---|
73 | # Tubes Geometrical Parameters |
---|
74 | #===================================================================== |
---|
75 | exchanger.Ntt = 500; |
---|
76 | exchanger.Pattern = "30"; |
---|
77 | exchanger.pitch = 0.0254 *'m'; |
---|
78 | exchanger.Ltube = 5.5 *'m'; |
---|
79 | exchanger.Ditube = 0.013395 *'m'; |
---|
80 | exchanger.Dotube = 0.015875 *'m'; |
---|
81 | exchanger.Kwall = 0.057 *'kW/m/K'; |
---|
82 | exchanger.Donozzle_Tube = 0.203 *'m'; |
---|
83 | exchanger.Dinozzle_Tube = 0.203 *'m'; |
---|
84 | #===================================================================== |
---|
85 | # Baffles Geometrical Parameters |
---|
86 | #===================================================================== |
---|
87 | exchanger.Lcd = 0.0047 *'m'; |
---|
88 | exchanger.Bc = 30; |
---|
89 | exchanger.Ltd = 0.00039 *'m'; |
---|
90 | exchanger.Nb = 6; |
---|
91 | |
---|
92 | #===================================================================== |
---|
93 | # Fouling |
---|
94 | #===================================================================== |
---|
95 | exchanger.Rfi = 0.001*'m^2*K/kW'; |
---|
96 | exchanger.Rfo = 0.001*'m^2*K/kW'; |
---|
97 | |
---|
98 | SPECIFY |
---|
99 | #============================================ |
---|
100 | # Hot Stream |
---|
101 | #============================================ |
---|
102 | streamhot_in.Outlet.F = 40 * 'mol/s'; |
---|
103 | streamhot_in.Outlet.T = 373* 'K'; |
---|
104 | streamhot_in.Outlet.z = [1] ; |
---|
105 | streamhot_in.Outlet.P = 740 * 'kPa'; |
---|
106 | #============================================ |
---|
107 | # Cold Stream |
---|
108 | #============================================ |
---|
109 | streamcold_in.Outlet.F = 75 * 'mol/s'; |
---|
110 | streamcold_in.Outlet.T = 333 * 'K'; |
---|
111 | streamcold_in.Outlet.z = [1]; |
---|
112 | streamcold_in.Outlet.P = 2210*'kPa'; |
---|
113 | #===================================================================== |
---|
114 | # Baffle Spacing |
---|
115 | #===================================================================== |
---|
116 | exchanger.Baffles.Ls = 0.622 *'m'; |
---|
117 | exchanger.Baffles.Lsi = 0.807 *'m'; |
---|
118 | |
---|
119 | OPTIONS |
---|
120 | |
---|
121 | Dynamic = false; |
---|
122 | RelativeAccuracy = 1e-6; |
---|
123 | GuessFile = "GuessDetailed"; |
---|
124 | end |
---|
125 | |
---|
126 | FlowSheet sample_LMTD |
---|
127 | |
---|
128 | DEVICES |
---|
129 | |
---|
130 | exchanger as ShellandTubes_LMTD; |
---|
131 | |
---|
132 | streamhot_in as source; |
---|
133 | streamcold_in as source; |
---|
134 | |
---|
135 | CONNECTIONS |
---|
136 | |
---|
137 | streamhot_in.Outlet to exchanger.InletShell; |
---|
138 | streamcold_in.Outlet to exchanger.InletTube; |
---|
139 | |
---|
140 | PARAMETERS |
---|
141 | |
---|
142 | PP as Plugin (Type ="PP" ,Components = ["water"],LiquidModel = "PR", VapourModel = "PR"); |
---|
143 | |
---|
144 | NComp as Integer; |
---|
145 | |
---|
146 | SET |
---|
147 | #=============================================================== |
---|
148 | # Heat Exchanger Options |
---|
149 | #=============================================================== |
---|
150 | |
---|
151 | NComp = PP.NumberOfComponents; |
---|
152 | |
---|
153 | exchanger.ShellType = "Eshell"; |
---|
154 | |
---|
155 | exchanger.LMTDcorrection = "Fakeri"; |
---|
156 | |
---|
157 | # Heat Transfer Correlation |
---|
158 | exchanger.LaminarCorrelation = "Schlunder"; |
---|
159 | exchanger.TurbulentCorrelation = "SiederTate"; |
---|
160 | exchanger.TransitionCorrelation = "Gnielinski"; |
---|
161 | |
---|
162 | #===================================================================== |
---|
163 | # Shell Geometrical Parameters |
---|
164 | #===================================================================== |
---|
165 | exchanger.Tpass = 2; |
---|
166 | exchanger.Dishell = 0.75 *'m'; |
---|
167 | exchanger.Lcf = 0.043 *'m'; |
---|
168 | exchanger.Nss = 2; |
---|
169 | exchanger.Donozzle_Shell = 0.1937 *'m'; |
---|
170 | exchanger.Dinozzle_Shell = 0.1937 *'m'; |
---|
171 | exchanger.Honozzle_Shell = 0.0225 *'m'; |
---|
172 | exchanger.Hinozzle_Shell = 0.02155 *'m'; |
---|
173 | #===================================================================== |
---|
174 | # Tubes Geometrical Parameters |
---|
175 | #===================================================================== |
---|
176 | exchanger.Ntt = 500; |
---|
177 | exchanger.Pattern = "30"; |
---|
178 | exchanger.pitch = 0.0254 *'m'; |
---|
179 | exchanger.Ltube = 5.5 *'m'; |
---|
180 | exchanger.Ditube = 0.013395 *'m'; |
---|
181 | exchanger.Dotube = 0.015875 *'m'; |
---|
182 | exchanger.Kwall = 0.057 *'kW/m/K'; |
---|
183 | exchanger.Donozzle_Tube = 0.203 *'m'; |
---|
184 | exchanger.Dinozzle_Tube = 0.203 *'m'; |
---|
185 | #===================================================================== |
---|
186 | # Baffles Geometrical Parameters |
---|
187 | #===================================================================== |
---|
188 | exchanger.Lcd = 0.0047 *'m'; |
---|
189 | exchanger.Bc = 30; |
---|
190 | exchanger.Ltd = 0.00039 *'m'; |
---|
191 | exchanger.Nb = 6; |
---|
192 | |
---|
193 | #===================================================================== |
---|
194 | # Fouling |
---|
195 | #===================================================================== |
---|
196 | exchanger.Rfi = 0.001*'m^2*K/kW'; |
---|
197 | exchanger.Rfo = 0.001*'m^2*K/kW'; |
---|
198 | |
---|
199 | SPECIFY |
---|
200 | #============================================ |
---|
201 | # Hot Stream |
---|
202 | #============================================ |
---|
203 | streamhot_in.Outlet.F = 40 * 'mol/s'; |
---|
204 | streamhot_in.Outlet.T = 373* 'K'; |
---|
205 | streamhot_in.Outlet.z = [1] ; |
---|
206 | streamhot_in.Outlet.P = 740 * 'kPa'; |
---|
207 | #============================================ |
---|
208 | # Cold Stream |
---|
209 | #============================================ |
---|
210 | streamcold_in.Outlet.F = 75 * 'mol/s'; |
---|
211 | streamcold_in.Outlet.T = 333 * 'K'; |
---|
212 | streamcold_in.Outlet.z = [1]; |
---|
213 | streamcold_in.Outlet.P = 2210*'kPa'; |
---|
214 | #===================================================================== |
---|
215 | # Baffle Spacing |
---|
216 | #===================================================================== |
---|
217 | exchanger.Baffles.Ls = 0.622 *'m'; |
---|
218 | exchanger.Baffles.Lsi = 0.807 *'m'; |
---|
219 | |
---|
220 | OPTIONS |
---|
221 | |
---|
222 | Dynamic = false; |
---|
223 | RelativeAccuracy = 1e-6; |
---|
224 | GuessFile = "GuessDetailed"; |
---|
225 | end |
---|
226 | |
---|