source: mso/eml/controllers/Comparator.mso @ 53

Last change on this file since 53 was 53, checked in by Argimiro Resende Secchi, 16 years ago

Remove unused commands and fix "Ratio".

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 680 bytes
Line 
1#*----------------------------------------------------------------------
2* Model Comparator
3*-----------------------------------------------------------------------
4* - Inputs
5*               - Two different input signals
6*
7* - Outputs
8*               - One output signal
9*
10* - Assumptions
11*
12*
13*-----------------------------------------------------------------------
14* Author: Tiago Osório
15* $Id: Comparator.mso 53 2006-11-12 19:08:30Z arge $
16*---------------------------------------------------------------------*#
17
18using "types";
19 
20Model comparator
21
22        VARIABLES
23        input1 as Real (Brief="input signal 1");
24        input2 as Real (Brief="input signal 2");
25        output as Real (Brief="output signal");
26
27        EQUATIONS
28       
29        "Calculate output"
30        output=input1-input2;
31       
32end
Note: See TracBrowser for help on using the repository browser.