Last change
on this file since 984 was
944,
checked in by Argimiro Resende Secchi, 10 years ago
|
Adding Block-Oriented library by Jonathan Ospino Pinedo
|
File size:
1.1 KB
|
Line | |
---|
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 | |
---|
15 | using "types"; |
---|
16 | |
---|
17 | Model Substream |
---|
18 | |
---|
19 | ATTRIBUTES |
---|
20 | |
---|
21 | Pallete=true; |
---|
22 | Icon="icon/Substream"; |
---|
23 | Info="== 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 | |
---|
29 | VARIABLES |
---|
30 | |
---|
31 | in In as Real(Brief="Input signal",PosX=0,PosY=0.45); |
---|
32 | out Out1 as Real(Brief="First output signal",PosX=0.95,PosY=0.45); |
---|
33 | out Out2 as Real(Brief="Second output signal",PosX=0.49,PosY=1); |
---|
34 | |
---|
35 | |
---|
36 | EQUATIONS |
---|
37 | |
---|
38 | Out1=In; |
---|
39 | Out2=In; |
---|
40 | |
---|
41 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.