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 | * Author: Gerson Balbueno Bicca |
---|
16 | * $Id: HEX_Engine.mso 420 2007-11-26 22:43:17Z bicca $ |
---|
17 | *--------------------------------------------------------------------*# |
---|
18 | |
---|
19 | using "streams"; |
---|
20 | |
---|
21 | Model Properties_Average |
---|
22 | |
---|
23 | ATTRIBUTES |
---|
24 | Pallete = false; |
---|
25 | Brief = "Average physical properties of the streams."; |
---|
26 | Info = |
---|
27 | "to be documented."; |
---|
28 | |
---|
29 | VARIABLES |
---|
30 | Mw as molweight (Brief="Average Mol Weight",Default=75, Lower=1, Upper=1e8); |
---|
31 | T as temperature (Brief="Average Temperature",Lower=50); |
---|
32 | P as pressure (Brief="Average Pressure",Default=1, Lower=1e-10, Upper=2e4, DisplayUnit='kPa'); |
---|
33 | rho as dens_mass (Brief="Stream Density" ,Default=1000, Lower=1e-3, Upper=5e5, Symbol = "\rho"); |
---|
34 | Mu as viscosity (Brief="Stream Viscosity",Lower=0.0001, Symbol = "\mu"); |
---|
35 | Cp as cp_mol (Brief="Stream Molar Heat Capacity", Upper=1e10); |
---|
36 | K as conductivity (Brief="Stream Thermal Conductivity", Default=1.0, Lower=1e-5, Upper=500); |
---|
37 | |
---|
38 | end |
---|
39 | |
---|
40 | Model Properties_In_Out |
---|
41 | |
---|
42 | ATTRIBUTES |
---|
43 | Pallete = false; |
---|
44 | Brief = "Inlet and outlet physical properties of the streams."; |
---|
45 | Info = |
---|
46 | "to be documented."; |
---|
47 | |
---|
48 | VARIABLES |
---|
49 | Fw as flow_mass (Brief="Stream Mass Flow"); |
---|
50 | rho as dens_mass (Brief="Stream Density" ,Default=1000, Lower=1e-3, Upper=5e5, Symbol = "\rho"); |
---|
51 | end |
---|
52 | |
---|
53 | Model Properties_Wall |
---|
54 | |
---|
55 | ATTRIBUTES |
---|
56 | Pallete = false; |
---|
57 | Brief = "Physical properties of the streams at wall temperature."; |
---|
58 | Info = |
---|
59 | "to be documented."; |
---|
60 | |
---|
61 | VARIABLES |
---|
62 | |
---|
63 | Mu as viscosity (Brief="Stream Viscosity",Default=1, Lower=1e-5, Upper=1e5, Symbol = "\mu"); |
---|
64 | Twall as temperature (Brief="Wall Temperature",Lower=50); |
---|
65 | |
---|
66 | end |
---|
67 | |
---|
68 | Model Physical_Properties |
---|
69 | |
---|
70 | ATTRIBUTES |
---|
71 | Pallete = false; |
---|
72 | Brief = "to be documented"; |
---|
73 | Info = |
---|
74 | "to be documented"; |
---|
75 | |
---|
76 | VARIABLES |
---|
77 | |
---|
78 | Inlet as Properties_In_Out (Brief="Properties at Inlet Stream", Symbol = "^{in}"); |
---|
79 | Average as Properties_Average (Brief="Properties at Average Temperature", Symbol = "^{avg}"); |
---|
80 | Outlet as Properties_In_Out (Brief="Properties at Outlet Stream", Symbol = "^{out}"); |
---|
81 | Wall as Properties_Wall (Brief="Properties at Wall Temperature", Symbol = "^{wall}"); |
---|
82 | |
---|
83 | end |
---|
84 | |
---|
85 | Model Tube_Pdrop |
---|
86 | |
---|
87 | ATTRIBUTES |
---|
88 | Pallete = false; |
---|
89 | Brief = "to be documented"; |
---|
90 | Info = |
---|
91 | "to be documented"; |
---|
92 | |
---|
93 | VARIABLES |
---|
94 | PdTube as press_delta (Brief="Tube Pressure Drop",Default=0.01, Lower=1e-10,DisplayUnit='kPa'); |
---|
95 | Pdtotal as press_delta (Brief="Total Pressure Drop",Default=0.01, Lower=1e-10,DisplayUnit='kPa'); |
---|
96 | Pdnozzle_in as press_delta (Brief="Inlet Nozzle Pressure Drop",Default=0.01, Lower=0,DisplayUnit='kPa'); |
---|
97 | Pdnozzle_out as press_delta (Brief="Outlet Nozzle Pressure Drop",Default=0.01, Lower=0,DisplayUnit='kPa'); |
---|
98 | Vnozzle_in as velocity (Brief="Inlet Nozzle Velocity",Default=1, Upper=1e5, Lower=0); |
---|
99 | Vnozzle_out as velocity (Brief="Outlet Nozzle Velocity",Default=1, Upper=1e5, Lower=0); |
---|
100 | fi as fricfactor (Brief="Friction Factor", Default=0.05, Lower=1e-10, Upper=2000); |
---|
101 | |
---|
102 | EQUATIONS |
---|
103 | "Total Pressure Drop" |
---|
104 | Pdtotal = PdTube + Pdnozzle_in + Pdnozzle_out; |
---|
105 | |
---|
106 | end |
---|
107 | |
---|
108 | Model Tube_Heat_Transfer |
---|
109 | |
---|
110 | ATTRIBUTES |
---|
111 | Pallete = false; |
---|
112 | Brief = "to be documented"; |
---|
113 | Info = |
---|
114 | "to be documented"; |
---|
115 | |
---|
116 | VARIABLES |
---|
117 | Re as positive (Brief="Tube Side Reynolds Number",Default=1000,Lower=1); |
---|
118 | Nu as positive (Brief="Nusselt Number",Default=0.5,Lower=1e-8); |
---|
119 | htube as heat_trans_coeff (Brief="Tube Side Film Coefficient",Default=1,Lower=1e-12, Upper=1e6); |
---|
120 | fi as fricfactor (Brief="Friction Factor", Default=0.05, Lower=1e-10, Upper=2000); |
---|
121 | PR as positive (Brief="Tube Side Prandtl Number",Default=0.5,Lower=1e-8); |
---|
122 | Phi as positive (Brief="Phi Correction",Default=1,Lower=1e-3); |
---|
123 | Vtube as velocity (Brief="Tube Side Velocity",Lower=1e-8); |
---|
124 | |
---|
125 | end |
---|
126 | |
---|
127 | Model Shell_Pdrop |
---|
128 | |
---|
129 | ATTRIBUTES |
---|
130 | Pallete = false; |
---|
131 | Brief = "to be documented"; |
---|
132 | Info = |
---|
133 | "to be documented"; |
---|
134 | |
---|
135 | VARIABLES |
---|
136 | Pideal as press_delta (Brief="Ideal Pressure Drop",Default=0.01, Lower=0,DisplayUnit='kPa'); |
---|
137 | PdCross as press_delta (Brief="Cross Flow Pressure Drop",Default=0.01, Lower=0,DisplayUnit='kPa'); |
---|
138 | PdEndZones as press_delta (Brief="End Zones Pressure Drop",Default=0.01, Lower=0,DisplayUnit='kPa'); |
---|
139 | Pdwindow as press_delta (Brief="Window Pressure Drop",Default=0.01, Lower=1e-10,DisplayUnit='kPa'); |
---|
140 | Pdtotal as press_delta (Brief="Total Pressure Drop",Default=0.01, Lower=0,DisplayUnit='kPa'); |
---|
141 | Pdnozzle_in as press_delta (Brief="Inlet Nozzle Pressure Drop",Default=0.01, Lower=0,DisplayUnit='kPa'); |
---|
142 | Pdnozzle_out as press_delta (Brief="Outlet Nozzle Pressure Drop",Default=0.01, Lower=0,DisplayUnit='kPa'); |
---|
143 | fi as fricfactor (Brief="Friction Factor", Default=0.05, Lower=1e-10, Upper=2000); |
---|
144 | Vnozzle_in as velocity (Brief="Inlet Nozzle Velocity",Default=1, Upper=1e5, Lower=0); |
---|
145 | Vnozzle_out as velocity (Brief="Outlet Nozzle Velocity",Default=1, Upper=1e5, Lower=0); |
---|
146 | RVsquare_out as positive (Brief = "Outlet Nozzle rho-V^2", Default=1, Upper=1e6, Unit = 'kg/s^2/m'); |
---|
147 | RVsquare_in as positive (Brief = "Inlet Nozzle rho-V^2", Default=1, Upper=1e6, Unit = 'kg/s^2/m'); |
---|
148 | |
---|
149 | EQUATIONS |
---|
150 | "Shell Side Total Pressure Drop" |
---|
151 | Pdtotal = PdCross + PdEndZones + Pdnozzle_in + Pdnozzle_out + Pdwindow; |
---|
152 | |
---|
153 | end |
---|
154 | |
---|
155 | Model Shell_Heat_Transfer |
---|
156 | |
---|
157 | ATTRIBUTES |
---|
158 | Pallete = false; |
---|
159 | Brief = "to be documented"; |
---|
160 | Info = |
---|
161 | "to be documented"; |
---|
162 | |
---|
163 | VARIABLES |
---|
164 | Re as positive (Brief="Shell Side Reynolds Number",Default=100,Lower=1); |
---|
165 | PR as positive (Brief="Shell Side Prandtl Number",Default=0.7,Lower=1e-6); |
---|
166 | hshell as heat_trans_coeff (Brief="Shell Side Film Coefficient",Default=1,Lower=1e-12, Upper=1e6); |
---|
167 | Phi as positive (Brief="Phi Correction",Default=1,Lower=1e-3); |
---|
168 | Ji as constant (Brief="Shell Side Ji Factor",Default=0.05); |
---|
169 | Jr as positive (Brief="Shell Side Jr Factor",Lower=10e-6); |
---|
170 | Jl as positive (Brief="Shell Side Jl Factor",Lower=10e-6); |
---|
171 | Jb as positive (Brief="Shell Side Jb Factor",Lower=10e-6); |
---|
172 | Jc as positive (Brief="Shell Side Jc Factor",Lower=10e-6); |
---|
173 | Js as positive (Brief="Shell Side Js Factor",Lower=10e-6); |
---|
174 | Jtotal as positive (Brief="Shell Side Jtotal Factor",Lower=10e-6); |
---|
175 | Sm as area (Brief="Shell Side Cross Flow Area",Default=0.05,Lower=10e-6); |
---|
176 | |
---|
177 | end |
---|
178 | |
---|
179 | Model Baffles_Main |
---|
180 | |
---|
181 | ATTRIBUTES |
---|
182 | Pallete = false; |
---|
183 | Brief = "to be documented"; |
---|
184 | Info = |
---|
185 | "to be documented"; |
---|
186 | |
---|
187 | VARIABLES |
---|
188 | Ls as length (Brief="Central Baffle Spacing",Lower=1e-8); |
---|
189 | Lsi as length (Brief="Inlet Baffle Spacing",Lower=1e-8); |
---|
190 | Lso as length (Brief="Outlet Baffle Spacing",Lower=1e-8); |
---|
191 | |
---|
192 | end |
---|
193 | |
---|
194 | Model NTU_Basic |
---|
195 | |
---|
196 | ATTRIBUTES |
---|
197 | Pallete = false; |
---|
198 | Brief = "Number of Units Transference Method."; |
---|
199 | Info = |
---|
200 | "to be documented"; |
---|
201 | |
---|
202 | VARIABLES |
---|
203 | |
---|
204 | Ch as positive (Brief="Hot Stream Heat Capacity",Lower=1e-3,Default=1e3,Unit='W/K'); |
---|
205 | Cc as positive (Brief="Cold Stream Heat Capacity",Lower=1e-3,Default=1e3,Unit='W/K'); |
---|
206 | Cr as positive (Brief="Heat Capacity Ratio",Default=0.5,Lower=1e-6); |
---|
207 | Cmin as positive (Brief="Minimum Heat Capacity",Lower=1e-10,Default=1e3,Unit='W/K'); |
---|
208 | Cmax as positive (Brief="Maximum Heat Capacity",Lower=1e-10,Default=1e3,Unit='W/K'); |
---|
209 | NTU as positive (Brief="Number of Units Transference",Default=0.05,Lower=1e-10); |
---|
210 | Eft as positive (Brief="Effectiveness",Default=0.5,Lower=1e-8,Upper=1, Symbol ="\varepsilon"); |
---|
211 | Eft1 as positive (Brief="Effectiveness Correction",Lower=1e-8,Default=0.5, Symbol ="\hat {\varepsilon}"); |
---|
212 | |
---|
213 | end |
---|
214 | |
---|
215 | Model LMTD_Basic |
---|
216 | |
---|
217 | ATTRIBUTES |
---|
218 | Pallete = false; |
---|
219 | Brief = "Log Mean Temperature Difference Method."; |
---|
220 | Info = |
---|
221 | "to be documented"; |
---|
222 | |
---|
223 | VARIABLES |
---|
224 | |
---|
225 | DT0 as temp_delta (Brief="Temperature Difference at Inlet",Lower=1e-6, Symbol ="\Delta T_0"); |
---|
226 | DTL as temp_delta (Brief="Temperature Difference at Outlet",Lower=1e-6, Symbol ="\Delta T_L"); |
---|
227 | LMTD as temp_delta (Brief="Logarithmic Mean Temperature Difference",Lower=1e-6); |
---|
228 | Fc as positive (Brief="LMTD Correction Factor",Lower=0.1); |
---|
229 | |
---|
230 | EQUATIONS |
---|
231 | |
---|
232 | if abs(DT0 - DTL) > 0.05*max(abs([DT0,DTL])) |
---|
233 | |
---|
234 | then |
---|
235 | "Log Mean Temperature Difference" |
---|
236 | LMTD= (DT0-DTL)/ln(DT0/DTL); |
---|
237 | |
---|
238 | else |
---|
239 | |
---|
240 | if DT0*DTL equal 0 |
---|
241 | |
---|
242 | then |
---|
243 | "Log Mean Temperature Difference" |
---|
244 | LMTD = 0.5*(DT0+DTL); |
---|
245 | |
---|
246 | else |
---|
247 | "Log Mean Temperature Difference" |
---|
248 | LMTD = 0.5*(DT0+DTL)*(1-(DT0-DTL)^2/(DT0*DTL)*(1+(DT0-DTL)^2/(DT0*DTL)/2)/12); |
---|
249 | |
---|
250 | end |
---|
251 | |
---|
252 | end |
---|
253 | |
---|
254 | end |
---|
255 | |
---|
256 | Model Details_Main |
---|
257 | |
---|
258 | ATTRIBUTES |
---|
259 | Pallete = false; |
---|
260 | Brief = "to be documented"; |
---|
261 | Info = |
---|
262 | "to be documented"; |
---|
263 | |
---|
264 | VARIABLES |
---|
265 | A as area (Brief="Exchange Surface Area"); |
---|
266 | Q as power (Brief="Heat Transfer", Default=7000, Lower=1e-6, Upper=1e10); |
---|
267 | Uc as heat_trans_coeff (Brief="Overall Heat Transfer Coefficient Clean",Default=1,Lower=1e-6,Upper=1e10); |
---|
268 | Ud as heat_trans_coeff (Brief="Overall Heat Transfer Coefficient Dirty",Default=1,Lower=1e-6,Upper=1e10); |
---|
269 | |
---|
270 | end |
---|
271 | |
---|
272 | Model Tube_Side_Main |
---|
273 | |
---|
274 | ATTRIBUTES |
---|
275 | Pallete = false; |
---|
276 | Brief = "to be documented"; |
---|
277 | Info = |
---|
278 | "to be documented"; |
---|
279 | |
---|
280 | VARIABLES |
---|
281 | PressureDrop as Tube_Pdrop (Brief="Tube Side Pressure Drop"); |
---|
282 | HeatTransfer as Tube_Heat_Transfer (Brief="Tube Side Heat Transfer"); |
---|
283 | Properties as Physical_Properties (Brief="Tube Side Properties"); |
---|
284 | |
---|
285 | end |
---|
286 | |
---|
287 | Model Shell_Side_Main |
---|
288 | |
---|
289 | ATTRIBUTES |
---|
290 | Pallete = false; |
---|
291 | Brief = "to be documented"; |
---|
292 | Info = |
---|
293 | "to be documented"; |
---|
294 | |
---|
295 | VARIABLES |
---|
296 | PressureDrop as Shell_Pdrop (Brief="Shell Side Pressure Drop"); |
---|
297 | HeatTransfer as Shell_Heat_Transfer (Brief= "Shell Side Heat Transfer"); |
---|
298 | Properties as Physical_Properties (Brief="ShellSide Properties"); |
---|
299 | |
---|
300 | end |
---|
301 | |
---|
302 | Model Basic_Pdrop |
---|
303 | |
---|
304 | ATTRIBUTES |
---|
305 | Pallete = false; |
---|
306 | Brief = "to be documented"; |
---|
307 | Info = |
---|
308 | "to be documented"; |
---|
309 | |
---|
310 | VARIABLES |
---|
311 | |
---|
312 | Pdrop as press_delta (Brief="Pressure Drop",Default=0.01, Lower=0,DisplayUnit='kPa' , Symbol ="\Delta P"); |
---|
313 | FPdrop as Real (Brief="Pressure Drop : Fraction of Inlet",Lower=0,Upper=0.8); |
---|
314 | |
---|
315 | end |
---|
316 | |
---|
317 | Model DoublePipe_HeatTransfer |
---|
318 | |
---|
319 | ATTRIBUTES |
---|
320 | Pallete = false; |
---|
321 | Brief = "to be documented"; |
---|
322 | Info = |
---|
323 | "to be documented"; |
---|
324 | |
---|
325 | PARAMETERS |
---|
326 | As as area (Brief="Cross Sectional Area for Flow",Default=0.05,Lower=1e-8); |
---|
327 | Dh as length (Brief="Hydraulic Diameter of Pipe for Heat Transfer",Lower=1e-8); |
---|
328 | |
---|
329 | VARIABLES |
---|
330 | Re as positive (Brief="Reynolds Number",Default=100,Lower=1); |
---|
331 | hcoeff as heat_trans_coeff (Brief="Film Coefficient",Default=1,Lower=1e-12, Upper=1e6); |
---|
332 | fi as fricfactor (Brief="Friction Factor", Default=0.05, Lower=1e-10, Upper=2000); |
---|
333 | Nu as positive (Brief="Nusselt Number",Default=0.5,Lower=1e-8); |
---|
334 | PR as positive (Brief="Prandtl Number",Default=0.5,Lower=1e-8); |
---|
335 | Phi as positive (Brief="Phi Correction",Default=1,Lower=1e-3); |
---|
336 | Vmean as velocity (Brief="Tube Velocity",Lower=1e-8); |
---|
337 | |
---|
338 | end |
---|
339 | |
---|
340 | Model DoublePipe_PressureDrop |
---|
341 | |
---|
342 | ATTRIBUTES |
---|
343 | Pallete = false; |
---|
344 | Brief = "to be documented"; |
---|
345 | Info = |
---|
346 | "to be documented"; |
---|
347 | |
---|
348 | PARAMETERS |
---|
349 | |
---|
350 | Dh as length (Brief="Hydraulic Diameter of Pipe for Pressure Drop",Lower=1e-6); |
---|
351 | |
---|
352 | VARIABLES |
---|
353 | |
---|
354 | Pdrop as press_delta (Brief="Total Pressure Drop",Default=0.01, Lower=1e-10,DisplayUnit='kPa', Symbol ="\Delta P"); |
---|
355 | Pd_fric as press_delta (Brief="Pressure Drop for friction",Default=0.01, Lower=1e-10,DisplayUnit='kPa', Symbol ="\Delta P_{fric}"); |
---|
356 | Pd_ret as press_delta (Brief="Pressure Drop due to return",Default=0.01, Lower=0,DisplayUnit='kPa', Symbol ="\Delta P_{return}"); |
---|
357 | fi as fricfactor (Brief="Friction Factor", Default=0.05, Lower=1e-10, Upper=2000); |
---|
358 | Re as positive (Brief="Reynolds Number",Default=100,Lower=1); |
---|
359 | |
---|
360 | end |
---|
361 | |
---|
362 | Model Main_DoublePipe |
---|
363 | |
---|
364 | ATTRIBUTES |
---|
365 | Pallete = false; |
---|
366 | Brief = "to be documented"; |
---|
367 | Info = |
---|
368 | "to be documented"; |
---|
369 | |
---|
370 | VARIABLES |
---|
371 | |
---|
372 | HeatTransfer as DoublePipe_HeatTransfer (Brief="Double Pipe Heat Transfer"); |
---|
373 | PressureDrop as DoublePipe_PressureDrop (Brief="Double Pipe Pressure Drop"); |
---|
374 | Properties as Physical_Properties (Brief="Double Pipe Properties"); |
---|
375 | |
---|
376 | end |
---|
377 | |
---|
378 | Model Main_Simplified |
---|
379 | |
---|
380 | ATTRIBUTES |
---|
381 | Pallete = false; |
---|
382 | Brief = "to be documented"; |
---|
383 | Info = |
---|
384 | "to be documented"; |
---|
385 | |
---|
386 | VARIABLES |
---|
387 | |
---|
388 | PressureDrop as Basic_Pdrop (Brief="Pressure Drop", Symbol=" "); |
---|
389 | Properties as Physical_Properties (Brief="Physical Properties", Symbol=" "); |
---|
390 | |
---|
391 | end |
---|
392 | |
---|
393 | Model PHE_HeatTransfer |
---|
394 | |
---|
395 | ATTRIBUTES |
---|
396 | Pallete = false; |
---|
397 | Brief = "to be documented"; |
---|
398 | Info = |
---|
399 | "to be documented"; |
---|
400 | |
---|
401 | VARIABLES |
---|
402 | |
---|
403 | Re as positive (Brief="Reynolds Number",Default=100,Lower=1); |
---|
404 | PR as positive (Brief="Prandtl Number",Default=0.5,Lower=1e-8); |
---|
405 | NTU as positive (Brief="Number of Units Transference",Default=0.05,Lower=1e-10); |
---|
406 | WCp as positive (Brief="Stream Heat Capacity",Lower=1e-3,Default=1e3,Unit='W/K'); |
---|
407 | hcoeff as heat_trans_coeff (Brief="Film Coefficient",Default=1,Lower=1e-12, Upper=1e6); |
---|
408 | Gchannel as flux_mass (Brief ="Channel Mass Flux", Default=1, Lower=1e-6, Symbol ="G^{channel}"); |
---|
409 | Gports as flux_mass (Brief ="Ports Mass Flux", Default=1, Lower=1e-6, Symbol ="G^{ports}"); |
---|
410 | Phi as positive (Brief="Viscosity Correction",Default=1,Lower=1e-6, Symbol="\phi"); |
---|
411 | |
---|
412 | end |
---|
413 | |
---|
414 | Model PHE_PressureDrop |
---|
415 | |
---|
416 | ATTRIBUTES |
---|
417 | Pallete = false; |
---|
418 | Brief = "to be documented"; |
---|
419 | Info = |
---|
420 | "to be documented"; |
---|
421 | |
---|
422 | VARIABLES |
---|
423 | |
---|
424 | DPchannel as press_delta (Brief="Channel Pressure Drop",Default=0.01, Lower=1e-10,DisplayUnit='kPa', Symbol ="\Delta P^{channel}"); |
---|
425 | DPports as press_delta (Brief="Ports Pressure Drop",Default=0.01, Lower=1e-10,DisplayUnit='kPa', Symbol ="\Delta P^{ports}"); |
---|
426 | Pdrop as press_delta (Brief="Total Pressure Drop",Default=0.01, Lower=1e-10,DisplayUnit='kPa', Symbol ="\Delta P"); |
---|
427 | fi as fricfactor (Brief="Friction Factor", Default=0.05, Lower=1e-10, Upper=2000); |
---|
428 | Vchannel as velocity (Brief="Stream Velocity in Channel",Lower=1e-8, Symbol ="V^{channel}"); |
---|
429 | Vports as velocity (Brief="Stream Velocity in Ports",Lower=1e-8, Symbol ="V^{ports}"); |
---|
430 | Npassage as Real (Brief="Number of Channels per Pass", Symbol ="N^{passage}"); |
---|
431 | end |
---|
432 | |
---|
433 | Model Main_PHE |
---|
434 | |
---|
435 | ATTRIBUTES |
---|
436 | Pallete = false; |
---|
437 | Brief = "to be documented"; |
---|
438 | Info = |
---|
439 | "to be documented"; |
---|
440 | |
---|
441 | VARIABLES |
---|
442 | |
---|
443 | HeatTransfer as PHE_HeatTransfer (Brief="PHE Heat Transfer", Symbol = " "); |
---|
444 | PressureDrop as PHE_PressureDrop (Brief="PHE Pressure Drop", Symbol = " "); |
---|
445 | Properties as Physical_Properties (Brief="PHE Properties", Symbol = " "); |
---|
446 | |
---|
447 | end |
---|
448 | |
---|
449 | Model Thermal_PHE |
---|
450 | |
---|
451 | ATTRIBUTES |
---|
452 | Pallete = false; |
---|
453 | Brief = "to be documented"; |
---|
454 | Info = |
---|
455 | "to be documented"; |
---|
456 | |
---|
457 | VARIABLES |
---|
458 | Cr as positive (Brief="Heat Capacity Ratio",Default=0.5,Lower=1e-6); |
---|
459 | Cmin as positive (Brief="Minimum Heat Capacity",Lower=1e-10,Default=1e3,Unit='W/K'); |
---|
460 | Cmax as positive (Brief="Maximum Heat Capacity",Lower=1e-10,Default=1e3,Unit='W/K'); |
---|
461 | NTU as positive (Brief="Number of Units Transference",Default=0.05,Lower=1e-10); |
---|
462 | Eft as positive (Brief="Effectiveness",Default=0.5,Lower=0.4,Upper=1, Symbol = "\varepsilon"); |
---|
463 | Q as power (Brief="Heat Transfer", Default=7000, Lower=1e-6, Upper=1e10); |
---|
464 | Uc as heat_trans_coeff (Brief="Overall Heat Transfer Coefficient Clean",Default=1,Lower=1e-6,Upper=1e10); |
---|
465 | Ud as heat_trans_coeff (Brief="Overall Heat Transfer Coefficient Dirty",Default=1,Lower=1e-6,Upper=1e10); |
---|
466 | end |
---|