Last change
on this file since 1 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:
690 bytes
|
Rev | Line | |
---|
[1] | 1 | #*---------------------------------------------------------------------- |
---|
| 2 | * Model Lead Lag |
---|
| 3 | *----------------------------------------------------------------------- |
---|
| 4 | * - Inputs |
---|
| 5 | * - Two input signals |
---|
| 6 | * |
---|
| 7 | * - Outputs |
---|
| 8 | * - a output signal |
---|
| 9 | * |
---|
| 10 | * - Assumptions |
---|
| 11 | * |
---|
| 12 | *----------------------------------------------------------------------- |
---|
| 13 | * Author: Tiago Osório |
---|
| 14 | * $Id: multiply.mso 1 2006-06-20 17:33:53Z rafael $ |
---|
| 15 | *---------------------------------------------------------------------*# |
---|
| 16 | |
---|
| 17 | using "types"; |
---|
| 18 | |
---|
| 19 | |
---|
| 20 | Model Multiply |
---|
| 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 | |
---|
| 36 | |
---|
| 37 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.