HeatPort_b

connector HeatPort_b "Thermal port for 1-dim. heat transfer (unfilled rectangular icon)"
    extends HeatPort;

    annotation (
        defaultComponentName = "port_b",
        Documentation(info = "<html>\n<p>This connector is used for 1-dimensional heat flow between components.\nThe variables in the connector are:</p>\n<pre>\n   T       Temperature in [Kelvin].\n   Q_flow  Heat flow rate in [Watt].\n</pre>\n<p>According to the Modelica sign convention, a <strong>positive</strong> heat flow\nrate <strong>Q_flow</strong> is considered to flow <strong>into</strong> a component. This\nconvention has to be used whenever this connector is used in a model\nclass.</p>\n<p>Note, that the two connector classes <strong>HeatPort_a</strong> and\n<strong>HeatPort_b</strong> are identical with the only exception of the different\n<strong>icon layout</strong>.</p></html>"),
        Diagram(
            coordinateSystem(
                preserveAspectRatio = true,
                extent = {
                    {-100, -100}, 
                    {100, 100}}),
            graphics = {
                Rectangle(
                    extent = {
                        {-50, 50}, 
                        {50, -50}},
                    lineColor = {191, 0, 0},
                    fillColor = {255, 255, 255},
                    fillPattern = FillPattern.Solid), 
                Text(
                    extent = {
                        {-100, 120}, 
                        {120, 60}},
                    lineColor = {191, 0, 0},
                    textString = "%name")}),
        Icon(
            coordinateSystem(
                preserveAspectRatio = true,
                extent = {
                    {-100, -100}, 
                    {100, 100}}),
            graphics = {
                Rectangle(
                    extent = {
                        {-100, 100}, 
                        {100, -100}},
                    lineColor = {191, 0, 0},
                    fillColor = {255, 255, 255},
                    fillPattern = FillPattern.Solid)}));
end HeatPort_b;