source: branches/gui/sample/heat_exchangers/Sample_Simplified.mso @ 595

Last change on this file since 595 was 579, checked in by gerson bicca, 15 years ago

more updates on EML

File size: 3.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 Simplified HeatExchangers
17*--------------------------------------------------------------------
18*
19* This sample file needs VRTherm DEMO (www.vrtech.com.br) to run.
20*
21*----------------------------------------------------------------------
22* Author: Gerson B. Bicca
23* $Id           $
24*--------------------------------------------------------------------*#
25
26using "heat_exchangers/Heatex";
27
28FlowSheet NTU_Block
29
30DEVICES
31
32        exchanger       as Heatex_NTU;
33        streamhot       as source;
34        streamcold      as source;
35
36
37CONNECTIONS
38
39        streamhot.Outlet        to exchanger.InletHot;
40        streamcold.Outlet       to exchanger.InletCold;
41       
42PARAMETERS
43        PP                      as Plugin       (Type="PP",LiquidModel    = "RK",VapourModel   = "RK",
44                                                                                Components      = ["water"]);
45        NComp           as Integer;
46
47SET
48
49        NComp                           = PP.NumberOfComponents;
50       
51#       exchanger.ExchangerType      = "Counter Flow";
52#       exchanger.ExchangerType      = "Cocurrent Flow";
53        exchanger.ExchangerType      = "Shell and Tube";
54       
55
56SPECIFY
57
58        exchanger.A                                              = 65.031*'m^2';
59        exchanger.U                                      = 0.75*'W/(m^2*K)';
60       
61        exchanger.PdropHotSide  = 0*'atm';
62        exchanger.PdropColdSide = 0*'atm';
63       
64        streamhot.F                                     = 1000    * 'kmol/h';
65        streamhot.T                                     = 450     * 'K';
66        streamhot.P                                     = 1.5     * 'atm';
67        streamhot.Composition                   = [1];
68
69        streamcold.F                                    = 500   * 'kmol/h';
70        streamcold.P                                    = 1     * 'atm';
71        streamcold.T                                    = 315   * 'K';
72    streamcold.Composition              = [1];
73       
74OPTIONS
75
76 Dynamic = false;
77
78end
79
80FlowSheet LMTD_Block
81
82DEVICES
83
84        exchanger       as Heatex_LMTD;
85        streamhot       as source;
86        streamcold      as source;
87
88
89CONNECTIONS
90
91        streamhot.Outlet        to exchanger.InletHot;
92        streamcold.Outlet       to exchanger.InletCold;
93       
94PARAMETERS
95        PP                      as Plugin       (Type="PP",LiquidModel    = "RK",VapourModel   = "RK",
96                                                                                Components      = ["water"]);
97        NComp           as Integer;
98
99SET
100
101        NComp                           = PP.NumberOfComponents;
102       
103#       exchanger.ExchangerType      = "Counter Flow";
104#       exchanger.ExchangerType      = "Cocurrent Flow";
105        exchanger.ExchangerType      = "Shell and Tube";
106       
107        exchanger.LMTDcorrection      = "Bowmann";
108#       exchanger.LMTDcorrection      = "Fakheri";
109
110SPECIFY
111
112        exchanger.A                                      = 65.031*'m^2';
113        exchanger.U                                      = 0.75*'W/(m^2*K)';
114       
115        exchanger.PdropHotSide  = 0*'atm';
116        exchanger.PdropColdSide = 0*'atm';
117       
118        streamhot.F                                     = 1000    * 'kmol/h';
119        streamhot.T                                     = 450     * 'K';
120        streamhot.P                                     = 1.5     * 'atm';
121        streamhot.Composition                                   = [1];
122
123        streamcold.F                                    = 500   * 'kmol/h';
124        streamcold.P                                    = 1     * 'atm';
125        streamcold.T                                    = 315   * 'K';
126    streamcold.Composition                                      = [1];
127       
128OPTIONS
129
130 Dynamic = false;
131
132end
Note: See TracBrowser for help on using the repository browser.