[985] | 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 simplified 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_ShellandTubes.mso 100 2007-01-09 14:15:56Z bicca $ |
---|
| 24 | *--------------------------------------------------------------------*# |
---|
| 25 | using "heat_exchangers/Heatex"; |
---|
| 26 | |
---|
| 27 | FlowSheet ShellandTubes_NTU |
---|
| 28 | |
---|
| 29 | PARAMETERS |
---|
| 30 | |
---|
| 31 | PP as Plugin (Brief="Physical Properties",Type="PP",LiquidModel = "PR",VapourModel = "PR", |
---|
| 32 | Components = ["water","n-butane", "benzene" ]); |
---|
| 33 | NComp as Integer; |
---|
| 34 | |
---|
| 35 | DEVICES |
---|
| 36 | |
---|
| 37 | exchanger as Heatex_NTU; |
---|
| 38 | streamhot as source; |
---|
| 39 | streamcold as source; |
---|
| 40 | OutCold as sink; |
---|
| 41 | OutHot as sink; |
---|
| 42 | |
---|
| 43 | SET |
---|
| 44 | |
---|
| 45 | NComp = PP.NumberOfComponents; |
---|
| 46 | |
---|
| 47 | exchanger.ExchangerType = "Shell and Tube"; |
---|
| 48 | |
---|
| 49 | CONNECTIONS |
---|
| 50 | |
---|
| 51 | streamhot.Outlet to exchanger.InletHot; |
---|
| 52 | streamcold.Outlet to exchanger.InletCold; |
---|
| 53 | |
---|
| 54 | exchanger.OutletHot to OutHot.Inlet; |
---|
| 55 | exchanger.OutletCold to OutCold.Inlet; |
---|
| 56 | |
---|
| 57 | SPECIFY |
---|
| 58 | |
---|
| 59 | exchanger.U = 210*'W/(m^2*K)'; |
---|
| 60 | |
---|
| 61 | exchanger.PdropHotSide = 0.1*'kPa'; |
---|
| 62 | exchanger.PdropColdSide = 0.1*'kPa'; |
---|
| 63 | |
---|
| 64 | streamhot.F = 36 * 'kmol/h'; |
---|
| 65 | streamhot.T = 363.15 * 'K'; |
---|
| 66 | streamhot.P = 120 * 'kPa'; |
---|
| 67 | streamhot.Composition = [1,0,0]; |
---|
| 68 | |
---|
| 69 | streamcold.F = 10 * 'kmol/h'; |
---|
| 70 | streamcold.P = 120 * 'kPa'; |
---|
| 71 | streamcold.T = 303.15 * 'K'; |
---|
| 72 | streamcold.Composition = [0.1,0.7, 0.2]; |
---|
| 73 | |
---|
| 74 | exchanger.A = 15*'m^2'; |
---|
| 75 | |
---|
| 76 | OPTIONS |
---|
| 77 | |
---|
| 78 | Dynamic = false; |
---|
| 79 | |
---|
| 80 | end |
---|
| 81 | |
---|
| 82 | FlowSheet ShellandTubes_LMTD |
---|
| 83 | |
---|
| 84 | PARAMETERS |
---|
| 85 | |
---|
| 86 | PP as Plugin (Brief="Physical Properties",Type="PP",LiquidModel = "PR",VapourModel = "PR", |
---|
| 87 | Components = ["water","n-butane", "benzene" ]); |
---|
| 88 | NComp as Integer; |
---|
| 89 | |
---|
| 90 | DEVICES |
---|
| 91 | |
---|
| 92 | exchanger as Heatex_LMTD; |
---|
| 93 | streamhot as source; |
---|
| 94 | streamcold as source; |
---|
| 95 | OutCold as sink; |
---|
| 96 | OutHot as sink; |
---|
| 97 | |
---|
| 98 | SET |
---|
| 99 | |
---|
| 100 | NComp = PP.NumberOfComponents; |
---|
| 101 | |
---|
| 102 | exchanger.LMTDcorrection = "Bowmann"; |
---|
| 103 | exchanger.ExchangerType = "Shell and Tube"; |
---|
| 104 | |
---|
| 105 | |
---|
| 106 | CONNECTIONS |
---|
| 107 | |
---|
| 108 | streamhot.Outlet to exchanger.InletHot; |
---|
| 109 | streamcold.Outlet to exchanger.InletCold; |
---|
| 110 | |
---|
| 111 | exchanger.OutletHot to OutHot.Inlet; |
---|
| 112 | exchanger.OutletCold to OutCold.Inlet; |
---|
| 113 | |
---|
| 114 | SPECIFY |
---|
| 115 | |
---|
| 116 | exchanger.U = 210*'W/(m^2*K)'; |
---|
| 117 | |
---|
| 118 | exchanger.PdropHotSide = 0.1*'kPa'; |
---|
| 119 | exchanger.PdropColdSide = 0.1*'kPa'; |
---|
| 120 | |
---|
| 121 | streamhot.F = 36 * 'kmol/h'; |
---|
| 122 | streamhot.T = 363.15 * 'K'; |
---|
| 123 | streamhot.P = 120 * 'kPa'; |
---|
| 124 | streamhot.Composition = [1,0,0]; |
---|
| 125 | |
---|
| 126 | streamcold.F = 10 * 'kmol/h'; |
---|
| 127 | streamcold.P = 120 * 'kPa'; |
---|
| 128 | streamcold.T = 303.15 * 'K'; |
---|
| 129 | streamcold.Composition = [0.1,0.7, 0.2]; |
---|
| 130 | |
---|
| 131 | exchanger.A = 15*'m^2'; |
---|
| 132 | |
---|
| 133 | OPTIONS |
---|
| 134 | |
---|
| 135 | Dynamic = false; |
---|
| 136 | GuessFile = "GuessShellandTubes"; |
---|
[1004] | 137 | |
---|
[985] | 138 | end |
---|