source: trunk/sample/heat_exchangers/sample_ShellandTubes.mso @ 1004

Last change on this file since 1004 was 1004, checked in by Argimiro Resende Secchi, 5 years ago

Updated Guess file for shell&tube example,

File size: 3.4 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 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*--------------------------------------------------------------------*#
25using "heat_exchangers/Heatex";
26
27FlowSheet ShellandTubes_NTU
28
29PARAMETERS
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       
35DEVICES
36
37        exchanger        as Heatex_NTU;
38        streamhot        as source;
39        streamcold  as source;
40        OutCold      as sink;
41        OutHot       as sink;
42
43SET
44
45        NComp                           = PP.NumberOfComponents;
46
47        exchanger.ExchangerType         = "Shell and Tube";
48
49CONNECTIONS
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
57SPECIFY
58
59exchanger.U                                             = 210*'W/(m^2*K)';
60
61exchanger.PdropHotSide  = 0.1*'kPa';
62exchanger.PdropColdSide = 0.1*'kPa';
63
64streamhot.F             = 36    * 'kmol/h';
65streamhot.T             = 363.15   * 'K';
66streamhot.P             = 120   * 'kPa';
67streamhot.Composition           = [1,0,0];
68
69streamcold.F            = 10 * 'kmol/h';
70streamcold.P            = 120 * 'kPa';
71streamcold.T            = 303.15 * 'K';
72streamcold.Composition          = [0.1,0.7, 0.2];
73
74exchanger.A     = 15*'m^2';
75       
76OPTIONS
77
78 Dynamic        = false;
79
80end
81
82FlowSheet ShellandTubes_LMTD
83
84PARAMETERS
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       
90DEVICES
91
92        exchanger        as Heatex_LMTD;
93        streamhot        as source;
94        streamcold  as source;
95        OutCold      as sink;
96        OutHot       as sink;
97
98SET
99
100        NComp                           = PP.NumberOfComponents;
101
102        exchanger.LMTDcorrection = "Bowmann";
103        exchanger.ExchangerType         = "Shell and Tube";
104       
105
106CONNECTIONS
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
114SPECIFY
115
116exchanger.U                                             = 210*'W/(m^2*K)';
117
118exchanger.PdropHotSide  = 0.1*'kPa';
119exchanger.PdropColdSide         = 0.1*'kPa';
120
121streamhot.F                     = 36    * 'kmol/h';
122streamhot.T             = 363.15   * 'K';
123streamhot.P             = 120   * 'kPa';
124streamhot.Composition           = [1,0,0];
125
126streamcold.F            = 10 * 'kmol/h';
127streamcold.P            = 120 * 'kPa';
128streamcold.T            = 303.15 * 'K';
129streamcold.Composition          = [0.1,0.7, 0.2];
130
131exchanger.A     = 15*'m^2';
132       
133OPTIONS
134
135 Dynamic        = false;
136 GuessFile = "GuessShellandTubes";
137
138end
Note: See TracBrowser for help on using the repository browser.