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

Method AirLoopHVAC

src/model/AirLoopHVAC.cpp:2020–2049  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2018 } // namespace detail
2019
2020 AirLoopHVAC::AirLoopHVAC(Model& model, bool dualDuct) : Loop(iddObjectType(), model) {
2021 auto impl = getImpl<detail::AirLoopHVAC_Impl>();
2022 OS_ASSERT(impl);
2023
2024 impl->createTopology();
2025
2026 if (dualDuct) {
2027 auto n = supplyOutletNode();
2028 ConnectorSplitter splitter(model);
2029 splitter.addToNode(n);
2030 impl->setSupplySplitter(splitter);
2031 }
2032
2033 // Sizing:System
2034 SizingSystem sizingSystem(model, *this);
2035
2036 // AvailabilityManagerScheduled
2037 {
2038 auto schedule = model.alwaysOnDiscreteSchedule();
2039 setAvailabilitySchedule(schedule);
2040 }
2041
2042 // AvailabilityManagerAssignmentList
2043 AvailabilityManagerAssignmentList avmList(*this);
2044 setPointer(OS_AirLoopHVACFields::AvailabilityManagerListName, avmList.handle());
2045
2046 // E+ IDD Default
2047 autosizeDesignSupplyAirFlowRate();
2048 setDesignReturnAirFlowFractionofSupplyAirFlow(1.0);
2049 }
2050
2051 AirLoopHVAC::AirLoopHVAC(std::shared_ptr<detail::AirLoopHVAC_Impl> impl) : Loop(std::move(impl)) {}
2052

Callers

nothing calls this directly

Calls 6

iddObjectTypeFunction · 0.70
createTopologyMethod · 0.45
addToNodeMethod · 0.45
setSupplySplitterMethod · 0.45
handleMethod · 0.45

Tested by

no test coverage detected