source: trunk/sample/miscellaneous/sample_tanks.mso @ 488

Last change on this file since 488 was 313, checked in by Argimiro Resende Secchi, 16 years ago

Change name of outlet energy stream to OutletQ.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
RevLine 
[83]1#*-------------------------------------------------------------------
2* EMSO Model Library (EML) Copyright (C) 2004 - 2007 ALSOC.
[1]3*
[83]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.
[1]7*
[83]8* EMSO Copyright (C) 2004 - 2007 ALSOC, original code
9* from http://www.rps.eng.br Copyright (C) 2002-2004.
10* All rights reserved.
[1]11*
[83]12* EMSO is distributed under the therms of the ALSOC LICENSE as
13* available at http://www.enq.ufrgs.br/alsoc.
[1]14*
[83]15*--------------------------------------------------------------------
16* Sample file for buffer tank series.
17*--------------------------------------------------------------------
18* Author: Rafael de Pelegrini Soares
19* $Id: sample_tanks.mso 313 2007-07-14 16:45:55Z arge $
20*--------------------------------------------------------------------*#
[1]21
22using "stage_separators/tank";
23
[113]24FlowSheet UmTanque
25        DEVICES
26        Fin     as flow_vol;
27        Tanque  as tank_simplified;
28       
29        CONNECTIONS
30        Fin          to Tanque.Fin;
31       
32        SET
[182]33        Tanque.k = 8 * 'm^2.5/h';
34        Tanque.A = 4 * 'm^2';
[113]35       
36        SPECIFY
37        "Vazao de entrada"
[182]38        Fin = 10 * 'm^3/h';
[113]39
40        INITIAL
41        "altura inicial"
[313]42        Tanque.Level = 1 * 'm';
[113]43       
44        OPTIONS
[182]45        TimeStep = 0.1;
46        TimeEnd = 5;
47        TimeUnit = 'h' ;
[113]48end
49
[1]50FlowSheet TresTanques
51        DEVICES
52        Fin     as flow_vol;
53        Tanque1 as tank_simplified;
54        Tanque2 as tank_simplified;
55        Tanque3 as tank_simplified;
56       
57        CONNECTIONS
58        Fin          to Tanque1.Fin;
59        Tanque1.Fout to Tanque2.Fin;
60        Tanque2.Fout to Tanque3.Fin;
61       
62        SET
[182]63        Tanque2.k = 8 * 'm^2.5/h';
64        Tanque2.A = 4 * 'm^2';
[1]65       
66        SPECIFY
67        "Vazao de entrada"
[182]68        Fin = 10 * 'm^3/h';
[1]69
70        INITIAL
71        "altura inicial"
[313]72        Tanque1.Level = 1 * 'm';
73        Tanque2.Level = 2 * 'm';
74        Tanque3.Level = 1 * 'm';
[1]75       
76        OPTIONS
[182]77        TimeStep = 0.5;
78        TimeEnd = 15;
79        TimeUnit = 'h' ;
[1]80end
Note: See TracBrowser for help on using the repository browser.