src/model/EvaporativeCoolerIndirectResearchSpecial_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_EVAPORATIVECOOLERINDIRECTRESEARCHSPECIAL_IMPL_HPP | ||
| 7 | #define MODEL_EVAPORATIVECOOLERINDIRECTRESEARCHSPECIAL_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "StraightComponent_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | class Schedule; | ||
| 16 | class Curve; | ||
| 17 | |||
| 18 | namespace detail { | ||
| 19 | |||
| 20 | /** EvaporativeCoolerIndirectResearchSpecial_Impl is a StraightComponent_Impl that is the implementation class for EvaporativeCoolerIndirectResearchSpecial.*/ | ||
| 21 | class MODEL_API EvaporativeCoolerIndirectResearchSpecial_Impl : public StraightComponent_Impl | ||
| 22 | { | ||
| 23 | public: | ||
| 24 | /** @name Constructors and Destructors */ | ||
| 25 | //@{ | ||
| 26 | |||
| 27 | EvaporativeCoolerIndirectResearchSpecial_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 28 | |||
| 29 | EvaporativeCoolerIndirectResearchSpecial_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 30 | |||
| 31 | EvaporativeCoolerIndirectResearchSpecial_Impl(const EvaporativeCoolerIndirectResearchSpecial_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 32 | |||
| 33 | 14 | virtual ~EvaporativeCoolerIndirectResearchSpecial_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 std::vector<ScheduleTypeKey> getScheduleTypeKeys(const Schedule& schedule) const override; | ||
| 44 | |||
| 45 | virtual ComponentType componentType() const override; | ||
| 46 | virtual std::vector<FuelType> coolingFuelTypes() const override; | ||
| 47 | virtual std::vector<FuelType> heatingFuelTypes() const override; | ||
| 48 | virtual std::vector<AppGFuelType> appGHeatingFuelTypes() const override; | ||
| 49 | |||
| 50 | //@} | ||
| 51 | /** @name Getters */ | ||
| 52 | //@{ | ||
| 53 | |||
| 54 | // TODO: Check return type. From object lists, some candidates are: Schedule. | ||
| 55 | boost::optional<Schedule> availabilitySchedule() const; | ||
| 56 | |||
| 57 | double coolerMaximumEffectiveness() const; | ||
| 58 | |||
| 59 | boost::optional<double> recirculatingWaterPumpPowerConsumption() const; | ||
| 60 | |||
| 61 | bool isRecirculatingWaterPumpPowerConsumptionAutosized() const; | ||
| 62 | |||
| 63 | boost::optional<double> secondaryFanFlowRate() const; | ||
| 64 | |||
| 65 | bool isSecondaryFanFlowRateAutosized() const; | ||
| 66 | |||
| 67 | double secondaryFanTotalEfficiency() const; | ||
| 68 | |||
| 69 | double secondaryFanDeltaPressure() const; | ||
| 70 | |||
| 71 | double dewpointEffectivenessFactor() const; | ||
| 72 | |||
| 73 | boost::optional<double> driftLossFraction() const; | ||
| 74 | |||
| 75 | boost::optional<double> blowdownConcentrationRatio() const; | ||
| 76 | |||
| 77 | boost::optional<Curve> wetbulbEffectivenessFlowRatioModifierCurve() const; | ||
| 78 | |||
| 79 | boost::optional<double> coolerDrybulbDesignEffectiveness() const; | ||
| 80 | |||
| 81 | boost::optional<Curve> drybulbEffectivenessFlowRatioModifierCurve() const; | ||
| 82 | |||
| 83 | double waterPumpPowerSizingFactor() const; | ||
| 84 | |||
| 85 | boost::optional<Curve> waterPumpPowerModifierCurve() const; | ||
| 86 | |||
| 87 | double secondaryAirFlowScalingFactor() const; | ||
| 88 | |||
| 89 | boost::optional<double> secondaryAirFanDesignPower() const; | ||
| 90 | |||
| 91 | bool isSecondaryAirFanDesignPowerAutosized() const; | ||
| 92 | |||
| 93 | boost::optional<Curve> secondaryAirFanPowerModifierCurve() const; | ||
| 94 | |||
| 95 | boost::optional<double> primaryDesignAirFlowRate() const; | ||
| 96 | |||
| 97 | bool isPrimaryDesignAirFlowRateAutosized() const; | ||
| 98 | |||
| 99 | boost::optional<double> autosizedRecirculatingWaterPumpPowerConsumption() const; | ||
| 100 | |||
| 101 | boost::optional<double> autosizedSecondaryFanFlowRate() const; | ||
| 102 | |||
| 103 | boost::optional<double> autosizedSecondaryAirFanDesignPower() const; | ||
| 104 | |||
| 105 | boost::optional<double> autosizedPrimaryDesignAirFlowRate() const; | ||
| 106 | |||
| 107 | virtual void autosize() override; | ||
| 108 | |||
| 109 | virtual void applySizingValues() override; | ||
| 110 | |||
| 111 | // TODO: Water Supply Storage Tank Name | ||
| 112 | |||
| 113 | //@} | ||
| 114 | /** @name Setters */ | ||
| 115 | //@{ | ||
| 116 | |||
| 117 | bool setAvailabilitySchedule(Schedule& schedule); | ||
| 118 | |||
| 119 | void resetAvailabilitySchedule(); | ||
| 120 | |||
| 121 | bool setCoolerMaximumEffectiveness(double coolerMaximumEffectiveness); | ||
| 122 | |||
| 123 | bool setRecirculatingWaterPumpPowerConsumption(double recirculatingWaterPumpPowerConsumption); | ||
| 124 | |||
| 125 | void autosizeRecirculatingWaterPumpPowerConsumption(); | ||
| 126 | |||
| 127 | bool setSecondaryFanFlowRate(boost::optional<double> secondaryFanFlowRate); | ||
| 128 | |||
| 129 | void resetSecondaryFanFlowRate(); | ||
| 130 | |||
| 131 | void autosizeSecondaryFanFlowRate(); | ||
| 132 | |||
| 133 | bool setSecondaryFanTotalEfficiency(double secondaryFanTotalEfficiency); | ||
| 134 | |||
| 135 | bool setSecondaryFanDeltaPressure(double secondaryFanDeltaPressure); | ||
| 136 | |||
| 137 | bool setDewpointEffectivenessFactor(double dewpointEffectivenessFactor); | ||
| 138 | |||
| 139 | bool setDriftLossFraction(boost::optional<double> driftLossFraction); | ||
| 140 | |||
| 141 | void resetDriftLossFraction(); | ||
| 142 | |||
| 143 | bool setBlowdownConcentrationRatio(boost::optional<double> blowdownConcentrationRatio); | ||
| 144 | |||
| 145 | void resetBlowdownConcentrationRatio(); | ||
| 146 | |||
| 147 | bool setWetbulbEffectivenessFlowRatioModifierCurve(const boost::optional<Curve>& curve); | ||
| 148 | |||
| 149 | void resetWetbulbEffectivenessFlowRatioModifierCurve(); | ||
| 150 | |||
| 151 | bool setCoolerDrybulbDesignEffectiveness(boost::optional<double> coolerDrybulbDesignEffectiveness); | ||
| 152 | |||
| 153 | void resetCoolerDrybulbDesignEffectiveness(); | ||
| 154 | |||
| 155 | bool setDrybulbEffectivenessFlowRatioModifierCurve(const boost::optional<Curve>& curve); | ||
| 156 | |||
| 157 | void resetDrybulbEffectivenessFlowRatioModifierCurve(); | ||
| 158 | |||
| 159 | bool setWaterPumpPowerSizingFactor(double waterPumpPowerSizingFactor); | ||
| 160 | |||
| 161 | bool setWaterPumpPowerModifierCurve(const boost::optional<Curve>& curve); | ||
| 162 | |||
| 163 | void resetWaterPumpPowerModifierCurve(); | ||
| 164 | |||
| 165 | bool setSecondaryAirFlowScalingFactor(double secondaryAirFlowScalingFactor); | ||
| 166 | |||
| 167 | bool setSecondaryAirFanDesignPower(boost::optional<double> secondaryAirFanDesignPower); | ||
| 168 | |||
| 169 | void autosizeSecondaryAirFanDesignPower(); | ||
| 170 | |||
| 171 | bool setSecondaryAirFanPowerModifierCurve(const boost::optional<Curve>& curve); | ||
| 172 | |||
| 173 | void resetSecondaryAirFanPowerModifierCurve(); | ||
| 174 | |||
| 175 | bool setPrimaryDesignAirFlowRate(boost::optional<double> primaryDesignAirFlowRate); | ||
| 176 | |||
| 177 | void resetPrimaryDesignAirFlowRate(); | ||
| 178 | |||
| 179 | void autosizePrimaryDesignAirFlowRate(); | ||
| 180 | |||
| 181 | //@} | ||
| 182 | /** @name Other */ | ||
| 183 | //@{ | ||
| 184 | virtual unsigned inletPort() const override; | ||
| 185 | |||
| 186 | virtual unsigned outletPort() const override; | ||
| 187 | |||
| 188 | bool addToNode(Node& node) override; | ||
| 189 | |||
| 190 | bool setReliefAirInletNode(const Node& node); | ||
| 191 | |||
| 192 | boost::optional<Node> reliefAirInletNode() const; | ||
| 193 | |||
| 194 | //@} | ||
| 195 | protected: | ||
| 196 | private: | ||
| 197 | REGISTER_LOGGER("openstudio.model.EvaporativeCoolerIndirectResearchSpecial"); | ||
| 198 | |||
| 199 | virtual boost::optional<ZoneHVACComponent> containingZoneHVACComponent() const override; | ||
| 200 | }; | ||
| 201 | |||
| 202 | } // namespace detail | ||
| 203 | |||
| 204 | } // namespace model | ||
| 205 | } // namespace openstudio | ||
| 206 | |||
| 207 | #endif // MODEL_EVAPORATIVECOOLERINDIRECTRESEARCHSPECIAL_IMPL_HPP | ||
| 208 |