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