Skip to content

Commit

Permalink
Adding the example description
Browse files Browse the repository at this point in the history
  • Loading branch information
Tin Rabuzin authored and dietmarw committed May 21, 2021
1 parent 2d9445d commit 303ab10
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion OpenIPSL/Examples/Solar/PowerFactory/DIgSILENT_PV.mo
@@ -1,6 +1,6 @@
within OpenIPSL.Examples.Solar.PowerFactory;

model DIgSILENT_PV
model DIgSILENT_PV "Voltage drop test of DIgSILENT_PV model"
extends Modelica.Icons.Example;
Modelica.Blocks.Sources.Step voltage(height = -0.05, offset = 1, startTime = 0.5) annotation(
Placement(visible = true, transformation(origin = {70, -20}, extent = {{10, -10}, {-10, 10}}, rotation = 0)));
Expand All @@ -19,4 +19,17 @@ equation
Line(points = {{60, -20}, {48, -20}, {48, -4}, {40, -4}}, color = {0, 0, 127}));
connect(voltage_source.f0, frequency.y) annotation(
Line(points = {{40, 4}, {50, 4}, {50, 30}, {60, 30}}, color = {0, 0, 127}));
annotation (
experiment(StopTime=10),Documentation(info="<html>
<p>
Simulate for 10 seconds.
</p>
<p>Variables of interest:</p>
<ul>
<li><code>pv_plant.generator.id_ref</code></code></li>
<li><code>pv_plant.generator.iq_ref</code></code></li>
<li><code>voltage_source.v</code></code></li>
<li><code>voltage_source.f0</code></code></li>
</ul>
</html>"));
end DIgSILENT_PV;

0 comments on commit 303ab10

Please sign in to comment.