Changeset 1152 for branches/maintenance

Show
Ignore:
Timestamp:
07/24/08 10:05:05 (4 months ago)
Author:
dietmarw
Message:

#93 fixed: arctan replaced by atan

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/maintenance/2.2.2/Modelica/Electrical/Analog/Basic.mo

    r550 r1152  
    451451            rgbfillColor={0,0,255})))); 
    452452  initial equation  
    453     (Lnom - Linf) = (Lzer - Linf)*Ipar/Inom*(Modelica.Constants.pi/2-arctan(Ipar/Inom)); 
     453    (Lnom - Linf) = (Lzer - Linf)*Ipar/Inom*(Modelica.Constants.pi/2-atan(Ipar/Inom)); 
    454454  equation  
    455455    assert(Lzer > Lnom+Modelica.Constants.eps, 
     
    457457    assert(Linf < Lnom-Modelica.Constants.eps, 
    458458           "Linf (= " + String(Linf) + ") has to be < Lnom (= " + String(Lnom) + ")"); 
    459     (Lact - Linf)*i/Ipar = (Lzer - Linf)*noEvent(arctan(i/Ipar)); 
     459    (Lact - Linf)*i/Ipar = (Lzer - Linf)*noEvent(atan(i/Ipar)); 
    460460    Psi = Lact*i; 
    461461    v = der(Psi);