src/model/ZoneHVACDehumidifierDX_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_ZONEHVACDEHUMIDIFIERDX_IMPL_HPP | ||
| 7 | #define MODEL_ZONEHVACDEHUMIDIFIERDX_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "ZoneHVACComponent_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | class Schedule; | ||
| 16 | class Curve; | ||
| 17 | // class WaterStorageTank; | ||
| 18 | |||
| 19 | namespace detail { | ||
| 20 | |||
| 21 | /** ZoneHVACDehumidifierDX_Impl is a ZoneHVACComponent_Impl that is the implementation class for ZoneHVACDehumidifierDX.*/ | ||
| 22 | class MODEL_API ZoneHVACDehumidifierDX_Impl : public ZoneHVACComponent_Impl | ||
| 23 | { | ||
| 24 | public: | ||
| 25 | /** @name Constructors and Destructors */ | ||
| 26 | //@{ | ||
| 27 | |||
| 28 | ZoneHVACDehumidifierDX_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 29 | |||
| 30 | ZoneHVACDehumidifierDX_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 31 | |||
| 32 | ZoneHVACDehumidifierDX_Impl(const ZoneHVACDehumidifierDX_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 33 | |||
| 34 | 2 | virtual ~ZoneHVACDehumidifierDX_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 std::vector<ScheduleTypeKey> getScheduleTypeKeys(const Schedule& schedule) const override; | ||
| 45 | |||
| 46 | virtual std::vector<ModelObject> children() const override; | ||
| 47 | |||
| 48 | virtual unsigned inletPort() const override; | ||
| 49 | |||
| 50 | virtual unsigned outletPort() const override; | ||
| 51 | |||
| 52 | virtual ComponentType componentType() const override; | ||
| 53 | virtual std::vector<FuelType> coolingFuelTypes() const override; | ||
| 54 | virtual std::vector<FuelType> heatingFuelTypes() const override; | ||
| 55 | virtual std::vector<AppGFuelType> appGHeatingFuelTypes() const override; | ||
| 56 | |||
| 57 | //@} | ||
| 58 | /** @name Getters */ | ||
| 59 | //@{ | ||
| 60 | |||
| 61 | Schedule availabilitySchedule() const; | ||
| 62 | |||
| 63 | double ratedWaterRemoval() const; | ||
| 64 | |||
| 65 | double ratedEnergyFactor() const; | ||
| 66 | |||
| 67 | double ratedAirFlowRate() const; | ||
| 68 | |||
| 69 | Curve waterRemovalCurve() const; | ||
| 70 | |||
| 71 | Curve energyFactorCurve() const; | ||
| 72 | |||
| 73 | Curve partLoadFractionCorrelationCurve() const; | ||
| 74 | |||
| 75 | double minimumDryBulbTemperatureforDehumidifierOperation() const; | ||
| 76 | |||
| 77 | double maximumDryBulbTemperatureforDehumidifierOperation() const; | ||
| 78 | |||
| 79 | double offCycleParasiticElectricLoad() const; | ||
| 80 | |||
| 81 | // boost::optional<WaterStorageTank> condensateCollectionWaterStorageTank() const; | ||
| 82 | |||
| 83 | //@} | ||
| 84 | /** @name Setters */ | ||
| 85 | //@{ | ||
| 86 | |||
| 87 | bool setAvailabilitySchedule(Schedule& schedule); | ||
| 88 | |||
| 89 | bool setRatedWaterRemoval(double ratedWaterRemoval); | ||
| 90 | |||
| 91 | bool setRatedEnergyFactor(double ratedEnergyFactor); | ||
| 92 | |||
| 93 | bool setRatedAirFlowRate(double ratedAirFlowRate); | ||
| 94 | |||
| 95 | bool setWaterRemovalCurve(const Curve& curve); | ||
| 96 | |||
| 97 | bool setEnergyFactorCurve(const Curve& curve); | ||
| 98 | |||
| 99 | bool setPartLoadFractionCorrelationCurve(const Curve& curve); | ||
| 100 | |||
| 101 | bool setMinimumDryBulbTemperatureforDehumidifierOperation(double minimumDryBulbTemperatureforDehumidifierOperation); | ||
| 102 | |||
| 103 | bool setMaximumDryBulbTemperatureforDehumidifierOperation(double maximumDryBulbTemperatureforDehumidifierOperation); | ||
| 104 | |||
| 105 | bool setOffCycleParasiticElectricLoad(double offCycleParasiticElectricLoad); | ||
| 106 | |||
| 107 | // bool setCondensateCollectionWaterStorageTank(const boost::optional<WaterStorageTank>& waterStorageTank); | ||
| 108 | |||
| 109 | // void resetCondensateCollectionWaterStorageTank(); | ||
| 110 | |||
| 111 | //@} | ||
| 112 | /** @name Other */ | ||
| 113 | //@{ | ||
| 114 | |||
| 115 | ModelObject clone(Model model) const override; | ||
| 116 | |||
| 117 | //@} | ||
| 118 | protected: | ||
| 119 | private: | ||
| 120 | − | REGISTER_LOGGER("openstudio.model.ZoneHVACDehumidifierDX"); | |
| 121 | |||
| 122 | // Optional getters for use by methods like children() so can remove() if the constructor fails. | ||
| 123 | // There are other ways for the public versions of these getters to fail--perhaps all required | ||
| 124 | // objects should be returned as boost::optionals | ||
| 125 | boost::optional<Schedule> optionalAvailabilitySchedule() const; | ||
| 126 | boost::optional<Curve> optionalWaterRemovalCurve() const; | ||
| 127 | boost::optional<Curve> optionalEnergyFactorCurve() const; | ||
| 128 | boost::optional<Curve> optionalPartLoadFractionCorrelationCurve() const; | ||
| 129 | }; | ||
| 130 | |||
| 131 | } // namespace detail | ||
| 132 | |||
| 133 | } // namespace model | ||
| 134 | } // namespace openstudio | ||
| 135 | |||
| 136 | #endif // MODEL_ZONEHVACDEHUMIDIFIERDX_IMPL_HPP | ||
| 137 |