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

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

updated heat exchanger simplified sample

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