Changeset 903

Show
Ignore:
Timestamp:
12/09/07 09:14:19 (12 months ago)
Author:
otter
Message:

Bug in MultiBody.Parts.Rotor1D corrected, that leads in some situations
to wrong reaction torques (movement should not be influenced by this bug)

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

Legend:

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

    r900 r903  
    19741974      "(right) driven flange (flange axis directed OUT OF cut plane)"  
    19751975      annotation (extent=[90, -10; 110, 10]); 
     1976     
     1977    /* Reaction torque: 
     1978        t = n*(J*a - flange_a.tau - flange_b.tau) + cross(w_a, nJ*w) 
     1979  
     1980     Since 
     1981        J*a = flange_a.tau + flange_b.tau - nJ*der(w_a); 
     1982  
     1983     the reaction torque can be simplified to 
     1984        t = n*(- nJ*der(w_a)) + cross(w_a, nJ*w) 
     1985  
     1986  */ 
    19761987    Modelica.Mechanics.MultiBody.Interfaces.Frame_a frame_a( 
    19771988        r_0=r_0, 
    19781989        R=R, 
    19791990        f=zeros(3), 
    1980         t=nJ*a + cross(w_a, nJ*w)) if world.driveTrainMechanics3D  
     1991        t=cross(w_a, nJ*w)-e*(nJ*der(w_a))) if  world.driveTrainMechanics3D  
    19811992      "Frame in which rotor housing is fixed (connector is removed, if world.driveTrainMechanics3D=false)" 
    19821993      annotation (extent=[-20, -120; 20, -80], rotation=90); 
  • Modelica/branches/maintenance/2.2.2/Modelica/package.mo

    r767 r903  
    594594  <tr><td valign=\"top\"> Model-Name </td> 
    595595      <td valign=\"top\"> Description text</td>  
     596  </tr> 
     597  <tr><td colspan=\"2\"><b>Mechanics.MultiBody.Parts</b></td></tr> 
     598  <tr><td valign=\"top\"> Rotor1D </td> 
     599      <td valign=\"top\"> The 3D reaction torque was not completely correct and gave in  
     600                        some situations a wrong result. This bug should not influence the 
     601                        movement of a multi-body system, but only the constraint torques 
     602                        are sometimes not correct. </td>  
    596603  </tr> 
    597604  <tr><td colspan=\"2\"><b>Mechanics.Rotational.</b></td></tr>