Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/develop' into 7697_FanSystemMo…
Browse files Browse the repository at this point in the history
…del_IDD
  • Loading branch information
jmarrec committed Jan 27, 2020
2 parents b0dca2b + 588fe91 commit b77b3fa
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .decent_ci-Linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ compilers:
cmake_extra_flags: -DBUILD_FORTRAN=ON -DBUILD_TESTING:BOOL=ON -DENABLE_REGRESSION_TESTING:BOOL=OFF -DCOMMIT_SHA=$COMMIT_SHA -DENABLE_COVERAGE:BOOL=ON -DENABLE_GTEST_DEBUG_MODE:BOOL=OFF
coverage_enabled: true
coverage_base_dir: src/EnergyPlus
coverage_pass_limit: 68.4
coverage_warn_limit: 68.0
coverage_pass_limit: 68.0
coverage_warn_limit: 67.9
coverage_s3_bucket: energyplus
build_tag: IntegrationCoverage
ctest_filter: -R "integration.*"
Expand Down
23 changes: 20 additions & 3 deletions src/EnergyPlus/PlantCentralGSHP.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2037,9 +2037,20 @@ namespace PlantCentralGSHP {
ChillerEIRFT =
max(0.0, CurveManager::CurveValue(this->ChillerHeater(ChillerHeaterNum).ChillerEIRFTIDX, EvapOutletTemp, CondTempforCurve));
ChillerEIRFPLR = max(0.0, CurveManager::CurveValue(this->ChillerHeater(ChillerHeaterNum).ChillerEIRFPLRIDX, PartLoadRat));
CHPower = (AvailChillerCap / ReferenceCOP) * ChillerEIRFPLR * ChillerEIRFT * FRAC;

if (ReferenceCOP <= 0.0) {
CHPower = 0.0;
} else {
CHPower = (AvailChillerCap / ReferenceCOP) * ChillerEIRFPLR * ChillerEIRFT * FRAC;
}

QCondenser = CHPower * this->ChillerHeater(ChillerHeaterNum).OpenMotorEff + QEvaporator + ChillerFalseLoadRate;
ActualCOP = (QEvaporator + ChillerFalseLoadRate) / CHPower;

if (CHPower == 0.0) {
ActualCOP = 0.0;
} else {
ActualCOP = (QEvaporator + ChillerFalseLoadRate) / CHPower;
}

if (CondMassFlowRate > DataBranchAirLoopPlant::MassFlowTolerance) {
Cp = FluidProperties::GetSpecificHeatGlycol(DataPlant::PlantLoop(this->GLHELoopNum).FluidName,
Expand Down Expand Up @@ -2487,7 +2498,13 @@ namespace PlantCentralGSHP {
max(0.0, CurveManager::CurveValue(this->ChillerHeater(ChillerHeaterNum).ChillerEIRFTIDX, EvapOutletTemp, CondTempforCurve));
ChillerEIRFPLR = max(0.0, CurveManager::CurveValue(this->ChillerHeater(ChillerHeaterNum).ChillerEIRFPLRIDX, PartLoadRat));
CHPower = (AvailChillerCap / ReferenceCOP) * ChillerEIRFPLR * ChillerEIRFT * FRAC;
ActualCOP = (QEvaporator + ChillerFalseLoadRate) / CHPower;

if (CHPower <= 0.0) {
ActualCOP = 0.0;
} else {
ActualCOP = (QEvaporator + ChillerFalseLoadRate) / CHPower;
}

QCondenser = CHPower * this->ChillerHeater(ChillerHeaterNum).OpenMotorEff + QEvaporator + ChillerFalseLoadRate;

// Determine heating load for this heater and pass the remaining load to the next chiller heater
Expand Down
2 changes: 1 addition & 1 deletion src/EnergyPlus/SingleDuct.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4116,7 +4116,7 @@ namespace SingleDuct {
// na

// SUBROUTINE LOCAL VARIABLE DECLARATIONS:
Real64 MassFlow; // [kg/sec] Total Mass Flow Rate from Hot & Cold Inlets
Real64 MassFlow = 0; // [kg/sec] Total Mass Flow Rate from Hot & Cold Inlets
Real64 QTotLoad; // [Watts]
// unused REAL(r64) :: QZnReq ! [Watts]
Real64 CpAirZn;
Expand Down

7 comments on commit b77b3fa

@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.

7697_FanSystemModel_IDD (jmarrec) - x86_64-Linux-Ubuntu-18.04-custom_check: OK (11 of 11 tests passed, 0 test warnings)

Build 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.

7697_FanSystemModel_IDD (jmarrec) - x86_64-Linux-Ubuntu-18.04-cppcheck: OK (0 of 0 tests passed, 0 test warnings)

Build 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.

7697_FanSystemModel_IDD (jmarrec) - x86_64-Linux-Ubuntu-18.04-gcc-7.4: OK (2657 of 2657 tests passed, 0 test warnings)

Build Badge Test Badge

@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.

7697_FanSystemModel_IDD (jmarrec) - x86_64-Linux-Ubuntu-18.04-gcc-7.4-UnitTestsCoverage-Debug: OK (1269 of 1269 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.

7697_FanSystemModel_IDD (jmarrec) - x86_64-Linux-Ubuntu-18.04-gcc-7.4-IntegrationCoverage-Debug: OK (677 of 678 tests passed, 0 test warnings)

Failures:\n

integration Test Summary

  • Passed: 677
  • Timeout: 1

Build Badge Test Badge Coverage 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.

7697_FanSystemModel_IDD (jmarrec) - Win64-Windows-10-VisualStudio-16: OK (2617 of 2617 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.

7697_FanSystemModel_IDD (jmarrec) - x86_64-MacOS-10.13-clang: OK (2617 of 2617 tests passed, 0 test warnings)

Build Badge Test Badge

Please sign in to comment.