src/model/SetpointManagerSingleZoneOneStageHeating.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_SETPOINTMANAGERSINGLEZONEONESTAGEHEATING_HPP | ||
| 7 | #define MODEL_SETPOINTMANAGERSINGLEZONEONESTAGEHEATING_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "SetpointManager.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | |||
| 14 | namespace model { | ||
| 15 | |||
| 16 | class ThermalZone; | ||
| 17 | class Node; | ||
| 18 | |||
| 19 | namespace detail { | ||
| 20 | |||
| 21 | class SetpointManagerSingleZoneOneStageHeating_Impl; | ||
| 22 | |||
| 23 | } // namespace detail | ||
| 24 | |||
| 25 | /** SetpointManagerSingleZoneOneStageHeating is a SetpointManager that wraps the OpenStudio IDD object 'OS:SetpointManager:SingleZone:OneStageHeating'. */ | ||
| 26 | class MODEL_API SetpointManagerSingleZoneOneStageHeating : public SetpointManager | ||
| 27 | { | ||
| 28 | public: | ||
| 29 | /** @name Constructors and Destructors */ | ||
| 30 | //@{ | ||
| 31 | |||
| 32 | explicit SetpointManagerSingleZoneOneStageHeating(const Model& model); | ||
| 33 | |||
| 34 | 25 | virtual ~SetpointManagerSingleZoneOneStageHeating() override = default; | |
| 35 | // Default the copy and move operators because the virtual dtor is explicit | ||
| 36 | ✗ | SetpointManagerSingleZoneOneStageHeating(const SetpointManagerSingleZoneOneStageHeating& other) = default; | |
| 37 | 6 | SetpointManagerSingleZoneOneStageHeating(SetpointManagerSingleZoneOneStageHeating&& other) = default; | |
| 38 | ✗ | SetpointManagerSingleZoneOneStageHeating& operator=(const SetpointManagerSingleZoneOneStageHeating&) = default; | |
| 39 | ✗ | SetpointManagerSingleZoneOneStageHeating& operator=(SetpointManagerSingleZoneOneStageHeating&&) = default; | |
| 40 | |||
| 41 | //@} | ||
| 42 | |||
| 43 | static IddObjectType iddObjectType(); | ||
| 44 | |||
| 45 | static std::vector<std::string> controlVariableValues(); | ||
| 46 | |||
| 47 | /** @name Getters */ | ||
| 48 | //@{ | ||
| 49 | |||
| 50 | std::string controlVariable() const; | ||
| 51 | |||
| 52 | double heatingStageOnSupplyAirSetpointTemperature() const; | ||
| 53 | |||
| 54 | double heatingStageOffSupplyAirSetpointTemperature() const; | ||
| 55 | |||
| 56 | boost::optional<ThermalZone> controlZone() const; | ||
| 57 | |||
| 58 | boost::optional<Node> setpointNode() const; | ||
| 59 | |||
| 60 | //@} | ||
| 61 | /** @name Setters */ | ||
| 62 | //@{ | ||
| 63 | |||
| 64 | bool setControlVariable(const std::string& controlVariable); | ||
| 65 | |||
| 66 | bool setHeatingStageOnSupplyAirSetpointTemperature(double heatingStageOnSupplyAirSetpointTemperature); | ||
| 67 | |||
| 68 | bool setHeatingStageOffSupplyAirSetpointTemperature(double heatingStageOffSupplyAirSetpointTemperature); | ||
| 69 | |||
| 70 | bool setControlZone(const ThermalZone& thermalZone); | ||
| 71 | |||
| 72 | void resetControlZone(); | ||
| 73 | |||
| 74 | //@} | ||
| 75 | /** @name Other */ | ||
| 76 | //@{ | ||
| 77 | |||
| 78 | //@} | ||
| 79 | protected: | ||
| 80 | /// @cond | ||
| 81 | using ImplType = detail::SetpointManagerSingleZoneOneStageHeating_Impl; | ||
| 82 | |||
| 83 | explicit SetpointManagerSingleZoneOneStageHeating(std::shared_ptr<detail::SetpointManagerSingleZoneOneStageHeating_Impl> impl); | ||
| 84 | |||
| 85 | friend class detail::SetpointManagerSingleZoneOneStageHeating_Impl; | ||
| 86 | friend class Model; | ||
| 87 | friend class IdfObject; | ||
| 88 | friend class openstudio::detail::IdfObject_Impl; | ||
| 89 | /// @endcond | ||
| 90 | private: | ||
| 91 | REGISTER_LOGGER("openstudio.model.SetpointManagerSingleZoneOneStageHeating"); | ||
| 92 | }; | ||
| 93 | |||
| 94 | /** \relates SetpointManagerSingleZoneOneStageHeating*/ | ||
| 95 | using OptionalSetpointManagerSingleZoneOneStageHeating = boost::optional<SetpointManagerSingleZoneOneStageHeating>; | ||
| 96 | |||
| 97 | /** \relates SetpointManagerSingleZoneOneStageHeating*/ | ||
| 98 | using SetpointManagerSingleZoneOneStageHeatingVector = std::vector<SetpointManagerSingleZoneOneStageHeating>; | ||
| 99 | |||
| 100 | } // namespace model | ||
| 101 | } // namespace openstudio | ||
| 102 | |||
| 103 | #endif // MODEL_SETPOINTMANAGERSINGLEZONEONESTAGEHEATING_HPP | ||
| 104 |