diff --git a/src/model/AirLoopHVACUnitarySystem.cpp b/src/model/AirLoopHVACUnitarySystem.cpp index 02fdd8168c2..83d74760264 100644 --- a/src/model/AirLoopHVACUnitarySystem.cpp +++ b/src/model/AirLoopHVACUnitarySystem.cpp @@ -1391,7 +1391,7 @@ namespace model { OS_ASSERT(ok); getImpl()->setSupplyAirFlowRateMethodDuringCoolingOperation("None"); getImpl()->setSupplyAirFlowRateMethodDuringHeatingOperation("None"); - autosizeSupplyAirFlowRateWhenNoCoolingorHeatingisRequired(); + setSupplyAirFlowRateMethodWhenNoCoolingorHeatingisRequired("None"); setMaximumSupplyAirTemperature(80.0); setMaximumOutdoorDryBulbTemperatureforSupplementalHeaterOperation(21.0); ok = setMaximumCyclingRate(2.5); diff --git a/src/model/test/AirLoopHVACUnitarySystem_GTest.cpp b/src/model/test/AirLoopHVACUnitarySystem_GTest.cpp index 43f275c1b8f..a9f2461a00f 100644 --- a/src/model/test/AirLoopHVACUnitarySystem_GTest.cpp +++ b/src/model/test/AirLoopHVACUnitarySystem_GTest.cpp @@ -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();