[650] | 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.Tubes.Tubepasses = 2; |
---|
| 65 | exchanger.Shell.ShellID = 0.75 *'m'; |
---|
| 66 | exchanger.Clearances.BundleToShell = 0.043 *'m'; |
---|
| 67 | exchanger.Clearances.SealStrip = 2; |
---|
| 68 | exchanger.Shell.InletNozzleID = 0.1937 *'m'; |
---|
| 69 | exchanger.Shell.OutletNozzleID = 0.1937 *'m'; |
---|
| 70 | exchanger.Clearances.Honozzle_Shell = 0.0225 *'m'; |
---|
| 71 | exchanger.Clearances.Hinozzle_Shell = 0.02155 *'m'; |
---|
| 72 | #===================================================================== |
---|
| 73 | # Tubes Geometrical Parameters |
---|
| 74 | #===================================================================== |
---|
| 75 | exchanger.Tubes.NumberOfTubes = 500; |
---|
| 76 | exchanger.Pattern = "Triangle"; |
---|
| 77 | exchanger.Tubes.TubePitch = 0.0254 *'m'; |
---|
| 78 | exchanger.Tubes.TubeLength = 5.5 *'m'; |
---|
| 79 | exchanger.Tubes.TubeID = 0.013395 *'m'; |
---|
| 80 | exchanger.Tubes.TubeOD = 0.015875 *'m'; |
---|
| 81 | exchanger.Tubes.Kwall = 0.057 *'kW/m/K'; |
---|
| 82 | exchanger.Tubes.InletNozzleID = 0.203 *'m'; |
---|
| 83 | exchanger.Tubes.OutletNozzleID = 0.203 *'m'; |
---|
| 84 | #===================================================================== |
---|
| 85 | # Baffles Geometrical Parameters |
---|
| 86 | #===================================================================== |
---|
| 87 | exchanger.Clearances.BaffleToShell = 0.0047 *'m'; |
---|
| 88 | exchanger.Baffles.BaffleCut = 30; |
---|
| 89 | exchanger.Clearances.TubeToBaffle = 0.00039 *'m'; |
---|
| 90 | exchanger.Baffles.NumberOfBaffles = 6; |
---|
| 91 | |
---|
| 92 | #===================================================================== |
---|
| 93 | # Fouling |
---|
| 94 | #===================================================================== |
---|
| 95 | exchanger.Tubes.Fouling = 0.001*'m^2*K/kW'; |
---|
| 96 | exchanger.Shell.Fouling = 0.001*'m^2*K/kW'; |
---|
| 97 | |
---|
| 98 | SPECIFY |
---|
| 99 | #============================================ |
---|
| 100 | # Hot Stream |
---|
| 101 | #============================================ |
---|
| 102 | streamhot_in.F = 40 * 'mol/s'; |
---|
| 103 | streamhot_in.T = 373* 'K'; |
---|
| 104 | streamhot_in.Composition = [1] ; |
---|
| 105 | streamhot_in.P = 740 * 'kPa'; |
---|
| 106 | #============================================ |
---|
| 107 | # Cold Stream |
---|
| 108 | #============================================ |
---|
| 109 | streamcold_in.F = 75 * 'mol/s'; |
---|
| 110 | streamcold_in.T = 333 * 'K'; |
---|
| 111 | streamcold_in.Composition = [1]; |
---|
| 112 | streamcold_in.P = 2210*'kPa'; |
---|
| 113 | #===================================================================== |
---|
| 114 | # Baffle Spacing |
---|
| 115 | #===================================================================== |
---|
| 116 | exchanger.Baffles.Central_Spacing = 0.622 *'m'; |
---|
| 117 | exchanger.Baffles.Inlet_Spacing= 0.807 *'m'; |
---|
| 118 | |
---|
| 119 | OPTIONS |
---|
| 120 | |
---|
| 121 | Dynamic = false; |
---|
| 122 | NLASolver(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 = "Bowmann"; |
---|
| 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.Tubes.Tubepasses = 2; |
---|
| 166 | exchanger.Shell.ShellID = 0.75 *'m'; |
---|
| 167 | exchanger.Clearances.BundleToShell = 0.043 *'m'; |
---|
| 168 | exchanger.Clearances.SealStrip = 2; |
---|
| 169 | exchanger.Shell.InletNozzleID = 0.1937 *'m'; |
---|
| 170 | exchanger.Shell.OutletNozzleID = 0.1937 *'m'; |
---|
| 171 | exchanger.Clearances.Honozzle_Shell = 0.0225 *'m'; |
---|
| 172 | exchanger.Clearances.Hinozzle_Shell = 0.02155 *'m'; |
---|
| 173 | #===================================================================== |
---|
| 174 | # Tubes Geometrical Parameters |
---|
| 175 | #===================================================================== |
---|
| 176 | exchanger.Tubes.NumberOfTubes = 500; |
---|
| 177 | exchanger.Pattern = "Triangle"; |
---|
| 178 | exchanger.Tubes.TubePitch = 0.0254 *'m'; |
---|
| 179 | exchanger.Tubes.TubeLength = 5.5 *'m'; |
---|
| 180 | exchanger.Tubes.TubeID = 0.013395 *'m'; |
---|
| 181 | exchanger.Tubes.TubeOD = 0.015875 *'m'; |
---|
| 182 | exchanger.Tubes.Kwall = 0.057 *'kW/m/K'; |
---|
| 183 | exchanger.Tubes.InletNozzleID = 0.203 *'m'; |
---|
| 184 | exchanger.Tubes.OutletNozzleID = 0.203 *'m'; |
---|
| 185 | #===================================================================== |
---|
| 186 | # Baffles Geometrical Parameters |
---|
| 187 | #===================================================================== |
---|
| 188 | exchanger.Clearances.BaffleToShell = 0.0047 *'m'; |
---|
| 189 | exchanger.Baffles.BaffleCut = 30; |
---|
| 190 | exchanger.Clearances.TubeToBaffle = 0.00039 *'m'; |
---|
| 191 | exchanger.Baffles.NumberOfBaffles = 6; |
---|
| 192 | |
---|
| 193 | #===================================================================== |
---|
| 194 | # Fouling |
---|
| 195 | #===================================================================== |
---|
| 196 | exchanger.Tubes.Fouling = 0.001*'m^2*K/kW'; |
---|
| 197 | exchanger.Shell.Fouling = 0.001*'m^2*K/kW'; |
---|
| 198 | |
---|
| 199 | SPECIFY |
---|
| 200 | #============================================ |
---|
| 201 | # Hot Stream |
---|
| 202 | #============================================ |
---|
| 203 | streamhot_in.F = 40 * 'mol/s'; |
---|
| 204 | streamhot_in.T = 373* 'K'; |
---|
| 205 | streamhot_in.Composition = [1] ; |
---|
| 206 | streamhot_in.P = 740 * 'kPa'; |
---|
| 207 | #============================================ |
---|
| 208 | # Cold Stream |
---|
| 209 | #============================================ |
---|
| 210 | streamcold_in.F = 75 * 'mol/s'; |
---|
| 211 | streamcold_in.T = 333 * 'K'; |
---|
| 212 | streamcold_in.Composition = [1]; |
---|
| 213 | streamcold_in.P = 2210*'kPa'; |
---|
| 214 | #===================================================================== |
---|
| 215 | # Baffle Spacing |
---|
| 216 | #===================================================================== |
---|
| 217 | exchanger.Baffles.Central_Spacing = 0.622 *'m'; |
---|
| 218 | exchanger.Baffles.Inlet_Spacing= 0.807 *'m'; |
---|
| 219 | |
---|
| 220 | OPTIONS |
---|
| 221 | |
---|
| 222 | Dynamic = false; |
---|
| 223 | NLASolver(RelativeAccuracy = 1e-6); |
---|
| 224 | GuessFile = "GuessDetailed"; |
---|
| 225 | end |
---|
| 226 | |
---|