src/model/RefrigerationCondenserAirCooled_Impl.hpp
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | /*********************************************************************************************************************** | ||
| 2 | * OpenStudio(R), Copyright (c) Alliance for Energy Innovation, LLC. | ||
| 3 | * See also https://openstudio.net/license | ||
| 4 | ***********************************************************************************************************************/ | ||
| 5 | |||
| 6 | #ifndef MODEL_REFRIGERATIONCONDENSERAIRCOOLED_IMPL_HPP | ||
| 7 | #define MODEL_REFRIGERATIONCONDENSERAIRCOOLED_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "ParentObject_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | class RefrigerationSystem; | ||
| 16 | class CurveLinear; | ||
| 17 | class ThermalZone; | ||
| 18 | |||
| 19 | namespace detail { | ||
| 20 | |||
| 21 | /** RefrigerationCondenserAirCooled_Impl is a ParentObject that is the implementation class for RefrigerationCondenserAirCooled.*/ | ||
| 22 | class MODEL_API RefrigerationCondenserAirCooled_Impl : public ParentObject_Impl | ||
| 23 | { | ||
| 24 | public: | ||
| 25 | /** @name Constructors and Destructors */ | ||
| 26 | //@{ | ||
| 27 | |||
| 28 | RefrigerationCondenserAirCooled_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 29 | |||
| 30 | RefrigerationCondenserAirCooled_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 31 | |||
| 32 | RefrigerationCondenserAirCooled_Impl(const RefrigerationCondenserAirCooled_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 33 | |||
| 34 | 28 | virtual ~RefrigerationCondenserAirCooled_Impl() override = default; | |
| 35 | |||
| 36 | //@} | ||
| 37 | /** @name Virtual Methods */ | ||
| 38 | //@{ | ||
| 39 | |||
| 40 | virtual const std::vector<std::string>& outputVariableNames() const override; | ||
| 41 | |||
| 42 | virtual IddObjectType iddObjectType() const override; | ||
| 43 | |||
| 44 | virtual ModelObject clone(Model model) const override; | ||
| 45 | |||
| 46 | virtual std::vector<IddObjectType> allowableChildTypes() const override; | ||
| 47 | |||
| 48 | virtual std::vector<ModelObject> children() const override; | ||
| 49 | |||
| 50 | //@} | ||
| 51 | /** @name Getters */ | ||
| 52 | //@{ | ||
| 53 | |||
| 54 | boost::optional<CurveLinear> ratedEffectiveTotalHeatRejectionRateCurve() const; | ||
| 55 | |||
| 56 | double ratedSubcoolingTemperatureDifference() const; | ||
| 57 | |||
| 58 | bool isRatedSubcoolingTemperatureDifferenceDefaulted() const; | ||
| 59 | |||
| 60 | std::string condenserFanSpeedControlType() const; | ||
| 61 | |||
| 62 | bool isCondenserFanSpeedControlTypeDefaulted() const; | ||
| 63 | |||
| 64 | double ratedFanPower() const; | ||
| 65 | |||
| 66 | bool isRatedFanPowerDefaulted() const; | ||
| 67 | |||
| 68 | double minimumFanAirFlowRatio() const; | ||
| 69 | |||
| 70 | bool isMinimumFanAirFlowRatioDefaulted() const; | ||
| 71 | |||
| 72 | boost::optional<ThermalZone> airInletZone() const; | ||
| 73 | |||
| 74 | std::string endUseSubcategory() const; | ||
| 75 | |||
| 76 | bool isEndUseSubcategoryDefaulted() const; | ||
| 77 | |||
| 78 | double condenserRefrigerantOperatingChargeInventory() const; | ||
| 79 | |||
| 80 | bool isCondenserRefrigerantOperatingChargeInventoryDefaulted() const; | ||
| 81 | |||
| 82 | double condensateReceiverRefrigerantInventory() const; | ||
| 83 | |||
| 84 | bool isCondensateReceiverRefrigerantInventoryDefaulted() const; | ||
| 85 | |||
| 86 | double condensatePipingRefrigerantInventory() const; | ||
| 87 | |||
| 88 | bool isCondensatePipingRefrigerantInventoryDefaulted() const; | ||
| 89 | |||
| 90 | //@} | ||
| 91 | /** @name Setters */ | ||
| 92 | //@{ | ||
| 93 | |||
| 94 | bool setRatedEffectiveTotalHeatRejectionRateCurve(const boost::optional<CurveLinear>& curveLinear); | ||
| 95 | |||
| 96 | void resetRatedEffectiveTotalHeatRejectionRateCurve(); | ||
| 97 | |||
| 98 | bool setRatedSubcoolingTemperatureDifference(double ratedSubcoolingTemperatureDifference); | ||
| 99 | |||
| 100 | void resetRatedSubcoolingTemperatureDifference(); | ||
| 101 | |||
| 102 | bool setCondenserFanSpeedControlType(const std::string& condenserFanSpeedControlType); | ||
| 103 | |||
| 104 | void resetCondenserFanSpeedControlType(); | ||
| 105 | |||
| 106 | bool setRatedFanPower(double ratedFanPower); | ||
| 107 | |||
| 108 | void resetRatedFanPower(); | ||
| 109 | |||
| 110 | bool setMinimumFanAirFlowRatio(double minimumFanAirFlowRatio); | ||
| 111 | |||
| 112 | void resetMinimumFanAirFlowRatio(); | ||
| 113 | |||
| 114 | bool setAirInletZone(const boost::optional<ThermalZone>& thermalZone); | ||
| 115 | |||
| 116 | void resetAirInletZone(); | ||
| 117 | |||
| 118 | bool setEndUseSubcategory(const std::string& endUseSubcategory); | ||
| 119 | |||
| 120 | void resetEndUseSubcategory(); | ||
| 121 | |||
| 122 | bool setCondenserRefrigerantOperatingChargeInventory(double condenserRefrigerantOperatingChargeInventory); | ||
| 123 | |||
| 124 | void resetCondenserRefrigerantOperatingChargeInventory(); | ||
| 125 | |||
| 126 | bool setCondensateReceiverRefrigerantInventory(double condensateReceiverRefrigerantInventory); | ||
| 127 | |||
| 128 | void resetCondensateReceiverRefrigerantInventory(); | ||
| 129 | |||
| 130 | bool setCondensatePipingRefrigerantInventory(double condensatePipingRefrigerantInventory); | ||
| 131 | |||
| 132 | void resetCondensatePipingRefrigerantInventory(); | ||
| 133 | |||
| 134 | //@} | ||
| 135 | /** @name Other */ | ||
| 136 | //@{ | ||
| 137 | |||
| 138 | boost::optional<RefrigerationSystem> system() const; | ||
| 139 | |||
| 140 | //@} | ||
| 141 | protected: | ||
| 142 | private: | ||
| 143 | − | REGISTER_LOGGER("openstudio.model.RefrigerationCondenserAirCooled"); | |
| 144 | }; | ||
| 145 | |||
| 146 | } // namespace detail | ||
| 147 | |||
| 148 | } // namespace model | ||
| 149 | } // namespace openstudio | ||
| 150 | |||
| 151 | #endif // MODEL_REFRIGERATIONCONDENSERAIRCOOLED_IMPL_HPP | ||
| 152 |