GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 59.0% 315 / 0 / 534
Functions: 54.4% 80 / 0 / 147
Branches: 47.1% 253 / 0 / 537

src/model/ElectricEquipmentITEAirCooledDefinition.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 "ElectricEquipmentITEAirCooledDefinition.hpp"
7 #include "ElectricEquipmentITEAirCooledDefinition_Impl.hpp"
8
9 #include "Curve.hpp"
10 #include "Curve_Impl.hpp"
11 #include "CurveBiquadratic.hpp"
12 #include "CurveQuadratic.hpp"
13 #include "Schedule.hpp"
14 #include "Schedule_Impl.hpp"
15 #include "ScheduleTypeLimits.hpp"
16 #include "ScheduleTypeRegistry.hpp"
17
18 #include <utilities/idd/IddFactory.hxx>
19 #include <utilities/idd/IddEnums.hxx>
20 #include <utilities/idd/OS_ElectricEquipment_ITE_AirCooled_Definition_FieldEnums.hxx>
21
22 #include "../utilities/units/Unit.hpp"
23 #include "../utilities/math/FloatCompare.hpp"
24 #include "../utilities/core/Compare.hpp"
25 #include "../utilities/core/Assert.hpp"
26
27 #include "../utilities/core/DeprecatedHelpers.hpp" // For deprecation
28
29 namespace openstudio {
30 namespace model {
31
32 namespace detail {
33
34 25 ElectricEquipmentITEAirCooledDefinition_Impl::ElectricEquipmentITEAirCooledDefinition_Impl(const IdfObject& idfObject, Model_Impl* model,
35 25 bool keepHandle)
36 25 : SpaceLoadDefinition_Impl(idfObject, model, keepHandle) {
37
4/6
✓ Branch 1 taken 25 times.
✓ Branch 4 taken 25 times.
✓ Branch 7 taken 25 times.
✗ Branch 10 not taken.
✓ Branch 11 taken 25 times.
✗ Branch 13 not taken.
25 OS_ASSERT(idfObject.iddObject().type() == ElectricEquipmentITEAirCooledDefinition::iddObjectType());
38 25 }
39
40 ✗ ElectricEquipmentITEAirCooledDefinition_Impl::ElectricEquipmentITEAirCooledDefinition_Impl(const openstudio::detail::WorkspaceObject_Impl& other,
41 ✗ Model_Impl* model, bool keepHandle)
42 ✗ : SpaceLoadDefinition_Impl(other, model, keepHandle) {
43 ✗ OS_ASSERT(other.iddObject().type() == ElectricEquipmentITEAirCooledDefinition::iddObjectType());
44 ✗ }
45
46 48 ElectricEquipmentITEAirCooledDefinition_Impl::ElectricEquipmentITEAirCooledDefinition_Impl(
47 48 const ElectricEquipmentITEAirCooledDefinition_Impl& other, Model_Impl* model, bool keepHandle)
48 48 : SpaceLoadDefinition_Impl(other, model, keepHandle) {}
49
50 ✗ const std::vector<std::string>& ElectricEquipmentITEAirCooledDefinition_Impl::outputVariableNames() const {
51 ✗ static const std::vector<std::string> result;
52 // Not appropriate: output is listed in ElectricEquipment instead
53 ✗ return result;
54 }
55
56 ✗ IddObjectType ElectricEquipmentITEAirCooledDefinition_Impl::iddObjectType() const {
57 ✗ return ElectricEquipmentITEAirCooledDefinition::iddObjectType();
58 }
59
60 ✗ std::vector<ScheduleTypeKey> ElectricEquipmentITEAirCooledDefinition_Impl::getScheduleTypeKeys(const Schedule& schedule) const {
61 ✗ std::vector<ScheduleTypeKey> result;
62 ✗ UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
63 ✗ UnsignedVector::const_iterator b(fieldIndices.begin());
64 ✗ UnsignedVector::const_iterator e(fieldIndices.end());
65 ✗ if (std::find(b, e, OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::SupplyTemperatureDifferenceSchedule) != e) {
66 ✗ result.push_back(ScheduleTypeKey("ElectricEquipmentITEAirCooledDefinition", "Supply Temperature Difference Schedule"));
67 }
68 ✗ if (std::find(b, e, OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::ReturnTemperatureDifferenceSchedule) != e) {
69 ✗ result.push_back(ScheduleTypeKey("ElectricEquipmentITEAirCooledDefinition", "Return Temperature Difference Schedule"));
70 }
71 ✗ return result;
72 ✗ }
73
74 163 std::string ElectricEquipmentITEAirCooledDefinition_Impl::airFlowCalculationMethod() const {
75
1/1
✓ Branch 1 taken 163 times.
163 boost::optional<std::string> value = getString(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::AirFlowCalculationMethod, true);
76
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 163 times.
✗ Branch 4 not taken.
163 OS_ASSERT(value);
77
2/2
✓ Branch 1 taken 163 times.
✓ Branch 4 taken 163 times.
326 return value.get();
78 163 }
79
80 162 std::string ElectricEquipmentITEAirCooledDefinition_Impl::designPowerInputCalculationMethod() const {
81
1/1
✓ Branch 1 taken 162 times.
162 boost::optional<std::string> value = getString(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::DesignPowerInputCalculationMethod, true);
82
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 162 times.
✗ Branch 4 not taken.
162 OS_ASSERT(value);
83
2/2
✓ Branch 1 taken 162 times.
✓ Branch 4 taken 162 times.
324 return value.get();
84 162 }
85
86 59 boost::optional<double> ElectricEquipmentITEAirCooledDefinition_Impl::designLevel() const {
87 59 boost::optional<double> result;
88
5/5
✓ Branch 1 taken 59 times.
✓ Branch 4 taken 59 times.
✓ Branch 7 taken 59 times.
✓ Branch 11 taken 47 times.
✓ Branch 12 taken 12 times.
177 if (istringEqual("Watts/Unit", this->designPowerInputCalculationMethod())) {
89
1/1
✓ Branch 1 taken 47 times.
47 result = getDouble(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::WattsperUnit, true);
90 //OS_ASSERT(result);
91 }
92 59 return result;
93 }
94
95 55 boost::optional<double> ElectricEquipmentITEAirCooledDefinition_Impl::wattsperSpaceFloorArea() const {
96 55 boost::optional<double> result;
97
5/5
✓ Branch 1 taken 55 times.
✓ Branch 4 taken 55 times.
✓ Branch 7 taken 55 times.
✓ Branch 11 taken 32 times.
✓ Branch 12 taken 23 times.
165 if (istringEqual("Watts/Area", this->designPowerInputCalculationMethod())) {
98
1/1
✓ Branch 1 taken 32 times.
32 result = getDouble(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::WattsperSpaceFloorArea, true);
99 //OS_ASSERT(result);
100 }
101 55 return result;
102 }
103
104 28 Curve ElectricEquipmentITEAirCooledDefinition_Impl::cPUPowerInputFunctionofLoadingandAirTemperatureCurve() const {
105
1/1
✓ Branch 1 taken 28 times.
28 boost::optional<Curve> value = optionalCPUPowerInputFunctionofLoadingandAirTemperatureCurve();
106
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 28 times.
28 if (!value) {
107 ✗ LOG_AND_THROW(briefDescription() << " does not have a CPU Power Input Function of Loading and Air Temperature Curve attached.");
108 }
109
2/2
✓ Branch 1 taken 28 times.
✓ Branch 4 taken 28 times.
56 return value.get();
110 28 }
111
112 28 boost::optional<Curve> ElectricEquipmentITEAirCooledDefinition_Impl::optionalCPUPowerInputFunctionofLoadingandAirTemperatureCurve() const {
113
1/1
✓ Branch 1 taken 28 times.
56 return getObject<ModelObject>().getModelObjectTarget<Curve>(
114
1/1
✓ Branch 1 taken 28 times.
56 OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::CPUPowerInputFunctionofLoadingandAirTemperatureCurveName);
115 }
116
117 27 double ElectricEquipmentITEAirCooledDefinition_Impl::designFanPowerInputFraction() const {
118
1/1
✓ Branch 1 taken 27 times.
27 boost::optional<double> value = getDouble(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::DesignFanPowerInputFraction, true);
119
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 27 times.
✗ Branch 4 not taken.
27 OS_ASSERT(value);
120
1/1
✓ Branch 1 taken 27 times.
54 return value.get();
121 }
122
123 ✗ bool ElectricEquipmentITEAirCooledDefinition_Impl::isDesignFanPowerInputFractionDefaulted() const {
124 ✗ return isEmpty(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::DesignFanPowerInputFraction);
125 }
126
127 27 boost::optional<double> ElectricEquipmentITEAirCooledDefinition_Impl::designFanAirFlowRateperPowerInput() const {
128 27 return getDouble(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::DesignFanAirFlowRateperPowerInput, true);
129 }
130
131 27 Curve ElectricEquipmentITEAirCooledDefinition_Impl::airFlowFunctionofLoadingandAirTemperatureCurve() const {
132
1/1
✓ Branch 1 taken 27 times.
27 boost::optional<Curve> value = optionalAirFlowFunctionofLoadingandAirTemperatureCurve();
133
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 27 times.
27 if (!value) {
134 ✗ LOG_AND_THROW(briefDescription() << " does not have an Air Flow Function of Loading and Air Temperature Curve attached.");
135 }
136
2/2
✓ Branch 1 taken 27 times.
✓ Branch 4 taken 27 times.
54 return value.get();
137 27 }
138
139 27 boost::optional<Curve> ElectricEquipmentITEAirCooledDefinition_Impl::optionalAirFlowFunctionofLoadingandAirTemperatureCurve() const {
140
1/1
✓ Branch 1 taken 27 times.
54 return getObject<ModelObject>().getModelObjectTarget<Curve>(
141
1/1
✓ Branch 1 taken 27 times.
54 OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::AirFlowFunctionofLoadingandAirTemperatureCurveName);
142 }
143
144 27 Curve ElectricEquipmentITEAirCooledDefinition_Impl::fanPowerInputFunctionofFlowCurve() const {
145
1/1
✓ Branch 1 taken 27 times.
27 boost::optional<Curve> value = optionalFanPowerInputFunctionofFlowCurve();
146
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 27 times.
27 if (!value) {
147 ✗ LOG_AND_THROW(briefDescription() << " does not have a Fan Power Input Function of Flow Curve attached.");
148 }
149
2/2
✓ Branch 1 taken 27 times.
✓ Branch 4 taken 27 times.
54 return value.get();
150 27 }
151
152 27 boost::optional<Curve> ElectricEquipmentITEAirCooledDefinition_Impl::optionalFanPowerInputFunctionofFlowCurve() const {
153
1/1
✓ Branch 1 taken 27 times.
54 return getObject<ModelObject>().getModelObjectTarget<Curve>(
154
1/1
✓ Branch 1 taken 27 times.
54 OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::FanPowerInputFunctionofFlowCurveName);
155 }
156
157 27 double ElectricEquipmentITEAirCooledDefinition_Impl::designEnteringAirTemperature() const {
158
1/1
✓ Branch 1 taken 27 times.
27 boost::optional<double> value = getDouble(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::DesignEnteringAirTemperature, true);
159
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 27 times.
✗ Branch 4 not taken.
27 OS_ASSERT(value);
160
1/1
✓ Branch 1 taken 27 times.
54 return value.get();
161 }
162
163 ✗ bool ElectricEquipmentITEAirCooledDefinition_Impl::isDesignEnteringAirTemperatureDefaulted() const {
164 ✗ return isEmpty(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::DesignEnteringAirTemperature);
165 }
166
167 29 std::string ElectricEquipmentITEAirCooledDefinition_Impl::environmentalClass() const {
168
1/1
✓ Branch 1 taken 29 times.
29 boost::optional<std::string> value = getString(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::EnvironmentalClass, true);
169
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 29 times.
✗ Branch 4 not taken.
29 OS_ASSERT(value);
170
2/2
✓ Branch 1 taken 29 times.
✓ Branch 4 taken 29 times.
58 return value.get();
171 29 }
172
173 29 std::string ElectricEquipmentITEAirCooledDefinition_Impl::airInletConnectionType() const {
174
1/1
✓ Branch 1 taken 29 times.
29 boost::optional<std::string> value = getString(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::AirInletConnectionType, true);
175
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 29 times.
✗ Branch 4 not taken.
29 OS_ASSERT(value);
176
2/2
✓ Branch 1 taken 29 times.
✓ Branch 4 taken 29 times.
58 return value.get();
177 29 }
178
179 27 double ElectricEquipmentITEAirCooledDefinition_Impl::designRecirculationFraction() const {
180
1/1
✓ Branch 1 taken 27 times.
27 boost::optional<double> value = getDouble(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::DesignRecirculationFraction, true);
181
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 27 times.
✗ Branch 4 not taken.
27 OS_ASSERT(value);
182
1/1
✓ Branch 1 taken 27 times.
54 return value.get();
183 }
184
185 ✗ bool ElectricEquipmentITEAirCooledDefinition_Impl::isDesignRecirculationFractionDefaulted() const {
186 ✗ return isEmpty(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::DesignRecirculationFraction);
187 }
188
189 27 boost::optional<Curve> ElectricEquipmentITEAirCooledDefinition_Impl::recirculationFunctionofLoadingandSupplyTemperatureCurve() const {
190
1/1
✓ Branch 1 taken 27 times.
54 return getObject<ModelObject>().getModelObjectTarget<Curve>(
191
1/1
✓ Branch 1 taken 27 times.
54 OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::RecirculationFunctionofLoadingandSupplyTemperatureCurveName);
192 }
193
194 27 double ElectricEquipmentITEAirCooledDefinition_Impl::designElectricPowerSupplyEfficiency() const {
195
1/1
✓ Branch 1 taken 27 times.
27 boost::optional<double> value = getDouble(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::DesignElectricPowerSupplyEfficiency, true);
196
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 27 times.
✗ Branch 4 not taken.
27 OS_ASSERT(value);
197
1/1
✓ Branch 1 taken 27 times.
54 return value.get();
198 }
199
200 ✗ bool ElectricEquipmentITEAirCooledDefinition_Impl::isDesignElectricPowerSupplyEfficiencyDefaulted() const {
201 ✗ return isEmpty(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::DesignElectricPowerSupplyEfficiency);
202 }
203
204 27 boost::optional<Curve> ElectricEquipmentITEAirCooledDefinition_Impl::electricPowerSupplyEfficiencyFunctionofPartLoadRatioCurve() const {
205
1/1
✓ Branch 1 taken 27 times.
54 return getObject<ModelObject>().getModelObjectTarget<Curve>(
206
1/1
✓ Branch 1 taken 27 times.
54 OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::ElectricPowerSupplyEfficiencyFunctionofPartLoadRatioCurveName);
207 }
208
209 27 double ElectricEquipmentITEAirCooledDefinition_Impl::fractionofElectricPowerSupplyLossestoZone() const {
210
1/1
✓ Branch 1 taken 27 times.
27 boost::optional<double> value = getDouble(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::FractionofElectricPowerSupplyLossestoZone, true);
211
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 27 times.
✗ Branch 4 not taken.
27 OS_ASSERT(value);
212
1/1
✓ Branch 1 taken 27 times.
54 return value.get();
213 }
214
215 ✗ bool ElectricEquipmentITEAirCooledDefinition_Impl::isFractionofElectricPowerSupplyLossestoZoneDefaulted() const {
216 ✗ return isEmpty(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::FractionofElectricPowerSupplyLossestoZone);
217 }
218
219 36 double ElectricEquipmentITEAirCooledDefinition_Impl::supplyTemperatureDifference() const {
220
1/1
✓ Branch 1 taken 36 times.
36 boost::optional<double> value = getDouble(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::SupplyTemperatureDifference, true);
221
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 36 times.
✗ Branch 4 not taken.
36 OS_ASSERT(value);
222
1/1
✓ Branch 1 taken 36 times.
72 return value.get();
223 }
224
225 ✗ bool ElectricEquipmentITEAirCooledDefinition_Impl::isSupplyTemperatureDifferenceDefaulted() const {
226 ✗ return isEmpty(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::SupplyTemperatureDifference);
227 }
228
229 29 boost::optional<Schedule> ElectricEquipmentITEAirCooledDefinition_Impl::supplyTemperatureDifferenceSchedule() const {
230
1/1
✓ Branch 1 taken 29 times.
58 return getObject<ModelObject>().getModelObjectTarget<Schedule>(
231
1/1
✓ Branch 1 taken 29 times.
58 OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::SupplyTemperatureDifferenceSchedule);
232 }
233
234 34 double ElectricEquipmentITEAirCooledDefinition_Impl::returnTemperatureDifference() const {
235
1/1
✓ Branch 1 taken 34 times.
34 boost::optional<double> value = getDouble(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::ReturnTemperatureDifference, true);
236
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 34 times.
✗ Branch 4 not taken.
34 OS_ASSERT(value);
237
1/1
✓ Branch 1 taken 34 times.
68 return value.get();
238 }
239
240 ✗ bool ElectricEquipmentITEAirCooledDefinition_Impl::isReturnTemperatureDifferenceDefaulted() const {
241 ✗ return isEmpty(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::ReturnTemperatureDifference);
242 }
243
244 29 boost::optional<Schedule> ElectricEquipmentITEAirCooledDefinition_Impl::returnTemperatureDifferenceSchedule() const {
245
1/1
✓ Branch 1 taken 29 times.
58 return getObject<ModelObject>().getModelObjectTarget<Schedule>(
246
1/1
✓ Branch 1 taken 29 times.
58 OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::ReturnTemperatureDifferenceSchedule);
247 }
248
249 7 bool ElectricEquipmentITEAirCooledDefinition_Impl::setAirFlowCalculationMethod(const std::string& airFlowCalculationMethod) {
250
1/1
✓ Branch 1 taken 7 times.
7 std::string wmethod(airFlowCalculationMethod);
251
1/1
✓ Branch 2 taken 7 times.
7 boost::to_lower(wmethod);
252
253
2/3
✓ Branch 1 taken 7 times.
✗ Branch 3 not taken.
✓ Branch 4 taken 7 times.
7 if (wmethod == "flowfromsystem") {
254 ✗ return setString(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::AirFlowCalculationMethod, "FlowFromSystem");
255
2/3
✓ Branch 1 taken 7 times.
✓ Branch 3 taken 7 times.
✗ Branch 4 not taken.
7 } else if (wmethod == "flowcontrolwithapproachtemperatures") {
256 bool result;
257
2/2
✓ Branch 1 taken 7 times.
✓ Branch 4 taken 7 times.
14 result = setString(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::AirFlowCalculationMethod, "FlowControlWithApproachTemperatures");
258
1/3
✗ Branch 0 not taken.
✓ Branch 1 taken 7 times.
✗ Branch 3 not taken.
7 OS_ASSERT(result);
259
2/2
✓ Branch 1 taken 7 times.
✓ Branch 4 taken 7 times.
7 result = setSupplyTemperatureDifference(supplyTemperatureDifference());
260
1/3
✗ Branch 0 not taken.
✓ Branch 1 taken 7 times.
✗ Branch 3 not taken.
7 OS_ASSERT(result);
261
2/2
✓ Branch 1 taken 7 times.
✓ Branch 4 taken 7 times.
7 result = setReturnTemperatureDifference(returnTemperatureDifference());
262
1/3
✗ Branch 0 not taken.
✓ Branch 1 taken 7 times.
✗ Branch 3 not taken.
7 OS_ASSERT(result);
263 7 return result;
264 }
265
266 ✗ return false;
267 7 }
268
269 1 bool ElectricEquipmentITEAirCooledDefinition_Impl::setDesignPowerInputCalculationMethod(const std::string& designPowerInputCalculationMethod,
270 double floorArea) {
271
1/1
✓ Branch 1 taken 1 time.
1 std::string wmethod(designPowerInputCalculationMethod);
272
1/1
✓ Branch 2 taken 1 time.
1 boost::to_lower(wmethod);
273
274
2/3
✓ Branch 1 taken 1 time.
✗ Branch 3 not taken.
✓ Branch 4 taken 1 time.
1 if (wmethod == "watts/unit") {
275 ✗ return setDesignLevel(getDesignLevel(floorArea));
276
2/3
✓ Branch 1 taken 1 time.
✓ Branch 3 taken 1 time.
✗ Branch 4 not taken.
1 } else if (wmethod == "watts/area") {
277
3/3
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
1 return setWattsperSpaceFloorArea(getPowerPerFloorArea(floorArea));
278 }
279
280 ✗ return false;
281 1 }
282
283 34 bool ElectricEquipmentITEAirCooledDefinition_Impl::setDesignLevel(boost::optional<double> designLevel) {
284 34 bool result = true;
285
1/2
✓ Branch 0 taken 34 times.
✗ Branch 1 not taken.
34 if (designLevel) {
286
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 34 times.
34 if (*designLevel < 0) {
287 ✗ result = false;
288 } else {
289
2/2
✓ Branch 1 taken 34 times.
✓ Branch 4 taken 34 times.
68 result = setString(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::DesignPowerInputCalculationMethod, "Watts/Unit");
290
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 34 times.
34 OS_ASSERT(result);
291 34 result = setDouble(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::WattsperUnit, designLevel.get());
292
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 34 times.
34 OS_ASSERT(result);
293
2/2
✓ Branch 1 taken 34 times.
✓ Branch 4 taken 34 times.
68 result = setString(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::WattsperSpaceFloorArea, "");
294
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 34 times.
34 OS_ASSERT(result);
295 }
296 } else {
297 ✗ if (istringEqual("Watts/Unit", this->designPowerInputCalculationMethod())) {
298 ✗ result = setDouble(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::WattsperUnit, 0.0);
299 }
300 }
301 34 return result;
302 }
303
304 5 bool ElectricEquipmentITEAirCooledDefinition_Impl::setWattsperSpaceFloorArea(boost::optional<double> wattsperSpaceFloorArea) {
305 5 bool result = true;
306
1/2
✓ Branch 0 taken 5 times.
✗ Branch 1 not taken.
5 if (wattsperSpaceFloorArea) {
307
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
5 if (*wattsperSpaceFloorArea < 0) {
308 ✗ result = false;
309 } else {
310
2/2
✓ Branch 1 taken 5 times.
✓ Branch 4 taken 5 times.
10 result = setString(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::DesignPowerInputCalculationMethod, "Watts/Area");
311
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 5 times.
5 OS_ASSERT(result);
312 5 result = setDouble(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::WattsperSpaceFloorArea, wattsperSpaceFloorArea.get());
313
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 5 times.
5 OS_ASSERT(result);
314
2/2
✓ Branch 1 taken 5 times.
✓ Branch 4 taken 5 times.
10 result = setString(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::WattsperUnit, "");
315
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 5 times.
5 OS_ASSERT(result);
316 }
317 } else {
318 ✗ if (istringEqual("Watts/Area", this->designPowerInputCalculationMethod())) {
319 ✗ result = setDouble(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::WattsperSpaceFloorArea, 0.0);
320 }
321 }
322 5 return result;
323 }
324
325 25 bool ElectricEquipmentITEAirCooledDefinition_Impl::setCPUPowerInputFunctionofLoadingandAirTemperatureCurve(const Curve& curve) {
326 bool result =
327
2/2
✓ Branch 1 taken 25 times.
✓ Branch 4 taken 25 times.
25 setPointer(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::CPUPowerInputFunctionofLoadingandAirTemperatureCurveName, curve.handle());
328 25 return result;
329 }
330
331 ✗ bool ElectricEquipmentITEAirCooledDefinition_Impl::setDesignFanPowerInputFraction(double designFanPowerInputFraction) {
332 ✗ bool result = setDouble(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::DesignFanPowerInputFraction, designFanPowerInputFraction);
333 ✗ return result;
334 }
335
336 ✗ void ElectricEquipmentITEAirCooledDefinition_Impl::resetDesignFanPowerInputFraction() {
337 ✗ bool result = setString(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::DesignFanPowerInputFraction, "");
338 ✗ OS_ASSERT(result);
339 ✗ }
340
341 ✗ bool ElectricEquipmentITEAirCooledDefinition_Impl::setDesignFanAirFlowRateperPowerInput(double designFanAirFlowRateperPowerInput) {
342 bool result =
343 ✗ setDouble(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::DesignFanAirFlowRateperPowerInput, designFanAirFlowRateperPowerInput);
344 ✗ return result;
345 }
346
347 25 bool ElectricEquipmentITEAirCooledDefinition_Impl::setAirFlowFunctionofLoadingandAirTemperatureCurve(const Curve& curve) {
348 bool result =
349
2/2
✓ Branch 1 taken 25 times.
✓ Branch 4 taken 25 times.
25 setPointer(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::AirFlowFunctionofLoadingandAirTemperatureCurveName, curve.handle());
350 25 return result;
351 }
352
353 25 bool ElectricEquipmentITEAirCooledDefinition_Impl::setFanPowerInputFunctionofFlowCurve(const Curve& curve) {
354
2/2
✓ Branch 1 taken 25 times.
✓ Branch 4 taken 25 times.
25 bool result = setPointer(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::FanPowerInputFunctionofFlowCurveName, curve.handle());
355 25 return result;
356 }
357
358 ✗ void ElectricEquipmentITEAirCooledDefinition_Impl::setDesignEnteringAirTemperature(double designEnteringAirTemperature) {
359 ✗ bool result = setDouble(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::DesignEnteringAirTemperature, designEnteringAirTemperature);
360 ✗ OS_ASSERT(result);
361 ✗ }
362
363 ✗ void ElectricEquipmentITEAirCooledDefinition_Impl::resetDesignEnteringAirTemperature() {
364 ✗ bool result = setString(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::DesignEnteringAirTemperature, "");
365 ✗ OS_ASSERT(result);
366 ✗ }
367
368 ✗ bool ElectricEquipmentITEAirCooledDefinition_Impl::setEnvironmentalClass(const std::string& environmentalClass) {
369 ✗ bool result = setString(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::EnvironmentalClass, environmentalClass);
370 ✗ return result;
371 }
372
373 ✗ bool ElectricEquipmentITEAirCooledDefinition_Impl::setAirInletConnectionType(const std::string& airInletConnectionType) {
374 ✗ bool result = setString(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::AirInletConnectionType, airInletConnectionType);
375 ✗ return result;
376 }
377
378 ✗ bool ElectricEquipmentITEAirCooledDefinition_Impl::setDesignRecirculationFraction(double designRecirculationFraction) {
379 ✗ bool result = setDouble(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::DesignRecirculationFraction, designRecirculationFraction);
380 ✗ return result;
381 }
382
383 ✗ void ElectricEquipmentITEAirCooledDefinition_Impl::resetDesignRecirculationFraction() {
384 ✗ bool result = setString(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::DesignRecirculationFraction, "");
385 ✗ OS_ASSERT(result);
386 ✗ }
387
388 ✗ bool ElectricEquipmentITEAirCooledDefinition_Impl::setRecirculationFunctionofLoadingandSupplyTemperatureCurve(const Curve& curve) {
389 bool result =
390 ✗ setPointer(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::RecirculationFunctionofLoadingandSupplyTemperatureCurveName, curve.handle());
391 ✗ return result;
392 }
393
394 ✗ void ElectricEquipmentITEAirCooledDefinition_Impl::resetRecirculationFunctionofLoadingandSupplyTemperatureCurve() {
395 ✗ bool result = setString(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::RecirculationFunctionofLoadingandSupplyTemperatureCurveName, "");
396 ✗ OS_ASSERT(result);
397 ✗ }
398
399 ✗ bool ElectricEquipmentITEAirCooledDefinition_Impl::setDesignElectricPowerSupplyEfficiency(double designElectricPowerSupplyEfficiency) {
400 bool result =
401 ✗ setDouble(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::DesignElectricPowerSupplyEfficiency, designElectricPowerSupplyEfficiency);
402 ✗ return result;
403 }
404
405 ✗ void ElectricEquipmentITEAirCooledDefinition_Impl::resetDesignElectricPowerSupplyEfficiency() {
406 ✗ bool result = setString(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::DesignElectricPowerSupplyEfficiency, "");
407 ✗ OS_ASSERT(result);
408 ✗ }
409
410 ✗ bool ElectricEquipmentITEAirCooledDefinition_Impl::setElectricPowerSupplyEfficiencyFunctionofPartLoadRatioCurve(const Curve& curve) {
411 ✗ bool result = setPointer(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::ElectricPowerSupplyEfficiencyFunctionofPartLoadRatioCurveName,
412 ✗ curve.handle());
413 ✗ return result;
414 }
415
416 ✗ void ElectricEquipmentITEAirCooledDefinition_Impl::resetElectricPowerSupplyEfficiencyFunctionofPartLoadRatioCurve() {
417 ✗ bool result = setString(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::ElectricPowerSupplyEfficiencyFunctionofPartLoadRatioCurveName, "");
418 ✗ OS_ASSERT(result);
419 ✗ }
420
421 bool
422 ✗ ElectricEquipmentITEAirCooledDefinition_Impl::setFractionofElectricPowerSupplyLossestoZone(double fractionofElectricPowerSupplyLossestoZone) {
423 ✗ bool result = setDouble(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::FractionofElectricPowerSupplyLossestoZone,
424 fractionofElectricPowerSupplyLossestoZone);
425 ✗ return result;
426 }
427
428 ✗ void ElectricEquipmentITEAirCooledDefinition_Impl::resetFractionofElectricPowerSupplyLossestoZone() {
429 ✗ bool result = setString(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::FractionofElectricPowerSupplyLossestoZone, "");
430 ✗ OS_ASSERT(result);
431 ✗ }
432
433 8 bool ElectricEquipmentITEAirCooledDefinition_Impl::setSupplyTemperatureDifference(double supplyTemperatureDifference) {
434 8 bool result = setDouble(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::SupplyTemperatureDifference, supplyTemperatureDifference);
435
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 8 times.
8 OS_ASSERT(result);
436 8 return result;
437 }
438
439 ✗ void ElectricEquipmentITEAirCooledDefinition_Impl::resetSupplyTemperatureDifference() {
440 ✗ bool result = setString(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::SupplyTemperatureDifference, "");
441 ✗ OS_ASSERT(result);
442 ✗ }
443
444 1 bool ElectricEquipmentITEAirCooledDefinition_Impl::setSupplyTemperatureDifferenceSchedule(Schedule& schedule) {
445
3/3
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
4 bool result = setSchedule(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::SupplyTemperatureDifferenceSchedule,
446 "ElectricEquipmentITEAirCooledDefinition", "Supply Temperature Difference Schedule", schedule);
447 1 return result;
448 }
449
450 ✗ void ElectricEquipmentITEAirCooledDefinition_Impl::resetSupplyTemperatureDifferenceSchedule() {
451 ✗ bool result = setString(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::SupplyTemperatureDifferenceSchedule, "");
452 ✗ OS_ASSERT(result);
453 ✗ }
454
455 7 bool ElectricEquipmentITEAirCooledDefinition_Impl::setReturnTemperatureDifference(double returnTemperatureDifference) {
456 7 bool result = setDouble(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::ReturnTemperatureDifference, returnTemperatureDifference);
457
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 7 times.
7 OS_ASSERT(result);
458 7 return result;
459 }
460
461 ✗ void ElectricEquipmentITEAirCooledDefinition_Impl::resetReturnTemperatureDifference() {
462 ✗ bool result = setString(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::ReturnTemperatureDifference, "");
463 ✗ OS_ASSERT(result);
464 ✗ }
465
466 1 bool ElectricEquipmentITEAirCooledDefinition_Impl::setReturnTemperatureDifferenceSchedule(Schedule& schedule) {
467
3/3
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
4 bool result = setSchedule(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::ReturnTemperatureDifferenceSchedule,
468 "ElectricEquipmentITEAirCooledDefinition", "Return Temperature Difference Schedule", schedule);
469 1 return result;
470 }
471
472 ✗ void ElectricEquipmentITEAirCooledDefinition_Impl::resetReturnTemperatureDifferenceSchedule() {
473 ✗ bool result = setString(OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::ReturnTemperatureDifferenceSchedule, "");
474 ✗ OS_ASSERT(result);
475 ✗ }
476
477 //Other functions
478 13 double ElectricEquipmentITEAirCooledDefinition_Impl::getDesignLevel(double floorArea) const {
479
1/1
✓ Branch 1 taken 13 times.
13 const std::string method = designPowerInputCalculationMethod();
480
481
3/3
✓ Branch 1 taken 13 times.
✓ Branch 3 taken 3 times.
✓ Branch 4 taken 10 times.
13 if (method == "Watts/Unit") {
482
2/2
✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
3 return designLevel().get();
483
2/3
✓ Branch 1 taken 10 times.
✓ Branch 3 taken 10 times.
✗ Branch 4 not taken.
10 } else if (method == "Watts/Area") {
484
2/2
✓ Branch 1 taken 10 times.
✓ Branch 4 taken 10 times.
10 return wattsperSpaceFloorArea().get() * floorArea;
485 }
486
487 ✗ OS_ASSERT(false);
488 ✗ return 0.0;
489 13 }
490
491 5 double ElectricEquipmentITEAirCooledDefinition_Impl::getPowerPerFloorArea(double floorArea) const {
492
1/1
✓ Branch 1 taken 5 times.
5 const std::string method = designPowerInputCalculationMethod();
493
494
3/3
✓ Branch 1 taken 5 times.
✓ Branch 3 taken 1 time.
✓ Branch 4 taken 4 times.
5 if (method == "Watts/Unit") {
495
1/2
✗ Branch 2 not taken.
✓ Branch 3 taken 1 time.
1 if (equal(floorArea, 0.0)) {
496 ✗ LOG_AND_THROW("Calculation would require division by zero.");
497 }
498
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
1 return designLevel().get() / floorArea;
499
2/3
✓ Branch 1 taken 4 times.
✓ Branch 3 taken 4 times.
✗ Branch 4 not taken.
4 } else if (method == "Watts/Area") {
500
2/2
✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
4 return wattsperSpaceFloorArea().get();
501 }
502
503 ✗ OS_ASSERT(false);
504 ✗ return 0.0;
505 5 }
506
507 } // namespace detail
508
509 //define ElectricEquipmentITEAirCooledDefinition with default curves
510 24 ElectricEquipmentITEAirCooledDefinition::ElectricEquipmentITEAirCooledDefinition(const Model& model)
511 24 : SpaceLoadDefinition(ElectricEquipmentITEAirCooledDefinition::iddObjectType(), model) {
512
1/3
✗ Branch 2 not taken.
✓ Branch 3 taken 24 times.
✗ Branch 5 not taken.
24 OS_ASSERT(getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>());
513
514 //assign default curves
515 //reference: Comparative Study of High Ambient Inlet Temperature Effects on the Performance of Air vs. Liquid Cooled IT Equipment
516
1/1
✓ Branch 1 taken 24 times.
24 CurveBiquadratic cPUPowerInputFunctionofLoadingandAirTemperatureCurve(model);
517
1/1
✓ Branch 1 taken 24 times.
24 cPUPowerInputFunctionofLoadingandAirTemperatureCurve.setCoefficient1Constant(-0.035289);
518
1/1
✓ Branch 1 taken 24 times.
24 cPUPowerInputFunctionofLoadingandAirTemperatureCurve.setCoefficient2x(1.0);
519
1/1
✓ Branch 1 taken 24 times.
24 cPUPowerInputFunctionofLoadingandAirTemperatureCurve.setCoefficient3xPOW2(0.0);
520
1/1
✓ Branch 1 taken 24 times.
24 cPUPowerInputFunctionofLoadingandAirTemperatureCurve.setCoefficient4y(0.0015684);
521
1/1
✓ Branch 1 taken 24 times.
24 cPUPowerInputFunctionofLoadingandAirTemperatureCurve.setCoefficient5yPOW2(0.0);
522
1/1
✓ Branch 1 taken 24 times.
24 cPUPowerInputFunctionofLoadingandAirTemperatureCurve.setCoefficient6xTIMESY(0.0);
523
1/1
✓ Branch 1 taken 24 times.
24 cPUPowerInputFunctionofLoadingandAirTemperatureCurve.setMinimumValueofx(0.0);
524
1/1
✓ Branch 1 taken 24 times.
24 cPUPowerInputFunctionofLoadingandAirTemperatureCurve.setMaximumValueofx(1.5);
525
1/1
✓ Branch 1 taken 24 times.
24 cPUPowerInputFunctionofLoadingandAirTemperatureCurve.setMinimumValueofy(-10);
526
1/1
✓ Branch 1 taken 24 times.
24 cPUPowerInputFunctionofLoadingandAirTemperatureCurve.setMaximumValueofy(99.0);
527
1/1
✓ Branch 1 taken 24 times.
24 setCPUPowerInputFunctionofLoadingandAirTemperatureCurve(cPUPowerInputFunctionofLoadingandAirTemperatureCurve);
528
529 //reference: Comparative Study of High Ambient Inlet Temperature Effects on the Performance of Air vs. Liquid Cooled IT Equipment
530
1/1
✓ Branch 1 taken 24 times.
24 CurveBiquadratic airFlowFunctionofLoadingandAirTemperatureCurve(model);
531
1/1
✓ Branch 1 taken 24 times.
24 airFlowFunctionofLoadingandAirTemperatureCurve.setCoefficient1Constant(-1.025);
532
1/1
✓ Branch 1 taken 24 times.
24 airFlowFunctionofLoadingandAirTemperatureCurve.setCoefficient2x(0.9);
533
1/1
✓ Branch 1 taken 24 times.
24 airFlowFunctionofLoadingandAirTemperatureCurve.setCoefficient3xPOW2(0.0);
534
1/1
✓ Branch 1 taken 24 times.
24 airFlowFunctionofLoadingandAirTemperatureCurve.setCoefficient4y(0.05);
535
1/1
✓ Branch 1 taken 24 times.
24 airFlowFunctionofLoadingandAirTemperatureCurve.setCoefficient5yPOW2(0.0);
536
1/1
✓ Branch 1 taken 24 times.
24 airFlowFunctionofLoadingandAirTemperatureCurve.setCoefficient6xTIMESY(0.0);
537
1/1
✓ Branch 1 taken 24 times.
24 airFlowFunctionofLoadingandAirTemperatureCurve.setMinimumValueofx(0.0);
538
1/1
✓ Branch 1 taken 24 times.
24 airFlowFunctionofLoadingandAirTemperatureCurve.setMaximumValueofx(1.5);
539
1/1
✓ Branch 1 taken 24 times.
24 airFlowFunctionofLoadingandAirTemperatureCurve.setMinimumValueofy(-10);
540
1/1
✓ Branch 1 taken 24 times.
24 airFlowFunctionofLoadingandAirTemperatureCurve.setMaximumValueofy(99.0);
541
1/1
✓ Branch 1 taken 24 times.
24 setAirFlowFunctionofLoadingandAirTemperatureCurve(airFlowFunctionofLoadingandAirTemperatureCurve);
542
543
1/1
✓ Branch 1 taken 24 times.
24 CurveQuadratic fanPowerInputFunctionofFlowCurve(model);
544
1/1
✓ Branch 1 taken 24 times.
24 fanPowerInputFunctionofFlowCurve.setCoefficient1Constant(0.0);
545
1/1
✓ Branch 1 taken 24 times.
24 fanPowerInputFunctionofFlowCurve.setCoefficient2x(1.0);
546
1/1
✓ Branch 1 taken 24 times.
24 fanPowerInputFunctionofFlowCurve.setCoefficient3xPOW2(0.0);
547
1/1
✓ Branch 1 taken 24 times.
24 fanPowerInputFunctionofFlowCurve.setMinimumValueofx(0.0);
548
1/1
✓ Branch 1 taken 24 times.
24 fanPowerInputFunctionofFlowCurve.setMaximumValueofx(99.0);
549
1/1
✓ Branch 1 taken 24 times.
24 setFanPowerInputFunctionofFlowCurve(fanPowerInputFunctionofFlowCurve);
550
551
1/1
✓ Branch 1 taken 24 times.
24 bool test = this->setDesignLevel(0.0);
552
1/3
✗ Branch 0 not taken.
✓ Branch 1 taken 24 times.
✗ Branch 3 not taken.
24 OS_ASSERT(test);
553 24 }
554
555 1 ElectricEquipmentITEAirCooledDefinition::ElectricEquipmentITEAirCooledDefinition(const Model& model,
556 const Curve& cPUPowerInputFunctionofLoadingandAirTemperatureCurve,
557 const Curve& airFlowFunctionofLoadingandAirTemperatureCurve,
558 1 const Curve& fanPowerInputFunctionofFlowCurve)
559 1 : SpaceLoadDefinition(ElectricEquipmentITEAirCooledDefinition::iddObjectType(), model) {
560
1/3
✗ Branch 2 not taken.
✓ Branch 3 taken 1 time.
✗ Branch 5 not taken.
1 OS_ASSERT(getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>());
561
562
1/1
✓ Branch 1 taken 1 time.
1 setCPUPowerInputFunctionofLoadingandAirTemperatureCurve(cPUPowerInputFunctionofLoadingandAirTemperatureCurve);
563
1/1
✓ Branch 1 taken 1 time.
1 setAirFlowFunctionofLoadingandAirTemperatureCurve(airFlowFunctionofLoadingandAirTemperatureCurve);
564
1/1
✓ Branch 1 taken 1 time.
1 setFanPowerInputFunctionofFlowCurve(fanPowerInputFunctionofFlowCurve);
565
566
1/1
✓ Branch 1 taken 1 time.
1 bool test = this->setDesignLevel(0.0);
567
1/3
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
✗ Branch 3 not taken.
1 OS_ASSERT(test);
568 1 }
569
570 7786 IddObjectType ElectricEquipmentITEAirCooledDefinition::iddObjectType() {
571
1/1
✓ Branch 1 taken 7786 times.
7786 return {IddObjectType::OS_ElectricEquipment_ITE_AirCooled_Definition};
572 }
573
574 1 std::vector<std::string> ElectricEquipmentITEAirCooledDefinition::validAirFlowCalculationMethodValues() {
575
4/4
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
2 return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(),
576
1/1
✓ Branch 1 taken 1 time.
2 OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::AirFlowCalculationMethod);
577 }
578
579 1 std::vector<std::string> ElectricEquipmentITEAirCooledDefinition::validDesignPowerInputCalculationMethodValues() {
580
4/4
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
2 return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(),
581
1/1
✓ Branch 1 taken 1 time.
2 OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::DesignPowerInputCalculationMethod);
582 }
583
584 1 std::vector<std::string> ElectricEquipmentITEAirCooledDefinition::validEnvironmentalClassValues() {
585
4/4
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
2 return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(),
586
1/1
✓ Branch 1 taken 1 time.
2 OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::EnvironmentalClass);
587 }
588
589 1 std::vector<std::string> ElectricEquipmentITEAirCooledDefinition::validAirInletConnectionTypeValues() {
590
4/4
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
2 return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(),
591
1/1
✓ Branch 1 taken 1 time.
2 OS_ElectricEquipment_ITE_AirCooled_DefinitionFields::AirInletConnectionType);
592 }
593
594 163 std::string ElectricEquipmentITEAirCooledDefinition::airFlowCalculationMethod() const {
595
1/1
✓ Branch 3 taken 163 times.
163 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->airFlowCalculationMethod();
596 }
597
598 30 std::string ElectricEquipmentITEAirCooledDefinition::designPowerInputCalculationMethod() const {
599
1/1
✓ Branch 3 taken 30 times.
30 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->designPowerInputCalculationMethod();
600 }
601
602 55 boost::optional<double> ElectricEquipmentITEAirCooledDefinition::designLevel() const {
603
1/1
✓ Branch 3 taken 55 times.
55 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->designLevel();
604 }
605
606 41 boost::optional<double> ElectricEquipmentITEAirCooledDefinition::wattsperSpaceFloorArea() const {
607
1/1
✓ Branch 3 taken 41 times.
41 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->wattsperSpaceFloorArea();
608 }
609
610 28 Curve ElectricEquipmentITEAirCooledDefinition::cPUPowerInputFunctionofLoadingandAirTemperatureCurve() const {
611
1/1
✓ Branch 3 taken 28 times.
28 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->cPUPowerInputFunctionofLoadingandAirTemperatureCurve();
612 }
613
614 27 double ElectricEquipmentITEAirCooledDefinition::designFanPowerInputFraction() const {
615
1/1
✓ Branch 3 taken 27 times.
27 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->designFanPowerInputFraction();
616 }
617
618 ✗ bool ElectricEquipmentITEAirCooledDefinition::isDesignFanPowerInputFractionDefaulted() const {
619 ✗ return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->isDesignFanPowerInputFractionDefaulted();
620 }
621
622 27 boost::optional<double> ElectricEquipmentITEAirCooledDefinition::designFanAirFlowRateperPowerInput() const {
623
1/1
✓ Branch 3 taken 27 times.
27 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->designFanAirFlowRateperPowerInput();
624 }
625
626 27 Curve ElectricEquipmentITEAirCooledDefinition::airFlowFunctionofLoadingandAirTemperatureCurve() const {
627
1/1
✓ Branch 3 taken 27 times.
27 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->airFlowFunctionofLoadingandAirTemperatureCurve();
628 }
629
630 27 Curve ElectricEquipmentITEAirCooledDefinition::fanPowerInputFunctionofFlowCurve() const {
631
1/1
✓ Branch 3 taken 27 times.
27 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->fanPowerInputFunctionofFlowCurve();
632 }
633
634 27 double ElectricEquipmentITEAirCooledDefinition::designEnteringAirTemperature() const {
635
1/1
✓ Branch 3 taken 27 times.
27 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->designEnteringAirTemperature();
636 }
637
638 ✗ bool ElectricEquipmentITEAirCooledDefinition::isDesignEnteringAirTemperatureDefaulted() const {
639 ✗ return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->isDesignEnteringAirTemperatureDefaulted();
640 }
641
642 29 std::string ElectricEquipmentITEAirCooledDefinition::environmentalClass() const {
643
1/1
✓ Branch 3 taken 29 times.
29 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->environmentalClass();
644 }
645
646 29 std::string ElectricEquipmentITEAirCooledDefinition::airInletConnectionType() const {
647
1/1
✓ Branch 3 taken 29 times.
29 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->airInletConnectionType();
648 }
649
650 27 double ElectricEquipmentITEAirCooledDefinition::designRecirculationFraction() const {
651
1/1
✓ Branch 3 taken 27 times.
27 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->designRecirculationFraction();
652 }
653
654 ✗ bool ElectricEquipmentITEAirCooledDefinition::isDesignRecirculationFractionDefaulted() const {
655 ✗ return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->isDesignRecirculationFractionDefaulted();
656 }
657
658 27 boost::optional<Curve> ElectricEquipmentITEAirCooledDefinition::recirculationFunctionofLoadingandSupplyTemperatureCurve() const {
659
1/1
✓ Branch 3 taken 27 times.
27 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->recirculationFunctionofLoadingandSupplyTemperatureCurve();
660 }
661
662 27 double ElectricEquipmentITEAirCooledDefinition::designElectricPowerSupplyEfficiency() const {
663
1/1
✓ Branch 3 taken 27 times.
27 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->designElectricPowerSupplyEfficiency();
664 }
665
666 ✗ bool ElectricEquipmentITEAirCooledDefinition::isDesignElectricPowerSupplyEfficiencyDefaulted() const {
667 ✗ return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->isDesignElectricPowerSupplyEfficiencyDefaulted();
668 }
669
670 27 boost::optional<Curve> ElectricEquipmentITEAirCooledDefinition::electricPowerSupplyEfficiencyFunctionofPartLoadRatioCurve() const {
671
1/1
✓ Branch 3 taken 27 times.
27 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->electricPowerSupplyEfficiencyFunctionofPartLoadRatioCurve();
672 }
673
674 27 double ElectricEquipmentITEAirCooledDefinition::fractionofElectricPowerSupplyLossestoZone() const {
675
1/1
✓ Branch 3 taken 27 times.
27 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->fractionofElectricPowerSupplyLossestoZone();
676 }
677
678 ✗ bool ElectricEquipmentITEAirCooledDefinition::isFractionofElectricPowerSupplyLossestoZoneDefaulted() const {
679 ✗ return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->isFractionofElectricPowerSupplyLossestoZoneDefaulted();
680 }
681
682 29 double ElectricEquipmentITEAirCooledDefinition::supplyTemperatureDifference() const {
683
1/1
✓ Branch 3 taken 29 times.
29 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->supplyTemperatureDifference();
684 }
685
686 ✗ bool ElectricEquipmentITEAirCooledDefinition::isSupplyTemperatureDifferenceDefaulted() const {
687 ✗ return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->isSupplyTemperatureDifferenceDefaulted();
688 }
689
690 29 boost::optional<Schedule> ElectricEquipmentITEAirCooledDefinition::supplyTemperatureDifferenceSchedule() const {
691
1/1
✓ Branch 3 taken 29 times.
29 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->supplyTemperatureDifferenceSchedule();
692 }
693
694 27 double ElectricEquipmentITEAirCooledDefinition::returnTemperatureDifference() const {
695
1/1
✓ Branch 3 taken 27 times.
27 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->returnTemperatureDifference();
696 }
697
698 ✗ bool ElectricEquipmentITEAirCooledDefinition::isReturnTemperatureDifferenceDefaulted() const {
699 ✗ return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->isReturnTemperatureDifferenceDefaulted();
700 }
701
702 29 boost::optional<Schedule> ElectricEquipmentITEAirCooledDefinition::returnTemperatureDifferenceSchedule() const {
703
1/1
✓ Branch 3 taken 29 times.
29 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->returnTemperatureDifferenceSchedule();
704 }
705
706 7 bool ElectricEquipmentITEAirCooledDefinition::setAirFlowCalculationMethod(const std::string& airFlowCalculationMethod) {
707
1/1
✓ Branch 3 taken 7 times.
7 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->setAirFlowCalculationMethod(airFlowCalculationMethod);
708 }
709
710 1 bool ElectricEquipmentITEAirCooledDefinition::setDesignPowerInputCalculationMethod(const std::string& designPowerInputCalculationMethod,
711 double floorArea) {
712
1/1
✓ Branch 3 taken 1 time.
2 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->setDesignPowerInputCalculationMethod(designPowerInputCalculationMethod,
713 2 floorArea);
714 }
715
716 34 bool ElectricEquipmentITEAirCooledDefinition::setDesignLevel(double designLevel) {
717
2/2
✓ Branch 3 taken 34 times.
✓ Branch 6 taken 34 times.
34 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->setDesignLevel(designLevel);
718 }
719
720 4 bool ElectricEquipmentITEAirCooledDefinition::setWattsperSpaceFloorArea(double wattsperSpaceFloorArea) {
721
2/2
✓ Branch 3 taken 4 times.
✓ Branch 6 taken 4 times.
4 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->setWattsperSpaceFloorArea(wattsperSpaceFloorArea);
722 }
723
724 25 bool ElectricEquipmentITEAirCooledDefinition::setCPUPowerInputFunctionofLoadingandAirTemperatureCurve(const Curve& curve) {
725
1/1
✓ Branch 3 taken 25 times.
25 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->setCPUPowerInputFunctionofLoadingandAirTemperatureCurve(curve);
726 }
727
728 ✗ bool ElectricEquipmentITEAirCooledDefinition::setDesignFanPowerInputFraction(double designFanPowerInputFraction) {
729 ✗ return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->setDesignFanPowerInputFraction(designFanPowerInputFraction);
730 }
731
732 ✗ void ElectricEquipmentITEAirCooledDefinition::resetDesignFanPowerInputFraction() {
733 ✗ getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->resetDesignFanPowerInputFraction();
734 ✗ }
735
736 ✗ bool ElectricEquipmentITEAirCooledDefinition::setDesignFanAirFlowRateperPowerInput(double designFanAirFlowRateperPowerInput) {
737 ✗ return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->setDesignFanAirFlowRateperPowerInput(designFanAirFlowRateperPowerInput);
738 }
739
740 25 bool ElectricEquipmentITEAirCooledDefinition::setAirFlowFunctionofLoadingandAirTemperatureCurve(const Curve& curve) {
741
1/1
✓ Branch 3 taken 25 times.
25 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->setAirFlowFunctionofLoadingandAirTemperatureCurve(curve);
742 }
743
744 25 bool ElectricEquipmentITEAirCooledDefinition::setFanPowerInputFunctionofFlowCurve(const Curve& curve) {
745
1/1
✓ Branch 3 taken 25 times.
25 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->setFanPowerInputFunctionofFlowCurve(curve);
746 }
747
748 ✗ void ElectricEquipmentITEAirCooledDefinition::setDesignEnteringAirTemperature(double designEnteringAirTemperature) {
749 ✗ getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->setDesignEnteringAirTemperature(designEnteringAirTemperature);
750 ✗ }
751
752 ✗ void ElectricEquipmentITEAirCooledDefinition::resetDesignEnteringAirTemperature() {
753 ✗ getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->resetDesignEnteringAirTemperature();
754 ✗ }
755
756 ✗ bool ElectricEquipmentITEAirCooledDefinition::setEnvironmentalClass(const std::string& environmentalClass) {
757 ✗ return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->setEnvironmentalClass(environmentalClass);
758 }
759
760 ✗ bool ElectricEquipmentITEAirCooledDefinition::setAirInletConnectionType(const std::string& airInletConnectionType) {
761 ✗ return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->setAirInletConnectionType(airInletConnectionType);
762 }
763
764 ✗ bool ElectricEquipmentITEAirCooledDefinition::setDesignRecirculationFraction(double designRecirculationFraction) {
765 ✗ return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->setDesignRecirculationFraction(designRecirculationFraction);
766 }
767
768 ✗ void ElectricEquipmentITEAirCooledDefinition::resetDesignRecirculationFraction() {
769 ✗ getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->resetDesignRecirculationFraction();
770 ✗ }
771
772 ✗ bool ElectricEquipmentITEAirCooledDefinition::setRecirculationFunctionofLoadingandSupplyTemperatureCurve(const Curve& curve) {
773 ✗ return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->setRecirculationFunctionofLoadingandSupplyTemperatureCurve(curve);
774 }
775
776 ✗ void ElectricEquipmentITEAirCooledDefinition::resetRecirculationFunctionofLoadingandSupplyTemperatureCurve() {
777 ✗ getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->resetRecirculationFunctionofLoadingandSupplyTemperatureCurve();
778 ✗ }
779
780 ✗ bool ElectricEquipmentITEAirCooledDefinition::setDesignElectricPowerSupplyEfficiency(double designElectricPowerSupplyEfficiency) {
781 ✗ return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->setDesignElectricPowerSupplyEfficiency(
782 ✗ designElectricPowerSupplyEfficiency);
783 }
784
785 ✗ void ElectricEquipmentITEAirCooledDefinition::resetDesignElectricPowerSupplyEfficiency() {
786 ✗ getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->resetDesignElectricPowerSupplyEfficiency();
787 ✗ }
788
789 ✗ bool ElectricEquipmentITEAirCooledDefinition::setElectricPowerSupplyEfficiencyFunctionofPartLoadRatioCurve(const Curve& curve) {
790 ✗ return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->setElectricPowerSupplyEfficiencyFunctionofPartLoadRatioCurve(curve);
791 }
792
793 ✗ void ElectricEquipmentITEAirCooledDefinition::resetElectricPowerSupplyEfficiencyFunctionofPartLoadRatioCurve() {
794 ✗ getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->resetElectricPowerSupplyEfficiencyFunctionofPartLoadRatioCurve();
795 ✗ }
796
797 ✗ bool ElectricEquipmentITEAirCooledDefinition::setFractionofElectricPowerSupplyLossestoZone(double fractionofElectricPowerSupplyLossestoZone) {
798 ✗ return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->setFractionofElectricPowerSupplyLossestoZone(
799 ✗ fractionofElectricPowerSupplyLossestoZone);
800 }
801
802 ✗ void ElectricEquipmentITEAirCooledDefinition::resetFractionofElectricPowerSupplyLossestoZone() {
803 ✗ getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->resetFractionofElectricPowerSupplyLossestoZone();
804 ✗ }
805
806 1 bool ElectricEquipmentITEAirCooledDefinition::setSupplyTemperatureDifference(double supplyTemperatureDifference) {
807
1/1
✓ Branch 3 taken 1 time.
1 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->setSupplyTemperatureDifference(supplyTemperatureDifference);
808 }
809
810 ✗ void ElectricEquipmentITEAirCooledDefinition::resetSupplyTemperatureDifference() {
811 ✗ getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->resetSupplyTemperatureDifference();
812 ✗ }
813
814 1 bool ElectricEquipmentITEAirCooledDefinition::setSupplyTemperatureDifferenceSchedule(Schedule& schedule) {
815
1/1
✓ Branch 3 taken 1 time.
1 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->setSupplyTemperatureDifferenceSchedule(schedule);
816 }
817
818 ✗ void ElectricEquipmentITEAirCooledDefinition::resetSupplyTemperatureDifferenceSchedule() {
819 ✗ getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->resetSupplyTemperatureDifferenceSchedule();
820 ✗ }
821
822 ✗ bool ElectricEquipmentITEAirCooledDefinition::setReturnTemperatureDifference(double returnTemperatureDifference) {
823 ✗ return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->setReturnTemperatureDifference(returnTemperatureDifference);
824 }
825
826 ✗ void ElectricEquipmentITEAirCooledDefinition::resetReturnTemperatureDifference() {
827 ✗ getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->resetReturnTemperatureDifference();
828 ✗ }
829
830 1 bool ElectricEquipmentITEAirCooledDefinition::setReturnTemperatureDifferenceSchedule(Schedule& schedule) {
831
1/1
✓ Branch 3 taken 1 time.
1 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->setReturnTemperatureDifferenceSchedule(schedule);
832 }
833
834 ✗ void ElectricEquipmentITEAirCooledDefinition::resetReturnTemperatureDifferenceSchedule() {
835 ✗ getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->resetReturnTemperatureDifferenceSchedule();
836 ✗ }
837
838 13 double ElectricEquipmentITEAirCooledDefinition::getDesignLevel(double floorArea) const {
839
1/1
✓ Branch 3 taken 13 times.
13 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->getDesignLevel(floorArea);
840 }
841
842 4 double ElectricEquipmentITEAirCooledDefinition::getPowerPerFloorArea(double floorArea) const {
843
1/1
✓ Branch 3 taken 4 times.
4 return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->getPowerPerFloorArea(floorArea);
844 }
845
846 // DEPRECATED
847
848 ✗ boost::optional<double> ElectricEquipmentITEAirCooledDefinition::wattsperUnit() const {
849 ✗ DEPRECATED_AT_MSG(3, 8, 0, "Use designLevel instead.");
850 ✗ return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->designLevel();
851 }
852
853 ✗ bool ElectricEquipmentITEAirCooledDefinition::setWattsperUnit(double designLevel) {
854 ✗ DEPRECATED_AT_MSG(3, 8, 0, "Use setDesignLevel instead.");
855 ✗ return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->setDesignLevel(designLevel);
856 }
857
858 ✗ double ElectricEquipmentITEAirCooledDefinition::getWattsperUnit(double floorArea) const {
859 ✗ DEPRECATED_AT_MSG(3, 8, 0, "Use getDesignLevel instead.");
860 ✗ return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->getDesignLevel(floorArea);
861 }
862
863 ✗ boost::optional<double> ElectricEquipmentITEAirCooledDefinition::wattsperZoneFloorArea() const {
864 ✗ DEPRECATED_AT_MSG(3, 8, 0, "Use wattsperSpaceFloorArea instead.");
865 ✗ return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->wattsperSpaceFloorArea();
866 }
867
868 ✗ bool ElectricEquipmentITEAirCooledDefinition::setWattsperZoneFloorArea(double wattsperSpaceFloorArea) {
869 ✗ DEPRECATED_AT_MSG(3, 8, 0, "Use setWattsperSpaceFloorArea instead.");
870 ✗ return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->setWattsperSpaceFloorArea(wattsperSpaceFloorArea);
871 }
872
873 ✗ double ElectricEquipmentITEAirCooledDefinition::getWattsperZoneFloorArea(double floorArea) const {
874 ✗ DEPRECATED_AT_MSG(3, 8, 0, "Use getPowerPerFloorArea instead.");
875 ✗ return getImpl<detail::ElectricEquipmentITEAirCooledDefinition_Impl>()->getPowerPerFloorArea(floorArea);
876 }
877
878 /// @cond
879 175 ElectricEquipmentITEAirCooledDefinition::ElectricEquipmentITEAirCooledDefinition(
880 175 std::shared_ptr<detail::ElectricEquipmentITEAirCooledDefinition_Impl> impl)
881
1/1
✓ Branch 2 taken 175 times.
175 : SpaceLoadDefinition(impl) {}
882 /// @endcond
883
884 } // namespace model
885 } // namespace openstudio
886