From f472e96ac9b2188de62330fdc603ec5f3fb45779 Mon Sep 17 00:00:00 2001 From: Julien Marrec Date: Mon, 19 Aug 2024 18:30:30 +0200 Subject: [PATCH] Fix existing logic error related to Cooling Capacity sizing --- src/EnergyPlus/WindowAC.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EnergyPlus/WindowAC.cc b/src/EnergyPlus/WindowAC.cc index de437978e55..585cfc90d8e 100644 --- a/src/EnergyPlus/WindowAC.cc +++ b/src/EnergyPlus/WindowAC.cc @@ -1011,7 +1011,7 @@ namespace WindowAC { zoneEqSizing.SizingMethod(SizingMethod) = CapSizingMethod; if (CapSizingMethod == CoolingDesignCapacity || CapSizingMethod == CapacityPerFloorArea || CapSizingMethod == FractionOfAutosizedCoolingCapacity) { - if (CapSizingMethod == HeatingDesignCapacity) { + if (CapSizingMethod == CoolingDesignCapacity) { if (zoneHVACSizing.ScaledCoolingCapacity > 0.0) { zoneEqSizing.CoolingCapacity = true; zoneEqSizing.DesCoolingLoad = zoneHVACSizing.ScaledCoolingCapacity;