source: trunk/eml/controllers/Comparator.mso @ 233

Last change on this file since 233 was 74, checked in by Paula Bettio Staudt, 16 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 Comparator
17*-----------------------------------------------------------------------
18* - Inputs
19*               - Two different input signals
20*
21* - Outputs
22*               - One output signal
23*
24*
25*-----------------------------------------------------------------------
26* Author: Tiago Osório
27* $Id: Comparator.mso 74 2006-12-08 18:43:02Z paula $
28*---------------------------------------------------------------------*#
29
30using "types";
31 
32Model comparator
33
34        VARIABLES
35        input1 as Real (Brief="input signal 1");
36        input2 as Real (Brief="input signal 2");
37        output as Real (Brief="output signal");
38
39        EQUATIONS
40       
41        "Calculate output"
42        output=input1-input2;
43       
44end
Note: See TracBrowser for help on using the repository browser.