Skip to content

Commit

Permalink
Merge branch 'develop' into RAFN-CheckEquipName-Issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lgu1234 committed Jun 10, 2024
2 parents 29905bd + cb9e70f commit 0ee8b1f
Show file tree
Hide file tree
Showing 106 changed files with 1,587 additions and 1,422 deletions.
2 changes: 1 addition & 1 deletion tst/EnergyPlus/unit/AirTerminalSingleDuct.unit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ TEST_F(EnergyPlusFixture, AirTerminalSingleDuctVAVReheat_NormalActionTest)
EXPECT_EQ(1.0, state->dataSingleDuct->sd_airterminal(SysNum).MaxAirVolFlowRate);
EXPECT_EQ(1.0, MassFlowRateMaxAvail);
EXPECT_EQ("COIL:HEATING:ELECTRIC", state->dataSingleDuct->sd_airterminal(SysNum).ReheatComp);
EXPECT_TRUE(compare_enums(Action::Normal, state->dataSingleDuct->sd_airterminal(SysNum).DamperHeatingAction));
EXPECT_ENUM_EQ(Action::Normal, state->dataSingleDuct->sd_airterminal(SysNum).DamperHeatingAction);
EXPECT_EQ(0.2, state->dataSingleDuct->sd_airterminal(SysNum).ZoneMinAirFracDes);

// set air inlet node properties
Expand Down
8 changes: 4 additions & 4 deletions tst/EnergyPlus/unit/AirflowNetworkConditions.unit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,13 @@ TEST_F(EnergyPlusFixture, AirflowNetwork_TestDefaultBehaviourOfSimulationControl
EXPECT_TRUE(state->afn->control_defaulted);

EXPECT_EQ(state->afn->simulation_control.name, "AFNDefaultControl");
EXPECT_TRUE(compare_enums(AirflowNetwork::ControlType::MultizoneWithoutDistribution, state->afn->simulation_control.type));
EXPECT_ENUM_EQ(AirflowNetwork::ControlType::MultizoneWithoutDistribution, state->afn->simulation_control.type);
EXPECT_EQ(state->afn->simulation_control.WPCCntr, "SURFACEAVERAGECALCULATION");
EXPECT_EQ(state->afn->simulation_control.HeightOption, "OPENINGHEIGHT");
EXPECT_EQ(state->afn->simulation_control.BldgType, "LOWRISE");
EXPECT_EQ(state->afn->simulation_control.InitType, "ZERONODEPRESSURES");
EXPECT_FALSE(state->afn->simulation_control.temperature_height_dependence);
EXPECT_TRUE(compare_enums(AirflowNetwork::SimulationControl::Solver::SkylineLU, state->afn->simulation_control.solver));
EXPECT_ENUM_EQ(AirflowNetwork::SimulationControl::Solver::SkylineLU, state->afn->simulation_control.solver);
//// Use default values for numerical fields
EXPECT_EQ(state->afn->simulation_control.maximum_iterations, 500);
EXPECT_NEAR(state->afn->simulation_control.relative_convergence_tolerance, 1.0E-4, 0.00001);
Expand Down Expand Up @@ -270,7 +270,7 @@ TEST_F(EnergyPlusFixture, AirflowNetworkSimulationControl_DefaultSolver)

state->afn->get_input();

EXPECT_TRUE(compare_enums(AirflowNetwork::SimulationControl::Solver::SkylineLU, state->afn->simulation_control.solver));
EXPECT_ENUM_EQ(AirflowNetwork::SimulationControl::Solver::SkylineLU, state->afn->simulation_control.solver);

state->dataHeatBal->Zone.deallocate();
state->dataSurface->Surface.deallocate();
Expand Down Expand Up @@ -368,7 +368,7 @@ TEST_F(EnergyPlusFixture, AirflowNetworkSimulationControl_SetSolver)

state->afn->get_input();

EXPECT_TRUE(compare_enums(AirflowNetwork::SimulationControl::Solver::SkylineLU, state->afn->simulation_control.solver));
EXPECT_ENUM_EQ(AirflowNetwork::SimulationControl::Solver::SkylineLU, state->afn->simulation_control.solver);

state->dataHeatBal->Zone.deallocate();
state->dataSurface->Surface.deallocate();
Expand Down
4 changes: 2 additions & 2 deletions tst/EnergyPlus/unit/AirflowNetworkHVAC.unit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10628,12 +10628,12 @@ TEST_F(EnergyPlusFixture, AirflowNetwork_TestZoneVentingAirBoundary)
state->dataScheduleMgr->Schedule({1, state->dataScheduleMgr->NumSchedules}));
EXPECT_GT(GetIndex, 0);
EXPECT_EQ(GetIndex, state->afn->MultizoneSurfaceData(1).VentingSchNum);
EXPECT_TRUE(compare_enums(state->afn->MultizoneSurfaceData(1).VentSurfCtrNum, AirflowNetwork::VentControlType::Temp));
EXPECT_ENUM_EQ(state->afn->MultizoneSurfaceData(1).VentSurfCtrNum, AirflowNetwork::VentControlType::Temp);

