MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / setMaximumCyclingRate

Method setMaximumCyclingRate

src/model/AirLoopHVACUnitarySystem.cpp:2076–2090  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2074 }
2075
2076 bool AirLoopHVACUnitarySystem::setMaximumCyclingRate(double maximumCyclingRate) {
2077 DEPRECATED_AT_MSG(3, 7, 0,
2078 "As of EnergyPlus 23.2.0, this property is on the child cooling coil. Use coolingCoil()->setMaximumCyclingRate() instead.");
2079 bool result = false;
2080 if (auto c_ = coolingCoil()) {
2081 if (auto c_eq_ = c_->optionalCast<CoilCoolingWaterToAirHeatPumpEquationFit>()) {
2082 result = c_eq_->setMaximumCyclingRate(maximumCyclingRate);
2083 } else if (auto c_vs_ = c_->optionalCast<CoilCoolingWaterToAirHeatPumpVariableSpeedEquationFit>()) {
2084 result = c_vs_->setMaximumCyclingRate(maximumCyclingRate);
2085 } else if (auto c_dx_ = c_->optionalCast<CoilCoolingDXVariableSpeed>()) {
2086 result = c_dx_->setMaximumCyclingRate(maximumCyclingRate);
2087 }
2088 }
2089 return result;
2090 }
2091
2092 void AirLoopHVACUnitarySystem::resetMaximumCyclingRate() {
2093 DEPRECATED_AT_MSG(3, 7, 0, "As of EnergyPlus 23.2.0, this property is on the child cooling coil and it's a required-field");

Callers 15

translateZnSysMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls

no outgoing calls

Tested by 13

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
make_unitaryFunction · 0.36
make_wahp_eqfitFunction · 0.36