Show
Ignore:
Timestamp:
02/07/08 20:34:48 (8 months ago)
Author:
otter
Message:

- Bug in Rotational.Backlash fixed. If phi_rel0 is not zero, the equations have been wrong.
- Release notes updated

Location:
branches/maintenance/2.2.2/Modelica
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/maintenance/2.2.2/Modelica/Mechanics/Rotational.mo

    r860 r1040  
    28242824  protected  
    28252825    SI.Angle b2=b/2; 
     2826    SI.Angle phi_diff; 
    28262827    // A minimum backlash is defined in order to avoid an infinite 
    28272828    // number of state events if backlash b is set to zero. 
     
    29632964        Line(points=[-79, -96; -8, -96], style(color=10, fillColor=10)))); 
    29642965  equation  
     2966    phi_diff = phi_rel - phi_rel0; 
    29652967    w_rel = der(phi_rel); 
    2966     tau = if b2 > b_min then (if phi_rel > b2 then c*(phi_rel - phi_rel0 - b2) 
    2967        + d*w_rel else (if phi_rel < -b2 then c*(phi_rel - phi_rel0 + b2) + d* 
    2968       w_rel else 0)) else c*(phi_rel - phi_rel0) + d*w_rel; 
     2968    tau = if b2 > b_min then (if phi_diff > b2 then c*(phi_diff - b2) 
     2969       + d*w_rel else (if phi_diff < -b2 then c*(phi_diff + b2) + d* 
     2970      w_rel else 0)) else c*phi_diff + d*w_rel; 
    29692971  end ElastoBacklash; 
    29702972   
  • branches/maintenance/2.2.2/Modelica/package.mo

    r903 r1040  
    591591  
    592592<table border=\"1\" cellspacing=0 cellpadding=2 style=\"border-collapse:collapse;\"> 
    593   <tr><td colspan=\"2\"><b>Package-Name.</b></td></tr> 
    594   <tr><td valign=\"top\"> Model-Name </td> 
    595       <td valign=\"top\"> Description text</td>  
    596   </tr> 
    597593  <tr><td colspan=\"2\"><b>Mechanics.MultiBody.Parts</b></td></tr> 
    598594  <tr><td valign=\"top\"> Rotor1D </td> 
     
    610606      <td valign=\"top\"> Speed used in torque calculation was der(flange.phi) and not 
    611607                        the speed relative to the bearing<br> (= der(flange.phi) - der(bearing.phi)). 
    612                         This was correct. This bug leads to wrong simulation results,<br>  
     608                        This was corrected. This bug leads to wrong simulation results,<br>  
    613609                        when the bearing is not fixed to ground </td>  
     610  </tr> 
     611  <tr><td valign=\"top\"> Backlash </td> 
     612      <td valign=\"top\"> If parameter phi_rel0 is not zero, the equations have been wrong. 
     613                        This bug has been fixed.  </td>  
    614614  </tr> 
    615615