src/model/SetpointManagerWarmestTemperatureFlow.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_SETPOINTMANAGERWARMESTTEMPERATUREFLOW_HPP | ||
| 7 | #define MODEL_SETPOINTMANAGERWARMESTTEMPERATUREFLOW_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 SetpointManagerWarmestTemperatureFlow_Impl; | ||
| 21 | |||
| 22 | } // namespace detail | ||
| 23 | |||
| 24 | /** SetpointManagerWarmestTemperatureFlow is a SetpointManager that wraps the OpenStudio IDD object 'OS:SetpointManager:WarmestTemperatureFlow'. */ | ||
| 25 | class MODEL_API SetpointManagerWarmestTemperatureFlow : public SetpointManager | ||
| 26 | { | ||
| 27 | public: | ||
| 28 | /** @name Constructors and Destructors */ | ||
| 29 | //@{ | ||
| 30 | |||
| 31 | explicit SetpointManagerWarmestTemperatureFlow(const Model& model); | ||
| 32 | |||
| 33 | 1 | virtual ~SetpointManagerWarmestTemperatureFlow() override = default; | |
| 34 | // Default the copy and move operators because the virtual dtor is explicit | ||
| 35 | ✗ | SetpointManagerWarmestTemperatureFlow(const SetpointManagerWarmestTemperatureFlow& other) = default; | |
| 36 | ✗ | SetpointManagerWarmestTemperatureFlow(SetpointManagerWarmestTemperatureFlow&& other) = default; | |
| 37 | ✗ | SetpointManagerWarmestTemperatureFlow& operator=(const SetpointManagerWarmestTemperatureFlow&) = default; | |
| 38 | ✗ | SetpointManagerWarmestTemperatureFlow& operator=(SetpointManagerWarmestTemperatureFlow&&) = default; | |
| 39 | |||
| 40 | //@} | ||
| 41 | |||
| 42 | static IddObjectType iddObjectType(); | ||
| 43 | |||
| 44 | static std::vector<std::string> controlVariableValues(); | ||
| 45 | |||
| 46 | static std::vector<std::string> strategyValues(); | ||
| 47 | |||
| 48 | /** @name Getters */ | ||
| 49 | //@{ | ||
| 50 | |||
| 51 | double minimumSetpointTemperature() const; | ||
| 52 | |||
| 53 | double maximumSetpointTemperature() const; | ||
| 54 | |||
| 55 | std::string strategy() const; | ||
| 56 | |||
| 57 | double minimumTurndownRatio() const; | ||
| 58 | |||
| 59 | //@} | ||
| 60 | /** @name Setters */ | ||
| 61 | //@{ | ||
| 62 | |||
| 63 | bool setMinimumSetpointTemperature(double minimumSetpointTemperature); | ||
| 64 | |||
| 65 | bool setMaximumSetpointTemperature(double maximumSetpointTemperature); | ||
| 66 | |||
| 67 | bool setStrategy(const std::string& strategy); | ||
| 68 | |||
| 69 | bool setMinimumTurndownRatio(double minimumTurndownRatio); | ||
| 70 | |||
| 71 | //@} | ||
| 72 | /** @name Other */ | ||
| 73 | //@{ | ||
| 74 | bool setSetpointNode(const Node& node); | ||
| 75 | |||
| 76 | void resetSetpointNode(); | ||
| 77 | |||
| 78 | //@} | ||
| 79 | protected: | ||
| 80 | /// @cond | ||
| 81 | using ImplType = detail::SetpointManagerWarmestTemperatureFlow_Impl; | ||
| 82 | |||
| 83 | explicit SetpointManagerWarmestTemperatureFlow(std::shared_ptr<detail::SetpointManagerWarmestTemperatureFlow_Impl> impl); | ||
| 84 | |||
| 85 | friend class detail::SetpointManagerWarmestTemperatureFlow_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.SetpointManagerWarmestTemperatureFlow"); | ||
| 92 | }; | ||
| 93 | |||
| 94 | /** \relates SetpointManagerWarmestTemperatureFlow*/ | ||
| 95 | using OptionalSetpointManagerWarmestTemperatureFlow = boost::optional<SetpointManagerWarmestTemperatureFlow>; | ||
| 96 | |||
| 97 | /** \relates SetpointManagerWarmestTemperatureFlow*/ | ||
| 98 | using SetpointManagerWarmestTemperatureFlowVector = std::vector<SetpointManagerWarmestTemperatureFlow>; | ||
| 99 | |||
| 100 | } // namespace model | ||
| 101 | } // namespace openstudio | ||
| 102 | |||
| 103 | #endif // MODEL_SETPOINTMANAGERWARMESTTEMPERATUREFLOW_HPP | ||
| 104 |