source: branches/newlanguage/sample/heat_exchangers/sampleEshell_LMTD.mso @ 146

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

testing with switcher in heat exchangers model

  • Property svn:keywords set to Id
File size: 2.1 KB
RevLine 
[100]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 E_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 146 2007-01-30 21:42:28Z bicca $
24*--------------------------------------------------------------------*#
25using "heat_exchangers/HeatExchangerSimplified";
26
27FlowSheet LMTD_Method
28
29PARAMETERS
30
[146]31PP              as Plugin (Brief="Physical Properties",File="vrpp");
[100]32NComp   as Integer;
33       
34
35DEVICES
36exchanger       as E_Shell_LMTD;
[146]37streamhot       as source;
38streamcold  as source;
[100]39
40SET
41
[146]42PP.LiquidModel          = "PR";
43PP.VapourModel          = "PR";
[100]44PP.Components   = ["water","n-butane", "benzene", "n-octane" ];
[146]45NComp                           = PP.NumberOfComponents;
[100]46
[146]47        exchanger.LMTDcorrection        = "Bowmann";
48#       exchanger.LMTDcorrection        = "Fakeri";
[100]49       
50
51CONNECTIONS
52
[146]53streamhot.Outlet        to exchanger.Inlet.Hot;
54streamcold.Outlet       to exchanger.Inlet.Cold;
[100]55       
56SPECIFY
57
58exchanger.Details.Ud                            = 210*"W/(m^2*K)";
59exchanger.Details.Uc                            = 210*"W/(m^2*K)";
60exchanger.PressureDrop.Hot.Pdrop        = 0.1*"kPa";
61exchanger.PressureDrop.Cold.Pdrop   = 0.2*"kPa";
62
[146]63streamhot.Outlet.F              = 20    * "kmol/h";
64streamhot.Outlet.T              = 450   * "K";
65streamhot.Outlet.P              = 120   * "kPa";
66streamhot.Outlet.z              = [1,0,0,0];
[100]67
[146]68streamcold.Outlet.F             = 10 * "kmol/h";
69streamcold.Outlet.P             = 120 * "kPa";
70streamcold.Outlet.T             = 300 * "K";   
71streamcold.Outlet.z             = [0,0.5, 0.1, 0.4];
[100]72
73exchanger.Outlet.Cold.T = 330*"K";
74       
75OPTIONS
[146]76
77 Dynamic        = false;
78
[100]79 end
Note: See TracBrowser for help on using the repository browser.