src/model/SetpointManagerOutdoorAirPretreat.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_SETPOINTMANAGEROUTDOORAIRPRETREAT_HPP | ||
| 7 | #define MODEL_SETPOINTMANAGEROUTDOORAIRPRETREAT_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "SetpointManager.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | |||
| 14 | namespace model { | ||
| 15 | |||
| 16 | class Node; | ||
| 17 | |||
| 18 | namespace detail { | ||
| 19 | |||
| 20 | class SetpointManagerOutdoorAirPretreat_Impl; | ||
| 21 | |||
| 22 | } // namespace detail | ||
| 23 | |||
| 24 | /** SetpointManagerOutdoorAirPretreat is a SetpointManager that wraps the OpenStudio IDD object 'OS:SetpointManager:OutdoorAirPretreat'. */ | ||
| 25 | class MODEL_API SetpointManagerOutdoorAirPretreat : public SetpointManager | ||
| 26 | { | ||
| 27 | public: | ||
| 28 | /** @name Constructors and Destructors */ | ||
| 29 | //@{ | ||
| 30 | |||
| 31 | explicit SetpointManagerOutdoorAirPretreat(const Model& model); | ||
| 32 | |||
| 33 | 31 | virtual ~SetpointManagerOutdoorAirPretreat() override = default; | |
| 34 | // Default the copy and move operators because the virtual dtor is explicit | ||
| 35 | ✗ | SetpointManagerOutdoorAirPretreat(const SetpointManagerOutdoorAirPretreat& other) = default; | |
| 36 | 10 | SetpointManagerOutdoorAirPretreat(SetpointManagerOutdoorAirPretreat&& other) = default; | |
| 37 | ✗ | SetpointManagerOutdoorAirPretreat& operator=(const SetpointManagerOutdoorAirPretreat&) = default; | |
| 38 | ✗ | SetpointManagerOutdoorAirPretreat& operator=(SetpointManagerOutdoorAirPretreat&&) = default; | |
| 39 | |||
| 40 | //@} | ||
| 41 | |||
| 42 | static IddObjectType iddObjectType(); | ||
| 43 | |||
| 44 | static std::vector<std::string> controlVariableValues(); | ||
| 45 | |||
| 46 | /** @name Getters */ | ||
| 47 | //@{ | ||
| 48 | |||
| 49 | double minimumSetpointTemperature() const; | ||
| 50 | |||
| 51 | bool isMinimumSetpointTemperatureDefaulted() const; | ||
| 52 | |||
| 53 | double maximumSetpointTemperature() const; | ||
| 54 | |||
| 55 | bool isMaximumSetpointTemperatureDefaulted() const; | ||
| 56 | |||
| 57 | double minimumSetpointHumidityRatio() const; | ||
| 58 | |||
| 59 | bool isMinimumSetpointHumidityRatioDefaulted() const; | ||
| 60 | |||
| 61 | double maximumSetpointHumidityRatio() const; | ||
| 62 | |||
| 63 | bool isMaximumSetpointHumidityRatioDefaulted() const; | ||
| 64 | |||
| 65 | boost::optional<Node> referenceSetpointNode() const; | ||
| 66 | |||
| 67 | boost::optional<Node> mixedAirStreamNode() const; | ||
| 68 | |||
| 69 | boost::optional<Node> outdoorAirStreamNode() const; | ||
| 70 | |||
| 71 | boost::optional<Node> returnAirStreamNode() const; | ||
| 72 | |||
| 73 | //@} | ||
| 74 | /** @name Setters */ | ||
| 75 | //@{ | ||
| 76 | |||
| 77 | void resetControlVariable(); | ||
| 78 | |||
| 79 | bool setMinimumSetpointTemperature(double minimumSetpointTemperature); | ||
| 80 | |||
| 81 | void resetMinimumSetpointTemperature(); | ||
| 82 | |||
| 83 | bool setMaximumSetpointTemperature(double maximumSetpointTemperature); | ||
| 84 | |||
| 85 | void resetMaximumSetpointTemperature(); | ||
| 86 | |||
| 87 | bool setMinimumSetpointHumidityRatio(double minimumSetpointHumidityRatio); | ||
| 88 | |||
| 89 | void resetMinimumSetpointHumidityRatio(); | ||
| 90 | |||
| 91 | bool setMaximumSetpointHumidityRatio(double maximumSetpointHumidityRatio); | ||
| 92 | |||
| 93 | void resetMaximumSetpointHumidityRatio(); | ||
| 94 | |||
| 95 | bool setReferenceSetpointNode(const Node& node); | ||
| 96 | |||
| 97 | void resetReferenceSetpointNode(); | ||
| 98 | |||
| 99 | bool setMixedAirStreamNode(const Node& node); | ||
| 100 | |||
| 101 | void resetMixedAirStreamNode(); | ||
| 102 | |||
| 103 | bool setOutdoorAirStreamNode(const Node& node); | ||
| 104 | |||
| 105 | void resetOutdoorAirStreamNode(); | ||
| 106 | |||
| 107 | bool setReturnAirStreamNode(const Node& node); | ||
| 108 | |||
| 109 | void resetReturnAirStreamNode(); | ||
| 110 | |||
| 111 | //@} | ||
| 112 | /** @name Other */ | ||
| 113 | //@{ | ||
| 114 | |||
| 115 | //@} | ||
| 116 | protected: | ||
| 117 | /// @cond | ||
| 118 | using ImplType = detail::SetpointManagerOutdoorAirPretreat_Impl; | ||
| 119 | |||
| 120 | explicit SetpointManagerOutdoorAirPretreat(std::shared_ptr<detail::SetpointManagerOutdoorAirPretreat_Impl> impl); | ||
| 121 | |||
| 122 | friend class detail::SetpointManagerOutdoorAirPretreat_Impl; | ||
| 123 | friend class Model; | ||
| 124 | friend class IdfObject; | ||
| 125 | friend class openstudio::detail::IdfObject_Impl; | ||
| 126 | /// @endcond | ||
| 127 | private: | ||
| 128 | REGISTER_LOGGER("openstudio.model.SetpointManagerOutdoorAirPretreat"); | ||
| 129 | }; | ||
| 130 | |||
| 131 | /** \relates SetpointManagerOutdoorAirPretreat*/ | ||
| 132 | using OptionalSetpointManagerOutdoorAirPretreat = boost::optional<SetpointManagerOutdoorAirPretreat>; | ||
| 133 | |||
| 134 | /** \relates SetpointManagerOutdoorAirPretreat*/ | ||
| 135 | using SetpointManagerOutdoorAirPretreatVector = std::vector<SetpointManagerOutdoorAirPretreat>; | ||
| 136 | |||
| 137 | } // namespace model | ||
| 138 | } // namespace openstudio | ||
| 139 | |||
| 140 | #endif // MODEL_SETPOINTMANAGEROUTDOORAIRPRETREAT_HPP | ||
| 141 |