src/model/CoilCoolingDXTwoStageWithHumidityControlMode.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_COILCOOLINGDXTWOSTAGEWITHHUMIDITYCONTROLMODE_HPP | ||
| 7 | #define MODEL_COILCOOLINGDXTWOSTAGEWITHHUMIDITYCONTROLMODE_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "StraightComponent.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | |||
| 14 | namespace model { | ||
| 15 | |||
| 16 | class AirflowNetworkEquivalentDuct; | ||
| 17 | class CoilPerformanceDXCooling; | ||
| 18 | class Curve; | ||
| 19 | class Schedule; | ||
| 20 | |||
| 21 | namespace detail { | ||
| 22 | |||
| 23 | class CoilCoolingDXTwoStageWithHumidityControlMode_Impl; | ||
| 24 | |||
| 25 | } // namespace detail | ||
| 26 | |||
| 27 | /** CoilCoolingDXTwoStageWithHumidityControlMode is a StraightComponent that wraps the OpenStudio IDD object 'OS:Coil:Cooling:DX:TwoStageWithHumidityControlMode'. */ | ||
| 28 | class MODEL_API CoilCoolingDXTwoStageWithHumidityControlMode : public StraightComponent | ||
| 29 | { | ||
| 30 | public: | ||
| 31 | /** @name Constructors and Destructors */ | ||
| 32 | //@{ | ||
| 33 | |||
| 34 | explicit CoilCoolingDXTwoStageWithHumidityControlMode(const Model& model); | ||
| 35 | |||
| 36 | 17 | virtual ~CoilCoolingDXTwoStageWithHumidityControlMode() override = default; | |
| 37 | // Default the copy and move operators because the virtual dtor is explicit | ||
| 38 | ✗ | CoilCoolingDXTwoStageWithHumidityControlMode(const CoilCoolingDXTwoStageWithHumidityControlMode& other) = default; | |
| 39 | 2 | CoilCoolingDXTwoStageWithHumidityControlMode(CoilCoolingDXTwoStageWithHumidityControlMode&& other) = default; | |
| 40 | ✗ | CoilCoolingDXTwoStageWithHumidityControlMode& operator=(const CoilCoolingDXTwoStageWithHumidityControlMode&) = default; | |
| 41 | ✗ | CoilCoolingDXTwoStageWithHumidityControlMode& operator=(CoilCoolingDXTwoStageWithHumidityControlMode&&) = default; | |
| 42 | |||
| 43 | //@} | ||
| 44 | |||
| 45 | static IddObjectType iddObjectType(); | ||
| 46 | |||
| 47 | /** @name Getters */ | ||
| 48 | //@{ | ||
| 49 | |||
| 50 | boost::optional<Schedule> availabilitySchedule() const; | ||
| 51 | |||
| 52 | double crankcaseHeaterCapacity() const; | ||
| 53 | |||
| 54 | boost::optional<Curve> crankcaseHeaterCapacityFunctionofTemperatureCurve() const; | ||
| 55 | |||
| 56 | double maximumOutdoorDryBulbTemperatureforCrankcaseHeaterOperation() const; | ||
| 57 | |||
| 58 | int numberofCapacityStages() const; | ||
| 59 | |||
| 60 | int numberofEnhancedDehumidificationModes() const; | ||
| 61 | |||
| 62 | boost::optional<CoilPerformanceDXCooling> normalModeStage1CoilPerformance() const; | ||
| 63 | |||
| 64 | boost::optional<CoilPerformanceDXCooling> normalModeStage1Plus2CoilPerformance() const; | ||
| 65 | |||
| 66 | boost::optional<CoilPerformanceDXCooling> dehumidificationMode1Stage1CoilPerformance() const; | ||
| 67 | |||
| 68 | boost::optional<CoilPerformanceDXCooling> dehumidificationMode1Stage1Plus2CoilPerformance() const; | ||
| 69 | |||
| 70 | double basinHeaterCapacity() const; | ||
| 71 | |||
| 72 | double basinHeaterSetpointTemperature() const; | ||
| 73 | |||
| 74 | boost::optional<Schedule> basinHeaterOperatingSchedule() const; | ||
| 75 | |||
| 76 | double minimumOutdoorDryBulbTemperatureforCompressorOperation() const; | ||
| 77 | |||
| 78 | //@} | ||
| 79 | /** @name Setters */ | ||
| 80 | //@{ | ||
| 81 | |||
| 82 | bool setAvailabilitySchedule(Schedule& schedule); | ||
| 83 | |||
| 84 | void resetAvailabilitySchedule(); | ||
| 85 | |||
| 86 | bool setCrankcaseHeaterCapacity(double crankcaseHeaterCapacity); | ||
| 87 | |||
| 88 | bool setCrankcaseHeaterCapacityFunctionofTemperatureCurve(const Curve& curve); | ||
| 89 | void resetCrankcaseHeaterCapacityFunctionofTemperatureCurve(); | ||
| 90 | |||
| 91 | bool setMaximumOutdoorDryBulbTemperatureforCrankcaseHeaterOperation(double maximumOutdoorDryBulbTemperatureforCrankcaseHeaterOperation); | ||
| 92 | |||
| 93 | bool setNumberofCapacityStages(int numberofCapacityStages); | ||
| 94 | |||
| 95 | bool setNumberofEnhancedDehumidificationModes(int numberofEnhancedDehumidificationModes); | ||
| 96 | |||
| 97 | bool setNormalModeStage1CoilPerformance(const CoilPerformanceDXCooling& coilPerformanceDXCooling); | ||
| 98 | |||
| 99 | void resetNormalModeStage1CoilPerformance(); | ||
| 100 | |||
| 101 | bool setNormalModeStage1Plus2CoilPerformance(const CoilPerformanceDXCooling& coilPerformanceDXCooling); | ||
| 102 | |||
| 103 | void resetNormalModeStage1Plus2CoilPerformance(); | ||
| 104 | |||
| 105 | bool setDehumidificationMode1Stage1CoilPerformance(const CoilPerformanceDXCooling& coilPerformanceDXCooling); | ||
| 106 | |||
| 107 | void resetDehumidificationMode1Stage1CoilPerformance(); | ||
| 108 | |||
| 109 | bool setDehumidificationMode1Stage1Plus2CoilPerformance(const CoilPerformanceDXCooling& coilPerformanceDXCooling); | ||
| 110 | |||
| 111 | void resetDehumidificationMode1Stage1Plus2CoilPerformance(); | ||
| 112 | |||
| 113 | bool setBasinHeaterCapacity(double basinHeaterCapacity); | ||
| 114 | |||
| 115 | bool setBasinHeaterSetpointTemperature(double basinHeaterSetpointTemperature); | ||
| 116 | |||
| 117 | bool setBasinHeaterOperatingSchedule(Schedule& schedule); | ||
| 118 | |||
| 119 | void resetBasinHeaterOperatingSchedule(); | ||
| 120 | |||
| 121 | bool setMinimumOutdoorDryBulbTemperatureforCompressorOperation(double minimumOutdoorDryBulbTemperatureforCompressorOperation); | ||
| 122 | |||
| 123 | //@} | ||
| 124 | /** @name Other */ | ||
| 125 | //@{ | ||
| 126 | |||
| 127 | /** Creates a new equivalent duct object if an object is not already attached. */ | ||
| 128 | AirflowNetworkEquivalentDuct getAirflowNetworkEquivalentDuct(double length, double diameter); | ||
| 129 | |||
| 130 | /** Returns the attached equivalent duct object, if any. */ | ||
| 131 | boost::optional<AirflowNetworkEquivalentDuct> airflowNetworkEquivalentDuct() const; | ||
| 132 | |||
| 133 | //@} | ||
| 134 | protected: | ||
| 135 | /// @cond | ||
| 136 | using ImplType = detail::CoilCoolingDXTwoStageWithHumidityControlMode_Impl; | ||
| 137 | |||
| 138 | explicit CoilCoolingDXTwoStageWithHumidityControlMode(std::shared_ptr<detail::CoilCoolingDXTwoStageWithHumidityControlMode_Impl> impl); | ||
| 139 | |||
| 140 | friend class detail::CoilCoolingDXTwoStageWithHumidityControlMode_Impl; | ||
| 141 | friend class Model; | ||
| 142 | friend class IdfObject; | ||
| 143 | friend class openstudio::detail::IdfObject_Impl; | ||
| 144 | /// @endcond | ||
| 145 | private: | ||
| 146 | REGISTER_LOGGER("openstudio.model.CoilCoolingDXTwoStageWithHumidityControlMode"); | ||
| 147 | }; | ||
| 148 | |||
| 149 | /** \relates CoilCoolingDXTwoStageWithHumidityControlMode*/ | ||
| 150 | using OptionalCoilCoolingDXTwoStageWithHumidityControlMode = boost::optional<CoilCoolingDXTwoStageWithHumidityControlMode>; | ||
| 151 | |||
| 152 | /** \relates CoilCoolingDXTwoStageWithHumidityControlMode*/ | ||
| 153 | using CoilCoolingDXTwoStageWithHumidityControlModeVector = std::vector<CoilCoolingDXTwoStageWithHumidityControlMode>; | ||
| 154 | |||
| 155 | } // namespace model | ||
| 156 | } // namespace openstudio | ||
| 157 | |||
| 158 | #endif // MODEL_COILCOOLINGDXTWOSTAGEWITHHUMIDITYCONTROLMODE_HPP | ||
| 159 |