Ignore:
Timestamp:
Nov 12, 2006, 5:08:30 PM (16 years ago)
Author:
Argimiro Resende Secchi
Message:

Remove unused commands and fix "Ratio".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mso/eml/controllers/ratio.mso

    r1 r53  
    1919 
    2020Model Ratio
    21 
    22         PARAMETERS
    2321       
    2422        VARIABLES
     
    3129        if abs(input2)>1e-5 then
    3230                "Calculate output"
    33                 output=input1*input2;
     31                input2*output=input1;
    3432        else
    3533                if input2>0 then
    3634                        "Calculate output"
    37                         output=input1*1e-5;
     35                        output=input1*1e5;
    3836                else
    3937                        "Calculate output"
    40                         output=-input1*1e-5;
     38                        output=-input1*1e5;
    4139                end
    4240        end
    43        
    44         INITIAL
     41
    4542end
Note: See TracChangeset for help on using the changeset viewer.