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

Method component

src/model/Loop.cpp:113–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 }
112
113 OptionalModelObject Loop_Impl::component(openstudio::Handle handle) const {
114 boost::optional<ModelObject> supplyComp = this->supplyComponent(handle);
115 if (supplyComp) {
116 return supplyComp;
117 }
118 return this->demandComponent(handle);
119 }
120
121 boost::optional<ModelObject> Loop_Impl::demandComponent(openstudio::Handle handle) const {
122 auto comps = demandComponents();

Callers 10

airLoopHVACMethod · 0.45
plantLoopMethod · 0.45
addToNodeMethod · 0.45
addToNodeMethod · 0.45
addToNodeMethod · 0.45
addToNodeMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 2

supplyComponentMethod · 0.95
demandComponentMethod · 0.95

Tested by 2

TEST_FFunction · 0.36
TEST_FFunction · 0.36