src/model/AirConditionerVariableRefrigerantFlowFluidTemperatureControl_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_AIRCONDITIONERVARIABLEREFRIGERANTFLOWFLUIDTEMPERATURECONTROL_IMPL_HPP | ||
| 7 | #define MODEL_AIRCONDITIONERVARIABLEREFRIGERANTFLOWFLUIDTEMPERATURECONTROL_IMPL_HPP | ||
| 8 | |||
| 9 | #include <model/ModelAPI.hpp> | ||
| 10 | #include "HVACComponent_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | class Schedule; | ||
| 16 | class Curve; | ||
| 17 | class ThermalZone; | ||
| 18 | class ModelObjectList; | ||
| 19 | class ZoneHVACTerminalUnitVariableRefrigerantFlow; | ||
| 20 | class LoadingIndex; | ||
| 21 | |||
| 22 | namespace detail { | ||
| 23 | |||
| 24 | /** AirConditionerVariableRefrigerantFlowFluidTemperatureControl_Impl is a HVACComponent_Impl that is the implementation class for AirConditionerVariableRefrigerantFlowFluidTemperatureControl.*/ | ||
| 25 | class MODEL_API AirConditionerVariableRefrigerantFlowFluidTemperatureControl_Impl : public HVACComponent_Impl | ||
| 26 | { | ||
| 27 | public: | ||
| 28 | /** @name Constructors and Destructors */ | ||
| 29 | //@{ | ||
| 30 | |||
| 31 | AirConditionerVariableRefrigerantFlowFluidTemperatureControl_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 32 | |||
| 33 | AirConditionerVariableRefrigerantFlowFluidTemperatureControl_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, | ||
| 34 | bool keepHandle); | ||
| 35 | |||
| 36 | AirConditionerVariableRefrigerantFlowFluidTemperatureControl_Impl( | ||
| 37 | const AirConditionerVariableRefrigerantFlowFluidTemperatureControl_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 38 | |||
| 39 | 17 | virtual ~AirConditionerVariableRefrigerantFlowFluidTemperatureControl_Impl() {} | |
| 40 | |||
| 41 | //@} | ||
| 42 | /** @name Virtual Methods */ | ||
| 43 | //@{ | ||
| 44 | |||
| 45 | virtual const std::vector<std::string>& outputVariableNames() const override; | ||
| 46 | |||
| 47 | virtual IddObjectType iddObjectType() const override; | ||
| 48 | |||
| 49 | virtual std::vector<ScheduleTypeKey> getScheduleTypeKeys(const Schedule& schedule) const override; | ||
| 50 | |||
| 51 | virtual ModelObject clone(Model model) const override; | ||
| 52 | |||
| 53 | virtual std::vector<openstudio::IdfObject> remove() override; | ||
| 54 | |||
| 55 | virtual bool addToNode(Node& node) override; | ||
| 56 | |||
| 57 | virtual std::vector<ModelObject> children() const override; | ||
| 58 | |||
| 59 | virtual void autosize() override; | ||
| 60 | |||
| 61 | virtual void applySizingValues() override; | ||
| 62 | |||
| 63 | virtual std::vector<EMSActuatorNames> emsActuatorNames() const override; | ||
| 64 | |||
| 65 | virtual std::vector<std::string> emsInternalVariableNames() const override; | ||
| 66 | |||
| 67 | virtual ComponentType componentType() const override; | ||
| 68 | virtual std::vector<FuelType> coolingFuelTypes() const override; | ||
| 69 | virtual std::vector<FuelType> heatingFuelTypes() const override; | ||
| 70 | virtual std::vector<AppGFuelType> appGHeatingFuelTypes() const override; | ||
| 71 | |||
| 72 | //@} | ||
| 73 | /** @name Getters */ | ||
| 74 | //@{ | ||
| 75 | |||
| 76 | Schedule availabilitySchedule() const; | ||
| 77 | |||
| 78 | std::string refrigerantType() const; | ||
| 79 | |||
| 80 | boost::optional<double> ratedEvaporativeCapacity() const; | ||
| 81 | |||
| 82 | bool isRatedEvaporativeCapacityAutosized() const; | ||
| 83 | |||
| 84 | boost::optional<double> autosizedRatedEvaporativeCapacity(); | ||
| 85 | |||
| 86 | double ratedCompressorPowerPerUnitofRatedEvaporativeCapacity() const; | ||
| 87 | |||
| 88 | double minimumOutdoorAirTemperatureinCoolingMode() const; | ||
| 89 | |||
| 90 | double maximumOutdoorAirTemperatureinCoolingMode() const; | ||
| 91 | |||
| 92 | double minimumOutdoorAirTemperatureinHeatingMode() const; | ||
| 93 | |||
| 94 | double maximumOutdoorAirTemperatureinHeatingMode() const; | ||
| 95 | |||
| 96 | double referenceOutdoorUnitSuperheating() const; | ||
| 97 | |||
| 98 | double referenceOutdoorUnitSubcooling() const; | ||
| 99 | |||
| 100 | std::string refrigerantTemperatureControlAlgorithmforIndoorUnit() const; | ||
| 101 | |||
| 102 | double referenceEvaporatingTemperatureforIndoorUnit() const; | ||
| 103 | |||
| 104 | double referenceCondensingTemperatureforIndoorUnit() const; | ||
| 105 | |||
| 106 | double variableEvaporatingTemperatureMinimumforIndoorUnit() const; | ||
| 107 | |||
| 108 | double variableEvaporatingTemperatureMaximumforIndoorUnit() const; | ||
| 109 | |||
| 110 | double variableCondensingTemperatureMinimumforIndoorUnit() const; | ||
| 111 | |||
| 112 | double variableCondensingTemperatureMaximumforIndoorUnit() const; | ||
| 113 | |||
| 114 | double outdoorUnitFanPowerPerUnitofRatedEvaporativeCapacity() const; | ||
| 115 | |||
| 116 | double outdoorUnitFanFlowRatePerUnitofRatedEvaporativeCapacity() const; | ||
| 117 | |||
| 118 | Curve outdoorUnitEvaporatingTemperatureFunctionofSuperheatingCurve() const; | ||
| 119 | |||
| 120 | Curve outdoorUnitCondensingTemperatureFunctionofSubcoolingCurve() const; | ||
| 121 | |||
| 122 | double diameterofMainPipeConnectingOutdoorUnittotheFirstBranchJoint() const; | ||
| 123 | |||
| 124 | double lengthofMainPipeConnectingOutdoorUnittotheFirstBranchJoint() const; | ||
| 125 | |||
| 126 | double equivalentLengthofMainPipeConnectingOutdoorUnittotheFirstBranchJoint() const; | ||
| 127 | |||
| 128 | double heightDifferenceBetweenOutdoorUnitandIndoorUnits() const; | ||
| 129 | |||
| 130 | double mainPipeInsulationThickness() const; | ||
| 131 | |||
| 132 | double mainPipeInsulationThermalConductivity() const; | ||
| 133 | |||
| 134 | double crankcaseHeaterPowerperCompressor() const; | ||
| 135 | |||
| 136 | int numberofCompressors() const; | ||
| 137 | |||
| 138 | double ratioofCompressorSizetoTotalCompressorCapacity() const; | ||
| 139 | |||
| 140 | double maximumOutdoorDryBulbTemperatureforCrankcaseHeater() const; | ||
| 141 | |||
| 142 | std::string defrostStrategy() const; | ||
| 143 | |||
| 144 | std::string defrostControl() const; | ||
| 145 | |||
| 146 | boost::optional<Curve> defrostEnergyInputRatioModifierFunctionofTemperatureCurve() const; | ||
| 147 | |||
| 148 | double defrostTimePeriodFraction() const; | ||
| 149 | |||
| 150 | boost::optional<double> resistiveDefrostHeaterCapacity() const; | ||
| 151 | |||
| 152 | bool isResistiveDefrostHeaterCapacityAutosized() const; | ||
| 153 | |||
| 154 | boost::optional<double> autosizedResistiveDefrostHeaterCapacity(); | ||
| 155 | |||
| 156 | double maximumOutdoorDrybulbTemperatureforDefrostOperation() const; | ||
| 157 | |||
| 158 | double compressorMaximumDeltaPressure() const; | ||
| 159 | |||
| 160 | //@} | ||
| 161 | /** @name Setters */ | ||
| 162 | //@{ | ||
| 163 | |||
| 164 | bool setAvailabilitySchedule(Schedule& schedule); | ||
| 165 | |||
| 166 | bool setRefrigerantType(const std::string& refrigerantType); | ||
| 167 | |||
| 168 | bool setRatedEvaporativeCapacity(double ratedEvaporativeCapacity); | ||
| 169 | |||
| 170 | void autosizeRatedEvaporativeCapacity(); | ||
| 171 | |||
| 172 | bool setRatedCompressorPowerPerUnitofRatedEvaporativeCapacity(double ratedCompressorPowerPerUnitofRatedEvaporativeCapacity); | ||
| 173 | |||
| 174 | bool setMinimumOutdoorAirTemperatureinCoolingMode(double minimumOutdoorAirTemperatureinCoolingMode); | ||
| 175 | |||
| 176 | bool setMaximumOutdoorAirTemperatureinCoolingMode(double maximumOutdoorAirTemperatureinCoolingMode); | ||
| 177 | |||
| 178 | bool setMinimumOutdoorAirTemperatureinHeatingMode(double minimumOutdoorAirTemperatureinHeatingMode); | ||
| 179 | |||
| 180 | bool setMaximumOutdoorAirTemperatureinHeatingMode(double maximumOutdoorAirTemperatureinHeatingMode); | ||
| 181 | |||
| 182 | bool setReferenceOutdoorUnitSuperheating(double referenceOutdoorUnitSuperheating); | ||
| 183 | |||
| 184 | bool setReferenceOutdoorUnitSubcooling(double referenceOutdoorUnitSubcooling); | ||
| 185 | |||
| 186 | bool setRefrigerantTemperatureControlAlgorithmforIndoorUnit(const std::string& refrigerantTemperatureControlAlgorithmforIndoorUnit); | ||
| 187 | |||
| 188 | bool setReferenceEvaporatingTemperatureforIndoorUnit(double referenceEvaporatingTemperatureforIndoorUnit); | ||
| 189 | |||
| 190 | bool setReferenceCondensingTemperatureforIndoorUnit(double referenceCondensingTemperatureforIndoorUnit); | ||
| 191 | |||
| 192 | bool setVariableEvaporatingTemperatureMinimumforIndoorUnit(double variableEvaporatingTemperatureMinimumforIndoorUnit); | ||
| 193 | |||
| 194 | bool setVariableEvaporatingTemperatureMaximumforIndoorUnit(double variableEvaporatingTemperatureMaximumforIndoorUnit); | ||
| 195 | |||
| 196 | bool setVariableCondensingTemperatureMinimumforIndoorUnit(double variableCondensingTemperatureMinimumforIndoorUnit); | ||
| 197 | |||
| 198 | bool setVariableCondensingTemperatureMaximumforIndoorUnit(double variableCondensingTemperatureMaximumforIndoorUnit); | ||
| 199 | |||
| 200 | bool setOutdoorUnitFanPowerPerUnitofRatedEvaporativeCapacity(double outdoorUnitFanPowerPerUnitofRatedEvaporativeCapacity); | ||
| 201 | |||
| 202 | bool setOutdoorUnitFanFlowRatePerUnitofRatedEvaporativeCapacity(double outdoorUnitFanFlowRatePerUnitofRatedEvaporativeCapacity); | ||
| 203 | |||
| 204 | bool setOutdoorUnitEvaporatingTemperatureFunctionofSuperheatingCurve(const Curve& curve); | ||
| 205 | |||
| 206 | bool setOutdoorUnitCondensingTemperatureFunctionofSubcoolingCurve(const Curve& curve); | ||
| 207 | |||
| 208 | bool setDiameterofMainPipeConnectingOutdoorUnittotheFirstBranchJoint(double diameterofMainPipeConnectingOutdoorUnittotheFirstBranchJoint); | ||
| 209 | |||
| 210 | bool setLengthofMainPipeConnectingOutdoorUnittotheFirstBranchJoint(double lengthofMainPipeConnectingOutdoorUnittotheFirstBranchJoint); | ||
| 211 | |||
| 212 | bool setEquivalentLengthofMainPipeConnectingOutdoorUnittotheFirstBranchJoint( | ||
| 213 | double equivalentLengthofMainPipeConnectingOutdoorUnittotheFirstBranchJoint); | ||
| 214 | |||
| 215 | bool setHeightDifferenceBetweenOutdoorUnitandIndoorUnits(double heightDifferenceBetweenOutdoorUnitandIndoorUnits); | ||
| 216 | |||
| 217 | bool setMainPipeInsulationThickness(double mainPipeInsulationThickness); | ||
| 218 | |||
| 219 | bool setMainPipeInsulationThermalConductivity(double mainPipeInsulationThermalConductivity); | ||
| 220 | |||
| 221 | bool setCrankcaseHeaterPowerperCompressor(double crankcaseHeaterPowerperCompressor); | ||
| 222 | |||
| 223 | bool setNumberofCompressors(int numberofCompressors); | ||
| 224 | |||
| 225 | bool setRatioofCompressorSizetoTotalCompressorCapacity(double ratioofCompressorSizetoTotalCompressorCapacity); | ||
| 226 | |||
| 227 | bool setMaximumOutdoorDryBulbTemperatureforCrankcaseHeater(double maximumOutdoorDryBulbTemperatureforCrankcaseHeater); | ||
| 228 | |||
| 229 | bool setDefrostStrategy(const std::string& defrostStrategy); | ||
| 230 | |||
| 231 | bool setDefrostControl(const std::string& defrostControl); | ||
| 232 | |||
| 233 | bool setDefrostEnergyInputRatioModifierFunctionofTemperatureCurve(const Curve& curve); | ||
| 234 | |||
| 235 | void resetDefrostEnergyInputRatioModifierFunctionofTemperatureCurve(); | ||
| 236 | |||
| 237 | bool setDefrostTimePeriodFraction(double defrostTimePeriodFraction); | ||
| 238 | |||
| 239 | bool setResistiveDefrostHeaterCapacity(double resistiveDefrostHeaterCapacity); | ||
| 240 | |||
| 241 | void autosizeResistiveDefrostHeaterCapacity(); | ||
| 242 | |||
| 243 | bool setMaximumOutdoorDrybulbTemperatureforDefrostOperation(double maximumOutdoorDrybulbTemperatureforDefrostOperation); | ||
| 244 | |||
| 245 | bool setCompressorMaximumDeltaPressure(double compressorMaximumDeltaPressure); | ||
| 246 | |||
| 247 | //@} | ||
| 248 | /** @name Other */ | ||
| 249 | //@{ | ||
| 250 | |||
| 251 | ModelObjectList vrfModelObjectList() const; | ||
| 252 | |||
| 253 | bool setVRFModelObjectList(const ModelObjectList& modelObjectList); | ||
| 254 | |||
| 255 | bool addTerminal(ZoneHVACTerminalUnitVariableRefrigerantFlow& vrf); | ||
| 256 | |||
| 257 | void removeTerminal(ZoneHVACTerminalUnitVariableRefrigerantFlow& vrf); | ||
| 258 | |||
| 259 | void removeAllTerminals(); | ||
| 260 | |||
| 261 | std::vector<ZoneHVACTerminalUnitVariableRefrigerantFlow> terminals() const; | ||
| 262 | |||
| 263 | ModelObjectList loadingIndexList() const; | ||
| 264 | |||
| 265 | bool setLoadingIndexList(const ModelObjectList& modelObjectList); | ||
| 266 | |||
| 267 | bool addLoadingIndex(LoadingIndex& loadingIndex); | ||
| 268 | |||
| 269 | void removeLoadingIndex(LoadingIndex& loadingIndex); | ||
| 270 | |||
| 271 | void removeAllLoadingIndexes(); | ||
| 272 | |||
| 273 | std::vector<LoadingIndex> loadingIndexes() const; | ||
| 274 | |||
| 275 | boost::optional<double> autosizedGrossRatedTotalCoolingCapacity() const; | ||
| 276 | |||
| 277 | boost::optional<double> autosizedGrossRatedHeatingCapacity() const; | ||
| 278 | |||
| 279 | //@} | ||
| 280 | private: | ||
| 281 | − | REGISTER_LOGGER("openstudio.model.AirConditionerVariableRefrigerantFlowFluidTemperatureControl"); | |
| 282 | |||
| 283 | boost::optional<ModelObjectList> optionalLoadingIndexList() const; // For children() | ||
| 284 | boost::optional<Schedule> optionalAvailabilitySchedule() const; | ||
| 285 | boost::optional<Curve> optionalOutdoorUnitEvaporatingTemperatureFunctionofSuperheatingCurve() const; | ||
| 286 | boost::optional<Curve> optionalOutdoorUnitCondensingTemperatureFunctionofSubcoolingCurve() const; | ||
| 287 | }; | ||
| 288 | |||
| 289 | } // namespace detail | ||
| 290 | |||
| 291 | } // namespace model | ||
| 292 | } // namespace openstudio | ||
| 293 | |||
| 294 | #endif // MODEL_AIRCONDITIONERVARIABLEREFRIGERANTFLOWFLUIDTEMPERATURECONTROL_IMPL_HPP | ||
| 295 |