From 6d57a353a386cb6d51c9151639d19bf58ff83ffa Mon Sep 17 00:00:00 2001 From: Amir Roth Date: Thu, 9 Jan 2025 16:14:50 -0500 Subject: [PATCH] Fix issue discovered during FluidAPI refactor --- src/EnergyPlus/IceThermalStorage.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/EnergyPlus/IceThermalStorage.cc b/src/EnergyPlus/IceThermalStorage.cc index b10e655636b..c11453650b7 100644 --- a/src/EnergyPlus/IceThermalStorage.cc +++ b/src/EnergyPlus/IceThermalStorage.cc @@ -1676,9 +1676,8 @@ namespace IceThermalStorage { //---------------------------- int loopNum = this->plantLoc.loopNum; - // BUG? I think this is supposed to be getSpecificHeat, not getDensity Real64 CpFluid = - state.dataPlnt->PlantLoop(loopNum).glycol->getDensity(state, state.dataLoopNodes->Node(this->PltInletNodeNum).Temp, RoutineName); + state.dataPlnt->PlantLoop(loopNum).glycol->getSpecificHeat(state, state.dataLoopNodes->Node(this->PltInletNodeNum).Temp, RoutineName); // Calculate Umyload based on MyLoad from E+ Real64 Umyload = -myLoad * TimeInterval / this->ITSNomCap;