GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 93.3% 307 / 0 / 329
Functions: 93.7% 89 / 0 / 95
Branches: 68.3% 291 / 0 / 426

src/model/GroundHeatExchangerHorizontalTrench.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 "GroundHeatExchangerHorizontalTrench.hpp"
7 #include "GroundHeatExchangerHorizontalTrench_Impl.hpp"
8 #include "PlantLoop.hpp"
9 #include "PlantLoop_Impl.hpp"
10 #include "Node.hpp"
11 #include "Node_Impl.hpp"
12 #include "SiteGroundTemperatureUndisturbedKusudaAchenbach.hpp"
13 #include "SiteGroundTemperatureUndisturbedKusudaAchenbach_Impl.hpp"
14
15 #include "../utilities/core/Assert.hpp"
16 #include "../utilities/core/DeprecatedHelpers.hpp"
17 #include "../utilities/data/DataEnums.hpp"
18
19 #include <utilities/idd/IddFactory.hxx>
20 #include <utilities/idd/OS_GroundHeatExchanger_HorizontalTrench_FieldEnums.hxx>
21
22 namespace openstudio {
23 namespace model {
24
25 namespace detail {
26
27 12 GroundHeatExchangerHorizontalTrench_Impl::GroundHeatExchangerHorizontalTrench_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle)
28 12 : StraightComponent_Impl(idfObject, model, keepHandle) {
29
4/6
✓ Branch 1 taken 12 times.
✓ Branch 4 taken 12 times.
✓ Branch 7 taken 12 times.
✗ Branch 10 not taken.
✓ Branch 11 taken 12 times.
✗ Branch 13 not taken.
12 OS_ASSERT(idfObject.iddObject().type() == GroundHeatExchangerHorizontalTrench::iddObjectType());
30 12 }
31
32 1 GroundHeatExchangerHorizontalTrench_Impl::GroundHeatExchangerHorizontalTrench_Impl(const openstudio::detail::WorkspaceObject_Impl& other,
33 1 Model_Impl* model, bool keepHandle)
34 1 : StraightComponent_Impl(other, model, keepHandle) {
35
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() == GroundHeatExchangerHorizontalTrench::iddObjectType());
36 1 }
37
38 9 GroundHeatExchangerHorizontalTrench_Impl::GroundHeatExchangerHorizontalTrench_Impl(const GroundHeatExchangerHorizontalTrench_Impl& other,
39 9 Model_Impl* model, bool keepHandle)
40 9 : StraightComponent_Impl(other, model, keepHandle) {}
41
42 ✗ const std::vector<std::string>& GroundHeatExchangerHorizontalTrench_Impl::outputVariableNames() const {
43 static const std::vector<std::string> result{"Ground Heat Exchanger Mass Flow Rate", "Ground Heat Exchanger Inlet Temperature",
44 ✗ "Ground Heat Exchanger Outlet Temperature", "Ground Heat Exchanger Fluid Heat Transfer Rate"};
45 ✗ return result;
46 ✗ }
47
48 ✗ IddObjectType GroundHeatExchangerHorizontalTrench_Impl::iddObjectType() const {
49 ✗ return GroundHeatExchangerHorizontalTrench::iddObjectType();
50 }
51
52 7 double GroundHeatExchangerHorizontalTrench_Impl::designFlowRate() const {
53
1/1
✓ Branch 1 taken 7 times.
7 boost::optional<double> value = getDouble(OS_GroundHeatExchanger_HorizontalTrenchFields::DesignFlowRate, true);
54
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
7 OS_ASSERT(value);
55
1/1
✓ Branch 1 taken 7 times.
14 return value.get();
56 }
57
58 7 double GroundHeatExchangerHorizontalTrench_Impl::trenchLengthinPipeAxialDirection() const {
59
1/1
✓ Branch 1 taken 7 times.
7 boost::optional<double> value = getDouble(OS_GroundHeatExchanger_HorizontalTrenchFields::TrenchLengthinPipeAxialDirection, true);
60
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
7 OS_ASSERT(value);
61
1/1
✓ Branch 1 taken 7 times.
14 return value.get();
62 }
63
64 7 int GroundHeatExchangerHorizontalTrench_Impl::numberofTrenches() const {
65
1/1
✓ Branch 1 taken 7 times.
7 boost::optional<int> value = getInt(OS_GroundHeatExchanger_HorizontalTrenchFields::NumberofTrenches, true);
66
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
7 OS_ASSERT(value);
67
1/1
✓ Branch 1 taken 7 times.
14 return value.get();
68 }
69
70 7 double GroundHeatExchangerHorizontalTrench_Impl::horizontalSpacingBetweenPipes() const {
71
1/1
✓ Branch 1 taken 7 times.
7 boost::optional<double> value = getDouble(OS_GroundHeatExchanger_HorizontalTrenchFields::HorizontalSpacingBetweenPipes, true);
72
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
7 OS_ASSERT(value);
73
1/1
✓ Branch 1 taken 7 times.
14 return value.get();
74 }
75
76 7 double GroundHeatExchangerHorizontalTrench_Impl::pipeInnerDiameter() const {
77
1/1
✓ Branch 1 taken 7 times.
7 boost::optional<double> value = getDouble(OS_GroundHeatExchanger_HorizontalTrenchFields::PipeInnerDiameter, true);
78
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
7 OS_ASSERT(value);
79
1/1
✓ Branch 1 taken 7 times.
14 return value.get();
80 }
81
82 7 double GroundHeatExchangerHorizontalTrench_Impl::pipeOuterDiameter() const {
83
1/1
✓ Branch 1 taken 7 times.
7 boost::optional<double> value = getDouble(OS_GroundHeatExchanger_HorizontalTrenchFields::PipeOuterDiameter, true);
84
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
7 OS_ASSERT(value);
85
1/1
✓ Branch 1 taken 7 times.
14 return value.get();
86 }
87
88 7 double GroundHeatExchangerHorizontalTrench_Impl::burialDepth() const {
89
1/1
✓ Branch 1 taken 7 times.
7 boost::optional<double> value = getDouble(OS_GroundHeatExchanger_HorizontalTrenchFields::BurialDepth, true);
90
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
7 OS_ASSERT(value);
91
1/1
✓ Branch 1 taken 7 times.
14 return value.get();
92 }
93
94 7 double GroundHeatExchangerHorizontalTrench_Impl::soilThermalConductivity() const {
95
1/1
✓ Branch 1 taken 7 times.
7 boost::optional<double> value = getDouble(OS_GroundHeatExchanger_HorizontalTrenchFields::SoilThermalConductivity, true);
96
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
7 OS_ASSERT(value);
97
1/1
✓ Branch 1 taken 7 times.
14 return value.get();
98 }
99
100 7 double GroundHeatExchangerHorizontalTrench_Impl::soilDensity() const {
101
1/1
✓ Branch 1 taken 7 times.
7 boost::optional<double> value = getDouble(OS_GroundHeatExchanger_HorizontalTrenchFields::SoilDensity, true);
102
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
7 OS_ASSERT(value);
103
1/1
✓ Branch 1 taken 7 times.
14 return value.get();
104 }
105
106 7 double GroundHeatExchangerHorizontalTrench_Impl::soilSpecificHeat() const {
107
1/1
✓ Branch 1 taken 7 times.
7 boost::optional<double> value = getDouble(OS_GroundHeatExchanger_HorizontalTrenchFields::SoilSpecificHeat, true);
108
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
7 OS_ASSERT(value);
109
1/1
✓ Branch 1 taken 7 times.
14 return value.get();
110 }
111
112 7 double GroundHeatExchangerHorizontalTrench_Impl::pipeThermalConductivity() const {
113
1/1
✓ Branch 1 taken 7 times.
7 boost::optional<double> value = getDouble(OS_GroundHeatExchanger_HorizontalTrenchFields::PipeThermalConductivity, true);
114
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
7 OS_ASSERT(value);
115
1/1
✓ Branch 1 taken 7 times.
14 return value.get();
116 }
117
118 7 double GroundHeatExchangerHorizontalTrench_Impl::pipeDensity() const {
119
1/1
✓ Branch 1 taken 7 times.
7 boost::optional<double> value = getDouble(OS_GroundHeatExchanger_HorizontalTrenchFields::PipeDensity, true);
120
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
7 OS_ASSERT(value);
121
1/1
✓ Branch 1 taken 7 times.
14 return value.get();
122 }
123
124 7 double GroundHeatExchangerHorizontalTrench_Impl::pipeSpecificHeat() const {
125
1/1
✓ Branch 1 taken 7 times.
7 boost::optional<double> value = getDouble(OS_GroundHeatExchanger_HorizontalTrenchFields::PipeSpecificHeat, true);
126
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
7 OS_ASSERT(value);
127
1/1
✓ Branch 1 taken 7 times.
14 return value.get();
128 }
129
130 7 double GroundHeatExchangerHorizontalTrench_Impl::soilMoistureContentPercent() const {
131
1/1
✓ Branch 1 taken 7 times.
7 boost::optional<double> value = getDouble(OS_GroundHeatExchanger_HorizontalTrenchFields::SoilMoistureContentPercent, true);
132
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
7 OS_ASSERT(value);
133
1/1
✓ Branch 1 taken 7 times.
14 return value.get();
134 }
135
136 7 double GroundHeatExchangerHorizontalTrench_Impl::soilMoistureContentPercentatSaturation() const {
137
1/1
✓ Branch 1 taken 7 times.
7 boost::optional<double> value = getDouble(OS_GroundHeatExchanger_HorizontalTrenchFields::SoilMoistureContentPercentatSaturation, true);
138
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
7 OS_ASSERT(value);
139
1/1
✓ Branch 1 taken 7 times.
14 return value.get();
140 }
141
142 7 double GroundHeatExchangerHorizontalTrench_Impl::evapotranspirationGroundCoverParameter() const {
143
1/1
✓ Branch 1 taken 7 times.
7 boost::optional<double> value = getDouble(OS_GroundHeatExchanger_HorizontalTrenchFields::EvapotranspirationGroundCoverParameter, true);
144
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
7 OS_ASSERT(value);
145
1/1
✓ Branch 1 taken 7 times.
14 return value.get();
146 }
147
148 48 ModelObject GroundHeatExchangerHorizontalTrench_Impl::undisturbedGroundTemperatureModel() const {
149 48 boost::optional<ModelObject> modelObject;
150 modelObject =
151
2/2
✓ Branch 1 taken 48 times.
✓ Branch 4 taken 48 times.
48 getObject<ModelObject>().getModelObjectTarget<ModelObject>(OS_GroundHeatExchanger_HorizontalTrenchFields::UndisturbedGroundTemperatureModel);
152
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 48 times.
✗ Branch 4 not taken.
48 OS_ASSERT(modelObject);
153
2/2
✓ Branch 1 taken 48 times.
✓ Branch 4 taken 48 times.
96 return modelObject.get();
154 48 }
155
156 13 bool GroundHeatExchangerHorizontalTrench_Impl::setDesignFlowRate(double designFlowRate) {
157 13 bool result = setDouble(OS_GroundHeatExchanger_HorizontalTrenchFields::DesignFlowRate, designFlowRate);
158 13 return result;
159 }
160
161 13 bool GroundHeatExchangerHorizontalTrench_Impl::setTrenchLengthinPipeAxialDirection(double trenchLengthinPipeAxialDirection) {
162 13 bool result = setDouble(OS_GroundHeatExchanger_HorizontalTrenchFields::TrenchLengthinPipeAxialDirection, trenchLengthinPipeAxialDirection);
163 13 return result;
164 }
165
166 13 bool GroundHeatExchangerHorizontalTrench_Impl::setNumberofTrenches(int numberofTrenches) {
167 13 bool result = setInt(OS_GroundHeatExchanger_HorizontalTrenchFields::NumberofTrenches, numberofTrenches);
168 13 return result;
169 }
170
171 13 bool GroundHeatExchangerHorizontalTrench_Impl::setHorizontalSpacingBetweenPipes(double horizontalSpacingBetweenPipes) {
172 13 bool result = setDouble(OS_GroundHeatExchanger_HorizontalTrenchFields::HorizontalSpacingBetweenPipes, horizontalSpacingBetweenPipes);
173 13 return result;
174 }
175
176 13 bool GroundHeatExchangerHorizontalTrench_Impl::setPipeInnerDiameter(double pipeInnerDiameter) {
177 13 bool result = setDouble(OS_GroundHeatExchanger_HorizontalTrenchFields::PipeInnerDiameter, pipeInnerDiameter);
178 13 return result;
179 }
180
181 13 bool GroundHeatExchangerHorizontalTrench_Impl::setPipeOuterDiameter(double pipeOuterDiameter) {
182 13 bool result = setDouble(OS_GroundHeatExchanger_HorizontalTrenchFields::PipeOuterDiameter, pipeOuterDiameter);
183 13 return result;
184 }
185
186 13 bool GroundHeatExchangerHorizontalTrench_Impl::setBurialDepth(double burialDepth) {
187 13 bool result = setDouble(OS_GroundHeatExchanger_HorizontalTrenchFields::BurialDepth, burialDepth);
188 13 return result;
189 }
190
191 13 bool GroundHeatExchangerHorizontalTrench_Impl::setSoilThermalConductivity(double soilThermalConductivity) {
192 13 bool result = setDouble(OS_GroundHeatExchanger_HorizontalTrenchFields::SoilThermalConductivity, soilThermalConductivity);
193 13 return result;
194 }
195
196 13 bool GroundHeatExchangerHorizontalTrench_Impl::setSoilDensity(double soilDensity) {
197 13 bool result = setDouble(OS_GroundHeatExchanger_HorizontalTrenchFields::SoilDensity, soilDensity);
198 13 return result;
199 }
200
201 13 bool GroundHeatExchangerHorizontalTrench_Impl::setSoilSpecificHeat(double soilSpecificHeat) {
202 13 bool result = setDouble(OS_GroundHeatExchanger_HorizontalTrenchFields::SoilSpecificHeat, soilSpecificHeat);
203 13 return result;
204 }
205
206 13 bool GroundHeatExchangerHorizontalTrench_Impl::setPipeThermalConductivity(double pipeThermalConductivity) {
207 13 bool result = setDouble(OS_GroundHeatExchanger_HorizontalTrenchFields::PipeThermalConductivity, pipeThermalConductivity);
208 13 return result;
209 }
210
211 13 bool GroundHeatExchangerHorizontalTrench_Impl::setPipeDensity(double pipeDensity) {
212 13 bool result = setDouble(OS_GroundHeatExchanger_HorizontalTrenchFields::PipeDensity, pipeDensity);
213 13 return result;
214 }
215
216 13 bool GroundHeatExchangerHorizontalTrench_Impl::setPipeSpecificHeat(double pipeSpecificHeat) {
217 13 bool result = setDouble(OS_GroundHeatExchanger_HorizontalTrenchFields::PipeSpecificHeat, pipeSpecificHeat);
218 13 return result;
219 }
220
221 13 bool GroundHeatExchangerHorizontalTrench_Impl::setSoilMoistureContentPercent(double soilMoistureContentPercent) {
222 13 bool result = setDouble(OS_GroundHeatExchanger_HorizontalTrenchFields::SoilMoistureContentPercent, soilMoistureContentPercent);
223 13 return result;
224 }
225
226 13 bool GroundHeatExchangerHorizontalTrench_Impl::setSoilMoistureContentPercentatSaturation(double soilMoistureContentPercentatSaturation) {
227 bool result =
228 13 setDouble(OS_GroundHeatExchanger_HorizontalTrenchFields::SoilMoistureContentPercentatSaturation, soilMoistureContentPercentatSaturation);
229 13 return result;
230 }
231
232 13 bool GroundHeatExchangerHorizontalTrench_Impl::setEvapotranspirationGroundCoverParameter(double evapotranspirationGroundCoverParameter) {
233 bool result =
234 13 setDouble(OS_GroundHeatExchanger_HorizontalTrenchFields::EvapotranspirationGroundCoverParameter, evapotranspirationGroundCoverParameter);
235 13 return result;
236 }
237
238 13 bool GroundHeatExchangerHorizontalTrench_Impl::setUndisturbedGroundTemperatureModel(const ModelObject& undisturbedGroundTemperatureModel) {
239 bool result =
240
2/2
✓ Branch 1 taken 13 times.
✓ Branch 4 taken 13 times.
13 setPointer(OS_GroundHeatExchanger_HorizontalTrenchFields::UndisturbedGroundTemperatureModel, undisturbedGroundTemperatureModel.handle());
241 13 return result;
242 }
243
244 23 unsigned GroundHeatExchangerHorizontalTrench_Impl::inletPort() const {
245 23 return OS_GroundHeatExchanger_HorizontalTrenchFields::InletNodeName;
246 }
247
248 57 unsigned GroundHeatExchangerHorizontalTrench_Impl::outletPort() const {
249 57 return OS_GroundHeatExchanger_HorizontalTrenchFields::OutletNodeName;
250 }
251
252 8 bool GroundHeatExchangerHorizontalTrench_Impl::addToNode(Node& node) {
253
3/3
✓ Branch 1 taken 8 times.
✓ Branch 3 taken 6 times.
✓ Branch 4 taken 2 times.
16 if (auto plant = node.plantLoop()) {
254
5/5
✓ Branch 1 taken 6 times.
✓ Branch 4 taken 6 times.
✓ Branch 7 taken 6 times.
✓ Branch 11 taken 5 times.
✓ Branch 12 taken 1 time.
6 if (!plant->demandComponent(node.handle())) {
255
1/1
✓ Branch 1 taken 5 times.
5 return StraightComponent_Impl::addToNode(node);
256 }
257 8 }
258
259 3 return false;
260 }
261
262 10 ComponentType GroundHeatExchangerHorizontalTrench_Impl::componentType() const {
263
1/1
✓ Branch 1 taken 10 times.
10 return ComponentType::Both;
264 }
265
266 ✗ std::vector<FuelType> GroundHeatExchangerHorizontalTrench_Impl::coolingFuelTypes() const {
267 ✗ return {FuelType::Geothermal};
268 }
269
270 ✗ std::vector<FuelType> GroundHeatExchangerHorizontalTrench_Impl::heatingFuelTypes() const {
271 ✗ return {FuelType::Geothermal};
272 }
273
274 ✗ std::vector<AppGFuelType> GroundHeatExchangerHorizontalTrench_Impl::appGHeatingFuelTypes() const {
275 ✗ return {AppGFuelType::Geothermal};
276 }
277
278 } // namespace detail
279
280 6 GroundHeatExchangerHorizontalTrench::GroundHeatExchangerHorizontalTrench(const Model& model)
281 6 : StraightComponent(GroundHeatExchangerHorizontalTrench::iddObjectType(), model) {
282
1/3
✗ Branch 2 not taken.
✓ Branch 3 taken 6 times.
✗ Branch 5 not taken.
6 OS_ASSERT(getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>());
283
284
1/1
✓ Branch 1 taken 6 times.
6 setDesignFlowRate(0.004);
285
1/1
✓ Branch 1 taken 6 times.
6 setTrenchLengthinPipeAxialDirection(75);
286
1/1
✓ Branch 1 taken 6 times.
6 setNumberofTrenches(2);
287
1/1
✓ Branch 1 taken 6 times.
6 setHorizontalSpacingBetweenPipes(2.0);
288
1/1
✓ Branch 1 taken 6 times.
6 setPipeInnerDiameter(0.016);
289
1/1
✓ Branch 1 taken 6 times.
6 setPipeOuterDiameter(0.02667);
290
1/1
✓ Branch 1 taken 6 times.
6 setBurialDepth(1.25);
291
1/1
✓ Branch 1 taken 6 times.
6 setSoilThermalConductivity(1.08);
292
1/1
✓ Branch 1 taken 6 times.
6 setSoilDensity(962);
293
1/1
✓ Branch 1 taken 6 times.
6 setSoilSpecificHeat(2576);
294
1/1
✓ Branch 1 taken 6 times.
6 setPipeThermalConductivity(0.3895);
295
1/1
✓ Branch 1 taken 6 times.
6 setPipeDensity(641);
296
1/1
✓ Branch 1 taken 6 times.
6 setPipeSpecificHeat(2405);
297
1/1
✓ Branch 1 taken 6 times.
6 setSoilMoistureContentPercent(30);
298
1/1
✓ Branch 1 taken 6 times.
6 setSoilMoistureContentPercentatSaturation(50);
299
1/1
✓ Branch 1 taken 6 times.
6 setEvapotranspirationGroundCoverParameter(0.408);
300
301
1/1
✓ Branch 1 taken 6 times.
6 SiteGroundTemperatureUndisturbedKusudaAchenbach undisturbedGroundTemperatureModel(model);
302
1/1
✓ Branch 1 taken 6 times.
6 setUndisturbedGroundTemperatureModel(undisturbedGroundTemperatureModel);
303 6 }
304
305 5 GroundHeatExchangerHorizontalTrench::GroundHeatExchangerHorizontalTrench(const Model& model, const ModelObject& undisturbedGroundTemperatureModel)
306 5 : StraightComponent(GroundHeatExchangerHorizontalTrench::iddObjectType(), model) {
307
1/3
✗ Branch 2 not taken.
✓ Branch 3 taken 5 times.
✗ Branch 5 not taken.
5 OS_ASSERT(getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>());
308
309
1/1
✓ Branch 1 taken 5 times.
5 bool ok = setUndisturbedGroundTemperatureModel(undisturbedGroundTemperatureModel);
310
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 5 times.
5 if (!ok) {
311 ✗ remove();
312 ✗ LOG_AND_THROW("Unable to set " << briefDescription() << "'s Undisturbed Ground Temperature Model to "
313 << undisturbedGroundTemperatureModel.briefDescription() << ".");
314 }
315
1/1
✓ Branch 1 taken 5 times.
5 setDesignFlowRate(0.004);
316
1/1
✓ Branch 1 taken 5 times.
5 setTrenchLengthinPipeAxialDirection(75);
317
1/1
✓ Branch 1 taken 5 times.
5 setNumberofTrenches(2);
318
1/1
✓ Branch 1 taken 5 times.
5 setHorizontalSpacingBetweenPipes(2.0);
319
1/1
✓ Branch 1 taken 5 times.
5 setPipeInnerDiameter(0.016);
320
1/1
✓ Branch 1 taken 5 times.
5 setPipeOuterDiameter(0.02667);
321
1/1
✓ Branch 1 taken 5 times.
5 setBurialDepth(1.25);
322
1/1
✓ Branch 1 taken 5 times.
5 setSoilThermalConductivity(1.08);
323
1/1
✓ Branch 1 taken 5 times.
5 setSoilDensity(962);
324
1/1
✓ Branch 1 taken 5 times.
5 setSoilSpecificHeat(2576);
325
1/1
✓ Branch 1 taken 5 times.
5 setPipeThermalConductivity(0.3895);
326
1/1
✓ Branch 1 taken 5 times.
5 setPipeDensity(641);
327
1/1
✓ Branch 1 taken 5 times.
5 setPipeSpecificHeat(2405);
328
1/1
✓ Branch 1 taken 5 times.
5 setSoilMoistureContentPercent(30);
329
1/1
✓ Branch 1 taken 5 times.
5 setSoilMoistureContentPercentatSaturation(50);
330
1/1
✓ Branch 1 taken 5 times.
5 setEvapotranspirationGroundCoverParameter(0.408);
331 5 }
332
333 7630 IddObjectType GroundHeatExchangerHorizontalTrench::iddObjectType() {
334
1/1
✓ Branch 1 taken 7630 times.
7630 return {IddObjectType::OS_GroundHeatExchanger_HorizontalTrench};
335 }
336
337 ✗ std::vector<std::string> GroundHeatExchangerHorizontalTrench::groundTemperatureModelValues() {
338 ✗ DEPRECATED_AT_MSG(3, 6, 0, "Use undisturbedGroundTemperatureModel instead.");
339 ✗ std::vector<std::string> result{"KusudaAchenbach", "SiteGroundTemperature"};
340 ✗ return result;
341 ✗ }
342
343 7 double GroundHeatExchangerHorizontalTrench::designFlowRate() const {
344
1/1
✓ Branch 3 taken 7 times.
7 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->designFlowRate();
345 }
346
347 7 double GroundHeatExchangerHorizontalTrench::trenchLengthinPipeAxialDirection() const {
348
1/1
✓ Branch 3 taken 7 times.
7 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->trenchLengthinPipeAxialDirection();
349 }
350
351 7 int GroundHeatExchangerHorizontalTrench::numberofTrenches() const {
352
1/1
✓ Branch 3 taken 7 times.
7 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->numberofTrenches();
353 }
354
355 7 double GroundHeatExchangerHorizontalTrench::horizontalSpacingBetweenPipes() const {
356
1/1
✓ Branch 3 taken 7 times.
7 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->horizontalSpacingBetweenPipes();
357 }
358
359 7 double GroundHeatExchangerHorizontalTrench::pipeInnerDiameter() const {
360
1/1
✓ Branch 3 taken 7 times.
7 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->pipeInnerDiameter();
361 }
362
363 7 double GroundHeatExchangerHorizontalTrench::pipeOuterDiameter() const {
364
1/1
✓ Branch 3 taken 7 times.
7 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->pipeOuterDiameter();
365 }
366
367 7 double GroundHeatExchangerHorizontalTrench::burialDepth() const {
368
1/1
✓ Branch 3 taken 7 times.
7 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->burialDepth();
369 }
370
371 7 double GroundHeatExchangerHorizontalTrench::soilThermalConductivity() const {
372
1/1
✓ Branch 3 taken 7 times.
7 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->soilThermalConductivity();
373 }
374
375 7 double GroundHeatExchangerHorizontalTrench::soilDensity() const {
376
1/1
✓ Branch 3 taken 7 times.
7 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->soilDensity();
377 }
378
379 7 double GroundHeatExchangerHorizontalTrench::soilSpecificHeat() const {
380
1/1
✓ Branch 3 taken 7 times.
7 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->soilSpecificHeat();
381 }
382
383 7 double GroundHeatExchangerHorizontalTrench::pipeThermalConductivity() const {
384
1/1
✓ Branch 3 taken 7 times.
7 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->pipeThermalConductivity();
385 }
386
387 7 double GroundHeatExchangerHorizontalTrench::pipeDensity() const {
388
1/1
✓ Branch 3 taken 7 times.
7 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->pipeDensity();
389 }
390
391 7 double GroundHeatExchangerHorizontalTrench::pipeSpecificHeat() const {
392
1/1
✓ Branch 3 taken 7 times.
7 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->pipeSpecificHeat();
393 }
394
395 7 double GroundHeatExchangerHorizontalTrench::soilMoistureContentPercent() const {
396
1/1
✓ Branch 3 taken 7 times.
7 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->soilMoistureContentPercent();
397 }
398
399 7 double GroundHeatExchangerHorizontalTrench::soilMoistureContentPercentatSaturation() const {
400
1/1
✓ Branch 3 taken 7 times.
7 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->soilMoistureContentPercentatSaturation();
401 }
402
403 4 std::string GroundHeatExchangerHorizontalTrench::groundTemperatureModel() const {
404
5/5
✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
✓ Branch 7 taken 4 times.
✓ Branch 10 taken 4 times.
✓ Branch 13 taken 4 times.
4 LOG(
405 Warn,
406 "As of 3.6.0, groundTemperatureModel is deprecated. Use undisturbedGroundTemperatureModel instead. It will be removed within three releases.");
407
5/5
✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
✓ Branch 7 taken 4 times.
✓ Branch 11 taken 3 times.
✓ Branch 12 taken 1 time.
4 if (undisturbedGroundTemperatureModel().iddObjectType() == IddObjectType::OS_Site_GroundTemperature_Undisturbed_KusudaAchenbach) {
408
1/1
✓ Branch 1 taken 3 times.
6 return "KusudaAchenbach";
409 } else {
410
1/1
✓ Branch 1 taken 1 time.
2 return "SiteGroundTemperature";
411 }
412 }
413
414 4 bool GroundHeatExchangerHorizontalTrench::isGroundTemperatureModelDefaulted() const {
415
5/5
✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
✓ Branch 7 taken 4 times.
✓ Branch 10 taken 4 times.
✓ Branch 13 taken 4 times.
16 DEPRECATED_AT_MSG(3, 6, 0, "Use undisturbedGroundTemperatureModel instead.");
416 4 return false;
417 }
418
419 4 double GroundHeatExchangerHorizontalTrench::kusudaAchenbachAverageSurfaceTemperature() const {
420
5/5
✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
✓ Branch 7 taken 4 times.
✓ Branch 10 taken 4 times.
✓ Branch 13 taken 4 times.
16 DEPRECATED_AT_MSG(3, 6, 0, "Use undisturbedGroundTemperatureModel instead.");
421
5/5
✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
✓ Branch 7 taken 4 times.
✓ Branch 11 taken 1 time.
✓ Branch 12 taken 3 times.
4 if (undisturbedGroundTemperatureModel().iddObjectType() != IddObjectType::OS_Site_GroundTemperature_Undisturbed_KusudaAchenbach) {
422
13/13
✓ 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.
✓ Branch 19 taken 1 time.
✓ Branch 22 taken 1 time.
✓ Branch 25 taken 1 time.
✓ Branch 28 taken 1 time.
✓ Branch 31 taken 1 time.
✓ Branch 34 taken 1 time.
✓ Branch 38 taken 1 time.
✓ Branch 41 taken 1 time.
1 LOG_AND_THROW("Undisturbed ground temperature model is not KusudaAchenbach.");
423 }
424
4/4
✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
✓ Branch 7 taken 3 times.
✓ Branch 10 taken 3 times.
3 return undisturbedGroundTemperatureModel().cast<SiteGroundTemperatureUndisturbedKusudaAchenbach>().averageSoilSurfaceTemperature().get();
425 }
426
427 4 double GroundHeatExchangerHorizontalTrench::kusudaAchenbachAverageAmplitudeofSurfaceTemperature() const {
428
5/5
✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
✓ Branch 7 taken 4 times.
✓ Branch 10 taken 4 times.
✓ Branch 13 taken 4 times.
16 DEPRECATED_AT_MSG(3, 6, 0, "Use undisturbedGroundTemperatureModel instead.");
429
5/5
✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
✓ Branch 7 taken 4 times.
✓ Branch 11 taken 1 time.
✓ Branch 12 taken 3 times.
4 if (undisturbedGroundTemperatureModel().iddObjectType() != IddObjectType::OS_Site_GroundTemperature_Undisturbed_KusudaAchenbach) {
430
13/13
✓ 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.
✓ Branch 19 taken 1 time.
✓ Branch 22 taken 1 time.
✓ Branch 25 taken 1 time.
✓ Branch 28 taken 1 time.
✓ Branch 31 taken 1 time.
✓ Branch 34 taken 1 time.
✓ Branch 38 taken 1 time.
✓ Branch 41 taken 1 time.
1 LOG_AND_THROW("Undisturbed ground temperature model is not KusudaAchenbach.");
431 }
432
4/4
✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
✓ Branch 7 taken 3 times.
✓ Branch 10 taken 3 times.
3 return undisturbedGroundTemperatureModel().cast<SiteGroundTemperatureUndisturbedKusudaAchenbach>().averageAmplitudeofSurfaceTemperature().get();
433 }
434
435 4 double GroundHeatExchangerHorizontalTrench::kusudaAchenbachPhaseShiftofMinimumSurfaceTemperature() const {
436
5/5
✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
✓ Branch 7 taken 4 times.
✓ Branch 10 taken 4 times.
✓ Branch 13 taken 4 times.
16 DEPRECATED_AT_MSG(3, 6, 0, "Use undisturbedGroundTemperatureModel instead.");
437
5/5
✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
✓ Branch 7 taken 4 times.
✓ Branch 11 taken 1 time.
✓ Branch 12 taken 3 times.
4 if (undisturbedGroundTemperatureModel().iddObjectType() != IddObjectType::OS_Site_GroundTemperature_Undisturbed_KusudaAchenbach) {
438
13/13
✓ 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.
✓ Branch 19 taken 1 time.
✓ Branch 22 taken 1 time.
✓ Branch 25 taken 1 time.
✓ Branch 28 taken 1 time.
✓ Branch 31 taken 1 time.
✓ Branch 34 taken 1 time.
✓ Branch 38 taken 1 time.
✓ Branch 41 taken 1 time.
1 LOG_AND_THROW("Undisturbed ground temperature model is not KusudaAchenbach.");
439 }
440
4/4
✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
✓ Branch 7 taken 3 times.
✓ Branch 10 taken 3 times.
3 return undisturbedGroundTemperatureModel().cast<SiteGroundTemperatureUndisturbedKusudaAchenbach>().phaseShiftofMinimumSurfaceTemperature().get();
441 }
442
443 7 double GroundHeatExchangerHorizontalTrench::evapotranspirationGroundCoverParameter() const {
444
1/1
✓ Branch 3 taken 7 times.
7 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->evapotranspirationGroundCoverParameter();
445 }
446
447 48 ModelObject GroundHeatExchangerHorizontalTrench::undisturbedGroundTemperatureModel() const {
448
1/1
✓ Branch 3 taken 48 times.
48 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->undisturbedGroundTemperatureModel();
449 }
450
451 13 bool GroundHeatExchangerHorizontalTrench::setDesignFlowRate(double designFlowRate) {
452
1/1
✓ Branch 3 taken 13 times.
13 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->setDesignFlowRate(designFlowRate);
453 }
454
455 13 bool GroundHeatExchangerHorizontalTrench::setTrenchLengthinPipeAxialDirection(double trenchLengthinPipeAxialDirection) {
456
1/1
✓ Branch 3 taken 13 times.
13 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->setTrenchLengthinPipeAxialDirection(trenchLengthinPipeAxialDirection);
457 }
458
459 13 bool GroundHeatExchangerHorizontalTrench::setNumberofTrenches(int numberofTrenches) {
460
1/1
✓ Branch 3 taken 13 times.
13 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->setNumberofTrenches(numberofTrenches);
461 }
462
463 13 bool GroundHeatExchangerHorizontalTrench::setHorizontalSpacingBetweenPipes(double horizontalSpacingBetweenPipes) {
464
1/1
✓ Branch 3 taken 13 times.
13 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->setHorizontalSpacingBetweenPipes(horizontalSpacingBetweenPipes);
465 }
466
467 13 bool GroundHeatExchangerHorizontalTrench::setPipeInnerDiameter(double pipeInnerDiameter) {
468
1/1
✓ Branch 3 taken 13 times.
13 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->setPipeInnerDiameter(pipeInnerDiameter);
469 }
470
471 13 bool GroundHeatExchangerHorizontalTrench::setPipeOuterDiameter(double pipeOuterDiameter) {
472
1/1
✓ Branch 3 taken 13 times.
13 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->setPipeOuterDiameter(pipeOuterDiameter);
473 }
474
475 13 bool GroundHeatExchangerHorizontalTrench::setBurialDepth(double burialDepth) {
476
1/1
✓ Branch 3 taken 13 times.
13 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->setBurialDepth(burialDepth);
477 }
478
479 13 bool GroundHeatExchangerHorizontalTrench::setSoilThermalConductivity(double soilThermalConductivity) {
480
1/1
✓ Branch 3 taken 13 times.
13 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->setSoilThermalConductivity(soilThermalConductivity);
481 }
482
483 13 bool GroundHeatExchangerHorizontalTrench::setSoilDensity(double soilDensity) {
484
1/1
✓ Branch 3 taken 13 times.
13 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->setSoilDensity(soilDensity);
485 }
486
487 13 bool GroundHeatExchangerHorizontalTrench::setSoilSpecificHeat(double soilSpecificHeat) {
488
1/1
✓ Branch 3 taken 13 times.
13 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->setSoilSpecificHeat(soilSpecificHeat);
489 }
490
491 13 bool GroundHeatExchangerHorizontalTrench::setPipeThermalConductivity(double pipeThermalConductivity) {
492
1/1
✓ Branch 3 taken 13 times.
13 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->setPipeThermalConductivity(pipeThermalConductivity);
493 }
494
495 13 bool GroundHeatExchangerHorizontalTrench::setPipeDensity(double pipeDensity) {
496
1/1
✓ Branch 3 taken 13 times.
13 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->setPipeDensity(pipeDensity);
497 }
498
499 13 bool GroundHeatExchangerHorizontalTrench::setPipeSpecificHeat(double pipeSpecificHeat) {
500
1/1
✓ Branch 3 taken 13 times.
13 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->setPipeSpecificHeat(pipeSpecificHeat);
501 }
502
503 13 bool GroundHeatExchangerHorizontalTrench::setSoilMoistureContentPercent(double soilMoistureContentPercent) {
504
1/1
✓ Branch 3 taken 13 times.
13 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->setSoilMoistureContentPercent(soilMoistureContentPercent);
505 }
506
507 13 bool GroundHeatExchangerHorizontalTrench::setSoilMoistureContentPercentatSaturation(double soilMoistureContentPercentatSaturation) {
508
1/1
✓ Branch 3 taken 13 times.
26 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->setSoilMoistureContentPercentatSaturation(
509 26 soilMoistureContentPercentatSaturation);
510 }
511
512 2 bool GroundHeatExchangerHorizontalTrench::setGroundTemperatureModel(const std::string& groundTemperatureModel) {
513
5/5
✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
✓ Branch 10 taken 2 times.
✓ Branch 13 taken 2 times.
8 DEPRECATED_AT_MSG(3, 6, 0, "Use undisturbedGroundTemperatureModel instead.");
514 2 return false;
515 }
516
517 1 void GroundHeatExchangerHorizontalTrench::resetGroundTemperatureModel() {
518
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, 6, 0, "Use undisturbedGroundTemperatureModel instead.");
519 1 }
520
521 2 bool GroundHeatExchangerHorizontalTrench::setKusudaAchenbachAverageSurfaceTemperature(double kusudaAchenbachAverageSurfaceTemperature) {
522
5/5
✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
✓ Branch 10 taken 2 times.
✓ Branch 13 taken 2 times.
8 DEPRECATED_AT_MSG(3, 6, 0, "Use undisturbedGroundTemperatureModel instead.");
523
4/5
✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
✗ Branch 11 not taken.
✓ Branch 12 taken 2 times.
2 if (undisturbedGroundTemperatureModel().iddObjectType() != IddObjectType::OS_Site_GroundTemperature_Undisturbed_KusudaAchenbach) {
524 ✗ LOG_AND_THROW("Undisturbed ground temperature model is not KusudaAchenbach.");
525 }
526
3/3
✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
4 return undisturbedGroundTemperatureModel().cast<SiteGroundTemperatureUndisturbedKusudaAchenbach>().setAverageSoilSurfaceTemperature(
527 4 kusudaAchenbachAverageSurfaceTemperature);
528 }
529
530 2 bool GroundHeatExchangerHorizontalTrench::setKusudaAchenbachAverageAmplitudeofSurfaceTemperature(
531 double kusudaAchenbachAverageAmplitudeofSurfaceTemperature) {
532
5/5
✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
✓ Branch 10 taken 2 times.
✓ Branch 13 taken 2 times.
8 DEPRECATED_AT_MSG(3, 6, 0, "Use undisturbedGroundTemperatureModel instead.");
533
4/5
✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
✗ Branch 11 not taken.
✓ Branch 12 taken 2 times.
2 if (undisturbedGroundTemperatureModel().iddObjectType() != IddObjectType::OS_Site_GroundTemperature_Undisturbed_KusudaAchenbach) {
534 ✗ LOG_AND_THROW("Undisturbed ground temperature model is not KusudaAchenbach.");
535 }
536
3/3
✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
4 return undisturbedGroundTemperatureModel().cast<SiteGroundTemperatureUndisturbedKusudaAchenbach>().setAverageAmplitudeofSurfaceTemperature(
537 4 kusudaAchenbachAverageAmplitudeofSurfaceTemperature);
538 }
539
540 2 bool GroundHeatExchangerHorizontalTrench::setKusudaAchenbachPhaseShiftofMinimumSurfaceTemperature(
541 double kusudaAchenbachPhaseShiftofMinimumSurfaceTemperature) {
542
5/5
✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
✓ Branch 10 taken 2 times.
✓ Branch 13 taken 2 times.
8 DEPRECATED_AT_MSG(3, 6, 0, "Use undisturbedGroundTemperatureModel instead.");
543
4/5
✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
✗ Branch 11 not taken.
✓ Branch 12 taken 2 times.
2 if (undisturbedGroundTemperatureModel().iddObjectType() != IddObjectType::OS_Site_GroundTemperature_Undisturbed_KusudaAchenbach) {
544 ✗ LOG_AND_THROW("Undisturbed ground temperature model is not KusudaAchenbach.");
545 }
546
3/3
✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
4 return undisturbedGroundTemperatureModel().cast<SiteGroundTemperatureUndisturbedKusudaAchenbach>().setPhaseShiftofMinimumSurfaceTemperature(
547 4 kusudaAchenbachPhaseShiftofMinimumSurfaceTemperature);
548 }
549
550 13 bool GroundHeatExchangerHorizontalTrench::setEvapotranspirationGroundCoverParameter(double evapotranspirationGroundCoverParameter) {
551
1/1
✓ Branch 3 taken 13 times.
26 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->setEvapotranspirationGroundCoverParameter(
552 26 evapotranspirationGroundCoverParameter);
553 }
554
555 13 bool GroundHeatExchangerHorizontalTrench::setUndisturbedGroundTemperatureModel(const ModelObject& undisturbedGroundTemperatureModel) {
556
1/1
✓ Branch 3 taken 13 times.
13 return getImpl<detail::GroundHeatExchangerHorizontalTrench_Impl>()->setUndisturbedGroundTemperatureModel(undisturbedGroundTemperatureModel);
557 }
558
559 /// @cond
560 14 GroundHeatExchangerHorizontalTrench::GroundHeatExchangerHorizontalTrench(std::shared_ptr<detail::GroundHeatExchangerHorizontalTrench_Impl> impl)
561
1/1
✓ Branch 3 taken 14 times.
14 : StraightComponent(std::move(impl)) {}
562 /// @endcond
563
564 } // namespace model
565 } // namespace openstudio
566