src/model/AirTerminalSingleDuctSeriesPIUReheat.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_AIRTERMINALSINGLEDUCTSERIESPIUREHEAT_HPP | ||
| 7 | #define MODEL_AIRTERMINALSINGLEDUCTSERIESPIUREHEAT_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "StraightComponent.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | |||
| 14 | namespace model { | ||
| 15 | |||
| 16 | class Schedule; | ||
| 17 | class HVACComponent; | ||
| 18 | |||
| 19 | namespace detail { | ||
| 20 | |||
| 21 | class AirTerminalSingleDuctSeriesPIUReheat_Impl; | ||
| 22 | |||
| 23 | } // namespace detail | ||
| 24 | |||
| 25 | /** AirTerminalSingleDuctSeriesPIUReheat is a StraightComponent that wraps the OpenStudio IDD object 'OS:AirTerminal:SingleDuct:SeriesPIU:Reheat'. */ | ||
| 26 | class MODEL_API AirTerminalSingleDuctSeriesPIUReheat : public StraightComponent | ||
| 27 | { | ||
| 28 | public: | ||
| 29 | /** @name Constructors and Destructors */ | ||
| 30 | //@{ | ||
| 31 | |||
| 32 | explicit AirTerminalSingleDuctSeriesPIUReheat(const Model& model, HVACComponent& fan, HVACComponent& reheatCoil); | ||
| 33 | |||
| 34 | 50 | virtual ~AirTerminalSingleDuctSeriesPIUReheat() override = default; | |
| 35 | // Default the copy and move operators because the virtual dtor is explicit | ||
| 36 | 1 | AirTerminalSingleDuctSeriesPIUReheat(const AirTerminalSingleDuctSeriesPIUReheat& other) = default; | |
| 37 | 13 | AirTerminalSingleDuctSeriesPIUReheat(AirTerminalSingleDuctSeriesPIUReheat&& other) = default; | |
| 38 | ✗ | AirTerminalSingleDuctSeriesPIUReheat& operator=(const AirTerminalSingleDuctSeriesPIUReheat&) = default; | |
| 39 | ✗ | AirTerminalSingleDuctSeriesPIUReheat& operator=(AirTerminalSingleDuctSeriesPIUReheat&&) = default; | |
| 40 | |||
| 41 | //@} | ||
| 42 | |||
| 43 | static IddObjectType iddObjectType(); | ||
| 44 | |||
| 45 | static std::vector<std::string> fanControlTypeValues(); | ||
| 46 | |||
| 47 | static std::vector<std::string> heatingControlTypeValues(); | ||
| 48 | |||
| 49 | /** @name Getters */ | ||
| 50 | //@{ | ||
| 51 | |||
| 52 | boost::optional<Schedule> availabilitySchedule() const; | ||
| 53 | |||
| 54 | boost::optional<double> maximumAirFlowRate() const; | ||
| 55 | |||
| 56 | bool isMaximumAirFlowRateAutosized() const; | ||
| 57 | |||
| 58 | boost::optional<double> maximumPrimaryAirFlowRate() const; | ||
| 59 | |||
| 60 | bool isMaximumPrimaryAirFlowRateAutosized() const; | ||
| 61 | |||
| 62 | boost::optional<double> minimumPrimaryAirFlowFraction() const; | ||
| 63 | |||
| 64 | bool isMinimumPrimaryAirFlowFractionAutosized() const; | ||
| 65 | |||
| 66 | HVACComponent fan() const; | ||
| 67 | |||
| 68 | HVACComponent reheatCoil() const; | ||
| 69 | |||
| 70 | boost::optional<double> maximumHotWaterorSteamFlowRate() const; | ||
| 71 | |||
| 72 | bool isMaximumHotWaterorSteamFlowRateAutosized() const; | ||
| 73 | |||
| 74 | double minimumHotWaterorSteamFlowRate() const; | ||
| 75 | |||
| 76 | double convergenceTolerance() const; | ||
| 77 | |||
| 78 | std::string fanControlType() const; | ||
| 79 | |||
| 80 | double minimumFanTurnDownRatio() const; | ||
| 81 | |||
| 82 | std::string heatingControlType() const; | ||
| 83 | |||
| 84 | double designHeatingDischargeAirTemperature() const; | ||
| 85 | |||
| 86 | double highLimitHeatingDischargeAirTemperature() const; | ||
| 87 | |||
| 88 | //@} | ||
| 89 | /** @name Setters */ | ||
| 90 | //@{ | ||
| 91 | |||
| 92 | bool setAvailabilitySchedule(Schedule& schedule); | ||
| 93 | |||
| 94 | void resetAvailabilitySchedule(); | ||
| 95 | |||
| 96 | bool setMaximumAirFlowRate(double maximumAirFlowRate); | ||
| 97 | |||
| 98 | void autosizeMaximumAirFlowRate(); | ||
| 99 | |||
| 100 | bool setMaximumPrimaryAirFlowRate(double maximumPrimaryAirFlowRate); | ||
| 101 | |||
| 102 | void autosizeMaximumPrimaryAirFlowRate(); | ||
| 103 | |||
| 104 | bool setMinimumPrimaryAirFlowFraction(double minimumPrimaryAirFlowFraction); | ||
| 105 | |||
| 106 | void autosizeMinimumPrimaryAirFlowFraction(); | ||
| 107 | |||
| 108 | bool setFan(const HVACComponent& fan); | ||
| 109 | |||
| 110 | bool setReheatCoil(const HVACComponent& coil); | ||
| 111 | |||
| 112 | bool setMaximumHotWaterorSteamFlowRate(double maximumHotWaterorSteamFlowRate); | ||
| 113 | |||
| 114 | void resetMaximumHotWaterorSteamFlowRate(); | ||
| 115 | |||
| 116 | void autosizeMaximumHotWaterorSteamFlowRate(); | ||
| 117 | |||
| 118 | bool setMinimumHotWaterorSteamFlowRate(double minimumHotWaterorSteamFlowRate); | ||
| 119 | |||
| 120 | bool setConvergenceTolerance(double convergenceTolerance); | ||
| 121 | |||
| 122 | bool setFanControlType(const std::string& fanControlType); | ||
| 123 | |||
| 124 | bool setMinimumFanTurnDownRatio(double minimumFanTurnDownRatio); | ||
| 125 | |||
| 126 | bool setHeatingControlType(const std::string& heatingControlType); | ||
| 127 | |||
| 128 | bool setDesignHeatingDischargeAirTemperature(double designHeatingDischargeAirTemperature); | ||
| 129 | |||
| 130 | bool setHighLimitHeatingDischargeAirTemperature(double highLimitHeatingDischargeAirTemperature); | ||
| 131 | |||
| 132 | //@} | ||
| 133 | /** @name Other */ | ||
| 134 | //@{ | ||
| 135 | |||
| 136 | unsigned secondaryAirInletPort() const; | ||
| 137 | boost::optional<Node> secondaryAirInletNode() const; | ||
| 138 | |||
| 139 | boost::optional<double> autosizedMaximumAirFlowRate() const; | ||
| 140 | |||
| 141 | boost::optional<double> autosizedMaximumPrimaryAirFlowRate() const; | ||
| 142 | |||
| 143 | boost::optional<double> autosizedMinimumPrimaryAirFlowFraction() const; | ||
| 144 | |||
| 145 | boost::optional<double> autosizedMaximumHotWaterorSteamFlowRate() const; | ||
| 146 | |||
| 147 | //@} | ||
| 148 | protected: | ||
| 149 | /// @cond | ||
| 150 | using ImplType = detail::AirTerminalSingleDuctSeriesPIUReheat_Impl; | ||
| 151 | |||
| 152 | explicit AirTerminalSingleDuctSeriesPIUReheat(std::shared_ptr<detail::AirTerminalSingleDuctSeriesPIUReheat_Impl> impl); | ||
| 153 | |||
| 154 | friend class detail::AirTerminalSingleDuctSeriesPIUReheat_Impl; | ||
| 155 | friend class Model; | ||
| 156 | friend class IdfObject; | ||
| 157 | friend class openstudio::detail::IdfObject_Impl; | ||
| 158 | /// @endcond | ||
| 159 | private: | ||
| 160 | − | REGISTER_LOGGER("openstudio.model.AirTerminalSingleDuctSeriesPIUReheat"); | |
| 161 | }; | ||
| 162 | |||
| 163 | /** \relates AirTerminalSingleDuctSeriesPIUReheat*/ | ||
| 164 | using OptionalAirTerminalSingleDuctSeriesPIUReheat = boost::optional<AirTerminalSingleDuctSeriesPIUReheat>; | ||
| 165 | |||
| 166 | /** \relates AirTerminalSingleDuctSeriesPIUReheat*/ | ||
| 167 | using AirTerminalSingleDuctSeriesPIUReheatVector = std::vector<AirTerminalSingleDuctSeriesPIUReheat>; | ||
| 168 | |||
| 169 | } // namespace model | ||
| 170 | } // namespace openstudio | ||
| 171 | |||
| 172 | #endif // MODEL_AIRTERMINALSINGLEDUCTSERIESPIUREHEAT_HPP | ||
| 173 |