src/model/CoilCoolingLowTempRadiantConstFlow.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_COILCOOLINGLOWTEMPRADIANTCONSTFLOW_HPP | ||
| 7 | #define MODEL_COILCOOLINGLOWTEMPRADIANTCONSTFLOW_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 CoilCoolingLowTempRadiantConstFlow_Impl; | ||
| 21 | |||
| 22 | } // namespace detail | ||
| 23 | |||
| 24 | /** CoilCoolingLowTempRadiantConstFlow is a StraightComponent that wraps the OpenStudio IDD object 'OS:Coil:Cooling:LowTemperatureRadiant:ConstantFlow'. */ | ||
| 25 | class MODEL_API CoilCoolingLowTempRadiantConstFlow : public StraightComponent | ||
| 26 | { | ||
| 27 | public: | ||
| 28 | /** @name Constructors and Destructors */ | ||
| 29 | //@{ | ||
| 30 | |||
| 31 | CoilCoolingLowTempRadiantConstFlow(const Model& model, Schedule& coolingHighWaterTemperatureSchedule, | ||
| 32 | Schedule& coolingLowWaterTemperatureSchedule, Schedule& coolingHighControlTemperatureSchedule, | ||
| 33 | Schedule& coolingLowControlTemperatureSchedule); | ||
| 34 | |||
| 35 | 10 | virtual ~CoilCoolingLowTempRadiantConstFlow() override = default; | |
| 36 | // Default the copy and move operators because the virtual dtor is explicit | ||
| 37 | 1 | CoilCoolingLowTempRadiantConstFlow(const CoilCoolingLowTempRadiantConstFlow& other) = default; | |
| 38 | 1 | CoilCoolingLowTempRadiantConstFlow(CoilCoolingLowTempRadiantConstFlow&& other) = default; | |
| 39 | ✗ | CoilCoolingLowTempRadiantConstFlow& operator=(const CoilCoolingLowTempRadiantConstFlow&) = default; | |
| 40 | ✗ | CoilCoolingLowTempRadiantConstFlow& operator=(CoilCoolingLowTempRadiantConstFlow&&) = default; | |
| 41 | |||
| 42 | //virtual unsigned inletPort() const; | ||
| 43 | |||
| 44 | //virtual unsigned outletPort() const; | ||
| 45 | //@} | ||
| 46 | |||
| 47 | static IddObjectType iddObjectType(); | ||
| 48 | |||
| 49 | static std::vector<std::string> condensationControlTypeValues(); | ||
| 50 | |||
| 51 | /** @name Getters */ | ||
| 52 | //@{ | ||
| 53 | |||
| 54 | /** The following four schedules: cooling high and low water temperature schedules, cooling high and low control temperature schedules | ||
| 55 | define the high and low limits of a zone radiant system's desired inlet/supply cooling water temperatures and the high and low limits of a zone's cooling control temperature setpoints. | ||
| 56 | If the space radiant cooling control temperature exceeds the cooling control temperature setpoint high limit, the inlet cooling water temperature is reduced to its low limit. If the space | ||
| 57 | radiant cooling control temperature drops below its cooling control temperature low limit, the radiant cooling loop is shut off. If the space radiant cooling control temperature varies between | ||
| 58 | the cooling control temperature high and low limits, the desired inlet cooling water temperature is linearly interpolated between the high and low cooling water temperature limits. The desired water | ||
| 59 | temperature is achieved by the zone 3-way valve for mixing/bypassing controls. | ||
| 60 | */ | ||
| 61 | |||
| 62 | boost::optional<Schedule> coolingHighWaterTemperatureSchedule() const; | ||
| 63 | |||
| 64 | boost::optional<Schedule> coolingLowWaterTemperatureSchedule() const; | ||
| 65 | |||
| 66 | boost::optional<Schedule> coolingHighControlTemperatureSchedule() const; | ||
| 67 | |||
| 68 | boost::optional<Schedule> coolingLowControlTemperatureSchedule() const; | ||
| 69 | |||
| 70 | std::string condensationControlType() const; | ||
| 71 | |||
| 72 | bool isCondensationControlTypeDefaulted() const; | ||
| 73 | |||
| 74 | double condensationControlDewpointOffset() const; | ||
| 75 | |||
| 76 | bool isCondensationControlDewpointOffsetDefaulted() const; | ||
| 77 | |||
| 78 | //@} | ||
| 79 | /** @name Setters */ | ||
| 80 | //@{ | ||
| 81 | |||
| 82 | bool setCoolingHighWaterTemperatureSchedule(Schedule& schedule); | ||
| 83 | |||
| 84 | void resetCoolingHighWaterTemperatureSchedule(); | ||
| 85 | |||
| 86 | bool setCoolingLowWaterTemperatureSchedule(Schedule& schedule); | ||
| 87 | |||
| 88 | void resetCoolingLowWaterTemperatureSchedule(); | ||
| 89 | |||
| 90 | bool setCoolingHighControlTemperatureSchedule(Schedule& schedule); | ||
| 91 | |||
| 92 | void resetCoolingHighControlTemperatureSchedule(); | ||
| 93 | |||
| 94 | bool setCoolingLowControlTemperatureSchedule(Schedule& schedule); | ||
| 95 | |||
| 96 | void resetCoolingLowControlTemperatureSchedule(); | ||
| 97 | |||
| 98 | bool setCondensationControlType(const std::string& condensationControlType); | ||
| 99 | |||
| 100 | void resetCondensationControlType(); | ||
| 101 | |||
| 102 | bool setCondensationControlDewpointOffset(double condensationControlDewpointOffset); | ||
| 103 | |||
| 104 | void resetCondensationControlDewpointOffset(); | ||
| 105 | |||
| 106 | //@} | ||
| 107 | /** @name Other */ | ||
| 108 | //@{ | ||
| 109 | |||
| 110 | //@} | ||
| 111 | protected: | ||
| 112 | /// @cond | ||
| 113 | using ImplType = detail::CoilCoolingLowTempRadiantConstFlow_Impl; | ||
| 114 | |||
| 115 | explicit CoilCoolingLowTempRadiantConstFlow(std::shared_ptr<detail::CoilCoolingLowTempRadiantConstFlow_Impl> impl); | ||
| 116 | |||
| 117 | friend class detail::CoilCoolingLowTempRadiantConstFlow_Impl; | ||
| 118 | friend class Model; | ||
| 119 | friend class IdfObject; | ||
| 120 | friend class openstudio::detail::IdfObject_Impl; | ||
| 121 | /// @endcond | ||
| 122 | private: | ||
| 123 | REGISTER_LOGGER("openstudio.model.CoilCoolingLowTempRadiantConstFlow"); | ||
| 124 | }; | ||
| 125 | |||
| 126 | /** \relates CoilCoolingLowTempRadiantConstFlow*/ | ||
| 127 | using OptionalCoilCoolingLowTempRadiantConstFlow = boost::optional<CoilCoolingLowTempRadiantConstFlow>; | ||
| 128 | |||
| 129 | /** \relates CoilCoolingLowTempRadiantConstFlow*/ | ||
| 130 | using CoilCoolingLowTempRadiantConstFlowVector = std::vector<CoilCoolingLowTempRadiantConstFlow>; | ||
| 131 | |||
| 132 | } // namespace model | ||
| 133 | } // namespace openstudio | ||
| 134 | |||
| 135 | #endif // MODEL_COILCOOLINGLOWTEMPRADIANTCONSTFLOW_HPP | ||
| 136 |