| 207 | } |
| 208 | |
| 209 | bool HeatPumpPlantLoopEIRHeating_Impl::addToTertiaryNode(Node& node) { |
| 210 | |
| 211 | auto t_plantLoop = node.plantLoop(); |
| 212 | |
| 213 | // Only accept adding to a node that is on a demand side of a plant loop |
| 214 | // Since tertiary here = heat recovery loop (cooling) |
| 215 | if (t_plantLoop) { |
| 216 | if (t_plantLoop->demandComponent(node.handle())) { |
| 217 | // Call base class method which accepts both supply and demand |
| 218 | return WaterToWaterComponent_Impl::addToTertiaryNode(node); |
| 219 | } else { |
| 220 | LOG(Info, |
| 221 | "Tertiary Loop (Heat Recovery Loop) connections can only be placed on the Demand side (of a Cooling Loop), for " << briefDescription()); |
| 222 | } |
| 223 | } |
| 224 | return false; |
| 225 | } |
| 226 | |
| 227 | bool HeatPumpPlantLoopEIRHeating_Impl::removeFromSecondaryPlantLoop() { |
| 228 | // Disconnect the component |
no test coverage detected