[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 a Double Pipe Heat Exchanger - NTU and LMTD Method |
---|
| 17 | *-------------------------------------------------------------------- |
---|
| 18 | * |
---|
| 19 | * This sample file needs VRTherm (www.vrtech.com.br) to run. |
---|
| 20 | * |
---|
| 21 | *---------------------------------------------------------------------- |
---|
| 22 | * Author: Gerson B. Bicca |
---|
| 23 | * $Id: Sample_DoublePipe.mso 157 2007-02-07 13:44:17Z rafael $ |
---|
| 24 | *--------------------------------------------------------------------*# |
---|
| 25 | |
---|
| 26 | using "heat_exchangers/DoublePipe.mso"; |
---|
| 27 | |
---|
| 28 | FlowSheet LMTD_Method |
---|
| 29 | |
---|
| 30 | PARAMETERS |
---|
| 31 | PP as Plugin (Type ="PP", LiquidModel = "PR", VapourModel = "PR", |
---|
| 32 | Components = ["n-hexane","water"]); |
---|
| 33 | NComp as Integer; |
---|
| 34 | |
---|
| 35 | DEVICES |
---|
| 36 | |
---|
| 37 | exchanger as DoublePipe_LMTD; |
---|
| 38 | InletHot as simple_source; |
---|
| 39 | InletCold as simple_source; |
---|
| 40 | OutletHot as sink; |
---|
| 41 | OutletCold as sink; |
---|
| 42 | |
---|
| 43 | |
---|
| 44 | CONNECTIONS |
---|
| 45 | |
---|
| 46 | InletHot.Outlet to exchanger.InletInner; |
---|
| 47 | InletCold.Outlet to exchanger.InletOuter; |
---|
| 48 | exchanger.OutletOuter to OutletCold.Inlet; |
---|
| 49 | exchanger.OutletInner to OutletHot.Inlet; |
---|
| 50 | |
---|
| 51 | SET |
---|
| 52 | |
---|
| 53 | NComp = PP.NumberOfComponents; |
---|
| 54 | |
---|
| 55 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 56 | # Options |
---|
| 57 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 58 | |
---|
| 59 | exchanger.FlowDirection = "counter"; |
---|
| 60 | exchanger.InnerTurbulentCorrelation = "SiederTate"; |
---|
| 61 | |
---|
| 62 | exchanger.OuterTurbulentCorrelation = "SiederTate"; |
---|
| 63 | exchanger.OuterLaminarCorrelation = "Schlunder"; |
---|
| 64 | |
---|
| 65 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 66 | # Double Pipe Geometrical Parameters and Alocation |
---|
| 67 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 68 | |
---|
| 69 | exchanger.Geometry.DoInner = 0.04826*'m'; |
---|
| 70 | exchanger.Geometry.DiInner = 0.04089*'m'; |
---|
| 71 | exchanger.Geometry.DiOuter = 0.07793*'m'; |
---|
| 72 | exchanger.Geometry.Kwall = 0.057 *'kW/m/K'; |
---|
| 73 | exchanger.Geometry.Lpipe = 3*'m'; |
---|
| 74 | |
---|
| 75 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 76 | # Fouling |
---|
| 77 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 78 | exchanger.Geometry.Rfi = 0.0018*'m^2*K/kW'; |
---|
| 79 | exchanger.Geometry.Rfo = 0.0021*'m^2*K/kW'; |
---|
| 80 | |
---|
| 81 | SPECIFY |
---|
| 82 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 83 | # Hot Stream |
---|
| 84 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 85 | InletHot.F = 10 * 'kmol/h'; |
---|
| 86 | InletHot.T_Cdeg = 68 * 'K'; |
---|
| 87 | InletHot.P = 5.4 * 'bar'; |
---|
| 88 | InletHot.MolarComposition = [1,0]; |
---|
| 89 | |
---|
| 90 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 91 | # Cold Stream |
---|
| 92 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 93 | InletCold.F = 5 * 'kmol/h'; |
---|
| 94 | InletCold.P = 5.1 * 'bar'; |
---|
| 95 | InletCold.T_Cdeg = 23 * 'K'; |
---|
| 96 | InletCold.MolarComposition = [0,1]; |
---|
| 97 | |
---|
| 98 | OPTIONS |
---|
| 99 | |
---|
| 100 | Dynamic = false; |
---|
| 101 | GuessFile = "GuessPipe"; |
---|
| 102 | |
---|
| 103 | end |
---|
| 104 | |
---|
| 105 | FlowSheet NTU_Method |
---|
| 106 | |
---|
| 107 | PARAMETERS |
---|
| 108 | |
---|
| 109 | PP as Plugin (Type ="PP", LiquidModel = "PR", VapourModel = "PR", |
---|
| 110 | Components = ["n-hexane","water"]); |
---|
| 111 | NComp as Integer; |
---|
| 112 | |
---|
| 113 | DEVICES |
---|
| 114 | |
---|
| 115 | exchanger as DoublePipe_NTU; |
---|
| 116 | InletHot as simple_source; |
---|
| 117 | InletCold as simple_source; |
---|
| 118 | OutletHot as simple_sink; |
---|
| 119 | OutletCold as simple_sink; |
---|
| 120 | |
---|
| 121 | |
---|
| 122 | CONNECTIONS |
---|
| 123 | |
---|
| 124 | InletHot.Outlet to exchanger.InletInner; |
---|
| 125 | InletCold.Outlet to exchanger.InletOuter; |
---|
| 126 | exchanger.OutletOuter to OutletCold.Inlet; |
---|
| 127 | exchanger.OutletInner to OutletHot.Inlet; |
---|
| 128 | |
---|
| 129 | SET |
---|
| 130 | |
---|
| 131 | NComp = PP.NumberOfComponents; |
---|
| 132 | |
---|
| 133 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 134 | # Options |
---|
| 135 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 136 | |
---|
| 137 | exchanger.FlowDirection = "counter"; |
---|
| 138 | exchanger.InnerTurbulentCorrelation = "SiederTate"; |
---|
| 139 | |
---|
| 140 | exchanger.OuterTurbulentCorrelation = "SiederTate"; |
---|
| 141 | exchanger.OuterLaminarCorrelation = "Schlunder"; |
---|
| 142 | |
---|
| 143 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 144 | # Double Pipe Geometrical Parameters and Alocation |
---|
| 145 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 146 | |
---|
| 147 | exchanger.Geometry.DoInner = 0.04826*'m'; |
---|
| 148 | exchanger.Geometry.DiInner = 0.04089*'m'; |
---|
| 149 | exchanger.Geometry.DiOuter = 0.07793*'m'; |
---|
| 150 | exchanger.Geometry.Kwall = 0.057 *'kW/m/K'; |
---|
| 151 | exchanger.Geometry.Lpipe = 3*'m'; |
---|
| 152 | |
---|
| 153 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 154 | # Fouling |
---|
| 155 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 156 | exchanger.Geometry.Rfi = 0.0018*'m^2*K/kW'; |
---|
| 157 | exchanger.Geometry.Rfo = 0.0021*'m^2*K/kW'; |
---|
| 158 | |
---|
| 159 | SPECIFY |
---|
| 160 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 161 | # Hot Stream |
---|
| 162 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 163 | InletHot.F = 10 * 'kmol/h'; |
---|
| 164 | InletHot.T_Cdeg = 68 * 'K'; |
---|
| 165 | InletHot.P = 5.4 * 'bar'; |
---|
| 166 | InletHot.MolarComposition = [1,0]; |
---|
| 167 | |
---|
| 168 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 169 | # Cold Stream |
---|
| 170 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 171 | InletCold.F = 5 * 'kmol/h'; |
---|
| 172 | InletCold.P = 5.1 * 'bar'; |
---|
| 173 | InletCold.T_Cdeg = 23 * 'K'; |
---|
| 174 | InletCold.MolarComposition = [0,1]; |
---|
| 175 | |
---|
| 176 | OPTIONS |
---|
| 177 | |
---|
| 178 | Dynamic = false; |
---|
| 179 | |
---|
| 180 | GuessFile = "GuessPipe"; |
---|
| 181 | |
---|
| 182 | end |
---|