Skip to content

Commit 7b30ac4

Browse files
author
Yujie Xu
committedSep 5, 2024·
fix unit test and clang-format
1 parent 0b9e1ff commit 7b30ac4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎src/EnergyPlus/HVACVariableRefrigerantFlow.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -11499,8 +11499,8 @@ void VRFCondenserEquipment::CalcVRFCondenser_FluidTCtrl(EnergyPlusData &state)
1149911499
this->PipingCorrectionCooling = TU_CoolingLoad / (TU_CoolingLoad + Pipe_Q_c);
1150011500
state.dataHVACVarRefFlow->MaxCoolingCapacity(VRFCond) = this->CoolingCapacity; // for report, maximum evaporating capacity of the system
1150111501

11502-
this->HeatingCapacity = 0.0; // Include the piping loss
11503-
this->PipingCorrectionHeating = 1.0; // 1 means no piping loss
11502+
this->HeatingCapacity = 0.0; // Include the piping loss
11503+
this->PipingCorrectionHeating = 1.0; // 1 means no piping loss
1150411504
state.dataHVACVarRefFlow->MaxHeatingCapacity(VRFCond) = Constant::MaxCap;
1150511505

1150611506
this->OUCondHeatRate = Q_h_OU;

‎tst/EnergyPlus/unit/HVACVariableRefrigerantFlow.unit.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -13277,7 +13277,7 @@ TEST_F(EnergyPlusFixture, VRF_FluidTCtrl_ReportOutputVerificationTest)
1327713277
EXPECT_NEAR(5645.5696, thisVRFTU.TotalCoolingRate, 0.0001);
1327813278
EXPECT_NEAR(84.8359, thisFan->totalPower, 0.0001);
1327913279
EXPECT_NEAR(thisDXCoolingCoil.TotalCoolingEnergyRate, (thisVRFTU.TotalCoolingRate + thisFan->totalPower), 0.0001);
13280-
EXPECT_NEAR(0.8930, state->dataHVACVarRefFlow->VRF(1).VRFCondCyclingRatio, 0.0001);
13280+
EXPECT_NEAR(0.9994, state->dataHVACVarRefFlow->VRF(1).VRFCondCyclingRatio, 0.0001);
1328113281
EXPECT_NEAR(state->dataHVACVarRefFlow->VRF(1).OUFanPower, state->dataHVACVarRefFlow->VRF(1).RatedOUFanPower, 0.0001);
1328213282
}
1328313283

4 commit comments

Comments
 (4)

nrel-bot commented on Sep 5, 2024

@nrel-bot

VRFFluidFixCoolingTUCap (Unknown) - Win64-Windows-10-VisualStudio-16: Build Failed

Failures:\n

API Test Summary

  • Failed: 10
  • notrun: 5

ConvertInputFormat Test Summary

  • Failed: 4
  • notrun: 1

integration Test Summary

  • Passed: 2
  • Failed: 794

Build Badge Test Badge

nrel-bot-2c commented on Sep 5, 2024

@nrel-bot-2c

VRFFluidFixCoolingTUCap (Unknown) - x86_64-Linux-Ubuntu-22.04-gcc-11.4: OK (3692 of 3706 tests passed, 2 test warnings)

Messages:\n

  • 14 tests had: ESO big diffs.
  • 7 tests had: EIO diffs.
  • 7 tests had: Table big diffs.
  • 2 tests had: ESO small diffs.
  • 5 tests had: Table string diffs.
  • 2 tests had: MTR big diffs.

Failures:\n

regression Test Summary

  • Passed: 799
  • Failed: 14

Build Badge Test Badge

nrel-bot-2b commented on Sep 6, 2024

@nrel-bot-2b

VRFFluidFixCoolingTUCap (Unknown) - x86_64-Linux-Ubuntu-22.04-gcc-11.4-UnitTestsCoverage-Debug: OK (2077 of 2077 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

nrel-bot-2c commented on Sep 6, 2024

@nrel-bot-2c

VRFFluidFixCoolingTUCap (Unknown) - x86_64-Linux-Ubuntu-22.04-gcc-11.4-IntegrationCoverage-Debug: OK (797 of 797 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

Please sign in to comment.