Skip to content

Commit

Permalink
cleanup function argument for error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Nigusse committed Jul 29, 2024
1 parent ebe1e6c commit cf5ba5b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/EnergyPlus/PlantLoopHeatPumpEIR.cc
Original file line number Diff line number Diff line change
Expand Up @@ -490,11 +490,13 @@ void EIRPlantLoopHeatPump::calcAvailableCapacity(EnergyPlusData &state, Real64 c
this->calcLoadSideHeatTransfer(state, availableCapacity);
this->calcPowerUsage(state);
Real64 sourceSideHeatTransfer = this->loadSideHeatTransfer + 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, thisSourcePlantLoop.FluidName, this->sourceSideInletTemp, thisSourcePlantLoop.FluidIndex, "EIRPlantLoopHeatPump::doPhysics()");
Real64 const CpSrc = FluidProperties::GetSpecificHeatGlycol(state,
thisSourcePlantLoop.FluidName,
this->sourceSideInletTemp,
thisSourcePlantLoop.FluidIndex,
"EIRPlantLoopHeatPump::calcLoadSideHeatTransfer()");
Real64 const sourceMCp = this->sourceSideMassFlowRate * CpSrc;
Real64 const tempSourceOutletTemp = this->calcSourceOutletTemp(this->sourceSideInletTemp, sourceSideHeatTransfer / sourceMCp);
if (this->EIRHPType == DataPlant::PlantEquipmentType::HeatPumpEIRHeating && tempSourceOutletTemp < this->minSourceTempLimit) {
Expand Down

5 comments on commit cf5ba5b

@nrel-bot-2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue10626_EIR_ashp_tempLimit (Nigusse) - x86_64-Linux-Ubuntu-22.04-gcc-11.4: OK (3694 of 3695 tests passed, 0 test warnings)

Messages:\n

  • 1 test had: EIO diffs.
  • 1 test had: ESO big diffs.

Failures:\n

regression Test Summary

  • Passed: 810
  • Failed: 1

Build Badge Test Badge

@nrel-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue10626_EIR_ashp_tempLimit (Nigusse) - Win64-Windows-10-VisualStudio-16: OK (2862 of 2862 tests passed, 0 test warnings)

Build Badge Test Badge

@nrel-bot-3
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue10626_EIR_ashp_tempLimit (Nigusse) - x86_64-MacOS-10.18-clang-15.0.0: OK (3653 of 3654 tests passed, 0 test warnings)

Messages:\n

  • 1 test had: EIO diffs.
  • 1 test had: ESO big diffs.

Failures:\n

regression Test Summary

  • Passed: 790
  • Failed: 1

Build Badge Test Badge

@nrel-bot-2b
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue10626_EIR_ashp_tempLimit (Nigusse) - x86_64-Linux-Ubuntu-22.04-gcc-11.4-IntegrationCoverage-Debug: OK (795 of 795 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

@nrel-bot-2c
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue10626_EIR_ashp_tempLimit (Nigusse) - x86_64-Linux-Ubuntu-22.04-gcc-11.4-UnitTestsCoverage-Debug: OK (2070 of 2070 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

Please sign in to comment.