Skip to content

Commit

Permalink
Syntax clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
dietmarw committed Jun 28, 2024
1 parent 633bb67 commit 6d376e4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions OpenHPL/Waterway/Valve.mo
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
within OpenHPL.Waterway;
model Valve "Simple hydraulic valve"
extends ElectroMech.BaseClasses.BaseValve;

extends Icons.Valve;
extends Icons.Valve;

Modelica.Blocks.Interfaces.RealInput opening(min=0, max=1)
"=1: completely open, =0: completely closed"
Expand All @@ -14,8 +13,6 @@ model Valve "Simple hydraulic valve"
rotation=270,
origin={0,80})));
equation


connect(opening, u) annotation (Line(points={{0,120},{0,70}}, color={0,0,127}));
annotation (
Documentation(info="<html><p>
Expand Down

0 comments on commit 6d376e4

Please sign in to comment.