source: mso/eml/controllers/sum.mso @ 8

Last change on this file since 8 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: 687 bytes
Line 
1#*----------------------------------------------------------------------
2* Model Rum
3*-----------------------------------------------------------------------
4* - Inputs
5*               - Two input signals
6*
7* - Outputs
8*               - a output signal
9*
10* - Assumptions
11*
12*
13*-----------------------------------------------------------------------
14* Author: Tiago Osório
15* $Id: sum.mso 1 2006-06-20 17:33:53Z rafael $
16*---------------------------------------------------------------------*#
17
18using "types";
19 
20Model Sum
21
22        PARAMETERS
23       
24        VARIABLES
25        input1  as Real  (Brief="input signal 1");
26        input2  as Real  (Brief="input signal 2");
27        output  as Real  (Brief="output signal");
28       
29        EQUATIONS
30       
31        "Calculate output"
32        output = input1+input2;
33
34        INITIAL
35       
36end
Note: See TracBrowser for help on using the repository browser.