Skip to content

Commit

Permalink
Follow Modelica naming conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
dietmarw committed Nov 14, 2024
1 parent a6cbfb6 commit 1329cd6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
within OpenIPSL.Electrical.Solar.PowerFactory.WECC.PVD1;
model Plant_PVD1
model PlantPVD1
extends OpenIPSL.Electrical.Essentials.pfComponent(
final enabledisplayPF=false,
final enablefn=true,
Expand Down Expand Up @@ -86,4 +86,4 @@ equation
lineColor={0,0,255},
extent={{-100,150},{100,110}},
textString="%name")}));
end Plant_PVD1;
end PlantPVD1;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Plant_PVD1
PlantPVD1
Controller
GenerationTripping
PQPriority
4 changes: 2 additions & 2 deletions OpenIPSL/Tests/Solar/PowerFactory/PVD1.mo
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ model PVD1
origin={30,0},
extent={{10,-10},{-10,10}},
rotation=0)));
Electrical.Solar.PowerFactory.WECC.PVD1.Plant_PVD1 pvd1_plant(
Electrical.Solar.PowerFactory.WECC.PVD1.PlantPVD1 plantPVD1(
M_b(displayUnit="V.A") = 0.5e6,
P_0=300000,
Q_0=100000) annotation (Placement(visible=true, transformation(
Expand All @@ -33,7 +33,7 @@ model PVD1
equation
connect(voltage.y, elmVac.v) annotation (Line(points={{59,-20},{50,-20},{50,-6},{40.4,-6},{40.4,-4}}, color={0,0,127}));
connect(frequency.y, elmVac.f0) annotation (Line(points={{59,30},{50,30},{50,6},{40.4,6},{40.4,4}}, color={0,0,127}));
connect(pvd1_plant.p, elmVac.p) annotation (Line(points={{-19,0},{18,0},{18,0},{19,0}}, color={0,0,255}));
connect(plantPVD1.p, elmVac.p) annotation (Line(points={{-19,0},{18,0},{18,0},{19,0}}, color={0,0,255}));
annotation (experiment(
StartTime=0,
StopTime=2,
Expand Down

0 comments on commit 1329cd6

Please sign in to comment.