Skip to content

Commit b0a3697

Browse files
committed
Added outer SystemBase references and removed self-connect.
This was forgotten in OpenIPSL#322
1 parent b432c51 commit b0a3697

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

OpenIPSL/Electrical/Solar/PSAT/ConstantPQPV/PQ1.mo

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
within OpenIPSL.Electrical.Solar.PSAT.ConstantPQPV;
22
model PQ1 "Constant PQ Generator, Solar Photo-Voltaic Generator"
3+
outer OpenIPSL.Electrical.SystemBase SysData "Use outer SystemBase record";
34
OpenIPSL.Interfaces.PwPin p
45
annotation (Placement(transformation(extent={{100,-10},{120,10}})));
56
parameter Types.ApparentPower S_b=SysData.S_b "System base power"

OpenIPSL/Electrical/Solar/PSAT/ConstantPQPV/PV1.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
within OpenIPSL.Electrical.Solar.PSAT.ConstantPQPV;
22
model PV1 "Constant PV Generator, Solar Photo-Voltaic Generator"
3+
outer OpenIPSL.Electrical.SystemBase SysData "Use outer SystemBase record";
34
OpenIPSL.Interfaces.PwPin p
45
annotation (Placement(transformation(extent={{100,-10},{120,10}})));
56
parameter Types.ApparentPower S_b=SysData.S_b "System base power"
@@ -53,7 +54,6 @@ equation
5354
p.ii = id "change of sign due to the fact than in modelica when entering is + and in this case is going out";
5455
p.vr = vq;
5556
p.vi = -vd;
56-
connect(p, p) annotation (Line(points={{110,0},{110,0},{110,0}}, color={0,0,255}));
5757
annotation (
5858
Icon(coordinateSystem(preserveAspectRatio=true),
5959
graphics={Text(

0 commit comments

Comments
 (0)