src/model/CoilCoolingDXVariableSpeedSpeedData.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_COILCOOLINGDXVARIABLESPEEDSPEEDDATA_HPP | ||
| 7 | #define MODEL_COILCOOLINGDXVARIABLESPEEDSPEEDDATA_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 CoilCoolingDXVariableSpeedSpeedData_Impl; | ||
| 21 | |||
| 22 | } // namespace detail | ||
| 23 | |||
| 24 | /** CoilCoolingDXVariableSpeedSpeedData is a ParentObject that wraps the OpenStudio IDD object 'OS:Coil:Cooling:DX:VariableSpeed:SpeedData'. */ | ||
| 25 | class MODEL_API CoilCoolingDXVariableSpeedSpeedData : public ParentObject | ||
| 26 | { | ||
| 27 | public: | ||
| 28 | /** @name Constructors and Destructors */ | ||
| 29 | //@{ | ||
| 30 | |||
| 31 | explicit CoilCoolingDXVariableSpeedSpeedData(const Model& model); | ||
| 32 | |||
| 33 | explicit CoilCoolingDXVariableSpeedSpeedData(const Model& model, const Curve& totalCoolingCapacityFunctionofTemperatureCurve, | ||
| 34 | const Curve& totalCoolingCapacityFunctionofAirFlowFractionCurve, | ||
| 35 | const Curve& energyInputRatioFunctionofTemperatureCurve, | ||
| 36 | const Curve& energyInputRatioFunctionofAirFlowFractionCurve); | ||
| 37 | |||
| 38 | 35 | virtual ~CoilCoolingDXVariableSpeedSpeedData() override = default; | |
| 39 | // Default the copy and move operators because the virtual dtor is explicit | ||
| 40 | 10 | CoilCoolingDXVariableSpeedSpeedData(const CoilCoolingDXVariableSpeedSpeedData& other) = default; | |
| 41 | 12 | CoilCoolingDXVariableSpeedSpeedData(CoilCoolingDXVariableSpeedSpeedData&& other) = default; | |
| 42 | ✗ | CoilCoolingDXVariableSpeedSpeedData& operator=(const CoilCoolingDXVariableSpeedSpeedData&) = default; | |
| 43 | ✗ | CoilCoolingDXVariableSpeedSpeedData& operator=(CoilCoolingDXVariableSpeedSpeedData&&) = default; | |
| 44 | |||
| 45 | //@} | ||
| 46 | |||
| 47 | static IddObjectType iddObjectType(); | ||
| 48 | |||
| 49 | /** @name Getters */ | ||
| 50 | //@{ | ||
| 51 | |||
| 52 | double referenceUnitGrossRatedTotalCoolingCapacity() const; | ||
| 53 | |||
| 54 | double referenceUnitGrossRatedSensibleHeatRatio() const; | ||
| 55 | |||
| 56 | double referenceUnitGrossRatedCoolingCOP() const; | ||
| 57 | |||
| 58 | double referenceUnitRatedAirFlowRate() const; | ||
| 59 | |||
| 60 | double ratedEvaporatorFanPowerPerVolumeFlowRate2017() const; | ||
| 61 | |||
| 62 | double ratedEvaporatorFanPowerPerVolumeFlowRate2023() const; | ||
| 63 | |||
| 64 | boost::optional<double> referenceUnitRatedCondenserAirFlowRate() const; | ||
| 65 | |||
| 66 | boost::optional<double> referenceUnitRatedPadEffectivenessofEvapPrecooling() const; | ||
| 67 | |||
| 68 | Curve totalCoolingCapacityFunctionofTemperatureCurve() const; | ||
| 69 | |||
| 70 | Curve totalCoolingCapacityFunctionofAirFlowFractionCurve() const; | ||
| 71 | |||
| 72 | Curve energyInputRatioFunctionofTemperatureCurve() const; | ||
| 73 | |||
| 74 | Curve energyInputRatioFunctionofAirFlowFractionCurve() const; | ||
| 75 | |||
| 76 | //@} | ||
| 77 | /** @name Setters */ | ||
| 78 | //@{ | ||
| 79 | |||
| 80 | bool setReferenceUnitGrossRatedTotalCoolingCapacity(double referenceUnitGrossRatedTotalCoolingCapacity); | ||
| 81 | |||
| 82 | bool setReferenceUnitGrossRatedSensibleHeatRatio(double referenceUnitGrossRatedSensibleHeatRatio); | ||
| 83 | |||
| 84 | bool setReferenceUnitGrossRatedCoolingCOP(double referenceUnitGrossRatedCoolingCOP); | ||
| 85 | |||
| 86 | bool setReferenceUnitRatedAirFlowRate(double referenceUnitRatedAirFlowRate); | ||
| 87 | |||
| 88 | bool setRatedEvaporatorFanPowerPerVolumeFlowRate2017(double ratedEvaporatorFanPowerPerVolumeFlowRate2017); | ||
| 89 | |||
| 90 | bool setRatedEvaporatorFanPowerPerVolumeFlowRate2023(double ratedEvaporatorFanPowerPerVolumeFlowRate2023); | ||
| 91 | |||
| 92 | bool setReferenceUnitRatedCondenserAirFlowRate(double referenceUnitRatedCondenserAirFlowRate); | ||
| 93 | |||
| 94 | void resetReferenceUnitRatedCondenserAirFlowRate(); | ||
| 95 | |||
| 96 | bool setReferenceUnitRatedPadEffectivenessofEvapPrecooling(double referenceUnitRatedPadEffectivenessofEvapPrecooling); | ||
| 97 | |||
| 98 | void resetReferenceUnitRatedPadEffectivenessofEvapPrecooling(); | ||
| 99 | |||
| 100 | bool setTotalCoolingCapacityFunctionofTemperatureCurve(const Curve& curve); | ||
| 101 | |||
| 102 | bool setTotalCoolingCapacityFunctionofAirFlowFractionCurve(const Curve& curve); | ||
| 103 | |||
| 104 | bool setEnergyInputRatioFunctionofTemperatureCurve(const Curve& curve); | ||
| 105 | |||
| 106 | bool setEnergyInputRatioFunctionofAirFlowFractionCurve(const Curve& curve); | ||
| 107 | |||
| 108 | //@} | ||
| 109 | /** @name Other */ | ||
| 110 | //@{ | ||
| 111 | |||
| 112 | //@} | ||
| 113 | protected: | ||
| 114 | /// @cond | ||
| 115 | using ImplType = detail::CoilCoolingDXVariableSpeedSpeedData_Impl; | ||
| 116 | |||
| 117 | explicit CoilCoolingDXVariableSpeedSpeedData(std::shared_ptr<detail::CoilCoolingDXVariableSpeedSpeedData_Impl> impl); | ||
| 118 | |||
| 119 | friend class detail::CoilCoolingDXVariableSpeedSpeedData_Impl; | ||
| 120 | friend class Model; | ||
| 121 | friend class IdfObject; | ||
| 122 | friend class openstudio::detail::IdfObject_Impl; | ||
| 123 | /// @endcond | ||
| 124 | private: | ||
| 125 | REGISTER_LOGGER("openstudio.model.CoilCoolingDXVariableSpeedSpeedData"); | ||
| 126 | }; | ||
| 127 | |||
| 128 | /** \relates CoilCoolingDXVariableSpeedSpeedData*/ | ||
| 129 | using OptionalCoilCoolingDXVariableSpeedSpeedData = boost::optional<CoilCoolingDXVariableSpeedSpeedData>; | ||
| 130 | |||
| 131 | /** \relates CoilCoolingDXVariableSpeedSpeedData*/ | ||
| 132 | using CoilCoolingDXVariableSpeedSpeedDataVector = std::vector<CoilCoolingDXVariableSpeedSpeedData>; | ||
| 133 | |||
| 134 | } // namespace model | ||
| 135 | } // namespace openstudio | ||
| 136 | |||
| 137 | #endif // MODEL_COILCOOLINGDXVARIABLESPEEDSPEEDDATA_HPP | ||
| 138 |