src/model/CoilCoolingDXCurveFitSpeed.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_COILCOOLINGDXCURVEFITSPEED_HPP | ||
| 7 | #define MODEL_COILCOOLINGDXCURVEFITSPEED_HPP | ||
| 8 | |||
| 9 | #include <model/ModelAPI.hpp> | ||
| 10 | #include "ResourceObject.hpp" | ||
| 11 | #include "../utilities/core/Deprecated.hpp" | ||
| 12 | |||
| 13 | namespace openstudio { | ||
| 14 | |||
| 15 | namespace model { | ||
| 16 | |||
| 17 | class Curve; | ||
| 18 | class CoilCoolingDXCurveFitOperatingMode; | ||
| 19 | |||
| 20 | namespace detail { | ||
| 21 | |||
| 22 | class CoilCoolingDXCurveFitSpeed_Impl; | ||
| 23 | |||
| 24 | } // namespace detail | ||
| 25 | |||
| 26 | /** CoilCoolingDXCurveFitSpeed is a ResourceObject that wraps the OpenStudio IDD object 'OS:Coil:Cooling:DX:CurveFit:Speed'. */ | ||
| 27 | class MODEL_API CoilCoolingDXCurveFitSpeed : public ResourceObject | ||
| 28 | { | ||
| 29 | public: | ||
| 30 | /** @name Constructors and Destructors */ | ||
| 31 | //@{ | ||
| 32 | |||
| 33 | explicit CoilCoolingDXCurveFitSpeed(const Model& model); | ||
| 34 | |||
| 35 | 1462 | virtual ~CoilCoolingDXCurveFitSpeed() override = default; | |
| 36 | // Default the copy and move operators because the virtual dtor is explicit | ||
| 37 | 333 | CoilCoolingDXCurveFitSpeed(const CoilCoolingDXCurveFitSpeed& other) = default; | |
| 38 | 728 | CoilCoolingDXCurveFitSpeed(CoilCoolingDXCurveFitSpeed&& other) = default; | |
| 39 | ✗ | CoilCoolingDXCurveFitSpeed& operator=(const CoilCoolingDXCurveFitSpeed&) = default; | |
| 40 | 14 | CoilCoolingDXCurveFitSpeed& operator=(CoilCoolingDXCurveFitSpeed&&) = default; | |
| 41 | |||
| 42 | //@} | ||
| 43 | |||
| 44 | static IddObjectType iddObjectType(); | ||
| 45 | |||
| 46 | /** @name Getters */ | ||
| 47 | //@{ | ||
| 48 | |||
| 49 | double grossTotalCoolingCapacityFraction() const; | ||
| 50 | |||
| 51 | double evaporatorAirFlowRateFraction() const; | ||
| 52 | |||
| 53 | double condenserAirFlowRateFraction() const; | ||
| 54 | |||
| 55 | boost::optional<double> grossSensibleHeatRatio() const; | ||
| 56 | |||
| 57 | bool isGrossSensibleHeatRatioAutosized() const; | ||
| 58 | |||
| 59 | double grossCoolingCOP() const; | ||
| 60 | |||
| 61 | double activeFractionofCoilFaceArea() const; | ||
| 62 | |||
| 63 | OS_DEPRECATED(3, 5, 0) double ratedEvaporatorFanPowerPerVolumeFlowRate() const; | ||
| 64 | |||
| 65 | double ratedEvaporatorFanPowerPerVolumeFlowRate2017() const; | ||
| 66 | |||
| 67 | double ratedEvaporatorFanPowerPerVolumeFlowRate2023() const; | ||
| 68 | |||
| 69 | double evaporativeCondenserPumpPowerFraction() const; | ||
| 70 | |||
| 71 | double evaporativeCondenserEffectiveness() const; | ||
| 72 | |||
| 73 | boost::optional<Curve> totalCoolingCapacityModifierFunctionofTemperatureCurve() const; | ||
| 74 | |||
| 75 | boost::optional<Curve> totalCoolingCapacityModifierFunctionofAirFlowFractionCurve() const; | ||
| 76 | |||
| 77 | boost::optional<Curve> energyInputRatioModifierFunctionofTemperatureCurve() const; | ||
| 78 | |||
| 79 | boost::optional<Curve> energyInputRatioModifierFunctionofAirFlowFractionCurve() const; | ||
| 80 | |||
| 81 | boost::optional<Curve> partLoadFractionCorrelationCurve() const; | ||
| 82 | |||
| 83 | boost::optional<Curve> wasteHeatModifierFunctionofTemperatureCurve() const; | ||
| 84 | |||
| 85 | double ratedWasteHeatFractionofPowerInput() const; | ||
| 86 | |||
| 87 | boost::optional<Curve> sensibleHeatRatioModifierFunctionofTemperatureCurve() const; | ||
| 88 | |||
| 89 | boost::optional<Curve> sensibleHeatRatioModifierFunctionofFlowFractionCurve() const; | ||
| 90 | |||
| 91 | std::vector<CoilCoolingDXCurveFitOperatingMode> coilCoolingDXCurveFitOperatingModes() const; | ||
| 92 | |||
| 93 | //@} | ||
| 94 | /** @name Setters */ | ||
| 95 | //@{ | ||
| 96 | |||
| 97 | bool setGrossTotalCoolingCapacityFraction(double grossTotalCoolingCapacityFraction); | ||
| 98 | |||
| 99 | bool setEvaporatorAirFlowRateFraction(double evaporatorAirFlowRateFraction); | ||
| 100 | |||
| 101 | bool setCondenserAirFlowRateFraction(double condenserAirFlowRateFraction); | ||
| 102 | |||
| 103 | bool setGrossSensibleHeatRatio(double grossSensibleHeatRatio); | ||
| 104 | |||
| 105 | void autosizeGrossSensibleHeatRatio(); | ||
| 106 | |||
| 107 | bool setGrossCoolingCOP(double grossCoolingCOP); | ||
| 108 | |||
| 109 | bool setActiveFractionofCoilFaceArea(double activeFractionofCoilFaceArea); | ||
| 110 | |||
| 111 | OS_DEPRECATED(3, 5, 0) bool setRatedEvaporatorFanPowerPerVolumeFlowRate(double ratedEvaporatorFanPowerPerVolumeFlowRate); | ||
| 112 | |||
| 113 | bool setRatedEvaporatorFanPowerPerVolumeFlowRate2017(double ratedEvaporatorFanPowerPerVolumeFlowRate2017); | ||
| 114 | |||
| 115 | bool setRatedEvaporatorFanPowerPerVolumeFlowRate2023(double ratedEvaporatorFanPowerPerVolumeFlowRate2023); | ||
| 116 | |||
| 117 | bool setEvaporativeCondenserPumpPowerFraction(double evaporativeCondenserPumpPowerFraction); | ||
| 118 | |||
| 119 | bool setEvaporativeCondenserEffectiveness(double evaporativeCondenserEffectiveness); | ||
| 120 | |||
| 121 | bool setTotalCoolingCapacityModifierFunctionofTemperatureCurve(const Curve& curve); | ||
| 122 | void resetTotalCoolingCapacityModifierFunctionofTemperatureCurve(); | ||
| 123 | |||
| 124 | bool setTotalCoolingCapacityModifierFunctionofAirFlowFractionCurve(const Curve& curve); | ||
| 125 | void resetTotalCoolingCapacityModifierFunctionofAirFlowFractionCurve(); | ||
| 126 | |||
| 127 | bool setEnergyInputRatioModifierFunctionofTemperatureCurve(const Curve& curve); | ||
| 128 | void resetEnergyInputRatioModifierFunctionofTemperatureCurve(); | ||
| 129 | |||
| 130 | bool setEnergyInputRatioModifierFunctionofAirFlowFractionCurve(const Curve& curve); | ||
| 131 | void resetEnergyInputRatioModifierFunctionofAirFlowFractionCurve(); | ||
| 132 | |||
| 133 | bool setPartLoadFractionCorrelationCurve(const Curve& curve); | ||
| 134 | void resetPartLoadFractionCorrelationCurve(); | ||
| 135 | |||
| 136 | bool setWasteHeatModifierFunctionofTemperatureCurve(const Curve& curve); | ||
| 137 | void resetWasteHeatModifierFunctionofTemperatureCurve(); | ||
| 138 | |||
| 139 | bool setRatedWasteHeatFractionofPowerInput(double ratedWasteHeatFractionofPowerInput); | ||
| 140 | |||
| 141 | bool setSensibleHeatRatioModifierFunctionofTemperatureCurve(const Curve& curve); | ||
| 142 | void resetSensibleHeatRatioModifierFunctionofTemperatureCurve(); | ||
| 143 | |||
| 144 | bool setSensibleHeatRatioModifierFunctionofFlowFractionCurve(const Curve& curve); | ||
| 145 | void resetSensibleHeatRatioModifierFunctionofFlowFractionCurve(); | ||
| 146 | |||
| 147 | //@} | ||
| 148 | /** @name Other */ | ||
| 149 | //@{ | ||
| 150 | |||
| 151 | boost::optional<double> autosizedGrossSensibleHeatRatio() const; | ||
| 152 | |||
| 153 | void autosize(); | ||
| 154 | |||
| 155 | void applySizingValues(); | ||
| 156 | |||
| 157 | //@} | ||
| 158 | protected: | ||
| 159 | /// @cond | ||
| 160 | using ImplType = detail::CoilCoolingDXCurveFitSpeed_Impl; | ||
| 161 | |||
| 162 | explicit CoilCoolingDXCurveFitSpeed(std::shared_ptr<detail::CoilCoolingDXCurveFitSpeed_Impl> impl); | ||
| 163 | |||
| 164 | friend class detail::CoilCoolingDXCurveFitSpeed_Impl; | ||
| 165 | friend class Model; | ||
| 166 | friend class IdfObject; | ||
| 167 | friend class openstudio::detail::IdfObject_Impl; | ||
| 168 | /// @endcond | ||
| 169 | private: | ||
| 170 | − | REGISTER_LOGGER("openstudio.model.CoilCoolingDXCurveFitSpeed"); | |
| 171 | }; | ||
| 172 | |||
| 173 | /** \relates CoilCoolingDXCurveFitSpeed*/ | ||
| 174 | using OptionalCoilCoolingDXCurveFitSpeed = boost::optional<CoilCoolingDXCurveFitSpeed>; | ||
| 175 | |||
| 176 | /** \relates CoilCoolingDXCurveFitSpeed*/ | ||
| 177 | using CoilCoolingDXCurveFitSpeedVector = std::vector<CoilCoolingDXCurveFitSpeed>; | ||
| 178 | |||
| 179 | } // namespace model | ||
| 180 | } // namespace openstudio | ||
| 181 | |||
| 182 | #endif // MODEL_COILCOOLINGDXCURVEFITSPEED_HPP | ||
| 183 |