src/model/CoilCoolingDXCurveFitSpeed_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_COILCOOLINGDXCURVEFITSPEED_IMPL_HPP | ||
| 7 | #define MODEL_COILCOOLINGDXCURVEFITSPEED_IMPL_HPP | ||
| 8 | |||
| 9 | #include <model/ModelAPI.hpp> | ||
| 10 | #include "ResourceObject_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | class Curve; | ||
| 16 | class CoilCoolingDXCurveFitOperatingMode; | ||
| 17 | |||
| 18 | namespace detail { | ||
| 19 | |||
| 20 | /** CoilCoolingDXCurveFitSpeed_Impl is a ResourceObject_Impl that is the implementation class for CoilCoolingDXCurveFitSpeed.*/ | ||
| 21 | class MODEL_API CoilCoolingDXCurveFitSpeed_Impl : public ResourceObject_Impl | ||
| 22 | { | ||
| 23 | public: | ||
| 24 | /** @name Constructors and Destructors */ | ||
| 25 | //@{ | ||
| 26 | |||
| 27 | CoilCoolingDXCurveFitSpeed_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 28 | |||
| 29 | CoilCoolingDXCurveFitSpeed_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 30 | |||
| 31 | CoilCoolingDXCurveFitSpeed_Impl(const CoilCoolingDXCurveFitSpeed_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 32 | |||
| 33 | 59 | virtual ~CoilCoolingDXCurveFitSpeed_Impl() override = default; | |
| 34 | |||
| 35 | //@} | ||
| 36 | /** @name Virtual Methods */ | ||
| 37 | //@{ | ||
| 38 | |||
| 39 | virtual const std::vector<std::string>& outputVariableNames() const override; | ||
| 40 | |||
| 41 | virtual IddObjectType iddObjectType() const override; | ||
| 42 | |||
| 43 | virtual ModelObject clone(Model model) const override; | ||
| 44 | |||
| 45 | virtual std::vector<ModelObject> children() const override; | ||
| 46 | |||
| 47 | // If this object is used by any CoilCoolingDXCurveFitOperatingMode, remove the corresponding extensible group to avoid having 'blanks' | ||
| 48 | virtual std::vector<IdfObject> remove() override; | ||
| 49 | |||
| 50 | //@} | ||
| 51 | /** @name Getters */ | ||
| 52 | //@{ | ||
| 53 | |||
| 54 | double grossTotalCoolingCapacityFraction() const; | ||
| 55 | |||
| 56 | double evaporatorAirFlowRateFraction() const; | ||
| 57 | |||
| 58 | double condenserAirFlowRateFraction() const; | ||
| 59 | |||
| 60 | boost::optional<double> grossSensibleHeatRatio() const; | ||
| 61 | |||
| 62 | bool isGrossSensibleHeatRatioAutosized() const; | ||
| 63 | |||
| 64 | double grossCoolingCOP() const; | ||
| 65 | |||
| 66 | double activeFractionofCoilFaceArea() const; | ||
| 67 | |||
| 68 | double ratedEvaporatorFanPowerPerVolumeFlowRate2017() const; | ||
| 69 | |||
| 70 | double ratedEvaporatorFanPowerPerVolumeFlowRate2023() const; | ||
| 71 | |||
| 72 | double evaporativeCondenserPumpPowerFraction() const; | ||
| 73 | |||
| 74 | double evaporativeCondenserEffectiveness() const; | ||
| 75 | |||
| 76 | boost::optional<Curve> totalCoolingCapacityModifierFunctionofTemperatureCurve() const; | ||
| 77 | |||
| 78 | boost::optional<Curve> totalCoolingCapacityModifierFunctionofAirFlowFractionCurve() const; | ||
| 79 | |||
| 80 | boost::optional<Curve> energyInputRatioModifierFunctionofTemperatureCurve() const; | ||
| 81 | |||
| 82 | boost::optional<Curve> energyInputRatioModifierFunctionofAirFlowFractionCurve() const; | ||
| 83 | |||
| 84 | boost::optional<Curve> partLoadFractionCorrelationCurve() const; | ||
| 85 | |||
| 86 | boost::optional<Curve> wasteHeatModifierFunctionofTemperatureCurve() const; | ||
| 87 | |||
| 88 | double ratedWasteHeatFractionofPowerInput() const; | ||
| 89 | |||
| 90 | boost::optional<Curve> sensibleHeatRatioModifierFunctionofTemperatureCurve() const; | ||
| 91 | |||
| 92 | boost::optional<Curve> sensibleHeatRatioModifierFunctionofFlowFractionCurve() const; | ||
| 93 | |||
| 94 | std::vector<CoilCoolingDXCurveFitOperatingMode> coilCoolingDXCurveFitOperatingModes() const; | ||
| 95 | |||
| 96 | //@} | ||
| 97 | /** @name Setters */ | ||
| 98 | //@{ | ||
| 99 | |||
| 100 | bool setGrossTotalCoolingCapacityFraction(double grossTotalCoolingCapacityFraction); | ||
| 101 | |||
| 102 | bool setEvaporatorAirFlowRateFraction(double evaporatorAirFlowRateFraction); | ||
| 103 | |||
| 104 | bool setCondenserAirFlowRateFraction(double condenserAirFlowRateFraction); | ||
| 105 | |||
| 106 | bool setGrossSensibleHeatRatio(double grossSensibleHeatRatio); | ||
| 107 | void autosizeGrossSensibleHeatRatio(); | ||
| 108 | |||
| 109 | bool setGrossCoolingCOP(double grossCoolingCOP); | ||
| 110 | |||
| 111 | bool setActiveFractionofCoilFaceArea(double activeFractionofCoilFaceArea); | ||
| 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 | private: | ||
| 160 | REGISTER_LOGGER("openstudio.model.CoilCoolingDXCurveFitSpeed"); | ||
| 161 | }; | ||
| 162 | |||
| 163 | } // namespace detail | ||
| 164 | |||
| 165 | } // namespace model | ||
| 166 | } // namespace openstudio | ||
| 167 | |||
| 168 | #endif // MODEL_COILCOOLINGDXCURVEFITSPEED_IMPL_HPP | ||
| 169 |