@@ -16,12 +16,14 @@ model OpenChannel "Model of a hydropower system with open channel model"
1616 annotation (Placement(transformation(
1717 origin={-90,90},
1818 extent={{-10,-10},{10,10}})));
19- OpenHPL.Waterway.OpenChannel openChannel(N= 10 , H= {0 ,0 }) annotation (Placement(transformation(extent={{-10,-10},{10,10}})));
19+ OpenHPL.Waterway.OpenChannel openChannel(
20+ H_i= 2 ,
21+ useSections= true , N= 10 ) annotation (Placement(transformation(extent={{-10,-10},{10,10}})));
2022 OpenHPL.Waterway.Pipe pipe(H= 0 , L= 10 ) annotation (Placement(transformation(extent={{20,-10},{40,10}})));
2123equation
2224 connect (discharge.o, openChannel.i) annotation (Line(points={{-20,0},{-10,0}}, color={0,128,255}));
2325 connect (openChannel.o, pipe.i) annotation (Line(points={{10,0},{20,0}}, color={0,128,255}));
2426 connect (reservoir.o, discharge.i) annotation (Line(points={{-60,0},{-40,0}}, color={0,128,255}));
2527 connect (pipe.o, tail.o) annotation (Line(points={{40,0},{60,0}}, color={0,128,255}));
26- annotation (experiment(StopTime=1000 ));
28+ annotation (experiment(StopTime=10000 ));
2729end OpenChannel;
0 commit comments