// MultizoneSurfaceData(2) is connected to an air boundary surface
// venting schedule should be zero and venting method should be Constant
EXPECT_EQ(0, state->afn->MultizoneSurfaceData(2).VentingSchNum);
EXPECT_TRUE(compare_enums(state->afn->MultizoneSurfaceData(2).VentSurfCtrNum, AirflowNetwork::VentControlType::Const));
EXPECT_ENUM_EQ(state->afn->MultizoneSurfaceData(2).VentSurfCtrNum, AirflowNetwork::VentControlType::Const);
}

TEST_F(EnergyPlusFixture, AirflowNetwork_TestNoZoneEqpSupportZoneERV)
Expand Down
148 changes: 74 additions & 74 deletions tst/EnergyPlus/unit/Autosizing/All_Simple_Sizing.unit.cc

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tst/EnergyPlus/unit/Autosizing/BaseClassSizing.unit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ TEST_F(EnergyPlusFixture, BaseSizer_selectSizerOutput)
Real64 autoSizedValue = thisSizer.size(*state, TempSize, errorsFound);

EXPECT_EQ(-1.0, autoSizedValue);
EXPECT_TRUE(compare_enums(AutoSizingResultType::NoError, thisSizer.errorType));
EXPECT_ENUM_EQ(AutoSizingResultType::NoError, thisSizer.errorType);
}

TEST_F(EnergyPlusFixture, BaseSizer_GetCoilDesFlowT)
Expand Down
118 changes: 59 additions & 59 deletions tst/EnergyPlus/unit/Autosizing/CoolingAirFlowSizing.unit.cc

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions tst/EnergyPlus/unit/Autosizing/CoolingCapacitySizing.unit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ TEST_F(AutoSizingFixture, CoolingCapacitySizingGauntlet)
// uninitialized sizing type
Real64 sizedValue = sizer.size(*this->state, inputValue, errorsFound);
EXPECT_TRUE(errorsFound);
EXPECT_TRUE(compare_enums(AutoSizingResultType::ErrorType2, sizer.errorType));
EXPECT_ENUM_EQ(AutoSizingResultType::ErrorType2, sizer.errorType);
EXPECT_NEAR(0.0, sizedValue, 0.01); // unitialized sizing types always return 0
errorsFound = false;

