model Short "Short cut branch"
extends Interfaces.TwoPlug;
QuasiStationary.SinglePhase.Ideal.Short short[m] annotation (Placement(transformation(extent = {
{-10, -10},
{10, 10}})));
equation
connect(short.pin_n,plugToPins_n.pin_n) annotation (Line(
points = {
{10, 0},
{39, 0},
{39, 0},
{68, 0}},
color = {0, 127, 0}));
connect(plugToPins_p.pin_p,short.pin_p) annotation (Line(
points = {
{-68, 0},
{-10, 0}},
color = {85, 170, 255}));
annotation (
Icon(graphics = {
Rectangle(
extent = {
{-80, 80},
{80, -80}},
lineColor = {85, 170, 255},
fillColor = {255, 255, 255},
fillPattern = FillPattern.Solid),
Line(
points = {
{91, 0},
{-90, 0}},
color = {85, 170, 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>\nThis model describes <em>m</em> simple short branches considering the complex voltages <em><u>v</u></em> = 0;\nit uses <em>m</em> <a href=\"modelica://Modelica.Electrical.QuasiStationary.SinglePhase.Ideal.Short\">single phase short branches</a>.\n</p>\n\n<h4>See also</h4>\n<p>\n<a href=\"modelica://Modelica.Electrical.QuasiStationary.SinglePhase.Ideal.Short\">Short</a>,\n<a href=\"modelica://Modelica.Electrical.QuasiStationary.MultiPhase.Ideal.Idle\">Idle</a>\n</p>\n</html>"));
end Short;