Changeset 1040
- Timestamp:
- 02/07/2008 08:34:48 PM (11 months ago)
- Location:
- Modelica/branches/maintenance/2.2.2/Modelica
- Files:
-
- 2 modified
-
Mechanics/Rotational.mo (modified) (2 diffs)
-
package.mo (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Modelica/branches/maintenance/2.2.2/Modelica/Mechanics/Rotational.mo
r860 r1040 2824 2824 protected 2825 2825 SI.Angle b2=b/2; 2826 SI.Angle phi_diff; 2826 2827 // A minimum backlash is defined in order to avoid an infinite 2827 2828 // number of state events if backlash b is set to zero. … … 2963 2964 Line(points=[-79, -96; -8, -96], style(color=10, fillColor=10)))); 2964 2965 equation 2966 phi_diff = phi_rel - phi_rel0; 2965 2967 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; 2969 2971 end ElastoBacklash; 2970 2972 -
Modelica/branches/maintenance/2.2.2/Modelica/package.mo
r903 r1040 591 591 592 592 <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>597 593 <tr><td colspan=\"2\"><b>Mechanics.MultiBody.Parts</b></td></tr> 598 594 <tr><td valign=\"top\"> Rotor1D </td> … … 610 606 <td valign=\"top\"> Speed used in torque calculation was der(flange.phi) and not 611 607 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> 613 609 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> 614 614 </tr> 615 615
