source: trunk/sample/heat_exchangers/Sample_Simplified.mso @ 619

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

improved the simplified model of heat exchangers

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