Changeset 1113 for trunk/Modelica
- Timestamp:
- 05/04/08 13:46:15 (7 months ago)
- Location:
- trunk/Modelica
- Files:
-
- 2 modified
-
Mechanics/MultiBody/Forces.mo (modified) (16 diffs)
-
package.mo (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modelica/Mechanics/MultiBody/Forces.mo
r1050 r1113 280 280 annotation (Dialog(group="if animation = true", enable=animation)); 281 281 282 annotation (defaultComponentName="torque" 283 , 282 annotation (defaultComponentName="torque", 284 283 Documentation(info="<HTML> 285 284 … … 391 390 r_head=-t_in_m) if world.enableAnimation and animation; 392 391 public 393 Internal.BasicWorldTorque basicWorldTorque 392 Internal.BasicWorldTorque basicWorldTorque(resolveInFrame=resolveInFrame) 394 393 annotation (Placement(transformation(extent={{-10,-10},{10,10}}))); 395 394 protected … … 581 580 extent=[-100, -100; 100, 100], 582 581 grid=[1, 1], 583 component=[20, 20]) 584 , 582 component=[20, 20]), 585 583 Documentation(info=" 586 584 An external force element exerts the inport signal … … 628 626 Internal.BasicWorldForce basicWorldForce(resolveInFrame=resolveInFrame) 629 627 annotation (Placement(transformation(extent={{18,-50},{38,-70}}))); 630 WorldTorque torque1628 Internal.BasicWorldTorque basicWorldTorque(resolveInFrame=resolveInFrame) 631 629 annotation (Placement(transformation(extent={{-10,50},{10,70}}))); 632 630 protected … … 644 642 color={0,0,127}, 645 643 smooth=Smooth.None)); 646 connect(torque1.frame_b, frame_b) annotation (Line( 644 connect(basicWorldTorque.frame_b, frame_b) 645 annotation (Line( 647 646 points={{10,60},{60,60},{60,0},{100,0}}, 648 647 color={95,95,95}, 649 648 thickness=0.5, 650 649 smooth=Smooth.None)); 651 connect(torque1.torque, torque) annotation (Line( 650 connect(basicWorldTorque.torque, torque) 651 annotation (Line( 652 652 points={{-12,60},{-120,60}}, 653 653 color={0,0,127}, … … 658 658 pattern=LinePattern.Dot, 659 659 smooth=Smooth.None)); 660 connect(torque1.frame_resolve, frame_resolve) annotation (Line( 660 connect(basicWorldTorque.frame_resolve, frame_resolve) 661 annotation (Line( 661 662 points={{0,70},{0,100}}, 662 663 color={95,95,95}, 663 664 pattern=LinePattern.Dot, 664 665 smooth=Smooth.None)); 665 connect(zeroPosition.frame_resolve, torque1.frame_resolve) annotation (Line( 666 connect(zeroPosition.frame_resolve, basicWorldTorque.frame_resolve) 667 annotation (Line( 666 668 points={{58,80},{0,80},{0,70}}, 667 669 color={95,95,95}, … … 1414 1416 "Unit vector in direction from frame_a to frame_b, resolved in world frame"; 1415 1417 annotation ( 1416 1417 1418 Icon(coordinateSystem( 1418 1419 preserveAspectRatio=true, … … 1771 1772 "Unit vector in direction from frame_a to frame_b, resolved in world frame"; 1772 1773 annotation ( 1773 1774 1774 Icon(coordinateSystem( 1775 1775 preserveAspectRatio=true, … … 2313 2313 extends Interfaces.PartialLineForce; 2314 2314 annotation ( 2315 2316 2315 Documentation(info="<HTML> 2317 2316 <p> … … 2436 2435 extends Interfaces.PartialLineForce; 2437 2436 annotation ( 2438 2439 2437 Documentation(info="<HTML> 2440 2438 <p> … … 2544 2542 extends Interfaces.PartialLineForce; 2545 2543 annotation ( 2546 2547 2544 Documentation(info="<HTML> 2548 2545 <p> … … 2630 2627 lineColor={160,160,164}, 2631 2628 textString="s")})); 2629 2632 2630 equation 2633 2631 f = c*(s - s_unstretched - s_damper); … … 2649 2647 rotation=90))); 2650 2648 Modelica.Blocks.Interfaces.RealInput force[3](each final quantity="Force", each 2651 final unit ="N")2649 final unit="N") 2652 2650 "x-, y-, z-coordinates of force resolved in frame defined by resolveInFrame" 2653 2651 annotation (Placement(transformation( … … 2785 2783 2786 2784 Modelica.Blocks.Interfaces.RealInput torque[3](each final quantity="Torque", each 2787 final unit ="N.m")2785 final unit="N.m") 2788 2786 "x-, y-, z-coordiantes of torque resolved in frame defined by resolveInFrame" 2789 2787 annotation (Placement(transformation( … … 2924 2922 2925 2923 Modelica.Blocks.Interfaces.RealInput force[3](each final quantity="Force", each 2926 final unit ="N")2924 final unit="N") 2927 2925 "x-, y-, z-coordinates of force resolved in frame defined by resolveInFrame" 2928 2926 annotation (Placement(transformation(extent={{-140,-20},{-100,20}}, … … 3032 3030 3033 3031 Modelica.Blocks.Interfaces.RealInput torque[3](each final quantity="Torque", each 3034 final unit ="N.m")3032 final unit="N.m") 3035 3033 "x-, y-, z-coordinates of torque resolved in frame defined by resolveInFrame" 3036 3034 annotation (Placement(transformation(extent={{-140,-20},{-100,20}}, -
trunk/Modelica/package.mo
r1098 r1113 1 1 within ; 2 package Modelica "Modelica Standard Library (Version 3.0 )"2 package Modelica "Modelica Standard Library (Version 3.0.1 development)" 3 3 extends Icons.Library; 4 5 4 6 5 annotation ( … … 47 46 how to use the components of the corresponding sublibrary.</li> 48 47 </ul> 49 48 50 49 <p> 51 50 This version of the Modelica Standard Library consists of … … 58 57 that are directly usable (= number of public, non-partial classes). 59 58 </p> 60 59 61 60 <p> 62 61 Copyright © 1998-2008, Modelica Association. … … 70 69 </HTML> 71 70 ")); 72 73 71 74 72 package UsersGuide "User's Guide of Modelica library" … … 627 625 628 626 package ReleaseNotes "Release notes" 627 class Version_3_0_1_development "Version 3.0.1 (development)" 628 629 annotation (Documentation(info="<html> 630 631 <p><br> 632 The following <b style=\"color:red\">critical errors</b> have been fixed (i.e. errors 633 that can lead to wrong simulation results): 634 </p> 635 636 <table border=\"1\" cellspacing=0 cellpadding=2 style=\"border-collapse:collapse;\"> 637 <tr><td colspan=\"2\"><b>Mechanics.MultiBody.Forces</b></td></tr> 638 <tr><td valign=\"top\"> WorldTorque </td> 639 <td valign=\"top\"> Parameter \"ResolveInFrame\" was not propagated and therefore 640 always the default (resolved in world frame) was used, independently 641 of the setting of this parameter. </td> 642 </tr> 643 <tr><td valign=\"top\"> WorldForceAndTorque </td> 644 <td valign=\"top\"> Parameter \"ResolveInFrame\" was not propagated and therefore 645 always the default (resolved in world frame) was used, independently 646 of the setting of this parameter.<br> 647 Furthermore, internally WorldTorque was used instead of 648 Internal.BasicWorldTorque and therefore the visualization of 649 worldTorque was performed twice. </td> 650 </tr> 651 </table> 652 653 654 <p><br> 655 The following <b style=\"color:red\">uncritical errors</b> have been fixed (i.e. errors 656 that do <b style=\"color:red\">not</b> lead to wrong simulation results, but, e.g., 657 units are wrong or errors in documentation): 658 </p> 659 660 <table border=\"1\" cellspacing=0 cellpadding=2 style=\"border-collapse:collapse;\"> 661 <tr><td colspan=\"2\"><b>XXXX</b></td></tr> 662 <tr><td valign=\"top\"> XXX</td> 663 <td valign=\"top\"> XXX </td> 664 </tr> 665 </table> 666 667 668 </html>")); 669 end Version_3_0_1_development; 629 670 630 671 annotation (Documentation(info="<html>
