source: mso/tutorial/ThreeTank2.mso @ 4

Last change on this file since 4 was 1, checked in by Rafael de Pelegrini Soares, 17 years ago

Initial import of the library

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 845 bytes
Line 
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: ThreeTank2.mso 1 2006-06-20 17:33:53Z rafael $
9*----------------------------------------------------------------------
10*
11* Arquivo de exemplo do EMSO
12*
13* Sistema de uma série de tanques.
14*
15*-------------------------------------------------------------------*#
16
17using "tanks";
18
19FlowSheet ThreeTank
20        DEVICES
21        Tank1   as tank_simplified;
22        Tank2   as tank_simplified;
23        Tank3   as tank_simplified;
24
25        CONNECTIONS
26        Tank1.Fout      to      Tank2.Fin;
27        Tank2.Fout      to      Tank3.Fin;
28
29        SPECIFY
30        Tank1.Fin = 10 * "m^3/h";
31       
32        INITIAL
33        Tank1.h = 1 * "m";
34        Tank2.h = 2 * "m";
35        Tank3.h = 1 * "m";
36end
Note: See TracBrowser for help on using the repository browser.