GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 84.6% 220 / 0 / 260
Functions: 89.9% 80 / 0 / 89
Branches: 57.9% 106 / 0 / 183

src/model/CoilCoolingCooledBeam.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 "CoilCoolingCooledBeam.hpp"
7 #include "CoilCoolingCooledBeam_Impl.hpp"
8 #include "AirTerminalSingleDuctConstantVolumeCooledBeam.hpp"
9 #include "AirTerminalSingleDuctConstantVolumeCooledBeam_Impl.hpp"
10 #include "StraightComponent.hpp"
11 #include "StraightComponent_Impl.hpp"
12 #include "Node.hpp"
13 #include "Node_Impl.hpp"
14 #include "PlantLoop.hpp"
15 #include "PlantLoop_Impl.hpp"
16
17 #include "Model.hpp"
18 #include "Model_Impl.hpp"
19 #include "../utilities/core/Compare.hpp"
20 #include "../utilities/core/Assert.hpp"
21 #include "../utilities/data/DataEnums.hpp"
22
23 #include <utilities/idd/IddFactory.hxx>
24
25 #include <utilities/idd/OS_Coil_Cooling_CooledBeam_FieldEnums.hxx>
26 #include <utilities/idd/IddEnums.hxx>
27
28 namespace openstudio {
29 namespace model {
30
31 namespace detail {
32
33 6 CoilCoolingCooledBeam_Impl::CoilCoolingCooledBeam_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle)
34 6 : StraightComponent_Impl(idfObject, model, keepHandle) {
35
4/6
✓ Branch 1 taken 6 times.
✓ Branch 4 taken 6 times.
✓ Branch 7 taken 6 times.
✗ Branch 10 not taken.
✓ Branch 11 taken 6 times.
✗ Branch 13 not taken.
6 OS_ASSERT(idfObject.iddObject().type() == CoilCoolingCooledBeam::iddObjectType());
36 6 }
37
38 ✗ CoilCoolingCooledBeam_Impl::CoilCoolingCooledBeam_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle)
39 ✗ : StraightComponent_Impl(other, model, keepHandle) {
40 ✗ OS_ASSERT(other.iddObject().type() == CoilCoolingCooledBeam::iddObjectType());
41 ✗ }
42
43 10 CoilCoolingCooledBeam_Impl::CoilCoolingCooledBeam_Impl(const CoilCoolingCooledBeam_Impl& other, Model_Impl* model, bool keepHandle)
44 10 : StraightComponent_Impl(other, model, keepHandle) {}
45
46 ✗ const std::vector<std::string>& CoilCoolingCooledBeam_Impl::outputVariableNames() const {
47 ✗ static const std::vector<std::string> result;
48 ✗ return result;
49 }
50
51 ✗ IddObjectType CoilCoolingCooledBeam_Impl::iddObjectType() const {
52 ✗ return CoilCoolingCooledBeam::iddObjectType();
53 }
54
55 10 unsigned CoilCoolingCooledBeam_Impl::inletPort() const {
56 10 return OS_Coil_Cooling_CooledBeamFields::ChilledWaterInletNodeName;
57 }
58
59 25 unsigned CoilCoolingCooledBeam_Impl::outletPort() const {
60 25 return OS_Coil_Cooling_CooledBeamFields::ChilledWaterOutletNodeName;
61 }
62
63 // contaningHVACComponent is important: used for airLoopHVAC::addBranchForZone to connect the coil to the right loop
64 ✗ boost::optional<HVACComponent> CoilCoolingCooledBeam_Impl::containingHVACComponent() const {
65 ✗ std::vector<AirTerminalSingleDuctConstantVolumeCooledBeam> airTerminalSingleDuctConstantVolumeCooledBeam;
66
67 ✗ airTerminalSingleDuctConstantVolumeCooledBeam = this->model().getConcreteModelObjects<AirTerminalSingleDuctConstantVolumeCooledBeam>();
68
69 ✗ for (const auto& elem : airTerminalSingleDuctConstantVolumeCooledBeam) {
70 ✗ if (boost::optional<HVACComponent> coil = elem.coilCoolingCooledBeam()) {
71 ✗ if (coil->handle() == this->handle()) {
72 ✗ return elem;
73 }
74 ✗ }
75 }
76 ✗ return boost::none;
77 ✗ }
78
79 ✗ boost::optional<StraightComponent> CoilCoolingCooledBeam_Impl::containingStraightComponent() const {
80 // this coil can only be found in a AirTerminalSingleDuctConstantVolumeCooledBeam
81 // check all AirTerminalSingleDuctConstantVolumeCooledBeam in the model, seeing if this coil
82 // is inside of one of them. Return the one it is inside of
83 // declare a vector to hold all of the AirTerminalSingleDuctConstantVolumeCooledBeam
84
85 ✗ std::vector<AirTerminalSingleDuctConstantVolumeCooledBeam> airTerminalSingleDuctConstantVolumeCooledBeam;
86
87 ✗ airTerminalSingleDuctConstantVolumeCooledBeam = this->model().getConcreteModelObjects<AirTerminalSingleDuctConstantVolumeCooledBeam>();
88
89 ✗ for (const auto& elem : airTerminalSingleDuctConstantVolumeCooledBeam) {
90 ✗ if (boost::optional<HVACComponent> coil = elem.coilCoolingCooledBeam()) {
91 ✗ if (coil->handle() == this->handle()) {
92 ✗ return elem;
93 }
94 ✗ }
95 }
96 ✗ return boost::none;
97 ✗ }
98
99 7 bool CoilCoolingCooledBeam_Impl::addToNode(Node& node) {
100
3/3
✓ Branch 1 taken 7 times.
✓ Branch 3 taken 5 times.
✓ Branch 4 taken 2 times.
14 if (boost::optional<PlantLoop> plant = node.plantLoop()) {
101
5/5
✓ Branch 1 taken 5 times.
✓ Branch 4 taken 5 times.
✓ Branch 7 taken 5 times.
✓ Branch 10 taken 4 times.
✓ Branch 11 taken 1 time.
10 if (plant->demandComponent(node.handle())) {
102
1/1
✓ Branch 1 taken 4 times.
4 return StraightComponent_Impl::addToNode(node);
103 }
104 7 }
105
106 3 return false;
107 }
108
109 2 double CoilCoolingCooledBeam_Impl::coilSurfaceAreaperCoilLength() const {
110
1/1
✓ Branch 1 taken 2 times.
2 boost::optional<double> value = getDouble(OS_Coil_Cooling_CooledBeamFields::CoilSurfaceAreaperCoilLength, true);
111
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
2 OS_ASSERT(value);
112
1/1
✓ Branch 1 taken 2 times.
4 return value.get();
113 }
114
115 2 bool CoilCoolingCooledBeam_Impl::isCoilSurfaceAreaperCoilLengthDefaulted() const {
116 2 return isEmpty(OS_Coil_Cooling_CooledBeamFields::CoilSurfaceAreaperCoilLength);
117 }
118
119 2 double CoilCoolingCooledBeam_Impl::modelParametera() const {
120
1/1
✓ Branch 1 taken 2 times.
2 boost::optional<double> value = getDouble(OS_Coil_Cooling_CooledBeamFields::ModelParametera, true);
121
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
2 OS_ASSERT(value);
122
1/1
✓ Branch 1 taken 2 times.
4 return value.get();
123 }
124
125 2 bool CoilCoolingCooledBeam_Impl::isModelParameteraDefaulted() const {
126 2 return isEmpty(OS_Coil_Cooling_CooledBeamFields::ModelParametera);
127 }
128
129 2 double CoilCoolingCooledBeam_Impl::modelParametern1() const {
130
1/1
✓ Branch 1 taken 2 times.
2 boost::optional<double> value = getDouble(OS_Coil_Cooling_CooledBeamFields::ModelParametern1, true);
131
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
2 OS_ASSERT(value);
132
1/1
✓ Branch 1 taken 2 times.
4 return value.get();
133 }
134
135 2 bool CoilCoolingCooledBeam_Impl::isModelParametern1Defaulted() const {
136 2 return isEmpty(OS_Coil_Cooling_CooledBeamFields::ModelParametern1);
137 }
138
139 2 double CoilCoolingCooledBeam_Impl::modelParametern2() const {
140
1/1
✓ Branch 1 taken 2 times.
2 boost::optional<double> value = getDouble(OS_Coil_Cooling_CooledBeamFields::ModelParametern2, true);
141
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
2 OS_ASSERT(value);
142
1/1
✓ Branch 1 taken 2 times.
4 return value.get();
143 }
144
145 2 bool CoilCoolingCooledBeam_Impl::isModelParametern2Defaulted() const {
146 2 return isEmpty(OS_Coil_Cooling_CooledBeamFields::ModelParametern2);
147 }
148
149 2 double CoilCoolingCooledBeam_Impl::modelParametern3() const {
150
1/1
✓ Branch 1 taken 2 times.
2 boost::optional<double> value = getDouble(OS_Coil_Cooling_CooledBeamFields::ModelParametern3, true);
151
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
2 OS_ASSERT(value);
152
1/1
✓ Branch 1 taken 2 times.
4 return value.get();
153 }
154
155 2 bool CoilCoolingCooledBeam_Impl::isModelParametern3Defaulted() const {
156 2 return isEmpty(OS_Coil_Cooling_CooledBeamFields::ModelParametern3);
157 }
158
159 2 double CoilCoolingCooledBeam_Impl::modelParametera0() const {
160
1/1
✓ Branch 1 taken 2 times.
2 boost::optional<double> value = getDouble(OS_Coil_Cooling_CooledBeamFields::ModelParametera0, true);
161
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
2 OS_ASSERT(value);
162
1/1
✓ Branch 1 taken 2 times.
4 return value.get();
163 }
164
165 2 bool CoilCoolingCooledBeam_Impl::isModelParametera0Defaulted() const {
166 2 return isEmpty(OS_Coil_Cooling_CooledBeamFields::ModelParametera0);
167 }
168
169 2 double CoilCoolingCooledBeam_Impl::modelParameterK1() const {
170
1/1
✓ Branch 1 taken 2 times.
2 boost::optional<double> value = getDouble(OS_Coil_Cooling_CooledBeamFields::ModelParameterK1, true);
171
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
2 OS_ASSERT(value);
172
1/1
✓ Branch 1 taken 2 times.
4 return value.get();
173 }
174
175 2 bool CoilCoolingCooledBeam_Impl::isModelParameterK1Defaulted() const {
176 2 return isEmpty(OS_Coil_Cooling_CooledBeamFields::ModelParameterK1);
177 }
178
179 2 double CoilCoolingCooledBeam_Impl::modelParametern() const {
180
1/1
✓ Branch 1 taken 2 times.
2 boost::optional<double> value = getDouble(OS_Coil_Cooling_CooledBeamFields::ModelParametern, true);
181
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
2 OS_ASSERT(value);
182
1/1
✓ Branch 1 taken 2 times.
4 return value.get();
183 }
184
185 2 bool CoilCoolingCooledBeam_Impl::isModelParameternDefaulted() const {
186 2 return isEmpty(OS_Coil_Cooling_CooledBeamFields::ModelParametern);
187 }
188
189 2 double CoilCoolingCooledBeam_Impl::leavingPipeInsideDiameter() const {
190
1/1
✓ Branch 1 taken 2 times.
2 boost::optional<double> value = getDouble(OS_Coil_Cooling_CooledBeamFields::LeavingPipeInsideDiameter, true);
191
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
2 OS_ASSERT(value);
192
1/1
✓ Branch 1 taken 2 times.
4 return value.get();
193 }
194
195 2 bool CoilCoolingCooledBeam_Impl::isLeavingPipeInsideDiameterDefaulted() const {
196 2 return isEmpty(OS_Coil_Cooling_CooledBeamFields::LeavingPipeInsideDiameter);
197 }
198
199 1 bool CoilCoolingCooledBeam_Impl::setCoilSurfaceAreaperCoilLength(double coilSurfaceAreaperCoilLength) {
200 1 bool result = setDouble(OS_Coil_Cooling_CooledBeamFields::CoilSurfaceAreaperCoilLength, coilSurfaceAreaperCoilLength);
201 1 return result;
202 }
203
204 1 void CoilCoolingCooledBeam_Impl::resetCoilSurfaceAreaperCoilLength() {
205
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Coil_Cooling_CooledBeamFields::CoilSurfaceAreaperCoilLength, "");
206
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
207 1 }
208
209 1 bool CoilCoolingCooledBeam_Impl::setModelParametera(double modelParametera) {
210 1 bool result = setDouble(OS_Coil_Cooling_CooledBeamFields::ModelParametera, modelParametera);
211 1 return result;
212 }
213
214 1 void CoilCoolingCooledBeam_Impl::resetModelParametera() {
215
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Coil_Cooling_CooledBeamFields::ModelParametera, "");
216
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
217 1 }
218
219 1 bool CoilCoolingCooledBeam_Impl::setModelParametern1(double modelParametern1) {
220 1 bool result = setDouble(OS_Coil_Cooling_CooledBeamFields::ModelParametern1, modelParametern1);
221 1 return result;
222 }
223
224 1 void CoilCoolingCooledBeam_Impl::resetModelParametern1() {
225
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Coil_Cooling_CooledBeamFields::ModelParametern1, "");
226
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
227 1 }
228
229 1 bool CoilCoolingCooledBeam_Impl::setModelParametern2(double modelParametern2) {
230 1 bool result = setDouble(OS_Coil_Cooling_CooledBeamFields::ModelParametern2, modelParametern2);
231 1 return result;
232 }
233
234 1 void CoilCoolingCooledBeam_Impl::resetModelParametern2() {
235
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Coil_Cooling_CooledBeamFields::ModelParametern2, "");
236
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
237 1 }
238
239 1 bool CoilCoolingCooledBeam_Impl::setModelParametern3(double modelParametern3) {
240 1 bool result = setDouble(OS_Coil_Cooling_CooledBeamFields::ModelParametern3, modelParametern3);
241 1 return result;
242 }
243
244 1 void CoilCoolingCooledBeam_Impl::resetModelParametern3() {
245
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Coil_Cooling_CooledBeamFields::ModelParametern3, "");
246
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
247 1 }
248
249 1 bool CoilCoolingCooledBeam_Impl::setModelParametera0(double modelParametera0) {
250 1 bool result = setDouble(OS_Coil_Cooling_CooledBeamFields::ModelParametera0, modelParametera0);
251 1 return result;
252 }
253
254 1 void CoilCoolingCooledBeam_Impl::resetModelParametera0() {
255
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Coil_Cooling_CooledBeamFields::ModelParametera0, "");
256
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
257 1 }
258
259 1 bool CoilCoolingCooledBeam_Impl::setModelParameterK1(double modelParameterK1) {
260 1 bool result = setDouble(OS_Coil_Cooling_CooledBeamFields::ModelParameterK1, modelParameterK1);
261 1 return result;
262 }
263
264 1 void CoilCoolingCooledBeam_Impl::resetModelParameterK1() {
265
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Coil_Cooling_CooledBeamFields::ModelParameterK1, "");
266
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
267 1 }
268
269 1 bool CoilCoolingCooledBeam_Impl::setModelParametern(double modelParametern) {
270 1 bool result = setDouble(OS_Coil_Cooling_CooledBeamFields::ModelParametern, modelParametern);
271 1 return result;
272 }
273
274 1 void CoilCoolingCooledBeam_Impl::resetModelParametern() {
275
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Coil_Cooling_CooledBeamFields::ModelParametern, "");
276
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
277 1 }
278
279 1 bool CoilCoolingCooledBeam_Impl::setLeavingPipeInsideDiameter(double leavingPipeInsideDiameter) {
280 1 bool result = setDouble(OS_Coil_Cooling_CooledBeamFields::LeavingPipeInsideDiameter, leavingPipeInsideDiameter);
281 1 return result;
282 }
283
284 1 void CoilCoolingCooledBeam_Impl::resetLeavingPipeInsideDiameter() {
285
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Coil_Cooling_CooledBeamFields::LeavingPipeInsideDiameter, "");
286
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
287 1 }
288
289 ✗ ComponentType CoilCoolingCooledBeam_Impl::componentType() const {
290 ✗ return ComponentType::Cooling;
291 }
292
293 ✗ std::vector<FuelType> CoilCoolingCooledBeam_Impl::coolingFuelTypes() const {
294 ✗ if (auto p_ = plantLoop()) {
295 ✗ return p_->coolingFuelTypes();
296 ✗ }
297 ✗ return {};
298 }
299
300 ✗ std::vector<FuelType> CoilCoolingCooledBeam_Impl::heatingFuelTypes() const {
301 ✗ return {};
302 }
303
304 ✗ std::vector<AppGFuelType> CoilCoolingCooledBeam_Impl::appGHeatingFuelTypes() const {
305 ✗ return {};
306 }
307
308 } // namespace detail
309
310 6 CoilCoolingCooledBeam::CoilCoolingCooledBeam(const Model& model) : StraightComponent(CoilCoolingCooledBeam::iddObjectType(), model) {
311
1/3
✗ Branch 2 not taken.
✓ Branch 3 taken 6 times.
✗ Branch 5 not taken.
6 OS_ASSERT(getImpl<detail::CoilCoolingCooledBeam_Impl>());
312 6 }
313
314 7740 IddObjectType CoilCoolingCooledBeam::iddObjectType() {
315
1/1
✓ Branch 1 taken 7740 times.
7740 return {IddObjectType::OS_Coil_Cooling_CooledBeam};
316 }
317
318 2 double CoilCoolingCooledBeam::coilSurfaceAreaperCoilLength() const {
319
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::CoilCoolingCooledBeam_Impl>()->coilSurfaceAreaperCoilLength();
320 }
321
322 2 bool CoilCoolingCooledBeam::isCoilSurfaceAreaperCoilLengthDefaulted() const {
323
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::CoilCoolingCooledBeam_Impl>()->isCoilSurfaceAreaperCoilLengthDefaulted();
324 }
325
326 2 double CoilCoolingCooledBeam::modelParametera() const {
327
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::CoilCoolingCooledBeam_Impl>()->modelParametera();
328 }
329
330 2 bool CoilCoolingCooledBeam::isModelParameteraDefaulted() const {
331
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::CoilCoolingCooledBeam_Impl>()->isModelParameteraDefaulted();
332 }
333
334 2 double CoilCoolingCooledBeam::modelParametern1() const {
335
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::CoilCoolingCooledBeam_Impl>()->modelParametern1();
336 }
337
338 2 bool CoilCoolingCooledBeam::isModelParametern1Defaulted() const {
339
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::CoilCoolingCooledBeam_Impl>()->isModelParametern1Defaulted();
340 }
341
342 2 double CoilCoolingCooledBeam::modelParametern2() const {
343
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::CoilCoolingCooledBeam_Impl>()->modelParametern2();
344 }
345
346 2 bool CoilCoolingCooledBeam::isModelParametern2Defaulted() const {
347
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::CoilCoolingCooledBeam_Impl>()->isModelParametern2Defaulted();
348 }
349
350 2 double CoilCoolingCooledBeam::modelParametern3() const {
351
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::CoilCoolingCooledBeam_Impl>()->modelParametern3();
352 }
353
354 2 bool CoilCoolingCooledBeam::isModelParametern3Defaulted() const {
355
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::CoilCoolingCooledBeam_Impl>()->isModelParametern3Defaulted();
356 }
357
358 2 double CoilCoolingCooledBeam::modelParametera0() const {
359
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::CoilCoolingCooledBeam_Impl>()->modelParametera0();
360 }
361
362 2 bool CoilCoolingCooledBeam::isModelParametera0Defaulted() const {
363
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::CoilCoolingCooledBeam_Impl>()->isModelParametera0Defaulted();
364 }
365
366 2 double CoilCoolingCooledBeam::modelParameterK1() const {
367
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::CoilCoolingCooledBeam_Impl>()->modelParameterK1();
368 }
369
370 2 bool CoilCoolingCooledBeam::isModelParameterK1Defaulted() const {
371
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::CoilCoolingCooledBeam_Impl>()->isModelParameterK1Defaulted();
372 }
373
374 2 double CoilCoolingCooledBeam::modelParametern() const {
375
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::CoilCoolingCooledBeam_Impl>()->modelParametern();
376 }
377
378 2 bool CoilCoolingCooledBeam::isModelParameternDefaulted() const {
379
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::CoilCoolingCooledBeam_Impl>()->isModelParameternDefaulted();
380 }
381
382 2 double CoilCoolingCooledBeam::leavingPipeInsideDiameter() const {
383
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::CoilCoolingCooledBeam_Impl>()->leavingPipeInsideDiameter();
384 }
385
386 2 bool CoilCoolingCooledBeam::isLeavingPipeInsideDiameterDefaulted() const {
387
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::CoilCoolingCooledBeam_Impl>()->isLeavingPipeInsideDiameterDefaulted();
388 }
389
390 1 bool CoilCoolingCooledBeam::setCoilSurfaceAreaperCoilLength(double coilSurfaceAreaperCoilLength) {
391
1/1
✓ Branch 3 taken 1 time.
1 return getImpl<detail::CoilCoolingCooledBeam_Impl>()->setCoilSurfaceAreaperCoilLength(coilSurfaceAreaperCoilLength);
392 }
393
394 1 void CoilCoolingCooledBeam::resetCoilSurfaceAreaperCoilLength() {
395
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::CoilCoolingCooledBeam_Impl>()->resetCoilSurfaceAreaperCoilLength();
396 1 }
397
398 1 bool CoilCoolingCooledBeam::setModelParametera(double modelParametera) {
399
1/1
✓ Branch 3 taken 1 time.
1 return getImpl<detail::CoilCoolingCooledBeam_Impl>()->setModelParametera(modelParametera);
400 }
401
402 1 void CoilCoolingCooledBeam::resetModelParametera() {
403
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::CoilCoolingCooledBeam_Impl>()->resetModelParametera();
404 1 }
405
406 1 bool CoilCoolingCooledBeam::setModelParametern1(double modelParametern1) {
407
1/1
✓ Branch 3 taken 1 time.
1 return getImpl<detail::CoilCoolingCooledBeam_Impl>()->setModelParametern1(modelParametern1);
408 }
409
410 1 void CoilCoolingCooledBeam::resetModelParametern1() {
411
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::CoilCoolingCooledBeam_Impl>()->resetModelParametern1();
412 1 }
413
414 1 bool CoilCoolingCooledBeam::setModelParametern2(double modelParametern2) {
415
1/1
✓ Branch 3 taken 1 time.
1 return getImpl<detail::CoilCoolingCooledBeam_Impl>()->setModelParametern2(modelParametern2);
416 }
417
418 1 void CoilCoolingCooledBeam::resetModelParametern2() {
419
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::CoilCoolingCooledBeam_Impl>()->resetModelParametern2();
420 1 }
421
422 1 bool CoilCoolingCooledBeam::setModelParametern3(double modelParametern3) {
423
1/1
✓ Branch 3 taken 1 time.
1 return getImpl<detail::CoilCoolingCooledBeam_Impl>()->setModelParametern3(modelParametern3);
424 }
425
426 1 void CoilCoolingCooledBeam::resetModelParametern3() {
427
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::CoilCoolingCooledBeam_Impl>()->resetModelParametern3();
428 1 }
429
430 1 bool CoilCoolingCooledBeam::setModelParametera0(double modelParametera0) {
431
1/1
✓ Branch 3 taken 1 time.
1 return getImpl<detail::CoilCoolingCooledBeam_Impl>()->setModelParametera0(modelParametera0);
432 }
433
434 1 void CoilCoolingCooledBeam::resetModelParametera0() {
435
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::CoilCoolingCooledBeam_Impl>()->resetModelParametera0();
436 1 }
437
438 1 bool CoilCoolingCooledBeam::setModelParameterK1(double modelParameterK1) {
439
1/1
✓ Branch 3 taken 1 time.
1 return getImpl<detail::CoilCoolingCooledBeam_Impl>()->setModelParameterK1(modelParameterK1);
440 }
441
442 1 void CoilCoolingCooledBeam::resetModelParameterK1() {
443
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::CoilCoolingCooledBeam_Impl>()->resetModelParameterK1();
444 1 }
445
446 1 bool CoilCoolingCooledBeam::setModelParametern(double modelParametern) {
447
1/1
✓ Branch 3 taken 1 time.
1 return getImpl<detail::CoilCoolingCooledBeam_Impl>()->setModelParametern(modelParametern);
448 }
449
450 1 void CoilCoolingCooledBeam::resetModelParametern() {
451
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::CoilCoolingCooledBeam_Impl>()->resetModelParametern();
452 1 }
453
454 1 bool CoilCoolingCooledBeam::setLeavingPipeInsideDiameter(double leavingPipeInsideDiameter) {
455
1/1
✓ Branch 3 taken 1 time.
1 return getImpl<detail::CoilCoolingCooledBeam_Impl>()->setLeavingPipeInsideDiameter(leavingPipeInsideDiameter);
456 }
457
458 1 void CoilCoolingCooledBeam::resetLeavingPipeInsideDiameter() {
459
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::CoilCoolingCooledBeam_Impl>()->resetLeavingPipeInsideDiameter();
460 1 }
461
462 /// @cond
463
1/1
✓ Branch 3 taken 2 times.
2 CoilCoolingCooledBeam::CoilCoolingCooledBeam(std::shared_ptr<detail::CoilCoolingCooledBeam_Impl> impl) : StraightComponent(std::move(impl)) {}
464 /// @endcond
465
466 } // namespace model
467 } // namespace openstudio
468