src/model/CoilCoolingWaterToAirHeatPumpEquationFit.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 "CoilCoolingWaterToAirHeatPumpEquationFit.hpp" | ||
| 7 | #include "CoilCoolingWaterToAirHeatPumpEquationFit_Impl.hpp" | ||
| 8 | #include "ZoneHVACComponent.hpp" | ||
| 9 | #include "ZoneHVACComponent_Impl.hpp" | ||
| 10 | |||
| 11 | #include "ZoneHVACWaterToAirHeatPump.hpp" | ||
| 12 | #include "ZoneHVACWaterToAirHeatPump_Impl.hpp" | ||
| 13 | #include "AirLoopHVACUnitarySystem.hpp" | ||
| 14 | #include "AirLoopHVACUnitarySystem_Impl.hpp" | ||
| 15 | #include "AirflowNetworkEquivalentDuct.hpp" | ||
| 16 | #include "AirflowNetworkEquivalentDuct_Impl.hpp" | ||
| 17 | #include "Model.hpp" | ||
| 18 | #include "Node.hpp" | ||
| 19 | #include "Node_Impl.hpp" | ||
| 20 | #include "CurveLinear.hpp" | ||
| 21 | #include "CurveQuadLinear.hpp" | ||
| 22 | #include "CurveQuadLinear_Impl.hpp" | ||
| 23 | #include "CurveQuintLinear.hpp" | ||
| 24 | #include "CurveQuintLinear_Impl.hpp" | ||
| 25 | #include "Curve.hpp" | ||
| 26 | #include "Curve_Impl.hpp" | ||
| 27 | #include "Schedule.hpp" | ||
| 28 | #include "Schedule_Impl.hpp" | ||
| 29 | #include "ScheduleTypeRegistry.hpp" | ||
| 30 | |||
| 31 | #include <utilities/idd/OS_Coil_Cooling_WaterToAirHeatPump_EquationFit_FieldEnums.hxx> | ||
| 32 | #include <utilities/idd/IddEnums.hxx> | ||
| 33 | |||
| 34 | #include "../utilities/core/Compare.hpp" | ||
| 35 | #include "../utilities/core/Assert.hpp" | ||
| 36 | #include "../utilities/data/DataEnums.hpp" | ||
| 37 | |||
| 38 | #include "../utilities/core/DeprecatedHelpers.hpp" | ||
| 39 | |||
| 40 | namespace openstudio { | ||
| 41 | namespace model { | ||
| 42 | |||
| 43 | namespace detail { | ||
| 44 | |||
| 45 | 28 | CoilCoolingWaterToAirHeatPumpEquationFit_Impl::CoilCoolingWaterToAirHeatPumpEquationFit_Impl(const IdfObject& idfObject, Model_Impl* model, | |
| 46 | 28 | bool keepHandle) | |
| 47 | 28 | : WaterToAirComponent_Impl(idfObject, model, keepHandle) { | |
| 48 |
4/6✓ Branch 1 taken 28 times.
✓ Branch 4 taken 28 times.
✓ Branch 7 taken 28 times.
✗ Branch 10 not taken.
✓ Branch 11 taken 28 times.
✗ Branch 13 not taken.
|
28 | OS_ASSERT(idfObject.iddObject().type() == CoilCoolingWaterToAirHeatPumpEquationFit::iddObjectType()); |
| 49 | 28 | } | |
| 50 | |||
| 51 | 9 | CoilCoolingWaterToAirHeatPumpEquationFit_Impl::CoilCoolingWaterToAirHeatPumpEquationFit_Impl( | |
| 52 | 9 | const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle) | |
| 53 | 9 | : WaterToAirComponent_Impl(other, model, keepHandle) { | |
| 54 |
4/6✓ Branch 1 taken 9 times.
✓ Branch 4 taken 9 times.
✓ Branch 7 taken 9 times.
✗ Branch 10 not taken.
✓ Branch 11 taken 9 times.
✗ Branch 13 not taken.
|
9 | OS_ASSERT(other.iddObject().type() == CoilCoolingWaterToAirHeatPumpEquationFit::iddObjectType()); |
| 55 | 9 | } | |
| 56 | |||
| 57 | 13 | CoilCoolingWaterToAirHeatPumpEquationFit_Impl::CoilCoolingWaterToAirHeatPumpEquationFit_Impl( | |
| 58 | 13 | const CoilCoolingWaterToAirHeatPumpEquationFit_Impl& other, Model_Impl* model, bool keepHandle) | |
| 59 | 13 | : WaterToAirComponent_Impl(other, model, keepHandle) {} | |
| 60 | |||
| 61 | 2 | ModelObject CoilCoolingWaterToAirHeatPumpEquationFit_Impl::clone(Model model) const { | |
| 62 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
|
2 | return WaterToAirComponent_Impl::clone(model); |
| 63 | } | ||
| 64 | |||
| 65 | ✗ | const std::vector<std::string>& CoilCoolingWaterToAirHeatPumpEquationFit_Impl::outputVariableNames() const { | |
| 66 | static const std::vector<std::string> result{"Cooling Coil Electricity Rate", | ||
| 67 | "Cooling Coil Total Cooling Rate", | ||
| 68 | "Cooling Coil Sensible Cooling Rate", | ||
| 69 | "Cooling Coil Source Side Heat Transfer Rate", | ||
| 70 | "Cooling Coil Part Load Ratio", | ||
| 71 | "Cooling Coil Air Mass Flow Rate", | ||
| 72 | "Cooling Coil Air Inlet Temperature", | ||
| 73 | "Cooling Coil Air Inlet Humidity Ratio", | ||
| 74 | "Cooling Coil Air Outlet Temperature", | ||
| 75 | "Cooling Coil Air Outlet Humidity Ratio", | ||
| 76 | "Cooling Coil Source Side Mass Flow Rate", | ||
| 77 | "Cooling Coil Source Side Inlet Temperature", | ||
| 78 | "Cooling Coil Source Side Outlet Temperature", | ||
| 79 | "Cooling Coil Electricity Energy", | ||
| 80 | "Cooling Coil Total Cooling Energy", | ||
| 81 | "Cooling Coil Sensible Cooling Energy", | ||
| 82 | "Cooling Coil Latent Cooling Energy", | ||
| 83 | ✗ | "Cooling Coil Source Side Heat Transfer Energy"}; | |
| 84 | ✗ | return result; | |
| 85 | ✗ | } | |
| 86 | |||
| 87 | 4 | IddObjectType CoilCoolingWaterToAirHeatPumpEquationFit_Impl::iddObjectType() const { | |
| 88 | 4 | return CoilCoolingWaterToAirHeatPumpEquationFit::iddObjectType(); | |
| 89 | } | ||
| 90 | |||
| 91 | ✗ | std::vector<ScheduleTypeKey> CoilCoolingWaterToAirHeatPumpEquationFit_Impl::getScheduleTypeKeys(const Schedule& schedule) const { | |
| 92 | ✗ | std::vector<ScheduleTypeKey> result; | |
| 93 | ✗ | UnsignedVector fieldIndices = getSourceIndices(schedule.handle()); | |
| 94 | ✗ | UnsignedVector::const_iterator b(fieldIndices.begin()); | |
| 95 | ✗ | UnsignedVector::const_iterator e(fieldIndices.end()); | |
| 96 | ✗ | if (std::find(b, e, OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::AvailabilityScheduleName) != e) { | |
| 97 | ✗ | result.push_back(ScheduleTypeKey("CoilCoolingWaterToAirHeatPumpEquationFit", "Availability Schedule")); | |
| 98 | } | ||
| 99 | ✗ | return result; | |
| 100 | ✗ | } | |
| 101 | |||
| 102 | ✗ | std::vector<openstudio::IdfObject> CoilCoolingWaterToAirHeatPumpEquationFit_Impl::remove() { | |
| 103 | ✗ | if (isRemovable()) { | |
| 104 | ✗ | return WaterToAirComponent_Impl::remove(); | |
| 105 | } | ||
| 106 | |||
| 107 | ✗ | return {}; | |
| 108 | } | ||
| 109 | |||
| 110 | 9 | std::vector<ModelObject> CoilCoolingWaterToAirHeatPumpEquationFit_Impl::children() const { | |
| 111 | 9 | std::vector<ModelObject> children; | |
| 112 | |||
| 113 | std::vector<AirflowNetworkEquivalentDuct> myAFNItems = | ||
| 114 |
3/3✓ Branch 1 taken 9 times.
✓ Branch 4 taken 9 times.
✓ Branch 7 taken 9 times.
|
9 | getObject<ModelObject>().getModelObjectSources<AirflowNetworkEquivalentDuct>(AirflowNetworkEquivalentDuct::iddObjectType()); |
| 115 |
1/1✓ Branch 5 taken 9 times.
|
9 | children.insert(children.end(), myAFNItems.begin(), myAFNItems.end()); |
| 116 | |||
| 117 | 18 | return children; | |
| 118 | 9 | } | |
| 119 | |||
| 120 | 11 | boost::optional<Schedule> CoilCoolingWaterToAirHeatPumpEquationFit_Impl::optionalAvailabilitySchedule() const { | |
| 121 |
2/2✓ Branch 1 taken 11 times.
✓ Branch 4 taken 11 times.
|
11 | return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::AvailabilityScheduleName); |
| 122 | } | ||
| 123 | |||
| 124 | 11 | Schedule CoilCoolingWaterToAirHeatPumpEquationFit_Impl::availabilitySchedule() const { | |
| 125 |
1/1✓ Branch 1 taken 11 times.
|
11 | boost::optional<Schedule> value = optionalAvailabilitySchedule(); |
| 126 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 11 times.
|
11 | if (!value) { |
| 127 | // it is an error if we get here, however we don't want to crash | ||
| 128 | // so we hook up to global always on schedule | ||
| 129 | ✗ | LOG(Error, "Required availability schedule not set, using 'Always On' schedule"); | |
| 130 | ✗ | value = this->model().alwaysOnDiscreteSchedule(); | |
| 131 | ✗ | OS_ASSERT(value); | |
| 132 | ✗ | const_cast<CoilCoolingWaterToAirHeatPumpEquationFit_Impl*>(this)->setAvailabilitySchedule(*value); | |
| 133 | ✗ | value = optionalAvailabilitySchedule(); | |
| 134 | } | ||
| 135 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 11 times.
✗ Branch 4 not taken.
|
11 | OS_ASSERT(value); |
| 136 |
2/2✓ Branch 1 taken 11 times.
✓ Branch 4 taken 11 times.
|
22 | return value.get(); |
| 137 | 11 | } | |
| 138 | |||
| 139 | 15 | boost::optional<double> CoilCoolingWaterToAirHeatPumpEquationFit_Impl::ratedAirFlowRate() const { | |
| 140 | 15 | return getDouble(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedAirFlowRate, true); | |
| 141 | } | ||
| 142 | |||
| 143 | 2 | bool CoilCoolingWaterToAirHeatPumpEquationFit_Impl::isRatedAirFlowRateDefaulted() const { | |
| 144 | 2 | return isEmpty(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedAirFlowRate); | |
| 145 | } | ||
| 146 | |||
| 147 | 2 | bool CoilCoolingWaterToAirHeatPumpEquationFit_Impl::isRatedAirFlowRateAutosized() const { | |
| 148 | 2 | bool result = false; | |
| 149 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<std::string> value = getString(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedAirFlowRate, true); |
| 150 |
1/2✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
|
2 | if (value) { |
| 151 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
4 | result = openstudio::istringEqual(value.get(), "autosize"); |
| 152 | } | ||
| 153 | 2 | return result; | |
| 154 | 2 | } | |
| 155 | |||
| 156 | 11 | boost::optional<double> CoilCoolingWaterToAirHeatPumpEquationFit_Impl::ratedWaterFlowRate() const { | |
| 157 | 11 | return getDouble(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedWaterFlowRate, true); | |
| 158 | } | ||
| 159 | |||
| 160 | 2 | bool CoilCoolingWaterToAirHeatPumpEquationFit_Impl::isRatedWaterFlowRateDefaulted() const { | |
| 161 | 2 | return isEmpty(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedWaterFlowRate); | |
| 162 | } | ||
| 163 | |||
| 164 | 2 | bool CoilCoolingWaterToAirHeatPumpEquationFit_Impl::isRatedWaterFlowRateAutosized() const { | |
| 165 | 2 | bool result = false; | |
| 166 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<std::string> value = getString(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedWaterFlowRate, true); |
| 167 |
1/2✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
|
2 | if (value) { |
| 168 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
4 | result = openstudio::istringEqual(value.get(), "autosize"); |
| 169 | } | ||
| 170 | 2 | return result; | |
| 171 | 2 | } | |
| 172 | |||
| 173 | 11 | boost::optional<double> CoilCoolingWaterToAirHeatPumpEquationFit_Impl::ratedTotalCoolingCapacity() const { | |
| 174 | 11 | return getDouble(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedTotalCoolingCapacity, true); | |
| 175 | } | ||
| 176 | |||
| 177 | 2 | bool CoilCoolingWaterToAirHeatPumpEquationFit_Impl::isRatedTotalCoolingCapacityDefaulted() const { | |
| 178 | 2 | return isEmpty(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedTotalCoolingCapacity); | |
| 179 | } | ||
| 180 | |||
| 181 | 2 | bool CoilCoolingWaterToAirHeatPumpEquationFit_Impl::isRatedTotalCoolingCapacityAutosized() const { | |
| 182 | 2 | bool result = false; | |
| 183 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<std::string> value = getString(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedTotalCoolingCapacity, true); |
| 184 |
1/2✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
|
2 | if (value) { |
| 185 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
4 | result = openstudio::istringEqual(value.get(), "autosize"); |
| 186 | } | ||
| 187 | 2 | return result; | |
| 188 | 2 | } | |
| 189 | |||
| 190 | 11 | boost::optional<double> CoilCoolingWaterToAirHeatPumpEquationFit_Impl::ratedSensibleCoolingCapacity() const { | |
| 191 | 11 | return getDouble(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedSensibleCoolingCapacity, true); | |
| 192 | } | ||
| 193 | |||
| 194 | 2 | bool CoilCoolingWaterToAirHeatPumpEquationFit_Impl::isRatedSensibleCoolingCapacityDefaulted() const { | |
| 195 | 2 | return isEmpty(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedSensibleCoolingCapacity); | |
| 196 | } | ||
| 197 | |||
| 198 | 2 | bool CoilCoolingWaterToAirHeatPumpEquationFit_Impl::isRatedSensibleCoolingCapacityAutosized() const { | |
| 199 | 2 | bool result = false; | |
| 200 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<std::string> value = getString(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedSensibleCoolingCapacity, true); |
| 201 |
1/2✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
|
2 | if (value) { |
| 202 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
4 | result = openstudio::istringEqual(value.get(), "autosize"); |
| 203 | } | ||
| 204 | 2 | return result; | |
| 205 | 2 | } | |
| 206 | |||
| 207 | 10 | double CoilCoolingWaterToAirHeatPumpEquationFit_Impl::ratedCoolingCoefficientofPerformance() const { | |
| 208 |
1/1✓ Branch 1 taken 10 times.
|
10 | boost::optional<double> value = getDouble(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedCoolingCoefficientofPerformance, true); |
| 209 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 10 times.
✗ Branch 4 not taken.
|
10 | OS_ASSERT(value); |
| 210 |
1/1✓ Branch 1 taken 10 times.
|
20 | return value.get(); |
| 211 | } | ||
| 212 | |||
| 213 | ✗ | bool CoilCoolingWaterToAirHeatPumpEquationFit_Impl::isRatedCoolingCoefficientofPerformanceDefaulted() const { | |
| 214 | ✗ | return isEmpty(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedCoolingCoefficientofPerformance); | |
| 215 | } | ||
| 216 | |||
| 217 | 11 | double CoilCoolingWaterToAirHeatPumpEquationFit_Impl::ratedEnteringWaterTemperature() const { | |
| 218 |
1/1✓ Branch 1 taken 11 times.
|
11 | boost::optional<double> value = getDouble(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedEnteringWaterTemperature, true); |
| 219 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 11 times.
✗ Branch 4 not taken.
|
11 | OS_ASSERT(value); |
| 220 |
1/1✓ Branch 1 taken 11 times.
|
22 | return value.get(); |
| 221 | } | ||
| 222 | |||
| 223 | 11 | double CoilCoolingWaterToAirHeatPumpEquationFit_Impl::ratedEnteringAirDryBulbTemperature() const { | |
| 224 |
1/1✓ Branch 1 taken 11 times.
|
11 | boost::optional<double> value = getDouble(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedEnteringAirDryBulbTemperature, true); |
| 225 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 11 times.
✗ Branch 4 not taken.
|
11 | OS_ASSERT(value); |
| 226 |
1/1✓ Branch 1 taken 11 times.
|
22 | return value.get(); |
| 227 | } | ||
| 228 | |||
| 229 | 11 | double CoilCoolingWaterToAirHeatPumpEquationFit_Impl::ratedEnteringAirWetBulbTemperature() const { | |
| 230 |
1/1✓ Branch 1 taken 11 times.
|
11 | boost::optional<double> value = getDouble(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedEnteringAirWetBulbTemperature, true); |
| 231 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 11 times.
✗ Branch 4 not taken.
|
11 | OS_ASSERT(value); |
| 232 |
1/1✓ Branch 1 taken 11 times.
|
22 | return value.get(); |
| 233 | } | ||
| 234 | |||
| 235 | 29 | boost::optional<Curve> CoilCoolingWaterToAirHeatPumpEquationFit_Impl::optionalTotalCoolingCapacityCurve() const { | |
| 236 |
1/1✓ Branch 1 taken 29 times.
|
58 | return getObject<ModelObject>().getModelObjectTarget<Curve>( |
| 237 |
1/1✓ Branch 1 taken 29 times.
|
58 | OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::TotalCoolingCapacityCurveName); |
| 238 | } | ||
| 239 | |||
| 240 | 29 | Curve CoilCoolingWaterToAirHeatPumpEquationFit_Impl::totalCoolingCapacityCurve() const { | |
| 241 |
1/1✓ Branch 1 taken 29 times.
|
29 | boost::optional<Curve> value = optionalTotalCoolingCapacityCurve(); |
| 242 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 29 times.
|
29 | if (!value) { |
| 243 | ✗ | LOG_AND_THROW(briefDescription() << " does not have a Total Cooling Capacity Curve attached."); | |
| 244 | } | ||
| 245 |
2/2✓ Branch 1 taken 29 times.
✓ Branch 4 taken 29 times.
|
58 | return *value; |
| 246 | 29 | } | |
| 247 | |||
| 248 | 20 | bool CoilCoolingWaterToAirHeatPumpEquationFit_Impl::setAvailabilitySchedule(Schedule& schedule) { | |
| 249 |
3/3✓ Branch 1 taken 20 times.
✓ Branch 4 taken 20 times.
✓ Branch 7 taken 20 times.
|
80 | bool result = setSchedule(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::AvailabilityScheduleName, |
| 250 | "CoilCoolingWaterToAirHeatPumpEquationFit", "Availability Schedule", schedule); | ||
| 251 | 20 | return result; | |
| 252 | } | ||
| 253 | |||
| 254 | 21 | bool CoilCoolingWaterToAirHeatPumpEquationFit_Impl::setTotalCoolingCapacityCurve(const Curve& totalCoolingCapacityCurve) { | |
| 255 | const bool result = | ||
| 256 |
2/2✓ Branch 1 taken 21 times.
✓ Branch 4 taken 21 times.
|
21 | setPointer(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::TotalCoolingCapacityCurveName, totalCoolingCapacityCurve.handle()); |
| 257 | 21 | return result; | |
| 258 | } | ||
| 259 | |||
| 260 | 31 | boost::optional<Curve> CoilCoolingWaterToAirHeatPumpEquationFit_Impl::optionalSensibleCoolingCapacityCurve() const { | |
| 261 |
1/1✓ Branch 1 taken 31 times.
|
62 | return getObject<ModelObject>().getModelObjectTarget<Curve>( |
| 262 |
1/1✓ Branch 1 taken 31 times.
|
62 | OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::SensibleCoolingCapacityCurveName); |
| 263 | } | ||
| 264 | |||
| 265 | 31 | Curve CoilCoolingWaterToAirHeatPumpEquationFit_Impl::sensibleCoolingCapacityCurve() const { | |
| 266 |
1/1✓ Branch 1 taken 31 times.
|
31 | boost::optional<Curve> value = optionalSensibleCoolingCapacityCurve(); |
| 267 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 31 times.
|
31 | if (!value) { |
| 268 | ✗ | LOG_AND_THROW(briefDescription() << " does not have a Sensible Cooling Capacity Curve attached."); | |
| 269 | } | ||
| 270 |
2/2✓ Branch 1 taken 31 times.
✓ Branch 4 taken 31 times.
|
62 | return *value; |
| 271 | 31 | } | |
| 272 | |||
| 273 | 21 | bool CoilCoolingWaterToAirHeatPumpEquationFit_Impl::setSensibleCoolingCapacityCurve(const Curve& sensibleCoolingCapacityCurve) { | |
| 274 | const bool result = | ||
| 275 |
2/2✓ Branch 1 taken 21 times.
✓ Branch 4 taken 21 times.
|
21 | setPointer(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::SensibleCoolingCapacityCurveName, sensibleCoolingCapacityCurve.handle()); |
| 276 | 21 | return result; | |
| 277 | } | ||
| 278 | |||
| 279 | 29 | boost::optional<Curve> CoilCoolingWaterToAirHeatPumpEquationFit_Impl::optionalCoolingPowerConsumptionCurve() const { | |
| 280 |
1/1✓ Branch 1 taken 29 times.
|
58 | return getObject<ModelObject>().getModelObjectTarget<Curve>( |
| 281 |
1/1✓ Branch 1 taken 29 times.
|
58 | OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::CoolingPowerConsumptionCurveName); |
| 282 | } | ||
| 283 | |||
| 284 | 29 | Curve CoilCoolingWaterToAirHeatPumpEquationFit_Impl::coolingPowerConsumptionCurve() const { | |
| 285 |
1/1✓ Branch 1 taken 29 times.
|
29 | boost::optional<Curve> value = optionalCoolingPowerConsumptionCurve(); |
| 286 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 29 times.
|
29 | if (!value) { |
| 287 | ✗ | LOG_AND_THROW(briefDescription() << " does not have a Cooling Power Consumption Curve attached."); | |
| 288 | } | ||
| 289 |
2/2✓ Branch 1 taken 29 times.
✓ Branch 4 taken 29 times.
|
58 | return *value; |
| 290 | 29 | } | |
| 291 | |||
| 292 | 21 | bool CoilCoolingWaterToAirHeatPumpEquationFit_Impl::setCoolingPowerConsumptionCurve(const Curve& coolingPowerConsumptionCurve) { | |
| 293 | const bool result = | ||
| 294 |
2/2✓ Branch 1 taken 21 times.
✓ Branch 4 taken 21 times.
|
21 | setPointer(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::CoolingPowerConsumptionCurveName, coolingPowerConsumptionCurve.handle()); |
| 295 | 21 | return result; | |
| 296 | } | ||
| 297 | |||
| 298 | 10 | boost::optional<Curve> CoilCoolingWaterToAirHeatPumpEquationFit_Impl::optionalPartLoadFractionCorrelationCurve() const { | |
| 299 |
1/1✓ Branch 1 taken 10 times.
|
20 | return getObject<ModelObject>().getModelObjectTarget<Curve>( |
| 300 |
1/1✓ Branch 1 taken 10 times.
|
20 | OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::PartLoadFractionCorrelationCurveName); |
| 301 | } | ||
| 302 | |||
| 303 | 10 | Curve CoilCoolingWaterToAirHeatPumpEquationFit_Impl::partLoadFractionCorrelationCurve() const { | |
| 304 |
1/1✓ Branch 1 taken 10 times.
|
10 | boost::optional<Curve> value = optionalPartLoadFractionCorrelationCurve(); |
| 305 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 10 times.
|
10 | if (!value) { |
| 306 | ✗ | LOG_AND_THROW(briefDescription() << " does not have a Part Load Fraction Correlation Curve attached."); | |
| 307 | } | ||
| 308 |
2/2✓ Branch 1 taken 10 times.
✓ Branch 4 taken 10 times.
|
20 | return *value; |
| 309 | 10 | } | |
| 310 | |||
| 311 | 19 | bool CoilCoolingWaterToAirHeatPumpEquationFit_Impl::setPartLoadFractionCorrelationCurve(const Curve& partLoadFractionCorrelationCurve) { | |
| 312 |
1/1✓ Branch 1 taken 19 times.
|
19 | const bool result = setPointer(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::PartLoadFractionCorrelationCurveName, |
| 313 |
1/1✓ Branch 1 taken 19 times.
|
19 | partLoadFractionCorrelationCurve.handle()); |
| 314 | 19 | return result; | |
| 315 | } | ||
| 316 | |||
| 317 | 11 | double CoilCoolingWaterToAirHeatPumpEquationFit_Impl::nominalTimeforCondensateRemovaltoBegin() const { | |
| 318 |
1/1✓ Branch 1 taken 11 times.
|
11 | boost::optional<double> value = getDouble(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::NominalTimeforCondensateRemovaltoBegin, true); |
| 319 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 11 times.
✗ Branch 4 not taken.
|
11 | OS_ASSERT(value); |
| 320 |
1/1✓ Branch 1 taken 11 times.
|
22 | return value.get(); |
| 321 | } | ||
| 322 | |||
| 323 | 2 | bool CoilCoolingWaterToAirHeatPumpEquationFit_Impl::isNominalTimeforCondensateRemovaltoBeginDefaulted() const { | |
| 324 | 2 | return isEmpty(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::NominalTimeforCondensateRemovaltoBegin); | |
| 325 | } | ||
| 326 | |||
| 327 | 11 | double CoilCoolingWaterToAirHeatPumpEquationFit_Impl::ratioofInitialMoistureEvaporationRateandSteadyStateLatentCapacity() const { | |
| 328 | boost::optional<double> value = | ||
| 329 |
1/1✓ Branch 1 taken 11 times.
|
11 | getDouble(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatioofInitialMoistureEvaporationRateandSteadyStateLatentCapacity, true); |
| 330 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 11 times.
✗ Branch 4 not taken.
|
11 | OS_ASSERT(value); |
| 331 |
1/1✓ Branch 1 taken 11 times.
|
22 | return value.get(); |
| 332 | } | ||
| 333 | |||
| 334 | 2 | bool CoilCoolingWaterToAirHeatPumpEquationFit_Impl::isRatioofInitialMoistureEvaporationRateandSteadyStateLatentCapacityDefaulted() const { | |
| 335 | 2 | return isEmpty(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatioofInitialMoistureEvaporationRateandSteadyStateLatentCapacity); | |
| 336 | } | ||
| 337 | |||
| 338 | 4 | bool CoilCoolingWaterToAirHeatPumpEquationFit_Impl::setRatedAirFlowRate(boost::optional<double> ratedAirFlowRate) { | |
| 339 | 4 | bool result(false); | |
| 340 |
1/2✓ Branch 0 taken 4 times.
✗ Branch 1 not taken.
|
4 | if (ratedAirFlowRate) { |
| 341 | 4 | result = setDouble(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedAirFlowRate, ratedAirFlowRate.get()); | |
| 342 | } else { | ||
| 343 | ✗ | resetRatedAirFlowRate(); | |
| 344 | ✗ | result = true; | |
| 345 | } | ||
| 346 | 4 | return result; | |
| 347 | } | ||
| 348 | |||
| 349 | 1 | void CoilCoolingWaterToAirHeatPumpEquationFit_Impl::resetRatedAirFlowRate() { | |
| 350 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedAirFlowRate, ""); |
| 351 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 352 | 1 | } | |
| 353 | |||
| 354 | 1 | void CoilCoolingWaterToAirHeatPumpEquationFit_Impl::autosizeRatedAirFlowRate() { | |
| 355 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedAirFlowRate, "autosize"); |
| 356 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 357 | 1 | } | |
| 358 | |||
| 359 | 3 | bool CoilCoolingWaterToAirHeatPumpEquationFit_Impl::setRatedWaterFlowRate(boost::optional<double> ratedWaterFlowRate) { | |
| 360 | 3 | bool result(false); | |
| 361 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (ratedWaterFlowRate) { |
| 362 | 3 | result = setDouble(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedWaterFlowRate, ratedWaterFlowRate.get()); | |
| 363 | } else { | ||
| 364 | ✗ | resetRatedWaterFlowRate(); | |
| 365 | ✗ | result = true; | |
| 366 | } | ||
| 367 | 3 | return result; | |
| 368 | } | ||
| 369 | |||
| 370 | 1 | void CoilCoolingWaterToAirHeatPumpEquationFit_Impl::resetRatedWaterFlowRate() { | |
| 371 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedWaterFlowRate, ""); |
| 372 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 373 | 1 | } | |
| 374 | |||
| 375 | 1 | void CoilCoolingWaterToAirHeatPumpEquationFit_Impl::autosizeRatedWaterFlowRate() { | |
| 376 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedWaterFlowRate, "autosize"); |
| 377 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 378 | 1 | } | |
| 379 | |||
| 380 | 3 | bool CoilCoolingWaterToAirHeatPumpEquationFit_Impl::setRatedTotalCoolingCapacity(boost::optional<double> ratedTotalCoolingCapacity) { | |
| 381 | 3 | bool result(false); | |
| 382 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (ratedTotalCoolingCapacity) { |
| 383 | 3 | result = setDouble(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedTotalCoolingCapacity, ratedTotalCoolingCapacity.get()); | |
| 384 | } else { | ||
| 385 | ✗ | resetRatedTotalCoolingCapacity(); | |
| 386 | ✗ | result = true; | |
| 387 | } | ||
| 388 | 3 | return result; | |
| 389 | } | ||
| 390 | |||
| 391 | 12 | unsigned CoilCoolingWaterToAirHeatPumpEquationFit_Impl::airInletPort() const { | |
| 392 | 12 | return OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::AirInletNodeName; | |
| 393 | } | ||
| 394 | |||
| 395 | 12 | unsigned CoilCoolingWaterToAirHeatPumpEquationFit_Impl::airOutletPort() const { | |
| 396 | 12 | return OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::AirOutletNodeName; | |
| 397 | } | ||
| 398 | |||
| 399 | 29 | unsigned CoilCoolingWaterToAirHeatPumpEquationFit_Impl::waterInletPort() const { | |
| 400 | 29 | return OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::WaterInletNodeName; | |
| 401 | } | ||
| 402 | |||
| 403 | 29 | unsigned CoilCoolingWaterToAirHeatPumpEquationFit_Impl::waterOutletPort() const { | |
| 404 | 29 | return OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::WaterOutletNodeName; | |
| 405 | } | ||
| 406 | |||
| 407 | 1 | void CoilCoolingWaterToAirHeatPumpEquationFit_Impl::resetRatedTotalCoolingCapacity() { | |
| 408 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedTotalCoolingCapacity, ""); |
| 409 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 410 | 1 | } | |
| 411 | |||
| 412 | 1 | void CoilCoolingWaterToAirHeatPumpEquationFit_Impl::autosizeRatedTotalCoolingCapacity() { | |
| 413 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedTotalCoolingCapacity, "autosize"); |
| 414 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 415 | 1 | } | |
| 416 | |||
| 417 | 2 | bool CoilCoolingWaterToAirHeatPumpEquationFit_Impl::setRatedSensibleCoolingCapacity(boost::optional<double> ratedSensibleCoolingCapacity) { | |
| 418 | 2 | bool result(false); | |
| 419 |
1/2✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
|
2 | if (ratedSensibleCoolingCapacity) { |
| 420 | 2 | result = setDouble(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedSensibleCoolingCapacity, ratedSensibleCoolingCapacity.get()); | |
| 421 | } else { | ||
| 422 | ✗ | resetRatedSensibleCoolingCapacity(); | |
| 423 | ✗ | result = true; | |
| 424 | } | ||
| 425 | 2 | return result; | |
| 426 | } | ||
| 427 | |||
| 428 | 1 | void CoilCoolingWaterToAirHeatPumpEquationFit_Impl::resetRatedSensibleCoolingCapacity() { | |
| 429 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedSensibleCoolingCapacity, ""); |
| 430 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 431 | 1 | } | |
| 432 | |||
| 433 | 2 | void CoilCoolingWaterToAirHeatPumpEquationFit_Impl::autosizeRatedSensibleCoolingCapacity() { | |
| 434 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
|
4 | bool result = setString(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedSensibleCoolingCapacity, "autosize"); |
| 435 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 2 times.
|
2 | OS_ASSERT(result); |
| 436 | 2 | } | |
| 437 | |||
| 438 | 3 | bool CoilCoolingWaterToAirHeatPumpEquationFit_Impl::setRatedCoolingCoefficientofPerformance(double ratedCoolingCoefficientofPerformance) { | |
| 439 | bool result = | ||
| 440 | 3 | setDouble(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedCoolingCoefficientofPerformance, ratedCoolingCoefficientofPerformance); | |
| 441 | 3 | return result; | |
| 442 | } | ||
| 443 | |||
| 444 | 22 | bool CoilCoolingWaterToAirHeatPumpEquationFit_Impl::setRatedEnteringWaterTemperature(double ratedEnteringWaterTemperature) { | |
| 445 | 22 | bool result = setDouble(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedEnteringWaterTemperature, ratedEnteringWaterTemperature); | |
| 446 | 22 | return result; | |
| 447 | } | ||
| 448 | |||
| 449 | 22 | bool CoilCoolingWaterToAirHeatPumpEquationFit_Impl::setRatedEnteringAirDryBulbTemperature(double ratedEnteringAirDryBulbTemperature) { | |
| 450 | bool result = | ||
| 451 | 22 | setDouble(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedEnteringAirDryBulbTemperature, ratedEnteringAirDryBulbTemperature); | |
| 452 | 22 | return result; | |
| 453 | } | ||
| 454 | |||
| 455 | 22 | bool CoilCoolingWaterToAirHeatPumpEquationFit_Impl::setRatedEnteringAirWetBulbTemperature(double ratedEnteringAirWetBulbTemperature) { | |
| 456 | bool result = | ||
| 457 | 22 | setDouble(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatedEnteringAirWetBulbTemperature, ratedEnteringAirWetBulbTemperature); | |
| 458 | 22 | return result; | |
| 459 | } | ||
| 460 | |||
| 461 | 2 | bool CoilCoolingWaterToAirHeatPumpEquationFit_Impl::setNominalTimeforCondensateRemovaltoBegin(double nominalTimeforCondensateRemovaltoBegin) { | |
| 462 | 2 | bool result = setDouble(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::NominalTimeforCondensateRemovaltoBegin, | |
| 463 | nominalTimeforCondensateRemovaltoBegin); | ||
| 464 | 2 | return result; | |
| 465 | } | ||
| 466 | |||
| 467 | 1 | void CoilCoolingWaterToAirHeatPumpEquationFit_Impl::resetNominalTimeforCondensateRemovaltoBegin() { | |
| 468 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::NominalTimeforCondensateRemovaltoBegin, ""); |
| 469 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 470 | 1 | } | |
| 471 | |||
| 472 | 2 | bool CoilCoolingWaterToAirHeatPumpEquationFit_Impl::setRatioofInitialMoistureEvaporationRateandSteadyStateLatentCapacity( | |
| 473 | double ratioofInitialMoistureEvaporationRateandSteadyStateLatentCapacity) { | ||
| 474 | 2 | bool result = setDouble(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatioofInitialMoistureEvaporationRateandSteadyStateLatentCapacity, | |
| 475 | ratioofInitialMoistureEvaporationRateandSteadyStateLatentCapacity); | ||
| 476 | 2 | return result; | |
| 477 | } | ||
| 478 | |||
| 479 | 1 | void CoilCoolingWaterToAirHeatPumpEquationFit_Impl::resetRatioofInitialMoistureEvaporationRateandSteadyStateLatentCapacity() { | |
| 480 | bool result = | ||
| 481 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | setString(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::RatioofInitialMoistureEvaporationRateandSteadyStateLatentCapacity, ""); |
| 482 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 483 | 1 | } | |
| 484 | |||
| 485 | 12 | double CoilCoolingWaterToAirHeatPumpEquationFit_Impl::maximumCyclingRate() const { | |
| 486 |
1/1✓ Branch 1 taken 12 times.
|
12 | boost::optional<double> value = getDouble(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::MaximumCyclingRate, true); |
| 487 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 12 times.
✗ Branch 4 not taken.
|
12 | OS_ASSERT(value); |
| 488 |
1/1✓ Branch 1 taken 12 times.
|
24 | return value.get(); |
| 489 | } | ||
| 490 | |||
| 491 | 22 | bool CoilCoolingWaterToAirHeatPumpEquationFit_Impl::setMaximumCyclingRate(double maximumCyclingRate) { | |
| 492 | 22 | const bool result = setDouble(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::MaximumCyclingRate, maximumCyclingRate); | |
| 493 | // OS_ASSERT(result); | ||
| 494 | 22 | return result; | |
| 495 | } | ||
| 496 | |||
| 497 | 12 | double CoilCoolingWaterToAirHeatPumpEquationFit_Impl::latentCapacityTimeConstant() const { | |
| 498 |
1/1✓ Branch 1 taken 12 times.
|
12 | boost::optional<double> value = getDouble(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::LatentCapacityTimeConstant, true); |
| 499 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 12 times.
✗ Branch 4 not taken.
|
12 | OS_ASSERT(value); |
| 500 |
1/1✓ Branch 1 taken 12 times.
|
24 | return value.get(); |
| 501 | } | ||
| 502 | |||
| 503 | 22 | bool CoilCoolingWaterToAirHeatPumpEquationFit_Impl::setLatentCapacityTimeConstant(double latentCapacityTimeConstant) { | |
| 504 | 22 | const bool result = setDouble(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::LatentCapacityTimeConstant, latentCapacityTimeConstant); | |
| 505 | // OS_ASSERT(result); | ||
| 506 | 22 | return result; | |
| 507 | } | ||
| 508 | |||
| 509 | 12 | double CoilCoolingWaterToAirHeatPumpEquationFit_Impl::fanDelayTime() const { | |
| 510 |
1/1✓ Branch 1 taken 12 times.
|
12 | boost::optional<double> value = getDouble(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::FanDelayTime, true); |
| 511 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 12 times.
✗ Branch 4 not taken.
|
12 | OS_ASSERT(value); |
| 512 |
1/1✓ Branch 1 taken 12 times.
|
24 | return value.get(); |
| 513 | } | ||
| 514 | |||
| 515 | 22 | bool CoilCoolingWaterToAirHeatPumpEquationFit_Impl::setFanDelayTime(double fanDelayTime) { | |
| 516 | 22 | const bool result = setDouble(OS_Coil_Cooling_WaterToAirHeatPump_EquationFitFields::FanDelayTime, fanDelayTime); | |
| 517 | // OS_ASSERT(result); | ||
| 518 | 22 | return result; | |
| 519 | } | ||
| 520 | |||
| 521 | 1 | boost::optional<HVACComponent> CoilCoolingWaterToAirHeatPumpEquationFit_Impl::containingHVACComponent() const { | |
| 522 | // AirLoopHVACUnitarySystem | ||
| 523 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
1 | std::vector<AirLoopHVACUnitarySystem> airLoopHVACUnitarySystems = this->model().getConcreteModelObjects<AirLoopHVACUnitarySystem>(); |
| 524 | |||
| 525 |
1/2✓ Branch 5 taken 1 time.
✗ Branch 6 not taken.
|
1 | for (const auto& airLoopHVACUnitarySystem : airLoopHVACUnitarySystems) { |
| 526 |
2/3✓ Branch 1 taken 1 time.
✓ Branch 3 taken 1 time.
✗ Branch 4 not taken.
|
2 | if (boost::optional<HVACComponent> coolingCoil = airLoopHVACUnitarySystem.coolingCoil()) { |
| 527 |
5/6✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 12 taken 1 time.
✗ Branch 13 not taken.
|
1 | if (coolingCoil->handle() == this->handle()) { |
| 528 |
1/1✓ Branch 1 taken 1 time.
|
1 | return airLoopHVACUnitarySystem; |
| 529 | } | ||
| 530 | 1 | } | |
| 531 | } | ||
| 532 | ✗ | return boost::none; | |
| 533 | 1 | } | |
| 534 | |||
| 535 | 1 | boost::optional<ZoneHVACComponent> CoilCoolingWaterToAirHeatPumpEquationFit_Impl::containingZoneHVACComponent() const { | |
| 536 | // ZoneHVACWaterToAirHeatPump | ||
| 537 | |||
| 538 | 1 | std::vector<ZoneHVACWaterToAirHeatPump> zoneHVACWaterToAirHeatPumps; | |
| 539 | |||
| 540 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
1 | zoneHVACWaterToAirHeatPumps = this->model().getConcreteModelObjects<ZoneHVACWaterToAirHeatPump>(); |
| 541 | |||
| 542 |
1/2✓ Branch 5 taken 1 time.
✗ Branch 6 not taken.
|
1 | for (const auto& zoneHVACWaterToAirHeatPump : zoneHVACWaterToAirHeatPumps) { |
| 543 |
3/4✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 8 taken 1 time.
✗ Branch 9 not taken.
|
2 | if (boost::optional<HVACComponent> coil = zoneHVACWaterToAirHeatPump.coolingCoil()) { |
| 544 |
5/6✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 12 taken 1 time.
✗ Branch 13 not taken.
|
1 | if (coil->handle() == this->handle()) { |
| 545 |
1/1✓ Branch 1 taken 1 time.
|
1 | return zoneHVACWaterToAirHeatPump; |
| 546 | } | ||
| 547 | 1 | } | |
| 548 | } | ||
| 549 | |||
| 550 | ✗ | return boost::none; | |
| 551 | 1 | } | |
| 552 | |||
| 553 | ✗ | AirflowNetworkEquivalentDuct CoilCoolingWaterToAirHeatPumpEquationFit_Impl::getAirflowNetworkEquivalentDuct(double length, double diameter) { | |
| 554 | ✗ | boost::optional<AirflowNetworkEquivalentDuct> opt = airflowNetworkEquivalentDuct(); | |
| 555 | ✗ | if (opt) { | |
| 556 | ✗ | if (opt->airPathLength() != length) { | |
| 557 | ✗ | opt->setAirPathLength(length); | |
| 558 | } | ||
| 559 | ✗ | if (opt->airPathHydraulicDiameter() != diameter) { | |
| 560 | ✗ | opt->setAirPathHydraulicDiameter(diameter); | |
| 561 | } | ||
| 562 | } | ||
| 563 | ✗ | return AirflowNetworkEquivalentDuct(model(), length, diameter, handle()); | |
| 564 | ✗ | } | |
| 565 | |||
| 566 | ✗ | boost::optional<AirflowNetworkEquivalentDuct> CoilCoolingWaterToAirHeatPumpEquationFit_Impl::airflowNetworkEquivalentDuct() const { | |
| 567 | std::vector<AirflowNetworkEquivalentDuct> myAFN = | ||
| 568 | ✗ | getObject<ModelObject>().getModelObjectSources<AirflowNetworkEquivalentDuct>(AirflowNetworkEquivalentDuct::iddObjectType()); | |
| 569 | ✗ | auto count = myAFN.size(); | |
| 570 | ✗ | if (count == 1) { | |
| 571 | ✗ | return myAFN[0]; | |
| 572 | ✗ | } else if (count > 1) { | |
| 573 | ✗ | LOG(Warn, briefDescription() << " has more than one AirflowNetwork EquivalentDuct attached, returning first."); | |
| 574 | ✗ | return myAFN[0]; | |
| 575 | } | ||
| 576 | ✗ | return boost::none; | |
| 577 | ✗ | } | |
| 578 | |||
| 579 | ✗ | boost::optional<double> CoilCoolingWaterToAirHeatPumpEquationFit_Impl::autosizedRatedAirFlowRate() const { | |
| 580 | // EPLUS-SQL-INCONSISTENCY | ||
| 581 | ✗ | return getAutosizedValue("Design Size Rated Air Flow Rate", "m3/s", "COIL:COOLING:WATERTOAIRHEATPUMP:EQUATIONFIT"); | |
| 582 | } | ||
| 583 | |||
| 584 | ✗ | boost::optional<double> CoilCoolingWaterToAirHeatPumpEquationFit_Impl::autosizedRatedWaterFlowRate() const { | |
| 585 | // EPLUS-SQL-INCONSISTENCY | ||
| 586 | ✗ | return getAutosizedValue("Design Size Rated Water Flow Rate", "m3/s", "COIL:COOLING:WATERTOAIRHEATPUMP:EQUATIONFIT"); | |
| 587 | } | ||
| 588 | |||
| 589 | ✗ | boost::optional<double> CoilCoolingWaterToAirHeatPumpEquationFit_Impl::autosizedRatedTotalCoolingCapacity() const { | |
| 590 | // EPLUS-SQL-INCONSISTENCY | ||
| 591 | ✗ | return getAutosizedValue("Design Size Rated Total Cooling Capacity", "W", "COIL:COOLING:WATERTOAIRHEATPUMP:EQUATIONFIT"); | |
| 592 | } | ||
| 593 | |||
| 594 | ✗ | boost::optional<double> CoilCoolingWaterToAirHeatPumpEquationFit_Impl::autosizedRatedSensibleCoolingCapacity() const { | |
| 595 | // EPLUS-SQL-INCONSISTENCY | ||
| 596 | ✗ | return getAutosizedValue("Design Size Rated Sensible Cooling Capacity", "W", "COIL:COOLING:WATERTOAIRHEATPUMP:EQUATIONFIT"); | |
| 597 | } | ||
| 598 | |||
| 599 | ✗ | void CoilCoolingWaterToAirHeatPumpEquationFit_Impl::autosize() { | |
| 600 | ✗ | autosizeRatedAirFlowRate(); | |
| 601 | ✗ | autosizeRatedWaterFlowRate(); | |
| 602 | ✗ | autosizeRatedTotalCoolingCapacity(); | |
| 603 | ✗ | autosizeRatedSensibleCoolingCapacity(); | |
| 604 | ✗ | } | |
| 605 | |||
| 606 | ✗ | void CoilCoolingWaterToAirHeatPumpEquationFit_Impl::applySizingValues() { | |
| 607 | ✗ | boost::optional<double> val; | |
| 608 | ✗ | val = autosizedRatedAirFlowRate(); | |
| 609 | ✗ | if (val) { | |
| 610 | ✗ | setRatedAirFlowRate(val.get()); | |
| 611 | } | ||
| 612 | |||
| 613 | ✗ | val = autosizedRatedWaterFlowRate(); | |
| 614 | ✗ | if (val) { | |
| 615 | ✗ | setRatedWaterFlowRate(val.get()); | |
| 616 | } | ||
| 617 | |||
| 618 | ✗ | val = autosizedRatedTotalCoolingCapacity(); | |
| 619 | ✗ | if (val) { | |
| 620 | ✗ | setRatedTotalCoolingCapacity(val.get()); | |
| 621 | } | ||
| 622 | |||
| 623 | ✗ | val = autosizedRatedSensibleCoolingCapacity(); | |
| 624 | ✗ | if (val) { | |
| 625 | ✗ | setRatedSensibleCoolingCapacity(val.get()); | |
| 626 | } | ||
| 627 | ✗ | } | |
| 628 | |||
| 629 | ✗ | ComponentType CoilCoolingWaterToAirHeatPumpEquationFit_Impl::componentType() const { | |
| 630 | ✗ | return ComponentType::Cooling; | |
| 631 | } | ||
| 632 | |||
| 633 | ✗ | std::vector<FuelType> CoilCoolingWaterToAirHeatPumpEquationFit_Impl::coolingFuelTypes() const { | |
| 634 | ✗ | std::set<FuelType> result; | |
| 635 | ✗ | result.insert(FuelType::Electricity); | |
| 636 | ✗ | if (auto p_ = plantLoop()) { | |
| 637 | ✗ | for (auto ft : p_->coolingFuelTypes()) { | |
| 638 | ✗ | result.insert(ft); | |
| 639 | ✗ | } | |
| 640 | ✗ | } | |
| 641 | ✗ | return {result.begin(), result.end()}; | |
| 642 | ✗ | } | |
| 643 | |||
| 644 | ✗ | std::vector<FuelType> CoilCoolingWaterToAirHeatPumpEquationFit_Impl::heatingFuelTypes() const { | |
| 645 | ✗ | return {}; | |
| 646 | } | ||
| 647 | |||
| 648 | ✗ | std::vector<AppGFuelType> CoilCoolingWaterToAirHeatPumpEquationFit_Impl::appGHeatingFuelTypes() const { | |
| 649 | ✗ | return {}; | |
| 650 | } | ||
| 651 | |||
| 652 | 19 | void CoilCoolingWaterToAirHeatPumpEquationFit_Impl::setConstructorSharedDefaults(const Model& model) { | |
| 653 | |||
| 654 |
1/1✓ Branch 1 taken 19 times.
|
19 | bool ok = setRatedEnteringWaterTemperature(30); |
| 655 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 19 times.
✗ Branch 3 not taken.
|
19 | OS_ASSERT(ok); |
| 656 | |||
| 657 |
1/1✓ Branch 1 taken 19 times.
|
19 | ok = setRatedEnteringAirDryBulbTemperature(27); |
| 658 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 19 times.
✗ Branch 3 not taken.
|
19 | OS_ASSERT(ok); |
| 659 | |||
| 660 |
1/1✓ Branch 1 taken 19 times.
|
19 | ok = setRatedEnteringAirWetBulbTemperature(19.0); |
| 661 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 19 times.
✗ Branch 3 not taken.
|
19 | OS_ASSERT(ok); |
| 662 | |||
| 663 | // E+ 23.2.0 defaults Maximum Cycling Rate and Latent Capacity Time Constant to 0.0, we don't, cf #4999 | ||
| 664 | 19 | constexpr double maximumCyclingRatePerHour = 2.5; | |
| 665 | 19 | constexpr double heatPumpTimeConstantSeconds = 60.0; | |
| 666 | const CurveLinear plfCorrelation = | ||
| 667 |
1/1✓ Branch 1 taken 19 times.
|
19 | CurveLinear::defaultHeatPumpCoilPLFCorrelationCurve(model, maximumCyclingRatePerHour, heatPumpTimeConstantSeconds); |
| 668 | |||
| 669 |
1/1✓ Branch 1 taken 19 times.
|
19 | ok = setPartLoadFractionCorrelationCurve(plfCorrelation); |
| 670 | |||
| 671 |
1/1✓ Branch 1 taken 19 times.
|
19 | ok = setMaximumCyclingRate(maximumCyclingRatePerHour); |
| 672 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 19 times.
✗ Branch 3 not taken.
|
19 | OS_ASSERT(ok); |
| 673 |
1/1✓ Branch 1 taken 19 times.
|
19 | ok = setLatentCapacityTimeConstant(heatPumpTimeConstantSeconds); |
| 674 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 19 times.
✗ Branch 3 not taken.
|
19 | OS_ASSERT(ok); |
| 675 |
1/1✓ Branch 1 taken 19 times.
|
19 | ok = setFanDelayTime(60.0); |
| 676 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 19 times.
✗ Branch 3 not taken.
|
19 | OS_ASSERT(ok); |
| 677 | 19 | } | |
| 678 | } // namespace detail | ||
| 679 | |||
| 680 | // Ctors | ||
| 681 | 2 | CoilCoolingWaterToAirHeatPumpEquationFit::CoilCoolingWaterToAirHeatPumpEquationFit(const Model& model, const Curve& totalCoolingCapacityCurve, | |
| 682 | const Curve& sensibleCoolingCapacityCurve, | ||
| 683 | 2 | const Curve& coolingPowerConsumptionCurve) | |
| 684 | 2 | : WaterToAirComponent(CoilCoolingWaterToAirHeatPumpEquationFit::iddObjectType(), model) { | |
| 685 |
1/3✗ Branch 2 not taken.
✓ Branch 3 taken 2 times.
✗ Branch 5 not taken.
|
2 | OS_ASSERT(getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()); |
| 686 | |||
| 687 |
1/1✓ Branch 1 taken 2 times.
|
2 | auto always_on = model.alwaysOnDiscreteSchedule(); |
| 688 |
1/1✓ Branch 1 taken 2 times.
|
2 | bool ok = setAvailabilitySchedule(always_on); |
| 689 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 2 times.
✗ Branch 3 not taken.
|
2 | OS_ASSERT(ok); |
| 690 | |||
| 691 |
1/1✓ Branch 1 taken 2 times.
|
2 | ok = setTotalCoolingCapacityCurve(totalCoolingCapacityCurve); |
| 692 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 2 times.
✗ Branch 3 not taken.
|
2 | OS_ASSERT(ok); |
| 693 | |||
| 694 |
1/1✓ Branch 1 taken 2 times.
|
2 | ok = setSensibleCoolingCapacityCurve(sensibleCoolingCapacityCurve); |
| 695 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 2 times.
✗ Branch 3 not taken.
|
2 | OS_ASSERT(ok); |
| 696 | |||
| 697 |
1/1✓ Branch 1 taken 2 times.
|
2 | ok = setCoolingPowerConsumptionCurve(coolingPowerConsumptionCurve); |
| 698 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 2 times.
✗ Branch 3 not taken.
|
2 | OS_ASSERT(ok); |
| 699 | |||
| 700 |
1/1✓ Branch 3 taken 2 times.
|
2 | getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->setConstructorSharedDefaults(model); |
| 701 | 2 | } | |
| 702 | |||
| 703 | 17 | CoilCoolingWaterToAirHeatPumpEquationFit::CoilCoolingWaterToAirHeatPumpEquationFit(const Model& model) | |
| 704 | 17 | : WaterToAirComponent(CoilCoolingWaterToAirHeatPumpEquationFit::iddObjectType(), model) { | |
| 705 |
1/3✗ Branch 2 not taken.
✓ Branch 3 taken 17 times.
✗ Branch 5 not taken.
|
17 | OS_ASSERT(getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()); |
| 706 | |||
| 707 |
1/1✓ Branch 1 taken 17 times.
|
17 | auto always_on = model.alwaysOnDiscreteSchedule(); |
| 708 |
1/1✓ Branch 1 taken 17 times.
|
17 | bool ok = setAvailabilitySchedule(always_on); |
| 709 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 17 times.
✗ Branch 3 not taken.
|
17 | OS_ASSERT(ok); |
| 710 | |||
| 711 |
1/1✓ Branch 1 taken 17 times.
|
17 | CurveQuadLinear totalCoolingCapacityCurve(model); |
| 712 |
2/2✓ Branch 1 taken 17 times.
✓ Branch 4 taken 17 times.
|
17 | totalCoolingCapacityCurve.setName("TotCoolCapCurve"); |
| 713 |
1/1✓ Branch 1 taken 17 times.
|
17 | totalCoolingCapacityCurve.setCoefficient1Constant(-0.68126221); |
| 714 |
1/1✓ Branch 1 taken 17 times.
|
17 | totalCoolingCapacityCurve.setCoefficient2w(1.99529297); |
| 715 |
1/1✓ Branch 1 taken 17 times.
|
17 | totalCoolingCapacityCurve.setCoefficient3x(-0.93611888); |
| 716 |
1/1✓ Branch 1 taken 17 times.
|
17 | totalCoolingCapacityCurve.setCoefficient4y(0.02081177); |
| 717 |
1/1✓ Branch 1 taken 17 times.
|
17 | totalCoolingCapacityCurve.setCoefficient5z(0.008438868); |
| 718 |
1/1✓ Branch 1 taken 17 times.
|
17 | ok = setTotalCoolingCapacityCurve(totalCoolingCapacityCurve); |
| 719 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 17 times.
✗ Branch 3 not taken.
|
17 | OS_ASSERT(ok); |
| 720 | |||
| 721 |
1/1✓ Branch 1 taken 17 times.
|
17 | CurveQuintLinear sensibleCoolingCapacityCurve(model); |
| 722 |
2/2✓ Branch 1 taken 17 times.
✓ Branch 4 taken 17 times.
|
17 | sensibleCoolingCapacityCurve.setName("SensCoolCapCurve"); |
| 723 |
1/1✓ Branch 1 taken 17 times.
|
17 | sensibleCoolingCapacityCurve.setCoefficient1Constant(2.24209455); |
| 724 |
1/1✓ Branch 1 taken 17 times.
|
17 | sensibleCoolingCapacityCurve.setCoefficient2v(7.28913391); |
| 725 |
1/1✓ Branch 1 taken 17 times.
|
17 | sensibleCoolingCapacityCurve.setCoefficient3w(-9.06079896); |
| 726 |
1/1✓ Branch 1 taken 17 times.
|
17 | sensibleCoolingCapacityCurve.setCoefficient4x(-0.36729404); |
| 727 |
1/1✓ Branch 1 taken 17 times.
|
17 | sensibleCoolingCapacityCurve.setCoefficient5y(0.218826161); |
| 728 |
1/1✓ Branch 1 taken 17 times.
|
17 | sensibleCoolingCapacityCurve.setCoefficient6z(0.00901534); |
| 729 |
1/1✓ Branch 1 taken 17 times.
|
17 | ok = setSensibleCoolingCapacityCurve(sensibleCoolingCapacityCurve); |
| 730 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 17 times.
✗ Branch 3 not taken.
|
17 | OS_ASSERT(ok); |
| 731 | |||
| 732 |
1/1✓ Branch 1 taken 17 times.
|
17 | CurveQuadLinear coolingPowerConsumptionCurve(model); |
| 733 |
2/2✓ Branch 1 taken 17 times.
✓ Branch 4 taken 17 times.
|
17 | sensibleCoolingCapacityCurve.setName("CoolingPowerConsumptionCurve"); |
| 734 |
1/1✓ Branch 1 taken 17 times.
|
17 | coolingPowerConsumptionCurve.setCoefficient1Constant(-3.20456384); |
| 735 |
1/1✓ Branch 1 taken 17 times.
|
17 | coolingPowerConsumptionCurve.setCoefficient2w(0.47656454); |
| 736 |
1/1✓ Branch 1 taken 17 times.
|
17 | coolingPowerConsumptionCurve.setCoefficient3x(3.16734236); |
| 737 |
1/1✓ Branch 1 taken 17 times.
|
17 | coolingPowerConsumptionCurve.setCoefficient4y(0.10244637); |
| 738 |
1/1✓ Branch 1 taken 17 times.
|
17 | coolingPowerConsumptionCurve.setCoefficient5z(-0.038132556); |
| 739 |
1/1✓ Branch 1 taken 17 times.
|
17 | ok = setCoolingPowerConsumptionCurve(coolingPowerConsumptionCurve); |
| 740 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 17 times.
✗ Branch 3 not taken.
|
17 | OS_ASSERT(ok); |
| 741 | |||
| 742 |
1/1✓ Branch 3 taken 17 times.
|
17 | getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->setConstructorSharedDefaults(model); |
| 743 | 17 | } | |
| 744 | |||
| 745 | 7663 | IddObjectType CoilCoolingWaterToAirHeatPumpEquationFit::iddObjectType() { | |
| 746 |
1/1✓ Branch 1 taken 7663 times.
|
7663 | return {IddObjectType::OS_Coil_Cooling_WaterToAirHeatPump_EquationFit}; |
| 747 | } | ||
| 748 | |||
| 749 | 11 | Schedule CoilCoolingWaterToAirHeatPumpEquationFit::availabilitySchedule() const { | |
| 750 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->availabilitySchedule(); |
| 751 | } | ||
| 752 | |||
| 753 | 15 | boost::optional<double> CoilCoolingWaterToAirHeatPumpEquationFit::ratedAirFlowRate() const { | |
| 754 |
1/1✓ Branch 3 taken 15 times.
|
15 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->ratedAirFlowRate(); |
| 755 | } | ||
| 756 | |||
| 757 | 2 | bool CoilCoolingWaterToAirHeatPumpEquationFit::isRatedAirFlowRateDefaulted() const { | |
| 758 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->isRatedAirFlowRateDefaulted(); |
| 759 | } | ||
| 760 | |||
| 761 | 2 | bool CoilCoolingWaterToAirHeatPumpEquationFit::isRatedAirFlowRateAutosized() const { | |
| 762 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->isRatedAirFlowRateAutosized(); |
| 763 | } | ||
| 764 | |||
| 765 | 11 | boost::optional<double> CoilCoolingWaterToAirHeatPumpEquationFit::ratedWaterFlowRate() const { | |
| 766 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->ratedWaterFlowRate(); |
| 767 | } | ||
| 768 | |||
| 769 | 2 | bool CoilCoolingWaterToAirHeatPumpEquationFit::isRatedWaterFlowRateDefaulted() const { | |
| 770 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->isRatedWaterFlowRateDefaulted(); |
| 771 | } | ||
| 772 | |||
| 773 | 2 | bool CoilCoolingWaterToAirHeatPumpEquationFit::isRatedWaterFlowRateAutosized() const { | |
| 774 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->isRatedWaterFlowRateAutosized(); |
| 775 | } | ||
| 776 | |||
| 777 | 11 | boost::optional<double> CoilCoolingWaterToAirHeatPumpEquationFit::ratedTotalCoolingCapacity() const { | |
| 778 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->ratedTotalCoolingCapacity(); |
| 779 | } | ||
| 780 | |||
| 781 | 2 | bool CoilCoolingWaterToAirHeatPumpEquationFit::isRatedTotalCoolingCapacityDefaulted() const { | |
| 782 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->isRatedTotalCoolingCapacityDefaulted(); |
| 783 | } | ||
| 784 | |||
| 785 | 2 | bool CoilCoolingWaterToAirHeatPumpEquationFit::isRatedTotalCoolingCapacityAutosized() const { | |
| 786 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->isRatedTotalCoolingCapacityAutosized(); |
| 787 | } | ||
| 788 | |||
| 789 | 11 | boost::optional<double> CoilCoolingWaterToAirHeatPumpEquationFit::ratedSensibleCoolingCapacity() const { | |
| 790 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->ratedSensibleCoolingCapacity(); |
| 791 | } | ||
| 792 | |||
| 793 | 2 | bool CoilCoolingWaterToAirHeatPumpEquationFit::isRatedSensibleCoolingCapacityDefaulted() const { | |
| 794 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->isRatedSensibleCoolingCapacityDefaulted(); |
| 795 | } | ||
| 796 | |||
| 797 | 2 | bool CoilCoolingWaterToAirHeatPumpEquationFit::isRatedSensibleCoolingCapacityAutosized() const { | |
| 798 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->isRatedSensibleCoolingCapacityAutosized(); |
| 799 | } | ||
| 800 | |||
| 801 | 10 | double CoilCoolingWaterToAirHeatPumpEquationFit::ratedCoolingCoefficientofPerformance() const { | |
| 802 |
1/1✓ Branch 3 taken 10 times.
|
10 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->ratedCoolingCoefficientofPerformance(); |
| 803 | } | ||
| 804 | |||
| 805 | ✗ | bool CoilCoolingWaterToAirHeatPumpEquationFit::isRatedCoolingCoefficientofPerformanceDefaulted() const { | |
| 806 | ✗ | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->isRatedCoolingCoefficientofPerformanceDefaulted(); | |
| 807 | } | ||
| 808 | |||
| 809 | 11 | double CoilCoolingWaterToAirHeatPumpEquationFit::ratedEnteringWaterTemperature() const { | |
| 810 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->ratedEnteringWaterTemperature(); |
| 811 | } | ||
| 812 | |||
| 813 | 11 | double CoilCoolingWaterToAirHeatPumpEquationFit::ratedEnteringAirDryBulbTemperature() const { | |
| 814 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->ratedEnteringAirDryBulbTemperature(); |
| 815 | } | ||
| 816 | |||
| 817 | 11 | double CoilCoolingWaterToAirHeatPumpEquationFit::ratedEnteringAirWetBulbTemperature() const { | |
| 818 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->ratedEnteringAirWetBulbTemperature(); |
| 819 | } | ||
| 820 | |||
| 821 | 11 | double CoilCoolingWaterToAirHeatPumpEquationFit::nominalTimeforCondensateRemovaltoBegin() const { | |
| 822 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->nominalTimeforCondensateRemovaltoBegin(); |
| 823 | } | ||
| 824 | |||
| 825 | 2 | bool CoilCoolingWaterToAirHeatPumpEquationFit::isNominalTimeforCondensateRemovaltoBeginDefaulted() const { | |
| 826 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->isNominalTimeforCondensateRemovaltoBeginDefaulted(); |
| 827 | } | ||
| 828 | |||
| 829 | 11 | double CoilCoolingWaterToAirHeatPumpEquationFit::ratioofInitialMoistureEvaporationRateandSteadyStateLatentCapacity() const { | |
| 830 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->ratioofInitialMoistureEvaporationRateandSteadyStateLatentCapacity(); |
| 831 | } | ||
| 832 | |||
| 833 | 2 | bool CoilCoolingWaterToAirHeatPumpEquationFit::isRatioofInitialMoistureEvaporationRateandSteadyStateLatentCapacityDefaulted() const { | |
| 834 | 4 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>() | |
| 835 |
1/1✓ Branch 2 taken 2 times.
|
4 | ->isRatioofInitialMoistureEvaporationRateandSteadyStateLatentCapacityDefaulted(); |
| 836 | } | ||
| 837 | |||
| 838 | 20 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setAvailabilitySchedule(Schedule& schedule) { | |
| 839 |
1/1✓ Branch 3 taken 20 times.
|
20 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->setAvailabilitySchedule(schedule); |
| 840 | } | ||
| 841 | |||
| 842 | 4 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setRatedAirFlowRate(double ratedAirFlowRate) { | |
| 843 |
2/2✓ Branch 3 taken 4 times.
✓ Branch 6 taken 4 times.
|
4 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->setRatedAirFlowRate(ratedAirFlowRate); |
| 844 | } | ||
| 845 | |||
| 846 | 1 | void CoilCoolingWaterToAirHeatPumpEquationFit::resetRatedAirFlowRate() { | |
| 847 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->resetRatedAirFlowRate(); |
| 848 | 1 | } | |
| 849 | |||
| 850 | 1 | void CoilCoolingWaterToAirHeatPumpEquationFit::autosizeRatedAirFlowRate() { | |
| 851 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->autosizeRatedAirFlowRate(); |
| 852 | 1 | } | |
| 853 | |||
| 854 | 3 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setRatedWaterFlowRate(double ratedWaterFlowRate) { | |
| 855 |
2/2✓ Branch 3 taken 3 times.
✓ Branch 6 taken 3 times.
|
3 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->setRatedWaterFlowRate(ratedWaterFlowRate); |
| 856 | } | ||
| 857 | |||
| 858 | 1 | void CoilCoolingWaterToAirHeatPumpEquationFit::resetRatedWaterFlowRate() { | |
| 859 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->resetRatedWaterFlowRate(); |
| 860 | 1 | } | |
| 861 | |||
| 862 | 1 | void CoilCoolingWaterToAirHeatPumpEquationFit::autosizeRatedWaterFlowRate() { | |
| 863 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->autosizeRatedWaterFlowRate(); |
| 864 | 1 | } | |
| 865 | |||
| 866 | 3 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setRatedTotalCoolingCapacity(double ratedTotalCoolingCapacity) { | |
| 867 |
2/2✓ Branch 3 taken 3 times.
✓ Branch 6 taken 3 times.
|
3 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->setRatedTotalCoolingCapacity(ratedTotalCoolingCapacity); |
| 868 | } | ||
| 869 | |||
| 870 | 1 | void CoilCoolingWaterToAirHeatPumpEquationFit::resetRatedTotalCoolingCapacity() { | |
| 871 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->resetRatedTotalCoolingCapacity(); |
| 872 | 1 | } | |
| 873 | |||
| 874 | 1 | void CoilCoolingWaterToAirHeatPumpEquationFit::autosizeRatedTotalCoolingCapacity() { | |
| 875 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->autosizeRatedTotalCoolingCapacity(); |
| 876 | 1 | } | |
| 877 | |||
| 878 | 2 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setRatedSensibleCoolingCapacity(double ratedSensibleCoolingCapacity) { | |
| 879 |
2/2✓ Branch 3 taken 2 times.
✓ Branch 6 taken 2 times.
|
2 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->setRatedSensibleCoolingCapacity(ratedSensibleCoolingCapacity); |
| 880 | } | ||
| 881 | |||
| 882 | 1 | void CoilCoolingWaterToAirHeatPumpEquationFit::resetRatedSensibleCoolingCapacity() { | |
| 883 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->resetRatedSensibleCoolingCapacity(); |
| 884 | 1 | } | |
| 885 | |||
| 886 | 2 | void CoilCoolingWaterToAirHeatPumpEquationFit::autosizeRatedSensibleCoolingCapacity() { | |
| 887 |
1/1✓ Branch 3 taken 2 times.
|
2 | getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->autosizeRatedSensibleCoolingCapacity(); |
| 888 | 2 | } | |
| 889 | |||
| 890 | 3 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setRatedCoolingCoefficientofPerformance(double ratedCoolingCoefficientofPerformance) { | |
| 891 |
1/1✓ Branch 3 taken 3 times.
|
6 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->setRatedCoolingCoefficientofPerformance( |
| 892 | 6 | ratedCoolingCoefficientofPerformance); | |
| 893 | } | ||
| 894 | |||
| 895 | 3 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setRatedEnteringWaterTemperature(double ratedEnteringAirDryBulbTemperature) { | |
| 896 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->setRatedEnteringWaterTemperature(ratedEnteringAirDryBulbTemperature); |
| 897 | } | ||
| 898 | |||
| 899 | 3 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setRatedEnteringAirDryBulbTemperature(double ratedEnteringAirDryBulbTemperature) { | |
| 900 |
1/1✓ Branch 3 taken 3 times.
|
6 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->setRatedEnteringAirDryBulbTemperature( |
| 901 | 6 | ratedEnteringAirDryBulbTemperature); | |
| 902 | } | ||
| 903 | |||
| 904 | 3 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setRatedEnteringAirWetBulbTemperature(double ratedEnteringAirWetBulbTemperature) { | |
| 905 |
1/1✓ Branch 3 taken 3 times.
|
6 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->setRatedEnteringAirWetBulbTemperature( |
| 906 | 6 | ratedEnteringAirWetBulbTemperature); | |
| 907 | } | ||
| 908 | |||
| 909 | 2 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setNominalTimeforCondensateRemovaltoBegin(double nominalTimeforCondensateRemovaltoBegin) { | |
| 910 |
1/1✓ Branch 3 taken 2 times.
|
4 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->setNominalTimeforCondensateRemovaltoBegin( |
| 911 | 4 | nominalTimeforCondensateRemovaltoBegin); | |
| 912 | } | ||
| 913 | |||
| 914 | 1 | void CoilCoolingWaterToAirHeatPumpEquationFit::resetNominalTimeforCondensateRemovaltoBegin() { | |
| 915 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->resetNominalTimeforCondensateRemovaltoBegin(); |
| 916 | 1 | } | |
| 917 | |||
| 918 | 2 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setRatioofInitialMoistureEvaporationRateandSteadyStateLatentCapacity( | |
| 919 | double ratioofInitialMoistureEvaporationRateandSteadyStateLatentCapacity) { | ||
| 920 |
1/1✓ Branch 3 taken 2 times.
|
4 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->setRatioofInitialMoistureEvaporationRateandSteadyStateLatentCapacity( |
| 921 | 4 | ratioofInitialMoistureEvaporationRateandSteadyStateLatentCapacity); | |
| 922 | } | ||
| 923 | |||
| 924 | 1 | void CoilCoolingWaterToAirHeatPumpEquationFit::resetRatioofInitialMoistureEvaporationRateandSteadyStateLatentCapacity() { | |
| 925 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->resetRatioofInitialMoistureEvaporationRateandSteadyStateLatentCapacity(); |
| 926 | 1 | } | |
| 927 | |||
| 928 | ✗ | AirflowNetworkEquivalentDuct CoilCoolingWaterToAirHeatPumpEquationFit::getAirflowNetworkEquivalentDuct(double length, double diameter) { | |
| 929 | ✗ | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->getAirflowNetworkEquivalentDuct(length, diameter); | |
| 930 | } | ||
| 931 | |||
| 932 | ✗ | boost::optional<AirflowNetworkEquivalentDuct> CoilCoolingWaterToAirHeatPumpEquationFit::airflowNetworkEquivalentDuct() const { | |
| 933 | ✗ | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->airflowNetworkEquivalentDuct(); | |
| 934 | } | ||
| 935 | |||
| 936 | ✗ | boost::optional<double> CoilCoolingWaterToAirHeatPumpEquationFit::autosizedRatedAirFlowRate() const { | |
| 937 | ✗ | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->autosizedRatedAirFlowRate(); | |
| 938 | } | ||
| 939 | |||
| 940 | ✗ | boost::optional<double> CoilCoolingWaterToAirHeatPumpEquationFit::autosizedRatedWaterFlowRate() const { | |
| 941 | ✗ | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->autosizedRatedWaterFlowRate(); | |
| 942 | } | ||
| 943 | |||
| 944 | ✗ | boost::optional<double> CoilCoolingWaterToAirHeatPumpEquationFit::autosizedRatedTotalCoolingCapacity() const { | |
| 945 | ✗ | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->autosizedRatedTotalCoolingCapacity(); | |
| 946 | } | ||
| 947 | |||
| 948 | ✗ | boost::optional<double> CoilCoolingWaterToAirHeatPumpEquationFit::autosizedRatedSensibleCoolingCapacity() const { | |
| 949 | ✗ | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->autosizedRatedSensibleCoolingCapacity(); | |
| 950 | } | ||
| 951 | |||
| 952 | 19 | Curve CoilCoolingWaterToAirHeatPumpEquationFit::totalCoolingCapacityCurve() const { | |
| 953 |
1/1✓ Branch 3 taken 19 times.
|
19 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->totalCoolingCapacityCurve(); |
| 954 | } | ||
| 955 | |||
| 956 | 19 | Curve CoilCoolingWaterToAirHeatPumpEquationFit::sensibleCoolingCapacityCurve() const { | |
| 957 |
1/1✓ Branch 3 taken 19 times.
|
19 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->sensibleCoolingCapacityCurve(); |
| 958 | } | ||
| 959 | |||
| 960 | 19 | Curve CoilCoolingWaterToAirHeatPumpEquationFit::coolingPowerConsumptionCurve() const { | |
| 961 |
1/1✓ Branch 3 taken 19 times.
|
19 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->coolingPowerConsumptionCurve(); |
| 962 | } | ||
| 963 | |||
| 964 | 21 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setTotalCoolingCapacityCurve(const Curve& totalCoolingCapacityCurve) { | |
| 965 |
1/1✓ Branch 3 taken 21 times.
|
21 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->setTotalCoolingCapacityCurve(totalCoolingCapacityCurve); |
| 966 | } | ||
| 967 | |||
| 968 | 21 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setSensibleCoolingCapacityCurve(const Curve& sensibleCoolingCapacityCurve) { | |
| 969 |
1/1✓ Branch 3 taken 21 times.
|
21 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->setSensibleCoolingCapacityCurve(sensibleCoolingCapacityCurve); |
| 970 | } | ||
| 971 | |||
| 972 | 21 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setCoolingPowerConsumptionCurve(const Curve& coolingPowerConsumptionCurve) { | |
| 973 |
1/1✓ Branch 3 taken 21 times.
|
21 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->setCoolingPowerConsumptionCurve(coolingPowerConsumptionCurve); |
| 974 | } | ||
| 975 | |||
| 976 | 10 | Curve CoilCoolingWaterToAirHeatPumpEquationFit::partLoadFractionCorrelationCurve() const { | |
| 977 |
1/1✓ Branch 3 taken 10 times.
|
10 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->partLoadFractionCorrelationCurve(); |
| 978 | } | ||
| 979 | |||
| 980 | ✗ | bool CoilCoolingWaterToAirHeatPumpEquationFit::setPartLoadFractionCorrelationCurve(const Curve& partLoadFractionCorrelationCurve) { | |
| 981 | ✗ | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->setPartLoadFractionCorrelationCurve(partLoadFractionCorrelationCurve); | |
| 982 | } | ||
| 983 | |||
| 984 | 12 | double CoilCoolingWaterToAirHeatPumpEquationFit::maximumCyclingRate() const { | |
| 985 |
1/1✓ Branch 3 taken 12 times.
|
12 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->maximumCyclingRate(); |
| 986 | } | ||
| 987 | |||
| 988 | 3 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setMaximumCyclingRate(double maximumCyclingRate) { | |
| 989 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->setMaximumCyclingRate(maximumCyclingRate); |
| 990 | } | ||
| 991 | |||
| 992 | 12 | double CoilCoolingWaterToAirHeatPumpEquationFit::latentCapacityTimeConstant() const { | |
| 993 |
1/1✓ Branch 3 taken 12 times.
|
12 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->latentCapacityTimeConstant(); |
| 994 | } | ||
| 995 | |||
| 996 | 3 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setLatentCapacityTimeConstant(double latentCapacityTimeConstant) { | |
| 997 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->setLatentCapacityTimeConstant(latentCapacityTimeConstant); |
| 998 | } | ||
| 999 | |||
| 1000 | 12 | double CoilCoolingWaterToAirHeatPumpEquationFit::fanDelayTime() const { | |
| 1001 |
1/1✓ Branch 3 taken 12 times.
|
12 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->fanDelayTime(); |
| 1002 | } | ||
| 1003 | |||
| 1004 | 3 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setFanDelayTime(double fanDelayTime) { | |
| 1005 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->setFanDelayTime(fanDelayTime); |
| 1006 | } | ||
| 1007 | |||
| 1008 | /// @cond | ||
| 1009 | 15 | CoilCoolingWaterToAirHeatPumpEquationFit::CoilCoolingWaterToAirHeatPumpEquationFit( | |
| 1010 | 15 | std::shared_ptr<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl> impl) | |
| 1011 |
1/1✓ Branch 3 taken 15 times.
|
15 | : WaterToAirComponent(std::move(impl)) {} |
| 1012 | |||
| 1013 | // DEPRECATED | ||
| 1014 | |||
| 1015 | 1 | double CoilCoolingWaterToAirHeatPumpEquationFit::totalCoolingCapacityCoefficient1() const { | |
| 1016 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, "Use CoilCoolingWaterToAirHeatPumpEquationFit::totalCoolingCapacityCurve().coefficient1Constant() instead."); |
| 1017 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->totalCoolingCapacityCurve(); |
| 1018 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuadLinear> curveQuadLinear = curve.optionalCast<CurveQuadLinear>(); |
| 1019 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuadLinear->coefficient1Constant(); |
| 1020 | 1 | } | |
| 1021 | |||
| 1022 | 1 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setTotalCoolingCapacityCoefficient1(double totalCoolingCapacityCoefficient1) { | |
| 1023 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, |
| 1024 | "Use " | ||
| 1025 | "CoilCoolingWaterToAirHeatPumpEquationFit::totalCoolingCapacityCurve().setCoefficient1Constant(double) instead."); | ||
| 1026 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->totalCoolingCapacityCurve(); |
| 1027 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuadLinear> curveQuadLinear = curve.optionalCast<CurveQuadLinear>(); |
| 1028 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuadLinear->setCoefficient1Constant(totalCoolingCapacityCoefficient1); |
| 1029 | 1 | } | |
| 1030 | |||
| 1031 | 1 | double CoilCoolingWaterToAirHeatPumpEquationFit::totalCoolingCapacityCoefficient2() const { | |
| 1032 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, "Use CoilCoolingWaterToAirHeatPumpEquationFit::totalCoolingCapacityCurve().coefficient2w() instead."); |
| 1033 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->totalCoolingCapacityCurve(); |
| 1034 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuadLinear> curveQuadLinear = curve.optionalCast<CurveQuadLinear>(); |
| 1035 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuadLinear->coefficient2w(); |
| 1036 | 1 | } | |
| 1037 | |||
| 1038 | 1 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setTotalCoolingCapacityCoefficient2(double totalCoolingCapacityCoefficient2) { | |
| 1039 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, "Use CoilCoolingWaterToAirHeatPumpEquationFit::totalCoolingCapacityCurve().setCoefficient2w(double) instead."); |
| 1040 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->totalCoolingCapacityCurve(); |
| 1041 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuadLinear> curveQuadLinear = curve.optionalCast<CurveQuadLinear>(); |
| 1042 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuadLinear->setCoefficient2w(totalCoolingCapacityCoefficient2); |
| 1043 | 1 | } | |
| 1044 | |||
| 1045 | 1 | double CoilCoolingWaterToAirHeatPumpEquationFit::totalCoolingCapacityCoefficient3() const { | |
| 1046 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, "Use CoilCoolingWaterToAirHeatPumpEquationFit::totalCoolingCapacityCurve().coefficient3x() instead."); |
| 1047 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->totalCoolingCapacityCurve(); |
| 1048 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuadLinear> curveQuadLinear = curve.optionalCast<CurveQuadLinear>(); |
| 1049 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuadLinear->coefficient3x(); |
| 1050 | 1 | } | |
| 1051 | |||
| 1052 | 1 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setTotalCoolingCapacityCoefficient3(double totalCoolingCapacityCoefficient3) { | |
| 1053 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, "Use CoilCoolingWaterToAirHeatPumpEquationFit::totalCoolingCapacityCurve().setCoefficient3x(double) instead."); |
| 1054 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->totalCoolingCapacityCurve(); |
| 1055 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuadLinear> curveQuadLinear = curve.optionalCast<CurveQuadLinear>(); |
| 1056 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuadLinear->setCoefficient3x(totalCoolingCapacityCoefficient3); |
| 1057 | 1 | } | |
| 1058 | |||
| 1059 | 1 | double CoilCoolingWaterToAirHeatPumpEquationFit::totalCoolingCapacityCoefficient4() const { | |
| 1060 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, "Use CoilCoolingWaterToAirHeatPumpEquationFit::totalCoolingCapacityCurve().coefficient4y() instead."); |
| 1061 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->totalCoolingCapacityCurve(); |
| 1062 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuadLinear> curveQuadLinear = curve.optionalCast<CurveQuadLinear>(); |
| 1063 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuadLinear->coefficient4y(); |
| 1064 | 1 | } | |
| 1065 | |||
| 1066 | 1 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setTotalCoolingCapacityCoefficient4(double totalCoolingCapacityCoefficient4) { | |
| 1067 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, "Use CoilCoolingWaterToAirHeatPumpEquationFit::totalCoolingCapacityCurve().setCoefficient4y(double) instead."); |
| 1068 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->totalCoolingCapacityCurve(); |
| 1069 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuadLinear> curveQuadLinear = curve.optionalCast<CurveQuadLinear>(); |
| 1070 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuadLinear->setCoefficient4y(totalCoolingCapacityCoefficient4); |
| 1071 | 1 | } | |
| 1072 | |||
| 1073 | 1 | double CoilCoolingWaterToAirHeatPumpEquationFit::totalCoolingCapacityCoefficient5() const { | |
| 1074 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, "Use CoilCoolingWaterToAirHeatPumpEquationFit::totalCoolingCapacityCurve().coefficient5z() instead."); |
| 1075 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->totalCoolingCapacityCurve(); |
| 1076 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuadLinear> curveQuadLinear = curve.optionalCast<CurveQuadLinear>(); |
| 1077 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuadLinear->coefficient5z(); |
| 1078 | 1 | } | |
| 1079 | |||
| 1080 | 1 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setTotalCoolingCapacityCoefficient5(double totalCoolingCapacityCoefficient5) { | |
| 1081 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, "Use CoilCoolingWaterToAirHeatPumpEquationFit::totalCoolingCapacityCurve().setCoefficient5z(double) instead."); |
| 1082 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->totalCoolingCapacityCurve(); |
| 1083 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuadLinear> curveQuadLinear = curve.optionalCast<CurveQuadLinear>(); |
| 1084 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuadLinear->setCoefficient5z(totalCoolingCapacityCoefficient5); |
| 1085 | 1 | } | |
| 1086 | |||
| 1087 | 1 | double CoilCoolingWaterToAirHeatPumpEquationFit::sensibleCoolingCapacityCoefficient1() const { | |
| 1088 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, "Use CoilCoolingWaterToAirHeatPumpEquationFit::sensibleCoolingCapacityCurve().coefficient1Constant() instead."); |
| 1089 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->sensibleCoolingCapacityCurve(); |
| 1090 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuintLinear> curveQuintLinear = curve.optionalCast<CurveQuintLinear>(); |
| 1091 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuintLinear->coefficient1Constant(); |
| 1092 | 1 | } | |
| 1093 | |||
| 1094 | 1 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setSensibleCoolingCapacityCoefficient1(double sensibleCoolingCapacityCoefficient1) { | |
| 1095 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, |
| 1096 | "Use " | ||
| 1097 | "CoilCoolingWaterToAirHeatPumpEquationFit::sensibleCoolingCapacityCurve().setCoefficient1Constant(double) instead."); | ||
| 1098 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->sensibleCoolingCapacityCurve(); |
| 1099 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuintLinear> curveQuintLinear = curve.optionalCast<CurveQuintLinear>(); |
| 1100 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuintLinear->setCoefficient1Constant(sensibleCoolingCapacityCoefficient1); |
| 1101 | 1 | } | |
| 1102 | |||
| 1103 | 1 | double CoilCoolingWaterToAirHeatPumpEquationFit::sensibleCoolingCapacityCoefficient2() const { | |
| 1104 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, "Use CoilCoolingWaterToAirHeatPumpEquationFit::sensibleCoolingCapacityCurve().coefficient2v() instead."); |
| 1105 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->sensibleCoolingCapacityCurve(); |
| 1106 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuintLinear> curveQuintLinear = curve.optionalCast<CurveQuintLinear>(); |
| 1107 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuintLinear->coefficient2v(); |
| 1108 | 1 | } | |
| 1109 | |||
| 1110 | 1 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setSensibleCoolingCapacityCoefficient2(double sensibleCoolingCapacityCoefficient2) { | |
| 1111 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, "Use CoilCoolingWaterToAirHeatPumpEquationFit::sensibleCoolingCapacityCurve().setCoefficient2v(double) instead."); |
| 1112 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->sensibleCoolingCapacityCurve(); |
| 1113 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuintLinear> curveQuintLinear = curve.optionalCast<CurveQuintLinear>(); |
| 1114 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuintLinear->setCoefficient2v(sensibleCoolingCapacityCoefficient2); |
| 1115 | 1 | } | |
| 1116 | |||
| 1117 | 1 | double CoilCoolingWaterToAirHeatPumpEquationFit::sensibleCoolingCapacityCoefficient3() const { | |
| 1118 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, "Use CoilCoolingWaterToAirHeatPumpEquationFit::sensibleCoolingCapacityCurve().coefficient3w() instead."); |
| 1119 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->sensibleCoolingCapacityCurve(); |
| 1120 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuintLinear> curveQuintLinear = curve.optionalCast<CurveQuintLinear>(); |
| 1121 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuintLinear->coefficient3w(); |
| 1122 | 1 | } | |
| 1123 | |||
| 1124 | 1 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setSensibleCoolingCapacityCoefficient3(double sensibleCoolingCapacityCoefficient3) { | |
| 1125 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, "Use CoilCoolingWaterToAirHeatPumpEquationFit::sensibleCoolingCapacityCurve().setCoefficient3w(double) instead."); |
| 1126 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->sensibleCoolingCapacityCurve(); |
| 1127 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuintLinear> curveQuintLinear = curve.optionalCast<CurveQuintLinear>(); |
| 1128 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuintLinear->setCoefficient3w(sensibleCoolingCapacityCoefficient3); |
| 1129 | 1 | } | |
| 1130 | |||
| 1131 | 1 | double CoilCoolingWaterToAirHeatPumpEquationFit::sensibleCoolingCapacityCoefficient4() const { | |
| 1132 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, "Use CoilCoolingWaterToAirHeatPumpEquationFit::sensibleCoolingCapacityCurve().coefficient4x() instead."); |
| 1133 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->sensibleCoolingCapacityCurve(); |
| 1134 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuintLinear> curveQuintLinear = curve.optionalCast<CurveQuintLinear>(); |
| 1135 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuintLinear->coefficient4x(); |
| 1136 | 1 | } | |
| 1137 | |||
| 1138 | 1 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setSensibleCoolingCapacityCoefficient4(double sensibleCoolingCapacityCoefficient4) { | |
| 1139 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, "Use CoilCoolingWaterToAirHeatPumpEquationFit::sensibleCoolingCapacityCurve().setCoefficient4x(double) instead."); |
| 1140 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->sensibleCoolingCapacityCurve(); |
| 1141 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuintLinear> curveQuintLinear = curve.optionalCast<CurveQuintLinear>(); |
| 1142 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuintLinear->setCoefficient4x(sensibleCoolingCapacityCoefficient4); |
| 1143 | 1 | } | |
| 1144 | |||
| 1145 | 1 | double CoilCoolingWaterToAirHeatPumpEquationFit::sensibleCoolingCapacityCoefficient5() const { | |
| 1146 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, "Use CoilCoolingWaterToAirHeatPumpEquationFit::sensibleCoolingCapacityCurve().coefficient5y() instead."); |
| 1147 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->sensibleCoolingCapacityCurve(); |
| 1148 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuintLinear> curveQuintLinear = curve.optionalCast<CurveQuintLinear>(); |
| 1149 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuintLinear->coefficient5y(); |
| 1150 | 1 | } | |
| 1151 | |||
| 1152 | 1 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setSensibleCoolingCapacityCoefficient5(double sensibleCoolingCapacityCoefficient5) { | |
| 1153 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, "Use CoilCoolingWaterToAirHeatPumpEquationFit::sensibleCoolingCapacityCurve().setCoefficient5y(double) instead."); |
| 1154 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->sensibleCoolingCapacityCurve(); |
| 1155 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuintLinear> curveQuintLinear = curve.optionalCast<CurveQuintLinear>(); |
| 1156 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuintLinear->setCoefficient5y(sensibleCoolingCapacityCoefficient5); |
| 1157 | 1 | } | |
| 1158 | |||
| 1159 | 1 | double CoilCoolingWaterToAirHeatPumpEquationFit::sensibleCoolingCapacityCoefficient6() const { | |
| 1160 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, "Use CoilCoolingWaterToAirHeatPumpEquationFit::sensibleCoolingCapacityCurve().coefficient6z() instead."); |
| 1161 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->sensibleCoolingCapacityCurve(); |
| 1162 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuintLinear> curveQuintLinear = curve.optionalCast<CurveQuintLinear>(); |
| 1163 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuintLinear->coefficient6z(); |
| 1164 | 1 | } | |
| 1165 | |||
| 1166 | 1 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setSensibleCoolingCapacityCoefficient6(double sensibleCoolingCapacityCoefficient6) { | |
| 1167 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, "Use CoilCoolingWaterToAirHeatPumpEquationFit::sensibleCoolingCapacityCurve().setCoefficient6z(double) instead."); |
| 1168 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->sensibleCoolingCapacityCurve(); |
| 1169 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuintLinear> curveQuintLinear = curve.optionalCast<CurveQuintLinear>(); |
| 1170 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuintLinear->setCoefficient6z(sensibleCoolingCapacityCoefficient6); |
| 1171 | 1 | } | |
| 1172 | |||
| 1173 | 1 | double CoilCoolingWaterToAirHeatPumpEquationFit::coolingPowerConsumptionCoefficient1() const { | |
| 1174 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, "Use CoilCoolingWaterToAirHeatPumpEquationFit::coolingPowerConsumptionCurve().coefficient1Constant() instead."); |
| 1175 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->coolingPowerConsumptionCurve(); |
| 1176 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuadLinear> curveQuadLinear = curve.optionalCast<CurveQuadLinear>(); |
| 1177 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuadLinear->coefficient1Constant(); |
| 1178 | 1 | } | |
| 1179 | |||
| 1180 | 1 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setCoolingPowerConsumptionCoefficient1(double coolingPowerConsumptionCoefficient1) { | |
| 1181 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, |
| 1182 | "Use CoilCoolingWaterToAirHeatPumpEquationFit::coolingPowerConsumptionCurve().setCoefficient1Constant(double) instead."); | ||
| 1183 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->coolingPowerConsumptionCurve(); |
| 1184 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuadLinear> curveQuadLinear = curve.optionalCast<CurveQuadLinear>(); |
| 1185 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuadLinear->setCoefficient1Constant(coolingPowerConsumptionCoefficient1); |
| 1186 | 1 | } | |
| 1187 | |||
| 1188 | 1 | double CoilCoolingWaterToAirHeatPumpEquationFit::coolingPowerConsumptionCoefficient2() const { | |
| 1189 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, "Use CoilCoolingWaterToAirHeatPumpEquationFit::coolingPowerConsumptionCurve().coefficient2w() instead."); |
| 1190 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->coolingPowerConsumptionCurve(); |
| 1191 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuadLinear> curveQuadLinear = curve.optionalCast<CurveQuadLinear>(); |
| 1192 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuadLinear->coefficient2w(); |
| 1193 | 1 | } | |
| 1194 | |||
| 1195 | 1 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setCoolingPowerConsumptionCoefficient2(double coolingPowerConsumptionCoefficient2) { | |
| 1196 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, "Use CoilCoolingWaterToAirHeatPumpEquationFit::coolingPowerConsumptionCurve().setCoefficient2w(double) instead."); |
| 1197 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->coolingPowerConsumptionCurve(); |
| 1198 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuadLinear> curveQuadLinear = curve.optionalCast<CurveQuadLinear>(); |
| 1199 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuadLinear->setCoefficient2w(coolingPowerConsumptionCoefficient2); |
| 1200 | 1 | } | |
| 1201 | |||
| 1202 | 1 | double CoilCoolingWaterToAirHeatPumpEquationFit::coolingPowerConsumptionCoefficient3() const { | |
| 1203 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, "Use CoilCoolingWaterToAirHeatPumpEquationFit::coolingPowerConsumptionCurve().coefficient3x() instead."); |
| 1204 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->coolingPowerConsumptionCurve(); |
| 1205 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuadLinear> curveQuadLinear = curve.optionalCast<CurveQuadLinear>(); |
| 1206 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuadLinear->coefficient3x(); |
| 1207 | 1 | } | |
| 1208 | |||
| 1209 | 1 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setCoolingPowerConsumptionCoefficient3(double coolingPowerConsumptionCoefficient3) { | |
| 1210 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, "Use CoilCoolingWaterToAirHeatPumpEquationFit::coolingPowerConsumptionCurve().setCoefficient3x(double) instead."); |
| 1211 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->coolingPowerConsumptionCurve(); |
| 1212 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuadLinear> curveQuadLinear = curve.optionalCast<CurveQuadLinear>(); |
| 1213 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuadLinear->setCoefficient3x(coolingPowerConsumptionCoefficient3); |
| 1214 | 1 | } | |
| 1215 | |||
| 1216 | 1 | double CoilCoolingWaterToAirHeatPumpEquationFit::coolingPowerConsumptionCoefficient4() const { | |
| 1217 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, "Use CoilCoolingWaterToAirHeatPumpEquationFit::coolingPowerConsumptionCurve().coefficient4y() instead."); |
| 1218 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->coolingPowerConsumptionCurve(); |
| 1219 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuadLinear> curveQuadLinear = curve.optionalCast<CurveQuadLinear>(); |
| 1220 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuadLinear->coefficient4y(); |
| 1221 | 1 | } | |
| 1222 | |||
| 1223 | 1 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setCoolingPowerConsumptionCoefficient4(double coolingPowerConsumptionCoefficient4) { | |
| 1224 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, "Use CoilCoolingWaterToAirHeatPumpEquationFit::coolingPowerConsumptionCurve().setCoefficient4y(double) instead."); |
| 1225 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->coolingPowerConsumptionCurve(); |
| 1226 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuadLinear> curveQuadLinear = curve.optionalCast<CurveQuadLinear>(); |
| 1227 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuadLinear->setCoefficient4y(coolingPowerConsumptionCoefficient4); |
| 1228 | 1 | } | |
| 1229 | |||
| 1230 | 1 | double CoilCoolingWaterToAirHeatPumpEquationFit::coolingPowerConsumptionCoefficient5() const { | |
| 1231 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, "Use CoilCoolingWaterToAirHeatPumpEquationFit::coolingPowerConsumptionCurve().coefficient5z() instead."); |
| 1232 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->coolingPowerConsumptionCurve(); |
| 1233 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuadLinear> curveQuadLinear = curve.optionalCast<CurveQuadLinear>(); |
| 1234 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuadLinear->coefficient5z(); |
| 1235 | 1 | } | |
| 1236 | |||
| 1237 | 1 | bool CoilCoolingWaterToAirHeatPumpEquationFit::setCoolingPowerConsumptionCoefficient5(double coolingPowerConsumptionCoefficient5) { | |
| 1238 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 2, 0, "Use CoilCoolingWaterToAirHeatPumpEquationFit::coolingPowerConsumptionCurve().setCoefficient5z(double) instead."); |
| 1239 |
1/1✓ Branch 3 taken 1 time.
|
1 | Curve curve = getImpl<detail::CoilCoolingWaterToAirHeatPumpEquationFit_Impl>()->coolingPowerConsumptionCurve(); |
| 1240 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<CurveQuadLinear> curveQuadLinear = curve.optionalCast<CurveQuadLinear>(); |
| 1241 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return curveQuadLinear->setCoefficient5z(coolingPowerConsumptionCoefficient5); |
| 1242 | 1 | } | |
| 1243 | |||
| 1244 | /// @endcond | ||
| 1245 | |||
| 1246 | } // namespace model | ||
| 1247 | } // namespace openstudio | ||
| 1248 |