Changeset 1046
- Timestamp:
- 02/24/2008 08:00:22 AM (11 months ago)
- Location:
- Modelica/trunk/Modelica
- Files:
-
- 53 modified
-
Blocks/Continuous.mo (modified) (1 diff)
-
Blocks/Discrete.mo (modified) (1 diff)
-
Blocks/Logical.mo (modified) (9 diffs)
-
Blocks/Math.mo (modified) (3 diffs)
-
Blocks/Sources.mo (modified) (26 diffs)
-
Blocks/package.mo (modified) (7 diffs)
-
Constants.mo (modified) (2 diffs)
-
Electrical/Analog/Basic.mo (modified) (7 diffs)
-
Electrical/Analog/Ideal.mo (modified) (8 diffs)
-
Electrical/Analog/Sources.mo (modified) (55 diffs)
-
Electrical/Digital.mo (modified) (111 diffs)
-
Electrical/Machines.mo (modified) (3 diffs)
-
Electrical/MultiPhase.mo (modified) (4 diffs)
-
Icons.mo (modified) (4 diffs)
-
Math/package.mo (modified) (18 diffs)
-
Mechanics/MultiBody/Examples/Elementary/DoublePendulum.mo (modified) (1 diff)
-
Mechanics/MultiBody/Examples/Elementary/ForceAndTorque.mo (modified) (1 diff)
-
Mechanics/MultiBody/Examples/Elementary/FreeBody.mo (modified) (1 diff)
-
Mechanics/MultiBody/Examples/Elementary/InitSpringConstant.mo (modified) (2 diffs)
-
Mechanics/MultiBody/Examples/Elementary/LineForceWithTwoMasses.mo (modified) (1 diff)
-
Mechanics/MultiBody/Examples/Elementary/Pendulum.mo (modified) (2 diffs)
-
Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper.mo (modified) (1 diff)
-
Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses.mo (modified) (1 diff)
-
Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses2.mo (modified) (2 diffs)
-
Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem.mo (modified) (1 diff)
-
Mechanics/MultiBody/Examples/Elementary/SpringMassSystem.mo (modified) (2 diffs)
-
Mechanics/MultiBody/Examples/Elementary/SpringWithMass.mo (modified) (1 diff)
-
Mechanics/MultiBody/Examples/Elementary/ThreeSprings.mo (modified) (1 diff)
-
Mechanics/MultiBody/Examples/Loops/Engine1a.mo (modified) (5 diffs)
-
Mechanics/MultiBody/Examples/Loops/Engine1b.mo (modified) (3 diffs)
-
Mechanics/MultiBody/Examples/Loops/Engine1b_analytic.mo (modified) (2 diffs)
-
Mechanics/MultiBody/Examples/Loops/EngineV6.mo (modified) (1 diff)
-
Mechanics/MultiBody/Examples/Loops/EngineV6_analytic.mo (modified) (1 diff)
-
Mechanics/MultiBody/Examples/Loops/Fourbar1.mo (modified) (1 diff)
-
Mechanics/MultiBody/Examples/Loops/Fourbar2.mo (modified) (1 diff)
-
Mechanics/MultiBody/Examples/Loops/Fourbar_analytic.mo (modified) (1 diff)
-
Mechanics/MultiBody/Examples/Loops/PlanarLoops_analytic.mo (modified) (2 diffs)
-
Mechanics/MultiBody/Examples/Loops/Utilities.mo (modified) (17 diffs)
-
Mechanics/MultiBody/Examples/Rotational3DEffects.mo (modified) (14 diffs)
-
Mechanics/MultiBody/Examples/Systems/RobotR3.mo (modified) (31 diffs)
-
Mechanics/MultiBody/Forces.mo (modified) (14 diffs)
-
Mechanics/MultiBody/Interfaces.mo (modified) (6 diffs)
-
Mechanics/MultiBody/Joints.mo (modified) (69 diffs)
-
Mechanics/MultiBody/Sensors.mo (modified) (28 diffs)
-
Mechanics/MultiBody/Visualizers.mo (modified) (2 diffs)
-
Mechanics/MultiBody/package.mo (modified) (2 diffs)
-
Mechanics/MultiBody/parts.mo (modified) (6 diffs)
-
Mechanics/Rotational.mo (modified) (25 diffs)
-
Mechanics/Translational.mo (modified) (12 diffs)
-
Mechanics/package.mo (modified) (1 diff)
-
SIunits.mo (modified) (1 diff)
-
StateGraph.mo (modified) (15 diffs)
-
Thermal/HeatTransfer.mo (modified) (68 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Modelica/trunk/Modelica/Blocks/Continuous.mo
r1044 r1046 1278 1278 points={{0,-120},{0,-92},{-92,-92},{-92,44},{-82,44}}, 1279 1279 color={0,0,127}, 1280 thickness= 2));1280 thickness=0.5)); 1281 1281 connect(u_m, addD.u2) annotation (Line( 1282 1282 points={{0,-120},{0,-92},{-92,-92},{-92,-6},{-82,-6}}, 1283 1283 color={0,0,127}, 1284 thickness= 2));1284 thickness=0.5)); 1285 1285 connect(u_m, addI.u2) annotation (Line( 1286 1286 points={{0,-120},{0,-92},{-92,-92},{-92,-50},{-82,-50}}, 1287 1287 color={0,0,127}, 1288 thickness= 2));1288 thickness=0.5)); 1289 1289 connect(Dzero.y, addPID.u2) annotation (Line(points={{-19.5,25},{-14,25},{ 1290 1290 -14,0},{-2,0}}, color={0,0,127})); -
Modelica/trunk/Modelica/Blocks/Discrete.mo
r1044 r1046 286 286 points={{40,0},{-44,0}}, 287 287 color={0,0,0}, 288 thickness= 2),288 thickness=0.5), 289 289 Text( 290 290 extent={{-54,54},{54,4}}, -
Modelica/trunk/Modelica/Blocks/Logical.mo
r1044 r1046 533 533 color={255,0,255}, 534 534 pattern=LinePattern.Solid, 535 thickness= 1,535 thickness=0.25, 536 536 arrow={Arrow.None,Arrow.None}), 537 537 Line( … … 539 539 color={255,0,255}, 540 540 pattern=LinePattern.Solid, 541 thickness= 1,541 thickness=0.25, 542 542 arrow={Arrow.None,Arrow.None}), 543 543 Line( … … 545 545 color={255,0,255}, 546 546 pattern=LinePattern.Solid, 547 thickness= 1,547 thickness=0.25, 548 548 arrow={Arrow.None,Arrow.None}), 549 549 Line(points={{-40,12},{-40,-10}}, color={255,0,255}), … … 552 552 points={{-40,80},{8,2}}, 553 553 color={255,0,127}, 554 thickness= 4),554 thickness=1), 555 555 Ellipse( 556 556 extent={{2,8},{18,-6}}, … … 598 598 points={{12,0},{100,0}}, 599 599 pattern=LinePattern.Solid, 600 thickness= 1,600 thickness=0.25, 601 601 arrow={Arrow.None,Arrow.None}, 602 602 color={0,0,255}), … … 605 605 color={255,0,127}, 606 606 pattern=LinePattern.Solid, 607 thickness= 1,607 thickness=0.25, 608 608 arrow={Arrow.None,Arrow.None}), 609 609 Line( 610 610 points={{-100,-80},{-40,-80},{-40,-80}}, 611 611 pattern=LinePattern.Solid, 612 thickness= 1,612 thickness=0.25, 613 613 arrow={Arrow.None,Arrow.None}, 614 614 color={0,0,255}), … … 617 617 Line( 618 618 points={{-38,80},{6,2}}, 619 thickness= 4,619 thickness=1, 620 620 color={0,0,255}), 621 621 Ellipse( … … 671 671 points={{-80,-70},{30,-70}}, 672 672 color={0,0,0}, 673 thickness= 2),673 thickness=0.5), 674 674 Line( 675 675 points={{-50,10},{80,10}}, 676 676 color={0,0,0}, 677 thickness= 2),677 thickness=0.5), 678 678 Line( 679 679 points={{-50,10},{-50,-70}}, 680 680 color={0,0,0}, 681 thickness= 2),681 thickness=0.5), 682 682 Line( 683 683 points={{30,10},{30,-70}}, 684 684 color={0,0,0}, 685 thickness= 2),685 thickness=0.5), 686 686 Line( 687 687 points={{-10,-65},{0,-70},{-10,-75}}, 688 688 color={0,0,0}, 689 thickness= 2),689 thickness=0.5), 690 690 Line( 691 691 points={{-10,15},{-20,10},{-10,5}}, 692 692 color={0,0,0}, 693 thickness= 2),693 thickness=0.5), 694 694 Line( 695 695 points={{-55,-20},{-50,-30},{-44,-20}}, 696 696 color={0,0,0}, 697 thickness= 2),697 thickness=0.5), 698 698 Line( 699 699 points={{25,-30},{30,-19},{35,-30}}, 700 700 color={0,0,0}, 701 thickness= 2),701 thickness=0.5), 702 702 Text( 703 703 extent={{-99,2},{-70,18}}, … … 800 800 extent={{-92,74},{44,44}}, 801 801 lineColor={0,0,0}, 802 lineThickness= 2,802 lineThickness=0.5, 803 803 textString="reference"), 804 804 Text( -
Modelica/trunk/Modelica/Blocks/Math.mo
r1044 r1046 770 770 points={{26,42},{-34,42},{6,2},{-34,-38},{26,-38}}, 771 771 color={0,0,0}, 772 thickness= 1), Text(772 thickness=0.25), Text( 773 773 extent={{-150,150},{150,110}}, 774 774 textString="%name", … … 784 784 points={{26,42},{-34,42},{6,2},{-34,-38},{26,-38}}, 785 785 color={0,0,0}, 786 thickness= 1)}));786 thickness=0.25)})); 787 787 equation 788 788 y = k*u; … … 851 851 extent={{-20,20},{20,-20}}, 852 852 pattern=LinePattern.Solid, 853 lineThickness= 1,853 lineThickness=0.25, 854 854 fillColor={235,235,235}, 855 855 fillPattern=FillPattern.Solid, -
Modelica/trunk/Modelica/Blocks/Sources.mo
r1044 r1046 246 246 points={{0,0},{-50,50}}, 247 247 color={0,0,0}, 248 thickness= 2),248 thickness=0.5), 249 249 Line( 250 250 points={{0,0},{40,0}}, 251 251 color={0,0,0}, 252 thickness= 2),252 thickness=0.5), 253 253 Text( 254 254 extent={{-150,-150},{150,-110}}, … … 268 268 points={{-80,0},{-10,0},{60,70}}, 269 269 color={0,0,255}, 270 thickness= 2),270 thickness=0.5), 271 271 Line(points={{-90,-70},{82,-70}}, color={95,95,95}), 272 272 Polygon( … … 379 379 points={{-80,0},{80,0}}, 380 380 color={0,0,255}, 381 thickness= 2),381 thickness=0.5), 382 382 Line(points={{-90,-70},{82,-70}}, color={95,95,95}), 383 383 Polygon( … … 456 456 points={{-80,-18},{0,-18},{0,50},{80,50}}, 457 457 color={0,0,255}, 458 thickness= 2),458 thickness=0.5), 459 459 Line(points={{-90,-70},{82,-70}}, color={95,95,95}), 460 460 Polygon( … … 582 582 points={{-80,-20},{-20,-20},{50,50}}, 583 583 color={0,0,255}, 584 thickness= 2),584 thickness=0.5), 585 585 Line(points={{-90,-70},{82,-70}}, color={95,95,95}), 586 586 Polygon( … … 597 597 points={{-40,-20},{-40,-70}}, 598 598 color={95,95,95}, 599 thickness= 1,599 thickness=0.25, 600 600 arrow={Arrow.None,Arrow.None}), 601 601 Polygon( … … 632 632 points={{-19,-20},{50,-20}}, 633 633 color={95,95,95}, 634 thickness= 1,634 thickness=0.25, 635 635 arrow={Arrow.None,Arrow.None}), 636 636 Line( 637 637 points={{50,50},{101,50}}, 638 638 color={0,0,255}, 639 thickness= 2),639 thickness=0.5), 640 640 Line( 641 641 points={{50,50},{50,-20}}, 642 642 color={95,95,95}, 643 thickness= 1,643 thickness=0.25, 644 644 arrow={Arrow.None,Arrow.None}), 645 645 Polygon( … … 749 749 63.1,-61.9},{67.9,-47.2},{74,-24.8},{80,0}}, 750 750 color={0,0,255}, 751 thickness= 2),751 thickness=0.5), 752 752 Line( 753 753 points={{-41,-2},{-80,-2}}, 754 754 color={0,0,255}, 755 thickness= 2),755 thickness=0.5), 756 756 Text( 757 757 extent={{-87,12},{-40,0}}, … … 878 878 -18},{80,-12.1}}, 879 879 color={0,0,255}, 880 thickness= 2),880 thickness=0.5), 881 881 Text( 882 882 extent={{-80,17},{-57,-3}}, … … 907 907 points={{-50,0},{-86,0}}, 908 908 color={0,0,255}, 909 thickness= 2),909 thickness=0.5), 910 910 Line(points={{-50,77},{-50,0}}, color={95,95,95}), 911 911 Line(points={{18,-1},{18,76}}, color={95,95,95}), … … 1024 1024 -17.3},{80.9,-22.5},{90.8,-26.8},{100,-29.4}}, 1025 1025 color={0,0,255}, 1026 thickness= 2),1026 thickness=0.5), 1027 1027 Polygon( 1028 1028 points={{-80,86},{-86,64},{-74,64},{-80,86}}, … … 1057 1057 points={{-39,-34},{-80,-34}}, 1058 1058 color={0,0,255}, 1059 thickness= 2),1059 thickness=0.5), 1060 1060 Text( 1061 1061 extent={{-62,-76},{-17,-85}}, … … 1198 1198 50}}, 1199 1199 color={0,0,255}, 1200 thickness= 2),1200 thickness=0.5), 1201 1201 Line(points={{-10,88},{-10,49}}, color={95,95,95}), 1202 1202 Line(points={{30,74},{30,50}}, color={95,95,95}), … … 1237 1237 points={{90,50},{90,0},{100,0}}, 1238 1238 color={0,0,255}, 1239 thickness= 2),1239 thickness=0.5), 1240 1240 Polygon( 1241 1241 points={{-10,69},{-1,71},{-1,67},{-10,69}}, … … 1405 1405 points={{-80,-20},{-10,-20},{30,60},{30,-20},{72,60},{72,-20}}, 1406 1406 color={0,0,255}, 1407 thickness= 2)}),1407 thickness=0.5)}), 1408 1408 Documentation(info="<html> 1409 1409 <p> … … 1597 1597 40},{99,40}}, 1598 1598 color={0,0,255}, 1599 thickness= 2),1599 thickness=0.5), 1600 1600 Polygon( 1601 1601 points={{-40,40},{-42,29},{-38,29},{-40,40}}, … … 1718 1718 60,-70},{60,0},{68,0}}, 1719 1719 color={0,0,0}, 1720 thickness= 1),1720 thickness=0.25), 1721 1721 Text( 1722 1722 extent={{2,80},{80,20}}, … … 1747 1747 60,-70},{60,0},{68,0}}, 1748 1748 color={0,0,255}, 1749 thickness= 2),1749 thickness=0.5), 1750 1750 Text( 1751 1751 extent={{-73,95},{-16,80}}, … … 1888 1888 {5,-70},{5,0},{18,0}}, 1889 1889 color={0,0,0}, 1890 thickness= 1),1890 thickness=0.25), 1891 1891 Text( 1892 1892 extent={{34,96},{94,66}}, … … 1933 1933 60,-70},{60,0},{68,0}}, 1934 1934 color={0,0,255}, 1935 thickness= 2),1935 thickness=0.5), 1936 1936 Text( 1937 1937 extent={{-72,96},{-15,81}}, … … 2797 2797 points={{-70,0},{80,0}}, 2798 2798 color={0,0,255}, 2799 thickness= 2),2799 thickness=0.5), 2800 2800 Text( 2801 2801 extent={{-69,20},{-49,0}}, … … 2845 2845 points={{-80,-70},{0,-70},{0,50},{80,50}}, 2846 2846 color={0,0,255}, 2847 thickness= 2),2847 thickness=0.5), 2848 2848 Text( 2849 2849 extent={{-15,-74},{20,-82}}, … … 2915 2915 20},{100,20}}, 2916 2916 color={0,0,255}, 2917 thickness= 2),2917 thickness=0.5), 2918 2918 Line(points={{-40,61},{-40,21}}, color={95,95,95}), 2919 2919 Line(points={{20,44},{20,20}}, color={95,95,95}), … … 3055 3055 points={{0,-70},{0,19}}, 3056 3056 color={0,0,255}, 3057 thickness= 2),3057 thickness=0.5), 3058 3058 Line( 3059 3059 points={{-30,-70},{-30,19}}, 3060 3060 color={0,0,255}, 3061 thickness= 2),3061 thickness=0.5), 3062 3062 Line( 3063 3063 points={{30,-70},{30,19}}, 3064 3064 color={0,0,255}, 3065 thickness= 2),3065 thickness=0.5), 3066 3066 Line( 3067 3067 points={{60,-70},{60,19}}, 3068 3068 color={0,0,255}, 3069 thickness= 2)}),3069 thickness=0.5)}), 3070 3070 Documentation(info="<html> 3071 3071 <p> … … 3237 3237 points={{-80,0},{80,0}}, 3238 3238 color={0,0,255}, 3239 thickness= 2),3239 thickness=0.5), 3240 3240 Line(points={{-90,-70},{82,-70}}, color={95,95,95}), 3241 3241 Polygon( … … 3308 3308 points={{-80,-18},{0,-18},{0,50},{80,50}}, 3309 3309 color={0,0,255}, 3310 thickness= 2),3310 thickness=0.5), 3311 3311 Line(points={{-90,-70},{82,-70}}, color={95,95,95}), 3312 3312 Polygon( -
Modelica/trunk/Modelica/Blocks/package.mo
r1044 r1046 393 393 <b>extends</b> Modelica.Icons.ControlBus; 394 394 <b>annotation</b> (Icon(Rectangle(extent=[-20, 2; 22, -2], 395 style(rgbcolor={255,204,51}, thickness= 2))));395 style(rgbcolor={255,204,51}, thickness=0.5)))); 396 396 <b>end</b> ControlBus; 397 397 </pre> … … 403 403 visible). As a result, when connecting from an instance of this 404 404 connector to another connector instance, the connecting line has 405 the color of the \"ControlBus\" with double width (due to \"thickness= 2\").405 the color of the \"ControlBus\" with double width (due to \"thickness=0.5\"). 406 406 </p> 407 407 … … 505 505 points={{-40,-70},{30,-70},{30,2}}, 506 506 color={255,204,51}, 507 thickness= 2,507 thickness=0.5, 508 508 smooth=Smooth.None)); 509 509 connect(gain.u, controlBus.realSignal1) annotation (Line( … … 534 534 extent={{-20,2},{22,-2}}, 535 535 lineColor={255,204,51}, 536 lineThickness= 2)}),536 lineThickness=0.5)}), 537 537 Diagram(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100}, 538 538 {100,100}}), … … 559 559 extent={{-20,2},{22,-2}}, 560 560 lineColor={255,204,51}, 561 lineThickness= 2)}),561 lineThickness=0.5)}), 562 562 Documentation(info="<html> 563 563 <p> … … 590 590 extent={{-20,2},{22,-2}}, 591 591 lineColor={255,204,51}, 592 lineThickness= 2)}),592 lineThickness=0.5)}), 593 593 Diagram(graphics), 594 594 Documentation(info="<html> … … 614 614 extent={{-20,2},{22,-2}}, 615 615 lineColor={255,204,51}, 616 lineThickness= 2)}),616 lineThickness=0.5)}), 617 617 Documentation(info="<html>
