source: branches/gui/Block-Oriented EML/Basic Blocks/Substream.mso @ 1009

Last change on this file since 1009 was 944, checked in by Argimiro Resende Secchi, 10 years ago

Adding Block-Oriented library by Jonathan Ospino Pinedo

File size: 1.1 KB
RevLine 
[944]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 is distributed under the terms of the ALSOC LICENSE as
9* available at http://www.enq.ufrgs.br/alsoc.
10*-----------------------------------------------------------------------
11* Author: Jonathan Ospino P.
12* $Id: Substream.mso  2012$
13*---------------------------------------------------------------------*#
14
15using "types";
16
17Model Substream
18
19ATTRIBUTES
20
21Pallete=true;
22Icon="icon/Substream";
23Info="== Splitter block ==
24
25          It takes an input variable and divides the information flow
26          in two different signals with the same value of the input";
27
28
29VARIABLES
30
31in In as Real(Brief="Input signal",PosX=0,PosY=0.45);
32out Out1 as Real(Brief="First output signal",PosX=0.95,PosY=0.45);
33out Out2 as Real(Brief="Second output signal",PosX=0.49,PosY=1);
34
35
36EQUATIONS
37
38Out1=In;
39Out2=In;
40
41end
Note: See TracBrowser for help on using the repository browser.