source: branches/newlanguage/sample/heat_exchangers/sampleEshell.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

  • Property svn:keywords set to Id
File size: 2.0 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 E_Shell_NTU
17*--------------------------------------------------------------------
18*
19* This sample file needs VRTherm (www.vrtech.com.br) to run.
20*
21*----------------------------------------------------------------------
22* Author: Gerson B. Bicca
23* $Id: sampleEshell.mso 148 2007-02-01 20:57:34Z bicca $
24*--------------------------------------------------------------------*#
25using "heat_exchangers/HeatExchangerSimplified.mso";
26
27FlowSheet NTU_Method
28
29PARAMETERS
30
31PP               as Plugin (Brief="Physical Properties",File="vrpp");
32NComp    as Integer;
33       
34SET
35
36PP.LiquidModel          = "PR";
37PP.VapourModel          = "PR";
38PP.Components   = ["water","n-butane", "benzene", "n-octane" ];
39NComp                                           = PP.NumberOfComponents;
40
41DEVICES
42exchanger       as E_Shell_NTU;
43streamhot       as streamTP;
44streamcold  as streamTP;
45       
46CONNECTIONS
47
48streamhot               to exchanger.Inlet.Hot;
49streamcold      to exchanger.Inlet.Cold;
50       
51SPECIFY
52
53exchanger.Details.Ud                            = 210*"W/(m^2*K)";
54exchanger.Details.Uc                            = 210*"W/(m^2*K)";
55exchanger.PressureDrop.Hot.Pdrop        = 0.1*"kPa";
56exchanger.PressureDrop.Cold.Pdrop   = 0.2*"kPa";
57streamhot.F             = 20    * "kmol/h";
58streamhot.T             = 450     * "K";
59streamhot.P             = 120    * "kPa";
60streamhot.z             = [1,0,0,0];
61streamcold.F            = 10 * "kmol/h";
62streamcold.P            = 120 * "kPa";
63streamcold.T            = 300 * "K";   
64streamcold.z            = [0,0.5, 0.1, 0.4];
65exchanger.Outlet.Cold.T = 347*"K";
66       
67OPTIONS
68 mode                     = "steady";
69 end
Note: See TracBrowser for help on using the repository browser.