| 304 | } |
| 305 | |
| 306 | bool FanSystemModel_Impl::addToNode(Node& node) { |
| 307 | auto oaSystem = node.airLoopHVACOutdoorAirSystem(); |
| 308 | auto airLoop = node.airLoopHVAC(); |
| 309 | |
| 310 | if ((airLoop && airLoop->supplyComponent(node.handle())) || (oaSystem && oaSystem->component(node.handle()))) { |
| 311 | if (StraightComponent_Impl::addToNode(node)) { |
| 312 | if (airLoop) { |
| 313 | SetpointManagerMixedAir::updateFanInletOutletNodes(airLoop.get()); |
| 314 | } |
| 315 | return true; |
| 316 | } |
| 317 | } |
| 318 | |
| 319 | return false; |
| 320 | } |
| 321 | |
| 322 | boost::optional<HVACComponent> FanSystemModel_Impl::containingHVACComponent() const { |
| 323 | auto t_handle = handle(); |
nothing calls this directly
no test coverage detected