model Idle "Multiphase idle branch"
extends Interfaces.TwoPlug;
Modelica.Electrical.Analog.Ideal.Idle idle[m] annotation (Placement(transformation(extent = {
{-10, -10},
{10, 10}})));
equation
connect(idle.n,plug_n.pin) annotation (Line(
points = {
{10, 0},
{100, 0}},
color = {0, 0, 255}));
connect(plug_p.pin,idle.p) annotation (Line(
points = {
{-100, 0},
{-10, 0}},
color = {0, 0, 255}));
annotation (
Icon(
coordinateSystem(
preserveAspectRatio = false,
extent = {
{-100, -100},
{100, 100}}),
graphics = {
Rectangle(
extent = {
{-80, 80},
{80, -80}},
fillColor = {255, 255, 255},
fillPattern = FillPattern.Solid,
lineColor = {0, 0, 255}),
Line(
points = {
{-90, 0},
{-41, 0}},
color = {0, 0, 255}),
Line(
points = {
{91, 0},
{40, 0}},
color = {0, 0, 255}),
Text(
extent = {
{-150, 130},
{150, 90}},
textString = "%name",
lineColor = {0, 0, 255}),
Text(
extent = {
{-150, -90},
{150, -130}},
textString = "m=%m")}),
Documentation(info = "<html>\n<p>\nContains m idles (Modelica.Electrical.Analog.Ideal.Idle)\n</p>\n</html>"));
end Idle;