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:eolstyle set to
native

Property svn:keywords set to
Id

File size:
834 bytes

Line  

1  #* 

2  * Model IAE 

3  * 

4  *  Inputs 

5  *  One input signal 

6  *  a setpoint signal 

7  * 

8  *  Outputs 

9  *  One output signal 

10  * 

11  *  Assumptions 

12  * 

13  * 

14  * Author: Tiago Osório 

15  * $Id: iae.mso 1 20060620 17:33:53Z rafael $ 

16  **# 

17  

18  using "types"; 

19  

20  

21  Model IAE 

22  

23  PARAMETERS 

24  

25  VARIABLES 

26  input as Real (Brief="input signal"); 

27  output as Real (Brief="output signal", Unit="s"); 

28  setPoint as Real (Brief="setpoint"); 

29  absError as Real (Brief="absolute error"); 

30  

31  EQUATIONS 

32  

33  "Absolute error definition" 

34  absError = abs(setPointinput); 

35  

36  "Calculate output" 

37  diff(output)=absError; 

38  

39  INITIAL 

40  output=0*"s"; 

41  

42  end 

Note: See
TracBrowser
for help on using the repository browser.