src/model/SetpointManagerSingleZoneOneStageCooling.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_SETPOINTMANAGERSINGLEZONEONESTAGECOOLING_HPP | ||
| 7 | #define MODEL_SETPOINTMANAGERSINGLEZONEONESTAGECOOLING_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 SetpointManagerSingleZoneOneStageCooling_Impl; | ||
| 22 | |||
| 23 | } // namespace detail | ||
| 24 | |||
| 25 | /** SetpointManagerSingleZoneOneStageCooling is a SetpointManager that wraps the OpenStudio IDD object 'OS:SetpointManager:SingleZone:OneStageCooling'. */ | ||
| 26 | class MODEL_API SetpointManagerSingleZoneOneStageCooling : public SetpointManager | ||
| 27 | { | ||
| 28 | public: | ||
| 29 | /** @name Constructors and Destructors */ | ||
| 30 | //@{ | ||
| 31 | |||
| 32 | explicit SetpointManagerSingleZoneOneStageCooling(const Model& model); | ||
| 33 | |||
| 34 | 25 | virtual ~SetpointManagerSingleZoneOneStageCooling() override = default; | |
| 35 | // Default the copy and move operators because the virtual dtor is explicit | ||
| 36 | ✗ | SetpointManagerSingleZoneOneStageCooling(const SetpointManagerSingleZoneOneStageCooling& other) = default; | |
| 37 | 6 | SetpointManagerSingleZoneOneStageCooling(SetpointManagerSingleZoneOneStageCooling&& other) = default; | |
| 38 | ✗ | SetpointManagerSingleZoneOneStageCooling& operator=(const SetpointManagerSingleZoneOneStageCooling&) = default; | |
| 39 | ✗ | SetpointManagerSingleZoneOneStageCooling& operator=(SetpointManagerSingleZoneOneStageCooling&&) = 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 coolingStageOnSupplyAirSetpointTemperature() const; | ||
| 53 | |||
| 54 | double coolingStageOffSupplyAirSetpointTemperature() 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 setCoolingStageOnSupplyAirSetpointTemperature(double coolingStageOnSupplyAirSetpointTemperature); | ||
| 67 | |||
| 68 | bool setCoolingStageOffSupplyAirSetpointTemperature(double coolingStageOffSupplyAirSetpointTemperature); | ||
| 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::SetpointManagerSingleZoneOneStageCooling_Impl; | ||
| 82 | |||
| 83 | explicit SetpointManagerSingleZoneOneStageCooling(std::shared_ptr<detail::SetpointManagerSingleZoneOneStageCooling_Impl> impl); | ||
| 84 | |||
| 85 | friend class detail::SetpointManagerSingleZoneOneStageCooling_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.SetpointManagerSingleZoneOneStageCooling"); | ||
| 92 | }; | ||
| 93 | |||
| 94 | /** \relates SetpointManagerSingleZoneOneStageCooling*/ | ||
| 95 | using OptionalSetpointManagerSingleZoneOneStageCooling = boost::optional<SetpointManagerSingleZoneOneStageCooling>; | ||
| 96 | |||
| 97 | /** \relates SetpointManagerSingleZoneOneStageCooling*/ | ||
| 98 | using SetpointManagerSingleZoneOneStageCoolingVector = std::vector<SetpointManagerSingleZoneOneStageCooling>; | ||
| 99 | |||
| 100 | } // namespace model | ||
| 101 | } // namespace openstudio | ||
| 102 | |||
| 103 | #endif // MODEL_SETPOINTMANAGERSINGLEZONEONESTAGECOOLING_HPP | ||
| 104 |