connector PositivePin "Positive pin of an electrical component"
SI.ElectricPotential v "Potential at the pin"
annotation (unassignedMessage = "An electrical potential cannot be uniquely calculated.\nThe reason could be that\n- a ground object is missing (Modelica.Electrical.Analog.Basic.Ground)\n to define the zero potential of the electrical circuit, or\n- a connector of an electrical component is not connected.");
flow SI.Current i "Current flowing into the pin"
annotation (unassignedMessage = "An electrical current cannot be uniquely calculated.\nThe reason could be that\n- a ground object is missing (Modelica.Electrical.Analog.Basic.Ground)\n to define the zero potential of the electrical circuit, or\n- a connector of an electrical component is not connected.");
annotation (
defaultComponentName = "pin_p",
Documentation(
info = "<html>\n<p>Connectors PositivePin and NegativePin are nearly identical. The only difference is that the icons are different in order to identify more easily the pins of a component. Usually, connector PositivePin is used for the positive and connector NegativePin for the negative pin of an electrical component.</p>\n</html>",
revisions = "<html>\n<ul>\n<li><em> 1998 </em>\n by Christoph Clauss<br> initially implemented<br>\n </li>\n</ul>\n</html>"),
Icon(
coordinateSystem(
preserveAspectRatio = true,
extent = {
{-100, -100},
{100, 100}}),
graphics = {
Rectangle(
extent = {
{-100, 100},
{100, -100}},
lineColor = {0, 0, 255},
fillColor = {0, 0, 255},
fillPattern = FillPattern.Solid)}),
Diagram(
coordinateSystem(
preserveAspectRatio = true,
extent = {
{-100, -100},
{100, 100}}),
graphics = {
Rectangle(
extent = {
{-40, 40},
{40, -40}},
lineColor = {0, 0, 255},
fillColor = {0, 0, 255},
fillPattern = FillPattern.Solid),
Text(
extent = {
{-160, 110},
{40, 50}},
lineColor = {0, 0, 255},
textString = "%name")}));
end PositivePin;