Flange_b

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

    annotation (
        defaultComponentName = "flange_b",
        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_a\">Flange_a</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 = {255, 255, 255},
                    fillPattern = FillPattern.Solid)}),
        Diagram(
            coordinateSystem(
                preserveAspectRatio = true,
                extent = {
                    {-100, -100}, 
                    {100, 100}}),
            graphics = {
                Ellipse(
                    extent = {
                        {-40, 40}, 
                        {40, -40}},
                    fillColor = {255, 255, 255},
                    fillPattern = FillPattern.Solid), 
                Text(
                    extent = {
                        {-40, 90}, 
                        {160, 50}},
                    textString = "%name")}));
end Flange_b;