GCC Code Coverage Report


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

src/model/CoilHeatingWaterBaseboardRadiant_Impl.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_COILHEATINGWATERBASEBOARDRADIANT_IMPL_HPP
7 #define MODEL_COILHEATINGWATERBASEBOARDRADIANT_IMPL_HPP
8
9 #include "ModelAPI.hpp"
10 #include "StraightComponent_Impl.hpp"
11 #include "ZoneHVACComponent.hpp"
12 #include "ZoneHVACComponent_Impl.hpp"
13
14 namespace openstudio {
15 namespace model {
16
17 namespace detail {
18
19 /** CoilHeatingWaterBaseboardRadiant_Impl is a StraightComponent_Impl that is the implementation class for CoilHeatingWaterBaseboardRadiant.*/
20 class MODEL_API CoilHeatingWaterBaseboardRadiant_Impl : public StraightComponent_Impl
21 {
22 public:
23 /** @name Constructors and Destructors */
24 //@{
25
26 CoilHeatingWaterBaseboardRadiant_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
27
28 CoilHeatingWaterBaseboardRadiant_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
29
30 CoilHeatingWaterBaseboardRadiant_Impl(const CoilHeatingWaterBaseboardRadiant_Impl& other, Model_Impl* model, bool keepHandle);
31
32 6 virtual ~CoilHeatingWaterBaseboardRadiant_Impl() override = default;
33
34 //@}
35 /** @name Virtual Methods */
36 //@{
37
38 virtual const std::vector<std::string>& outputVariableNames() const override;
39
40 virtual IddObjectType iddObjectType() const override;
41
42 virtual unsigned inletPort() const override;
43
44 virtual unsigned outletPort() const override;
45
46 virtual boost::optional<ZoneHVACComponent> containingZoneHVACComponent() const override;
47
48 virtual bool addToNode(Node& node) override;
49
50 virtual ComponentType componentType() const override;
51 virtual std::vector<FuelType> coolingFuelTypes() const override;
52 virtual std::vector<FuelType> heatingFuelTypes() const override;
53 virtual std::vector<AppGFuelType> appGHeatingFuelTypes() const override;
54
55 //@}
56 /** @name Getters */
57 //@{
58
59 double ratedAverageWaterTemperature() const;
60
61 double ratedWaterMassFlowRate() const;
62
63 std::string heatingDesignCapacityMethod() const;
64
65 boost::optional<double> heatingDesignCapacity() const;
66
67 bool isHeatingDesignCapacityAutosized() const;
68
69 double heatingDesignCapacityPerFloorArea() const;
70
71 double fractionofAutosizedHeatingDesignCapacity() const;
72
73 boost::optional<double> maximumWaterFlowRate() const;
74
75 bool isMaximumWaterFlowRateAutosized() const;
76
77 double convergenceTolerance() const;
78
79 boost::optional<double> autosizedHeatingDesignCapacity() const;
80
81 boost::optional<double> autosizedMaximumWaterFlowRate() const;
82
83 virtual void autosize() override;
84
85 virtual void applySizingValues() override;
86
87 //@}
88 /** @name Setters */
89 //@{
90
91 bool setRatedAverageWaterTemperature(double ratedAverageWaterTemperature);
92
93 bool setRatedWaterMassFlowRate(double ratedWaterMassFlowRate);
94
95 bool setHeatingDesignCapacityMethod(const std::string& heatingDesignCapacityMethod);
96
97 bool setHeatingDesignCapacity(boost::optional<double> heatingDesignCapacity);
98
99 void autosizeHeatingDesignCapacity();
100
101 bool setHeatingDesignCapacityPerFloorArea(double heatingDesignCapacityPerFloorArea);
102
103 bool setFractionofAutosizedHeatingDesignCapacity(double fractionofAutosizedHeatingDesignCapacity);
104
105 bool setMaximumWaterFlowRate(boost::optional<double> maximumWaterFlowRate);
106
107 void autosizeMaximumWaterFlowRate();
108
109 bool setConvergenceTolerance(double convergenceTolerance);
110
111 //@}
112 /** @name Other */
113 //@{
114
115 //@}
116 protected:
117 private:
118 REGISTER_LOGGER("openstudio.model.CoilHeatingWaterBaseboardRadiant");
119 };
120
121 } // namespace detail
122
123 } // namespace model
124 } // namespace openstudio
125
126 #endif // MODEL_COILHEATINGWATERBASEBOARDRADIANT_IMPL_HPP
127