GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 60.0% 3 / 0 / 5
Functions: 60.0% 3 / 0 / 5
Branches: -% 0 / 0 / 0

src/model/CoilHeatingLowTempRadiantConstFlow.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_COILHEATINGLOWTEMPRADIANTCONSTFLOW_HPP
7 #define MODEL_COILHEATINGLOWTEMPRADIANTCONSTFLOW_HPP
8
9 #include "ModelAPI.hpp"
10 #include "StraightComponent.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 class Schedule;
16
17 namespace detail {
18
19 class CoilHeatingLowTempRadiantConstFlow_Impl;
20
21 } // namespace detail
22
23 /** CoilHeatingLowTempRadiantConstFlow is a StraightComponent that wraps the OpenStudio IDD object 'OS:Coil:Heating:LowTemperatureRadiant:ConstantFlow'.
24 The object has following four schedules: heating high and low water temperature schedules, heating high and low control temperature schedules. These schedules
25 define the high and low limits of a zone radiant system's desired inlet/supply heating water temperatures and the high and low limits of a zone's heating control temperature setpoints.
26 If the space radiant heating control temperature drops below the heating control temperature setpoint low limit, the inlet heating water temperature is increased to its high limit. If the space
27 radiant heating control temperature exceeds its heating control temperature high limit, the radiant heating loop is shut off. If the space radiant heating control temperature varies between
28 the heating control temperature high and low limits, the desired inlet heating water temperature is linearly interpolated between the high and low heating water temperature limits. The desired water
29 temperature is achieved by the zone 3-way valve for mixing/bypassing controls.
30 */
31
32 class MODEL_API CoilHeatingLowTempRadiantConstFlow : public StraightComponent
33 {
34 public:
35 /** @name Constructors and Destructors */
36 //@{
37
38 CoilHeatingLowTempRadiantConstFlow(const Model& model, Schedule& heatingHighWaterTemperatureSchedule,
39 Schedule& heatingLowWaterTemperatureSchedule, Schedule& heatingHighControlTemperatureSchedule,
40 Schedule& heatingLowControlTemperatureSchedule);
41
42 10 virtual ~CoilHeatingLowTempRadiantConstFlow() override = default;
43 // Default the copy and move operators because the virtual dtor is explicit
44 1 CoilHeatingLowTempRadiantConstFlow(const CoilHeatingLowTempRadiantConstFlow& other) = default;
45 1 CoilHeatingLowTempRadiantConstFlow(CoilHeatingLowTempRadiantConstFlow&& other) = default;
46 ✗ CoilHeatingLowTempRadiantConstFlow& operator=(const CoilHeatingLowTempRadiantConstFlow&) = default;
47 ✗ CoilHeatingLowTempRadiantConstFlow& operator=(CoilHeatingLowTempRadiantConstFlow&&) = default;
48
49 //@}
50
51 static IddObjectType iddObjectType();
52
53 /** @name Getters */
54 //@{
55
56 boost::optional<Schedule> heatingHighWaterTemperatureSchedule() const;
57
58 boost::optional<Schedule> heatingLowWaterTemperatureSchedule() const;
59
60 boost::optional<Schedule> heatingHighControlTemperatureSchedule() const;
61
62 boost::optional<Schedule> heatingLowControlTemperatureSchedule() const;
63
64 //@}
65 /** @name Setters */
66 //@{
67
68 bool setHeatingHighWaterTemperatureSchedule(Schedule& schedule);
69
70 void resetHeatingHighWaterTemperatureSchedule();
71
72 bool setHeatingLowWaterTemperatureSchedule(Schedule& schedule);
73
74 void resetHeatingLowWaterTemperatureSchedule();
75
76 bool setHeatingHighControlTemperatureSchedule(Schedule& schedule);
77
78 void resetHeatingHighControlTemperatureSchedule();
79
80 bool setHeatingLowControlTemperatureSchedule(Schedule& schedule);
81
82 void resetHeatingLowControlTemperatureSchedule();
83
84 //@}
85 /** @name Other */
86 //@{
87
88 //@}
89 protected:
90 /// @cond
91 using ImplType = detail::CoilHeatingLowTempRadiantConstFlow_Impl;
92
93 explicit CoilHeatingLowTempRadiantConstFlow(std::shared_ptr<detail::CoilHeatingLowTempRadiantConstFlow_Impl> impl);
94
95 friend class detail::CoilHeatingLowTempRadiantConstFlow_Impl;
96 friend class Model;
97 friend class IdfObject;
98 friend class openstudio::detail::IdfObject_Impl;
99 /// @endcond
100 private:
101 REGISTER_LOGGER("openstudio.model.CoilHeatingLowTempRadiantConstFlow");
102 };
103
104 /** \relates CoilHeatingLowTempRadiantConstFlow*/
105 using OptionalCoilHeatingLowTempRadiantConstFlow = boost::optional<CoilHeatingLowTempRadiantConstFlow>;
106
107 /** \relates CoilHeatingLowTempRadiantConstFlow*/
108 using CoilHeatingLowTempRadiantConstFlowVector = std::vector<CoilHeatingLowTempRadiantConstFlow>;
109
110 } // namespace model
111 } // namespace openstudio
112
113 #endif // MODEL_COILHEATINGLOWTEMPRADIANTCONSTFLOW_HPP
114