Changeset 1038 for trunk

Show
Ignore:
Timestamp:
02/07/08 20:04:12 (8 months ago)
Author:
otter
Message:

Fixed non-standard annotations reported by Gerd
(mostly fillColor/fillPattern in "Line(...)", but also some Dymola specific annotations)

Location:
trunk/Modelica
Files:
1 removed
9 modified

Legend:

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

    r998 r1038  
    307307          points={{-1.83697e-015,20},{-1.83697e-015,17},{1.83697e-015,17},{ 
    308308              1.83697e-015,10}}, 
    309           color={0,0,255}, 
    310           fillColor={135,135,135}, 
    311           fillPattern=FillPattern.Solid)); 
     309          color={0,0,255})); 
    312310      connect(TerminalBox1.plug_sn, aimc.plug_sn)  annotation (Line( 
    313311          points={{-16,-30},{-16,-30}}, 
     
    434432          points={{-1.83697e-015,20},{-1.83697e-015,18},{1.83697e-015,18},{ 
    435433              1.83697e-015,10}}, 
    436           color={0,0,255}, 
    437           fillColor={135,135,135}, 
    438           fillPattern=FillPattern.Solid)); 
     434          color={0,0,255})); 
    439435      connect(switchYD.plug_sn, aimc.plug_sn)   annotation (Line( 
    440436          points={{-16,-30},{-16,-30}}, 
     
    575571                                              annotation (Line( 
    576572          points={{-80,-70},{-70,-70}}, 
    577           color={0,0,255}, 
    578           fillPattern=FillPattern.HorizontalCylinder, 
    579           fillColor={0,128,255})); 
     573          color={0,0,255})); 
    580574      connect(rotorResistor.plug_p, idealCommutingSwitch.plug_n1)  
    581575                                                               annotation (Line( 
    582576          points={{-50,-70},{-45,-70},{-45,-50}}, 
    583           color={0,0,255}, 
    584           fillPattern=FillPattern.HorizontalCylinder, 
    585           fillColor={0,128,255})); 
     577          color={0,0,255})); 
    586578      connect(aims.plug_rn, starRotor.plug_p)  
    587579                                            annotation (Line(points={{-20,-46}, 
     
    602594          points={{-1.83697e-015,20},{-1.83697e-015,16},{1.83697e-015,16},{ 
    603595              1.83697e-015,10}}, 
    604           color={0,0,255}, 
    605           fillColor={135,135,135}, 
    606           fillPattern=FillPattern.Solid)); 
     596          color={0,0,255})); 
    607597      connect(terminalBox.plugSupply, currentQuasiRMSSensor.plug_n)  
    608598                                                                 annotation (Line( 
     
    23612351        connect(spacePhasorR.ground, spacePhasorR.zero) annotation (Line( 
    23622352            points={{-10,-20},{-10,-14},{6.12323e-016,-14},{6.12323e-016,-20}}, 
    2363             color={0,0,255}, 
    2364             fillColor={0,0,255}, 
    2365             fillPattern=FillPattern.Solid)); 
     2353            color={0,0,255})); 
    23662354         
    23672355        connect(airGapS.spacePhasor_r, spacePhasorR.spacePhasor)  
     
    69656953        connect(gnd.p, ground) annotation (Line( 
    69666954            points={{70,-90},{100,-90},{100,-100}}, 
    6967             color={0,0,255}, 
    6968             fillColor={0,0,255}, 
    6969             fillPattern=FillPattern.Solid)); 
     6955            color={0,0,255})); 
    69706956      end SpacePhasor; 
    69716957       
     
    77007686      connect(spacePhasorS.ground,spacePhasorS. zero) annotation (Line( 
    77017687          points={{-10,20},{-10,14},{-6.12323e-016,14},{-6.12323e-016,20}}, 
    7702           color={0,0,255}, 
    7703           fillColor={0,0,255}, 
    7704           fillPattern=FillPattern.Solid)); 
     7688          color={0,0,255})); 
    77057689    end PartialBasicInductionMachine; 
    77067690     
     
    79037887      connect(control, idealCommutingSwitch.control) annotation (Line( 
    79047888          points={{-110,0},{0,0},{0,-52}}, 
    7905           color={255,0,255}, 
    7906           fillColor={255,255,255}, 
    7907           fillPattern=FillPattern.Solid)); 
     7889          color={255,0,255})); 
    79087890    end SwitchYD; 
    79097891     
  • trunk/Modelica/Electrical/MultiPhase.mo

    r887 r1038  
    903903      connect(plug_p1.pin, transformer.p1) annotation (Line( 
    904904          points={{-100,100},{-10,100},{-10,5}}, 
    905           color={0,0,255}, 
    906           fillColor={255,255,255}, 
    907           fillPattern=FillPattern.Solid)); 
     905          color={0,0,255})); 
    908906      connect(plug_p2.pin, transformer.p2) annotation (Line( 
    909907          points={{100,100},{10,100},{10,5}}, 
    910           color={0,0,255}, 
    911           fillColor={255,255,255}, 
    912           fillPattern=FillPattern.Solid)); 
     908          color={0,0,255})); 
    913909      connect(plug_n1.pin, transformer.n1) annotation (Line( 
    914910          points={{-100,-100},{-10,-100},{-10,-5}}, 
    915           color={0,0,255}, 
    916           fillColor={255,255,255}, 
    917           fillPattern=FillPattern.Solid)); 
     911          color={0,0,255})); 
    918912      connect(plug_n2.pin, transformer.n2) annotation (Line( 
    919913          points={{100,-100},{10,-100},{10,-5}}, 
    920           color={0,0,255}, 
    921           fillColor={255,255,255}, 
    922           fillPattern=FillPattern.Solid)); 
     914          color={0,0,255})); 
    923915    end Transformer; 
    924916 
     
    13331325      connect(plug_p.pin, idealCommutingSwitch.p) annotation (Line( 
    13341326          points={{-100,0},{-10,0}}, 
    1335           color={0,0,255}, 
    1336           fillColor={255,255,255}, 
    1337           fillPattern=FillPattern.Solid)); 
     1327          color={0,0,255})); 
    13381328      connect(idealCommutingSwitch.n2, plug_n2.pin) annotation (Line( 
    13391329          points={{10,0},{100,0}}, 
    1340           color={0,0,255}, 
    1341           fillColor={255,255,255}, 
    1342           fillPattern=FillPattern.Solid)); 
     1330          color={0,0,255})); 
    13431331      connect(idealCommutingSwitch.n1, plug_n1.pin) annotation (Line( 
    13441332          points={{10,5},{10,50},{100,50}}, 
    1345           color={0,0,255}, 
    1346           fillColor={255,255,255}, 
    1347           fillPattern=FillPattern.Solid)); 
     1333          color={0,0,255})); 
    13481334      connect(control, idealCommutingSwitch.control)  
    13491335        annotation (Line(points={{0,80},{0,8}}, color={255,0,255})); 
     
    14131399      connect(plug_p2.pin, idealIntermediateSwitch.p2) annotation (Line( 
    14141400          points={{-100,0},{-10,0}}, 
    1415           color={0,0,255}, 
    1416           fillColor={255,255,255}, 
    1417           fillPattern=FillPattern.Solid)); 
     1401          color={0,0,255})); 
    14181402      connect(idealIntermediateSwitch.n2, plug_n2.pin) annotation (Line( 
    14191403          points={{10,0},{100,0}}, 
    1420           color={0,0,255}, 
    1421           fillColor={255,255,255}, 
    1422           fillPattern=FillPattern.Solid)); 
     1404          color={0,0,255})); 
    14231405      connect(idealIntermediateSwitch.p1, plug_p1.pin) annotation (Line( 
    14241406          points={{-10,5},{-10,50},{-100,50}}, 
    1425           color={0,0,255}, 
    1426           fillColor={255,255,255}, 
    1427           fillPattern=FillPattern.Solid)); 
     1407          color={0,0,255})); 
    14281408      connect(idealIntermediateSwitch.n1, plug_n1.pin) annotation (Line( 
    14291409          points={{10,5},{10,50},{100,50}}, 
    1430           color={0,0,255}, 
    1431           fillColor={255,255,255}, 
    1432           fillPattern=FillPattern.Solid)); 
     1410          color={0,0,255})); 
    14331411      connect(control, idealIntermediateSwitch.control)  
    14341412        annotation (Line(points={{0,80},{0,8}}, color={255,0,255})); 
     
    15641542      connect(plug_p.pin, idle.p) annotation (Line( 
    15651543          points={{-100,0},{-10,0}}, 
    1566           color={0,0,255}, 
    1567           fillColor={255,255,255}, 
    1568           fillPattern=FillPattern.Solid)); 
     1544          color={0,0,255})); 
    15691545      connect(idle.n, plug_n.pin) annotation (Line( 
    15701546          points={{10,0},{100,0}}, 
    1571           color={0,0,255}, 
    1572           fillColor={255,255,255}, 
    1573           fillPattern=FillPattern.Solid)); 
     1547          color={0,0,255})); 
    15741548    end Idle; 
    15751549 
     
    16051579      connect(plug_p.pin, short.p) annotation (Line( 
    16061580          points={{-100,0},{-10,0}}, 
    1607           color={0,0,255}, 
    1608           fillColor={255,255,255}, 
    1609           fillPattern=FillPattern.Solid)); 
     1581          color={0,0,255})); 
    16101582      connect(short.n, plug_n.pin) annotation (Line( 
    16111583          points={{10,0},{100,0}}, 
    1612           color={0,0,255}, 
    1613           fillColor={255,255,255}, 
    1614           fillPattern=FillPattern.Solid)); 
     1584          color={0,0,255})); 
    16151585    end Short; 
    16161586 
  • trunk/Modelica/Mechanics/MultiBody/Interfaces.mo

    r998 r1038  
    310310            extent={{-216,88},{86,36}}, 
    311311            lineColor={0,0,255}, 
    312             fillColor={255,255,255}, 
    313             fillPattern=FillPattern.Solid, 
    314312            textString="%name")}), 
    315313      Documentation(info="<html> 
     
    324322    connect(flange, flangeAndFrame.flange) annotation (Line( 
    325323        points={{0,0},{-100,0}}, 
    326         color={0,0,0}, 
    327         fillColor={255,255,255}, 
    328         fillPattern=FillPattern.Solid)); 
     324        color={0,0,0})); 
    329325    connect(frame, flangeAndFrame.bearingFrame) annotation (Line( 
    330326        points={{0,-100},{0,-40},{-100,-40},{-100,0}}, 
    331327        color={0,0,0}, 
    332         thickness=2, 
    333         fillColor={255,255,255}, 
    334         fillPattern=FillPattern.Solid)); 
     328        thickness=2)); 
    335329  end FlangeWithBearingAdaptor; 
    336330 
  • trunk/Modelica/Mechanics/MultiBody/parts.mo

    r1036 r1038  
    13421342        points={{-100,0},{-60,0},{-60,-50.1666},{-27.3333,-50.1666}}, 
    13431343        color={95,95,95}, 
    1344         thickness=2, 
    1345         fillColor={0,0,0}, 
    1346         fillPattern=FillPattern.Solid)); 
     1344        thickness=2)); 
    13471345  end BodyShape; 
    13481346 
     
    18381836      annotation(Dialog(group="Initialization", __Dymola_initialDialog=true)); 
    18391837    annotation ( 
    1840       defaultAttributes={"inner"}, 
    1841       defaultInstanceName="world", 
    1842       defaultModifiers="gravityType=0", 
    1843       missingInnerMessage="No \"world\" component is defined. A default world component 
    1844 without a gravity field will be used. If this is not desired, 
    1845 drag Modelica.Mechanics.MultiBody.World into the top level of your model.", 
    1846       Window( 
    1847         x=0.21, 
    1848         y=0, 
    1849         width=0.75, 
    1850         height=0.82), 
    18511838      Icon(coordinateSystem( 
    18521839          preserveAspectRatio=true, 
     
    21992186    SI.Angle phi(start=0, final stateSelect=stateSelect) 
    22002187        "Rotation angle of rotor with respect to frame_a (= flange_a.phi = flange_b.phi)" 
    2201       annotation(Dialog(initialDialog=true)); 
     2188      annotation(Dialog(__Dymola_initialDialog=true)); 
    22022189 
    22032190    SI.AngularVelocity w(start=0, stateSelect=stateSelect) 
    22042191        "Angular velocity of rotor with respect to frame_a"  
    2205       annotation(Dialog(initialDialog=true)); 
     2192      annotation(Dialog(__Dymola_initialDialog=true)); 
    22062193    SI.AngularAcceleration a(start=0) 
    22072194        "Angular acceleration of rotor with respect to frame_a"  
    2208       annotation(Dialog(initialDialog=true)); 
     2195      annotation(Dialog(__Dymola_initialDialog=true)); 
    22092196 
    22102197    Modelica.Mechanics.Rotational.Interfaces.Flange_a flange_a 
  • trunk/Modelica/Mechanics/Rotational.mo

    r1032 r1038  
    854854locked, forward sliding.</p> 
    855855  
    856 </HTML>"),      Commands(file="CoupledClutches.mos" "Plot inertias"), 
     856</HTML>"), 
    857857        Diagram(coordinateSystem(preserveAspectRatio=true, extent={{-140,-80},{ 
    858858                140,80}}, 
     
    46914691              points={{-54,-42},{-38,-28},{-16,-16},{4,-14},{22,-18},{36,-26},{ 
    46924692                  48,-36},{56,-46},{64,-58}}, 
    4693               color={0,0,0}, 
    4694               fillColor={0,0,0}, 
    4695               fillPattern=FillPattern.Solid), 
     4693              color={0,0,0}), 
    46964694            Polygon( 
    46974695              points={{-61,-66},{-44,-42},{-58,-36},{-61,-66}}, 
     
    62746272              points={{-58,-82},{-42,-68},{-20,-56},{0,-54},{18,-56},{34,-62},{ 
    62756273                  44,-72},{54,-82},{60,-94}}, 
    6276               color={0,0,0}, 
    6277               fillColor={0,0,0}, 
    6278               fillPattern=FillPattern.Solid), 
     6274              color={0,0,0}), 
    62796275            Polygon( 
    62806276              points={{-65,-98},{-46,-80},{-58,-72},{-65,-98}}, 
  • trunk/Modelica/Mechanics/Translational.mo

    r1030 r1038  
    270270          points={{16,70},{40,70}}, 
    271271          color={0,127,0}, 
    272           smooth=Smooth.None, 
    273           fillColor={0,127,0}, 
    274           fillPattern=FillPattern.Solid)); 
     272          smooth=Smooth.None)); 
    275273      connect(force2.flange, mass2.flange_b)    annotation (Line( 
    276274          points={{16,30},{70,30},{70,10},{60,10}}, 
    277275          color={0,127,0}, 
    278           smooth=Smooth.None, 
    279           fillColor={0,127,0}, 
    280           fillPattern=FillPattern.Solid)); 
     276          smooth=Smooth.None)); 
    281277      connect(mass3.flange_b, force3.flange)    annotation (Line( 
    282278          points={{-20,-30},{0,-30}}, 
    283279          color={0,127,0}, 
    284           smooth=Smooth.None, 
    285           fillColor={0,127,0}, 
    286           fillPattern=FillPattern.Solid)); 
     280          smooth=Smooth.None)); 
    287281      connect(fixed.flange, force3.support) annotation (Line( 
    288282          points={{10,-50},{10,-40}}, 
    289283          color={0,127,0}, 
    290           smooth=Smooth.None, 
    291           fillColor={0,127,0}, 
    292           fillPattern=FillPattern.Solid)); 
     284          smooth=Smooth.None)); 
    293285    end SignConvention; 
    294286 
     
    388380          points={{-60,70},{-90,70}}, 
    389381          color={0,127,0}, 
    390           smooth=Smooth.None, 
    391           fillColor={0,127,0}, 
    392           fillPattern=FillPattern.Solid)); 
     382          smooth=Smooth.None)); 
    393383      connect(s1.flange_a, fixed1.flange) annotation (Line( 
    394384          points={{-58,-10},{-90,-10}}, 
    395385          color={0,127,0}, 
    396           smooth=Smooth.None, 
    397           fillColor={0,127,0}, 
    398           fillPattern=FillPattern.Solid)); 
     386          smooth=Smooth.None)); 
    399387      connect(m1.flange_a, s1.flange_b) annotation (Line( 
    400388          points={{-20,-10},{-38,-10}}, 
    401389          color={0,127,0}, 
    402           smooth=Smooth.None, 
    403           fillColor={0,127,0}, 
    404           fillPattern=FillPattern.Solid)); 
     390          smooth=Smooth.None)); 
    405391      connect(sd1.flange_a, m1.flange_b) annotation (Line( 
    406392          points={{20,-10},{0,-10}}, 
    407393          color={0,127,0}, 
    408           smooth=Smooth.None, 
    409           fillColor={0,127,0}, 
    410           fillPattern=FillPattern.Solid)); 
     394          smooth=Smooth.None)); 
    411395      connect(m2.flange_a, sd1.flange_b) annotation (Line( 
    412396          points={{60,-10},{40,-10}}, 
    413397          color={0,127,0}, 
    414           smooth=Smooth.None, 
    415           fillColor={0,127,0}, 
    416           fillPattern=FillPattern.Solid)); 
     398          smooth=Smooth.None)); 
    417399      connect(m4.flange_a, sd2.flange_b) annotation (Line( 
    418400          points={{60,70},{40,70}}, 
    419401          color={0,127,0}, 
    420           smooth=Smooth.None, 
    421           fillColor={0,127,0}, 
    422           fillPattern=FillPattern.Solid)); 
     402          smooth=Smooth.None)); 
    423403      connect(sd2.flange_a, m3.flange_b) annotation (Line( 
    424404          points={{20,70},{0,70}}, 
    425405          color={0,127,0}, 
    426           smooth=Smooth.None, 
    427           fillColor={0,127,0}, 
    428           fillPattern=FillPattern.Solid)); 
     406          smooth=Smooth.None)); 
    429407      connect(m3.flange_a, s2.flange_b) annotation (Line( 
    430408          points={{-20,70},{-40,70}}, 
    431409          color={0,127,0}, 
    432           smooth=Smooth.None, 
    433           fillColor={0,127,0}, 
    434           fillPattern=FillPattern.Solid)); 
     410          smooth=Smooth.None)); 
    435411    end InitialConditions; 
    436412 
     
    530506          points={{-50,68},{-60,68}}, 
    531507          color={0,127,0}, 
    532           smooth=Smooth.None, 
    533           fillColor={0,127,0}, 
    534           fillPattern=FillPattern.Solid)); 
     508          smooth=Smooth.None)); 
    535509      connect(rod1.flange_a,positionSensor1. flange) annotation (Line( 
    536510          points={{-48,30},{-60,30}}, 
    537511          color={0,127,0}, 
    538           smooth=Smooth.None, 
    539           fillColor={0,127,0}, 
    540           fillPattern=FillPattern.Solid)); 
     512          smooth=Smooth.None)); 
    541513      connect(rod1.flange_b, fixed.flange)  annotation (Line( 
    542514          points={{-28,30},{-10,30}}, 
    543515          color={0,127,0}, 
    544           smooth=Smooth.None, 
    545           fillColor={0,127,0}, 
    546           fillPattern=FillPattern.Solid)); 
     516          smooth=Smooth.None)); 
    547517      connect(rod3.flange_a, fixed.flange)  annotation (Line( 
    548518          points={{-30,68},{-10,68},{-10,30}}, 
    549519          color={0,127,0}, 
    550           smooth=Smooth.None, 
    551           fillColor={0,127,0}, 
    552           fillPattern=FillPattern.Solid)); 
     520          smooth=Smooth.None)); 
    553521      connect(fixed.flange, rod2.flange_a)  annotation (Line( 
    554522          points={{-10,30},{20,30}}, 
    555523          color={0,127,0}, 
    556           smooth=Smooth.None, 
    557           fillColor={0,127,0}, 
    558           fillPattern=FillPattern.Solid)); 
     524          smooth=Smooth.None)); 
    559525      connect(rod2.flange_b,positionSensor2. flange) annotation (Line( 
    560526          points={{40,30},{60,30}}, 
    561527          color={0,127,0}, 
    562           smooth=Smooth.None, 
    563           fillColor={0,127,0}, 
    564           fillPattern=FillPattern.Solid)); 
     528          smooth=Smooth.None)); 
    565529      connect(fixed1.flange,spring1. flange_a) annotation (Line( 
    566530          points={{-90,-50},{-80,-50}}, 
    567531          color={0,127,0}, 
    568           smooth=Smooth.None, 
    569           fillColor={0,127,0}, 
    570           fillPattern=FillPattern.Solid)); 
     532          smooth=Smooth.None)); 
    571533      connect(fixed2.flange,spring2. flange_a) annotation (Line( 
    572534          points={{10,-50},{30,-50}}, 
    573535          color={0,127,0}, 
    574           smooth=Smooth.None, 
    575           fillColor={0,127,0}, 
    576           fillPattern=FillPattern.Solid)); 
     536          smooth=Smooth.None)); 
    577537    end WhyArrows; 
    578538 
     
    602562          points={{-20,30},{0,30}}, 
    603563          color={0,127,0}, 
    604           smooth=Smooth.None, 
    605           fillColor={0,127,0}, 
    606           fillPattern=FillPattern.Solid)); 
     564          smooth=Smooth.None)); 
    607565      connect(constantAcc.y, accelerate.a_ref) annotation (Line( 
    608566          points={{-59,30},{-42,30}}, 
     
    676634          points={{0,70},{32,70}}, 
    677635          color={0,127,0}, 
    678           smooth=Smooth.None, 
    679           fillColor={0,127,0}, 
    680           fillPattern=FillPattern.Solid)); 
     636          smooth=Smooth.None)); 
    681637      connect(damper2.flange_b, fixed2.flange) annotation (Line( 
    682638          points={{0,10},{30,10}}, 
    683639          color={0,127,0}, 
    684           smooth=Smooth.None, 
    685           fillColor={0,127,0}, 
    686           fillPattern=FillPattern.Solid)); 
     640          smooth=Smooth.None)); 
    687641      connect(springDamper3.flange_b, fixed3.flange) annotation (Line( 
    688642          points={{0,-50},{30,-50}}, 
    689643          color={0,127,0}, 
    690           smooth=Smooth.None, 
    691           fillColor={0,127,0}, 
    692           fillPattern=FillPattern.Solid)); 
     644          smooth=Smooth.None)); 
    693645    end Damper; 
    694646 
     
    783735          points={{40,50},{70,50}}, 
    784736          color={0,127,0}, 
    785           smooth=Smooth.None, 
    786           fillColor={0,127,0}, 
    787           fillPattern=FillPattern.Solid)); 
     737          smooth=Smooth.None)); 
    788738      connect(force2.flange, mass2.flange_a)    annotation (Line( 
    789739          points={{-40,-50},{-20,-50}}, 
    790740          color={0,127,0}, 
    791           smooth=Smooth.None, 
    792           fillColor={0,127,0}, 
    793           fillPattern=FillPattern.Solid)); 
     741          smooth=Smooth.None)); 
    794742      connect(force1.flange, mass1.flange_a)    annotation (Line( 
    795743          points={{-40,50},{-20,50}}, 
    796744          color={0,127,0}, 
    797           smooth=Smooth.None, 
    798           fillColor={0,127,0}, 
    799           fillPattern=FillPattern.Solid)); 
     745          smooth=Smooth.None)); 
    800746      connect(spring2.flange_b, fixed2.flange) annotation (Line( 
    801747          points={{40,-50},{70,-50}}, 
    802748          color={0,127,0}, 
    803           smooth=Smooth.None, 
    804           fillColor={0,127,0}, 
    805           fillPattern=FillPattern.Solid)); 
     749          smooth=Smooth.None)); 
    806750    end Oscillator; 
    807751 
     
    872816          points={{-20,50},{-40,50}}, 
    873817          color={0,127,0}, 
    874           smooth=Smooth.None, 
    875           fillColor={0,127,0}, 
    876           fillPattern=FillPattern.Solid)); 
     818          smooth=Smooth.None)); 
    877819      connect(mass.flange_a, positionSensor1.flange)         annotation (Line( 
    878820          points={{20,50},{20,10},{40,10}}, 
    879821          color={0,127,0}, 
    880           smooth=Smooth.None, 
    881           fillColor={0,127,0}, 
    882           fillPattern=FillPattern.Solid)); 
     822          smooth=Smooth.None)); 
    883823      connect(mass.flange_a, speedSensor1.flange)         annotation (Line( 
    884824          points={{20,50},{20,-30},{40,-30}}, 
    885825          color={0,127,0}, 
    886           smooth=Smooth.None, 
    887           fillColor={0,127,0}, 
    888           fillPattern=FillPattern.Solid)); 
     826          smooth=Smooth.None)); 
    889827      connect(mass.flange_a, accSensor1.flange)         annotation (Line( 
    890828          points={{20,50},{20,-70},{40,-70}}, 
    891829          color={0,127,0}, 
    892           smooth=Smooth.None, 
    893           fillColor={0,127,0}, 
    894           fillPattern=FillPattern.Solid)); 
     830          smooth=Smooth.None)); 
    895831      connect(mass.flange_b, positionSensor2.flange)         annotation (Line( 
    896832          points={{40,50},{60,50}}, 
    897833          color={0,127,0}, 
    898           smooth=Smooth.None, 
    899           fillColor={0,127,0}, 
    900           fillPattern=FillPattern.Solid)); 
     834          smooth=Smooth.None)); 
    901835    end Sensors; 
    902836 
     
    981915          points={{20,10},{-12,10}}, 
    982916          color={0,127,0}, 
    983           smooth=Smooth.None, 
    984           fillColor={0,127,0}, 
    985           fillPattern=FillPattern.Solid)); 
     917          smooth=Smooth.None)); 
    986918      connect(force.flange, stop1.flange_a) annotation (Line( 
    987919          points={{40,70},{60,70}}, 
    988920          color={0,127,0}, 
    989           smooth=Smooth.None, 
    990           fillColor={0,127,0}, 
    991           fillPattern=FillPattern.Solid)); 
     921          smooth=Smooth.None)); 
    992922    end Friction; 
    993923 
     
    22702200              points={{0,-50},{0,-60},{-40,-50},{-40,48},{0,60},{0,90}}, 
    22712201              color={0,0,0}, 
    2272               smooth=Smooth.None, 
    2273               fillColor={175,175,175}, 
    2274               fillPattern=FillPattern.Solid)}), 
     2202              smooth=Smooth.None)}), <