source: branches/rate/sample/heat_exchangers/Sample_DoublePipe.mso @ 967

Last change on this file since 967 was 236, checked in by gerson bicca, 16 years ago

updated heat exchangers samples and models

File size: 5.2 KB
Line 
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
26using "heat_exchangers/DoublePipe.mso";
27
28FlowSheet LMTD_Method
29
30PARAMETERS
31        PP                      as Plugin (Type ="PP", LiquidModel = "PR", VapourModel = "PR",
32                                                                        Components = ["n-hexane","water"]);
33        NComp           as Integer;
34       
35DEVICES
36
37        exchanger       as DoublePipe_LMTD;
38        InletHot        as source;
39        InletCold       as source;
40        OutletHot       as sink;
41        OutletCold      as sink;
42       
43       
44CONNECTIONS
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       
51SET
52
53NComp   = PP.NumberOfComponents;
54
55#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
56#   Options
57#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
58
59exchanger.FlowDirection                                         = "counter";
60exchanger.InnerTurbulentCorrelation     = "SiederTate";
61
62exchanger.OuterTurbulentCorrelation     = "SiederTate";
63exchanger.OuterLaminarCorrelation       = "Schlunder";
64       
65#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
66# Double Pipe Geometrical Parameters and Alocation
67#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
68
69exchanger.DoInner               =       0.04826*'m';
70exchanger.DiInner               =       0.04089*'m';
71exchanger.DiOuter               =       0.07793*'m';
72exchanger.Kwall                 =       0.057 *'kW/m/K';
73exchanger.Lpipe                 =       3*'m';
74
75#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
76#       Fouling
77#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
78exchanger.Rfi = 0.0018*'m^2*K/kW';
79exchanger.Rfo = 0.0021*'m^2*K/kW';
80
81SPECIFY
82#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
83#               Hot Stream
84#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
85        InletHot.Outlet.F = 10                          * 'kmol/h';
86        InletHot.Outlet.T = (68+273.15)   * 'K';
87        InletHot.Outlet.P = 5.4                         * 'bar';
88        InletHot.Outlet.z = [1,0];
89       
90#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
91#       Cold Stream
92#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
93        InletCold.Outlet.F = 5                          * 'kmol/h';
94        InletCold.Outlet.P = 5.1                * 'bar';
95        InletCold.Outlet.T = (23+273.15)        * 'K';
96    InletCold.Outlet.z = [0,1];
97       
98OPTIONS
99
100Dynamic  = false;
101GuessFile = "GuessPipe";
102
103end
104
105FlowSheet NTU_Method
106
107PARAMETERS
108
109        PP                      as Plugin (Type ="PP", LiquidModel = "PR", VapourModel = "PR",
110                                                                        Components = ["n-hexane","water"]);
111        NComp           as Integer;
112       
113DEVICES
114
115        exchanger       as DoublePipe_NTU;
116        InletHot        as source;
117        InletCold       as source;
118        OutletHot       as sink;
119        OutletCold      as sink;
120       
121       
122CONNECTIONS
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       
129SET
130
131NComp   = PP.NumberOfComponents;
132
133#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
134#   Options
135#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
136
137exchanger.FlowDirection  = "counter";
138exchanger.InnerTurbulentCorrelation  = "SiederTate";
139
140exchanger.OuterTurbulentCorrelation  = "SiederTate";
141exchanger.OuterLaminarCorrelation     = "Schlunder";
142       
143#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
144# Double Pipe Geometrical Parameters and Alocation
145#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
146
147exchanger.DoInner               =       0.04826*'m';
148exchanger.DiInner               =       0.04089*'m';
149exchanger.DiOuter               =       0.07793*'m';
150exchanger.Kwall                 =       0.057 *'kW/m/K';
151exchanger.Lpipe                 =       3*'m';
152
153#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
154#       Fouling
155#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
156exchanger.Rfi = 0.0018*'m^2*K/kW';
157exchanger.Rfo = 0.0021*'m^2*K/kW';
158
159SPECIFY
160#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
161#               Hot Stream
162#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
163        InletHot.Outlet.F = 10                          * 'kmol/h';
164        InletHot.Outlet.T = (68+273.15)   * 'K';
165        InletHot.Outlet.P = 5.4                         * 'bar';
166        InletHot.Outlet.z = [1,0];
167       
168#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
169#       Cold Stream
170#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
171        InletCold.Outlet.F = 5                          * 'kmol/h';
172        InletCold.Outlet.P = 5.1                * 'bar';
173        InletCold.Outlet.T = (23+273.15)        * 'K';
174    InletCold.Outlet.z = [0,1];
175
176OPTIONS
177
178Dynamic = false;
179
180GuessFile = "GuessPipe";
181
182end
Note: See TracBrowser for help on using the repository browser.