src/model/AirLoopHVACUnitarySystem.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_AIRLOOPHVACUNITARYSYSTEM_HPP | ||
| 7 | #define MODEL_AIRLOOPHVACUNITARYSYSTEM_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "ZoneHVACComponent.hpp" | ||
| 11 | |||
| 12 | #include "../utilities/core/Deprecated.hpp" | ||
| 13 | |||
| 14 | namespace openstudio { | ||
| 15 | |||
| 16 | namespace model { | ||
| 17 | |||
| 18 | class ThermalZone; | ||
| 19 | class Schedule; | ||
| 20 | class HVACComponent; | ||
| 21 | class UnitarySystemPerformanceMultispeed; | ||
| 22 | |||
| 23 | namespace detail { | ||
| 24 | |||
| 25 | class AirLoopHVACUnitarySystem_Impl; | ||
| 26 | |||
| 27 | } // namespace detail | ||
| 28 | |||
| 29 | /** AirLoopHVACUnitarySystem is a WaterToAirComponent that wraps the OpenStudio IDD object 'OS:AirLoopHVAC:UnitarySystem'. */ | ||
| 30 | class MODEL_API AirLoopHVACUnitarySystem : public ZoneHVACComponent | ||
| 31 | { | ||
| 32 | public: | ||
| 33 | /** @name Constructors and Destructors */ | ||
| 34 | //@{ | ||
| 35 | |||
| 36 | explicit AirLoopHVACUnitarySystem(const Model& model); | ||
| 37 | |||
| 38 | 512 | virtual ~AirLoopHVACUnitarySystem() override = default; | |
| 39 | // Default the copy and move operators because the virtual dtor is explicit | ||
| 40 | 12 | AirLoopHVACUnitarySystem(const AirLoopHVACUnitarySystem& other) = default; | |
| 41 | 158 | AirLoopHVACUnitarySystem(AirLoopHVACUnitarySystem&& other) = default; | |
| 42 | ✗ | AirLoopHVACUnitarySystem& operator=(const AirLoopHVACUnitarySystem&) = default; | |
| 43 | ✗ | AirLoopHVACUnitarySystem& operator=(AirLoopHVACUnitarySystem&&) = default; | |
| 44 | |||
| 45 | //@} | ||
| 46 | |||
| 47 | static IddObjectType iddObjectType(); | ||
| 48 | |||
| 49 | static std::vector<std::string> controlTypeValues(); | ||
| 50 | |||
| 51 | static std::vector<std::string> dehumidificationControlTypeValues(); | ||
| 52 | |||
| 53 | static std::vector<std::string> fanPlacementValues(); | ||
| 54 | |||
| 55 | static std::vector<std::string> latentLoadControlValues(); | ||
| 56 | |||
| 57 | static std::vector<std::string> supplyAirFlowRateMethodDuringCoolingOperationValues(); | ||
| 58 | |||
| 59 | static std::vector<std::string> supplyAirFlowRateMethodDuringHeatingOperationValues(); | ||
| 60 | |||
| 61 | static std::vector<std::string> supplyAirFlowRateMethodWhenNoCoolingorHeatingisRequiredValues(); | ||
| 62 | |||
| 63 | /** @name Getters */ | ||
| 64 | //@{ | ||
| 65 | |||
| 66 | std::string controlType() const; | ||
| 67 | |||
| 68 | bool isControlTypeDefaulted() const; | ||
| 69 | |||
| 70 | boost::optional<ThermalZone> controllingZoneorThermostatLocation() const; | ||
| 71 | |||
| 72 | std::string dehumidificationControlType() const; | ||
| 73 | |||
| 74 | bool isDehumidificationControlTypeDefaulted() const; | ||
| 75 | |||
| 76 | boost::optional<Schedule> availabilitySchedule() const; | ||
| 77 | |||
| 78 | boost::optional<HVACComponent> supplyFan() const; | ||
| 79 | |||
| 80 | boost::optional<std::string> fanPlacement() const; | ||
| 81 | |||
| 82 | boost::optional<Schedule> supplyAirFanOperatingModeSchedule() const; | ||
| 83 | |||
| 84 | boost::optional<HVACComponent> heatingCoil() const; | ||
| 85 | |||
| 86 | double dXHeatingCoilSizingRatio() const; | ||
| 87 | |||
| 88 | bool isDXHeatingCoilSizingRatioDefaulted() const; | ||
| 89 | |||
| 90 | boost::optional<HVACComponent> coolingCoil() const; | ||
| 91 | |||
| 92 | bool useDOASDXCoolingCoil() const; | ||
| 93 | |||
| 94 | bool isUseDOASDXCoolingCoilDefaulted() const; | ||
| 95 | |||
| 96 | /** As of EnergyPlus version 8.7.0 this field maps to MinimumSupplyAirTemperature **/ | ||
| 97 | double dOASDXCoolingCoilLeavingMinimumAirTemperature() const; | ||
| 98 | |||
| 99 | // Note JM 2019-09-27: I would probably make this field \required instead and remove this. | ||
| 100 | bool isDOASDXCoolingCoilLeavingMinimumAirTemperatureDefaulted() const; | ||
| 101 | |||
| 102 | bool isDOASDXCoolingCoilLeavingMinimumAirTemperatureAutosized() const; | ||
| 103 | |||
| 104 | std::string latentLoadControl() const; | ||
| 105 | |||
| 106 | bool isLatentLoadControlDefaulted() const; | ||
| 107 | |||
| 108 | boost::optional<HVACComponent> supplementalHeatingCoil() const; | ||
| 109 | |||
| 110 | /** In EnergyPlus 8.3.0 and above this property maps to the EnergyPlus field "Cooling Supply Air Flow Rate Method" **/ | ||
| 111 | std::string supplyAirFlowRateMethodDuringCoolingOperation() const; | ||
| 112 | |||
| 113 | /** In EnergyPlus 8.3.0 and above this property maps to the EnergyPlus field "Cooling Supply Air Flow Rate" **/ | ||
| 114 | boost::optional<double> supplyAirFlowRateDuringCoolingOperation() const; | ||
| 115 | |||
| 116 | bool isSupplyAirFlowRateDuringCoolingOperationAutosized() const; | ||
| 117 | |||
| 118 | /** In EnergyPlus 8.3.0 and above this property maps to the EnergyPlus field "Cooling Supply Air Flow Rate Per Floor Area" **/ | ||
| 119 | boost::optional<double> supplyAirFlowRatePerFloorAreaDuringCoolingOperation() const; | ||
| 120 | |||
| 121 | /** In EnergyPlus 8.3.0 and above this property maps to the EnergyPlus field "Cooling Fraction of Autosized Cooling Supply Air Flow Rate" **/ | ||
| 122 | boost::optional<double> fractionofAutosizedDesignCoolingSupplyAirFlowRate() const; | ||
| 123 | |||
| 124 | /** In EnergyPlus 8.3.0 and above this property maps to the EnergyPlus field "Cooling Supply Air Flow Rate Per Unit of Capacity" **/ | ||
| 125 | boost::optional<double> designSupplyAirFlowRatePerUnitofCapacityDuringCoolingOperation() const; | ||
| 126 | |||
| 127 | /** In EnergyPlus 8.3.0 and above this property maps to the EnergyPlus field "Heating Supply Air Flow Rate Method" **/ | ||
| 128 | std::string supplyAirFlowRateMethodDuringHeatingOperation() const; | ||
| 129 | |||
| 130 | /** In EnergyPlus 8.3.0 and above this property maps to the EnergyPlus field "Heating Supply Air Flow Rate" **/ | ||
| 131 | boost::optional<double> supplyAirFlowRateDuringHeatingOperation() const; | ||
| 132 | |||
| 133 | bool isSupplyAirFlowRateDuringHeatingOperationAutosized() const; | ||
| 134 | |||
| 135 | /** In EnergyPlus 8.3.0 and above this property maps to the EnergyPlus field "Heating Supply Air Flow Rate Per Floor Area" **/ | ||
| 136 | boost::optional<double> supplyAirFlowRatePerFloorAreaduringHeatingOperation() const; | ||
| 137 | |||
| 138 | /** In EnergyPlus 8.3.0 and above this property maps to the EnergyPlus field "Heating Fraction of Autosized Heating Supply Air Flow Rate" **/ | ||
| 139 | boost::optional<double> fractionofAutosizedDesignHeatingSupplyAirFlowRate() const; | ||
| 140 | |||
| 141 | /** In EnergyPlus 8.3.0 and above this property maps to the EnergyPlus field "Heating Supply Air Flow Rate Per Unit of Capacity" **/ | ||
| 142 | boost::optional<double> designSupplyAirFlowRatePerUnitofCapacityDuringHeatingOperation() const; | ||
| 143 | |||
| 144 | /** In EnergyPlus 8.3.0 and above this property maps to the EnergyPlus field "No Load Supply Air Flow Rate Method" **/ | ||
| 145 | std::string supplyAirFlowRateMethodWhenNoCoolingorHeatingisRequired() const; | ||
| 146 | |||
| 147 | /** In EnergyPlus 8.3.0 and above this property maps to the EnergyPlus field "No Load Supply Air Flow Rate" **/ | ||
| 148 | boost::optional<double> supplyAirFlowRateWhenNoCoolingorHeatingisRequired() const; | ||
| 149 | |||
| 150 | bool isSupplyAirFlowRateWhenNoCoolingorHeatingisRequiredAutosized() const; | ||
| 151 | |||
| 152 | /** In EnergyPlus 8.3.0 and above this property maps to the EnergyPlus field "No Load Supply Air Flow Rate Per Floor Area" **/ | ||
| 153 | boost::optional<double> supplyAirFlowRatePerFloorAreaWhenNoCoolingorHeatingisRequired() const; | ||
| 154 | |||
| 155 | /** In EnergyPlus 8.3.0 and above this property maps to the EnergyPlus field "No Load Fraction of Autosized Cooling Supply Air Flow Rate" **/ | ||
| 156 | boost::optional<double> fractionofAutosizedDesignCoolingSupplyAirFlowRateWhenNoCoolingorHeatingisRequired() const; | ||
| 157 | |||
| 158 | /** In EnergyPlus 8.3.0 and above this property maps to the EnergyPlus field "No Load Fraction of Autosized Heating Supply Air Flow Rate" **/ | ||
| 159 | boost::optional<double> fractionofAutosizedDesignHeatingSupplyAirFlowRateWhenNoCoolingorHeatingisRequired() const; | ||
| 160 | |||
| 161 | /** In EnergyPlus 8.3.0 and above this property maps to the EnergyPlus field "No Load Supply Air Flow Rate Per Unit of Capacity During Cooling Operation" **/ | ||
| 162 | boost::optional<double> designSupplyAirFlowRatePerUnitofCapacityDuringCoolingOperationWhenNoCoolingorHeatingisRequired() const; | ||
| 163 | |||
| 164 | /** In EnergyPlus 8.3.0 and above this property maps to the EnergyPlus field "No Load Supply Air Flow Rate Per Unit of Capacity During Heating Operation" **/ | ||
| 165 | boost::optional<double> designSupplyAirFlowRatePerUnitofCapacityDuringHeatingOperationWhenNoCoolingorHeatingisRequired() const; | ||
| 166 | |||
| 167 | bool noLoadSupplyAirFlowRateControlSetToLowSpeed() const; | ||
| 168 | |||
| 169 | boost::optional<double> maximumSupplyAirTemperature() const; | ||
| 170 | |||
| 171 | bool isMaximumSupplyAirTemperatureDefaulted() const; | ||
| 172 | |||
| 173 | bool isMaximumSupplyAirTemperatureAutosized() const; | ||
| 174 | |||
| 175 | double maximumOutdoorDryBulbTemperatureforSupplementalHeaterOperation() const; | ||
| 176 | |||
| 177 | bool isMaximumOutdoorDryBulbTemperatureforSupplementalHeaterOperationDefaulted() const; | ||
| 178 | |||
| 179 | boost::optional<std::string> outdoorDryBulbTemperatureSensorNodeName() const; | ||
| 180 | |||
| 181 | OS_DEPRECATED(3, 7, 0) double maximumCyclingRate() const; | ||
| 182 | |||
| 183 | OS_DEPRECATED(3, 7, 0) bool isMaximumCyclingRateDefaulted() const; | ||
| 184 | |||
| 185 | OS_DEPRECATED(3, 7, 0) double heatPumpTimeConstant() const; | ||
| 186 | |||
| 187 | OS_DEPRECATED(3, 7, 0) bool isHeatPumpTimeConstantDefaulted() const; | ||
| 188 | |||
| 189 | OS_DEPRECATED(3, 7, 0) double fractionofOnCyclePowerUse() const; | ||
| 190 | |||
| 191 | OS_DEPRECATED(3, 7, 0) bool isFractionofOnCyclePowerUseDefaulted() const; | ||
| 192 | |||
| 193 | OS_DEPRECATED(3, 7, 0) double heatPumpFanDelayTime() const; | ||
| 194 | |||
| 195 | OS_DEPRECATED(3, 7, 0) bool isHeatPumpFanDelayTimeDefaulted() const; | ||
| 196 | |||
| 197 | /** In EnergyPlus 8.3.0 and above this property maps to the EnergyPlus field "Ancillary On-Cycle Electric Power" **/ | ||
| 198 | double ancilliaryOnCycleElectricPower() const; | ||
| 199 | |||
| 200 | bool isAncilliaryOnCycleElectricPowerDefaulted() const; | ||
| 201 | |||
| 202 | /** In EnergyPlus 8.3.0 and above this property maps to the EnergyPlus field "Ancillary Off-Cycle Electric Power" **/ | ||
| 203 | double ancilliaryOffCycleElectricPower() const; | ||
| 204 | |||
| 205 | bool isAncilliaryOffCycleElectricPowerDefaulted() const; | ||
| 206 | |||
| 207 | // double designHeatRecoveryWaterFlowRate() const; | ||
| 208 | |||
| 209 | // bool isDesignHeatRecoveryWaterFlowRateDefaulted() const; | ||
| 210 | |||
| 211 | // double maximumTemperatureforHeatRecovery() const; | ||
| 212 | |||
| 213 | // bool isMaximumTemperatureforHeatRecoveryDefaulted() const; | ||
| 214 | |||
| 215 | boost::optional<UnitarySystemPerformanceMultispeed> designSpecificationMultispeedObject() const; | ||
| 216 | |||
| 217 | //@} | ||
| 218 | /** @name Setters */ | ||
| 219 | //@{ | ||
| 220 | |||
| 221 | bool setControlType(const std::string& controlType); | ||
| 222 | |||
| 223 | void resetControlType(); | ||
| 224 | |||
| 225 | bool setControllingZoneorThermostatLocation(const ThermalZone& thermalZone); | ||
| 226 | |||
| 227 | void resetControllingZoneorThermostatLocation(); | ||
| 228 | |||
| 229 | bool setDehumidificationControlType(const std::string& dehumidificationControlType); | ||
| 230 | |||
| 231 | void resetDehumidificationControlType(); | ||
| 232 | |||
| 233 | bool setAvailabilitySchedule(Schedule& schedule); | ||
| 234 | |||
| 235 | void resetAvailabilitySchedule(); | ||
| 236 | |||
| 237 | bool setSupplyFan(const HVACComponent& supplyFan); | ||
| 238 | |||
| 239 | void resetSupplyFan(); | ||
| 240 | |||
| 241 | bool setFanPlacement(const std::string& fanPlacement); | ||
| 242 | |||
| 243 | void resetFanPlacement(); | ||
| 244 | |||
| 245 | bool setSupplyAirFanOperatingModeSchedule(Schedule& schedule); | ||
| 246 | |||
| 247 | void resetSupplyAirFanOperatingModeSchedule(); | ||
| 248 | |||
| 249 | /** Sets the Heating Coil. If the "Supply Air Flow Rate Method During Heating Operation" was "None", switch to "SupplyAirFlowRate" | ||
| 250 | * and autosize the "Supply Air Flow Rate During Heating Operation" field */ | ||
| 251 | bool setHeatingCoil(const HVACComponent& heatingCoil); | ||
| 252 | |||
| 253 | /** This will switch the "Supply Air Flow Rate Method During Heating Operation" to "None" and clear all heating flow fields | ||
| 254 | * If the Unitary is left with no coils, the "Supply Air Flow Rate Method When No Heating Or Cooling" is also set to None | ||
| 255 | * and all NoCoolHeat flow fields are reset */ | ||
| 256 | void resetHeatingCoil(); | ||
| 257 | |||
| 258 | bool setDXHeatingCoilSizingRatio(double dXHeatingCoilSizingRatio); | ||
| 259 | |||
| 260 | void resetDXHeatingCoilSizingRatio(); | ||
| 261 | |||
| 262 | /** Sets the Cooling Coil. If the "Supply Air Flow Rate Method During Cooling Operation" was "None", switch to "SupplyAirFlowRate" | ||
| 263 | * and autosize the "Supply Air Flow Rate During Cooling Operation" field */ | ||
| 264 | bool setCoolingCoil(const HVACComponent& coolingCoil); | ||
| 265 | |||
| 266 | /** This will switch the "Supply Air Flow Rate Method During Cooling Operation" to "None" and clear all cooling flow fields | ||
| 267 | * If the Unitary is left with no coils, the "Supply Air Flow Rate Method When No Heating Or Cooling" is also set to None | ||
| 268 | * and all NoCoolHeat flow fields are reset */ | ||
| 269 | void resetCoolingCoil(); | ||
| 270 | |||
| 271 | bool setUseDOASDXCoolingCoil(bool useDOASDXCoolingCoil); | ||
| 272 | |||
| 273 | void resetUseDOASDXCoolingCoil(); | ||
| 274 | |||
| 275 | /** As of EnergyPlus version 8.7.0 this field maps to MinimumSupplyAirTemperature **/ | ||
| 276 | bool setDOASDXCoolingCoilLeavingMinimumAirTemperature(double dOASDXCoolingCoilLeavingMinimumAirTemperature); | ||
| 277 | |||
| 278 | void autosizeDOASDXCoolingCoilLeavingMinimumAirTemperature(); | ||
| 279 | |||
| 280 | // Would remove | ||
| 281 | void resetDOASDXCoolingCoilLeavingMinimumAirTemperature(); | ||
| 282 | |||
| 283 | bool setLatentLoadControl(const std::string& latentLoadControl); | ||
| 284 | |||
| 285 | void resetLatentLoadControl(); | ||
| 286 | |||
| 287 | bool setSupplementalHeatingCoil(const HVACComponent& supplementalHeatingCoil); | ||
| 288 | |||
| 289 | void resetSupplementalHeatingCoil(); | ||
| 290 | |||
| 291 | // During Cooling | ||
| 292 | |||
| 293 | /** Sets the field and switches "Supply Air Flow Rate Method During Cooling Operation" (coolingSAFMethod) to "SupplyAirFlowRate" */ | ||
| 294 | bool setSupplyAirFlowRateDuringCoolingOperation(double supplyAirFlowRateDuringCoolingOperation); | ||
| 295 | /** Sets the field and switches the coolingSAFMethod to "SupplyAirFlowRate" */ | ||
| 296 | void autosizeSupplyAirFlowRateDuringCoolingOperation(); | ||
| 297 | |||
| 298 | /** Sets the field and switches the coolingSAFMethod to "FlowPerFloorArea" */ | ||
| 299 | bool setSupplyAirFlowRatePerFloorAreaDuringCoolingOperation(double supplyAirFlowRatePerFloorAreaDuringCoolingOperation); | ||
| 300 | |||
| 301 | /** Sets the field and switches the coolingSAFMethod to "FractionOfAutosizedCoolingValue" */ | ||
| 302 | bool setFractionofAutosizedDesignCoolingSupplyAirFlowRate(double fractionofAutosizedDesignCoolingSupplyAirFlowRate); | ||
| 303 | |||
| 304 | /** Sets the field and switches the coolingSAFMethod to "FlowPerCoolingCapacity" */ | ||
| 305 | bool setDesignSupplyAirFlowRatePerUnitofCapacityDuringCoolingOperation(double designSupplyAirFlowRatePerUnitofCapacityDuringCoolingOperation); | ||
| 306 | |||
| 307 | OS_DEPRECATED(3, 7, 0) bool setSupplyAirFlowRateMethodDuringCoolingOperation(const std::string& supplyAirFlowRateMethodDuringCoolingOperation); | ||
| 308 | OS_DEPRECATED(3, 7, 0) void resetSupplyAirFlowRateMethodDuringCoolingOperation(); | ||
| 309 | |||
| 310 | OS_DEPRECATED(3, 7, 0) void resetSupplyAirFlowRateDuringCoolingOperation(); | ||
| 311 | OS_DEPRECATED(3, 7, 0) void resetSupplyAirFlowRatePerFloorAreaDuringCoolingOperation(); | ||
| 312 | OS_DEPRECATED(3, 7, 0) void resetFractionofAutosizedDesignCoolingSupplyAirFlowRate(); | ||
| 313 | OS_DEPRECATED(3, 7, 0) void resetDesignSupplyAirFlowRatePerUnitofCapacityDuringCoolingOperation(); | ||
| 314 | |||
| 315 | // During Heating | ||
| 316 | |||
| 317 | /** Sets the field and switches "Supply Air Flow Rate Method During Heating Operation" (heatingSAFMethod) to "SupplyAirFlowRate" */ | ||
| 318 | bool setSupplyAirFlowRateDuringHeatingOperation(double supplyAirFlowRateDuringHeatingOperation); | ||
| 319 | /** Sets the field and switches the heatingSAFMethod to "SupplyAirFlowRate" */ | ||
| 320 | void autosizeSupplyAirFlowRateDuringHeatingOperation(); | ||
| 321 | |||
| 322 | /** Sets the field and switches the heatingSAFMethod to "FlowPerFloorArea" */ | ||
| 323 | bool setSupplyAirFlowRatePerFloorAreaduringHeatingOperation(double supplyAirFlowRatePerFloorAreaduringHeatingOperation); | ||
| 324 | |||
| 325 | /** Sets the field and switches the heatingSAFMethod to "FractionOfAutosizedHeatingValue" */ | ||
| 326 | bool setFractionofAutosizedDesignHeatingSupplyAirFlowRate(double fractionofAutosizedDesignHeatingSupplyAirFlowRate); | ||
| 327 | |||
| 328 | /** Sets the field and switches the heatingSAFMethod to "FlowPerHeatingCapacity" */ | ||
| 329 | bool setDesignSupplyAirFlowRatePerUnitofCapacityDuringHeatingOperation(double designSupplyAirFlowRatePerUnitofCapacityDuringHeatingOperation); | ||
| 330 | |||
| 331 | OS_DEPRECATED(3, 7, 0) bool setSupplyAirFlowRateMethodDuringHeatingOperation(const std::string& supplyAirFlowRateMethodDuringHeatingOperation); | ||
| 332 | OS_DEPRECATED(3, 7, 0) void resetSupplyAirFlowRateMethodDuringHeatingOperation(); | ||
| 333 | |||
| 334 | OS_DEPRECATED(3, 7, 0) void resetSupplyAirFlowRateDuringHeatingOperation(); | ||
| 335 | OS_DEPRECATED(3, 7, 0) void resetSupplyAirFlowRatePerFloorAreaduringHeatingOperation(); | ||
| 336 | OS_DEPRECATED(3, 7, 0) void resetFractionofAutosizedDesignHeatingSupplyAirFlowRate(); | ||
| 337 | OS_DEPRECATED(3, 7, 0) void resetDesignSupplyAirFlowRatePerUnitofCapacityDuringHeatingOperation(); | ||
| 338 | |||
| 339 | // When no Heating or Cooling is Required | ||
| 340 | |||
| 341 | // Sets the "Supply Air Flow Rate Method When No Cooling or Heating is Required" (noCoolHeatSAFMethod) to "None" and clears the NoCoolHeat flow rate fields | ||
| 342 | void resetSupplyAirFlowRateMethodWhenNoCoolingorHeatingisRequired(); | ||
| 343 | |||
| 344 | /** Sets the field and switches the noCoolHeatSAFMethod) to "SupplyAirFlowRate" */ | ||
| 345 | bool setSupplyAirFlowRateWhenNoCoolingorHeatingisRequired(double supplyAirFlowRateWhenNoCoolingorHeatingisRequired); | ||
| 346 | /** Sets the field and switches the noCoolHeatSAFMethod) to "SupplyAirFlowRate" */ | ||
| 347 | void autosizeSupplyAirFlowRateWhenNoCoolingorHeatingisRequired(); | ||
| 348 | |||
| 349 | /** Sets the field and switches the noCoolHeatSAFMethod) to "FlowPerFloorArea" */ | ||
| 350 | bool setSupplyAirFlowRatePerFloorAreaWhenNoCoolingorHeatingisRequired(double supplyAirFlowRatePerFloorAreaWhenNoCoolingorHeatingisRequired); | ||
| 351 | |||
| 352 | /** Sets the field and switches the noCoolHeatSAFMethod) to "FractionOfAutosizedCoolingValue" */ | ||
| 353 | bool setFractionofAutosizedDesignCoolingSupplyAirFlowRateWhenNoCoolingorHeatingisRequired( | ||
| 354 | double fractionofAutosizedDesignCoolingSupplyAirFlowRateWhenNoCoolingorHeatingisRequired); | ||
| 355 | |||
| 356 | /** Sets the field and switches the noCoolHeatSAFMethod) to "FractionOfAutosizedHeatingValue" */ | ||
| 357 | bool setFractionofAutosizedDesignHeatingSupplyAirFlowRateWhenNoCoolingorHeatingisRequired( | ||
| 358 | double fractionofAutosizedDesignHeatingSupplyAirFlowRateWhenNoCoolingorHeatingisRequired); | ||
| 359 | |||
| 360 | /** Sets the field and switches the noCoolHeatSAFMethod) to "FlowPerCoolingCapacity" */ | ||
| 361 | bool setDesignSupplyAirFlowRatePerUnitofCapacityDuringCoolingOperationWhenNoCoolingorHeatingisRequired( | ||
| 362 | double designSupplyAirFlowRatePerUnitofCapacityDuringCoolingOperationWhenNoCoolingorHeatingisRequired); | ||
| 363 | |||
| 364 | /** Sets the field and switches the noCoolHeatSAFMethod) to "FlowPerHeatingCapacity" */ | ||
| 365 | bool setDesignSupplyAirFlowRatePerUnitofCapacityDuringHeatingOperationWhenNoCoolingorHeatingisRequired( | ||
| 366 | double designSupplyAirFlowRatePerUnitofCapacityDuringHeatingOperationWhenNoCoolingorHeatingisRequired); | ||
| 367 | |||
| 368 | bool setNoLoadSupplyAirFlowRateControlSetToLowSpeed(bool noLoadSupplyAirFlowRateControlSetToLowSpeed); | ||
| 369 | |||
| 370 | OS_DEPRECATED(3, 7, 0) bool setSupplyAirFlowRateMethodWhenNoCoolingorHeatingisRequired(const std::string& noCoolHeatMethod); | ||
| 371 | |||
| 372 | OS_DEPRECATED(3, 7, 0) void resetSupplyAirFlowRateWhenNoCoolingorHeatingisRequired(); | ||
| 373 | OS_DEPRECATED(3, 7, 0) void resetSupplyAirFlowRatePerFloorAreaWhenNoCoolingorHeatingisRequired(); | ||
| 374 | OS_DEPRECATED(3, 7, 0) void resetFractionofAutosizedDesignCoolingSupplyAirFlowRateWhenNoCoolingorHeatingisRequired(); | ||
| 375 | OS_DEPRECATED(3, 7, 0) void resetFractionofAutosizedDesignHeatingSupplyAirFlowRateWhenNoCoolingorHeatingisRequired(); | ||
| 376 | OS_DEPRECATED(3, 7, 0) void resetDesignSupplyAirFlowRatePerUnitofCapacityDuringCoolingOperationWhenNoCoolingorHeatingisRequired(); | ||
| 377 | OS_DEPRECATED(3, 7, 0) void resetDesignSupplyAirFlowRatePerUnitofCapacityDuringHeatingOperationWhenNoCoolingorHeatingisRequired(); | ||
| 378 | |||
| 379 | // End SAF methods | ||
| 380 | |||
| 381 | bool setMaximumSupplyAirTemperature(double maximumSupplyAirTemperature); | ||
| 382 | |||
| 383 | void resetMaximumSupplyAirTemperature(); | ||
| 384 | |||
| 385 | void autosizeMaximumSupplyAirTemperature(); | ||
| 386 | |||
| 387 | bool setMaximumOutdoorDryBulbTemperatureforSupplementalHeaterOperation(double maximumOutdoorDryBulbTemperatureforSupplementalHeaterOperation); | ||
| 388 | |||
| 389 | void resetMaximumOutdoorDryBulbTemperatureforSupplementalHeaterOperation(); | ||
| 390 | |||
| 391 | bool setOutdoorDryBulbTemperatureSensorNodeName(const std::string& outdoorDryBulbTemperatureSensorNodeName); | ||
| 392 | |||
| 393 | void resetOutdoorDryBulbTemperatureSensorNodeName(); | ||
| 394 | |||
| 395 | OS_DEPRECATED(3, 7, 0) bool setMaximumCyclingRate(double maximumCyclingRate); | ||
| 396 | |||
| 397 | OS_DEPRECATED(3, 7, 0) void resetMaximumCyclingRate(); | ||
| 398 | |||
| 399 | OS_DEPRECATED(3, 7, 0) bool setHeatPumpTimeConstant(double heatPumpTimeConstant); | ||
| 400 | |||
| 401 | OS_DEPRECATED(3, 7, 0) void resetHeatPumpTimeConstant(); | ||
| 402 | |||
| 403 | OS_DEPRECATED(3, 7, 0) bool setFractionofOnCyclePowerUse(double fractionofOnCyclePowerUse); | ||
| 404 | |||
| 405 | OS_DEPRECATED(3, 7, 0) void resetFractionofOnCyclePowerUse(); | ||
| 406 | |||
| 407 | OS_DEPRECATED(3, 7, 0) bool setHeatPumpFanDelayTime(double heatPumpFanDelayTime); | ||
| 408 | |||
| 409 | OS_DEPRECATED(3, 7, 0) void resetHeatPumpFanDelayTime(); | ||
| 410 | |||
| 411 | bool setAncilliaryOnCycleElectricPower(double ancilliaryOnCycleElectricPower); | ||
| 412 | |||
| 413 | void resetAncilliaryOnCycleElectricPower(); | ||
| 414 | |||
| 415 | bool setAncilliaryOffCycleElectricPower(double ancilliaryOffCycleElectricPower); | ||
| 416 | |||
| 417 | void resetAncilliaryOffCycleElectricPower(); | ||
| 418 | |||
| 419 | // bool setDesignHeatRecoveryWaterFlowRate(double designHeatRecoveryWaterFlowRate); | ||
| 420 | |||
| 421 | // void resetDesignHeatRecoveryWaterFlowRate(); | ||
| 422 | |||
| 423 | // bool setMaximumTemperatureforHeatRecovery(double maximumTemperatureforHeatRecovery); | ||
| 424 | |||
| 425 | // void resetMaximumTemperatureforHeatRecovery(); | ||
| 426 | |||
| 427 | bool setDesignSpecificationMultispeedObject(const UnitarySystemPerformanceMultispeed& unitarySystemPerformace); | ||
| 428 | |||
| 429 | void resetDesignSpecificationMultispeedObject(); | ||
| 430 | |||
| 431 | //@} | ||
| 432 | /** @name Other */ | ||
| 433 | //@{ | ||
| 434 | |||
| 435 | boost::optional<double> autosizedSupplyAirFlowRateDuringCoolingOperation() const; | ||
| 436 | |||
| 437 | boost::optional<double> autosizedSupplyAirFlowRateDuringHeatingOperation() const; | ||
| 438 | |||
| 439 | boost::optional<double> autosizedSupplyAirFlowRateWhenNoCoolingorHeatingisRequired() const; | ||
| 440 | |||
| 441 | boost::optional<double> autosizedMaximumSupplyAirTemperature() const; | ||
| 442 | |||
| 443 | boost::optional<double> autosizedDOASDXCoolingCoilLeavingMinimumAirTemperature() const; | ||
| 444 | |||
| 445 | //@} | ||
| 446 | protected: | ||
| 447 | /// @cond | ||
| 448 | using ImplType = detail::AirLoopHVACUnitarySystem_Impl; | ||
| 449 | |||
| 450 | explicit AirLoopHVACUnitarySystem(std::shared_ptr<detail::AirLoopHVACUnitarySystem_Impl> impl); | ||
| 451 | |||
| 452 | friend class detail::AirLoopHVACUnitarySystem_Impl; | ||
| 453 | friend class Model; | ||
| 454 | friend class IdfObject; | ||
| 455 | friend class openstudio::detail::IdfObject_Impl; | ||
| 456 | /// @endcond | ||
| 457 | private: | ||
| 458 | − | REGISTER_LOGGER("openstudio.model.AirLoopHVACUnitarySystem"); | |
| 459 | }; | ||
| 460 | |||
| 461 | /** \relates AirLoopHVACUnitarySystem*/ | ||
| 462 | using OptionalAirLoopHVACUnitarySystem = boost::optional<AirLoopHVACUnitarySystem>; | ||
| 463 | |||
| 464 | /** \relates AirLoopHVACUnitarySystem*/ | ||
| 465 | using AirLoopHVACUnitarySystemVector = std::vector<AirLoopHVACUnitarySystem>; | ||
| 466 | |||
| 467 | } // namespace model | ||
| 468 | } // namespace openstudio | ||
| 469 | |||
| 470 | #endif // MODEL_AIRLOOPHVACUNITARYSYSTEM_HPP | ||
| 471 |