Plug

connector Plug "Polyphase electrical plug with m pins"
    parameter Integer m(final min = 1) = 3 "Number of phases";
    Modelica.Electrical.Analog.Interfaces.Pin pin[m] "Pins of the plug";

    annotation (
        Documentation(info = "<html>\n<p>\nConnectors PositivePlug and NegativePlug are nearly identical.\nThe only difference is that the icons are different in order\nto identify more easily the plugs of a component.\nUsually, connector PositivePlug is used for the positive and\nconnector NegativePlug for the negative plug of an electrical component.<br>\nConnector Plug is a composite connector containing m Pins (Modelica.Electrical.Analog.Interfaces.Pin).\n</p>\n</html>"),
        Diagram(
            coordinateSystem(
                preserveAspectRatio = false,
                extent = {
                    {-100, -100}, 
                    {100, 100}}),
            graphics = {
                Text(
                    extent = {
                        {-100, -99}, 
                        {100, -179}},
                    lineColor = {0, 0, 255},
                    textString = "%name")}));
end Plug;