File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -12497,8 +12497,17 @@ void VRFCondenserEquipment::CalcVRFCondenser_FluidTCtrl(EnergyPlusData &state)
12497
12497
auto &thisTUList = state.dataHVACVarRefFlow->TerminalUnitList(TUListNum);
12498
12498
for (int TUNum = 1; TUNum <= thisTUList.NumTUInList; ++TUNum) {
12499
12499
auto &fan = state.dataFans->Fan(state.dataHVACVarRefFlow->VRFTU(TUNum).FanIndex);
12500
- fan.FanPower *= state.dataHVACVarRefFlow->VRF(VRFCond).VRFCondCyclingRatio;
12501
- fan.FanEnergy = fan.FanPower * state.dataHVACGlobal->TimeStepSysSec;
12500
+ int heatingCoilNum = state.dataHVACVarRefFlow->VRFTU(TUNum).HeatCoilIndex;
12501
+ int coolingCoilNum = state.dataHVACVarRefFlow->VRFTU(TUNum).CoolCoilIndex;
12502
+ auto &heatingCoil = state.dataDXCoils->DXCoil(heatingCoilNum);
12503
+ auto &coolingCoil = state.dataDXCoils->DXCoil(coolingCoilNum);
12504
+ // only deal with cooling for now. heating RTF might have some issue
12505
+ if (heatingCoil.HeatingCoilRuntimeFraction == 0.0) { // in cooling mode
12506
+ // here coolingCoil.CoolingCoilRuntimeFraction equals state.dataHVACVarRefFlow->VRF(VRFCond).VRFCondCyclingRatio
12507
+ // this is not the case for heating
12508
+ fan.FanPower *= coolingCoil.CoolingCoilRuntimeFraction;
12509
+ fan.FanEnergy = fan.FanPower * state.dataHVACGlobal->TimeStepSysSec;
12510
+ }
12502
12511
}
12503
12512
}
12504
12513
You can’t perform that action at this time.
0 commit comments