Expand All @@ -113,7 +113,7 @@ TEST_F(AutoSizingFixture, CoolingCapacitySizingGauntlet)
// Test #1 - Zone Equipment, no autosizing
sizer.initializeWithinEP(*this->state, HVAC::cAllCoilTypes(HVAC::Coil_CoolingWater), "MyWaterCoil", printFlag, routineName);
sizedValue = sizer.size(*this->state, inputValue, errorsFound);
EXPECT_TRUE(compare_enums(AutoSizingResultType::NoError, sizer.errorType));
EXPECT_ENUM_EQ(AutoSizingResultType::NoError, sizer.errorType);
EXPECT_FALSE(sizer.wasAutoSized);
EXPECT_NEAR(5125.3, sizedValue, 0.01); // hard-sized value
sizer.autoSizedValue = 0.0; // reset for next test
Expand All @@ -130,7 +130,7 @@ TEST_F(AutoSizingFixture, CoolingCapacitySizingGauntlet)
state->dataSize->ZoneEqSizing(1).DesCoolingLoad = sizedValue;
sizer.initializeWithinEP(*this->state, HVAC::cAllCoilTypes(HVAC::Coil_CoolingWater), "MyWaterCoil", printFlag, routineName);
sizedValue = sizer.size(*this->state, inputValue, errorsFound);
EXPECT_TRUE(compare_enums(AutoSizingResultType::NoError, sizer.errorType));
EXPECT_ENUM_EQ(AutoSizingResultType::NoError, sizer.errorType);
EXPECT_FALSE(sizer.wasAutoSized);
EXPECT_NEAR(5125.3, sizedValue, 0.01); // hard-sized value
sizer.autoSizedValue = 0.0; // reset for next test
Expand Down Expand Up @@ -170,7 +170,7 @@ TEST_F(AutoSizingFixture, CoolingCapacitySizingGauntlet)
sizer.zoneSizingInput(1).ZoneNum = 1;
sizer.initializeWithinEP(*this->state, HVAC::cAllCoilTypes(HVAC::Coil_CoolingWater), "MyWaterCoil", printFlag, routineName);
sizedValue = sizer.size(*this->state, inputValue, errorsFound);
EXPECT_TRUE(compare_enums(AutoSizingResultType::NoError, sizer.errorType));
EXPECT_ENUM_EQ(AutoSizingResultType::NoError, sizer.errorType);
EXPECT_TRUE(sizer.wasAutoSized);
EXPECT_NEAR(4981.71, sizedValue, 0.01);
EXPECT_NEAR(1.2, state->dataEnvrn->StdRhoAir, 0.01);
Expand All @@ -186,7 +186,7 @@ TEST_F(AutoSizingFixture, CoolingCapacitySizingGauntlet)
sizer.wasAutoSized = false;
sizer.initializeWithinEP(*this->state, HVAC::cAllCoilTypes(HVAC::Coil_CoolingWater), "MyWaterCoil", printFlag, routineName);
sizedValue = sizer.size(*this->state, inputValue, errorsFound);
EXPECT_TRUE(compare_enums(AutoSizingResultType::NoError, sizer.errorType));
EXPECT_ENUM_EQ(AutoSizingResultType::NoError, sizer.errorType);
EXPECT_TRUE(sizer.wasAutoSized);
EXPECT_NEAR(4000.0, sizedValue, 0.01);
sizer.autoSizedValue = 0.0; // reset for next test
Expand All @@ -200,7 +200,7 @@ TEST_F(AutoSizingFixture, CoolingCapacitySizingGauntlet)
sizer.wasAutoSized = false;
sizer.initializeWithinEP(*this->state, HVAC::cAllCoilTypes(HVAC::CoilWater_CoolingHXAssisted), "MyHXCoil", printFlag, routineName);
sizedValue = sizer.size(*this->state, inputValue, errorsFound);
EXPECT_TRUE(compare_enums(AutoSizingResultType::NoError, sizer.errorType));
EXPECT_ENUM_EQ(AutoSizingResultType::NoError, sizer.errorType);
EXPECT_TRUE(sizer.wasAutoSized);
EXPECT_NEAR(4268.66, sizedValue, 0.01);
sizer.autoSizedValue = 0.0; // reset for next test
Expand All @@ -214,7 +214,7 @@ TEST_F(AutoSizingFixture, CoolingCapacitySizingGauntlet)
sizer.wasAutoSized = false;
sizer.initializeWithinEP(*this->state, HVAC::cAllCoilTypes(HVAC::Coil_CoolingWater), "MyWaterCoil", printFlag, routineName);
sizedValue = sizer.size(*this->state, inputValue, errorsFound);
EXPECT_TRUE(compare_enums(AutoSizingResultType::NoError, sizer.errorType));
EXPECT_ENUM_EQ(AutoSizingResultType::NoError, sizer.errorType);
EXPECT_TRUE(sizer.wasAutoSized);
EXPECT_NEAR(3500.0, sizedValue, 0.01);
sizer.autoSizedValue = 0.0; // reset for next test
Expand All @@ -228,7 +228,7 @@ TEST_F(AutoSizingFixture, CoolingCapacitySizingGauntlet)
sizer.wasAutoSized = false;
sizer.initializeWithinEP(*this->state, HVAC::cAllCoilTypes(HVAC::CoilDX_CoolingSingleSpeed), "MyDXCoil", printFlag, routineName);
sizedValue = sizer.size(*this->state, inputValue, errorsFound);
EXPECT_TRUE(compare_enums(AutoSizingResultType::NoError, sizer.errorType));
EXPECT_ENUM_EQ(AutoSizingResultType::NoError, sizer.errorType);
EXPECT_TRUE(sizer.wasAutoSized);
EXPECT_NEAR(4981.71, sizedValue, 0.01);
sizer.autoSizedValue = 0.0; // reset for next test
Expand All @@ -242,7 +242,7 @@ TEST_F(AutoSizingFixture, CoolingCapacitySizingGauntlet)
sizer.wasAutoSized = false;
sizer.initializeWithinEP(*this->state, HVAC::cAllCoilTypes(HVAC::CoilDX_CoolingSingleSpeed), "MyDXCoil", printFlag, routineName);
sizedValue = sizer.size(*this->state, inputValue, errorsFound);
EXPECT_TRUE(compare_enums(AutoSizingResultType::NoError, sizer.errorType));
EXPECT_ENUM_EQ(AutoSizingResultType::NoError, sizer.errorType);
EXPECT_TRUE(sizer.wasAutoSized);
EXPECT_NEAR(3899.81, sizedValue, 0.01);
sizer.autoSizedValue = 0.0; // reset for next test
Expand All @@ -256,7 +256,7 @@ TEST_F(AutoSizingFixture, CoolingCapacitySizingGauntlet)
sizer.wasAutoSized = false;
sizer.initializeWithinEP(*this->state, HVAC::cAllCoilTypes(HVAC::CoilDX_CoolingSingleSpeed), "MyDXCoil", printFlag, routineName);
sizedValue = sizer.size(*this->state, inputValue, errorsFound);
EXPECT_TRUE(compare_enums(AutoSizingResultType::NoError, sizer.errorType));
EXPECT_ENUM_EQ(AutoSizingResultType::NoError, sizer.errorType);
EXPECT_TRUE(sizer.wasAutoSized);
EXPECT_NEAR(4981.71, sizedValue, 0.01);
sizer.autoSizedValue = 0.0; // reset for next test
Expand All @@ -272,7 +272,7 @@ TEST_F(AutoSizingFixture, CoolingCapacitySizingGauntlet)
sizer.wasAutoSized = false;
sizer.initializeWithinEP(*this->state, HVAC::cAllCoilTypes(HVAC::Coil_CoolingWater), "MyWaterCoil", printFlag, routineName);
sizedValue = sizer.size(*this->state, inputValue, errorsFound);
EXPECT_TRUE(compare_enums(AutoSizingResultType::NoError, sizer.errorType));
EXPECT_ENUM_EQ(AutoSizingResultType::NoError, sizer.errorType);
EXPECT_FALSE(sizer.wasAutoSized);
EXPECT_NEAR(5500.0, sizedValue, 0.01); // hard size value
sizer.autoSizedValue = 0.0; // reset for next test
Expand Down Expand Up @@ -305,7 +305,7 @@ TEST_F(AutoSizingFixture, CoolingCapacitySizingGauntlet)
printFlag = false;
sizer.initializeWithinEP(*this->state, HVAC::cAllCoilTypes(HVAC::Coil_CoolingWater), "MyWaterCoil", printFlag, routineName);
sizedValue = sizer.size(*this->state, inputValue, errorsFound);
EXPECT_TRUE(compare_enums(AutoSizingResultType::NoError, sizer.errorType));
EXPECT_ENUM_EQ(AutoSizingResultType::NoError, sizer.errorType);
EXPECT_FALSE(sizer.wasAutoSized);
EXPECT_NEAR(2700.8, sizedValue, 0.0001); // hard-sized value
sizer.autoSizedValue = 0.0; // reset for next test
Expand All @@ -332,7 +332,7 @@ TEST_F(AutoSizingFixture, CoolingCapacitySizingGauntlet)
printFlag = false;
sizer.initializeWithinEP(*this->state, HVAC::cAllCoilTypes(HVAC::Coil_CoolingWater), "MyWaterCoil", printFlag, routineName);
sizedValue = sizer.size(*this->state, inputValue, errorsFound);
EXPECT_TRUE(compare_enums(AutoSizingResultType::NoError, sizer.errorType));
EXPECT_ENUM_EQ(AutoSizingResultType::NoError, sizer.errorType);
EXPECT_TRUE(sizer.wasAutoSized);
EXPECT_NEAR(4981.71, sizedValue, 0.01);
sizer.autoSizedValue = 0.0; // reset for next test
Expand All @@ -347,7 +347,7 @@ TEST_F(AutoSizingFixture, CoolingCapacitySizingGauntlet)
printFlag = false;
sizer.initializeWithinEP(*this->state, HVAC::cAllCoilTypes(HVAC::Coil_CoolingWater), "MyWaterCoil", printFlag, routineName);
sizedValue = sizer.size(*this->state, inputValue, errorsFound);
EXPECT_TRUE(compare_enums(AutoSizingResultType::NoError, sizer.errorType));
EXPECT_ENUM_EQ(AutoSizingResultType::NoError, sizer.errorType);
EXPECT_TRUE(sizer.wasAutoSized);
EXPECT_NEAR(4981.71, sizedValue, 0.01); // no change in capacity because coil is in air loop
sizer.autoSizedValue = 0.0; // reset for next test
Expand All @@ -363,7 +363,7 @@ TEST_F(AutoSizingFixture, CoolingCapacitySizingGauntlet)
printFlag = false;
sizer.initializeWithinEP(*this->state, HVAC::cAllCoilTypes(HVAC::Coil_CoolingWater), "MyWaterCoil", printFlag, routineName);
sizedValue = sizer.size(*this->state, inputValue, errorsFound);
EXPECT_TRUE(compare_enums(AutoSizingResultType::NoError, sizer.errorType));
EXPECT_ENUM_EQ(AutoSizingResultType::NoError, sizer.errorType);
EXPECT_TRUE(sizer.wasAutoSized);
EXPECT_NEAR(4582.31, sizedValue, 0.01); // change in capacity because precool conditions mixed with return
sizer.autoSizedValue = 0.0; // reset for next test
Expand Down Expand Up @@ -393,7 +393,7 @@ TEST_F(AutoSizingFixture, CoolingCapacitySizingGauntlet)
printFlag = false;
sizer.initializeWithinEP(*this->state, HVAC::cAllCoilTypes(HVAC::Coil_CoolingWater), "MyWaterCoil", printFlag, routineName);
sizedValue = sizer.size(*this->state, inputValue, errorsFound);
EXPECT_TRUE(compare_enums(AutoSizingResultType::NoError, sizer.errorType));
EXPECT_ENUM_EQ(AutoSizingResultType::NoError, sizer.errorType);
EXPECT_TRUE(sizer.wasAutoSized);
EXPECT_NEAR(4740.64, sizedValue, 0.01); // change in capacity because precool conditions mixed with return
EXPECT_NEAR(158.33, sizer.primaryAirSystem(1).FanDesCoolLoad, 0.01); // air loop fan heat is saved in sizer class
Expand All @@ -413,7 +413,7 @@ TEST_F(AutoSizingFixture, CoolingCapacitySizingGauntlet)
printFlag = false;
sizer.initializeWithinEP(*this->state, HVAC::cAllCoilTypes(HVAC::Coil_CoolingWater), "MyWaterCoil", printFlag, routineName);
sizedValue = sizer.size(*this->state, inputValue, errorsFound);
EXPECT_TRUE(compare_enums(AutoSizingResultType::NoError, sizer.errorType));
EXPECT_ENUM_EQ(AutoSizingResultType::NoError, sizer.errorType);
EXPECT_TRUE(sizer.wasAutoSized);
EXPECT_NEAR(unScaledCapacity * 0.5, sizedValue, 0.01); // change in capacity because precool conditions mixed with return
EXPECT_NEAR(158.33, sizer.primaryAirSystem(1).FanDesCoolLoad, 0.01); // air loop fan heat is saved in sizer class
Expand All @@ -432,7 +432,7 @@ TEST_F(AutoSizingFixture, CoolingCapacitySizingGauntlet)
printFlag = false;
sizer.initializeWithinEP(*this->state, HVAC::cAllCoilTypes(HVAC::Coil_CoolingWater), "MyWaterCoil", printFlag, routineName);
sizedValue = sizer.size(*this->state, inputValue, errorsFound);
EXPECT_TRUE(compare_enums(AutoSizingResultType::NoError, sizer.errorType));
EXPECT_ENUM_EQ(AutoSizingResultType::NoError, sizer.errorType);
EXPECT_TRUE(sizer.wasAutoSized);
EXPECT_NEAR(4500.0, sizedValue, 0.01); // capacity precalculated and saved in FinalSysSizing(1).CoolingTotalCapacity
sizer.autoSizedValue = 0.0; // reset for next test
Expand All @@ -447,7 +447,7 @@ TEST_F(AutoSizingFixture, CoolingCapacitySizingGauntlet)
printFlag = false;
sizer.initializeWithinEP(*this->state, HVAC::cAllCoilTypes(HVAC::Coil_CoolingWater), "MyWaterCoil", printFlag, routineName);
sizedValue = sizer.size(*this->state, inputValue, errorsFound);
EXPECT_TRUE(compare_enums(AutoSizingResultType::NoError, sizer.errorType));
EXPECT_ENUM_EQ(AutoSizingResultType::NoError, sizer.errorType);
EXPECT_TRUE(sizer.wasAutoSized);
EXPECT_NEAR(3500.0, sizedValue, 0.01); // capacity precalculated and saved in FinalSysSizing(1).CoolingTotalCapacity
sizer.autoSizedValue = 0.0; // reset for next test
Expand All @@ -463,7 +463,7 @@ TEST_F(AutoSizingFixture, CoolingCapacitySizingGauntlet)
printFlag = false;
sizer.initializeWithinEP(*this->state, HVAC::cAllCoilTypes(HVAC::Coil_CoolingWater), "MyWaterCoil", printFlag, routineName);
sizedValue = sizer.size(*this->state, inputValue, errorsFound);
EXPECT_TRUE(compare_enums(AutoSizingResultType::NoError, sizer.errorType));
EXPECT_ENUM_EQ(AutoSizingResultType::NoError, sizer.errorType);
EXPECT_TRUE(sizer.wasAutoSized);
EXPECT_NEAR(2500.0, sizedValue, 0.01); // capacity precalculated and saved in UnitarySysEqSizing(1).DesCoolingLoad
sizer.autoSizedValue = 0.0; // reset for next test
Expand All @@ -481,7 +481,7 @@ TEST_F(AutoSizingFixture, CoolingCapacitySizingGauntlet)
printFlag = false;
sizer.initializeWithinEP(*this->state, HVAC::cAllCoilTypes(HVAC::Coil_CoolingWater), "MyWaterCoil", printFlag, routineName);
sizedValue = sizer.size(*this->state, inputValue, errorsFound);
EXPECT_TRUE(compare_enums(AutoSizingResultType::NoError, sizer.errorType));
EXPECT_ENUM_EQ(AutoSizingResultType::NoError, sizer.errorType);
EXPECT_TRUE(sizer.wasAutoSized);
EXPECT_NEAR(1500.0, sizedValue, 0.01); // capacity precalculated and saved in OASysEqSizing(1).DesCoolingLoad
sizer.autoSizedValue = 0.0; // reset for next test
Expand Down Expand Up @@ -509,7 +509,7 @@ TEST_F(AutoSizingFixture, CoolingCapacitySizingGauntlet)
printFlag = false;
sizer.initializeWithinEP(*this->state, HVAC::cAllCoilTypes(HVAC::Coil_CoolingWater), "MyWaterCoil", printFlag, routineName);
sizedValue = sizer.size(*this->state, inputValue, errorsFound);
EXPECT_TRUE(compare_enums(AutoSizingResultType::NoError, sizer.errorType));
EXPECT_ENUM_EQ(AutoSizingResultType::NoError, sizer.errorType);
EXPECT_TRUE(sizer.wasAutoSized);
EXPECT_NEAR(5634.12, sizedValue, 0.01); // capacity includes system fan heat
sizer.autoSizedValue = 0.0; // reset for next test
Expand All @@ -525,7 +525,7 @@ TEST_F(AutoSizingFixture, CoolingCapacitySizingGauntlet)
printFlag = true;
sizer.initializeWithinEP(*this->state, HVAC::cAllCoilTypes(HVAC::Coil_CoolingWater), "MyWaterCoil", printFlag, routineName);
sizedValue = sizer.size(*this->state, inputValue, errorsFound);
EXPECT_TRUE(compare_enums(AutoSizingResultType::NoError, sizer.errorType));
EXPECT_ENUM_EQ(AutoSizingResultType::NoError, sizer.errorType);
EXPECT_FALSE(sizer.wasAutoSized);
EXPECT_NEAR(4200.0, sizedValue, 0.01); // hard sized capacity
sizer.autoSizedValue = 0.0; // reset for next test
Expand Down Expand Up @@ -561,7 +561,7 @@ TEST_F(AutoSizingFixture, CoolingCapacitySizingGauntlet)
printFlag = false;
sizer.initializeWithinEP(*this->state, HVAC::cAllCoilTypes(HVAC::Coil_CoolingWater), "MyWaterCoil", printFlag, routineName);
sizedValue = sizer.size(*this->state, inputValue, errorsFound);
EXPECT_TRUE(compare_enums(AutoSizingResultType::NoError, sizer.errorType));
EXPECT_ENUM_EQ(AutoSizingResultType::NoError, sizer.errorType);
EXPECT_TRUE(sizer.wasAutoSized);
EXPECT_NEAR(5633.933, sizedValue, 0.01); // capacity includes system fan heat
sizer.autoSizedValue = 0.0; // reset for next test
Expand Down
Loading

5 comments on commit 0ee8b1f

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

RAFN-CheckEquipName-Issue (lgu1234) - x86_64-Linux-Ubuntu-22.04-gcc-11.4: OK (3633 of 3633 tests passed, 0 test warnings)

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.

RAFN-CheckEquipName-Issue (lgu1234) - Win64-Windows-10-VisualStudio-16: OK (2803 of 2803 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.

RAFN-CheckEquipName-Issue (lgu1234) - x86_64-MacOS-10.18-clang-15.0.0: OK (3592 of 3592 tests passed, 0 test warnings)

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.

RAFN-CheckEquipName-Issue (lgu1234) - x86_64-Linux-Ubuntu-22.04-gcc-11.4-UnitTestsCoverage-Debug: OK (2014 of 2014 tests passed, 0 test warnings)

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

RAFN-CheckEquipName-Issue (lgu1234) - x86_64-Linux-Ubuntu-22.04-gcc-11.4-IntegrationCoverage-Debug: OK (792 of 792 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

Please sign in to comment.