Last change
on this file since 805 was
574,
checked in by Rafael de Pelegrini Soares, 15 years ago
|
Updated the models to work with some language constraints
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Id
|
File size:
1.7 KB
|
Rev | Line | |
---|
[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 574 2008-07-25 14:18:50Z rafael $ |
---|
| 20 | *--------------------------------------------------------------------*# |
---|
[1] | 21 | |
---|
| 22 | using "stage_separators/tank"; |
---|
| 23 | |
---|
[113] | 24 | FlowSheet 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 |
---|
[182] | 37 | Fin = 10 * 'm^3/h'; |
---|
[113] | 38 | |
---|
| 39 | INITIAL |
---|
| 40 | "altura inicial" |
---|
[313] | 41 | Tanque.Level = 1 * 'm'; |
---|
[113] | 42 | |
---|
| 43 | OPTIONS |
---|
[182] | 44 | TimeStep = 0.1; |
---|
| 45 | TimeEnd = 5; |
---|
| 46 | TimeUnit = 'h' ; |
---|
[113] | 47 | end |
---|
| 48 | |
---|
[1] | 49 | FlowSheet TresTanques |
---|
| 50 | DEVICES |
---|
| 51 | Fin as flow_vol; |
---|
| 52 | Tanque1 as tank_simplified; |
---|
| 53 | Tanque2 as tank_simplified; |
---|
| 54 | Tanque3 as tank_simplified; |
---|
| 55 | |
---|
| 56 | CONNECTIONS |
---|
| 57 | Fin to Tanque1.Fin; |
---|
| 58 | Tanque1.Fout to Tanque2.Fin; |
---|
| 59 | Tanque2.Fout to Tanque3.Fin; |
---|
| 60 | |
---|
| 61 | SET |
---|
[182] | 62 | Tanque2.k = 8 * 'm^2.5/h'; |
---|
| 63 | Tanque2.A = 4 * 'm^2'; |
---|
[1] | 64 | |
---|
| 65 | SPECIFY |
---|
[182] | 66 | Fin = 10 * 'm^3/h'; |
---|
[1] | 67 | |
---|
| 68 | INITIAL |
---|
| 69 | "altura inicial" |
---|
[313] | 70 | Tanque1.Level = 1 * 'm'; |
---|
| 71 | Tanque2.Level = 2 * 'm'; |
---|
| 72 | Tanque3.Level = 1 * 'm'; |
---|
[1] | 73 | |
---|
| 74 | OPTIONS |
---|
[182] | 75 | TimeStep = 0.5; |
---|
| 76 | TimeEnd = 15; |
---|
| 77 | TimeUnit = 'h' ; |
---|
[1] | 78 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.