source: mso/sample/heat_exchangers/heater_project.mso @ 107

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

Updated heat_exchangers sample file headers

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 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 Heater and Cooler
17*--------------------------------------------------------------------
18*
19* This sample file needs VRTherm DEMO (www.vrtech.com.br) to run.
20*
21*----------------------------------------------------------------------
22* Author: Gerson B. Bicca
23* $Id: heater_project.mso 89 2006-12-11 15:26:11Z paula $
24*--------------------------------------------------------------------*#
25
26using "heat_exchangers/heater";
27
28FlowSheet Heater_Project
29
30DEVICES
31
32        heater                  as Heater;
33        streamcold1     as stream_therm;
34       
35       
36CONNECTIONS
37
38        streamcold1     to heater.Inlet(1);
39       
40       
41PARAMETERS
42
43        PP                      as CalcObject (File="vrpp");
44        NComp           as Integer;
45       
46SET
47
48        PP.LiquidModel  = "RK";
49        PP.VapourModel  = "RK";
50       
51        PP.Components   = ["water"];
52        NComp                   = PP.NumberOfComponents;
53        heater.Ninlet          = 1;
54
55SPECIFY
56
57        streamcold1.F           = 100   * "kmol/h";
58        streamcold1.P           = 1     * "atm";
59        streamcold1.T           = 343   * "K";
60        streamcold1.v           = 0;
61    streamcold1.z               = [1];
62
63       
64       
65        heater.Outlet.T         = 363*"K";
66        heater.Outlet.P         = 1 * "atm";
67       
68       
69OPTIONS
70 
71        mode                    = "steady";
72       
73end
74
75FlowSheet Cooler_Project
76
77DEVICES
78
79        cooler                  as Cooler;
80        streamcold1     as stream_therm;
81       
82       
83CONNECTIONS
84
85        streamcold1     to cooler.Inlet(1);
86       
87       
88PARAMETERS
89
90        PP                      as CalcObject (File="vrpp");
91        NComp   as Integer;
92       
93SET
94
95        PP.LiquidModel  = "RK";
96        PP.VapourModel  = "RK";
97        PP.Components   = ["water"];
98        NComp                   = PP.NumberOfComponents;
99        cooler.Ninlet          = 1;
100
101SPECIFY
102
103        streamcold1.F           = 100   * "kmol/h";
104        streamcold1.P           = 1     * "atm";
105        streamcold1.T           = 343   * "K";
106        streamcold1.v           = 0;
107    streamcold1.z               = [1];
108
109       
110       
111        cooler.Outlet.T         = 300*"K";
112        cooler.Outlet.P         = 1 * "atm";
113       
114       
115OPTIONS
116 
117        mode    = "steady";
118       
119       
120end
121
Note: See TracBrowser for help on using the repository browser.