From 748b978922eaf81e1e3d96bdcc6fe9a92087a390 Mon Sep 17 00:00:00 2001 From: mjwitte Date: Thu, 10 Oct 2019 16:49:32 -0500 Subject: [PATCH] Remove AirTerminal:SingleDuct:Uncontrolled - fix system sizing and other cleanup --- src/EnergyPlus/MixedAir.cc | 1 + src/EnergyPlus/SingleDuct.cc | 4 ++-- src/EnergyPlus/SizingManager.cc | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/EnergyPlus/MixedAir.cc b/src/EnergyPlus/MixedAir.cc index dcdc87e60d0..2b5f76a941b 100644 --- a/src/EnergyPlus/MixedAir.cc +++ b/src/EnergyPlus/MixedAir.cc @@ -1892,6 +1892,7 @@ namespace MixedAir { if (UtilityRoutines::SameString(ZoneEquipList(EquipListNum).EquipName(EquipNum), AirDistUnit(ADUNum).Name)) { if ((AirDistUnit(ADUNum).EquipType_Num(EquipNum) == SingleDuctVAVReheat) || + (AirDistUnit(ADUNum).EquipType_Num(EquipNum) == SingleDuctConstVolNoReheat) || (AirDistUnit(ADUNum).EquipType_Num(EquipNum) == SingleDuctConstVolReheat) || (AirDistUnit(ADUNum).EquipType_Num(EquipNum) == SingleDuctVAVNoReheat) || (AirDistUnit(ADUNum).EquipType_Num(EquipNum) == SingleDuctVAVReheatVSFan) || diff --git a/src/EnergyPlus/SingleDuct.cc b/src/EnergyPlus/SingleDuct.cc index 90b3d08f4c2..0c9efe3b1e2 100644 --- a/src/EnergyPlus/SingleDuct.cc +++ b/src/EnergyPlus/SingleDuct.cc @@ -1057,7 +1057,7 @@ namespace SingleDuct { } Sys(SysNum).ReheatAirOutletNode = Sys(SysNum).OutletNodeNum; Sys(SysNum).MaxAirVolFlowRate = Numbers(1); - Sys(SysNum).ZoneMinAirFrac = 0.0; + Sys(SysNum).ZoneMinAirFrac = 1.0; Sys(SysNum).ZoneMinAirFracMethod = MinFracNotUsed; Sys(SysNum).DamperHeatingAction = HeatingActionNotUsed; if (Sys(SysNum).ReheatComp_Num == HCoilType_SteamAirHeating) { @@ -1197,7 +1197,7 @@ namespace SingleDuct { cAlphaFields(4)); Sys(SysNum).MaxAirVolFlowRate = Numbers(1); - Sys(SysNum).ZoneMinAirFrac = 0.0; + Sys(SysNum).ZoneMinAirFrac = 1.0; Sys(SysNum).ZoneMinAirFracMethod = MinFracNotUsed; Sys(SysNum).DamperHeatingAction = HeatingActionNotUsed; diff --git a/src/EnergyPlus/SizingManager.cc b/src/EnergyPlus/SizingManager.cc index ecf0eac74fa..4ff0edd019f 100644 --- a/src/EnergyPlus/SizingManager.cc +++ b/src/EnergyPlus/SizingManager.cc @@ -899,7 +899,8 @@ namespace SizingManager { DataSizing::VpzClgByZone(termUnitSizingIndex) = SingleDuct::Sys(singleDuctATUNum).MaxAirVolFlowRate; // store std 62.1 values - if (SingleDuct::Sys(singleDuctATUNum).SysType_Num == SingleDuct::SingleDuctConstVolReheat) { + if (SingleDuct::Sys(singleDuctATUNum).SysType_Num == SingleDuct::SingleDuctConstVolReheat || + SingleDuct::Sys(singleDuctATUNum).SysType_Num == SingleDuct::SingleDuctConstVolNoReheat) { airLoopHeatingMinimumFlowRateSum += SingleDuct::Sys(singleDuctATUNum).MaxAirVolFlowRate; airLoopHeatingMaximumFlowRateSum += SingleDuct::Sys(singleDuctATUNum).MaxAirVolFlowRate;