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

Method heatPumpTimeConstant

src/model/AirLoopHVACUnitarySystem.cpp:2096–2110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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");

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected