Skip to content

Commit

Permalink
Make the connector between the constant and heater conditional again
Browse files Browse the repository at this point in the history
  • Loading branch information
jelgerjansen committed Sep 18, 2023
1 parent 6e96fd5 commit 11cb524
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions IBPSA/Examples/Tutorial/SimpleHouse/SimpleHouse4.mo
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ equation
connect(rad.heatPortRad, walCap.port) annotation (Line(points={{152,-122.8},{152,
1.77636e-15},{160,1.77636e-15}}, color={191,0,0}));
if use_constantHeater then
connect(conHea.y, heaWat.u) annotation (Line(points={{59,-100},{40,-100},{40,-124},
{58,-124}}, color={0,0,127}));
end if;
connect(bouWat.ports[1], pum.port_b)
annotation (Line(points={{30,-180},{140,-180}},color={0,127,255}));
connect(conHea.y, heaWat.u) annotation (Line(points={{59,-100},{40,-100},{40,-124},
{58,-124}}, color={0,0,127}));
annotation (Diagram(coordinateSystem(preserveAspectRatio=false, extent={{-220,
-220},{220,220}})),
experiment(Tolerance=1e-6, StopTime=1e+06),
Expand Down

0 comments on commit 11cb524

Please sign in to comment.