[78] | 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. |
---|
[26] | 14 | *-------------------------------------------------------------------- |
---|
[1] | 15 | * Author: Gerson Balbueno Bicca |
---|
| 16 | * $Id: HEX_Engine.mso 442 2008-01-08 17:56:24Z bicca $ |
---|
| 17 | *--------------------------------------------------------------------*# |
---|
| 18 | |
---|
| 19 | using "streams"; |
---|
| 20 | |
---|
| 21 | Model Properties_Average |
---|
[135] | 22 | |
---|
| 23 | ATTRIBUTES |
---|
| 24 | Pallete = false; |
---|
[197] | 25 | Brief = "Average physical properties of the streams."; |
---|
[135] | 26 | Info = |
---|
[284] | 27 | "to be documented."; |
---|
[135] | 28 | |
---|
[1] | 29 | VARIABLES |
---|
[26] | 30 | Mw as molweight (Brief="Average Mol Weight",Default=75, Lower=1, Upper=1e8); |
---|
[135] | 31 | T as temperature (Brief="Average Temperature",Lower=50); |
---|
[324] | 32 | P as pressure (Brief="Average Pressure",Default=1, Lower=1e-10, Upper=2e4, DisplayUnit='kPa'); |
---|
[355] | 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"); |
---|
[236] | 35 | Cp as cp_mol (Brief="Stream Molar Heat Capacity", Upper=1e10); |
---|
[135] | 36 | K as conductivity (Brief="Stream Thermal Conductivity", Default=1.0, Lower=1e-5, Upper=500); |
---|
[110] | 37 | |
---|
[1] | 38 | end |
---|
| 39 | |
---|
| 40 | Model Properties_In_Out |
---|
[135] | 41 | |
---|
| 42 | ATTRIBUTES |
---|
| 43 | Pallete = false; |
---|
[197] | 44 | Brief = "Inlet and outlet physical properties of the streams."; |
---|
[135] | 45 | Info = |
---|
[284] | 46 | "to be documented."; |
---|
[135] | 47 | |
---|
[1] | 48 | VARIABLES |
---|
[135] | 49 | Fw as flow_mass (Brief="Stream Mass Flow"); |
---|
[355] | 50 | rho as dens_mass (Brief="Stream Density" ,Default=1000, Lower=1e-3, Upper=5e5, Symbol = "\rho"); |
---|
[1] | 51 | end |
---|
| 52 | |
---|
| 53 | Model Properties_Wall |
---|
[135] | 54 | |
---|
| 55 | ATTRIBUTES |
---|
| 56 | Pallete = false; |
---|
[197] | 57 | Brief = "Physical properties of the streams at wall temperature."; |
---|
[135] | 58 | Info = |
---|
[284] | 59 | "to be documented."; |
---|
[135] | 60 | |
---|
[1] | 61 | VARIABLES |
---|
[168] | 62 | |
---|
[355] | 63 | Mu as viscosity (Brief="Stream Viscosity",Default=1, Lower=1e-5, Upper=1e5, Symbol = "\mu"); |
---|
[135] | 64 | Twall as temperature (Brief="Wall Temperature",Lower=50); |
---|
[110] | 65 | |
---|
[1] | 66 | end |
---|
| 67 | |
---|
| 68 | Model Physical_Properties |
---|
[135] | 69 | |
---|
| 70 | ATTRIBUTES |
---|
| 71 | Pallete = false; |
---|
[284] | 72 | Brief = "to be documented"; |
---|
[135] | 73 | Info = |
---|
[284] | 74 | "to be documented"; |
---|
[135] | 75 | |
---|
[1] | 76 | VARIABLES |
---|
[164] | 77 | |
---|
[355] | 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}"); |
---|
[110] | 82 | |
---|
[1] | 83 | end |
---|
| 84 | |
---|
| 85 | Model Tube_Pdrop |
---|
[135] | 86 | |
---|
| 87 | ATTRIBUTES |
---|
| 88 | Pallete = false; |
---|
[284] | 89 | Brief = "to be documented"; |
---|
[135] | 90 | Info = |
---|
[284] | 91 | "to be documented"; |
---|
[135] | 92 | |
---|
[1] | 93 | VARIABLES |
---|
[223] | 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'); |
---|
[26] | 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); |
---|
[223] | 100 | fi as fricfactor (Brief="Friction Factor", Default=0.05, Lower=1e-10, Upper=2000); |
---|
[1] | 101 | |
---|
| 102 | EQUATIONS |
---|
[26] | 103 | "Total Pressure Drop" |
---|
| 104 | Pdtotal = PdTube + Pdnozzle_in + Pdnozzle_out; |
---|
[1] | 105 | |
---|
| 106 | end |
---|
| 107 | |
---|
| 108 | Model Tube_Heat_Transfer |
---|
[135] | 109 | |
---|
| 110 | ATTRIBUTES |
---|
| 111 | Pallete = false; |
---|
[284] | 112 | Brief = "to be documented"; |
---|
[135] | 113 | Info = |
---|
[284] | 114 | "to be documented"; |
---|
[135] | 115 | |
---|
[1] | 116 | VARIABLES |
---|
[135] | 117 | Re as positive (Brief="Tube Side Reynolds Number",Default=1000,Lower=1); |
---|
[160] | 118 | Nu as positive (Brief="Nusselt Number",Default=0.5,Lower=1e-8); |
---|
[135] | 119 | htube as heat_trans_coeff (Brief="Tube Side Film Coefficient",Default=1,Lower=1e-12, Upper=1e6); |
---|
[160] | 120 | fi as fricfactor (Brief="Friction Factor", Default=0.05, Lower=1e-10, Upper=2000); |
---|
[135] | 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); |
---|
[110] | 124 | |
---|
[1] | 125 | end |
---|
| 126 | |
---|
| 127 | Model Shell_Pdrop |
---|
[135] | 128 | |
---|
| 129 | ATTRIBUTES |
---|
| 130 | Pallete = false; |
---|
[284] | 131 | Brief = "to be documented"; |
---|
[135] | 132 | Info = |
---|
[284] | 133 | "to be documented"; |
---|
[135] | 134 | |
---|
[1] | 135 | VARIABLES |
---|
[223] | 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); |
---|
[135] | 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); |
---|
[157] | 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'); |
---|
[1] | 148 | |
---|
| 149 | EQUATIONS |
---|
[26] | 150 | "Shell Side Total Pressure Drop" |
---|
| 151 | Pdtotal = PdCross + PdEndZones + Pdnozzle_in + Pdnozzle_out + Pdwindow; |
---|
[1] | 152 | |
---|
| 153 | end |
---|
| 154 | |
---|
| 155 | Model Shell_Heat_Transfer |
---|
[135] | 156 | |
---|
| 157 | ATTRIBUTES |
---|
| 158 | Pallete = false; |
---|
[284] | 159 | Brief = "to be documented"; |
---|
[135] | 160 | Info = |
---|
[284] | 161 | "to be documented"; |
---|
[135] | 162 | |
---|
[1] | 163 | VARIABLES |
---|
[135] | 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); |
---|
[1] | 166 | hshell as heat_trans_coeff (Brief="Shell Side Film Coefficient",Default=1,Lower=1e-12, Upper=1e6); |
---|
[135] | 167 | Phi as positive (Brief="Phi Correction",Default=1,Lower=1e-3); |
---|
[1] | 168 | Ji as constant (Brief="Shell Side Ji Factor",Default=0.05); |
---|
[135] | 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); |
---|
[1] | 176 | |
---|
| 177 | end |
---|
| 178 | |
---|
| 179 | Model Baffles_Main |
---|
[135] | 180 | |
---|
| 181 | ATTRIBUTES |
---|
| 182 | Pallete = false; |
---|
[284] | 183 | Brief = "to be documented"; |
---|
[135] | 184 | Info = |
---|
[284] | 185 | "to be documented"; |
---|
[135] | 186 | |
---|
[1] | 187 | VARIABLES |
---|
[135] | 188 | Ls as length (Brief="Central Baffle Spacing",Lower=1e-8); |
---|
[1] | 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 | |
---|
[164] | 194 | Model NTU_Basic |
---|
| 195 | |
---|
| 196 | ATTRIBUTES |
---|
| 197 | Pallete = false; |
---|
[197] | 198 | Brief = "Number of Units Transference Method."; |
---|
[164] | 199 | Info = |
---|
[284] | 200 | "to be documented"; |
---|
[164] | 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); |
---|
[360] | 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}"); |
---|
[164] | 212 | |
---|
| 213 | end |
---|
| 214 | |
---|
| 215 | Model LMTD_Basic |
---|
| 216 | |
---|
| 217 | ATTRIBUTES |
---|
| 218 | Pallete = false; |
---|
[197] | 219 | Brief = "Log Mean Temperature Difference Method."; |
---|
[164] | 220 | Info = |
---|
[284] | 221 | "to be documented"; |
---|
[164] | 222 | |
---|
| 223 | VARIABLES |
---|
| 224 | |
---|
[357] | 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"); |
---|
[346] | 227 | LMTD as temp_delta (Brief="Logarithmic Mean Temperature Difference",Lower=1e-6); |
---|
[224] | 228 | Fc as positive (Brief="LMTD Correction Factor",Lower=0.1); |
---|
[164] | 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 | |
---|
[1] | 256 | Model Details_Main |
---|
[135] | 257 | |
---|
| 258 | ATTRIBUTES |
---|
| 259 | Pallete = false; |
---|
[284] | 260 | Brief = "to be documented"; |
---|
[135] | 261 | Info = |
---|
[284] | 262 | "to be documented"; |
---|
[135] | 263 | |
---|
[1] | 264 | VARIABLES |
---|
[135] | 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); |
---|
[1] | 269 | |
---|
| 270 | end |
---|
| 271 | |
---|
[26] | 272 | Model Tube_Side_Main |
---|
[135] | 273 | |
---|
| 274 | ATTRIBUTES |
---|
| 275 | Pallete = false; |
---|
[284] | 276 | Brief = "to be documented"; |
---|
[135] | 277 | Info = |
---|
[284] | 278 | "to be documented"; |
---|
[135] | 279 | |
---|
[26] | 280 | VARIABLES |
---|
[135] | 281 | PressureDrop as Tube_Pdrop (Brief="Tube Side Pressure Drop"); |
---|
| 282 | HeatTransfer as Tube_Heat_Transfer (Brief="Tube Side Heat Transfer"); |
---|
[164] | 283 | Properties as Physical_Properties (Brief="Tube Side Properties"); |
---|
[110] | 284 | |
---|
[26] | 285 | end |
---|
| 286 | |
---|
| 287 | Model Shell_Side_Main |
---|
[135] | 288 | |
---|
| 289 | ATTRIBUTES |
---|
| 290 | Pallete = false; |
---|
[284] | 291 | Brief = "to be documented"; |
---|
[135] | 292 | Info = |
---|
[284] | 293 | "to be documented"; |
---|
[135] | 294 | |
---|
[26] | 295 | VARIABLES |
---|
[135] | 296 | PressureDrop as Shell_Pdrop (Brief="Shell Side Pressure Drop"); |
---|
| 297 | HeatTransfer as Shell_Heat_Transfer (Brief= "Shell Side Heat Transfer"); |
---|
[164] | 298 | Properties as Physical_Properties (Brief="ShellSide Properties"); |
---|
[110] | 299 | |
---|
[26] | 300 | end |
---|
| 301 | |
---|
[1] | 302 | Model Basic_Pdrop |
---|
[135] | 303 | |
---|
| 304 | ATTRIBUTES |
---|
| 305 | Pallete = false; |
---|
[284] | 306 | Brief = "to be documented"; |
---|
[135] | 307 | Info = |
---|
[284] | 308 | "to be documented"; |
---|
[135] | 309 | |
---|
[1] | 310 | VARIABLES |
---|
[166] | 311 | |
---|
[360] | 312 | Pdrop as press_delta (Brief="Pressure Drop",Default=0.01, Lower=0,DisplayUnit='kPa' , Symbol ="\Delta P"); |
---|
[26] | 313 | FPdrop as Real (Brief="Pressure Drop : Fraction of Inlet",Lower=0,Upper=0.8); |
---|
[110] | 314 | |
---|
[1] | 315 | end |
---|
| 316 | |
---|
[68] | 317 | Model DoublePipe_HeatTransfer |
---|
[135] | 318 | |
---|
| 319 | ATTRIBUTES |
---|
| 320 | Pallete = false; |
---|
[284] | 321 | Brief = "to be documented"; |
---|
[135] | 322 | Info = |
---|
[284] | 323 | "to be documented"; |
---|
[135] | 324 | |
---|
[157] | 325 | PARAMETERS |
---|
[150] | 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); |
---|
[157] | 328 | |
---|
| 329 | VARIABLES |
---|
[135] | 330 | Re as positive (Brief="Reynolds Number",Default=100,Lower=1); |
---|
[68] | 331 | hcoeff as heat_trans_coeff (Brief="Film Coefficient",Default=1,Lower=1e-12, Upper=1e6); |
---|
[150] | 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); |
---|
[135] | 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); |
---|
[110] | 337 | |
---|
[68] | 338 | end |
---|
| 339 | |
---|
| 340 | Model DoublePipe_PressureDrop |
---|
[135] | 341 | |
---|
| 342 | ATTRIBUTES |
---|
| 343 | Pallete = false; |
---|
[284] | 344 | Brief = "to be documented"; |
---|
[135] | 345 | Info = |
---|
[284] | 346 | "to be documented"; |
---|
[135] | 347 | |
---|
[157] | 348 | PARAMETERS |
---|
| 349 | |
---|
| 350 | Dh as length (Brief="Hydraulic Diameter of Pipe for Pressure Drop",Lower=1e-6); |
---|
| 351 | |
---|
[150] | 352 | VARIABLES |
---|
| 353 | |
---|
[404] | 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}"); |
---|
[68] | 357 | fi as fricfactor (Brief="Friction Factor", Default=0.05, Lower=1e-10, Upper=2000); |
---|
[135] | 358 | Re as positive (Brief="Reynolds Number",Default=100,Lower=1); |
---|
[110] | 359 | |
---|
[68] | 360 | end |
---|
| 361 | |
---|
| 362 | Model Main_DoublePipe |
---|
[135] | 363 | |
---|
| 364 | ATTRIBUTES |
---|
| 365 | Pallete = false; |
---|
[284] | 366 | Brief = "to be documented"; |
---|
[135] | 367 | Info = |
---|
[284] | 368 | "to be documented"; |
---|
[135] | 369 | |
---|
[68] | 370 | VARIABLES |
---|
[110] | 371 | |
---|
[442] | 372 | HeatTransfer as DoublePipe_HeatTransfer (Brief="Double Pipe Heat Transfer",Symbol=" "); |
---|
| 373 | PressureDrop as DoublePipe_PressureDrop (Brief="Double Pipe Pressure Drop", Symbol=" "); |
---|
| 374 | Properties as Physical_Properties (Brief="Double Pipe Properties",Symbol=" " ); |
---|
[164] | 375 | |
---|
[68] | 376 | end |
---|
[166] | 377 | |
---|
| 378 | Model Main_Simplified |
---|
| 379 | |
---|
| 380 | ATTRIBUTES |
---|
| 381 | Pallete = false; |
---|
[284] | 382 | Brief = "to be documented"; |
---|
[166] | 383 | Info = |
---|
[284] | 384 | "to be documented"; |
---|
[166] | 385 | |
---|
| 386 | VARIABLES |
---|
| 387 | |
---|
[360] | 388 | PressureDrop as Basic_Pdrop (Brief="Pressure Drop", Symbol=" "); |
---|
| 389 | Properties as Physical_Properties (Brief="Physical Properties", Symbol=" "); |
---|
[166] | 390 | |
---|
| 391 | end |
---|
[253] | 392 | |
---|
| 393 | Model PHE_HeatTransfer |
---|
| 394 | |
---|
| 395 | ATTRIBUTES |
---|
| 396 | Pallete = false; |
---|
[284] | 397 | Brief = "to be documented"; |
---|
[253] | 398 | Info = |
---|
[284] | 399 | "to be documented"; |
---|
[253] | 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); |
---|
[357] | 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}"); |
---|
[387] | 410 | Phi as positive (Brief="Viscosity Correction",Default=1,Lower=1e-6, Symbol="\phi"); |
---|
[253] | 411 | |
---|
| 412 | end |
---|
| 413 | |
---|
| 414 | Model PHE_PressureDrop |
---|
| 415 | |
---|
| 416 | ATTRIBUTES |
---|
| 417 | Pallete = false; |
---|
[284] | 418 | Brief = "to be documented"; |
---|
[253] | 419 | Info = |
---|
[284] | 420 | "to be documented"; |
---|
[253] | 421 | |
---|
| 422 | VARIABLES |
---|
| 423 | |
---|
[357] | 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"); |
---|
[253] | 427 | fi as fricfactor (Brief="Friction Factor", Default=0.05, Lower=1e-10, Upper=2000); |
---|
[357] | 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}"); |
---|
[253] | 431 | end |
---|
| 432 | |
---|
| 433 | Model Main_PHE |
---|
| 434 | |
---|
| 435 | ATTRIBUTES |
---|
| 436 | Pallete = false; |
---|
[284] | 437 | Brief = "to be documented"; |
---|
[253] | 438 | Info = |
---|
[284] | 439 | "to be documented"; |
---|
[253] | 440 | |
---|
| 441 | VARIABLES |
---|
| 442 | |
---|
[357] | 443 | HeatTransfer as PHE_HeatTransfer (Brief="PHE Heat Transfer", Symbol = " "); |
---|
| 444 | PressureDrop as PHE_PressureDrop (Brief="PHE Pressure Drop", Symbol = " "); |
---|
[355] | 445 | Properties as Physical_Properties (Brief="PHE Properties", Symbol = " "); |
---|
[253] | 446 | |
---|
| 447 | end |
---|
| 448 | |
---|
[386] | 449 | Model Thermal_PHE |
---|
[253] | 450 | |
---|
| 451 | ATTRIBUTES |
---|
| 452 | Pallete = false; |
---|
[284] | 453 | Brief = "to be documented"; |
---|
[253] | 454 | Info = |
---|
[284] | 455 | "to be documented"; |
---|
[253] | 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); |
---|
[384] | 462 | Eft as positive (Brief="Effectiveness",Default=0.5,Lower=0.4,Upper=1, Symbol = "\varepsilon"); |
---|
[253] | 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 |
---|