GCC Code Coverage Report


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

src/model/CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData_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_COILHEATINGWATERTOAIRHEATPUMPVARIABLESPEEDEQUATIONFITSPEEDDATA_IMPL_HPP
7 #define MODEL_COILHEATINGWATERTOAIRHEATPUMPVARIABLESPEEDEQUATIONFITSPEEDDATA_IMPL_HPP
8
9 #include "ModelAPI.hpp"
10 #include "ParentObject_Impl.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 class Curve;
16
17 namespace detail {
18
19 /** CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData_Impl is a ParentObject_Impl that is the implementation class for CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData.*/
20 class MODEL_API CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData_Impl : public ParentObject_Impl
21 {
22 public:
23 /** @name Constructors and Destructors */
24 //@{
25
26 CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
27
28 CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model,
29 bool keepHandle);
30
31 CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData_Impl(
32 const CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData_Impl& other, Model_Impl* model, bool keepHandle);
33
34 25 virtual ~CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData_Impl() override = default;
35
36 //@}
37 /** @name Virtual Methods */
38 //@{
39
40 virtual const std::vector<std::string>& outputVariableNames() const override;
41
42 virtual IddObjectType iddObjectType() const override;
43
44 virtual ModelObject clone(Model model) const override;
45
46 virtual std::vector<ModelObject> children() const override;
47
48 //@}
49 /** @name Getters */
50 //@{
51
52 double referenceUnitGrossRatedHeatingCapacity() const;
53
54 double referenceUnitGrossRatedHeatingCOP() const;
55
56 double referenceUnitRatedAirFlow() const;
57
58 double referenceUnitRatedWaterFlowRate() const;
59
60 Curve heatingCapacityFunctionofTemperatureCurve() const;
61
62 Curve totalHeatingCapacityFunctionofAirFlowFractionCurve() const;
63
64 Curve heatingCapacityFunctionofWaterFlowFractionCurve() const;
65
66 Curve energyInputRatioFunctionofTemperatureCurve() const;
67
68 Curve energyInputRatioFunctionofAirFlowFractionCurve() const;
69
70 Curve energyInputRatioFunctionofWaterFlowFractionCurve() const;
71
72 double referenceUnitWasteHeatFractionofInputPowerAtRatedConditions() const;
73
74 Curve wasteHeatFunctionofTemperatureCurve() const;
75
76 //@}
77 /** @name Setters */
78 //@{
79
80 bool setReferenceUnitGrossRatedHeatingCapacity(double referenceUnitGrossRatedHeatingCapacity);
81
82 bool setReferenceUnitGrossRatedHeatingCOP(double referenceUnitGrossRatedHeatingCOP);
83
84 bool setReferenceUnitRatedAirFlow(double referenceUnitRatedAirFlow);
85
86 bool setReferenceUnitRatedWaterFlowRate(double referenceUnitRatedWaterFlowRate);
87
88 bool setHeatingCapacityFunctionofTemperatureCurve(const Curve& curve);
89
90 bool setTotalHeatingCapacityFunctionofAirFlowFractionCurve(const Curve& curve);
91
92 bool setHeatingCapacityFunctionofWaterFlowFractionCurve(const Curve& curve);
93
94 bool setEnergyInputRatioFunctionofTemperatureCurve(const Curve& curve);
95
96 bool setEnergyInputRatioFunctionofAirFlowFractionCurve(const Curve& curve);
97
98 bool setEnergyInputRatioFunctionofWaterFlowFractionCurve(const Curve& curve);
99
100 bool setReferenceUnitWasteHeatFractionofInputPowerAtRatedConditions(double referenceUnitWasteHeatFractionofInputPowerAtRatedConditions);
101
102 bool setWasteHeatFunctionofTemperatureCurve(const Curve& curve);
103
104 //@}
105 /** @name Other */
106 //@{
107
108 //@}
109 protected:
110 private:
111 − REGISTER_LOGGER("openstudio.model.CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData");
112
113 // Optional getters for use by methods like children() so can remove() if the constructor fails.
114 // There are other ways for the public versions of these getters to fail--perhaps all required
115 // objects should be returned as boost::optionals
116 boost::optional<Curve> optionalHeatingCapacityFunctionofTemperatureCurve() const;
117 boost::optional<Curve> optionalTotalHeatingCapacityFunctionofAirFlowFractionCurve() const;
118 boost::optional<Curve> optionalHeatingCapacityFunctionofWaterFlowFractionCurve() const;
119 boost::optional<Curve> optionalEnergyInputRatioFunctionofTemperatureCurve() const;
120 boost::optional<Curve> optionalEnergyInputRatioFunctionofAirFlowFractionCurve() const;
121 boost::optional<Curve> optionalEnergyInputRatioFunctionofWaterFlowFractionCurve() const;
122 boost::optional<Curve> optionalWasteHeatFunctionofTemperatureCurve() const;
123 };
124
125 } // namespace detail
126
127 } // namespace model
128 } // namespace openstudio
129
130 #endif // MODEL_COILHEATINGWATERTOAIRHEATPUMPVARIABLESPEEDEQUATIONFITSPEEDDATA_IMPL_HPP
131