From f8234932c984255b3e173aecdfbb3737393bd96e Mon Sep 17 00:00:00 2001 From: Julien Marrec Date: Tue, 17 Dec 2024 12:55:13 +0100 Subject: [PATCH] #10857 - Fix SingleHeating/SingleCooling: schedule reported the opposite --- src/EnergyPlus/ZoneTempPredictorCorrector.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/EnergyPlus/ZoneTempPredictorCorrector.cc b/src/EnergyPlus/ZoneTempPredictorCorrector.cc index 445bccd323f..fcfb0dd8e58 100644 --- a/src/EnergyPlus/ZoneTempPredictorCorrector.cc +++ b/src/EnergyPlus/ZoneTempPredictorCorrector.cc @@ -7043,11 +7043,11 @@ void FillPredefinedTableOnThermostatSchedules(EnergyPlusData &state) break; case HVAC::ThermostatType::SingleCooling: PreDefTableEntry( - state, orp->pdchStatSchdHeatName, tcz.ZoneName, ScheduleManager::GetScheduleName(state, tcz.SchIndx_SingleCoolSetPoint)); + state, orp->pdchStatSchdCoolName, tcz.ZoneName, ScheduleManager::GetScheduleName(state, tcz.SchIndx_SingleCoolSetPoint)); break; case HVAC::ThermostatType::SingleHeating: PreDefTableEntry( - state, orp->pdchStatSchdCoolName, tcz.ZoneName, ScheduleManager::GetScheduleName(state, tcz.SchIndx_SingleHeatSetPoint)); + state, orp->pdchStatSchdHeatName, tcz.ZoneName, ScheduleManager::GetScheduleName(state, tcz.SchIndx_SingleHeatSetPoint)); break; } }