Changeset 1158

Show
Ignore:
Timestamp:
09/09/08 16:06:46 (2 months ago)
Author:
dietmarw
Message:

fixes #100 by changing the annotation to a vendor specific annotation

  • DocumentationClass is changed to vendor specific annotation __Dymola_DocumentationClass

From: Dietmar Winkler <Dietmar.Winkler@…>

Location:
trunk
Files:
9 modified

Legend:

Unmodified
Added
Removed
  • trunk/Modelica/Electrical/Digital.mo

    r1155 r1158  
    44package UsersGuide "User's Guide" 
    55 
    6   annotation (DocumentationClass=true, Documentation(info="<html> 
     6  annotation (__Dymola_DocumentationClass=true, Documentation(info="<html> 
    77<p> 
    88Library <b>Electrical.Digital</b> is a <b>free</b> Modelica package providing 
  • trunk/Modelica/Mechanics/MultiBody/package.mo

    r1073 r1158  
    5151package UsersGuide "User's Guide of MultiBody Library" 
    5252 
    53   annotation (DocumentationClass=true, Documentation(info="<HTML> 
     53  annotation (__Dymola_DocumentationClass=true, Documentation(info="<HTML> 
    5454<p> 
    5555Library <b>MultiBody</b> is a <b>free</b> Modelica package providing 
     
    8787  package Tutorial "Tutorial" 
    8888 
    89     annotation (DocumentationClass=true, Documentation(info="<HTML> 
     89    annotation (__Dymola_DocumentationClass=true, Documentation(info="<HTML> 
    9090<p> 
    9191This tutorial provides an introduction into the 
     
    331331      class Introduction "Introduction" 
    332332 
    333         annotation (DocumentationClass=true, Documentation(info="<HTML> 
     333        annotation (__Dymola_DocumentationClass=true, Documentation(info="<HTML> 
    334334<p> 
    335335In principal, now special action is needed, if 
  • trunk/Modelica/Mechanics/Rotational.mo

    r1120 r1158  
    88  version="1.1.1", versionDate="2007-11-22", 
    99    Documentation(info="<html> 
    10   
     10 
    1111<p> 
    1212Library <b>Rotational</b> is a <b>free</b> Modelica package providing 
     
    1515in the next figure: 
    1616</p> 
    17   
     17 
    1818<p><img src=\"../Images/Rotational/driveExample.png\"></p> 
    19   
     19 
    2020<p> 
    2121For an introduction, have especially a look at: 
     
    2727     contains examples that demonstrate the usage of this library.</li> 
    2828</ul> 
    29   
     29 
    3030<p> 
    3131In version 3.0 of the Modelica Standard Library, the basic design of the 
     
    3535it must be connected, and if it is not enabled, it must not be connected. 
    3636</p> 
    37   
     37 
    3838<p> 
    3939Copyright &copy; 1998-2008, Modelica Association and DLR. 
     
    4242<i>This Modelica package is <b>free</b> software; it can be redistributed and/or modified 
    4343under the terms of the <b>Modelica license</b>, see the license conditions 
    44 and the accompanying <b>disclaimer</b>  
     44and the accompanying <b>disclaimer</b> 
    4545<a href=\"Modelica://Modelica.UsersGuide.ModelicaLicense\">here</a>.</i> 
    4646</p><br> 
     
    7676package UsersGuide "User's Guide of Rotational Library" 
    7777 
    78   annotation (DocumentationClass=true, Documentation(info="<HTML> 
     78  annotation (__Dymola_DocumentationClass=true, Documentation(info="<HTML> 
    7979<p> 
    8080Library <b>Rotational</b> is a <b>free</b> Modelica package providing 
     
    8787  class Overview "Overview" 
    8888 
    89     annotation (DocumentationClass=true, Documentation(info="<HTML> 
    90   
     89    annotation (__Dymola_DocumentationClass=true, Documentation(info="<HTML> 
     90 
    9191<p> 
    9292This package contains components to model <b>1-dimensional rotational 
     
    143143<p><IMG SRC=\"../Images/Rotational/driveConnections1.png\" ALT=\"driveConnections1\"></p> 
    144144<p><IMG SRC=\"../Images/Rotational/driveConnections2.png\" ALT=\"driveConnections2\"></p> 
    145   
     145 
    146146</HTML>")); 
    147147 
     
    150150  class FlangeConnectors "Flange Connectors" 
    151151 
    152     annotation (DocumentationClass=true, Documentation(info="<HTML> 
     152    annotation (__Dymola_DocumentationClass=true, Documentation(info="<HTML> 
    153153<p> 
    154154A flange is described by the connector class 
     
    177177  class SupportTorques "Support Torques" 
    178178 
    179     annotation (DocumentationClass=true, Documentation(info="<HTML> 
    180   
     179    annotation (__Dymola_DocumentationClass=true, Documentation(info="<HTML> 
     180 
    181181<p>The following figure shows examples of components equipped with 
    182182a support flange (framed flange in the lower center), which can be used 
     
    189189<a href=\"Modelica://Modelica.Mechanics.Rotational.Examples.ElasticBearing\">ElasticBearing</a>). 
    190190</p> 
    191   
     191 
    192192<p><IMG SRC=\"../Images/Rotational/bearing.png\" ALT=\"bearing\"></p> 
    193   
     193 
    194194<p> 
    195195Depending on the setting of <b>useSupport</b>, the icon of the corresponding 
     
    197197For example, the two implementations in the following figure give 
    198198identical results.</p> 
    199   
     199 
    200200<p><IMG SRC=\"../Images/Rotational/bearing2.png\" ALT=\"bearing2\"></p> 
    201   
     201 
    202202</HTML>")); 
    203203 
     
    206206  class SignConventions "Sign Conventions" 
    207207 
    208     annotation (DocumentationClass=true, Documentation(info="<HTML> 
    209   
     208    annotation (__Dymola_DocumentationClass=true, Documentation(info="<HTML> 
     209 
    210210<p> 
    211211The variables of a component of this library can be accessed in the 
     
    266266  class UserDefinedComponents "User Defined Components" 
    267267 
    268     annotation (DocumentationClass=true, Documentation(info="<HTML> 
     268    annotation (__Dymola_DocumentationClass=true, Documentation(info="<HTML> 
    269269<p> 
    270270In this section some hints are given to define your own 
     
    397397  class RequirementsForSimulationTool "Requirements for Simulation Tools" 
    398398 
    399     annotation (DocumentationClass=true, Documentation(info="<HTML> 
    400   
     399    annotation (__Dymola_DocumentationClass=true, Documentation(info="<HTML> 
     400 
    401401<p> 
    402402This library is designed in a fully object oriented way in order that 
     
    448448as possible. 
    449449</p> 
    450   
     450 
    451451</HTML>")); 
    452452 
     
    460460<dd><a href=\"http://www.robotic.dlr.de/Martin.Otter/\">Martin Otter</a> <br> 
    461461    Deutsches Zentrum f&uuml;r Luft und Raumfahrt e.V. (DLR)<br> 
    462     Institut f&uuml;r Robotik und Mechatronik (DLR-RM)<br>  
     462    Institut f&uuml;r Robotik und Mechatronik (DLR-RM)<br> 
    463463    Abteilung Systemdynamik und Regelungstechnik<br> 
    464464    Postfach 1116<br> 
     
    497497simulate them according to the provided description in the models. 
    498498</p> 
    499   
     499 
    500500</HTML> 
    501501")); 
     
    524524<p>Simulate for 1 second and plot the following variables:<br> 
    525525   angular velocities of inertias inertia2 and 3: inertia2.w, inertia3.w</p> 
    526   
     526 
    527527</html>"), Diagram(coordinateSystem(preserveAspectRatio=true, extent={{-100, 
    528528                -100},{100,100}}), 
     
    530530        experiment); 
    531531 
    532       Rotational.Components.Fixed fixed  
     532      Rotational.Components.Fixed fixed 
    533533                             annotation (Placement(transformation(extent={{38, 
    534534                -48},{54,-32}}, rotation=0))); 
    535       Rotational.Sources.Torque torque(useSupport=true)  
     535      Rotational.Sources.Torque torque(useSupport=true) 
    536536                               annotation (Placement(transformation(extent={{-68,-8}, 
    537537                {-52,8}},         rotation=0))); 
    538       Rotational.Components.Inertia inertia1(        J=Jmotor)  
     538      Rotational.Components.Inertia inertia1(        J=Jmotor) 
    539539        annotation (Placement(transformation(extent={{-38,-8},{-22,8}}, 
    540540              rotation=0))); 
    541541      Rotational.Components.IdealGear idealGear(        ratio=ratio, useSupport= 
    542            true)  
     542           true) 
    543543        annotation (Placement(transformation(extent={{-8,-8},{8,8}},  rotation= 
    544544                0))); 
    545545      Rotational.Components.Inertia inertia2(        J=2, 
    546546        phi(fixed=true, start=0), 
    547         w(fixed=true))  
     547        w(fixed=true)) 
    548548                    annotation (Placement(transformation(extent={{22,-8},{38,8}}, 
    549549              rotation=0))); 
     
    551551        phi_rel(fixed=true))           annotation (Placement(transformation( 
    552552              extent={{52,-8},{68,8}}, rotation=0))); 
    553       Rotational.Components.Inertia inertia3(        J=Jload, w(fixed=true))  
     553      Rotational.Components.Inertia inertia3(        J=Jload, w(fixed=true)) 
    554554                    annotation (Placement(transformation(extent={{82,-8},{98,8}}, 
    555555              rotation=0))); 
    556       Rotational.Components.Damper damper(        d=damping)  
     556      Rotational.Components.Damper damper(        d=damping) 
    557557        annotation (Placement(transformation( 
    558558            origin={46,-22}, 
    559559            extent={{-8,-8},{8,8}}, 
    560560            rotation=270))); 
    561       Modelica.Blocks.Sources.Sine sine(amplitude=amplitude, freqHz=freqHz)  
     561      Modelica.Blocks.Sources.Sine sine(amplitude=amplitude, freqHz=freqHz) 
    562562        annotation (Placement(transformation(extent={{-98,-8},{-82,8}}, 
    563563              rotation=0))); 
    564564    equation 
    565       connect(inertia1.flange_b, idealGear.flange_a)  
     565      connect(inertia1.flange_b, idealGear.flange_a) 
    566566        annotation (Line(points={{-22,0},{-8,0}},  color={0,0,0})); 
    567       connect(idealGear.flange_b, inertia2.flange_a)  
     567      connect(idealGear.flange_b, inertia2.flange_a) 
    568568        annotation (Line(points={{8,0},{22,0}}, color={0,0,0})); 
    569       connect(inertia2.flange_b, spring.flange_a)  
     569      connect(inertia2.flange_b, spring.flange_a) 
    570570        annotation (Line(points={{38,0},{52,0}}, color={0,0,0})); 
    571       connect(spring.flange_b, inertia3.flange_a)  
     571      connect(spring.flange_b, inertia3.flange_a) 
    572572        annotation (Line(points={{68,0},{82,0}}, color={0,0,0})); 
    573       connect(damper.flange_a, inertia2.flange_b)  
     573      connect(damper.flange_a, inertia2.flange_b) 
    574574        annotation (Line(points={{46,-14},{46,0},{38,0}}, color={0,0,0})); 
    575       connect(damper.flange_b, fixed.flange)  
     575      connect(damper.flange_b, fixed.flange) 
    576576        annotation (Line(points={{46,-30},{46,-40}}, color={0,0,0})); 
    577577      connect(sine.y, torque.tau) annotation (Line(points={{-81.2,0},{-69.6,0}}, 
     
    612612<p>Simulate for 1 second and plot the following variables:<br> 
    613613   angular velocities of inertias inertia2 and 3: inertia2.w, inertia3.w</p> 
    614   
     614 
    615615</HTML>"), Diagram(coordinateSystem(preserveAspectRatio=true, extent={{-100, 
    616616                -100},{100,100}}), 
     
    618618        experiment(StopTime=1)); 
    619619 
    620       Rotational.Components.Fixed fixed  
     620      Rotational.Components.Fixed fixed 
    621621                             annotation (Placement(transformation(extent={{38,-48}, 
    622622                {54,-32}},      rotation=0))); 
    623       Rotational.Sources.Torque torque(useSupport=false)  
     623      Rotational.Sources.Torque torque(useSupport=false) 
    624624                               annotation (Placement(transformation(extent={{-68,-8}, 
    625625                {-52,8}},         rotation=0))); 
    626       Rotational.Components.Inertia inertia1(        J=Jmotor)  
     626      Rotational.Components.Inertia inertia1(        J=Jmotor) 
    627627        annotation (Placement(transformation(extent={{-38,-8},{-22,8}}, 
    628628              rotation=0))); 
    629       Rotational.Components.IdealGear idealGear(ratio=ratio, useSupport=false)  
     629      Rotational.Components.IdealGear idealGear(ratio=ratio, useSupport=false) 
    630630        annotation (Placement(transformation(extent={{-8,-8},{8,8}},  rotation= 
    631631                0))); 
    632632      Rotational.Components.Inertia inertia2(        J=2, 
    633633        phi(fixed=true, start=0), 
    634         w(fixed=true))  
     634        w(fixed=true)) 
    635635                    annotation (Placement(transformation(extent={{22,-8},{38,8}}, 
    636636              rotation=0))); 
     
    638638        phi_rel(fixed=true))           annotation (Placement(transformation( 
    639639              extent={{52,-8},{68,8}}, rotation=0))); 
    640       Rotational.Components.Inertia inertia3(        J=Jload, w(fixed=true))  
     640      Rotational.Components.Inertia inertia3(        J=Jload, w(fixed=true)) 
    641641                    annotation (Placement(transformation(extent={{82,-8},{98,8}}, 
    642642              rotation=0))); 
    643       Rotational.Components.Damper damper(        d=damping)  
     643      Rotational.Components.Damper damper(        d=damping) 
    644644        annotation (Placement(transformation( 
    645645            origin={46,-22}, 
    646646            extent={{-8,-8},{8,8}}, 
    647647            rotation=270))); 
    648       Modelica.Blocks.Sources.Sine sine(amplitude=amplitude, freqHz=freqHz)  
     648      Modelica.Blocks.Sources.Sine sine(amplitude=amplitude, freqHz=freqHz) 
    649649        annotation (Placement(transformation(extent={{-98,-8},{-82,8}}, 
    650650              rotation=0))); 
    651651    equation 
    652       connect(inertia1.flange_b, idealGear.flange_a)  
     652      connect(inertia1.flange_b, idealGear.flange_a) 
    653653        annotation (Line(points={{-22,0},{-8,0}},  color={0,0,0})); 
    654       connect(idealGear.flange_b, inertia2.flange_a)  
     654      connect(idealGear.flange_b, inertia2.flange_a) 
    655655        annotation (Line(points={{8,0},{22,0}}, color={0,0,0})); 
    656       connect(inertia2.flange_b, spring.flange_a)  
     656      connect(inertia2.flange_b, spring.flange_a) 
    657657        annotation (Line(points={{38,0},{52,0}}, color={0,0,0})); 
    658       connect(spring.flange_b, inertia3.flange_a)  
     658      connect(spring.flange_b, inertia3.flange_a) 
    659659        annotation (Line(points={{68,0},{82,0}}, color={0,0,0})); 
    660       connect(damper.flange_a, inertia2.flange_b)  
     660      connect(damper.flange_a, inertia2.flange_b) 
    661661        annotation (Line(points={{46,-14},{46,0},{38,0}}, color={0,0,0})); 
    662       connect(damper.flange_b, fixed.flange)  
     662      connect(damper.flange_b, fixed.flange) 
    663663        annotation (Line(points={{46,-30},{46,-40}}, color={0,0,0})); 
    664664      connect(sine.y, torque.tau) annotation (Line(points={{-81.2,0},{-69.6,0}}, 
     
    699699<p>as well as the absolute angular velocities of the three inertia components 
    700700(inertia1.w, inertia2.w, inertia3.w).</p> 
    701   
     701 
    702702</HTML>"), Diagram(coordinateSystem( 
    703703            initialScale=0.1, 
     
    707707        experiment(StopTime=3)); 
    708708 
    709       Rotational.Sources.Torque torque(useSupport=true)  
     709      Rotational.Sources.Torque torque(useSupport=true) 
    710710                               annotation (Placement(transformation(extent={{-90,-10}, 
    711711                {-70,10}},        rotation=0))); 
     
    718718        w(start=100, 
    719719          fixed=true, 
    720           displayUnit="rad/s"))  
     720          displayUnit="rad/s")) 
    721721                      annotation (Placement(transformation(extent={{-60,-10},{-40, 
    722722                10}},    rotation=0))); 
    723       Rotational.Components.Clutch clutch(        fn_max=160)  
     723      Rotational.Components.Clutch clutch(        fn_max=160) 
    724724                                           annotation (Placement(transformation( 
    725725              extent={{-30,-10},{-10,10}}, 
     
    728728        J=0.05, 
    729729        phi(start=0, fixed=true), 
    730         w(start=90, fixed=true))  
     730        w(start=90, fixed=true)) 
    731731                     annotation (Placement(transformation(extent={{0,-10},{20,10}}, 
    732732              rotation=0))); 
    733       Rotational.Components.SpringDamper spring(        c=160, d=1)  
     733      Rotational.Components.SpringDamper spring(        c=160, d=1) 
    734734        annotation (Placement(transformation(extent={{30,-10},{50,10}}, 
    735735                                                                      rotation= 
     
    738738        J=1, 
    739739        phi(start=0, fixed=true), 
    740         w(start=90, fixed=true))  
     740        w(start=90, fixed=true)) 
    741741                     annotation (Placement(transformation(extent={{90,-10},{110,10}}, 
    742742              rotation=0))); 
    743       Rotational.Components.Brake brake(        fn_max=1600, useSupport=true)  
     743      Rotational.Components.Brake brake(        fn_max=1600, useSupport=true) 
    744744                                          annotation (Placement(transformation( 
    745745              extent={{60,-10},{80,10}}, 
    746746                                       rotation=0))); 
    747       Modelica.Blocks.Sources.Constant const(k=1)  
     747      Modelica.Blocks.Sources.Constant const(k=1) 
    748748        annotation (Placement(transformation( 
    749749            origin={-25,35}, 
    750750            extent={{-5,-5},{15,15}}, 
    751751            rotation=270))); 
    752       Modelica.Blocks.Sources.Step step(startTime=startTime)  
     752      Modelica.Blocks.Sources.Step step(startTime=startTime) 
    753753        annotation (Placement(transformation( 
    754754            origin={65,35}, 
     
    760760        startTime=startTime)   annotation (Placement(transformation(extent={{-160, 
    761761                -30},{-140,-10}},   rotation=0))); 
    762       Modelica.Blocks.Sources.Sine sine(amplitude=200, freqHz=50/pi)  
     762      Modelica.Blocks.Sources.Sine sine(amplitude=200, freqHz=50/pi) 
    763763        annotation (Placement(transformation(extent={{-160,10},{-140,30}}, 
    764764              rotation=0))); 
    765       Modelica.Blocks.Math.Product product  
     765      Modelica.Blocks.Math.Product product 
    766766                           annotation (Placement(transformation(extent={{-120,-10}, 
    767767                {-100,10}}, 
    768768                          rotation=0))); 
    769       Rotational.Components.Fixed fixed  
     769      Rotational.Components.Fixed fixed 
    770770                             annotation (Placement(transformation(extent={{-10,-30}, 
    771771                {10,-10}},     rotation=0))); 
     
    776776      tSpring = spring.tau; 
    777777 
    778       connect(torque.flange, inertia3.flange_a)  
     778      connect(torque.flange, inertia3.flange_a) 
    779779        annotation (Line(points={{-70,0},{-70,0},{-60,0}}, 
    780780                                                   color={0,0,0})); 
    781       connect(inertia3.flange_b, clutch.flange_a)  
     781      connect(inertia3.flange_b, clutch.flange_a) 
    782782        annotation (Line(points={{-40,0},{-30,0}},color={0,0,0})); 
    783       connect(clutch.flange_b, inertia2.flange_a)  
     783      connect(clutch.flange_b, inertia2.flange_a) 
    784784        annotation (Line(points={{-10,0},{0,0}},color={0,0,0})); 
    785       connect(inertia2.flange_b, spring.flange_a)  
     785      connect(inertia2.flange_b, spring.flange_a) 
    786786        annotation (Line(points={{20,0},{30,0}}, color={0,0,0})); 
    787       connect(spring.flange_b, brake.flange_a)  
     787      connect(spring.flange_b, brake.flange_a) 
    788788        annotation (Line(points={{50,0},{60,0}}, color={0,0,0})); 
    789       connect(brake.flange_b, inertia1.flange_a)  
     789      connect(brake.flange_b, inertia1.flange_a) 
    790790        annotation (Line(points={{80,0},{80,0},{90,0}}, 
    791791                                                 color={0,0,0})); 
     
    840840mode = -1/0/+1 means backward sliding, 
    841841locked, forward sliding.</p> 
    842   
     842 
    843843</HTML>"), __Dymola_Commands(file="Scripts/__Dymola_CoupledClutches.mos" 
    844844            "Simulate and Plot"), 
     
    852852        J=1, 
    853853        phi(fixed=true, start=0), 
    854         w(start=10, fixed=true))  
     854        w(start=10, fixed=true)) 
    855855                     annotation (Placement(transformation(extent={{-70,-10},{ 
    856856                -50,10}}, 
    857857                     rotation=0))); 
    858       Rotational.Sources.Torque torque(useSupport=true)  
     858      Rotational.Sources.Torque torque(useSupport=true) 
    859859                               annotation (Placement(transformation(extent={{-100, 
    860860                -10},{-80,10}},   rotation=0))); 
    861       Rotational.Components.Clutch clutch1(        peak=1.1, fn_max=20)  
     861      Rotational.Components.Clutch clutch1(        peak=1.1, fn_max=20) 
    862862        annotation (Placement(transformation(extent={{-40,-10},{-20,10}}, 
    863863              rotation=0))); 
    864       Modelica.Blocks.Sources.Sine sin1(amplitude=10, freqHz=5)  
     864      Modelica.Blocks.Sources.Sine sin1(amplitude=10, freqHz=5) 
    865865        annotation (Placement(transformation(extent={{-130,-10},{-110,10}}, 
    866866              rotation=0))); 
    867       Modelica.Blocks.Sources.Step step1(startTime=T2)  
     867      Modelica.Blocks.Sources.Step step1(startTime=T2) 
    868868        annotation (Placement(transformation( 
    869869            origin={25,35}, 
     
    874874        w(fixed=true))           annotation (Placement(transformation(extent={{-10,-10}, 
    875875                {10,10}},      rotation=0))); 
    876       Rotational.Components.Clutch clutch2(        peak=1.1, fn_max=20)  
     876      Rotational.Components.Clutch clutch2(        peak=1.1, fn_max=20) 
    877877        annotation (Placement(transformation(extent={{20,-10},{40,10}}, 
    878878                                                                      rotation= 
     
    882882        w(fixed=true))           annotation (Placement(transformation(extent={{50,-10}, 
    883883                {70,10}},       rotation=0))); 
    884       Rotational.Components.Clutch clutch3(        peak=1.1, fn_max=20)  
     884      Rotational.Components.Clutch clutch3(        peak=1.1, fn_max=20) 
    885885        annotation (Placement(transformation(extent={{80,-10},{100,10}}, 
    886886                                                                      rotation= 
     
    897897            extent={{-5,-5},{15,15}}, 
    898898            rotation=270))); 
    899       Modelica.Blocks.Sources.Step step2(startTime=T3)  
     899      Modelica.Blocks.Sources.Step step2(startTime=T3) 
    900900        annotation (Placement(transformation( 
    901901            origin={85,35}, 
    902902            extent={{-5,-5},{15,15}}, 
    903903            rotation=270))); 
    904       Rotational.Components.Fixed fixed  
     904      Rotational.Components.Fixed fixed 
    905905                             annotation (Placement(transformation(extent={{-100, 
    906906                -30},{-80,-10}}, rotation=0))); 
    907907    equation 
    908       connect(torque.flange, J1.flange_a)  
     908      connect(torque.flange, J1.flange_a) 
    909909        annotation (Line(points={{-80,0},{-70,0}}, color={0,0,0})); 
    910       connect(J1.flange_b, clutch1.flange_a)  
     910      connect(J1.flange_b, clutch1.flange_a) 
    911911        annotation (Line(points={{-50,0},{-40,0}}, color={0,0,0})); 
    912       connect(clutch1.flange_b, J2.flange_a)  
     912      connect(clutch1.flange_b, J2.flange_a) 
    913913        annotation (Line(points={{-20,0},{-10,0}},color={0,0,0})); 
    914       connect(J2.flange_b, clutch2.flange_a)  
     914      connect(J2.flange_b, clutch2.flange_a) 
    915915        annotation (Line(points={{10,0},{10,0},{20,0}}, 
    916916                                                color={0,0,0})); 
    917       connect(clutch2.flange_b, J3.flange_a)  
     917      connect(clutch2.flange_b, J3.flange_a) 
    918918        annotation (Line(points={{40,0},{50,0}}, color={0,0,0})); 
    919       connect(J3.flange_b, clutch3.flange_a)  
     919      connect(J3.flange_b, clutch3.flange_a) 
    920920        annotation (Line(points={{70,0},{80,0}}, color={0,0,0})); 
    921       connect(clutch3.flange_b, J4.flange_a)  
     921      connect(clutch3.flange_b, J4.flange_a) 
    922922        annotation (Line(points={{100,0},{110,0}}, 
    923923                                                 color={0,0,0})); 
     
    973973        experiment(StopTime=0.5)); 
    974974      Rotational.Components.LossyGear gear(ratio=2, lossTable=[0, 0.5, 0.5, 0, 0], 
    975         useSupport=true)  
     975        useSupport=true) 
    976976        annotation (Pla