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/CoilCoolingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData_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_COILCOOLINGWATERTOAIRHEATPUMPVARIABLESPEEDEQUATIONFITSPEEDDATA_IMPL_HPP
7 #define MODEL_COILCOOLINGWATERTOAIRHEATPUMPVARIABLESPEEDEQUATIONFITSPEEDDATA_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 /** CoilCoolingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData_Impl is a ParentObject_Impl that is the implementation class for CoilCoolingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData.*/
20 class MODEL_API CoilCoolingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData_Impl : public ParentObject_Impl
21 {
22 public:
23 /** @name Constructors and Destructors */
24 //@{
25
26 CoilCoolingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
27
28 CoilCoolingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model,
29 bool keepHandle);
30
31 CoilCoolingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData_Impl(
32 const CoilCoolingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData_Impl& other, Model_Impl* model, bool keepHandle);
33
34 25 virtual ~CoilCoolingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData_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 referenceUnitGrossRatedTotalCoolingCapacity() const;
53
54 double referenceUnitGrossRatedSensibleHeatRatio() const;
55
56 double referenceUnitGrossRatedCoolingCOP() const;
57
58 double referenceUnitRatedAirFlowRate() const;
59
60 double referenceUnitRatedWaterFlowRate() const;
61
62 Curve totalCoolingCapacityFunctionofTemperatureCurve() const;
63
64 Curve totalCoolingCapacityFunctionofAirFlowFractionCurve() const;
65
66 Curve totalCoolingCapacityFunctionofWaterFlowFractionCurve() const;
67
68 Curve energyInputRatioFunctionofTemperatureCurve() const;
69
70 Curve energyInputRatioFunctionofAirFlowFractionCurve() const;
71
72 Curve energyInputRatioFunctionofWaterFlowFractionCurve() const;
73
74 double referenceUnitWasteHeatFractionofInputPowerAtRatedConditions() const;
75
76 Curve wasteHeatFunctionofTemperatureCurve() const;
77
78 //@}
79 /** @name Setters */
80 //@{
81
82 bool setReferenceUnitGrossRatedTotalCoolingCapacity(double referenceUnitGrossRatedTotalCoolingCapacity);
83
84 bool setReferenceUnitGrossRatedSensibleHeatRatio(double referenceUnitGrossRatedSensibleHeatRatio);
85
86 bool setReferenceUnitGrossRatedCoolingCOP(double referenceUnitGrossRatedCoolingCOP);
87
88 bool setReferenceUnitRatedAirFlowRate(double referenceUnitRatedAirFlowRate);
89
90 bool setReferenceUnitRatedWaterFlowRate(double referenceUnitRatedWaterFlowRate);
91
92 bool setTotalCoolingCapacityFunctionofTemperatureCurve(const Curve& curve);
93
94 bool setTotalCoolingCapacityFunctionofAirFlowFractionCurve(const Curve& curve);
95
96 bool setTotalCoolingCapacityFunctionofWaterFlowFractionCurve(const Curve& curve);
97
98 bool setEnergyInputRatioFunctionofTemperatureCurve(const Curve& curve);
99
100 bool setEnergyInputRatioFunctionofAirFlowFractionCurve(const Curve& curve);
101
102 bool setEnergyInputRatioFunctionofWaterFlowFractionCurve(const Curve& curve);
103
104 bool setReferenceUnitWasteHeatFractionofInputPowerAtRatedConditions(double referenceUnitWasteHeatFractionofInputPowerAtRatedConditions);
105
106 bool setWasteHeatFunctionofTemperatureCurve(const Curve& curve);
107
108 //@}
109 /** @name Other */
110 //@{
111
112 //@}
113 protected:
114 private:
115 − REGISTER_LOGGER("openstudio.model.CoilCoolingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData");
116
117 // Optional getters for use by methods like children() so can remove() if the constructor fails.
118 // There are other ways for the public versions of these getters to fail--perhaps all required
119 // objects should be returned as boost::optionals
120 boost::optional<Curve> optionalTotalCoolingCapacityFunctionofTemperatureCurve() const;
121 boost::optional<Curve> optionalTotalCoolingCapacityFunctionofAirFlowFractionCurve() const;
122 boost::optional<Curve> optionalTotalCoolingCapacityFunctionofWaterFlowFractionCurve() const;
123 boost::optional<Curve> optionalEnergyInputRatioFunctionofTemperatureCurve() const;
124 boost::optional<Curve> optionalEnergyInputRatioFunctionofAirFlowFractionCurve() const;
125 boost::optional<Curve> optionalEnergyInputRatioFunctionofWaterFlowFractionCurve() const;
126 boost::optional<Curve> optionalWasteHeatFunctionofTemperatureCurve() const;
127 };
128
129 } // namespace detail
130
131 } // namespace model
132 } // namespace openstudio
133
134 #endif // MODEL_COILCOOLINGWATERTOAIRHEATPUMPVARIABLESPEEDEQUATIONFITSPEEDDATA_IMPL_HPP
135