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

Method supplyFan

src/model/AirLoopHVAC.cpp:1428–1442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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;

Callers 13

translateAirSystemMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 2

lastFanFunction · 0.85
getMethod · 0.45

Tested by 4

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36