Changeset 643

Show
Ignore:
Timestamp:
09/21/2007 01:30:55 PM (16 months ago)
Author:
otter
Message:

Improved documentation of Interfaces components in Rotational and Translational

Location:
Modelica/trunk/Modelica/Mechanics
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • Modelica/trunk/Modelica/Mechanics/Rotational.mo

    r634 r643  
    15811581       
    15821582      Flange_a flange_a  
    1583         "(left) driving flange (flange axis directed INTO cut plane)"  
     1583        "(left) driving flange (flange axis directed in to cut plane)"  
    15841584        annotation (extent=[-110, -10; -90, 10]); 
    15851585      Flange_b flange_b  
    1586         "(right) driven flange (flange axis directed OUT OF cut plane)"  
     1586        "(right) driven flange (flange axis directed out of cut plane)"  
    15871587        annotation (extent=[90, -10; 110, 10]); 
    15881588      annotation ( 
     
    16171617      SI.Torque tau "Torque between flanges (= flange_b.tau)"; 
    16181618      Flange_a flange_a  
    1619         "(left) driving flange (flange axis directed INTO cut plane)"  
     1619        "(left) driving flange (flange axis directed in to cut plane)"  
    16201620        annotation (extent=[-110, -10; -90, 10]); 
    16211621      Flange_b flange_b  
    1622         "(right) driven flange (flange axis directed OUT OF cut plane)"  
     1622        "(right) driven flange (flange axis directed out of cut plane)"  
    16231623        annotation (extent=[90, -10; 110, 10]); 
    16241624      annotation ( 
     
    16521652    partial model TwoFlanges  
    16531653      "Base class for a component with two rotational 1D flanges"  
    1654       Flange_a flange_a annotation (extent=[-110, -10; -90, 10]); 
    1655       Flange_b flange_b annotation (extent=[90, -10; 110, 10]); 
     1654      Flange_a flange_a  
     1655        "(left) driving flange (flange axis directed in to cut plane)"  
     1656                        annotation (extent=[-110, -10; -90, 10]); 
     1657      Flange_b flange_b  
     1658        "(right) driven flange (flange axis directed out of cut plane)"  
     1659                        annotation (extent=[90, -10; 110, 10]); 
    16561660      annotation ( 
    16571661        Documentation(info="<html> 
     
    16831687      SI.Torque tau_support; 
    16841688       
    1685       Flange_a bearing annotation (extent=[-10, -110; 10, -90]); 
     1689      Flange_a bearing "Flange of bearing"  
     1690                       annotation (extent=[-10, -110; 10, -90]); 
    16861691      annotation ( 
    16871692        Diagram(Rectangle(extent=[-20, -80; 20, -120], style(color=8, fillColor= 
     
    17521757    equation  
    17531758      tau_support = -adapter.flange_b.tau; 
    1754       connect(adapter.flange_a, bearing) annotation (points=[-6.12323e-016,-70; 
     1759      connect(adapter.flange_a, bearing) annotation (points=[-6.12323e-016,-70;  
    17551760            0,-70; 0,-100],    style(color=0)); 
    17561761      annotation (Documentation(info="<html> 
     
    18531858        "(left) flange to be measured (flange axis directed INTO cut plane)"  
    18541859        annotation (extent=[-110, -10; -90, 10]); 
    1855       Modelica.Blocks.Interfaces.RealOutput y  
     1860      Modelica.Blocks.Interfaces.RealOutput y "Sensor signal"  
    18561861        annotation (extent=[100, -10; 120, 10]); 
    18571862      annotation ( 
     
    18941899        "(right) driven flange (flange axis directed OUT OF cut plane)"  
    18951900        annotation (extent=[90, -10; 110, 10]); 
    1896       Modelica.Blocks.Interfaces.RealOutput y  
     1901      Modelica.Blocks.Interfaces.RealOutput y "Sensor signal"  
    18971902        annotation (extent=[-10, -100; 10, -120], rotation=90); 
    18981903      annotation ( 
  • Modelica/trunk/Modelica/Mechanics/Translational.mo

    r615 r643  
    12401240        "length of component from left flange to right flange (= flange_b.s - flange_a.s)"; 
    12411241      Flange_a flange_a  
    1242         "(left) driving flange (flange axis directed INTO cut plane, i. e. from left to right)" 
     1242        "(left) driving flange (flange axis directed in to cut plane, i. e. from left to right)" 
    12431243         annotation (extent=[-110, -10; -90, 10]); 
    12441244      Flange_b flange_b  
    1245         "(right) driven flange (flange axis directed OUT OF cut plane, i. e. from right to left)" 
     1245        "(right) driven flange (flange axis directed out of cut plane, i. e. from right to left)" 
    12461246         annotation (extent=[90, -10; 110, 10]); 
    12471247      annotation ( 
     
    12771277    partial model Compliant  
    12781278      "Compliant connection of two translational 1D flanges"  
     1279       
    12791280      Flange_a flange_a  
    1280         "(left) driving flange (flange axis directed INTO cut plane, e. g. from left to right)" 
     1281        "(left) driving flange (flange axis directed in to cut plane, e. g. from left to right)" 
    12811282         annotation (extent=[-110, -10; -90, 10]); 
    12821283      Flange_b flange_b  
    1283         "(right) driven flange (flange axis directed OUT OF cut plane)"  
     1284        "(right) driven flange (flange axis directed out of cut plane)"  
    12841285        annotation (extent=[90, -10; 110, 10]); 
    12851286      SI.Distance s_rel "relative distance (= flange_b.s - flange_a.s)"; 
    12861287      SI.Force f  
    1287         "forcee between flanges (positive in direction of flange axis R)"; 
     1288        "force between flanges (positive in direction of flange axis R)"; 
    12881289      annotation ( 
    12891290        Coordsys( 
     
    13231324    partial model TwoFlanges "Component with two translational 1D flanges "  
    13241325      Flange_a flange_a  
    1325         "(left) driving flange (flange axis directed INTO cut plane, e. g. from left to right)" 
     1326        "(left) driving flange (flange axis directed in to cut plane, e. g. from left to right)" 
    13261327         annotation (extent=[-110, -10; -90, 10]); 
    13271328      Flange_b flange_b  
    1328         "(right) driven flange (flange axis directed OUT OF cut plane)"  
     1329        "(right) driven flange (flange axis directed out of cut plane)"  
    13291330        annotation (extent=[90, -10; 110, 10]); 
    13301331      annotation ( 
     
    13611362       
    13621363      Interfaces.Flange_a flange_a  
    1363         "flange to be measured (flange axis directed INTO cut plane, e. g. from left to right)" 
     1364        "flange to be measured (flange axis directed in to cut plane, e. g. from left to right)" 
    13641365         annotation (extent=[-110, -10; -90, 10]); 
    1365       Modelica.Blocks.Interfaces.RealOutput y  
     1366      Modelica.Blocks.Interfaces.RealOutput y "Sensor signal"  
    13661367           annotation (extent=[100, -10; 120, 10]); 
    13671368      annotation ( 
     
    14171418       
    14181419      Interfaces.Flange_a flange_a  
    1419         "(left) driving flange (flange axis directed INTO cut plane, e. g. from left to right)" 
     1420        "(left) driving flange (flange axis directed in to cut plane, e. g. from left to right)" 
    14201421         annotation (extent=[-110, -10; -90, 10]); 
    14211422      Interfaces.Flange_b flange_b  
    1422         "(right) driven flange (flange axis directed OUT OF cut plane)"  
     1423        "(right) driven flange (flange axis directed out of cut plane)"  
    14231424        annotation (extent=[90, -10; 110, 10]); 
    1424       Modelica.Blocks.Interfaces.RealOutput y annotation (extent= 
     1425      Modelica.Blocks.Interfaces.RealOutput y "Sensor signal"  
     1426                                              annotation (extent= 
    14251427            [-10, -100; 10, -120], rotation=90); 
    14261428      annotation (