Flange_a

connector Flange_a "One-dimensional rotational flange of a shaft (filled circle icon)"
    extends Flange;

    annotation (
        defaultComponentName = "flange_a",
        Documentation(info = "<html>\n<p>\nThis is a connector for 1-dim. rotational mechanical systems and models which represents\na mechanical flange of a shaft. The following variables are defined in this connector:\n</p>\n\n<blockquote><pre>\nphi: Absolute rotation angle of the shaft flange in [rad].\ntau: Cut-torque in the shaft flange in [Nm].\n</pre></blockquote>\n\n<p>\nThere is a second connector for flanges:\n<a href=\"modelica://Modelica.Mechanics.Rotational.Interfaces.Flange_b\">Flange_b</a>.\nThe connectors\nFlange_a and Flange_b are completely identical. There is only a difference\nin the icons, in order to easier identify a flange variable in a diagram.\nFor a discussion on the actual direction of the cut-torque tau and\nof the rotation angle, see section\n<a href=\"modelica://Modelica.Mechanics.Rotational.UsersGuide.SignConventions\">Sign Conventions</a>\nin the user's guide of Rotational.\n</p>\n\n<p>\nIf needed, the absolute angular velocity w and the\nabsolute angular acceleration a of the flange can be determined by\ndifferentiation of the flange angle phi:\n</p>\n\n<blockquote><pre>\nw = der(phi);\na = der(w);\n</pre></blockquote>\n</html>"),
        Icon(
            coordinateSystem(
                preserveAspectRatio = true,
                extent = {
                    {-100, -100}, 
                    {100, 100}}),
            graphics = {
                Ellipse(
                    extent = {
                        {-100, 100}, 
                        {100, -100}},
                    fillColor = {95, 95, 95},
                    fillPattern = FillPattern.Solid)}),
        Diagram(
            coordinateSystem(
                preserveAspectRatio = true,
                extent = {
                    {-100, -100}, 
                    {100, 100}}),
            graphics = {
                Text(
                    extent = {
                        {-160, 90}, 
                        {40, 50}},
                    textString = "%name"), 
                Ellipse(
                    extent = {
                        {-40, 40}, 
                        {40, -40}},
                    fillColor = {135, 135, 135},
                    fillPattern = FillPattern.Solid)}));
end Flange_a;