source: branches/newlanguage/sample/heat_exchangers/sampleFshell_LMTD.mso @ 147

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

testing the new language

File size: 2.3 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 F_Shell_LMTD
17*--------------------------------------------------------------------
18*
19* This sample file needs VRTherm (www.vrtech.com.br) to run.
20*
21*----------------------------------------------------------------------
22* Author: Gerson B. Bicca
23* $Id: sampleEshell_LMTD.mso 100 2007-01-09 14:15:56Z bicca $
24*--------------------------------------------------------------------*#
25#using "heat_exchangers/HeatExchangerSimplified";
26using "HeatExchangerSimplified";
27
28FlowSheet LMTD_Method
29
30PARAMETERS
31
32PP              as Plugin (Brief="Physical Properties",File="vrpp");
33NComp   as Integer;
34       
35
36DEVICES
37exchanger       as F_Shell_LMTD;
38streamhot       as source;
39streamcold  as source;
40OutCold     as sink;
41OutHot     as sink;
42
43SET
44
45PP.LiquidModel          = "PR";
46PP.VapourModel          = "PR";
47PP.Components   = ["water","n-butane", "benzene" ];
48NComp                           = PP.NumberOfComponents;
49
50exchanger.LMTDcorrection        = "Bowmann";
51       
52
53CONNECTIONS
54
55streamhot.Outlet        to exchanger.Inlet.Hot;
56streamcold.Outlet       to exchanger.Inlet.Cold;
57
58exchanger.Outlet.Hot  to OutHot.Inlet;
59exchanger.Outlet.Cold to OutCold.Inlet;
60
61SPECIFY
62
63exchanger.Details.Ud                                            = 210*"W/(m^2*K)";
64exchanger.Details.Uc                                            = 210*"W/(m^2*K)";
65exchanger.PressureDrop.Hot.Pdrop                = 0.1*"kPa";
66exchanger.PressureDrop.Cold.Pdrop       = 0.1*"kPa";
67
68streamhot.Fw                            = 360    * "kg/h";
69streamhot.Outlet.T              = 363.15   * "K";
70streamhot.Outlet.P              = 120   * "kPa";
71streamhot.Outlet.z              = [1,0,0];
72
73streamcold.Outlet.F             = 10 * "kmol/h";
74streamcold.Outlet.P             = 120 * "kPa";
75streamcold.Outlet.T             = 303.15 * "K";
76streamcold.Outlet.z             = [0.1,0.7, 0.2];
77
78exchanger.Details.A     = 15*"m^2";
79       
80OPTIONS
81
82 Dynamic        = false;
83
84 end
Note: See TracBrowser for help on using the repository browser.