From 633c08dc1b09123305ae26936342753816727c35 Mon Sep 17 00:00:00 2001 From: hcasperfu Date: Wed, 9 Aug 2023 12:56:36 -0700 Subject: [PATCH 1/3] set totPum.nin = numPum --- .../DHC/Plants/Cooling/Controls/ChilledWaterPumpSpeed.mo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Buildings/Experimental/DHC/Plants/Cooling/Controls/ChilledWaterPumpSpeed.mo b/Buildings/Experimental/DHC/Plants/Cooling/Controls/ChilledWaterPumpSpeed.mo index 5d676935407..e407b8b22c9 100644 --- a/Buildings/Experimental/DHC/Plants/Cooling/Controls/ChilledWaterPumpSpeed.mo +++ b/Buildings/Experimental/DHC/Plants/Cooling/Controls/ChilledWaterPumpSpeed.mo @@ -80,7 +80,7 @@ model ChilledWaterPumpSpeed annotation (Placement(transformation(extent={{-80,-50},{-60,-30}}))); Modelica.Blocks.Math.RealToBoolean twoPum(threshold=1.5) "Two pumps are on" annotation (Placement(transformation(extent={{10,-60},{-10,-40}}))); - Modelica.Blocks.Math.Sum totPum(nin=2) "Total number of pumps on" + Modelica.Blocks.Math.Sum totPum(final nin=numPum) "Total number of pumps on" annotation (Placement(transformation(extent={{42,-60},{22,-40}}))); Modelica.Blocks.Interfaces.BooleanInput on "On signal of the plant" From 5b09336aa00d6fed870cc12c64331939922208e7 Mon Sep 17 00:00:00 2001 From: hcasperfu Date: Wed, 9 Aug 2023 14:00:50 -0700 Subject: [PATCH 2/3] updated documentation and release notes --- .../Cooling/Controls/ChilledWaterPumpSpeed.mo | 16 +++++++++++++++- Buildings/package.mo | 12 ++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/Buildings/Experimental/DHC/Plants/Cooling/Controls/ChilledWaterPumpSpeed.mo b/Buildings/Experimental/DHC/Plants/Cooling/Controls/ChilledWaterPumpSpeed.mo index e407b8b22c9..fefb1d4d9ed 100644 --- a/Buildings/Experimental/DHC/Plants/Cooling/Controls/ChilledWaterPumpSpeed.mo +++ b/Buildings/Experimental/DHC/Plants/Cooling/Controls/ChilledWaterPumpSpeed.mo @@ -161,6 +161,20 @@ equation revisions="