source: branches/gui/eml/controllers/multiply.mso @ 577

Last change on this file since 577 was 558, checked in by Rafael de Pelegrini Soares, 15 years ago

Added some simple PI controllers and another signal models

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
RevLine 
[74]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 Copyright (C) 2004 - 2007 ALSOC, original code
9* from http://www.rps.eng.br Copyright (C) 2002-2004.
10* All rights reserved.
11*
12* EMSO is distributed under the therms of the ALSOC LICENSE as
13* available at http://www.enq.ufrgs.br/alsoc.
[1]14*-----------------------------------------------------------------------
15* Author: Tiago Osório
16* $Id: multiply.mso 558 2008-07-21 20:41:41Z rafael $
17*---------------------------------------------------------------------*#
18
19using "types";
20 
21 
22Model Multiply
23
[292]24ATTRIBUTES
25        Pallete         = true;
[306]26        Icon            = "icon/Multiply";
[292]27        Brief           = "Model Multiply.";
28        Info            =
[354]29"== Inputs ==
30* Two input signals.
[292]31       
[354]32== Outputs ==
33* One output signal.
34";
[292]35       
[1]36        VARIABLES
[558]37in      input1 as control_signal (Brief="input signal 1", PosX=0, PosY=0.75);
38in      input2 as control_signal (Brief="input signal 2", PosX=0, PosY=0.25);
39out     output as control_signal (Brief="output signal", PosX=1, PosY=0.5);
[1]40       
41        EQUATIONS
42       
43        "Calculate output"     
44        output=input1*input2;
45
46end
Note: See TracBrowser for help on using the repository browser.