Skip to content

Commit 0683a25

Browse files
committed
Rename the examples to reflect the turbine usage
Since we now have a `SimpleValve` model a it seems better to emphasise when a turbine is part of the example.
1 parent e6d8465 commit 0683a25

File tree

5 files changed

+12
-10
lines changed

5 files changed

+12
-10
lines changed

OpenHPL/Examples/Detailed.mo

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
within OpenHPL.Examples;
2+
model DetailedTurbine "Hydropower system using KP scheme based penstock"
3+
extends SimpleTurbine(
4+
redeclare Waterway.PenstockKP penstock);
5+
annotation (experiment(StopTime=1000));
6+
end DetailedTurbine;

OpenHPL/Examples/SimpleGen.mo

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
within OpenHPL.Examples;
22
model SimpleGen "Model of a hydropower system with a simple turbine turbine and generator"
3-
extends Simple(turbine(
3+
extends SimpleTurbine(
4+
turbine(
45
enable_nomSpeed=false,
56
enable_P_out=true));
67
ElectroMech.Generators.SimpleGen simpleGen annotation (Placement(transformation(extent={{20,50},{40,70}})));
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
within OpenHPL.Examples;
2-
model Simple "Model of a hydropower system with a simple turbine turbine"
2+
model SimpleTurbine "Model of a hydropower system with a simple turbine turbine"
33
extends Modelica.Icons.Example;
44
OpenHPL.Waterway.Reservoir reservoir(h_0=10) annotation (Placement(transformation(
55
origin={-90,30},
@@ -47,4 +47,4 @@ equation
4747
connect(surgeTank.o, penstock.i) annotation (Line(points={{-20,30},{-10,30}}, color={28,108,200}));
4848
connect(discharge.o, tail.o) annotation (Line(points={{70,0},{80,0}}, color={28,108,200}));
4949
annotation (experiment(StopTime=1000));
50-
end Simple;
50+
end SimpleTurbine;

OpenHPL/Examples/package.order

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
BranchingPipes
22
SimpleValve
3-
Simple
3+
SimpleTurbine
44
SimpleGen
55
SimpleGenFrancis
6-
Detailed
6+
DetailedTurbine
77
DetailedGen
88
DetailedGenFrancis
99
PowerSystemSimple

0 commit comments

Comments
 (0)