| 2094 | } |
| 2095 | |
| 2096 | double AirLoopHVACUnitarySystem::heatPumpTimeConstant() const { |
| 2097 | DEPRECATED_AT_MSG( |
| 2098 | 3, 7, 0, "As of EnergyPlus 23.2.0, this property is on the child cooling coil. Use coolingCoil()->latentCapacityTimeConstant() instead."); |
| 2099 | double result = 60; // former default |
| 2100 | if (auto c_ = coolingCoil()) { |
| 2101 | if (auto c_eq_ = c_->optionalCast<CoilCoolingWaterToAirHeatPumpEquationFit>()) { |
| 2102 | result = c_eq_->latentCapacityTimeConstant(); |
| 2103 | } else if (auto c_vs_ = c_->optionalCast<CoilCoolingWaterToAirHeatPumpVariableSpeedEquationFit>()) { |
| 2104 | result = c_vs_->latentCapacityTimeConstant(); |
| 2105 | } else if (auto c_dx_ = c_->optionalCast<CoilCoolingDXVariableSpeed>()) { |
| 2106 | result = c_dx_->latentCapacityTimeConstant(); |
| 2107 | } |
| 2108 | } |
| 2109 | return result; |
| 2110 | } |
| 2111 | |
| 2112 | bool AirLoopHVACUnitarySystem::isHeatPumpTimeConstantDefaulted() const { |
| 2113 | 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"); |
nothing calls this directly
no test coverage detected