GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 55.6% 110 / 0 / 198
Functions: 56.4% 31 / 0 / 55
Branches: 42.2% 87 / 0 / 206

src/model/CoilHeatingDesuperheater.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 "CoilHeatingDesuperheater.hpp"
7 #include "CoilHeatingDesuperheater_Impl.hpp"
8
9 #include "Model.hpp"
10 #include "Model_Impl.hpp"
11 #include "ModelObject.hpp"
12 #include "ModelObject_Impl.hpp"
13 #include "Schedule.hpp"
14 #include "Schedule_Impl.hpp"
15 #include "Node.hpp"
16 #include "Node_Impl.hpp"
17 #include "AirLoopHVACOutdoorAirSystem.hpp"
18 #include "AirLoopHVACOutdoorAirSystem_Impl.hpp"
19 #include "AirLoopHVACUnitarySystem.hpp"
20 #include "AirLoopHVACUnitarySystem_Impl.hpp"
21 #include "ScheduleTypeLimits.hpp"
22 #include "ScheduleTypeRegistry.hpp"
23 #include "AirflowNetworkEquivalentDuct.hpp"
24 #include "AirflowNetworkEquivalentDuct_Impl.hpp"
25
26 #include <utilities/idd/OS_Coil_Heating_Desuperheater_FieldEnums.hxx>
27 #include <utilities/idd/IddEnums.hxx>
28
29 #include "../utilities/core/Assert.hpp"
30 #include "../utilities/data/DataEnums.hpp"
31
32 #include "../utilities/core/DeprecatedHelpers.hpp" // For deprecation
33
34 namespace openstudio {
35 namespace model {
36
37 namespace detail {
38
39 31 CoilHeatingDesuperheater_Impl::CoilHeatingDesuperheater_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle)
40 31 : StraightComponent_Impl(idfObject, model, keepHandle) {
41
4/6
✓ Branch 1 taken 31 times.
✓ Branch 4 taken 31 times.
✓ Branch 7 taken 31 times.
✗ Branch 10 not taken.
✓ Branch 11 taken 31 times.
✗ Branch 13 not taken.
31 OS_ASSERT(idfObject.iddObject().type() == CoilHeatingDesuperheater::iddObjectType());
42 31 }
43
44 1 CoilHeatingDesuperheater_Impl::CoilHeatingDesuperheater_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model,
45 1 bool keepHandle)
46 1 : StraightComponent_Impl(other, model, keepHandle) {
47
4/6
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✗ Branch 10 not taken.
✓ Branch 11 taken 1 time.
✗ Branch 13 not taken.
1 OS_ASSERT(other.iddObject().type() == CoilHeatingDesuperheater::iddObjectType());
48 1 }
49
50 26 CoilHeatingDesuperheater_Impl::CoilHeatingDesuperheater_Impl(const CoilHeatingDesuperheater_Impl& other, Model_Impl* model, bool keepHandle)
51 26 : StraightComponent_Impl(other, model, keepHandle) {}
52
53 ✗ const std::vector<std::string>& CoilHeatingDesuperheater_Impl::outputVariableNames() const {
54 static const std::vector<std::string> result{"Heating Coil Rate",
55 "Heating Coil Energy",
56 "Heating Coil Electricity Rate",
57 "Heating Coil Electric Consumption",
58 "Heating Coil Runtime Fraction",
59 "Heating Coil Air Heating Rate",
60 "Heating Coil Air Heating Energy",
61 "Heating Coil Electricity Rate",
62 "Heating Coil Electricity Energy",
63 ✗ "Heating Coil Runtime Fraction"};
64 ✗ return result;
65 ✗ }
66
67 7 IddObjectType CoilHeatingDesuperheater_Impl::iddObjectType() const {
68 7 return CoilHeatingDesuperheater::iddObjectType();
69 }
70
71 17 std::vector<ModelObject> CoilHeatingDesuperheater_Impl::children() const {
72 17 std::vector<ModelObject> result;
73 std::vector<AirflowNetworkEquivalentDuct> myAFNItems =
74
3/3
✓ Branch 1 taken 17 times.
✓ Branch 4 taken 17 times.
✓ Branch 7 taken 17 times.
17 getObject<ModelObject>().getModelObjectSources<AirflowNetworkEquivalentDuct>(AirflowNetworkEquivalentDuct::iddObjectType());
75
1/1
✓ Branch 5 taken 17 times.
17 result.insert(result.end(), myAFNItems.begin(), myAFNItems.end());
76 34 return result;
77 17 }
78
79 ✗ std::vector<ScheduleTypeKey> CoilHeatingDesuperheater_Impl::getScheduleTypeKeys(const Schedule& schedule) const {
80 ✗ std::vector<ScheduleTypeKey> result;
81 ✗ UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
82 ✗ UnsignedVector::const_iterator b(fieldIndices.begin());
83 ✗ UnsignedVector::const_iterator e(fieldIndices.end());
84 ✗ if (std::find(b, e, OS_Coil_Heating_DesuperheaterFields::AvailabilityScheduleName) != e) {
85 ✗ result.push_back(ScheduleTypeKey("CoilHeatingDesuperheater", "Availability"));
86 }
87 ✗ return result;
88 ✗ }
89
90 5 ModelObject CoilHeatingDesuperheater_Impl::clone(Model model) const {
91
3/3
✓ Branch 1 taken 5 times.
✓ Branch 4 taken 5 times.
✓ Branch 7 taken 5 times.
5 auto modelObjectClone = StraightComponent_Impl::clone(model).cast<CoilHeatingDesuperheater>();
92
93
1/1
✓ Branch 1 taken 5 times.
5 modelObjectClone.resetHeatingSource();
94
95 10 return std::move(modelObjectClone);
96 5 }
97
98 11 bool CoilHeatingDesuperheater_Impl::addToNode(Node& node) {
99
3/3
✓ Branch 1 taken 11 times.
✓ Branch 3 taken 7 times.
✓ Branch 4 taken 4 times.
22 if (boost::optional<AirLoopHVAC> airLoop = node.airLoopHVAC()) {
100
5/5
✓ Branch 1 taken 7 times.
✓ Branch 4 taken 7 times.
✓ Branch 7 taken 7 times.
✓ Branch 10 taken 2 times.
✓ Branch 11 taken 5 times.
14 if (airLoop->supplyComponent(node.handle())) {
101
1/1
✓ Branch 1 taken 2 times.
2 return StraightComponent_Impl::addToNode(node);
102 }
103 11 }
104
105
3/3
✓ Branch 1 taken 9 times.
✓ Branch 3 taken 2 times.
✓ Branch 4 taken 7 times.
18 if (auto oa = node.airLoopHVACOutdoorAirSystem()) {
106
1/1
✓ Branch 1 taken 2 times.
2 return StraightComponent_Impl::addToNode(node);
107 9 }
108
109 7 return false;
110 }
111
112 20 boost::optional<Schedule> CoilHeatingDesuperheater_Impl::availabilitySchedule() const {
113
2/2
✓ Branch 1 taken 20 times.
✓ Branch 4 taken 20 times.
20 return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_Coil_Heating_DesuperheaterFields::AvailabilityScheduleName);
114 }
115
116 20 double CoilHeatingDesuperheater_Impl::heatReclaimRecoveryEfficiency() const {
117
1/1
✓ Branch 1 taken 20 times.
20 boost::optional<double> value = getDouble(OS_Coil_Heating_DesuperheaterFields::HeatReclaimRecoveryEfficiency, true);
118
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 20 times.
✗ Branch 4 not taken.
20 OS_ASSERT(value);
119
1/1
✓ Branch 1 taken 20 times.
40 return value.get();
120 }
121
122 ✗ bool CoilHeatingDesuperheater_Impl::isHeatReclaimRecoveryEfficiencyDefaulted() const {
123 ✗ return isEmpty(OS_Coil_Heating_DesuperheaterFields::HeatReclaimRecoveryEfficiency);
124 }
125
126 34 unsigned CoilHeatingDesuperheater_Impl::inletPort() const {
127 34 return OS_Coil_Heating_DesuperheaterFields::AirInletNodeName;
128 }
129
130 55 unsigned CoilHeatingDesuperheater_Impl::outletPort() const {
131 55 return OS_Coil_Heating_DesuperheaterFields::AirOutletNodeName;
132 }
133
134 18 boost::optional<ModelObject> CoilHeatingDesuperheater_Impl::heatingSource() const {
135
2/2
✓ Branch 1 taken 18 times.
✓ Branch 4 taken 18 times.
18 return getObject<ModelObject>().getModelObjectTarget<ModelObject>(OS_Coil_Heating_DesuperheaterFields::HeatingSourceName);
136 }
137
138 20 double CoilHeatingDesuperheater_Impl::onCycleParasiticElectricLoad() const {
139
1/1
✓ Branch 1 taken 20 times.
20 boost::optional<double> value = getDouble(OS_Coil_Heating_DesuperheaterFields::OnCycleParasiticElectricLoad, true);
140
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 20 times.
✗ Branch 4 not taken.
20 OS_ASSERT(value);
141
1/1
✓ Branch 1 taken 20 times.
40 return value.get();
142 }
143
144 ✗ bool CoilHeatingDesuperheater_Impl::isOnCycleParasiticElectricLoadDefaulted() const {
145 ✗ return isEmpty(OS_Coil_Heating_DesuperheaterFields::OnCycleParasiticElectricLoad);
146 }
147
148 2 bool CoilHeatingDesuperheater_Impl::setAvailabilitySchedule(Schedule& schedule) {
149
3/3
✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
8 bool result = setSchedule(OS_Coil_Heating_DesuperheaterFields::AvailabilityScheduleName, "CoilHeatingDesuperheater", "Availability", schedule);
150 2 return result;
151 }
152
153 ✗ void CoilHeatingDesuperheater_Impl::resetAvailabilitySchedule() {
154 ✗ bool result = setString(OS_Coil_Heating_DesuperheaterFields::AvailabilityScheduleName, "");
155 ✗ OS_ASSERT(result);
156 ✗ }
157
158 33 bool CoilHeatingDesuperheater_Impl::setHeatReclaimRecoveryEfficiency(double heatReclaimRecoveryEfficiency) {
159 33 bool result = setDouble(OS_Coil_Heating_DesuperheaterFields::HeatReclaimRecoveryEfficiency, heatReclaimRecoveryEfficiency);
160 33 return result;
161 }
162
163 ✗ void CoilHeatingDesuperheater_Impl::resetHeatReclaimRecoveryEfficiency() {
164 ✗ bool result = setString(OS_Coil_Heating_DesuperheaterFields::HeatReclaimRecoveryEfficiency, "");
165 ✗ OS_ASSERT(result);
166 ✗ }
167
168 3 bool CoilHeatingDesuperheater_Impl::setHeatingSource(const boost::optional<ModelObject>& modelObject) {
169 3 bool result(false);
170
1/2
✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
3 if (modelObject) {
171
3/3
✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
✓ Branch 7 taken 3 times.
3 result = setPointer(OS_Coil_Heating_DesuperheaterFields::HeatingSourceName, modelObject.get().handle());
172 } else {
173 ✗ resetHeatingSource();
174 ✗ result = true;
175 }
176 3 return result;
177 }
178
179 5 void CoilHeatingDesuperheater_Impl::resetHeatingSource() {
180
2/2
✓ Branch 1 taken 5 times.
✓ Branch 4 taken 5 times.
10 bool result = setString(OS_Coil_Heating_DesuperheaterFields::HeatingSourceName, "");
181
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 5 times.
5 OS_ASSERT(result);
182 5 }
183
184 33 bool CoilHeatingDesuperheater_Impl::setOnCycleParasiticElectricLoad(double onCycleParasiticElectricLoad) {
185 33 bool result = setDouble(OS_Coil_Heating_DesuperheaterFields::OnCycleParasiticElectricLoad, onCycleParasiticElectricLoad);
186 33 return result;
187 }
188
189 ✗ void CoilHeatingDesuperheater_Impl::resetOnCycleParasiticElectricLoad() {
190 ✗ bool result = setString(OS_Coil_Heating_DesuperheaterFields::OnCycleParasiticElectricLoad, "");
191 ✗ OS_ASSERT(result);
192 ✗ }
193
194 3 boost::optional<HVACComponent> CoilHeatingDesuperheater_Impl::containingHVACComponent() const {
195 // AirLoopHVACUnitarySystem
196
2/2
✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
3 std::vector<AirLoopHVACUnitarySystem> airLoopHVACUnitarySystems = this->model().getConcreteModelObjects<AirLoopHVACUnitarySystem>();
197
198
2/2
✓ Branch 5 taken 2 times.
✓ Branch 6 taken 1 time.
3 for (const auto& airLoopHVACUnitarySystem : airLoopHVACUnitarySystems) {
199
2/3
✓ Branch 1 taken 2 times.
✓ Branch 3 taken 2 times.
✗ Branch 4 not taken.
4 if (boost::optional<HVACComponent> heatingCoil = airLoopHVACUnitarySystem.heatingCoil()) {
200
6/6
✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
✓ Branch 10 taken 2 times.
✓ Branch 12 taken 1 time.
✓ Branch 13 taken 1 time.
2 if (heatingCoil->handle() == this->handle()) {
201
1/1
✓ Branch 1 taken 1 time.
1 return airLoopHVACUnitarySystem;
202 }
203 2 }
204
2/3
✓ Branch 1 taken 1 time.
✓ Branch 3 taken 1 time.
✗ Branch 4 not taken.
2 if (boost::optional<HVACComponent> suppHeatingCoil = airLoopHVACUnitarySystem.supplementalHeatingCoil()) {
205
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 (suppHeatingCoil->handle() == this->handle()) {
206
1/1
✓ Branch 1 taken 1 time.
1 return airLoopHVACUnitarySystem;
207 }
208 1 }
209 }
210 1 return boost::none;
211 3 }
212
213 ✗ AirflowNetworkEquivalentDuct CoilHeatingDesuperheater_Impl::getAirflowNetworkEquivalentDuct(double length, double diameter) {
214 ✗ boost::optional<AirflowNetworkEquivalentDuct> opt = airflowNetworkEquivalentDuct();
215 ✗ if (opt) {
216 ✗ if (opt->airPathLength() != length) {
217 ✗ opt->setAirPathLength(length);
218 }
219 ✗ if (opt->airPathHydraulicDiameter() != diameter) {
220 ✗ opt->setAirPathHydraulicDiameter(diameter);
221 }
222 }
223 ✗ return AirflowNetworkEquivalentDuct(model(), length, diameter, handle());
224 ✗ }
225
226 ✗ boost::optional<AirflowNetworkEquivalentDuct> CoilHeatingDesuperheater_Impl::airflowNetworkEquivalentDuct() const {
227 std::vector<AirflowNetworkEquivalentDuct> myAFN =
228 ✗ getObject<ModelObject>().getModelObjectSources<AirflowNetworkEquivalentDuct>(AirflowNetworkEquivalentDuct::iddObjectType());
229 ✗ auto count = myAFN.size();
230 ✗ if (count == 1) {
231 ✗ return myAFN[0];
232 ✗ } else if (count > 1) {
233 ✗ LOG(Warn, briefDescription() << " has more than one AirflowNetwork EquivalentDuct attached, returning first.");
234 ✗ return myAFN[0];
235 }
236 ✗ return boost::none;
237 ✗ }
238
239 ✗ ComponentType CoilHeatingDesuperheater_Impl::componentType() const {
240 ✗ return ComponentType::Heating;
241 }
242
243 ✗ std::vector<FuelType> CoilHeatingDesuperheater_Impl::coolingFuelTypes() const {
244 ✗ return {};
245 }
246
247 ✗ std::vector<FuelType> CoilHeatingDesuperheater_Impl::heatingFuelTypes() const {
248 ✗ return {FuelType::Electricity};
249 }
250
251 ✗ std::vector<AppGFuelType> CoilHeatingDesuperheater_Impl::appGHeatingFuelTypes() const {
252 ✗ return {AppGFuelType::Electric};
253 }
254
255 } // namespace detail
256
257 30 CoilHeatingDesuperheater::CoilHeatingDesuperheater(const Model& model) : StraightComponent(CoilHeatingDesuperheater::iddObjectType(), model) {
258
1/3
✗ Branch 2 not taken.
✓ Branch 3 taken 30 times.
✗ Branch 5 not taken.
30 OS_ASSERT(getImpl<detail::CoilHeatingDesuperheater_Impl>());
259
260
1/1
✓ Branch 1 taken 30 times.
30 bool ok = setHeatReclaimRecoveryEfficiency(0.8);
261
1/3
✗ Branch 0 not taken.
✓ Branch 1 taken 30 times.
✗ Branch 3 not taken.
30 OS_ASSERT(ok);
262
1/1
✓ Branch 1 taken 30 times.
30 ok = setOnCycleParasiticElectricLoad(0.0);
263
1/3
✗ Branch 0 not taken.
✓ Branch 1 taken 30 times.
✗ Branch 3 not taken.
30 OS_ASSERT(ok);
264 30 }
265
266 7669 IddObjectType CoilHeatingDesuperheater::iddObjectType() {
267
1/1
✓ Branch 1 taken 7669 times.
7669 return {IddObjectType::OS_Coil_Heating_Desuperheater};
268 }
269
270 20 boost::optional<Schedule> CoilHeatingDesuperheater::availabilitySchedule() const {
271
1/1
✓ Branch 3 taken 20 times.
20 return getImpl<detail::CoilHeatingDesuperheater_Impl>()->availabilitySchedule();
272 }
273
274 20 double CoilHeatingDesuperheater::heatReclaimRecoveryEfficiency() const {
275
1/1
✓ Branch 3 taken 20 times.
20 return getImpl<detail::CoilHeatingDesuperheater_Impl>()->heatReclaimRecoveryEfficiency();
276 }
277
278 ✗ bool CoilHeatingDesuperheater::isHeatReclaimRecoveryEfficiencyDefaulted() const {
279 ✗ return getImpl<detail::CoilHeatingDesuperheater_Impl>()->isHeatReclaimRecoveryEfficiencyDefaulted();
280 }
281
282 18 boost::optional<ModelObject> CoilHeatingDesuperheater::heatingSource() const {
283
1/1
✓ Branch 3 taken 18 times.
18 return getImpl<detail::CoilHeatingDesuperheater_Impl>()->heatingSource();
284 }
285
286 // DEPRECATED
287 ✗ double CoilHeatingDesuperheater::parasiticElectricLoad() const {
288 ✗ DEPRECATED_AT_MSG(3, 7, 0, "Use onCycleParasiticElectricLoad instead.");
289 ✗ return getImpl<detail::CoilHeatingDesuperheater_Impl>()->onCycleParasiticElectricLoad();
290 }
291
292 20 double CoilHeatingDesuperheater::onCycleParasiticElectricLoad() const {
293
1/1
✓ Branch 3 taken 20 times.
20 return getImpl<detail::CoilHeatingDesuperheater_Impl>()->onCycleParasiticElectricLoad();
294 }
295
296 // DEPRECATED
297 ✗ bool CoilHeatingDesuperheater::isParasiticElectricLoadDefaulted() const {
298 ✗ DEPRECATED_AT_MSG(3, 7, 0, "Use isOnCycleParasiticElectricLoadDefaulted instead.");
299 ✗ return getImpl<detail::CoilHeatingDesuperheater_Impl>()->isOnCycleParasiticElectricLoadDefaulted();
300 }
301
302 ✗ bool CoilHeatingDesuperheater::isOnCycleParasiticElectricLoadDefaulted() const {
303 ✗ return getImpl<detail::CoilHeatingDesuperheater_Impl>()->isOnCycleParasiticElectricLoadDefaulted();
304 }
305
306 2 bool CoilHeatingDesuperheater::setAvailabilitySchedule(Schedule& schedule) {
307
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::CoilHeatingDesuperheater_Impl>()->setAvailabilitySchedule(schedule);
308 }
309
310 ✗ void CoilHeatingDesuperheater::resetAvailabilitySchedule() {
311 ✗ getImpl<detail::CoilHeatingDesuperheater_Impl>()->resetAvailabilitySchedule();
312 ✗ }
313
314 33 bool CoilHeatingDesuperheater::setHeatReclaimRecoveryEfficiency(double heatReclaimRecoveryEfficiency) {
315
1/1
✓ Branch 3 taken 33 times.
33 return getImpl<detail::CoilHeatingDesuperheater_Impl>()->setHeatReclaimRecoveryEfficiency(heatReclaimRecoveryEfficiency);
316 }
317
318 ✗ void CoilHeatingDesuperheater::resetHeatReclaimRecoveryEfficiency() {
319 ✗ getImpl<detail::CoilHeatingDesuperheater_Impl>()->resetHeatReclaimRecoveryEfficiency();
320 ✗ }
321
322 3 bool CoilHeatingDesuperheater::setHeatingSource(const ModelObject& modelObject) {
323
2/2
✓ Branch 3 taken 3 times.
✓ Branch 6 taken 3 times.
3 return getImpl<detail::CoilHeatingDesuperheater_Impl>()->setHeatingSource(modelObject);
324 }
325
326 5 void CoilHeatingDesuperheater::resetHeatingSource() {
327
1/1
✓ Branch 3 taken 5 times.
5 getImpl<detail::CoilHeatingDesuperheater_Impl>()->resetHeatingSource();
328 5 }
329
330 // DEPRECATED
331 ✗ bool CoilHeatingDesuperheater::setParasiticElectricLoad(double parasiticElectricLoad) {
332 ✗ DEPRECATED_AT_MSG(3, 7, 0, "Use setOnCycleParasiticElectricLoad instead.");
333 ✗ return getImpl<detail::CoilHeatingDesuperheater_Impl>()->setOnCycleParasiticElectricLoad(parasiticElectricLoad);
334 }
335
336 33 bool CoilHeatingDesuperheater::setOnCycleParasiticElectricLoad(double onCycleParasiticElectricLoad) {
337
1/1
✓ Branch 3 taken 33 times.
33 return getImpl<detail::CoilHeatingDesuperheater_Impl>()->setOnCycleParasiticElectricLoad(onCycleParasiticElectricLoad);
338 }
339
340 // DEPRECATED
341 ✗ void CoilHeatingDesuperheater::resetParasiticElectricLoad() {
342 ✗ DEPRECATED_AT_MSG(3, 7, 0, "Use resetOnCycleParasiticElectricLoad instead.");
343 ✗ getImpl<detail::CoilHeatingDesuperheater_Impl>()->resetOnCycleParasiticElectricLoad();
344 ✗ }
345
346 ✗ void CoilHeatingDesuperheater::resetOnCycleParasiticElectricLoad() {
347 ✗ getImpl<detail::CoilHeatingDesuperheater_Impl>()->resetOnCycleParasiticElectricLoad();
348 ✗ }
349
350 ✗ AirflowNetworkEquivalentDuct CoilHeatingDesuperheater::getAirflowNetworkEquivalentDuct(double length, double diameter) {
351 ✗ return getImpl<detail::CoilHeatingDesuperheater_Impl>()->getAirflowNetworkEquivalentDuct(length, diameter);
352 }
353
354 ✗ boost::optional<AirflowNetworkEquivalentDuct> CoilHeatingDesuperheater::airflowNetworkEquivalentDuct() const {
355 ✗ return getImpl<detail::CoilHeatingDesuperheater_Impl>()->airflowNetworkEquivalentDuct();
356 }
357
358 /// @cond
359 27 CoilHeatingDesuperheater::CoilHeatingDesuperheater(std::shared_ptr<detail::CoilHeatingDesuperheater_Impl> impl)
360
1/1
✓ Branch 3 taken 27 times.
27 : StraightComponent(std::move(impl)) {}
361 /// @endcond
362
363 } // namespace model
364 } // namespace openstudio
365