model Short "Short cut branch"
extends Modelica.Magnetic.FundamentalWave.Interfaces.PartialTwoPort;
equation
connect(port_p,port_n) annotation (Line(
points = {
{-100, 0},
{-1, 0},
{-1, 0},
{100, 0}},
color = {255, 128, 0}));
annotation (
Icon(
coordinateSystem(
preserveAspectRatio = false,
extent = {
{-100, -100},
{100, 100}}),
graphics = {
Line(
points = {
{-100, 0},
{100, 0}},
color = {255, 128, 0}),
Text(
extent = {
{-150, 20},
{150, 60}},
lineColor = {0, 0, 255},
textString = "%name")}),
Documentation(info = "<html>\n<p>\nThis is a simple short cut branch.\n</p>\n\n<h4>See also</h4>\n<p>\n<a href=\"modelica://Modelica.Magnetic.FundamentalWave.Components.Idle\">Idle</a>,\n<a href=\"modelica://Modelica.Magnetic.FundamentalWave.Components.Crossing\">Crossing</a>\n</p>\n\n</html>"));
end Short;