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

Method children

src/model/Building.cpp:79–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 }
78
79 std::vector<ModelObject> Building_Impl::children() const {
80 // TODO: JM 2019-05-13: handle HVAC (#2449)
81 // AirLoopHVACs should be considered de facto part of the building
82 // PlantLoops may merit more attention:
83 // if a PlantLoop doesn't serve an AirLoopHVAC or a ThermalZone, should it be considered part of the Building?
84 // eg: a PlantLoop serving only a LoadProfile:Plant?
85
86 return concat<ModelObject>(this->meters(), this->buildingStories(), this->shadingSurfaceGroups(), this->thermalZones(), this->spaces());
87 }
88
89 // TODO: this is far from perfect, currently this is just trying to address a known issue #3524
90 // Ideally all corner cases would be handled correctly, and HVAC too

Callers

nothing calls this directly

Calls 5

metersMethod · 0.95
buildingStoriesMethod · 0.95
shadingSurfaceGroupsMethod · 0.95
thermalZonesMethod · 0.95
spacesMethod · 0.95

Tested by

no test coverage detected