source: trunk/eml/controllers/multiply.mso @ 291

Last change on this file since 291 was 74, checked in by Paula Bettio Staudt, 17 years ago

Updated controllers files header

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 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 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.
14*
15*----------------------------------------------------------------------
16* Model Multiply
17*-----------------------------------------------------------------------
18* - Inputs
19*               - Two input signals
20*
21* - Outputs
22*               - a output signal
23*
24*
25*-----------------------------------------------------------------------
26* Author: Tiago Osório
27* $Id: multiply.mso 74 2006-12-08 18:43:02Z paula $
28*---------------------------------------------------------------------*#
29
30using "types";
31 
32 
33Model Multiply
34
35        VARIABLES
36        input1 as Real (Brief="input signal 1");
37        input2 as Real (Brief="input signal 2");
38        output as Real (Brief="output signal");
39       
40        EQUATIONS
41       
42        "Calculate output"     
43        output=input1*input2;
44
45end
Note: See TracBrowser for help on using the repository browser.