Skip to content

Commit 802235c

Browse files
ceraolodietmarw
authored andcommitted
Make TwoWindingTransformer use the new p and n pin
Prior to this commit, positive and negative pins had the same appearence. Their meaning is however dfifferent since their voltages and currents are different. Now the positive pin will be blue-fitted, and the negative pin white fitted in compliance with that is done throughout the Modelica Standard Library.
1 parent 7756bac commit 802235c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

OpenIPSL/Electrical/Branches/PSAT/TwoWindingTransformer.mo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ model TwoWindingTransformer "Modeled as series reactances without iron losses"
55
import Modelica.ComplexMath.real;
66
import Modelica.ComplexMath.imag;
77
import Modelica.ComplexMath.j;
8-
OpenIPSL.Interfaces.PwPin p
8+
OpenIPSL.Interfaces.PwPin_p p
99
annotation (Placement(transformation(extent={{-120,-10},{-100,10}})));
10-
OpenIPSL.Interfaces.PwPin n
10+
OpenIPSL.Interfaces.PwPin_n n
1111
annotation (Placement(transformation(extent={{100,-10},{120,10}})));
1212
parameter Types.ApparentPower S_b=SysData.S_b "System base power"
1313
annotation (Dialog(group="Power flow"));

0 commit comments

Comments
 (0)