| 2053 | } |
| 2054 | |
| 2055 | double AirLoopHVACUnitarySystem::maximumCyclingRate() const { |
| 2056 | DEPRECATED_AT_MSG(3, 7, 0, |
| 2057 | "As of EnergyPlus 23.2.0, this property is on the child cooling coil. Use coolingCoil()->maximumCyclingRate() instead."); |
| 2058 | double result = 2.5; // former default |
| 2059 | if (auto c_ = coolingCoil()) { |
| 2060 | if (auto c_eq_ = c_->optionalCast<CoilCoolingWaterToAirHeatPumpEquationFit>()) { |
| 2061 | result = c_eq_->maximumCyclingRate(); |
| 2062 | } else if (auto c_vs_ = c_->optionalCast<CoilCoolingWaterToAirHeatPumpVariableSpeedEquationFit>()) { |
| 2063 | result = c_vs_->maximumCyclingRate(); |
| 2064 | } else if (auto c_dx_ = c_->optionalCast<CoilCoolingDXVariableSpeed>()) { |
| 2065 | result = c_dx_->maximumCyclingRate(); |
| 2066 | } |
| 2067 | } |
| 2068 | return result; |
| 2069 | } |
| 2070 | |
| 2071 | bool AirLoopHVACUnitarySystem::isMaximumCyclingRateDefaulted() const { |
| 2072 | 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"); |
no outgoing calls