connector HeatPort_a "Thermal port for 1-dim. heat transfer (filled rectangular icon)"
extends HeatPort;
annotation (
defaultComponentName = "port_a",
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>"),
Icon(
coordinateSystem(
preserveAspectRatio = true,
extent = {
{-100, -100},
{100, 100}}),
graphics = {
Rectangle(
extent = {
{-100, 100},
{100, -100}},
lineColor = {191, 0, 0},
fillColor = {191, 0, 0},
fillPattern = FillPattern.Solid)}),
Diagram(
coordinateSystem(
preserveAspectRatio = true,
extent = {
{-100, -100},
{100, 100}}),
graphics = {
Rectangle(
extent = {
{-50, 50},
{50, -50}},
lineColor = {191, 0, 0},
fillColor = {191, 0, 0},
fillPattern = FillPattern.Solid),
Text(
extent = {
{-120, 120},
{100, 60}},
lineColor = {191, 0, 0},
textString = "%name")}));
end HeatPort_a;