[100] | 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 |
---|
| 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 100 2007-01-09 14:15:56Z bicca $ |
---|
| 24 | *--------------------------------------------------------------------*# |
---|
| 25 | |
---|
| 26 | using "heat_exchangers/DoublePipe.mso"; |
---|
| 27 | |
---|
| 28 | FlowSheet Double_Pipe |
---|
| 29 | |
---|
| 30 | DEVICES |
---|
| 31 | |
---|
| 32 | exchanger as DoublePipe_NTU; |
---|
| 33 | streamhot as streamTP; |
---|
| 34 | streamcold as streamTP; |
---|
| 35 | |
---|
| 36 | CONNECTIONS |
---|
| 37 | |
---|
| 38 | streamhot to exchanger.Inlet.Hot; |
---|
| 39 | streamcold to exchanger.Inlet.Cold; |
---|
| 40 | |
---|
| 41 | PARAMETERS |
---|
| 42 | |
---|
| 43 | PP as CalcObject (File="vrpp"); |
---|
| 44 | NComp as Integer; |
---|
| 45 | |
---|
| 46 | SET |
---|
| 47 | |
---|
| 48 | PP.LiquidModel = "PR"; |
---|
| 49 | PP.VapourModel = "PR"; |
---|
| 50 | PP.Components = ["n-hexane","water"]; |
---|
| 51 | NComp = PP.NumberOfComponents; |
---|
| 52 | |
---|
| 53 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 54 | # Options |
---|
| 55 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 56 | |
---|
| 57 | exchanger.HE.FlowDirection = "Counter"; |
---|
| 58 | exchanger.HE.TurbulentFlow = "SiederTate"; |
---|
| 59 | |
---|
| 60 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 61 | # Double Pipe Geometrical Parameters and Alocation |
---|
| 62 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 63 | |
---|
| 64 | exchanger.HE.HotSide = "Inner"; |
---|
| 65 | exchanger.DoInner = 0.04826*"m"; |
---|
| 66 | exchanger.DiInner = 0.04089*"m"; |
---|
| 67 | exchanger.DiOuter = 0.07793*"m"; |
---|
| 68 | exchanger.Kwall = 0.057 *"kW/m/K"; |
---|
| 69 | exchanger.Lpipe = 3*"m"; |
---|
| 70 | |
---|
| 71 | SPECIFY |
---|
| 72 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 73 | # Hot Stream |
---|
| 74 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 75 | streamhot.F = 10 * "kmol/h"; |
---|
| 76 | streamhot.T = (68+273.15) * "K"; |
---|
| 77 | streamhot.P = 5.4 * "bar"; |
---|
| 78 | streamhot.z = [1,0]; |
---|
| 79 | |
---|
| 80 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 81 | # Cold Stream |
---|
| 82 | #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 83 | streamcold.F = 5 * "kmol/h"; |
---|
| 84 | streamcold.P = 5.1 * "bar"; |
---|
| 85 | streamcold.T = (23+273.15) * "K"; |
---|
| 86 | streamcold.z = [0,1]; |
---|
| 87 | #===================================================================== |
---|
| 88 | # Fouling |
---|
| 89 | #===================================================================== |
---|
| 90 | exchanger.Resistances.Rfi = 0.0018*"m^2*K/kW"; |
---|
| 91 | exchanger.Resistances.Rfo = 0.0021*"m^2*K/kW"; |
---|
| 92 | |
---|
| 93 | OPTIONS |
---|
| 94 | |
---|
| 95 | mode = "steady"; |
---|
| 96 | |
---|
| 97 | end |
---|
| 98 | |
---|