src/model/CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_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_COILWATERHEATINGAIRTOWATERHEATPUMPVARIABLESPEEDSPEEDDATA_IMPL_HPP | ||
| 7 | #define MODEL_COILWATERHEATINGAIRTOWATERHEATPUMPVARIABLESPEEDSPEEDDATA_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "ParentObject_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | class Curve; | ||
| 16 | |||
| 17 | namespace detail { | ||
| 18 | |||
| 19 | /** CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl is a ParentObject_Impl that is the implementation class for CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData.*/ | ||
| 20 | class MODEL_API CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl : public ParentObject_Impl | ||
| 21 | { | ||
| 22 | public: | ||
| 23 | /** @name Constructors and Destructors */ | ||
| 24 | //@{ | ||
| 25 | |||
| 26 | CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 27 | |||
| 28 | CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, | ||
| 29 | bool keepHandle); | ||
| 30 | |||
| 31 | CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl(const CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl& other, | ||
| 32 | Model_Impl* model, bool keepHandle); | ||
| 33 | |||
| 34 | 19 | virtual ~CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_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<ModelObject> children() const override; | ||
| 47 | |||
| 48 | //@} | ||
| 49 | /** @name Getters */ | ||
| 50 | //@{ | ||
| 51 | |||
| 52 | double ratedWaterHeatingCapacity() const; | ||
| 53 | |||
| 54 | double ratedWaterHeatingCOP() const; | ||
| 55 | |||
| 56 | double ratedSensibleHeatRatio() const; | ||
| 57 | |||
| 58 | double referenceUnitRatedAirFlowRate() const; | ||
| 59 | |||
| 60 | double referenceUnitRatedWaterFlowRate() const; | ||
| 61 | |||
| 62 | double referenceUnitWaterPumpInputPowerAtRatedConditions() const; | ||
| 63 | |||
| 64 | Curve totalWaterHeatingCapacityFunctionofTemperatureCurve() const; | ||
| 65 | |||
| 66 | Curve totalWaterHeatingCapacityFunctionofAirFlowFractionCurve() const; | ||
| 67 | |||
| 68 | Curve totalWaterHeatingCapacityFunctionofWaterFlowFractionCurve() const; | ||
| 69 | |||
| 70 | Curve copFunctionofTemperatureCurve() const; | ||
| 71 | |||
| 72 | Curve copFunctionofAirFlowFractionCurve() const; | ||
| 73 | |||
| 74 | Curve copFunctionofWaterFlowFractionCurve() const; | ||
| 75 | |||
| 76 | //@} | ||
| 77 | /** @name Setters */ | ||
| 78 | //@{ | ||
| 79 | |||
| 80 | bool setRatedWaterHeatingCapacity(double ratedWaterHeatingCapacity); | ||
| 81 | |||
| 82 | bool setRatedWaterHeatingCOP(double ratedWaterHeatingCOP); | ||
| 83 | |||
| 84 | bool setRatedSensibleHeatRatio(double ratedSensibleHeatRatio); | ||
| 85 | |||
| 86 | bool setReferenceUnitRatedAirFlowRate(double referenceUnitRatedAirFlowRate); | ||
| 87 | |||
| 88 | bool setReferenceUnitRatedWaterFlowRate(double referenceUnitRatedWaterFlowRate); | ||
| 89 | |||
| 90 | bool setReferenceUnitWaterPumpInputPowerAtRatedConditions(double referenceUnitWaterPumpInputPowerAtRatedConditions); | ||
| 91 | |||
| 92 | bool setTotalWaterHeatingCapacityFunctionofTemperatureCurve(const Curve& curve); | ||
| 93 | |||
| 94 | bool setTotalWaterHeatingCapacityFunctionofAirFlowFractionCurve(const Curve& curve); | ||
| 95 | |||
| 96 | bool setTotalWaterHeatingCapacityFunctionofWaterFlowFractionCurve(const Curve& curve); | ||
| 97 | |||
| 98 | bool setCOPFunctionofTemperatureCurve(const Curve& curve); | ||
| 99 | |||
| 100 | bool setCOPFunctionofAirFlowFractionCurve(const Curve& curve); | ||
| 101 | |||
| 102 | bool setCOPFunctionofWaterFlowFractionCurve(const Curve& curve); | ||
| 103 | |||
| 104 | //@} | ||
| 105 | /** @name Other */ | ||
| 106 | //@{ | ||
| 107 | |||
| 108 | //@} | ||
| 109 | protected: | ||
| 110 | private: | ||
| 111 | − | REGISTER_LOGGER("openstudio.model.CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData"); | |
| 112 | |||
| 113 | // Optional getters for use by methods like children() so can remove() if the constructor fails. | ||
| 114 | // There are other ways for the public versions of these getters to fail--perhaps all required | ||
| 115 | // objects should be returned as boost::optionals | ||
| 116 | boost::optional<Curve> optionalTotalWaterHeatingCapacityFunctionofTemperatureCurve() const; | ||
| 117 | boost::optional<Curve> optionalTotalWaterHeatingCapacityFunctionofAirFlowFractionCurve() const; | ||
| 118 | boost::optional<Curve> optionalTotalWaterHeatingCapacityFunctionofWaterFlowFractionCurve() const; | ||
| 119 | boost::optional<Curve> optionalCOPFunctionofTemperatureCurve() const; | ||
| 120 | boost::optional<Curve> optionalCOPFunctionofAirFlowFractionCurve() const; | ||
| 121 | boost::optional<Curve> optionalCOPFunctionofWaterFlowFractionCurve() const; | ||
| 122 | }; | ||
| 123 | |||
| 124 | } // namespace detail | ||
| 125 | |||
| 126 | } // namespace model | ||
| 127 | } // namespace openstudio | ||
| 128 | |||
| 129 | #endif // MODEL_COILWATERHEATINGAIRTOWATERHEATPUMPVARIABLESPEEDSPEEDDATA_IMPL_HPP | ||
| 130 |