Flange_a

connector Flange_a "One-dimensional translational flange (left, flange axis directed INTO cut plane)"
    extends Flange;

    annotation (
        defaultComponentName = "flange_a",
        Documentation(info = "<html>\n<p>\nThis is a connector for 1-dim. translational mechanical systems which represents\na mechanical flange. In the cut plane of\nthe flange a unit vector n, called flange axis, is defined which is directed\nINTO the cut plane, i. e. from left to right. All vectors in the cut plane are\nresolved with respect to\nthis unit vector. E.g. force f characterizes a vector which is directed in\nthe direction of n with value equal to f. When this flange is connected to\nother 1D translational flanges, this means that the axes vectors of the connected\nflanges are identical.\n</p>\n<p>\nThe following variables are transported through this connector:\n</p>\n\n<blockquote><pre>\ns: Absolute position of the flange in [m]. A positive translation\n   means that the flange is translated along the flange axis.\nf: Cut-force in direction of the flange axis in [N].\n</pre></blockquote>\n</html>"),
        Icon(
            coordinateSystem(
                preserveAspectRatio = true,
                extent = {
                    {-100, -100}, 
                    {100, 100}}),
            graphics = {
                Rectangle(
                    extent = {
                        {-100, -100}, 
                        {100, 100}},
                    lineColor = {0, 127, 0},
                    fillColor = {0, 127, 0},
                    fillPattern = FillPattern.Solid)}),
        Diagram(
            coordinateSystem(
                preserveAspectRatio = true,
                extent = {
                    {-100, -100}, 
                    {100, 100}}),
            graphics = {
                Rectangle(
                    extent = {
                        {-40, -40}, 
                        {40, 40}},
                    lineColor = {0, 127, 0},
                    fillColor = {0, 127, 0},
                    fillPattern = FillPattern.Solid), 
                Text(
                    extent = {
                        {-160, 110}, 
                        {40, 50}},
                    lineColor = {0, 127, 0},
                    textString = "%name")}));
end Flange_a;