[526] | 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_Series.mso Z bicca $ |
---|
| 24 | *--------------------------------------------------------------------*# |
---|
| 25 | |
---|
| 26 | using "heat_exchangers/DoublePipe.mso"; |
---|
| 27 | |
---|
| 28 | FlowSheet SeriesOfPipes |
---|
| 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 | exchanger1 as DoublePipe_NTU; |
---|
| 38 | exchanger2 as DoublePipe_LMTD; |
---|
| 39 | exchanger3 as DoublePipe_NTU; |
---|
| 40 | |
---|
| 41 | InletHot as simple_source; |
---|
| 42 | InletCold as simple_source; |
---|
[632] | 43 | OutletHot as simple_sink; |
---|
| 44 | OutletCold as simple_sink; |
---|
[526] | 45 | |
---|
| 46 | |
---|
| 47 | CONNECTIONS |
---|
| 48 | |
---|
| 49 | InletHot.Outlet to exchanger1.InletOuter; |
---|
| 50 | InletCold.Outlet to exchanger3.InletInner; |
---|
| 51 | |
---|
| 52 | exchanger3.OutletInner to exchanger2.InletInner; |
---|
| 53 | exchanger1.OutletOuter to exchanger2.InletOuter; |
---|
| 54 | |
---|
| 55 | exchanger2.OutletInner to exchanger1.InletInner; |
---|
| 56 | exchanger2.OutletOuter to exchanger3.InletOuter; |
---|
| 57 | |
---|
| 58 | exchanger1.OutletInner to OutletCold.Inlet; |
---|
| 59 | exchanger3.OutletOuter to OutletHot.Inlet; |
---|
| 60 | |
---|
| 61 | SET |
---|
| 62 | |
---|
| 63 | NComp = PP.NumberOfComponents; |
---|
| 64 | |
---|
| 65 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 66 | # Options for convergence |
---|
| 67 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 68 | |
---|
| 69 | exchanger1.CalculationApproach = "Simplified"; |
---|
| 70 | exchanger1.Qestimated = 50*'kW'; |
---|
| 71 | exchanger1.Eftestimated = 0.64; |
---|
| 72 | |
---|
[632] | 73 | exchanger2.CalculationApproach = "Simplified"; |
---|
[526] | 74 | exchanger2.Qestimated = 40*'kW'; |
---|
| 75 | |
---|
[632] | 76 | exchanger3.CalculationApproach = "Simplified"; |
---|
[526] | 77 | exchanger3.Qestimated = 30*'kW'; |
---|
| 78 | exchanger3.Eftestimated = 0.4; |
---|
| 79 | |
---|
| 80 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 81 | # Options |
---|
| 82 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 83 | |
---|
| 84 | exchanger1.FlowDirection = "counter"; |
---|
| 85 | exchanger1.InnerTurbulentCorrelation = "SiederTate"; |
---|
| 86 | exchanger1.OuterTurbulentCorrelation = "SiederTate"; |
---|
| 87 | exchanger1.OuterLaminarCorrelation = "Schlunder"; |
---|
| 88 | |
---|
| 89 | exchanger2.FlowDirection = "counter"; |
---|
| 90 | exchanger2.InnerTurbulentCorrelation = "SiederTate"; |
---|
| 91 | exchanger2.OuterTurbulentCorrelation = "SiederTate"; |
---|
| 92 | exchanger2.OuterLaminarCorrelation = "Schlunder"; |
---|
| 93 | |
---|
| 94 | exchanger3.FlowDirection = "counter"; |
---|
| 95 | exchanger3.InnerTurbulentCorrelation = "SiederTate"; |
---|
| 96 | exchanger3.OuterTurbulentCorrelation = "SiederTate"; |
---|
| 97 | exchanger3.OuterLaminarCorrelation = "Schlunder"; |
---|
| 98 | |
---|
| 99 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 100 | # Double Pipe Geometrical Parameters and Alocation |
---|
| 101 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 102 | |
---|
| 103 | exchanger1.Geometry.DoInner = 42.16*'mm'; |
---|
| 104 | exchanger1.Geometry.DiInner = 35.05*'mm'; |
---|
| 105 | exchanger1.Geometry.DiOuter = 52.50*'mm'; |
---|
| 106 | exchanger1.Geometry.Kwall = 0.057 *'kW/m/K'; |
---|
| 107 | exchanger1.Geometry.Lpipe = 9*'m'; |
---|
| 108 | |
---|
| 109 | exchanger2.Geometry.DoInner = 42.16*'mm'; |
---|
| 110 | exchanger2.Geometry.DiInner = 35.05*'mm'; |
---|
| 111 | exchanger2.Geometry.DiOuter = 52.50*'mm'; |
---|
| 112 | exchanger2.Geometry.Kwall = 0.057 *'kW/m/K'; |
---|
| 113 | exchanger2.Geometry.Lpipe = 9*'m'; |
---|
| 114 | |
---|
| 115 | exchanger3.Geometry.DoInner = 42.16*'mm'; |
---|
| 116 | exchanger3.Geometry.DiInner = 35.05*'mm'; |
---|
| 117 | exchanger3.Geometry.DiOuter = 52.50*'mm'; |
---|
| 118 | exchanger3.Geometry.Kwall = 0.057 *'kW/m/K'; |
---|
| 119 | exchanger3.Geometry.Lpipe = 9*'m'; |
---|
| 120 | |
---|
| 121 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 122 | # Fouling |
---|
| 123 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 124 | exchanger1.Geometry.Rfi = 0.00217*'m^2*K/kW'; |
---|
| 125 | exchanger1.Geometry.Rfo = 0.0008*'m^2*K/kW'; |
---|
| 126 | |
---|
| 127 | exchanger2.Geometry.Rfi = 0.00217*'m^2*K/kW'; |
---|
| 128 | exchanger2.Geometry.Rfo = 0.0008*'m^2*K/kW'; |
---|
| 129 | |
---|
| 130 | exchanger3.Geometry.Rfi = 0.00217*'m^2*K/kW'; |
---|
| 131 | exchanger3.Geometry.Rfo = 0.0008*'m^2*K/kW'; |
---|
| 132 | |
---|
| 133 | SPECIFY |
---|
| 134 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 135 | # Hot Stream |
---|
| 136 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
[632] | 137 | InletHot.F = 51 * 'kmol/h'; |
---|
| 138 | InletHot.T = (90+273.15) * 'K'; |
---|
| 139 | InletHot.P = 2 * 'atm'; |
---|
| 140 | InletHot.MolarComposition = [1,0]; |
---|
[526] | 141 | |
---|
| 142 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 143 | # Cold Stream |
---|
| 144 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
[632] | 145 | InletCold.F = 251 * 'kmol/h'; |
---|
| 146 | InletCold.P = 2 * 'atm'; |
---|
| 147 | InletCold.T = (33+273.15) * 'K'; |
---|
| 148 | InletCold.MolarComposition = [0,1]; |
---|
[526] | 149 | |
---|
| 150 | OPTIONS |
---|
| 151 | |
---|
| 152 | Dynamic = false; |
---|
| 153 | GuessFile = "SeriesOfPipes"; |
---|
| 154 | |
---|
| 155 | end |
---|