From 25980d84f589599fc04f823a05b0d2d3f8693a85 Mon Sep 17 00:00:00 2001 From: Dietmar Winkler Date: Fri, 28 Jun 2024 13:51:35 +0200 Subject: [PATCH] Remove old model. --- OpenHPL/Examples/TainterGate3.mo | 42 -------------------------------- OpenHPL/Examples/package.order | 1 - 2 files changed, 43 deletions(-) delete mode 100644 OpenHPL/Examples/TainterGate3.mo diff --git a/OpenHPL/Examples/TainterGate3.mo b/OpenHPL/Examples/TainterGate3.mo deleted file mode 100644 index 21ab0c7..0000000 --- a/OpenHPL/Examples/TainterGate3.mo +++ /dev/null @@ -1,42 +0,0 @@ -within OpenHPL.Examples; -model TainterGate3 "Usage of the tainter gate" - extends Modelica.Icons.Example; - inner Data data(SteadyState = true, Vdot_0 = 75) annotation ( - Placement(transformation(extent = {{-100, 80}, {-80, 100}}))); - Modelica.Blocks.Sources.Ramp gateOpening( - height=0, - duration=1000, - offset=0.4, - startTime=500) annotation (Placement(transformation(extent={{-40,30},{-20,50}}))); - Waterway.Reservoir upstream( - h_0=5.6, - constantLevel=true, - L=10, - W=10) annotation (Placement(transformation(extent={{-40,-20},{-20,0}}))); - Waterway.Reservoir downstream( - h_0=2.8, - constantLevel=false, - useLevel=true, - L=10, - W=10) annotation (Placement(transformation( - extent={{-10,10},{10,-10}}, - rotation=180, - origin={30,-10}))); - Waterway.Gate tainterGate3_1( - sluice=true, - r=8.5, - h_h=5.55, - b=5.9) annotation (Placement(transformation(extent={{-10,-20},{10,0}}))); - Modelica.Blocks.Sources.Ramp downstream_level( - height=4, - duration=1000, - offset=0, - startTime=500) annotation (Placement(transformation(extent={{80,-20},{60,0}}))); -equation - connect(upstream.o, tainterGate3_1.i) annotation (Line(points={{-20,-10},{-10,-10}}, color={0,128,255})); - connect(tainterGate3_1.o, downstream.o) annotation (Line(points={{10,-10},{20,-10}}, color={0,128,255})); - connect(tainterGate3_1.a, gateOpening.y) annotation (Line(points={{0,2},{-2,2},{-2,42},{-19,42},{-19,40}}, color={0,0,127})); - connect(downstream.level, downstream_level.y) annotation (Line(points={{42,-4},{54,-4},{54,-10},{59,-10}}, color={0,0,127})); - annotation ( - experiment(StopTime=2000, Interval=0.4)); -end TainterGate3; diff --git a/OpenHPL/Examples/package.order b/OpenHPL/Examples/package.order index 7bb5e3b..9ecdaf2 100644 --- a/OpenHPL/Examples/package.order +++ b/OpenHPL/Examples/package.order @@ -9,4 +9,3 @@ PowerSystemSimple VolumeFlowSource Gate WithOpenIPSL -TainterGate3