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