src/model/CoilWaterHeatingAirToWaterHeatPumpWrapped_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_COILWATERHEATINGAIRTOWATERHEATPUMPWRAPPED_IMPL_HPP | ||
| 7 | #define MODEL_COILWATERHEATINGAIRTOWATERHEATPUMPWRAPPED_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "ModelObject_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | class Curve; | ||
| 16 | |||
| 17 | namespace detail { | ||
| 18 | |||
| 19 | /** CoilWaterHeatingAirToWaterHeatPumpWrapped_Impl is a ModelObject_Impl that is the implementation class for CoilWaterHeatingAirToWaterHeatPumpWrapped.*/ | ||
| 20 | class MODEL_API CoilWaterHeatingAirToWaterHeatPumpWrapped_Impl : public ModelObject_Impl | ||
| 21 | { | ||
| 22 | public: | ||
| 23 | /** @name Constructors and Destructors */ | ||
| 24 | //@{ | ||
| 25 | |||
| 26 | CoilWaterHeatingAirToWaterHeatPumpWrapped_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 27 | |||
| 28 | CoilWaterHeatingAirToWaterHeatPumpWrapped_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 29 | |||
| 30 | CoilWaterHeatingAirToWaterHeatPumpWrapped_Impl(const CoilWaterHeatingAirToWaterHeatPumpWrapped_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 31 | |||
| 32 | 21 | virtual ~CoilWaterHeatingAirToWaterHeatPumpWrapped_Impl() override = default; | |
| 33 | |||
| 34 | //@} | ||
| 35 | /** @name Virtual Methods */ | ||
| 36 | //@{ | ||
| 37 | |||
| 38 | virtual const std::vector<std::string>& outputVariableNames() const override; | ||
| 39 | |||
| 40 | virtual IddObjectType iddObjectType() const override; | ||
| 41 | |||
| 42 | virtual std::vector<ScheduleTypeKey> getScheduleTypeKeys(const Schedule& schedule) const override; | ||
| 43 | |||
| 44 | // TODO: This is NOT an HVACComponent | ||
| 45 | // virtual ComponentType componentType() const override; | ||
| 46 | // virtual std::vector<FuelType> coolingFuelTypes() const override; | ||
| 47 | // virtual std::vector<FuelType> heatingFuelTypes() const override; | ||
| 48 | // virtual std::vector<AppGFuelType> appGHeatingFuelTypes() const override; | ||
| 49 | |||
| 50 | //@} | ||
| 51 | /** @name Getters */ | ||
| 52 | //@{ | ||
| 53 | |||
| 54 | Schedule availabilitySchedule() const; | ||
| 55 | |||
| 56 | double ratedHeatingCapacity() const; | ||
| 57 | |||
| 58 | double ratedCOP() const; | ||
| 59 | |||
| 60 | double ratedSensibleHeatRatio() const; | ||
| 61 | |||
| 62 | double ratedEvaporatorInletAirDryBulbTemperature() const; | ||
| 63 | |||
| 64 | double ratedEvaporatorInletAirWetBulbTemperature() const; | ||
| 65 | |||
| 66 | double ratedCondenserWaterTemperature() const; | ||
| 67 | |||
| 68 | boost::optional<double> ratedEvaporatorAirFlowRate() const; | ||
| 69 | |||
| 70 | bool isRatedEvaporatorAirFlowRateAutocalculated() const; | ||
| 71 | |||
| 72 | bool evaporatorFanPowerIncludedinRatedCOP() const; | ||
| 73 | |||
| 74 | double crankcaseHeaterCapacity() const; | ||
| 75 | |||
| 76 | boost::optional<Curve> crankcaseHeaterCapacityFunctionofTemperatureCurve() const; | ||
| 77 | |||
| 78 | double maximumAmbientTemperatureforCrankcaseHeaterOperation() const; | ||
| 79 | |||
| 80 | std::string evaporatorAirTemperatureTypeforCurveObjects() const; | ||
| 81 | |||
| 82 | Curve heatingCapacityFunctionofTemperatureCurve() const; | ||
| 83 | |||
| 84 | Curve heatingCapacityFunctionofAirFlowFractionCurve() const; | ||
| 85 | |||
| 86 | Curve heatingCOPFunctionofTemperatureCurve() const; | ||
| 87 | |||
| 88 | Curve heatingCOPFunctionofAirFlowFractionCurve() const; | ||
| 89 | |||
| 90 | Curve partLoadFractionCorrelationCurve() const; | ||
| 91 | |||
| 92 | //@} | ||
| 93 | /** @name Setters */ | ||
| 94 | //@{ | ||
| 95 | |||
| 96 | bool setAvailabilitySchedule(Schedule& schedule); | ||
| 97 | |||
| 98 | bool setRatedHeatingCapacity(double ratedHeatingCapacity); | ||
| 99 | |||
| 100 | bool setRatedCOP(double ratedCOP); | ||
| 101 | |||
| 102 | bool setRatedSensibleHeatRatio(double ratedSensibleHeatRatio); | ||
| 103 | |||
| 104 | bool setRatedEvaporatorInletAirDryBulbTemperature(double ratedEvaporatorInletAirDryBulbTemperature); | ||
| 105 | |||
| 106 | bool setRatedEvaporatorInletAirWetBulbTemperature(double ratedEvaporatorInletAirWetBulbTemperature); | ||
| 107 | |||
| 108 | bool setRatedCondenserWaterTemperature(double ratedCondenserWaterTemperature); | ||
| 109 | |||
| 110 | bool setRatedEvaporatorAirFlowRate(boost::optional<double> ratedEvaporatorAirFlowRate); | ||
| 111 | |||
| 112 | void autocalculateRatedEvaporatorAirFlowRate(); | ||
| 113 | |||
| 114 | bool setEvaporatorFanPowerIncludedinRatedCOP(bool evaporatorFanPowerIncludedinRatedCOP); | ||
| 115 | |||
| 116 | bool setCrankcaseHeaterCapacity(double crankcaseHeaterCapacity); | ||
| 117 | |||
| 118 | bool setCrankcaseHeaterCapacityFunctionofTemperatureCurve(const Curve& curve); | ||
| 119 | void resetCrankcaseHeaterCapacityFunctionofTemperatureCurve(); | ||
| 120 | |||
| 121 | bool setMaximumAmbientTemperatureforCrankcaseHeaterOperation(double maximumAmbientTemperatureforCrankcaseHeaterOperation); | ||
| 122 | |||
| 123 | bool setEvaporatorAirTemperatureTypeforCurveObjects(const std::string& evaporatorAirTemperatureTypeforCurveObjects); | ||
| 124 | |||
| 125 | bool setHeatingCapacityFunctionofTemperatureCurve(const Curve& curve); | ||
| 126 | |||
| 127 | bool setHeatingCapacityFunctionofAirFlowFractionCurve(const Curve& curve); | ||
| 128 | |||
| 129 | bool setHeatingCOPFunctionofTemperatureCurve(const Curve& curve); | ||
| 130 | |||
| 131 | bool setHeatingCOPFunctionofAirFlowFractionCurve(const Curve& curve); | ||
| 132 | |||
| 133 | bool setPartLoadFractionCorrelationCurve(const Curve& curve); | ||
| 134 | |||
| 135 | //@} | ||
| 136 | /** @name Other */ | ||
| 137 | //@{ | ||
| 138 | |||
| 139 | //@} | ||
| 140 | protected: | ||
| 141 | private: | ||
| 142 | − | REGISTER_LOGGER("openstudio.model.CoilWaterHeatingAirToWaterHeatPumpWrapped"); | |
| 143 | |||
| 144 | boost::optional<Schedule> optionalAvailabilitySchedule() const; | ||
| 145 | boost::optional<Curve> optionalHeatingCapacityFunctionofTemperatureCurve() const; | ||
| 146 | boost::optional<Curve> optionalHeatingCapacityFunctionofAirFlowFractionCurve() const; | ||
| 147 | boost::optional<Curve> optionalHeatingCOPFunctionofTemperatureCurve() const; | ||
| 148 | boost::optional<Curve> optionalHeatingCOPFunctionofAirFlowFractionCurve() const; | ||
| 149 | boost::optional<Curve> optionalPartLoadFractionCorrelationCurve() const; | ||
| 150 | }; | ||
| 151 | |||
| 152 | } // namespace detail | ||
| 153 | |||
| 154 | } // namespace model | ||
| 155 | } // namespace openstudio | ||
| 156 | |||
| 157 | #endif // MODEL_COILWATERHEATINGAIRTOWATERHEATPUMPWRAPPED_IMPL_HPP | ||
| 158 |