| 806 | } // namespace detail |
| 807 | |
| 808 | RefrigerationSystem::RefrigerationSystem(const Model& model) : ModelObject(RefrigerationSystem::iddObjectType(), model) { |
| 809 | OS_ASSERT(getImpl<detail::RefrigerationSystem_Impl>()); |
| 810 | |
| 811 | ModelObjectList caseAndWalkinList = ModelObjectList(model); |
| 812 | caseAndWalkinList.setName(this->name().get() + " Case and Walkin List"); |
| 813 | bool ok = getImpl<detail::RefrigerationSystem_Impl>()->setRefrigeratedCaseAndWalkInList(caseAndWalkinList); |
| 814 | OS_ASSERT(ok); |
| 815 | ModelObjectList transferLoadList = ModelObjectList(model); |
| 816 | transferLoadList.setName(this->name().get() + " Transfer Load List"); |
| 817 | ok = getImpl<detail::RefrigerationSystem_Impl>()->setRefrigerationTransferLoadList(transferLoadList); |
| 818 | OS_ASSERT(ok); |
| 819 | ModelObjectList compressorlist = ModelObjectList(model); |
| 820 | compressorlist.setName(this->name().get() + " Compressor List"); |
| 821 | ok = getImpl<detail::RefrigerationSystem_Impl>()->setCompressorList(compressorlist); |
| 822 | OS_ASSERT(ok); |
| 823 | ModelObjectList highStageCompressorlist = ModelObjectList(model); |
| 824 | highStageCompressorlist.setName(this->name().get() + " High Stage Compressor List"); |
| 825 | ok = getImpl<detail::RefrigerationSystem_Impl>()->setHighStageCompressorList(highStageCompressorlist); |
| 826 | OS_ASSERT(ok); |
| 827 | setMinimumCondensingTemperature(21.0); |
| 828 | ok = setRefrigerationSystemWorkingFluidType("R404a"); |
| 829 | OS_ASSERT(ok); |
| 830 | ok = setSuctionTemperatureControlType("ConstantSuctionTemperature"); |
| 831 | OS_ASSERT(ok); |
| 832 | } |
| 833 | |
| 834 | IddObjectType RefrigerationSystem::iddObjectType() { |
| 835 | return {IddObjectType::OS_Refrigeration_System}; |
nothing calls this directly
no test coverage detected