From 11cb52499fd8ede035d4b92af9c9b32bd0d00944 Mon Sep 17 00:00:00 2001 From: jelgerjansen Date: Mon, 18 Sep 2023 15:54:58 +0200 Subject: [PATCH] Make the connector between the constant and heater conditional again --- IBPSA/Examples/Tutorial/SimpleHouse/SimpleHouse4.mo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IBPSA/Examples/Tutorial/SimpleHouse/SimpleHouse4.mo b/IBPSA/Examples/Tutorial/SimpleHouse/SimpleHouse4.mo index 6f63671e28..fa91f607a3 100644 --- a/IBPSA/Examples/Tutorial/SimpleHouse/SimpleHouse4.mo +++ b/IBPSA/Examples/Tutorial/SimpleHouse/SimpleHouse4.mo @@ -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),