Support

connector Support "Support/housing flange of a one-dimensional rotational shaft"
    extends Flange;

    annotation (
        Documentation(info = "<html>\n<p>\nThis is a connector for 1-dim. rotational mechanical systems and models which represents\na support or housing of a shaft. The following variables are defined in this connector:\n</p>\n\n<blockquote><pre>\nphi: Absolute rotation angle of the support/housing in [rad].\ntau: Reaction torque in the support/housing in [Nm].\n</pre></blockquote>\n\n<p>\nThe support connector is usually defined as conditional connector.\nIt is most convenient to utilize it\n</p>\n\n<ul>\n<li> For models to be build graphically (i.e., the model is build up by drag-and-drop\n     from elementary components):<br>\n     <a href=\"modelica://Modelica.Mechanics.Rotational.Interfaces.PartialOneFlangeAndSupport\">PartialOneFlangeAndSupport</a>,<br>\n     <a href=\"modelica://Modelica.Mechanics.Rotational.Interfaces.PartialTwoFlangesAndSupport\">PartialTwoFlangesAndSupport</a>.<br> &nbsp;</li>\n\n<li> For models to be build textually (i.e., elementary models):<br>\n     <a href=\"modelica://Modelica.Mechanics.Rotational.Interfaces.PartialElementaryOneFlangeAndSupport2\">PartialElementaryOneFlangeAndSupport</a>,<br>\n     <a href=\"modelica://Modelica.Mechanics.Rotational.Interfaces.PartialElementaryTwoFlangesAndSupport2\">PartialElementaryTwoFlangesAndSupport</a>,<br>\n     <a href=\"modelica://Modelica.Mechanics.Rotational.Interfaces.PartialElementaryRotationalToTranslational\">PartialElementaryRotationalToTranslational</a>.</li>\n</ul>\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), 
                Rectangle(
                    extent = {
                        {-150, 150}, 
                        {150, -150}},
                    lineColor = {192, 192, 192},
                    fillColor = {192, 192, 192},
                    fillPattern = FillPattern.Solid), 
                Ellipse(
                    extent = {
                        {-100, 100}, 
                        {100, -100}},
                    fillColor = {95, 95, 95},
                    fillPattern = FillPattern.Solid)}),
        Diagram(
            coordinateSystem(
                preserveAspectRatio = true,
                extent = {
                    {-100, -100}, 
                    {100, 100}}),
            graphics = {
                Rectangle(
                    extent = {
                        {-60, 60}, 
                        {60, -60}},
                    lineColor = {192, 192, 192},
                    fillColor = {192, 192, 192},
                    fillPattern = FillPattern.Solid), 
                Text(
                    extent = {
                        {-160, 100}, 
                        {40, 60}},
                    textString = "%name"), 
                Ellipse(
                    extent = {
                        {-40, 40}, 
                        {40, -40}},
                    fillColor = {135, 135, 135},
                    fillPattern = FillPattern.Solid)}));
end Support;