source: trunk/tutorial/ThreeTank3.mso @ 698

Last change on this file since 698 was 397, checked in by Rafael de Pelegrini Soares, 16 years ago

Fixed bug on tutorial samples (please take more care when updating the models!)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
RevLine 
[1]1#*---------------------------------------------------------------------
2* This file is property of the author and cannot be used, copyed
3* or modified without permission.
4*
5* Copyright (C) 2002-2004  the author
6*----------------------------------------------------------------------
7* Author: Rafael de Pelegrini Soares
8* $Id: ThreeTank3.mso 397 2007-10-23 20:28:10Z rafael $
9*----------------------------------------------------------------------
10*
11* Arquivo de exemplo do EMSO
12*
13* Sistema de uma série de tanques.
14*
15*-------------------------------------------------------------------*#
16
[25]17using "stage_separators/tank";
[1]18
19FlowSheet ThreeTank
[15]20        VARIABLES
21        Feed    as flow_vol;
22
[1]23        DEVICES
24        Tank1   as tank_simplified;
25        Tank2   as tank_simplified;
26        Tank3   as tank_simplified;
27
28        CONNECTIONS
[15]29        Feed        to  Tank1.Fin;
[1]30        Tank1.Fout      to      Tank2.Fin;
31        Tank2.Fout      to      Tank3.Fin;
32
33        SPECIFY
[174]34        Feed = 10 * 'm^3/h';
[1]35       
36        INITIAL
[397]37        Tank1.Level = 1 * 'm';
38        Tank2.Level = 2 * 'm';
39        Tank3.Level = 1 * 'm';
[1]40       
41        SET
[174]42        Tank2.k = 8 * 'm^2.5/h';
43        Tank2.A = 4 * 'm^2';
[1]44       
45        OPTIONS
[128]46        TimeStep = 0.1;
47        TimeEnd = 2;
[174]48        TimeUnit = 'h';
[1]49end
Note: See TracBrowser for help on using the repository browser.