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