src/model/CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData.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_COILHEATINGWATERTOAIRHEATPUMPVARIABLESPEEDEQUATIONFITSPEEDDATA_HPP | ||
| 7 | #define MODEL_COILHEATINGWATERTOAIRHEATPUMPVARIABLESPEEDEQUATIONFITSPEEDDATA_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "ParentObject.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | |||
| 14 | namespace model { | ||
| 15 | |||
| 16 | class Curve; | ||
| 17 | |||
| 18 | namespace detail { | ||
| 19 | |||
| 20 | class CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData_Impl; | ||
| 21 | |||
| 22 | } // namespace detail | ||
| 23 | |||
| 24 | /** CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData is a ParentObject that wraps the OpenStudio IDD object 'OS:Coil:Heating:WaterToAirHeatPump:VariableSpeedEquationFit:SpeedData'. */ | ||
| 25 | class MODEL_API CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData : public ParentObject | ||
| 26 | { | ||
| 27 | public: | ||
| 28 | /** @name Constructors and Destructors */ | ||
| 29 | //@{ | ||
| 30 | |||
| 31 | explicit CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData(const Model& model); | ||
| 32 | |||
| 33 | explicit CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData(const Model& model, const Curve& heatingCapacityFunctionofTemperature, | ||
| 34 | const Curve& totalHeatingCapacityFunctionofAirFlowFraction, | ||
| 35 | const Curve& heatingCapacityFunctionofWaterFlowFraction, | ||
| 36 | const Curve& energyInputRatioFunctionofTemperature, | ||
| 37 | const Curve& energyInputRatioFunctionofAirFlowFraction, | ||
| 38 | const Curve& energyInputRatioFunctionofWaterFlowFraction, | ||
| 39 | const Curve& wasteHeatFunctionofTemperature); | ||
| 40 | |||
| 41 | 136 | virtual ~CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData() override = default; | |
| 42 | // Default the copy and move operators because the virtual dtor is explicit | ||
| 43 | 40 | CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData(const CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData& other) = | |
| 44 | default; | ||
| 45 | 57 | CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData(CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData&& other) = default; | |
| 46 | CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData& | ||
| 47 | ✗ | operator=(const CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData&) = default; | |
| 48 | CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData& | ||
| 49 | ✗ | operator=(CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData&&) = default; | |
| 50 | |||
| 51 | //@} | ||
| 52 | |||
| 53 | static IddObjectType iddObjectType(); | ||
| 54 | |||
| 55 | /** @name Getters */ | ||
| 56 | //@{ | ||
| 57 | |||
| 58 | double referenceUnitGrossRatedHeatingCapacity() const; | ||
| 59 | |||
| 60 | double referenceUnitGrossRatedHeatingCOP() const; | ||
| 61 | |||
| 62 | double referenceUnitRatedAirFlow() const; | ||
| 63 | |||
| 64 | double referenceUnitRatedWaterFlowRate() const; | ||
| 65 | |||
| 66 | Curve heatingCapacityFunctionofTemperatureCurve() const; | ||
| 67 | |||
| 68 | Curve totalHeatingCapacityFunctionofAirFlowFractionCurve() const; | ||
| 69 | |||
| 70 | Curve heatingCapacityFunctionofWaterFlowFractionCurve() const; | ||
| 71 | |||
| 72 | Curve energyInputRatioFunctionofTemperatureCurve() const; | ||
| 73 | |||
| 74 | Curve energyInputRatioFunctionofAirFlowFractionCurve() const; | ||
| 75 | |||
| 76 | Curve energyInputRatioFunctionofWaterFlowFractionCurve() const; | ||
| 77 | |||
| 78 | double referenceUnitWasteHeatFractionofInputPowerAtRatedConditions() const; | ||
| 79 | |||
| 80 | Curve wasteHeatFunctionofTemperatureCurve() const; | ||
| 81 | |||
| 82 | //@} | ||
| 83 | /** @name Setters */ | ||
| 84 | //@{ | ||
| 85 | |||
| 86 | bool setReferenceUnitGrossRatedHeatingCapacity(double referenceUnitGrossRatedHeatingCapacity); | ||
| 87 | |||
| 88 | bool setReferenceUnitGrossRatedHeatingCOP(double referenceUnitGrossRatedHeatingCOP); | ||
| 89 | |||
| 90 | bool setReferenceUnitRatedAirFlow(double referenceUnitRatedAirFlow); | ||
| 91 | |||
| 92 | bool setReferenceUnitRatedWaterFlowRate(double referenceUnitRatedWaterFlowRate); | ||
| 93 | |||
| 94 | bool setHeatingCapacityFunctionofTemperatureCurve(const Curve& curve); | ||
| 95 | |||
| 96 | bool setTotalHeatingCapacityFunctionofAirFlowFractionCurve(const Curve& curve); | ||
| 97 | |||
| 98 | bool setHeatingCapacityFunctionofWaterFlowFractionCurve(const Curve& curve); | ||
| 99 | |||
| 100 | bool setEnergyInputRatioFunctionofTemperatureCurve(const Curve& curve); | ||
| 101 | |||
| 102 | bool setEnergyInputRatioFunctionofAirFlowFractionCurve(const Curve& curve); | ||
| 103 | |||
| 104 | bool setEnergyInputRatioFunctionofWaterFlowFractionCurve(const Curve& curve); | ||
| 105 | |||
| 106 | bool setReferenceUnitWasteHeatFractionofInputPowerAtRatedConditions(double referenceUnitWasteHeatFractionofInputPowerAtRatedConditions); | ||
| 107 | |||
| 108 | bool setWasteHeatFunctionofTemperatureCurve(const Curve& curve); | ||
| 109 | |||
| 110 | //@} | ||
| 111 | /** @name Other */ | ||
| 112 | //@{ | ||
| 113 | |||
| 114 | //@} | ||
| 115 | protected: | ||
| 116 | /// @cond | ||
| 117 | using ImplType = detail::CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData_Impl; | ||
| 118 | |||
| 119 | explicit CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData( | ||
| 120 | std::shared_ptr<detail::CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData_Impl> impl); | ||
| 121 | |||
| 122 | friend class detail::CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData_Impl; | ||
| 123 | friend class Model; | ||
| 124 | friend class IdfObject; | ||
| 125 | friend class openstudio::detail::IdfObject_Impl; | ||
| 126 | /// @endcond | ||
| 127 | private: | ||
| 128 | REGISTER_LOGGER("openstudio.model.CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData"); | ||
| 129 | }; | ||
| 130 | |||
| 131 | /** \relates CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData*/ | ||
| 132 | using OptionalCoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData = | ||
| 133 | boost::optional<CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData>; | ||
| 134 | |||
| 135 | /** \relates CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData*/ | ||
| 136 | using CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedDataVector = | ||
| 137 | std::vector<CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData>; | ||
| 138 | |||
| 139 | } // namespace model | ||
| 140 | } // namespace openstudio | ||
| 141 | |||
| 142 | #endif // MODEL_COILHEATINGWATERTOAIRHEATPUMPVARIABLESPEEDEQUATIONFITSPEEDDATA_HPP | ||
| 143 |