| 352 | } // namespace detail |
| 353 | |
| 354 | CentralHeatPumpSystem::CentralHeatPumpSystem(const Model& model) : WaterToWaterComponent(CentralHeatPumpSystem::iddObjectType(), model) { |
| 355 | OS_ASSERT(getImpl<detail::CentralHeatPumpSystem_Impl>()); |
| 356 | |
| 357 | bool ok = true; |
| 358 | ok = setControlMethod("SmartMixing"); |
| 359 | OS_ASSERT(ok); |
| 360 | ok = setAncillaryPower(0.0); |
| 361 | OS_ASSERT(ok); |
| 362 | |
| 363 | auto chillerHeaterModuleList = ModelObjectList(model); |
| 364 | chillerHeaterModuleList.setName(this->name().get() + " Chiller Heater Module List"); |
| 365 | ok = getImpl<detail::CentralHeatPumpSystem_Impl>()->setChillerHeaterModuleList(chillerHeaterModuleList); |
| 366 | OS_ASSERT(ok); |
| 367 | |
| 368 | // Perhaps we should by default add one CentralHeatPumpSystemModule |
| 369 | // But this is at least caught by the ForwardTranslator right now... |
| 370 | } |
| 371 | |
| 372 | IddObjectType CentralHeatPumpSystem::iddObjectType() { |
| 373 | return {IddObjectType::OS_CentralHeatPumpSystem}; |
nothing calls this directly
no test coverage detected