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

Method PlantLoop

src/model/PlantLoop.cpp:1213–1234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1211 } // namespace detail
1212
1213 PlantLoop::PlantLoop(Model& model) : Loop(PlantLoop::iddObjectType(), model) {
1214 auto impl = getImpl<detail::PlantLoop_Impl>();
1215 OS_ASSERT(impl);
1216
1217 // Create topology
1218 impl->createTopology();
1219
1220 SizingPlant sizingPlant(model, *this);
1221
1222 autocalculatePlantLoopVolume();
1223 setLoadDistributionScheme("Optimal");
1224
1225 setGlycolConcentration(0);
1226 setString(OS_PlantLoopFields::DemandSideConnectorListName, "");
1227 setString(OS_PlantLoopFields::PlantLoopDemandCalculationScheme, "");
1228 setString(OS_PlantLoopFields::CommonPipeSimulation, "");
1229 setString(OS_PlantLoopFields::PressureSimulationType, "");
1230
1231 // AvailabilityManagerAssignmentList
1232 AvailabilityManagerAssignmentList avmList(*this);
1233 setPointer(OS_PlantLoopFields::AvailabilityManagerListName, avmList.handle());
1234 }
1235
1236 PlantLoop::PlantLoop(std::shared_ptr<detail::PlantLoop_Impl> impl) : Loop(std::move(impl)) {}
1237

Callers

nothing calls this directly

Calls 3

iddObjectTypeFunction · 0.70
createTopologyMethod · 0.45
handleMethod · 0.45

Tested by

no test coverage detected