src/model/CoilCoolingWaterToAirHeatPumpEquationFit_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_COILCOOLINGWATERTOAIRHEATPUMPEQUATIONFIT_IMPL_HPP | ||
| 7 | #define MODEL_COILCOOLINGWATERTOAIRHEATPUMPEQUATIONFIT_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "WaterToAirComponent_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | class Curve; | ||
| 16 | |||
| 17 | namespace detail { | ||
| 18 | |||
| 19 | class MODEL_API CoilCoolingWaterToAirHeatPumpEquationFit_Impl : public WaterToAirComponent_Impl | ||
| 20 | { | ||
| 21 | |||
| 22 | public: | ||
| 23 | /** @name Constructors and Destructors */ | ||
| 24 | |||
| 25 | CoilCoolingWaterToAirHeatPumpEquationFit_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 26 | |||
| 27 | CoilCoolingWaterToAirHeatPumpEquationFit_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 28 | |||
| 29 | CoilCoolingWaterToAirHeatPumpEquationFit_Impl(const CoilCoolingWaterToAirHeatPumpEquationFit_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 30 | |||
| 31 | 48 | virtual ~CoilCoolingWaterToAirHeatPumpEquationFit_Impl() override = default; | |
| 32 | |||
| 33 | //@} | ||
| 34 | /** @name Virtual Methods */ | ||
| 35 | //@{ | ||
| 36 | |||
| 37 | virtual ModelObject clone(Model model) const override; | ||
| 38 | |||
| 39 | virtual std::vector<IdfObject> remove() override; | ||
| 40 | |||
| 41 | virtual const std::vector<std::string>& outputVariableNames() const override; | ||
| 42 | |||
| 43 | virtual IddObjectType iddObjectType() const override; | ||
| 44 | |||
| 45 | virtual std::vector<ScheduleTypeKey> getScheduleTypeKeys(const Schedule& schedule) const override; | ||
| 46 | |||
| 47 | //virtual bool addToNode(Node & node); | ||
| 48 | |||
| 49 | virtual unsigned airInletPort() const override; | ||
| 50 | |||
| 51 | virtual unsigned airOutletPort() const override; | ||
| 52 | |||
| 53 | virtual unsigned waterInletPort() const override; | ||
| 54 | |||
| 55 | virtual unsigned waterOutletPort() const override; | ||
| 56 | |||
| 57 | virtual std::vector<ModelObject> children() const override; | ||
| 58 | |||
| 59 | virtual boost::optional<ZoneHVACComponent> containingZoneHVACComponent() const override; | ||
| 60 | |||
| 61 | virtual ComponentType componentType() const override; | ||
| 62 | virtual std::vector<FuelType> coolingFuelTypes() const override; | ||
| 63 | virtual std::vector<FuelType> heatingFuelTypes() const override; | ||
| 64 | virtual std::vector<AppGFuelType> appGHeatingFuelTypes() const override; | ||
| 65 | |||
| 66 | //@} | ||
| 67 | /** @name Getters */ | ||
| 68 | //@{ | ||
| 69 | |||
| 70 | Schedule availabilitySchedule() const; | ||
| 71 | |||
| 72 | boost::optional<double> ratedAirFlowRate() const; | ||
| 73 | |||
| 74 | bool isRatedAirFlowRateDefaulted() const; | ||
| 75 | |||
| 76 | bool isRatedAirFlowRateAutosized() const; | ||
| 77 | |||
| 78 | boost::optional<double> ratedWaterFlowRate() const; | ||
| 79 | |||
| 80 | bool isRatedWaterFlowRateDefaulted() const; | ||
| 81 | |||
| 82 | bool isRatedWaterFlowRateAutosized() const; | ||
| 83 | |||
| 84 | boost::optional<double> ratedTotalCoolingCapacity() const; | ||
| 85 | |||
| 86 | bool isRatedTotalCoolingCapacityDefaulted() const; | ||
| 87 | |||
| 88 | bool isRatedTotalCoolingCapacityAutosized() const; | ||
| 89 | |||
| 90 | boost::optional<double> ratedSensibleCoolingCapacity() const; | ||
| 91 | |||
| 92 | bool isRatedSensibleCoolingCapacityDefaulted() const; | ||
| 93 | |||
| 94 | bool isRatedSensibleCoolingCapacityAutosized() const; | ||
| 95 | |||
| 96 | double ratedCoolingCoefficientofPerformance() const; | ||
| 97 | |||
| 98 | bool isRatedCoolingCoefficientofPerformanceDefaulted() const; | ||
| 99 | |||
| 100 | double ratedEnteringWaterTemperature() const; | ||
| 101 | |||
| 102 | double ratedEnteringAirDryBulbTemperature() const; | ||
| 103 | |||
| 104 | double ratedEnteringAirWetBulbTemperature() const; | ||
| 105 | |||
| 106 | Curve totalCoolingCapacityCurve() const; | ||
| 107 | |||
| 108 | Curve sensibleCoolingCapacityCurve() const; | ||
| 109 | |||
| 110 | Curve coolingPowerConsumptionCurve() const; | ||
| 111 | |||
| 112 | Curve partLoadFractionCorrelationCurve() const; | ||
| 113 | |||
| 114 | double nominalTimeforCondensateRemovaltoBegin() const; | ||
| 115 | |||
| 116 | bool isNominalTimeforCondensateRemovaltoBeginDefaulted() const; | ||
| 117 | |||
| 118 | double ratioofInitialMoistureEvaporationRateandSteadyStateLatentCapacity() const; | ||
| 119 | |||
| 120 | bool isRatioofInitialMoistureEvaporationRateandSteadyStateLatentCapacityDefaulted() const; | ||
| 121 | |||
| 122 | double maximumCyclingRate() const; | ||
| 123 | double latentCapacityTimeConstant() const; | ||
| 124 | double fanDelayTime() const; | ||
| 125 | |||
| 126 | boost::optional<double> autosizedRatedAirFlowRate() const; | ||
| 127 | |||
| 128 | boost::optional<double> autosizedRatedWaterFlowRate() const; | ||
| 129 | |||
| 130 | boost::optional<double> autosizedRatedTotalCoolingCapacity() const; | ||
| 131 | |||
| 132 | boost::optional<double> autosizedRatedSensibleCoolingCapacity() const; | ||
| 133 | |||
| 134 | virtual void autosize() override; | ||
| 135 | |||
| 136 | virtual void applySizingValues() override; | ||
| 137 | |||
| 138 | //@} | ||
| 139 | /** @name Setters */ | ||
| 140 | //@{ | ||
| 141 | |||
| 142 | bool setAvailabilitySchedule(Schedule& schedule); | ||
| 143 | |||
| 144 | bool setRatedAirFlowRate(boost::optional<double> ratedAirFlowRate); | ||
| 145 | |||
| 146 | void resetRatedAirFlowRate(); | ||
| 147 | |||
| 148 | void autosizeRatedAirFlowRate(); | ||
| 149 | |||
| 150 | bool setRatedWaterFlowRate(boost::optional<double> ratedWaterFlowRate); | ||
| 151 | |||
| 152 | void resetRatedWaterFlowRate(); | ||
| 153 | |||
| 154 | void autosizeRatedWaterFlowRate(); | ||
| 155 | |||
| 156 | bool setRatedTotalCoolingCapacity(boost::optional<double> ratedTotalCoolingCapacity); | ||
| 157 | |||
| 158 | void resetRatedTotalCoolingCapacity(); | ||
| 159 | |||
| 160 | void autosizeRatedTotalCoolingCapacity(); | ||
| 161 | |||
| 162 | bool setRatedSensibleCoolingCapacity(boost::optional<double> ratedSensibleCoolingCapacity); | ||
| 163 | |||
| 164 | void resetRatedSensibleCoolingCapacity(); | ||
| 165 | |||
| 166 | void autosizeRatedSensibleCoolingCapacity(); | ||
| 167 | |||
| 168 | bool setRatedCoolingCoefficientofPerformance(double ratedCoolingCoefficientofPerformance); | ||
| 169 | |||
| 170 | bool setRatedEnteringWaterTemperature(double ratedEnteringAirDryBulbTemperature); | ||
| 171 | |||
| 172 | bool setRatedEnteringAirDryBulbTemperature(double ratedEnteringAirDryBulbTemperature); | ||
| 173 | |||
| 174 | bool setRatedEnteringAirWetBulbTemperature(double ratedEnteringAirWetBulbTemperature); | ||
| 175 | |||
| 176 | bool setTotalCoolingCapacityCurve(const Curve& totalCoolingCapacityCurve); | ||
| 177 | |||
| 178 | bool setSensibleCoolingCapacityCurve(const Curve& sensibleCoolingCapacityCurve); | ||
| 179 | |||
| 180 | bool setCoolingPowerConsumptionCurve(const Curve& coolingPowerConsumptionCurve); | ||
| 181 | |||
| 182 | bool setNominalTimeforCondensateRemovaltoBegin(double nominalTimeforCondensateRemovaltoBegin); | ||
| 183 | |||
| 184 | void resetNominalTimeforCondensateRemovaltoBegin(); | ||
| 185 | |||
| 186 | bool setPartLoadFractionCorrelationCurve(const Curve& partLoadFractionCorrelationCurve); | ||
| 187 | |||
| 188 | bool setRatioofInitialMoistureEvaporationRateandSteadyStateLatentCapacity( | ||
| 189 | double ratioofInitialMoistureEvaporationRateandSteadyStateLatentCapacity); | ||
| 190 | |||
| 191 | void resetRatioofInitialMoistureEvaporationRateandSteadyStateLatentCapacity(); | ||
| 192 | |||
| 193 | bool setMaximumCyclingRate(double maximumCyclingRate); | ||
| 194 | bool setLatentCapacityTimeConstant(double latentCapacityTimeConstant); | ||
| 195 | bool setFanDelayTime(double fanDelayTime); | ||
| 196 | |||
| 197 | //@} | ||
| 198 | /** @name Other */ | ||
| 199 | //@{ | ||
| 200 | |||
| 201 | void setConstructorSharedDefaults(const Model& model); | ||
| 202 | |||
| 203 | AirflowNetworkEquivalentDuct getAirflowNetworkEquivalentDuct(double length, double diameter); | ||
| 204 | |||
| 205 | boost::optional<AirflowNetworkEquivalentDuct> airflowNetworkEquivalentDuct() const; | ||
| 206 | |||
| 207 | //@} | ||
| 208 | protected: | ||
| 209 | private: | ||
| 210 | − | REGISTER_LOGGER("openstudio.model.CoilCoolingWaterToAirHeatPumpEquationFit"); | |
| 211 | |||
| 212 | boost::optional<Schedule> optionalAvailabilitySchedule() const; | ||
| 213 | boost::optional<Curve> optionalTotalCoolingCapacityCurve() const; | ||
| 214 | boost::optional<Curve> optionalSensibleCoolingCapacityCurve() const; | ||
| 215 | boost::optional<Curve> optionalCoolingPowerConsumptionCurve() const; | ||
| 216 | boost::optional<Curve> optionalPartLoadFractionCorrelationCurve() const; | ||
| 217 | |||
| 218 | virtual boost::optional<HVACComponent> containingHVACComponent() const override; | ||
| 219 | }; | ||
| 220 | |||
| 221 | } // namespace detail | ||
| 222 | |||
| 223 | } // namespace model | ||
| 224 | } // namespace openstudio | ||
| 225 | |||
| 226 | #endif // MODEL_COILCOOLINGWATERTOAIRHEATPUMPEQUATIONFIT_IMPL_HPP | ||
| 227 |