Skip to content

Commit 7756bac

Browse files
committed
Make PwLine use the new p and n pins
WIth this commit positive and negative pins will get different visual appearance, in compiance with that is done thoughout the Modelica Standard Library. The positive pin is now blue-filled the negative one is white-filled.
1 parent dc40a77 commit 7756bac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

OpenIPSL/Electrical/Branches/PwLine.mo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ model PwLine "Model for a transmission Line based on the pi-equivalent circuit"
55
import Modelica.ComplexMath.real;
66
import Modelica.ComplexMath.imag;
77
import Modelica.ComplexMath.j;
8-
OpenIPSL.Interfaces.PwPin p annotation (Placement(transformation(extent={{-100,
8+
OpenIPSL.Interfaces.PwPin_p p annotation (Placement(transformation(extent={{-100,
99
-10},{-80,10}}), iconTransformation(extent={{-100,-10},{-80,10}})));
10-
OpenIPSL.Interfaces.PwPin n annotation (Placement(transformation(extent={{80,
10+
OpenIPSL.Interfaces.PwPin_n n annotation (Placement(transformation(extent={{80,
1111
-10},{100,10}}), iconTransformation(extent={{80,-10},{100,10}})));
1212
parameter Types.PerUnit R "Resistance"
1313
annotation (Dialog(group="Line parameters"));

0 commit comments

Comments
 (0)