source: mso/sample/heat_exchangers/sampleLMTD.mso @ 89

Last change on this file since 89 was 89, checked in by Paula Bettio Staudt, 16 years ago

Updated heat_exchangers sample file headers

  • Property svn:keywords set to Id
File size: 2.0 KB
RevLine 
[89]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
17*--------------------------------------------------------------------
18*
19* This sample file needs VRTherm (www.vrtech.com.br) to run.
20*
21*----------------------------------------------------------------------
22* Author: Gerson B. Bicca
23* $Id: sampleLMTD.mso 89 2006-12-11 15:26:11Z paula $
24*--------------------------------------------------------------------*#
25using "heat_exchangers/HeatExchangerSimplified.mso";
26
27FlowSheet LMTD_Method
28
29PARAMETERS
30
31PP               as CalcObject (Brief="Physical Properties",File="vrpp");
32NComp   as Integer;
33       
34
35       
36DEVICES
37exchanger       as HeatExchanger_LMTD;
38streamhot       as streamTP;
39streamcold  as streamTP;
40SET
41
42PP.LiquidModel          = "PR";
43PP.VapourModel          = "PR";
44PP.Components           = ["water","n-butane", "benzene", "n-octane" ];
45NComp                           = PP.NumberOfComponents;
46exchanger.HE.FlowDirection    = "Cocurrent";   
47CONNECTIONS
48
49streamhot       to exchanger.Inlet.Hot;
50streamcold      to exchanger.Inlet.Cold;
51       
52SPECIFY
53
54"LMTD Correction Factor"
55        exchanger.Fc = 1;
56       
57"Overall Heat Transfer Coefficient"     
58        exchanger.Details.U = 210*"W/(m^2*K)";
59
60exchanger.PressureDrop.Hot.Pdrop        = 0.1*"kPa";
61exchanger.PressureDrop.Cold.Pdrop   = 0.2*"kPa";
62
63streamhot.F             = 20    * "kmol/h";
64streamhot.T             = 450     * "K";
65streamhot.P             = 120    * "kPa";
66streamhot.z             = [1,0,0,0];
67
68streamcold.F            = 10 * "kmol/h";
69streamcold.P            = 120 * "kPa";
70streamcold.T            = 300 * "K";   
71streamcold.z            = [0,0.5, 0.1, 0.4];
72
73exchanger.Outlet.Cold.T = 340*"K";
74       
75OPTIONS
76 mode                     = "steady";
77 end
Note: See TracBrowser for help on using the repository browser.