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

Method airLoopHVACReturnPlenum

src/model/ThermalZone.cpp:2244–2258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2242 }
2243
2244 boost::optional<AirLoopHVACReturnPlenum> ThermalZone_Impl::airLoopHVACReturnPlenum() const {
2245 boost::optional<AirLoopHVACReturnPlenum> result;
2246
2247 std::vector<AirLoopHVACReturnPlenum> plenums = model().getConcreteModelObjects<AirLoopHVACReturnPlenum>();
2248
2249 for (const auto& plenum : plenums) {
2250 if (boost::optional<ThermalZone> tz = plenum.thermalZone()) {
2251 if (tz->handle() == handle()) {
2252 return plenum;
2253 }
2254 }
2255 }
2256
2257 return result;
2258 }
2259
2260 bool ThermalZone_Impl::isPlenum() const {
2261 bool result = false;

Callers 6

setThermalZoneMethod · 0.80
setReturnPlenumMethod · 0.80
setReturnPlenumMethod · 0.80
setThermalZoneMethod · 0.80

Calls 2

thermalZoneMethod · 0.45
handleMethod · 0.45

Tested by

no test coverage detected