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

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

testing models for the new language

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