Skip to content

Commit

Permalink
Revised the initial fix; power usage is included
Browse files Browse the repository at this point in the history
  • Loading branch information
Nigusse committed Aug 2, 2024
1 parent 94937f0 commit f806a91
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/EnergyPlus/PlantLoopHeatPumpEIR.cc
Original file line number Diff line number Diff line change
Expand Up @@ -486,10 +486,9 @@ void EIRPlantLoopHeatPump::calcAvailableCapacity(EnergyPlusData &state, Real64 c
}
}
if (this->heatRecoveryHeatPump) {
this->setPartLoadAndCyclingRatio(state, partLoadRatio);
this->calcLoadSideHeatTransfer(state, availableCapacity);
this->calcPowerUsage(state);
Real64 sourceSideHeatTransfer = this->calcQsource(this->loadSideHeatTransfer, this->powerUsage);
Real64 sourceSideHeatTransfer = this->calcQsource(availableCapacity * partLoadRatio, this->powerUsage);
// check to see if souce side outlet temp exceeds limit and reduce PLR if necessary
auto &thisSourcePlantLoop = state.dataPlnt->PlantLoop(this->sourceSidePlantLoc.loopNum);
Real64 const CpSrc = FluidProperties::GetSpecificHeatGlycol(state,
Expand Down

0 comments on commit f806a91

Please sign in to comment.