| 1426 | } |
| 1427 | |
| 1428 | boost::optional<HVACComponent> AirLoopHVAC_Impl::supplyFan() const { |
| 1429 | boost::optional<HVACComponent> result; |
| 1430 | |
| 1431 | boost::optional<HVACComponent> start = supplyInletNode(); |
| 1432 | if (auto oaSystem = airLoopHVACOutdoorAirSystem()) { |
| 1433 | start = oaSystem.get(); |
| 1434 | } |
| 1435 | OS_ASSERT(start); |
| 1436 | auto end = supplyOutletNode(); |
| 1437 | |
| 1438 | auto t_supplyComponents = supplyComponents(start.get(), end); |
| 1439 | result = lastFan(t_supplyComponents); |
| 1440 | |
| 1441 | return result; |
| 1442 | } |
| 1443 | |
| 1444 | boost::optional<HVACComponent> AirLoopHVAC_Impl::returnFan() const { |
| 1445 | boost::optional<HVACComponent> result; |