Skip to content

Commit 1329cd6

Browse files
committed
Follow Modelica naming conventions
1 parent a6cbfb6 commit 1329cd6

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

OpenIPSL/Electrical/Solar/PowerFactory/WECC/PVD1/Plant_PVD1.mo renamed to OpenIPSL/Electrical/Solar/PowerFactory/WECC/PVD1/PlantPVD1.mo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
within OpenIPSL.Electrical.Solar.PowerFactory.WECC.PVD1;
2-
model Plant_PVD1
2+
model PlantPVD1
33
extends OpenIPSL.Electrical.Essentials.pfComponent(
44
final enabledisplayPF=false,
55
final enablefn=true,
@@ -86,4 +86,4 @@ equation
8686
lineColor={0,0,255},
8787
extent={{-100,150},{100,110}},
8888
textString="%name")}));
89-
end Plant_PVD1;
89+
end PlantPVD1;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Plant_PVD1
1+
PlantPVD1
22
Controller
33
GenerationTripping
44
PQPriority

OpenIPSL/Tests/Solar/PowerFactory/PVD1.mo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ model PVD1
1919
origin={30,0},
2020
extent={{10,-10},{-10,10}},
2121
rotation=0)));
22-
Electrical.Solar.PowerFactory.WECC.PVD1.Plant_PVD1 pvd1_plant(
22+
Electrical.Solar.PowerFactory.WECC.PVD1.PlantPVD1 plantPVD1(
2323
M_b(displayUnit="V.A") = 0.5e6,
2424
P_0=300000,
2525
Q_0=100000) annotation (Placement(visible=true, transformation(
@@ -33,7 +33,7 @@ model PVD1
3333
equation
3434
connect(voltage.y, elmVac.v) annotation (Line(points={{59,-20},{50,-20},{50,-6},{40.4,-6},{40.4,-4}}, color={0,0,127}));
3535
connect(frequency.y, elmVac.f0) annotation (Line(points={{59,30},{50,30},{50,6},{40.4,6},{40.4,4}}, color={0,0,127}));
36-
connect(pvd1_plant.p, elmVac.p) annotation (Line(points={{-19,0},{18,0},{18,0},{19,0}}, color={0,0,255}));
36+
connect(plantPVD1.p, elmVac.p) annotation (Line(points={{-19,0},{18,0},{18,0},{19,0}}, color={0,0,255}));
3737
annotation (experiment(
3838
StartTime=0,
3939
StopTime=2,

0 commit comments

Comments
 (0)