From 61760edf1da6e5939f74c3e6398c869a3b66459f Mon Sep 17 00:00:00 2001 From: Yujie Xu Date: Fri, 20 Sep 2024 14:35:15 -0700 Subject: [PATCH] move defrost RTF adjust out of the if block so that when the outdoor conditions cause a non-zero defrost power, AND the system if off, defrost power would be set to zero. --- src/EnergyPlus/HVACVariableRefrigerantFlow.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/EnergyPlus/HVACVariableRefrigerantFlow.cc b/src/EnergyPlus/HVACVariableRefrigerantFlow.cc index a9587d0b925..2f50cf1e412 100644 --- a/src/EnergyPlus/HVACVariableRefrigerantFlow.cc +++ b/src/EnergyPlus/HVACVariableRefrigerantFlow.cc @@ -1192,10 +1192,9 @@ void CalcVRFCondenser(EnergyPlusData &state, int const VRFCond) vrf.ElecHeatingPower = (vrf.RatedHeatingPower * TotHeatCapTempModFac) * TotHeatEIRTempModFac * EIRFPLRModFac * HREIRAdjustment * VRFRTF * InputPowerMultiplier; - - // adjust defrost power based on heating RTF - vrf.DefrostPower *= VRFRTF; } + // adjust defrost power based on RTF + vrf.DefrostPower *= VRFRTF; vrf.VRFCondRTF = VRFRTF; // calculate crankcase heater power