src/model/CoilHeatingDXVariableSpeedSpeedData_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_COILHEATINGDXVARIABLESPEEDSPEEDDATA_IMPL_HPP | ||
| 7 | #define MODEL_COILHEATINGDXVARIABLESPEEDSPEEDDATA_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 | /** CoilHeatingDXVariableSpeedSpeedData_Impl is a ParentObject_Impl that is the implementation class for CoilHeatingDXVariableSpeedSpeedData.*/ | ||
| 20 | class MODEL_API CoilHeatingDXVariableSpeedSpeedData_Impl : public ParentObject_Impl | ||
| 21 | { | ||
| 22 | public: | ||
| 23 | /** @name Constructors and Destructors */ | ||
| 24 | //@{ | ||
| 25 | |||
| 26 | CoilHeatingDXVariableSpeedSpeedData_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 27 | |||
| 28 | CoilHeatingDXVariableSpeedSpeedData_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 29 | |||
| 30 | CoilHeatingDXVariableSpeedSpeedData_Impl(const CoilHeatingDXVariableSpeedSpeedData_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 31 | |||
| 32 | 9 | virtual ~CoilHeatingDXVariableSpeedSpeedData_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 ModelObject clone(Model model) const override; | ||
| 43 | |||
| 44 | virtual std::vector<ModelObject> children() const override; | ||
| 45 | |||
| 46 | //@} | ||
| 47 | /** @name Getters */ | ||
| 48 | //@{ | ||
| 49 | |||
| 50 | double referenceUnitGrossRatedHeatingCapacity() const; | ||
| 51 | |||
| 52 | double referenceUnitGrossRatedHeatingCOP() const; | ||
| 53 | |||
| 54 | double referenceUnitRatedAirFlowRate() const; | ||
| 55 | |||
| 56 | double ratedSupplyFanPowerPerVolumeFlowRate2017() const; | ||
| 57 | |||
| 58 | double ratedSupplyFanPowerPerVolumeFlowRate2023() const; | ||
| 59 | |||
| 60 | Curve heatingCapacityFunctionofTemperatureCurve() const; | ||
| 61 | |||
| 62 | Curve totalHeatingCapacityFunctionofAirFlowFractionCurve() const; | ||
| 63 | |||
| 64 | Curve energyInputRatioFunctionofTemperatureCurve() const; | ||
| 65 | |||
| 66 | Curve energyInputRatioFunctionofAirFlowFractionCurve() const; | ||
| 67 | |||
| 68 | //@} | ||
| 69 | /** @name Setters */ | ||
| 70 | //@{ | ||
| 71 | |||
| 72 | bool setReferenceUnitGrossRatedHeatingCapacity(double referenceUnitGrossRatedHeatingCapacity); | ||
| 73 | |||
| 74 | bool setReferenceUnitGrossRatedHeatingCOP(double referenceUnitGrossRatedHeatingCOP); | ||
| 75 | |||
| 76 | bool setReferenceUnitRatedAirFlowRate(double referenceUnitRatedAirFlowRate); | ||
| 77 | |||
| 78 | bool setRatedSupplyFanPowerPerVolumeFlowRate2017(double ratedSupplyFanPowerPerVolumeFlowRate2017); | ||
| 79 | |||
| 80 | bool setRatedSupplyFanPowerPerVolumeFlowRate2023(double ratedSupplyFanPowerPerVolumeFlowRate2023); | ||
| 81 | |||
| 82 | bool setHeatingCapacityFunctionofTemperatureCurve(const Curve& curve); | ||
| 83 | |||
| 84 | bool setTotalHeatingCapacityFunctionofAirFlowFractionCurve(const Curve& curve); | ||
| 85 | |||
| 86 | bool setEnergyInputRatioFunctionofTemperatureCurve(const Curve& curve); | ||
| 87 | |||
| 88 | bool setEnergyInputRatioFunctionofAirFlowFractionCurve(const Curve& curve); | ||
| 89 | |||
| 90 | //@} | ||
| 91 | /** @name Other */ | ||
| 92 | //@{ | ||
| 93 | |||
| 94 | //@} | ||
| 95 | protected: | ||
| 96 | private: | ||
| 97 | − | REGISTER_LOGGER("openstudio.model.CoilHeatingDXVariableSpeedSpeedData"); | |
| 98 | |||
| 99 | // Optional getters for use by methods like children() so can remove() if the constructor fails. | ||
| 100 | // There are other ways for the public versions of these getters to fail--perhaps all required | ||
| 101 | // objects should be returned as boost::optionals | ||
| 102 | boost::optional<Curve> optionalHeatingCapacityFunctionofTemperatureCurve() const; | ||
| 103 | boost::optional<Curve> optionalTotalHeatingCapacityFunctionofAirFlowFractionCurve() const; | ||
| 104 | boost::optional<Curve> optionalEnergyInputRatioFunctionofTemperatureCurve() const; | ||
| 105 | boost::optional<Curve> optionalEnergyInputRatioFunctionofAirFlowFractionCurve() const; | ||
| 106 | }; | ||
| 107 | |||
| 108 | } // namespace detail | ||
| 109 | |||
| 110 | } // namespace model | ||
| 111 | } // namespace openstudio | ||
| 112 | |||
| 113 | #endif // MODEL_COILHEATINGDXVARIABLESPEEDSPEEDDATA_IMPL_HPP | ||
| 114 |