src/model/ZoneHVACDehumidifierDX.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_ZONEHVACDEHUMIDIFIERDX_HPP | ||
| 7 | #define MODEL_ZONEHVACDEHUMIDIFIERDX_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "ZoneHVACComponent.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | |||
| 14 | namespace model { | ||
| 15 | |||
| 16 | class Schedule; | ||
| 17 | class Curve; | ||
| 18 | // class WaterStorageTank; | ||
| 19 | |||
| 20 | namespace detail { | ||
| 21 | |||
| 22 | class ZoneHVACDehumidifierDX_Impl; | ||
| 23 | |||
| 24 | } // namespace detail | ||
| 25 | |||
| 26 | /** ZoneHVACDehumidifierDX is a ZoneHVACComponent that wraps the OpenStudio IDD object 'OS:ZoneHVAC:Dehumidifier:DX'. */ | ||
| 27 | class MODEL_API ZoneHVACDehumidifierDX : public ZoneHVACComponent | ||
| 28 | { | ||
| 29 | public: | ||
| 30 | /** @name Constructors and Destructors */ | ||
| 31 | //@{ | ||
| 32 | |||
| 33 | explicit ZoneHVACDehumidifierDX(const Model& model); | ||
| 34 | |||
| 35 | explicit ZoneHVACDehumidifierDX(const Model& model, const Curve& waterRemovalCurve, const Curve& energyFactorCurve, | ||
| 36 | const Curve& partLoadFractionCurve); | ||
| 37 | |||
| 38 | 2 | virtual ~ZoneHVACDehumidifierDX() override = default; | |
| 39 | // Default the copy and move operators because the virtual dtor is explicit | ||
| 40 | ✗ | ZoneHVACDehumidifierDX(const ZoneHVACDehumidifierDX& other) = default; | |
| 41 | ✗ | ZoneHVACDehumidifierDX(ZoneHVACDehumidifierDX&& other) = default; | |
| 42 | ✗ | ZoneHVACDehumidifierDX& operator=(const ZoneHVACDehumidifierDX&) = default; | |
| 43 | ✗ | ZoneHVACDehumidifierDX& operator=(ZoneHVACDehumidifierDX&&) = default; | |
| 44 | |||
| 45 | //@} | ||
| 46 | |||
| 47 | static IddObjectType iddObjectType(); | ||
| 48 | |||
| 49 | /** @name Getters */ | ||
| 50 | //@{ | ||
| 51 | |||
| 52 | Schedule availabilitySchedule() const; | ||
| 53 | |||
| 54 | double ratedWaterRemoval() const; | ||
| 55 | |||
| 56 | double ratedEnergyFactor() const; | ||
| 57 | |||
| 58 | double ratedAirFlowRate() const; | ||
| 59 | |||
| 60 | Curve waterRemovalCurve() const; | ||
| 61 | |||
| 62 | Curve energyFactorCurve() const; | ||
| 63 | |||
| 64 | Curve partLoadFractionCorrelationCurve() const; | ||
| 65 | |||
| 66 | double minimumDryBulbTemperatureforDehumidifierOperation() const; | ||
| 67 | |||
| 68 | double maximumDryBulbTemperatureforDehumidifierOperation() const; | ||
| 69 | |||
| 70 | double offCycleParasiticElectricLoad() const; | ||
| 71 | |||
| 72 | // boost::optional<WaterStorageTank> condensateCollectionWaterStorageTank() const; | ||
| 73 | |||
| 74 | //@} | ||
| 75 | /** @name Setters */ | ||
| 76 | //@{ | ||
| 77 | |||
| 78 | bool setAvailabilitySchedule(Schedule& schedule); | ||
| 79 | |||
| 80 | bool setRatedWaterRemoval(double ratedWaterRemoval); | ||
| 81 | |||
| 82 | bool setRatedEnergyFactor(double ratedEnergyFactor); | ||
| 83 | |||
| 84 | bool setRatedAirFlowRate(double ratedAirFlowRate); | ||
| 85 | |||
| 86 | bool setWaterRemovalCurve(const Curve& curve); | ||
| 87 | |||
| 88 | bool setEnergyFactorCurve(const Curve& curve); | ||
| 89 | |||
| 90 | bool setPartLoadFractionCorrelationCurve(const Curve& curve); | ||
| 91 | |||
| 92 | bool setMinimumDryBulbTemperatureforDehumidifierOperation(double minimumDryBulbTemperatureforDehumidifierOperation); | ||
| 93 | |||
| 94 | bool setMaximumDryBulbTemperatureforDehumidifierOperation(double maximumDryBulbTemperatureforDehumidifierOperation); | ||
| 95 | |||
| 96 | bool setOffCycleParasiticElectricLoad(double offCycleParasiticElectricLoad); | ||
| 97 | |||
| 98 | // bool setCondensateCollectionWaterStorageTank(const WaterStorageTank& waterStorageTank); | ||
| 99 | |||
| 100 | // void resetCondensateCollectionWaterStorageTank(); | ||
| 101 | |||
| 102 | //@} | ||
| 103 | /** @name Other */ | ||
| 104 | //@{ | ||
| 105 | |||
| 106 | //@} | ||
| 107 | protected: | ||
| 108 | /// @cond | ||
| 109 | using ImplType = detail::ZoneHVACDehumidifierDX_Impl; | ||
| 110 | |||
| 111 | explicit ZoneHVACDehumidifierDX(std::shared_ptr<detail::ZoneHVACDehumidifierDX_Impl> impl); | ||
| 112 | |||
| 113 | friend class detail::ZoneHVACDehumidifierDX_Impl; | ||
| 114 | friend class Model; | ||
| 115 | friend class IdfObject; | ||
| 116 | friend class openstudio::detail::IdfObject_Impl; | ||
| 117 | /// @endcond | ||
| 118 | private: | ||
| 119 | REGISTER_LOGGER("openstudio.model.ZoneHVACDehumidifierDX"); | ||
| 120 | }; | ||
| 121 | |||
| 122 | /** \relates ZoneHVACDehumidifierDX*/ | ||
| 123 | using OptionalZoneHVACDehumidifierDX = boost::optional<ZoneHVACDehumidifierDX>; | ||
| 124 | |||
| 125 | /** \relates ZoneHVACDehumidifierDX*/ | ||
| 126 | using ZoneHVACDehumidifierDXVector = std::vector<ZoneHVACDehumidifierDX>; | ||
| 127 | |||
| 128 | } // namespace model | ||
| 129 | } // namespace openstudio | ||
| 130 | |||
| 131 | #endif // MODEL_ZONEHVACDEHUMIDIFIERDX_HPP | ||
| 132 |