| 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 |
nothing calls this directly
no test coverage detected