Skip to content

Commit b2d922e

Browse files
committed
fix: Removes modifiers from protected parameters.
1 parent 56a2ed6 commit b2d922e

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

OpenHPL/Examples/Pipes.mo

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,17 @@ model Pipes "Example of contracting, contstant and expanding pipe diameters"
1515
D_i=0.8*Dn,
1616
D_o=1.2*Dn,
1717
H=0,
18-
L=1000,
19-
p_eps(displayUnit="mm") = 0) annotation (Placement(transformation(origin={0,20}, extent={{-10,-10},{10,10}})));
18+
L=1000) annotation (Placement(transformation(origin={0,20}, extent={{-10,-10},{10,10}})));
2019
OpenHPL.Waterway.Pipe pipeConstant(
2120
D_i=Dn,
2221
D_o=Dn,
2322
H=0,
24-
L=1000,
25-
p_eps(displayUnit="mm") = 0) annotation (Placement(transformation(extent={{-10,-10},{10,10}})));
23+
L=1000) annotation (Placement(transformation(extent={{-10,-10},{10,10}})));
2624
OpenHPL.Waterway.Pipe pipeContracting(
2725
D_i=1.2*Dn,
2826
D_o=0.8*Dn,
2927
H=0,
30-
L=1000,
31-
p_eps(displayUnit="mm") = 0) annotation (Placement(transformation(origin={0,-20}, extent={{-10,-10},{10,10}})));
28+
L=1000) annotation (Placement(transformation(origin={0,-20}, extent={{-10,-10},{10,10}})));
3229

3330
equation
3431
connect(Upstream.o, pipeExpanding.i) annotation (Line(points={{-40,0},{-28,0},{-28,20},{-10,20}}, color={0,128,255}));

0 commit comments

Comments
 (0)