Skip to content

Commit

Permalink
Potential fix for #4963 - When Method is None or empty, doesn't matte…
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarrec committed Sep 21, 2023
1 parent 255c623 commit be31f38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/AirLoopHVACUnitarySystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,7 @@ namespace model {
OS_ASSERT(ok);
getImpl<detail::AirLoopHVACUnitarySystem_Impl>()->setSupplyAirFlowRateMethodDuringCoolingOperation("None");
getImpl<detail::AirLoopHVACUnitarySystem_Impl>()->setSupplyAirFlowRateMethodDuringHeatingOperation("None");
autosizeSupplyAirFlowRateWhenNoCoolingorHeatingisRequired();
setSupplyAirFlowRateMethodWhenNoCoolingorHeatingisRequired("None");
setMaximumSupplyAirTemperature(80.0);
setMaximumOutdoorDryBulbTemperatureforSupplementalHeaterOperation(21.0);
ok = setMaximumCyclingRate(2.5);
Expand Down
1 change: 1 addition & 0 deletions src/model/test/AirLoopHVACUnitarySystem_GTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ TEST_F(ModelFixture, AirLoopHVACUnitarySystem_CloneOneModelWithDefaultData) {
testObject.setCoolingCoil(coolingCoil);
testObject.setHeatingCoil(heatingCoil);
testObject.setSupplementalHeatingCoil(suppHeatingCoil);
testObject.autosizeSupplyAirFlowRateWhenNoCoolingorHeatingisRequired();

auto testObjectClone = testObject.clone(m).cast<AirLoopHVACUnitarySystem>();

Expand Down

0 comments on commit be31f38

Please sign in to comment.