src/model/CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData.cpp
| 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 | #include "CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData.hpp" | ||
| 7 | #include "CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl.hpp" | ||
| 8 | |||
| 9 | #include "Curve.hpp" | ||
| 10 | #include "Curve_Impl.hpp" | ||
| 11 | #include "Model.hpp" | ||
| 12 | #include "Model_Impl.hpp" | ||
| 13 | #include "CurveBiquadratic.hpp" | ||
| 14 | #include "CurveCubic.hpp" | ||
| 15 | |||
| 16 | #include <utilities/idd/OS_Coil_WaterHeating_AirToWaterHeatPump_VariableSpeed_SpeedData_FieldEnums.hxx> | ||
| 17 | |||
| 18 | #include <utilities/idd/IddEnums.hxx> | ||
| 19 | #include "../utilities/units/Unit.hpp" | ||
| 20 | #include "../utilities/core/Assert.hpp" | ||
| 21 | |||
| 22 | namespace openstudio { | ||
| 23 | namespace model { | ||
| 24 | |||
| 25 | namespace detail { | ||
| 26 | |||
| 27 | 11 | CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl( | |
| 28 | 11 | const IdfObject& idfObject, Model_Impl* model, bool keepHandle) | |
| 29 | 11 | : ParentObject_Impl(idfObject, model, keepHandle) { | |
| 30 |
4/6✓ Branch 1 taken 11 times.
✓ Branch 4 taken 11 times.
✓ Branch 7 taken 11 times.
✗ Branch 10 not taken.
✓ Branch 11 taken 11 times.
✗ Branch 13 not taken.
|
11 | OS_ASSERT(idfObject.iddObject().type() == CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::iddObjectType()); |
| 31 | 11 | } | |
| 32 | |||
| 33 | ✗ | CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl( | |
| 34 | ✗ | const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle) | |
| 35 | ✗ | : ParentObject_Impl(other, model, keepHandle) { | |
| 36 | ✗ | OS_ASSERT(other.iddObject().type() == CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::iddObjectType()); | |
| 37 | ✗ | } | |
| 38 | |||
| 39 | 9 | CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl( | |
| 40 | 9 | const CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl& other, Model_Impl* model, bool keepHandle) | |
| 41 | 9 | : ParentObject_Impl(other, model, keepHandle) {} | |
| 42 | |||
| 43 | ✗ | const std::vector<std::string>& CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::outputVariableNames() const { | |
| 44 | ✗ | static const std::vector<std::string> result; | |
| 45 | ✗ | return result; | |
| 46 | } | ||
| 47 | |||
| 48 | ✗ | IddObjectType CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::iddObjectType() const { | |
| 49 | ✗ | return CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::iddObjectType(); | |
| 50 | } | ||
| 51 | |||
| 52 | 2 | ModelObject CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::clone(Model model) const { | |
| 53 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | auto t_clone = ParentObject_Impl::clone(model).cast<CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData>(); |
| 54 | |||
| 55 | 4 | return std::move(t_clone); | |
| 56 | 2 | } | |
| 57 | |||
| 58 | 3 | std::vector<ModelObject> CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::children() const { | |
| 59 | 3 | std::vector<ModelObject> children; | |
| 60 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | children.push_back(totalWaterHeatingCapacityFunctionofTemperatureCurve()); |
| 61 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | children.push_back(totalWaterHeatingCapacityFunctionofAirFlowFractionCurve()); |
| 62 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | children.push_back(totalWaterHeatingCapacityFunctionofWaterFlowFractionCurve()); |
| 63 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | children.push_back(copFunctionofTemperatureCurve()); |
| 64 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | children.push_back(copFunctionofAirFlowFractionCurve()); |
| 65 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | children.push_back(copFunctionofWaterFlowFractionCurve()); |
| 66 | 3 | return children; | |
| 67 | ✗ | } | |
| 68 | |||
| 69 | 7 | double CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::ratedWaterHeatingCapacity() const { | |
| 70 | boost::optional<double> value = | ||
| 71 |
1/1✓ Branch 1 taken 7 times.
|
7 | getDouble(OS_Coil_WaterHeating_AirToWaterHeatPump_VariableSpeed_SpeedDataFields::RatedWaterHeatingCapacity, true); |
| 72 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
|
7 | OS_ASSERT(value); |
| 73 |
1/1✓ Branch 1 taken 7 times.
|
14 | return value.get(); |
| 74 | } | ||
| 75 | |||
| 76 | 7 | double CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::ratedWaterHeatingCOP() const { | |
| 77 |
1/1✓ Branch 1 taken 7 times.
|
7 | boost::optional<double> value = getDouble(OS_Coil_WaterHeating_AirToWaterHeatPump_VariableSpeed_SpeedDataFields::RatedWaterHeatingCOP, true); |
| 78 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
|
7 | OS_ASSERT(value); |
| 79 |
1/1✓ Branch 1 taken 7 times.
|
14 | return value.get(); |
| 80 | } | ||
| 81 | |||
| 82 | 7 | double CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::ratedSensibleHeatRatio() const { | |
| 83 |
1/1✓ Branch 1 taken 7 times.
|
7 | boost::optional<double> value = getDouble(OS_Coil_WaterHeating_AirToWaterHeatPump_VariableSpeed_SpeedDataFields::RatedSensibleHeatRatio, true); |
| 84 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
|
7 | OS_ASSERT(value); |
| 85 |
1/1✓ Branch 1 taken 7 times.
|
14 | return value.get(); |
| 86 | } | ||
| 87 | |||
| 88 | 7 | double CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::referenceUnitRatedAirFlowRate() const { | |
| 89 | boost::optional<double> value = | ||
| 90 |
1/1✓ Branch 1 taken 7 times.
|
7 | getDouble(OS_Coil_WaterHeating_AirToWaterHeatPump_VariableSpeed_SpeedDataFields::ReferenceUnitRatedAirFlowRate, true); |
| 91 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
|
7 | OS_ASSERT(value); |
| 92 |
1/1✓ Branch 1 taken 7 times.
|
14 | return value.get(); |
| 93 | } | ||
| 94 | |||
| 95 | 7 | double CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::referenceUnitRatedWaterFlowRate() const { | |
| 96 | boost::optional<double> value = | ||
| 97 |
1/1✓ Branch 1 taken 7 times.
|
7 | getDouble(OS_Coil_WaterHeating_AirToWaterHeatPump_VariableSpeed_SpeedDataFields::ReferenceUnitRatedWaterFlowRate, true); |
| 98 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
|
7 | OS_ASSERT(value); |
| 99 |
1/1✓ Branch 1 taken 7 times.
|
14 | return value.get(); |
| 100 | } | ||
| 101 | |||
| 102 | 7 | double CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::referenceUnitWaterPumpInputPowerAtRatedConditions() const { | |
| 103 | boost::optional<double> value = | ||
| 104 |
1/1✓ Branch 1 taken 7 times.
|
7 | getDouble(OS_Coil_WaterHeating_AirToWaterHeatPump_VariableSpeed_SpeedDataFields::ReferenceUnitWaterPumpInputPowerAtRatedConditions, true); |
| 105 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
|
7 | OS_ASSERT(value); |
| 106 |
1/1✓ Branch 1 taken 7 times.
|
14 | return value.get(); |
| 107 | } | ||
| 108 | |||
| 109 | 9 | Curve CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::totalWaterHeatingCapacityFunctionofTemperatureCurve() const { | |
| 110 |
1/1✓ Branch 1 taken 9 times.
|
9 | boost::optional<Curve> value = optionalTotalWaterHeatingCapacityFunctionofTemperatureCurve(); |
| 111 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 9 times.
|
9 | if (!value) { |
| 112 | ✗ | LOG_AND_THROW(briefDescription() << " does not have a Total Water Heating Capacity Function of Temperature Curve attached."); | |
| 113 | } | ||
| 114 |
2/2✓ Branch 1 taken 9 times.
✓ Branch 4 taken 9 times.
|
18 | return value.get(); |
| 115 | 9 | } | |
| 116 | |||
| 117 | 9 | Curve CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::totalWaterHeatingCapacityFunctionofAirFlowFractionCurve() const { | |
| 118 |
1/1✓ Branch 1 taken 9 times.
|
9 | boost::optional<Curve> value = optionalTotalWaterHeatingCapacityFunctionofAirFlowFractionCurve(); |
| 119 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 9 times.
|
9 | if (!value) { |
| 120 | ✗ | LOG_AND_THROW(briefDescription() << " does not have a Total Water Heating Capacity Function of Air Flow Fraction Curve attached."); | |
| 121 | } | ||
| 122 |
2/2✓ Branch 1 taken 9 times.
✓ Branch 4 taken 9 times.
|
18 | return value.get(); |
| 123 | 9 | } | |
| 124 | |||
| 125 | 9 | Curve CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::totalWaterHeatingCapacityFunctionofWaterFlowFractionCurve() const { | |
| 126 |
1/1✓ Branch 1 taken 9 times.
|
9 | boost::optional<Curve> value = optionalTotalWaterHeatingCapacityFunctionofWaterFlowFractionCurve(); |
| 127 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 9 times.
|
9 | if (!value) { |
| 128 | ✗ | LOG_AND_THROW(briefDescription() << " does not have a Total Water Heating Capacity Function of Water Flow Fraction Curve attached."); | |
| 129 | } | ||
| 130 |
2/2✓ Branch 1 taken 9 times.
✓ Branch 4 taken 9 times.
|
18 | return value.get(); |
| 131 | 9 | } | |
| 132 | |||
| 133 | 9 | Curve CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::copFunctionofTemperatureCurve() const { | |
| 134 |
1/1✓ Branch 1 taken 9 times.
|
9 | boost::optional<Curve> value = optionalCOPFunctionofTemperatureCurve(); |
| 135 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 9 times.
|
9 | if (!value) { |
| 136 | ✗ | LOG_AND_THROW(briefDescription() << " does not have a COP Function of Temperature Curve attached."); | |
| 137 | } | ||
| 138 |
2/2✓ Branch 1 taken 9 times.
✓ Branch 4 taken 9 times.
|
18 | return value.get(); |
| 139 | 9 | } | |
| 140 | |||
| 141 | 9 | Curve CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::copFunctionofAirFlowFractionCurve() const { | |
| 142 |
1/1✓ Branch 1 taken 9 times.
|
9 | boost::optional<Curve> value = optionalCOPFunctionofAirFlowFractionCurve(); |
| 143 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 9 times.
|
9 | if (!value) { |
| 144 | ✗ | LOG_AND_THROW(briefDescription() << " does not have a COP Function of Air Flow Fraction Curve attached."); | |
| 145 | } | ||
| 146 |
2/2✓ Branch 1 taken 9 times.
✓ Branch 4 taken 9 times.
|
18 | return value.get(); |
| 147 | 9 | } | |
| 148 | |||
| 149 | 9 | Curve CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::copFunctionofWaterFlowFractionCurve() const { | |
| 150 |
1/1✓ Branch 1 taken 9 times.
|
9 | boost::optional<Curve> value = optionalCOPFunctionofWaterFlowFractionCurve(); |
| 151 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 9 times.
|
9 | if (!value) { |
| 152 | ✗ | LOG_AND_THROW(briefDescription() << " does not have a COP Function of Water Flow Fraction Curve attached."); | |
| 153 | } | ||
| 154 |
2/2✓ Branch 1 taken 9 times.
✓ Branch 4 taken 9 times.
|
18 | return value.get(); |
| 155 | 9 | } | |
| 156 | |||
| 157 | 13 | bool CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::setRatedWaterHeatingCapacity(double ratedWaterHeatingCapacity) { | |
| 158 | bool result = | ||
| 159 | 13 | setDouble(OS_Coil_WaterHeating_AirToWaterHeatPump_VariableSpeed_SpeedDataFields::RatedWaterHeatingCapacity, ratedWaterHeatingCapacity); | |
| 160 | 13 | return result; | |
| 161 | } | ||
| 162 | |||
| 163 | 13 | bool CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::setRatedWaterHeatingCOP(double ratedWaterHeatingCOP) { | |
| 164 | 13 | bool result = setDouble(OS_Coil_WaterHeating_AirToWaterHeatPump_VariableSpeed_SpeedDataFields::RatedWaterHeatingCOP, ratedWaterHeatingCOP); | |
| 165 | 13 | return result; | |
| 166 | } | ||
| 167 | |||
| 168 | 13 | bool CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::setRatedSensibleHeatRatio(double ratedSensibleHeatRatio) { | |
| 169 | 13 | bool result = setDouble(OS_Coil_WaterHeating_AirToWaterHeatPump_VariableSpeed_SpeedDataFields::RatedSensibleHeatRatio, ratedSensibleHeatRatio); | |
| 170 | 13 | return result; | |
| 171 | } | ||
| 172 | |||
| 173 | 13 | bool CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::setReferenceUnitRatedAirFlowRate(double referenceUnitRatedAirFlowRate) { | |
| 174 | 13 | bool result = setDouble(OS_Coil_WaterHeating_AirToWaterHeatPump_VariableSpeed_SpeedDataFields::ReferenceUnitRatedAirFlowRate, | |
| 175 | referenceUnitRatedAirFlowRate); | ||
| 176 | 13 | return result; | |
| 177 | } | ||
| 178 | |||
| 179 | 13 | bool CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::setReferenceUnitRatedWaterFlowRate(double referenceUnitRatedWaterFlowRate) { | |
| 180 | 13 | bool result = setDouble(OS_Coil_WaterHeating_AirToWaterHeatPump_VariableSpeed_SpeedDataFields::ReferenceUnitRatedWaterFlowRate, | |
| 181 | referenceUnitRatedWaterFlowRate); | ||
| 182 | 13 | return result; | |
| 183 | } | ||
| 184 | |||
| 185 | 13 | bool CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::setReferenceUnitWaterPumpInputPowerAtRatedConditions( | |
| 186 | double referenceUnitWaterPumpInputPowerAtRatedConditions) { | ||
| 187 | bool result = | ||
| 188 | 13 | setDouble(OS_Coil_WaterHeating_AirToWaterHeatPump_VariableSpeed_SpeedDataFields::ReferenceUnitWaterPumpInputPowerAtRatedConditions, | |
| 189 | referenceUnitWaterPumpInputPowerAtRatedConditions); | ||
| 190 | 13 | return result; | |
| 191 | } | ||
| 192 | |||
| 193 | 12 | bool CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::setTotalWaterHeatingCapacityFunctionofTemperatureCurve(const Curve& curve) { | |
| 194 | bool result = | ||
| 195 |
1/1✓ Branch 1 taken 12 times.
|
12 | setPointer(OS_Coil_WaterHeating_AirToWaterHeatPump_VariableSpeed_SpeedDataFields::TotalWaterHeatingCapacityFunctionofTemperatureCurveName, |
| 196 |
1/1✓ Branch 1 taken 12 times.
|
12 | curve.handle()); |
| 197 | 12 | return result; | |
| 198 | } | ||
| 199 | |||
| 200 | bool | ||
| 201 | 12 | CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::setTotalWaterHeatingCapacityFunctionofAirFlowFractionCurve(const Curve& curve) { | |
| 202 | bool result = | ||
| 203 |
1/1✓ Branch 1 taken 12 times.
|
12 | setPointer(OS_Coil_WaterHeating_AirToWaterHeatPump_VariableSpeed_SpeedDataFields::TotalWaterHeatingCapacityFunctionofAirFlowFractionCurveName, |
| 204 |
1/1✓ Branch 1 taken 12 times.
|
12 | curve.handle()); |
| 205 | 12 | return result; | |
| 206 | } | ||
| 207 | |||
| 208 | 12 | bool CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::setTotalWaterHeatingCapacityFunctionofWaterFlowFractionCurve( | |
| 209 | const Curve& curve) { | ||
| 210 |
1/1✓ Branch 1 taken 12 times.
|
12 | bool result = setPointer( |
| 211 | OS_Coil_WaterHeating_AirToWaterHeatPump_VariableSpeed_SpeedDataFields::TotalWaterHeatingCapacityFunctionofWaterFlowFractionCurveName, | ||
| 212 |
1/1✓ Branch 1 taken 12 times.
|
12 | curve.handle()); |
| 213 | 12 | return result; | |
| 214 | } | ||
| 215 | |||
| 216 | 12 | bool CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::setCOPFunctionofTemperatureCurve(const Curve& curve) { | |
| 217 | bool result = | ||
| 218 |
2/2✓ Branch 1 taken 12 times.
✓ Branch 4 taken 12 times.
|
12 | setPointer(OS_Coil_WaterHeating_AirToWaterHeatPump_VariableSpeed_SpeedDataFields::COPFunctionofTemperatureCurveName, curve.handle()); |
| 219 | 12 | return result; | |
| 220 | } | ||
| 221 | |||
| 222 | 12 | bool CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::setCOPFunctionofAirFlowFractionCurve(const Curve& curve) { | |
| 223 | bool result = | ||
| 224 |
2/2✓ Branch 1 taken 12 times.
✓ Branch 4 taken 12 times.
|
12 | setPointer(OS_Coil_WaterHeating_AirToWaterHeatPump_VariableSpeed_SpeedDataFields::COPFunctionofAirFlowFractionCurveName, curve.handle()); |
| 225 | 12 | return result; | |
| 226 | } | ||
| 227 | |||
| 228 | 12 | bool CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::setCOPFunctionofWaterFlowFractionCurve(const Curve& curve) { | |
| 229 | bool result = | ||
| 230 |
2/2✓ Branch 1 taken 12 times.
✓ Branch 4 taken 12 times.
|
12 | setPointer(OS_Coil_WaterHeating_AirToWaterHeatPump_VariableSpeed_SpeedDataFields::COPFunctionofWaterFlowFractionCurveName, curve.handle()); |
| 231 | 12 | return result; | |
| 232 | } | ||
| 233 | |||
| 234 | boost::optional<Curve> | ||
| 235 | 9 | CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::optionalTotalWaterHeatingCapacityFunctionofTemperatureCurve() const { | |
| 236 |
1/1✓ Branch 1 taken 9 times.
|
18 | return getObject<ModelObject>().getModelObjectTarget<Curve>( |
| 237 |
1/1✓ Branch 1 taken 9 times.
|
18 | OS_Coil_WaterHeating_AirToWaterHeatPump_VariableSpeed_SpeedDataFields::TotalWaterHeatingCapacityFunctionofTemperatureCurveName); |
| 238 | } | ||
| 239 | |||
| 240 | boost::optional<Curve> | ||
| 241 | 9 | CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::optionalTotalWaterHeatingCapacityFunctionofAirFlowFractionCurve() const { | |
| 242 |
1/1✓ Branch 1 taken 9 times.
|
18 | return getObject<ModelObject>().getModelObjectTarget<Curve>( |
| 243 |
1/1✓ Branch 1 taken 9 times.
|
18 | OS_Coil_WaterHeating_AirToWaterHeatPump_VariableSpeed_SpeedDataFields::TotalWaterHeatingCapacityFunctionofAirFlowFractionCurveName); |
| 244 | } | ||
| 245 | |||
| 246 | boost::optional<Curve> | ||
| 247 | 9 | CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::optionalTotalWaterHeatingCapacityFunctionofWaterFlowFractionCurve() const { | |
| 248 |
1/1✓ Branch 1 taken 9 times.
|
18 | return getObject<ModelObject>().getModelObjectTarget<Curve>( |
| 249 |
1/1✓ Branch 1 taken 9 times.
|
18 | OS_Coil_WaterHeating_AirToWaterHeatPump_VariableSpeed_SpeedDataFields::TotalWaterHeatingCapacityFunctionofWaterFlowFractionCurveName); |
| 250 | } | ||
| 251 | |||
| 252 | 9 | boost::optional<Curve> CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::optionalCOPFunctionofTemperatureCurve() const { | |
| 253 |
1/1✓ Branch 1 taken 9 times.
|
18 | return getObject<ModelObject>().getModelObjectTarget<Curve>( |
| 254 |
1/1✓ Branch 1 taken 9 times.
|
18 | OS_Coil_WaterHeating_AirToWaterHeatPump_VariableSpeed_SpeedDataFields::COPFunctionofTemperatureCurveName); |
| 255 | } | ||
| 256 | |||
| 257 | 9 | boost::optional<Curve> CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::optionalCOPFunctionofAirFlowFractionCurve() const { | |
| 258 |
1/1✓ Branch 1 taken 9 times.
|
18 | return getObject<ModelObject>().getModelObjectTarget<Curve>( |
| 259 |
1/1✓ Branch 1 taken 9 times.
|
18 | OS_Coil_WaterHeating_AirToWaterHeatPump_VariableSpeed_SpeedDataFields::COPFunctionofAirFlowFractionCurveName); |
| 260 | } | ||
| 261 | |||
| 262 | 9 | boost::optional<Curve> CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl::optionalCOPFunctionofWaterFlowFractionCurve() const { | |
| 263 |
1/1✓ Branch 1 taken 9 times.
|
18 | return getObject<ModelObject>().getModelObjectTarget<Curve>( |
| 264 |
1/1✓ Branch 1 taken 9 times.
|
18 | OS_Coil_WaterHeating_AirToWaterHeatPump_VariableSpeed_SpeedDataFields::COPFunctionofWaterFlowFractionCurveName); |
| 265 | } | ||
| 266 | |||
| 267 | } // namespace detail | ||
| 268 | |||
| 269 | 11 | CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData(const Model& model) | |
| 270 | 11 | : ParentObject(CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::iddObjectType(), model) { | |
| 271 |
1/3✗ Branch 2 not taken.
✓ Branch 3 taken 11 times.
✗ Branch 5 not taken.
|
11 | OS_ASSERT(getImpl<detail::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl>()); |
| 272 | |||
| 273 |
1/1✓ Branch 1 taken 11 times.
|
11 | CurveBiquadratic water_heating_cap(model); |
| 274 |
1/1✓ Branch 1 taken 11 times.
|
11 | water_heating_cap.setCoefficient1Constant(0.369827); |
| 275 |
1/1✓ Branch 1 taken 11 times.
|
11 | water_heating_cap.setCoefficient2x(0.043341); |
| 276 |
1/1✓ Branch 1 taken 11 times.
|
11 | water_heating_cap.setCoefficient3xPOW2(-0.00023); |
| 277 |
1/1✓ Branch 1 taken 11 times.
|
11 | water_heating_cap.setCoefficient4y(0.000466); |
| 278 |
1/1✓ Branch 1 taken 11 times.
|
11 | water_heating_cap.setCoefficient5yPOW2(0.000026); |
| 279 |
1/1✓ Branch 1 taken 11 times.
|
11 | water_heating_cap.setCoefficient6xTIMESY(-0.00027); |
| 280 |
1/1✓ Branch 1 taken 11 times.
|
11 | water_heating_cap.setMinimumValueofx(0.0); |
| 281 |
1/1✓ Branch 1 taken 11 times.
|
11 | water_heating_cap.setMaximumValueofx(40.0); |
| 282 |
1/1✓ Branch 1 taken 11 times.
|
11 | water_heating_cap.setMinimumValueofy(20.0); |
| 283 |
1/1✓ Branch 1 taken 11 times.
|
11 | water_heating_cap.setMaximumValueofy(90.0); |
| 284 |
2/2✓ Branch 1 taken 11 times.
✓ Branch 4 taken 11 times.
|
22 | water_heating_cap.setInputUnitTypeforX("Temperature"); |
| 285 |
2/2✓ Branch 1 taken 11 times.
✓ Branch 4 taken 11 times.
|
11 | water_heating_cap.setInputUnitTypeforY("Temperature"); |
| 286 | |||
| 287 |
1/1✓ Branch 1 taken 11 times.
|
11 | CurveCubic constant_cubic(model); |
| 288 |
1/1✓ Branch 1 taken 11 times.
|
11 | constant_cubic.setCoefficient1Constant(1.0); |
| 289 |
1/1✓ Branch 1 taken 11 times.
|
11 | constant_cubic.setCoefficient2x(0.0); |
| 290 |
1/1✓ Branch 1 taken 11 times.
|
11 | constant_cubic.setCoefficient3xPOW2(0.0); |
| 291 |
1/1✓ Branch 1 taken 11 times.
|
11 | constant_cubic.setCoefficient4xPOW3(0.0); |
| 292 |
1/1✓ Branch 1 taken 11 times.
|
11 | constant_cubic.setMinimumValueofx(-100.0); |
| 293 |
1/1✓ Branch 1 taken 11 times.
|
11 | constant_cubic.setMaximumValueofx(100.0); |
| 294 | |||
| 295 |
1/1✓ Branch 1 taken 11 times.
|
11 | CurveBiquadratic water_heating_cop(model); |
| 296 |
1/1✓ Branch 1 taken 11 times.
|
11 | water_heating_cop.setCoefficient1Constant(1.19713); |
| 297 |
1/1✓ Branch 1 taken 11 times.
|
11 | water_heating_cop.setCoefficient2x(0.077849); |
| 298 |
1/1✓ Branch 1 taken 11 times.
|
11 | water_heating_cop.setCoefficient3xPOW2(-0.0000016); |
| 299 |
1/1✓ Branch 1 taken 11 times.
|
11 | water_heating_cop.setCoefficient4y(-0.02675); |
| 300 |
1/1✓ Branch 1 taken 11 times.
|
11 | water_heating_cop.setCoefficient5yPOW2(0.000296); |
| 301 |
1/1✓ Branch 1 taken 11 times.
|
11 | water_heating_cop.setCoefficient6xTIMESY(-0.00112); |
| 302 |
1/1✓ Branch 1 taken 11 times.
|
11 | water_heating_cop.setMinimumValueofx(0.0); |
| 303 |
1/1✓ Branch 1 taken 11 times.
|
11 | water_heating_cop.setMaximumValueofx(40.0); |
| 304 |
1/1✓ Branch 1 taken 11 times.
|
11 | water_heating_cop.setMinimumValueofy(20.0); |
| 305 |
1/1✓ Branch 1 taken 11 times.
|
11 | water_heating_cop.setMaximumValueofy(90.0); |
| 306 |
2/2✓ Branch 1 taken 11 times.
✓ Branch 4 taken 11 times.
|
22 | water_heating_cop.setInputUnitTypeforX("Temperature"); |
| 307 |
2/2✓ Branch 1 taken 11 times.
✓ Branch 4 taken 11 times.
|
11 | water_heating_cop.setInputUnitTypeforY("Temperature"); |
| 308 | |||
| 309 | 11 | bool ok = true; | |
| 310 |
1/1✓ Branch 1 taken 11 times.
|
11 | ok = setRatedWaterHeatingCapacity(400.0); // ASIHPMixedTank.idf |
| 311 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 11 times.
✗ Branch 3 not taken.
|
11 | OS_ASSERT(ok); |
| 312 |
1/1✓ Branch 1 taken 11 times.
|
11 | ok = setRatedWaterHeatingCOP(5.0); // ASIHPMixedTank.idf, not 3.2 idd default |
| 313 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 11 times.
✗ Branch 3 not taken.
|
11 | OS_ASSERT(ok); |
| 314 |
1/1✓ Branch 1 taken 11 times.
|
11 | ok = setRatedSensibleHeatRatio(0.8); // ASIHPMixedTank.idf, not 0.85 idd default |
| 315 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 11 times.
✗ Branch 3 not taken.
|
11 | OS_ASSERT(ok); |
| 316 |
1/1✓ Branch 1 taken 11 times.
|
11 | ok = setReferenceUnitRatedAirFlowRate(0.02014); // ASIHPMixedTank.idf |
| 317 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 11 times.
✗ Branch 3 not taken.
|
11 | OS_ASSERT(ok); |
| 318 |
1/1✓ Branch 1 taken 11 times.
|
11 | ok = setReferenceUnitRatedWaterFlowRate(0.000018); // ASIHPMixedTank.idf |
| 319 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 11 times.
✗ Branch 3 not taken.
|
11 | OS_ASSERT(ok); |
| 320 |
1/1✓ Branch 1 taken 11 times.
|
11 | ok = setReferenceUnitWaterPumpInputPowerAtRatedConditions(10.0); // ASIHPMixedTank.idf |
| 321 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 11 times.
✗ Branch 3 not taken.
|
11 | OS_ASSERT(ok); |
| 322 |
1/1✓ Branch 1 taken 11 times.
|
11 | ok = setTotalWaterHeatingCapacityFunctionofTemperatureCurve(water_heating_cap); // ASIHPMixedTank.idf |
| 323 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 11 times.
✗ Branch 3 not taken.
|
11 | OS_ASSERT(ok); |
| 324 |
1/1✓ Branch 1 taken 11 times.
|
11 | ok = setTotalWaterHeatingCapacityFunctionofAirFlowFractionCurve(constant_cubic); // ASIHPMixedTank.idf |
| 325 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 11 times.
✗ Branch 3 not taken.
|
11 | OS_ASSERT(ok); |
| 326 |
1/1✓ Branch 1 taken 11 times.
|
11 | ok = setTotalWaterHeatingCapacityFunctionofWaterFlowFractionCurve(constant_cubic); // ASIHPMixedTank.idf |
| 327 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 11 times.
✗ Branch 3 not taken.
|
11 | OS_ASSERT(ok); |
| 328 |
1/1✓ Branch 1 taken 11 times.
|
11 | ok = setCOPFunctionofTemperatureCurve(water_heating_cop); // ASIHPMixedTank.idf |
| 329 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 11 times.
✗ Branch 3 not taken.
|
11 | OS_ASSERT(ok); |
| 330 |
1/1✓ Branch 1 taken 11 times.
|
11 | ok = setCOPFunctionofAirFlowFractionCurve(constant_cubic); // ASIHPMixedTank.idf |
| 331 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 11 times.
✗ Branch 3 not taken.
|
11 | OS_ASSERT(ok); |
| 332 |
1/1✓ Branch 1 taken 11 times.
|
11 | ok = setCOPFunctionofWaterFlowFractionCurve(constant_cubic); // ASIHPMixedTank.idf |
| 333 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 11 times.
✗ Branch 3 not taken.
|
11 | OS_ASSERT(ok); |
| 334 | 11 | } | |
| 335 | |||
| 336 | 7757 | IddObjectType CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::iddObjectType() { | |
| 337 |
1/1✓ Branch 1 taken 7757 times.
|
7757 | return {IddObjectType::OS_Coil_WaterHeating_AirToWaterHeatPump_VariableSpeed_SpeedData}; |
| 338 | } | ||
| 339 | |||
| 340 | 7 | double CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::ratedWaterHeatingCapacity() const { | |
| 341 |
1/1✓ Branch 3 taken 7 times.
|
7 | return getImpl<detail::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl>()->ratedWaterHeatingCapacity(); |
| 342 | } | ||
| 343 | |||
| 344 | 7 | double CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::ratedWaterHeatingCOP() const { | |
| 345 |
1/1✓ Branch 3 taken 7 times.
|
7 | return getImpl<detail::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl>()->ratedWaterHeatingCOP(); |
| 346 | } | ||
| 347 | |||
| 348 | 7 | double CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::ratedSensibleHeatRatio() const { | |
| 349 |
1/1✓ Branch 3 taken 7 times.
|
7 | return getImpl<detail::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl>()->ratedSensibleHeatRatio(); |
| 350 | } | ||
| 351 | |||
| 352 | 7 | double CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::referenceUnitRatedAirFlowRate() const { | |
| 353 |
1/1✓ Branch 3 taken 7 times.
|
7 | return getImpl<detail::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl>()->referenceUnitRatedAirFlowRate(); |
| 354 | } | ||
| 355 | |||
| 356 | 7 | double CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::referenceUnitRatedWaterFlowRate() const { | |
| 357 |
1/1✓ Branch 3 taken 7 times.
|
7 | return getImpl<detail::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl>()->referenceUnitRatedWaterFlowRate(); |
| 358 | } | ||
| 359 | |||
| 360 | 7 | double CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::referenceUnitWaterPumpInputPowerAtRatedConditions() const { | |
| 361 |
1/1✓ Branch 3 taken 7 times.
|
7 | return getImpl<detail::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl>()->referenceUnitWaterPumpInputPowerAtRatedConditions(); |
| 362 | } | ||
| 363 | |||
| 364 | 6 | Curve CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::totalWaterHeatingCapacityFunctionofTemperatureCurve() const { | |
| 365 |
1/1✓ Branch 3 taken 6 times.
|
6 | return getImpl<detail::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl>()->totalWaterHeatingCapacityFunctionofTemperatureCurve(); |
| 366 | } | ||
| 367 | |||
| 368 | 6 | Curve CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::totalWaterHeatingCapacityFunctionofAirFlowFractionCurve() const { | |
| 369 | 12 | return getImpl<detail::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl>() | |
| 370 |
1/1✓ Branch 2 taken 6 times.
|
12 | ->totalWaterHeatingCapacityFunctionofAirFlowFractionCurve(); |
| 371 | } | ||
| 372 | |||
| 373 | 6 | Curve CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::totalWaterHeatingCapacityFunctionofWaterFlowFractionCurve() const { | |
| 374 | 12 | return getImpl<detail::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl>() | |
| 375 |
1/1✓ Branch 2 taken 6 times.
|
12 | ->totalWaterHeatingCapacityFunctionofWaterFlowFractionCurve(); |
| 376 | } | ||
| 377 | |||
| 378 | 6 | Curve CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::copFunctionofTemperatureCurve() const { | |
| 379 |
1/1✓ Branch 3 taken 6 times.
|
6 | return getImpl<detail::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl>()->copFunctionofTemperatureCurve(); |
| 380 | } | ||
| 381 | |||
| 382 | 6 | Curve CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::copFunctionofAirFlowFractionCurve() const { | |
| 383 |
1/1✓ Branch 3 taken 6 times.
|
6 | return getImpl<detail::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl>()->copFunctionofAirFlowFractionCurve(); |
| 384 | } | ||
| 385 | |||
| 386 | 6 | Curve CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::copFunctionofWaterFlowFractionCurve() const { | |
| 387 |
1/1✓ Branch 3 taken 6 times.
|
6 | return getImpl<detail::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl>()->copFunctionofWaterFlowFractionCurve(); |
| 388 | } | ||
| 389 | |||
| 390 | 13 | bool CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::setRatedWaterHeatingCapacity(double ratedWaterHeatingCapacity) { | |
| 391 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl>()->setRatedWaterHeatingCapacity(ratedWaterHeatingCapacity); |
| 392 | } | ||
| 393 | |||
| 394 | 13 | bool CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::setRatedWaterHeatingCOP(double ratedWaterHeatingCOP) { | |
| 395 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl>()->setRatedWaterHeatingCOP(ratedWaterHeatingCOP); |
| 396 | } | ||
| 397 | |||
| 398 | 13 | bool CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::setRatedSensibleHeatRatio(double ratedSensibleHeatRatio) { | |
| 399 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl>()->setRatedSensibleHeatRatio(ratedSensibleHeatRatio); |
| 400 | } | ||
| 401 | |||
| 402 | 13 | bool CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::setReferenceUnitRatedAirFlowRate(double referenceUnitRatedAirFlowRate) { | |
| 403 |
1/1✓ Branch 3 taken 13 times.
|
26 | return getImpl<detail::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl>()->setReferenceUnitRatedAirFlowRate( |
| 404 | 26 | referenceUnitRatedAirFlowRate); | |
| 405 | } | ||
| 406 | |||
| 407 | 13 | bool CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::setReferenceUnitRatedWaterFlowRate(double referenceUnitRatedWaterFlowRate) { | |
| 408 |
1/1✓ Branch 3 taken 13 times.
|
26 | return getImpl<detail::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl>()->setReferenceUnitRatedWaterFlowRate( |
| 409 | 26 | referenceUnitRatedWaterFlowRate); | |
| 410 | } | ||
| 411 | |||
| 412 | 13 | bool CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::setReferenceUnitWaterPumpInputPowerAtRatedConditions( | |
| 413 | double referenceUnitWaterPumpInputPowerAtRatedConditions) { | ||
| 414 |
1/1✓ Branch 3 taken 13 times.
|
26 | return getImpl<detail::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl>()->setReferenceUnitWaterPumpInputPowerAtRatedConditions( |
| 415 | 26 | referenceUnitWaterPumpInputPowerAtRatedConditions); | |
| 416 | } | ||
| 417 | |||
| 418 | 12 | bool CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::setTotalWaterHeatingCapacityFunctionofTemperatureCurve(const Curve& curve) { | |
| 419 |
1/1✓ Branch 3 taken 12 times.
|
24 | return getImpl<detail::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl>()->setTotalWaterHeatingCapacityFunctionofTemperatureCurve( |
| 420 | 24 | curve); | |
| 421 | } | ||
| 422 | |||
| 423 | 12 | bool CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::setTotalWaterHeatingCapacityFunctionofAirFlowFractionCurve(const Curve& curve) { | |
| 424 | 24 | return getImpl<detail::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl>() | |
| 425 |
1/1✓ Branch 2 taken 12 times.
|
24 | ->setTotalWaterHeatingCapacityFunctionofAirFlowFractionCurve(curve); |
| 426 | } | ||
| 427 | |||
| 428 | 12 | bool CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::setTotalWaterHeatingCapacityFunctionofWaterFlowFractionCurve(const Curve& curve) { | |
| 429 | 24 | return getImpl<detail::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl>() | |
| 430 |
1/1✓ Branch 2 taken 12 times.
|
24 | ->setTotalWaterHeatingCapacityFunctionofWaterFlowFractionCurve(curve); |
| 431 | } | ||
| 432 | |||
| 433 | 12 | bool CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::setCOPFunctionofTemperatureCurve(const Curve& curve) { | |
| 434 |
1/1✓ Branch 3 taken 12 times.
|
12 | return getImpl<detail::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl>()->setCOPFunctionofTemperatureCurve(curve); |
| 435 | } | ||
| 436 | |||
| 437 | 12 | bool CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::setCOPFunctionofAirFlowFractionCurve(const Curve& curve) { | |
| 438 |
1/1✓ Branch 3 taken 12 times.
|
12 | return getImpl<detail::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl>()->setCOPFunctionofAirFlowFractionCurve(curve); |
| 439 | } | ||
| 440 | |||
| 441 | 12 | bool CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::setCOPFunctionofWaterFlowFractionCurve(const Curve& curve) { | |
| 442 |
1/1✓ Branch 3 taken 12 times.
|
12 | return getImpl<detail::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl>()->setCOPFunctionofWaterFlowFractionCurve(curve); |
| 443 | } | ||
| 444 | |||
| 445 | /// @cond | ||
| 446 | 18 | CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData( | |
| 447 | 18 | std::shared_ptr<detail::CoilWaterHeatingAirToWaterHeatPumpVariableSpeedSpeedData_Impl> impl) | |
| 448 |
1/1✓ Branch 3 taken 18 times.
|
18 | : ParentObject(std::move(impl)) {} |
| 449 | /// @endcond | ||
| 450 | |||
| 451 | } // namespace model | ||
| 452 | } // namespace openstudio | ||
| 453 |