model Short "Short cut branch"
extends FluxTubes.Interfaces.PartialTwoPortsElementary;
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, 50},
{150, 90}},
lineColor = {0, 0, 255},
textString = "%name")}),
Documentation(
info = "<html>\n<p>\nThis is a simple short cut branch.\n</p>\n\n</html>",
revisions = "<html>\n<h5>Version 3.2.2, 2014-01-15 (Christian Kral)</h5>\n<ul>\n<li>Added short model</li>\n</ul>\n\n</html>"));
end Short;