GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 59.4% 793 / 0 / 1335
Functions: 59.9% 246 / 0 / 411
Branches: 47.7% 487 / 0 / 1021

src/model/RefrigerationCase.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 "RefrigerationCase.hpp"
7 #include "RefrigerationCase_Impl.hpp"
8
9 #include "RefrigerationSystem_Impl.hpp"
10 #include "RefrigerationSecondarySystem_Impl.hpp"
11 #include "RefrigerationCompressorRack_Impl.hpp"
12 #include "Schedule.hpp"
13 #include "Schedule_Impl.hpp"
14 #include "ThermalZone.hpp"
15 #include "ThermalZone_Impl.hpp"
16 #include "CurveCubic.hpp"
17 #include "CurveCubic_Impl.hpp"
18 #include "ScheduleTypeLimits.hpp"
19 #include "ScheduleTypeRegistry.hpp"
20 #include "Model.hpp"
21 #include "Model_Impl.hpp"
22 #include "RefrigerationDefrostCycleParameters.hpp"
23 #include "RefrigerationDefrostCycleParameters_Impl.hpp"
24
25 #include <utilities/idd/IddFactory.hxx>
26
27 #include <utilities/idd/OS_Refrigeration_Case_FieldEnums.hxx>
28 #include <utilities/idd/IddEnums.hxx>
29
30 #include "../utilities/time/Time.hpp"
31
32 #include "../utilities/core/Assert.hpp"
33
34 namespace openstudio {
35 namespace model {
36
37 namespace detail {
38
39 82 RefrigerationCase_Impl::RefrigerationCase_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle)
40 82 : ParentObject_Impl(idfObject, model, keepHandle) {
41
4/6
✓ Branch 1 taken 82 times.
✓ Branch 4 taken 82 times.
✓ Branch 7 taken 82 times.
✗ Branch 10 not taken.
✓ Branch 11 taken 82 times.
✗ Branch 13 not taken.
82 OS_ASSERT(idfObject.iddObject().type() == RefrigerationCase::iddObjectType());
42 82 }
43
44 ✗ RefrigerationCase_Impl::RefrigerationCase_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle)
45 ✗ : ParentObject_Impl(other, model, keepHandle) {
46 ✗ OS_ASSERT(other.iddObject().type() == RefrigerationCase::iddObjectType());
47 ✗ }
48
49 30 RefrigerationCase_Impl::RefrigerationCase_Impl(const RefrigerationCase_Impl& other, Model_Impl* model, bool keepHandle)
50 30 : ParentObject_Impl(other, model, keepHandle) {}
51
52 ✗ const std::vector<std::string>& RefrigerationCase_Impl::outputVariableNames() const {
53 static const std::vector<std::string> result{
54 "Refrigeration Case Evaporator Total Cooling Rate", "Refrigeration Case Evaporator Total Cooling Energy",
55 "Refrigeration Case Evaporator Sensible Cooling Rate", "Refrigeration Case Evaporator Sensible Cooling Energy",
56 "Refrigeration Case Evaporator Latent Cooling Rate", "Refrigeration Case Evaporator Latent Cooling Energy",
57 "Refrigeration Case Zone Sensible Cooling Rate", "Refrigeration Case Zone Sensible Cooling Energy",
58 "Refrigeration Case Zone Sensible Heating Rate", "Refrigeration Case Zone Sensible Heating Energy", "Refrigeration Case Zone Latent Rate",
59 "Refrigeration Case Zone Latent Energy", "Refrigeration Case Return Air Sensible Cooling Rate",
60 "Refrigeration Case Return Air Sensible Cooling Energy", "Refrigeration Case Return Air Sensible Heating Rate",
61 "Refrigeration Case Return Air Sensible Heating Energy", "Refrigeration Case Return Air Latent Rate",
62 "Refrigeration Case Return Air Latent Energy", "Refrigeration Case Evaporator Fan Electricity Rate",
63 "Refrigeration Case Evaporator Fan Electricity Energy", "Refrigeration Case Lighting Electricity Rate",
64 "Refrigeration Case Lighting Electricity Energy", "Refrigeration Case Latent Credit Curve Value",
65
66 // TODO: implement tests
67
68 // If case defrost type is Electric, Hot-Gas, or Hot-Brine with Temperature Termination
69 "Refrigeration Case Defrost Energy Correction Curve Value",
70 // If anti-sweat heater control type is not equal to None:
71 "Refrigeration Case Anti Sweat Electricity Rate", "Refrigeration Case Anti Sweat Electricity Energy",
72 // If case defrost type is Electric or Electric with Temperature Termination:
73 "Refrigeration Case Defrost Electricity Rate", "Refrigeration Case Defrost Electricity Energy"
74
75 ✗ };
76 ✗ return result;
77 ✗ }
78
79 ✗ IddObjectType RefrigerationCase_Impl::iddObjectType() const {
80 ✗ return RefrigerationCase::iddObjectType();
81 }
82
83 ✗ std::vector<ScheduleTypeKey> RefrigerationCase_Impl::getScheduleTypeKeys(const Schedule& schedule) const {
84 ✗ std::vector<ScheduleTypeKey> result;
85 ✗ UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
86 ✗ UnsignedVector::const_iterator b(fieldIndices.begin());
87 ✗ UnsignedVector::const_iterator e(fieldIndices.end());
88 ✗ if (std::find(b, e, OS_Refrigeration_CaseFields::AvailabilityScheduleName) != e) {
89 ✗ result.push_back(ScheduleTypeKey("RefrigerationCase", "Availability"));
90 }
91 ✗ if (std::find(b, e, OS_Refrigeration_CaseFields::CaseLightingScheduleName) != e) {
92 ✗ result.push_back(ScheduleTypeKey("RefrigerationCase", "Case Lighting"));
93 }
94 ✗ if (std::find(b, e, OS_Refrigeration_CaseFields::CaseDefrostScheduleName) != e) {
95 ✗ result.push_back(ScheduleTypeKey("RefrigerationCase", "Case Defrost"));
96 }
97 ✗ if (std::find(b, e, OS_Refrigeration_CaseFields::CaseDefrostDripDownScheduleName) != e) {
98 ✗ result.push_back(ScheduleTypeKey("RefrigerationCase", "Case Defrost Drip-Down"));
99 }
100 ✗ if (std::find(b, e, OS_Refrigeration_CaseFields::RefrigeratedCaseRestockingScheduleName) != e) {
101 ✗ result.push_back(ScheduleTypeKey("RefrigerationCase", "Refrigerated Case Restocking"));
102 }
103 ✗ if (std::find(b, e, OS_Refrigeration_CaseFields::CaseCreditFractionScheduleName) != e) {
104 ✗ result.push_back(ScheduleTypeKey("RefrigerationCase", "Case Credit Fraction"));
105 }
106 ✗ return result;
107 ✗ }
108
109 15 ModelObject RefrigerationCase_Impl::clone(Model model) const {
110
3/3
✓ Branch 1 taken 15 times.
✓ Branch 4 taken 15 times.
✓ Branch 7 taken 15 times.
15 auto modelObjectClone = ModelObject_Impl::clone(model).cast<RefrigerationCase>();
111
112
3/3
✓ Branch 1 taken 15 times.
✓ Branch 3 taken 1 time.
✓ Branch 4 taken 14 times.
30 if (boost::optional<RefrigerationDefrostCycleParameters> caseDefrostCycleParameters = this->optionalCaseDefrostCycleParameters()) {
113
1/1
✓ Branch 3 taken 1 time.
3 modelObjectClone.getImpl<RefrigerationCase_Impl>()->setCaseDefrostCycleParameters(
114
4/4
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
2 caseDefrostCycleParameters->clone(model).cast<RefrigerationDefrostCycleParameters>());
115 15 }
116
117
1/1
✓ Branch 1 taken 15 times.
15 modelObjectClone.resetThermalZone();
118
119 30 return std::move(modelObjectClone);
120 15 }
121
122 6 std::vector<IdfObject> RefrigerationCase_Impl::remove() {
123 6 std::vector<IdfObject> result;
124
125
1/1
✓ Branch 1 taken 6 times.
6 this->removeFromSystem();
126
1/1
✓ Branch 1 taken 6 times.
6 this->removeFromSecondarySystem();
127
1/1
✓ Branch 1 taken 6 times.
6 this->removeFromCompressorRack();
128
129
3/3
✓ Branch 1 taken 6 times.
✓ Branch 3 taken 2 times.
✓ Branch 4 taken 4 times.
12 if (boost::optional<RefrigerationDefrostCycleParameters> caseDefrostCycleParameters = this->optionalCaseDefrostCycleParameters()) {
130
2/2
✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
2 std::vector<IdfObject> removedDefrostCycleParameters = caseDefrostCycleParameters->remove();
131
1/1
✓ Branch 5 taken 2 times.
2 result.insert(result.end(), removedDefrostCycleParameters.begin(), removedDefrostCycleParameters.end());
132 8 }
133
134
1/1
✓ Branch 1 taken 6 times.
6 std::vector<IdfObject> removedRefrigerationCase = ParentObject_Impl::remove();
135
1/1
✓ Branch 5 taken 6 times.
6 result.insert(result.end(), removedRefrigerationCase.begin(), removedRefrigerationCase.end());
136
137 12 return result;
138 6 }
139
140 ✗ std::vector<IddObjectType> RefrigerationCase_Impl::allowableChildTypes() const {
141 ✗ std::vector<IddObjectType> result;
142 ✗ result.push_back(IddObjectType::OS_Curve_Cubic);
143 ✗ return result;
144 ✗ }
145
146 6 std::vector<ModelObject> RefrigerationCase_Impl::children() const {
147 6 std::vector<ModelObject> result;
148
3/4
✓ Branch 1 taken 6 times.
✓ Branch 4 taken 6 times.
✓ Branch 8 taken 6 times.
✗ Branch 9 not taken.
12 if (boost::optional<CurveCubic> intermediate = latentCaseCreditCurve()) {
149
2/2
✓ Branch 1 taken 6 times.
✓ Branch 4 taken 6 times.
6 result.push_back(*intermediate);
150 6 }
151
152
2/3
✓ Branch 1 taken 6 times.
✗ Branch 3 not taken.
✓ Branch 4 taken 6 times.
12 if (auto curve = defrostEnergyCorrectionCurve()) {
153 ✗ result.push_back(curve.get());
154 6 }
155
156 6 return result;
157 ✗ }
158
159 ✗ boost::optional<Schedule> RefrigerationCase_Impl::availabilitySchedule() const {
160 ✗ return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_Refrigeration_CaseFields::AvailabilityScheduleName);
161 }
162
163 ✗ boost::optional<ThermalZone> RefrigerationCase_Impl::thermalZone() const {
164 ✗ return getObject<ModelObject>().getModelObjectTarget<ThermalZone>(OS_Refrigeration_CaseFields::ZoneName);
165 }
166
167 6 double RefrigerationCase_Impl::ratedAmbientTemperature() const {
168
1/1
✓ Branch 1 taken 6 times.
6 boost::optional<double> value = getDouble(OS_Refrigeration_CaseFields::RatedAmbientTemperature, true);
169
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 6 times.
✗ Branch 4 not taken.
6 OS_ASSERT(value);
170
1/1
✓ Branch 1 taken 6 times.
12 return value.get();
171 }
172
173 ✗ bool RefrigerationCase_Impl::isRatedAmbientTemperatureDefaulted() const {
174 ✗ return isEmpty(OS_Refrigeration_CaseFields::RatedAmbientTemperature);
175 }
176
177 6 double RefrigerationCase_Impl::ratedAmbientRelativeHumidity() const {
178
1/1
✓ Branch 1 taken 6 times.
6 boost::optional<double> value = getDouble(OS_Refrigeration_CaseFields::RatedAmbientRelativeHumidity, true);
179
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 6 times.
✗ Branch 4 not taken.
6 OS_ASSERT(value);
180
1/1
✓ Branch 1 taken 6 times.
12 return value.get();
181 }
182
183 ✗ bool RefrigerationCase_Impl::isRatedAmbientRelativeHumidityDefaulted() const {
184 ✗ return isEmpty(OS_Refrigeration_CaseFields::RatedAmbientRelativeHumidity);
185 }
186
187 6 double RefrigerationCase_Impl::ratedTotalCoolingCapacityperUnitLength() const {
188
1/1
✓ Branch 1 taken 6 times.
6 boost::optional<double> value = getDouble(OS_Refrigeration_CaseFields::RatedTotalCoolingCapacityperUnitLength, true);
189
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 6 times.
✗ Branch 4 not taken.
6 OS_ASSERT(value);
190
1/1
✓ Branch 1 taken 6 times.
12 return value.get();
191 }
192
193 ✗ bool RefrigerationCase_Impl::isRatedTotalCoolingCapacityperUnitLengthDefaulted() const {
194 ✗ return isEmpty(OS_Refrigeration_CaseFields::RatedTotalCoolingCapacityperUnitLength);
195 }
196
197 6 double RefrigerationCase_Impl::ratedLatentHeatRatio() const {
198
1/1
✓ Branch 1 taken 6 times.
6 boost::optional<double> value = getDouble(OS_Refrigeration_CaseFields::RatedLatentHeatRatio, true);
199
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 6 times.
✗ Branch 4 not taken.
6 OS_ASSERT(value);
200
1/1
✓ Branch 1 taken 6 times.
12 return value.get();
201 }
202
203 ✗ bool RefrigerationCase_Impl::isRatedLatentHeatRatioDefaulted() const {
204 ✗ return isEmpty(OS_Refrigeration_CaseFields::RatedLatentHeatRatio);
205 }
206
207 6 double RefrigerationCase_Impl::ratedRuntimeFraction() const {
208
1/1
✓ Branch 1 taken 6 times.
6 boost::optional<double> value = getDouble(OS_Refrigeration_CaseFields::RatedRuntimeFraction, true);
209
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 6 times.
✗ Branch 4 not taken.
6 OS_ASSERT(value);
210
1/1
✓ Branch 1 taken 6 times.
12 return value.get();
211 }
212
213 ✗ bool RefrigerationCase_Impl::isRatedRuntimeFractionDefaulted() const {
214 ✗ return isEmpty(OS_Refrigeration_CaseFields::RatedRuntimeFraction);
215 }
216
217 6 double RefrigerationCase_Impl::caseLength() const {
218
1/1
✓ Branch 1 taken 6 times.
6 boost::optional<double> value = getDouble(OS_Refrigeration_CaseFields::CaseLength, true);
219
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 6 times.
✗ Branch 4 not taken.
6 OS_ASSERT(value);
220
1/1
✓ Branch 1 taken 6 times.
12 return value.get();
221 }
222
223 ✗ bool RefrigerationCase_Impl::isCaseLengthDefaulted() const {
224 ✗ return isEmpty(OS_Refrigeration_CaseFields::CaseLength);
225 }
226
227 6 double RefrigerationCase_Impl::caseOperatingTemperature() const {
228
1/1
✓ Branch 1 taken 6 times.
6 boost::optional<double> value = getDouble(OS_Refrigeration_CaseFields::CaseOperatingTemperature, true);
229
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 6 times.
✗ Branch 4 not taken.
6 OS_ASSERT(value);
230
1/1
✓ Branch 1 taken 6 times.
12 return value.get();
231 }
232
233 ✗ bool RefrigerationCase_Impl::isCaseOperatingTemperatureDefaulted() const {
234 ✗ return isEmpty(OS_Refrigeration_CaseFields::CaseOperatingTemperature);
235 }
236
237 3 std::string RefrigerationCase_Impl::latentCaseCreditCurveType() const {
238
1/1
✓ Branch 1 taken 3 times.
3 boost::optional<std::string> value = getString(OS_Refrigeration_CaseFields::LatentCaseCreditCurveType, true);
239
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
3 OS_ASSERT(value);
240
2/2
✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
6 return value.get();
241 3 }
242
243 ✗ bool RefrigerationCase_Impl::isLatentCaseCreditCurveTypeDefaulted() const {
244 ✗ return isEmpty(OS_Refrigeration_CaseFields::LatentCaseCreditCurveType);
245 }
246
247 13 CurveCubic RefrigerationCase_Impl::latentCaseCreditCurve() const {
248
1/1
✓ Branch 1 taken 13 times.
13 boost::optional<CurveCubic> value = optionalLatentCaseCreditCurve();
249
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 13 times.
13 if (!value) {
250 ✗ LOG_AND_THROW(briefDescription() << " does not have an Latent Case Credit Curve attached.");
251 }
252
2/2
✓ Branch 1 taken 13 times.
✓ Branch 4 taken 13 times.
26 return value.get();
253 13 }
254
255 6 double RefrigerationCase_Impl::standardCaseFanPowerperUnitLength() const {
256
1/1
✓ Branch 1 taken 6 times.
6 boost::optional<double> value = getDouble(OS_Refrigeration_CaseFields::StandardCaseFanPowerperUnitLength, true);
257
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 6 times.
✗ Branch 4 not taken.
6 OS_ASSERT(value);
258
1/1
✓ Branch 1 taken 6 times.
12 return value.get();
259 }
260
261 ✗ bool RefrigerationCase_Impl::isStandardCaseFanPowerperUnitLengthDefaulted() const {
262 ✗ return isEmpty(OS_Refrigeration_CaseFields::StandardCaseFanPowerperUnitLength);
263 }
264
265 6 double RefrigerationCase_Impl::operatingCaseFanPowerperUnitLength() const {
266
1/1
✓ Branch 1 taken 6 times.
6 boost::optional<double> value = getDouble(OS_Refrigeration_CaseFields::OperatingCaseFanPowerperUnitLength, true);
267
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 6 times.
✗ Branch 4 not taken.
6 OS_ASSERT(value);
268
1/1
✓ Branch 1 taken 6 times.
12 return value.get();
269 }
270
271 ✗ bool RefrigerationCase_Impl::isOperatingCaseFanPowerperUnitLengthDefaulted() const {
272 ✗ return isEmpty(OS_Refrigeration_CaseFields::OperatingCaseFanPowerperUnitLength);
273 }
274
275 7 double RefrigerationCase_Impl::standardCaseLightingPowerperUnitLength() const {
276
1/1
✓ Branch 1 taken 7 times.
7 boost::optional<double> value = getDouble(OS_Refrigeration_CaseFields::StandardCaseLightingPowerperUnitLength, true);
277
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
7 OS_ASSERT(value);
278
1/1
✓ Branch 1 taken 7 times.
14 return value.get();
279 }
280
281 ✗ bool RefrigerationCase_Impl::isStandardCaseLightingPowerperUnitLengthDefaulted() const {
282 ✗ return isEmpty(OS_Refrigeration_CaseFields::StandardCaseLightingPowerperUnitLength);
283 }
284
285 7 boost::optional<double> RefrigerationCase_Impl::installedCaseLightingPowerperUnitLength() const {
286 7 return getDouble(OS_Refrigeration_CaseFields::InstalledCaseLightingPowerperUnitLength, true);
287 }
288
289 ✗ boost::optional<Schedule> RefrigerationCase_Impl::caseLightingSchedule() const {
290 ✗ return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_Refrigeration_CaseFields::CaseLightingScheduleName);
291 }
292
293 6 double RefrigerationCase_Impl::fractionofLightingEnergytoCase() const {
294
1/1
✓ Branch 1 taken 6 times.
6 boost::optional<double> value = getDouble(OS_Refrigeration_CaseFields::FractionofLightingEnergytoCase, true);
295
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 6 times.
✗ Branch 4 not taken.
6 OS_ASSERT(value);
296
1/1
✓ Branch 1 taken 6 times.
12 return value.get();
297 }
298
299 ✗ bool RefrigerationCase_Impl::isFractionofLightingEnergytoCaseDefaulted() const {
300 ✗ return isEmpty(OS_Refrigeration_CaseFields::FractionofLightingEnergytoCase);
301 }
302
303 3 double RefrigerationCase_Impl::caseAntiSweatHeaterPowerperUnitLength() const {
304
1/1
✓ Branch 1 taken 3 times.
3 boost::optional<double> value = getDouble(OS_Refrigeration_CaseFields::CaseAntiSweatHeaterPowerperUnitLength, true);
305
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
3 OS_ASSERT(value);
306
1/1
✓ Branch 1 taken 3 times.
6 return value.get();
307 }
308
309 ✗ bool RefrigerationCase_Impl::isCaseAntiSweatHeaterPowerperUnitLengthDefaulted() const {
310 ✗ return isEmpty(OS_Refrigeration_CaseFields::CaseAntiSweatHeaterPowerperUnitLength);
311 }
312
313 ✗ double RefrigerationCase_Impl::minimumAntiSweatHeaterPowerperUnitLength() const {
314 ✗ boost::optional<double> value = getDouble(OS_Refrigeration_CaseFields::MinimumAntiSweatHeaterPowerperUnitLength, true);
315 ✗ OS_ASSERT(value);
316 ✗ return value.get();
317 }
318
319 ✗ bool RefrigerationCase_Impl::isMinimumAntiSweatHeaterPowerperUnitLengthDefaulted() const {
320 ✗ return isEmpty(OS_Refrigeration_CaseFields::MinimumAntiSweatHeaterPowerperUnitLength);
321 }
322
323 2 std::string RefrigerationCase_Impl::antiSweatHeaterControlType() const {
324
1/1
✓ Branch 1 taken 2 times.
2 boost::optional<std::string> value = getString(OS_Refrigeration_CaseFields::AntiSweatHeaterControlType, true);
325
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
2 OS_ASSERT(value);
326
2/2
✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
4 return value.get();
327 2 }
328
329 ✗ bool RefrigerationCase_Impl::isAntiSweatHeaterControlTypeDefaulted() const {
330 ✗ return isEmpty(OS_Refrigeration_CaseFields::AntiSweatHeaterControlType);
331 }
332
333 7 double RefrigerationCase_Impl::humidityatZeroAntiSweatHeaterEnergy() const {
334
1/1
✓ Branch 1 taken 7 times.
7 boost::optional<double> value = getDouble(OS_Refrigeration_CaseFields::HumidityatZeroAntiSweatHeaterEnergy, true);
335
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
7 OS_ASSERT(value);
336
1/1
✓ Branch 1 taken 7 times.
14 return value.get();
337 }
338
339 ✗ bool RefrigerationCase_Impl::isHumidityatZeroAntiSweatHeaterEnergyDefaulted() const {
340 ✗ return isEmpty(OS_Refrigeration_CaseFields::HumidityatZeroAntiSweatHeaterEnergy);
341 }
342
343 6 double RefrigerationCase_Impl::caseHeight() const {
344
1/1
✓ Branch 1 taken 6 times.
6 boost::optional<double> value = getDouble(OS_Refrigeration_CaseFields::CaseHeight, true);
345
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 6 times.
✗ Branch 4 not taken.
6 OS_ASSERT(value);
346
1/1
✓ Branch 1 taken 6 times.
12 return value.get();
347 }
348
349 ✗ bool RefrigerationCase_Impl::isCaseHeightDefaulted() const {
350 ✗ return isEmpty(OS_Refrigeration_CaseFields::CaseHeight);
351 }
352
353 6 double RefrigerationCase_Impl::fractionofAntiSweatHeaterEnergytoCase() const {
354
1/1
✓ Branch 1 taken 6 times.
6 boost::optional<double> value = getDouble(OS_Refrigeration_CaseFields::FractionofAntiSweatHeaterEnergytoCase, true);
355
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 6 times.
✗ Branch 4 not taken.
6 OS_ASSERT(value);
356
1/1
✓ Branch 1 taken 6 times.
12 return value.get();
357 }
358
359 ✗ bool RefrigerationCase_Impl::isFractionofAntiSweatHeaterEnergytoCaseDefaulted() const {
360 ✗ return isEmpty(OS_Refrigeration_CaseFields::FractionofAntiSweatHeaterEnergytoCase);
361 }
362
363 6 double RefrigerationCase_Impl::caseDefrostPowerperUnitLength() const {
364
1/1
✓ Branch 1 taken 6 times.
6 boost::optional<double> value = getDouble(OS_Refrigeration_CaseFields::CaseDefrostPowerperUnitLength, true);
365
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 6 times.
✗ Branch 4 not taken.
6 OS_ASSERT(value);
366
1/1
✓ Branch 1 taken 6 times.
12 return value.get();
367 }
368
369 ✗ bool RefrigerationCase_Impl::isCaseDefrostPowerperUnitLengthDefaulted() const {
370 ✗ return isEmpty(OS_Refrigeration_CaseFields::CaseDefrostPowerperUnitLength);
371 }
372
373 3 std::string RefrigerationCase_Impl::caseDefrostType() const {
374
1/1
✓ Branch 1 taken 3 times.
3 boost::optional<std::string> value = getString(OS_Refrigeration_CaseFields::CaseDefrostType, true);
375
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
3 OS_ASSERT(value);
376
2/2
✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
6 return value.get();
377 3 }
378
379 ✗ bool RefrigerationCase_Impl::isCaseDefrostTypeDefaulted() const {
380 ✗ return isEmpty(OS_Refrigeration_CaseFields::CaseDefrostType);
381 }
382
383 ✗ boost::optional<Schedule> RefrigerationCase_Impl::caseDefrostSchedule() const {
384 ✗ return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_Refrigeration_CaseFields::CaseDefrostScheduleName);
385 }
386
387 ✗ boost::optional<Schedule> RefrigerationCase_Impl::caseDefrostDripDownSchedule() const {
388 ✗ return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_Refrigeration_CaseFields::CaseDefrostDripDownScheduleName);
389 }
390
391 2 std::string RefrigerationCase_Impl::defrostEnergyCorrectionCurveType() const {
392
1/1
✓ Branch 1 taken 2 times.
2 boost::optional<std::string> value = getString(OS_Refrigeration_CaseFields::DefrostEnergyCorrectionCurveType, true);
393
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
2 OS_ASSERT(value);
394
2/2
✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
4 return value.get();
395 2 }
396
397 ✗ bool RefrigerationCase_Impl::isDefrostEnergyCorrectionCurveTypeDefaulted() const {
398 ✗ return isEmpty(OS_Refrigeration_CaseFields::DefrostEnergyCorrectionCurveType);
399 }
400
401 6 boost::optional<CurveCubic> RefrigerationCase_Impl::defrostEnergyCorrectionCurve() const {
402
2/2
✓ Branch 1 taken 6 times.
✓ Branch 4 taken 6 times.
6 return getObject<ModelObject>().getModelObjectTarget<CurveCubic>(OS_Refrigeration_CaseFields::DefrostEnergyCorrectionCurveName);
403 }
404
405 6 double RefrigerationCase_Impl::underCaseHVACReturnAirFraction() const {
406
1/1
✓ Branch 1 taken 6 times.
6 boost::optional<double> value = getDouble(OS_Refrigeration_CaseFields::UnderCaseHVACReturnAirFraction, true);
407
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 6 times.
✗ Branch 4 not taken.
6 OS_ASSERT(value);
408
1/1
✓ Branch 1 taken 6 times.
12 return value.get();
409 }
410
411 ✗ bool RefrigerationCase_Impl::isUnderCaseHVACReturnAirFractionDefaulted() const {
412 ✗ return isEmpty(OS_Refrigeration_CaseFields::UnderCaseHVACReturnAirFraction);
413 }
414
415 ✗ boost::optional<Schedule> RefrigerationCase_Impl::refrigeratedCaseRestockingSchedule() const {
416 ✗ return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_Refrigeration_CaseFields::RefrigeratedCaseRestockingScheduleName);
417 }
418
419 ✗ boost::optional<Schedule> RefrigerationCase_Impl::caseCreditFractionSchedule() const {
420 ✗ return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_Refrigeration_CaseFields::CaseCreditFractionScheduleName);
421 }
422
423 6 boost::optional<double> RefrigerationCase_Impl::designEvaporatorTemperatureorBrineInletTemperature() const {
424 6 return getDouble(OS_Refrigeration_CaseFields::DesignEvaporatorTemperatureorBrineInletTemperature, true);
425 }
426
427 3 double RefrigerationCase_Impl::averageRefrigerantChargeInventory() const {
428
1/1
✓ Branch 1 taken 3 times.
3 boost::optional<double> value = getDouble(OS_Refrigeration_CaseFields::AverageRefrigerantChargeInventory, true);
429
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
3 OS_ASSERT(value);
430
1/1
✓ Branch 1 taken 3 times.
6 return value.get();
431 }
432
433 ✗ bool RefrigerationCase_Impl::isAverageRefrigerantChargeInventoryDefaulted() const {
434 ✗ return isEmpty(OS_Refrigeration_CaseFields::AverageRefrigerantChargeInventory);
435 }
436
437 3 boost::optional<int> RefrigerationCase_Impl::numberOfDoors() const {
438 3 return getInt(OS_Refrigeration_CaseFields::NumberOfDoors, true);
439 }
440
441 3 boost::optional<double> RefrigerationCase_Impl::ratedTotalCoolingCapacityperDoor() const {
442 3 return getDouble(OS_Refrigeration_CaseFields::RatedTotalCoolingCapacityperDoor, true);
443 }
444
445 3 boost::optional<double> RefrigerationCase_Impl::standardCaseFanPowerperDoor() const {
446 3 return getDouble(OS_Refrigeration_CaseFields::StandardCaseFanPowerperDoor, true);
447 }
448
449 3 boost::optional<double> RefrigerationCase_Impl::operatingCaseFanPowerperDoor() const {
450 3 return getDouble(OS_Refrigeration_CaseFields::OperatingCaseFanPowerperDoor, true);
451 }
452
453 3 boost::optional<double> RefrigerationCase_Impl::standardCaseLightingPowerperDoor() const {
454 3 return getDouble(OS_Refrigeration_CaseFields::StandardCaseLightingPowerperDoor, true);
455 }
456
457 3 boost::optional<double> RefrigerationCase_Impl::installedCaseLightingPowerperDoor() const {
458 3 return getDouble(OS_Refrigeration_CaseFields::InstalledCaseLightingPowerperDoor, true);
459 }
460
461 3 boost::optional<double> RefrigerationCase_Impl::caseAntiSweatHeaterPowerperDoor() const {
462 3 return getDouble(OS_Refrigeration_CaseFields::CaseAntiSweatHeaterPowerperDoor, true);
463 }
464
465 3 boost::optional<double> RefrigerationCase_Impl::minimumAntiSweatHeaterPowerperDoor() const {
466 3 return getDouble(OS_Refrigeration_CaseFields::MinimumAntiSweatHeaterPowerperDoor, true);
467 }
468
469 3 boost::optional<double> RefrigerationCase_Impl::caseDefrostPowerperDoor() const {
470 3 return getDouble(OS_Refrigeration_CaseFields::CaseDefrostPowerperDoor, true);
471 }
472
473 2 std::string RefrigerationCase_Impl::unitType() const {
474
1/1
✓ Branch 1 taken 2 times.
2 boost::optional<std::string> value = getString(OS_Refrigeration_CaseFields::UnitType, true);
475
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
2 OS_ASSERT(value);
476
2/2
✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
4 return value.get();
477 2 }
478
479 ✗ bool RefrigerationCase_Impl::isUnitTypeDefaulted() const {
480 ✗ return isEmpty(OS_Refrigeration_CaseFields::UnitType);
481 }
482
483 55 boost::optional<RefrigerationDefrostCycleParameters> RefrigerationCase_Impl::optionalCaseDefrostCycleParameters() const {
484
1/1
✓ Branch 1 taken 55 times.
110 return getObject<ModelObject>().getModelObjectTarget<RefrigerationDefrostCycleParameters>(
485
1/1
✓ Branch 1 taken 55 times.
110 OS_Refrigeration_CaseFields::CaseDefrostCycleParametersName);
486 }
487
488 11 RefrigerationDefrostCycleParameters RefrigerationCase_Impl::caseDefrostCycleParameters() {
489
1/1
✓ Branch 1 taken 11 times.
11 boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalCaseDefrostCycleParameters();
490
2/2
✓ Branch 1 taken 1 time.
✓ Branch 2 taken 10 times.
11 if (!defrostCycleParameters) {
491
3/3
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
1 defrostCycleParameters = RefrigerationDefrostCycleParameters(this->model());
492
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 1 time.
✗ Branch 4 not taken.
1 OS_ASSERT(defrostCycleParameters);
493
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
1 bool result = setCaseDefrostCycleParameters(*defrostCycleParameters);
494
1/3
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
✗ Branch 3 not taken.
1 OS_ASSERT(result);
495 }
496
2/2
✓ Branch 1 taken 11 times.
✓ Branch 4 taken 11 times.
22 return *defrostCycleParameters;
497 11 }
498
499 1 boost::optional<int> RefrigerationCase_Impl::durationofDefrostCycle() const {
500
2/3
✓ Branch 1 taken 1 time.
✓ Branch 3 taken 1 time.
✗ Branch 4 not taken.
2 if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalCaseDefrostCycleParameters()) {
501
2/2
✓ Branch 1 taken 1 time.
✓ Branch 6 taken 1 time.
1 return defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->durationofDefrostCycle();
502 1 }
503 ✗ return boost::none;
504 }
505
506 1 boost::optional<int> RefrigerationCase_Impl::dripDownTime() const {
507
2/3
✓ Branch 1 taken 1 time.
✓ Branch 3 taken 1 time.
✗ Branch 4 not taken.
2 if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalCaseDefrostCycleParameters()) {
508
2/2
✓ Branch 1 taken 1 time.
✓ Branch 6 taken 1 time.
1 return defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->dripDownTime();
509 1 }
510 ✗ return boost::none;
511 }
512
513 2 boost::optional<openstudio::Time> RefrigerationCase_Impl::defrost1StartTime() const {
514
2/3
✓ Branch 1 taken 2 times.
✓ Branch 3 taken 2 times.
✗ Branch 4 not taken.
4 if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalCaseDefrostCycleParameters()) {
515
2/2
✓ Branch 1 taken 2 times.
✓ Branch 6 taken 2 times.
2 return defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->defrost1StartTime();
516 2 }
517 ✗ return boost::none;
518 }
519
520 2 boost::optional<openstudio::Time> RefrigerationCase_Impl::defrost2StartTime() const {
521
2/3
✓ Branch 1 taken 2 times.
✓ Branch 3 taken 2 times.
✗ Branch 4 not taken.
4 if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalCaseDefrostCycleParameters()) {
522
2/2
✓ Branch 1 taken 2 times.
✓ Branch 6 taken 2 times.
2 return defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->defrost2StartTime();
523 2 }
524 ✗ return boost::none;
525 }
526
527 2 boost::optional<openstudio::Time> RefrigerationCase_Impl::defrost3StartTime() const {
528
2/3
✓ Branch 1 taken 2 times.
✓ Branch 3 taken 2 times.
✗ Branch 4 not taken.
4 if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalCaseDefrostCycleParameters()) {
529
2/2
✓ Branch 1 taken 2 times.
✓ Branch 6 taken 2 times.
2 return defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->defrost3StartTime();
530 2 }
531 ✗ return boost::none;
532 }
533
534 2 boost::optional<openstudio::Time> RefrigerationCase_Impl::defrost4StartTime() const {
535
2/3
✓ Branch 1 taken 2 times.
✓ Branch 3 taken 2 times.
✗ Branch 4 not taken.
4 if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalCaseDefrostCycleParameters()) {
536
2/2
✓ Branch 1 taken 2 times.
✓ Branch 6 taken 2 times.
2 return defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->defrost4StartTime();
537 2 }
538 ✗ return boost::none;
539 }
540
541 2 boost::optional<openstudio::Time> RefrigerationCase_Impl::defrost5StartTime() const {
542
2/3
✓ Branch 1 taken 2 times.
✓ Branch 3 taken 2 times.
✗ Branch 4 not taken.
4 if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalCaseDefrostCycleParameters()) {
543
2/2
✓ Branch 1 taken 2 times.
✓ Branch 6 taken 2 times.
2 return defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->defrost5StartTime();
544 2 }
545 ✗ return boost::none;
546 }
547
548 2 boost::optional<openstudio::Time> RefrigerationCase_Impl::defrost6StartTime() const {
549
2/3
✓ Branch 1 taken 2 times.
✓ Branch 3 taken 2 times.
✗ Branch 4 not taken.
4 if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalCaseDefrostCycleParameters()) {
550
2/2
✓ Branch 1 taken 2 times.
✓ Branch 6 taken 2 times.
2 return defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->defrost6StartTime();
551 2 }
552 ✗ return boost::none;
553 }
554
555 2 boost::optional<openstudio::Time> RefrigerationCase_Impl::defrost7StartTime() const {
556
2/3
✓ Branch 1 taken 2 times.
✓ Branch 3 taken 2 times.
✗ Branch 4 not taken.
4 if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalCaseDefrostCycleParameters()) {
557
2/2
✓ Branch 1 taken 2 times.
✓ Branch 6 taken 2 times.
2 return defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->defrost7StartTime();
558 2 }
559 ✗ return boost::none;
560 }
561
562 2 boost::optional<openstudio::Time> RefrigerationCase_Impl::defrost8StartTime() const {
563
2/3
✓ Branch 1 taken 2 times.
✓ Branch 3 taken 2 times.
✗ Branch 4 not taken.
4 if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalCaseDefrostCycleParameters()) {
564
2/2
✓ Branch 1 taken 2 times.
✓ Branch 6 taken 2 times.
2 return defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->defrost8StartTime();
565 2 }
566 ✗ return boost::none;
567 }
568
569 ✗ std::vector<openstudio::Time> RefrigerationCase_Impl::defrostStartTimes() const {
570 ✗ std::vector<openstudio::Time> result;
571 ✗ if (boost::optional<openstudio::Time> defrost1StartTime = this->defrost1StartTime()) {
572 ✗ result.push_back(*defrost1StartTime);
573 ✗ }
574 ✗ if (boost::optional<openstudio::Time> defrost2StartTime = this->defrost2StartTime()) {
575 ✗ result.push_back(*defrost2StartTime);
576 ✗ }
577 ✗ if (boost::optional<openstudio::Time> defrost3StartTime = this->defrost3StartTime()) {
578 ✗ result.push_back(*defrost3StartTime);
579 ✗ }
580 ✗ if (boost::optional<openstudio::Time> defrost4StartTime = this->defrost4StartTime()) {
581 ✗ result.push_back(*defrost4StartTime);
582 ✗ }
583 ✗ if (boost::optional<openstudio::Time> defrost5StartTime = this->defrost5StartTime()) {
584 ✗ result.push_back(*defrost5StartTime);
585 ✗ }
586 ✗ if (boost::optional<openstudio::Time> defrost6StartTime = this->defrost6StartTime()) {
587 ✗ result.push_back(*defrost6StartTime);
588 ✗ }
589 ✗ if (boost::optional<openstudio::Time> defrost7StartTime = this->defrost7StartTime()) {
590 ✗ result.push_back(*defrost7StartTime);
591 ✗ }
592 ✗ if (boost::optional<openstudio::Time> defrost8StartTime = this->defrost8StartTime()) {
593 ✗ result.push_back(*defrost8StartTime);
594 ✗ }
595 ✗ return result;
596 ✗ }
597
598 23 boost::optional<RefrigerationSystem> RefrigerationCase_Impl::system() const {
599
2/2
✓ Branch 1 taken 23 times.
✓ Branch 4 taken 23 times.
23 std::vector<RefrigerationSystem> refrigerationSystems = this->model().getConcreteModelObjects<RefrigerationSystem>();
600
1/1
✓ Branch 1 taken 23 times.
23 auto refrigerationCase = this->getObject<RefrigerationCase>();
601
2/2
✓ Branch 5 taken 19 times.
✓ Branch 6 taken 20 times.
39 for (const RefrigerationSystem& refrigerationSystem : refrigerationSystems) {
602
1/1
✓ Branch 1 taken 19 times.
19 RefrigerationCaseVector refrigerationCases = refrigerationSystem.cases();
603 19 if (!refrigerationCases.empty()
604
7/7
✓ Branch 0 taken 7 times.
✓ Branch 1 taken 12 times.
✓ Branch 6 taken 7 times.
✓ Branch 9 taken 3 times.
✓ Branch 10 taken 4 times.
✓ Branch 11 taken 3 times.
✓ Branch 12 taken 16 times.
19 && std::find(refrigerationCases.begin(), refrigerationCases.end(), refrigerationCase) != refrigerationCases.end()) {
605
1/1
✓ Branch 1 taken 3 times.
3 return refrigerationSystem;
606 }
607 19 }
608 20 return boost::none;
609 23 }
610
611 17 boost::optional<RefrigerationSecondarySystem> RefrigerationCase_Impl::secondarySystem() const {
612
2/2
✓ Branch 1 taken 17 times.
✓ Branch 4 taken 17 times.
17 std::vector<RefrigerationSecondarySystem> refrigerationSecondarySystems = this->model().getConcreteModelObjects<RefrigerationSecondarySystem>();
613
1/1
✓ Branch 1 taken 17 times.
17 auto refrigerationCase = this->getObject<RefrigerationCase>();
614
2/2
✓ Branch 5 taken 11 times.
✓ Branch 6 taken 17 times.
28 for (const RefrigerationSecondarySystem& refrigerationSecondarySystem : refrigerationSecondarySystems) {
615
1/1
✓ Branch 1 taken 11 times.
11 RefrigerationCaseVector refrigerationCases = refrigerationSecondarySystem.cases();
616 11 if (!refrigerationCases.empty()
617
5/7
✓ Branch 0 taken 4 times.
✓ Branch 1 taken 7 times.
✓ Branch 6 taken 4 times.
✗ Branch 9 not taken.
✓ Branch 10 taken 4 times.
✗ Branch 11 not taken.
✓ Branch 12 taken 11 times.
11 && std::find(refrigerationCases.begin(), refrigerationCases.end(), refrigerationCase) != refrigerationCases.end()) {
618 ✗ return refrigerationSecondarySystem;
619 }
620 11 }
621 17 return boost::none;
622 17 }
623
624 7 boost::optional<RefrigerationCompressorRack> RefrigerationCase_Impl::compressorRack() const {
625
2/2
✓ Branch 1 taken 7 times.
✓ Branch 4 taken 7 times.
7 std::vector<RefrigerationCompressorRack> refrigerationCompressorRacks = this->model().getConcreteModelObjects<RefrigerationCompressorRack>();
626
1/1
✓ Branch 1 taken 7 times.
7 auto refrigerationCase = this->getObject<RefrigerationCase>();
627
2/2
✓ Branch 5 taken 1 time.
✓ Branch 6 taken 7 times.
8 for (const RefrigerationCompressorRack& refrigerationCompressorRack : refrigerationCompressorRacks) {
628
1/1
✓ Branch 1 taken 1 time.
1 RefrigerationCaseVector refrigerationCases = refrigerationCompressorRack.cases();
629 1 if (!refrigerationCases.empty()
630
2/7
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
✗ Branch 6 not taken.
✗ Branch 9 not taken.
✗ Branch 10 not taken.
✗ Branch 11 not taken.
✓ Branch 12 taken 1 time.
1 && std::find(refrigerationCases.begin(), refrigerationCases.end(), refrigerationCase) != refrigerationCases.end()) {
631 ✗ return refrigerationCompressorRack;
632 }
633 1 }
634 7 return boost::none;
635 7 }
636
637 ✗ bool RefrigerationCase_Impl::setAvailabilitySchedule(Schedule& schedule) {
638 ✗ bool result = setSchedule(OS_Refrigeration_CaseFields::AvailabilityScheduleName, "RefrigerationCase", "Availability", schedule);
639 ✗ return result;
640 }
641
642 ✗ void RefrigerationCase_Impl::resetAvailabilitySchedule() {
643 ✗ bool result = setString(OS_Refrigeration_CaseFields::AvailabilityScheduleName, "");
644 ✗ OS_ASSERT(result);
645 ✗ }
646
647 ✗ bool RefrigerationCase_Impl::setThermalZone(const ThermalZone& thermalZone) {
648 ✗ bool result = setPointer(OS_Refrigeration_CaseFields::ZoneName, thermalZone.handle());
649 ✗ return result;
650 }
651
652 15 void RefrigerationCase_Impl::resetThermalZone() {
653
2/2
✓ Branch 1 taken 15 times.
✓ Branch 4 taken 15 times.
30 bool result = setString(OS_Refrigeration_CaseFields::ZoneName, "");
654
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 15 times.
15 OS_ASSERT(result);
655 15 }
656
657 87 bool RefrigerationCase_Impl::setRatedAmbientTemperature(double ratedAmbientTemperature) {
658 87 bool result = setDouble(OS_Refrigeration_CaseFields::RatedAmbientTemperature, ratedAmbientTemperature);
659 87 return result;
660 }
661
662 1 void RefrigerationCase_Impl::resetRatedAmbientTemperature() {
663
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Refrigeration_CaseFields::RatedAmbientTemperature, "");
664
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
665 1 }
666
667 89 bool RefrigerationCase_Impl::setRatedAmbientRelativeHumidity(double ratedAmbientRelativeHumidity) {
668 89 bool result = setDouble(OS_Refrigeration_CaseFields::RatedAmbientRelativeHumidity, ratedAmbientRelativeHumidity);
669 89 return result;
670 }
671
672 1 void RefrigerationCase_Impl::resetRatedAmbientRelativeHumidity() {
673
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Refrigeration_CaseFields::RatedAmbientRelativeHumidity, "");
674
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
675 1 }
676
677 87 bool RefrigerationCase_Impl::setRatedTotalCoolingCapacityperUnitLength(double ratedTotalCoolingCapacityperUnitLength) {
678 87 bool result = setDouble(OS_Refrigeration_CaseFields::RatedTotalCoolingCapacityperUnitLength, ratedTotalCoolingCapacityperUnitLength);
679 87 return result;
680 }
681
682 1 void RefrigerationCase_Impl::resetRatedTotalCoolingCapacityperUnitLength() {
683
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Refrigeration_CaseFields::RatedTotalCoolingCapacityperUnitLength, "");
684
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
685 1 }
686
687 89 bool RefrigerationCase_Impl::setRatedLatentHeatRatio(double ratedLatentHeatRatio) {
688 89 bool result = setDouble(OS_Refrigeration_CaseFields::RatedLatentHeatRatio, ratedLatentHeatRatio);
689 89 return result;
690 }
691
692 1 void RefrigerationCase_Impl::resetRatedLatentHeatRatio() {
693
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Refrigeration_CaseFields::RatedLatentHeatRatio, "");
694
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
695 1 }
696
697 89 bool RefrigerationCase_Impl::setRatedRuntimeFraction(double ratedRuntimeFraction) {
698 89 bool result = setDouble(OS_Refrigeration_CaseFields::RatedRuntimeFraction, ratedRuntimeFraction);
699 89 return result;
700 }
701
702 1 void RefrigerationCase_Impl::resetRatedRuntimeFraction() {
703
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Refrigeration_CaseFields::RatedRuntimeFraction, "");
704
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
705 1 }
706
707 87 bool RefrigerationCase_Impl::setCaseLength(double caseLength) {
708 87 bool result = setDouble(OS_Refrigeration_CaseFields::CaseLength, caseLength);
709 87 return result;
710 }
711
712 1 void RefrigerationCase_Impl::resetCaseLength() {
713
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Refrigeration_CaseFields::CaseLength, "");
714
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
715 1 }
716
717 87 bool RefrigerationCase_Impl::setCaseOperatingTemperature(double caseOperatingTemperature) {
718 87 bool result = setDouble(OS_Refrigeration_CaseFields::CaseOperatingTemperature, caseOperatingTemperature);
719 87 return result;
720 }
721
722 1 void RefrigerationCase_Impl::resetCaseOperatingTemperature() {
723
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Refrigeration_CaseFields::CaseOperatingTemperature, "");
724
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
725 1 }
726
727 83 bool RefrigerationCase_Impl::setLatentCaseCreditCurveType(const std::string& latentCaseCreditCurveType) {
728 83 bool result = setString(OS_Refrigeration_CaseFields::LatentCaseCreditCurveType, latentCaseCreditCurveType);
729 83 return result;
730 }
731
732 ✗ void RefrigerationCase_Impl::resetLatentCaseCreditCurveType() {
733 ✗ bool result = setString(OS_Refrigeration_CaseFields::LatentCaseCreditCurveType, "");
734 ✗ OS_ASSERT(result);
735 ✗ }
736
737 83 bool RefrigerationCase_Impl::setLatentCaseCreditCurve(const CurveCubic& curveCubic) {
738
2/2
✓ Branch 1 taken 83 times.
✓ Branch 4 taken 83 times.
83 bool result = setPointer(OS_Refrigeration_CaseFields::LatentCaseCreditCurveName, curveCubic.handle());
739 83 return result;
740 }
741
742 87 bool RefrigerationCase_Impl::setStandardCaseFanPowerperUnitLength(double standardCaseFanPowerperUnitLength) {
743 87 bool result = setDouble(OS_Refrigeration_CaseFields::StandardCaseFanPowerperUnitLength, standardCaseFanPowerperUnitLength);
744 87 return result;
745 }
746
747 1 void RefrigerationCase_Impl::resetStandardCaseFanPowerperUnitLength() {
748
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Refrigeration_CaseFields::StandardCaseFanPowerperUnitLength, "");
749
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
750 1 }
751
752 87 bool RefrigerationCase_Impl::setOperatingCaseFanPowerperUnitLength(double operatingCaseFanPowerperUnitLength) {
753 87 bool result = setDouble(OS_Refrigeration_CaseFields::OperatingCaseFanPowerperUnitLength, operatingCaseFanPowerperUnitLength);
754 87 return result;
755 }
756
757 1 void RefrigerationCase_Impl::resetOperatingCaseFanPowerperUnitLength() {
758
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Refrigeration_CaseFields::OperatingCaseFanPowerperUnitLength, "");
759
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
760 1 }
761
762 86 bool RefrigerationCase_Impl::setStandardCaseLightingPowerperUnitLength(double standardCaseLightingPowerperUnitLength) {
763 86 bool result = setDouble(OS_Refrigeration_CaseFields::StandardCaseLightingPowerperUnitLength, standardCaseLightingPowerperUnitLength);
764
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 86 times.
86 OS_ASSERT(result);
765 86 return result;
766 }
767
768 1 void RefrigerationCase_Impl::resetStandardCaseLightingPowerperUnitLength() {
769
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Refrigeration_CaseFields::StandardCaseLightingPowerperUnitLength, "");
770
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
771 1 }
772
773 86 bool RefrigerationCase_Impl::setInstalledCaseLightingPowerperUnitLength(boost::optional<double> installedCaseLightingPowerperUnitLength) {
774 86 bool result(false);
775
1/2
✓ Branch 0 taken 86 times.
✗ Branch 1 not taken.
86 if (installedCaseLightingPowerperUnitLength) {
776 86 result = setDouble(OS_Refrigeration_CaseFields::InstalledCaseLightingPowerperUnitLength, installedCaseLightingPowerperUnitLength.get());
777 } else {
778 ✗ resetInstalledCaseLightingPowerperUnitLength();
779 ✗ result = true;
780 }
781
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 86 times.
86 OS_ASSERT(result);
782 86 return result;
783 }
784
785 1 void RefrigerationCase_Impl::resetInstalledCaseLightingPowerperUnitLength() {
786
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Refrigeration_CaseFields::InstalledCaseLightingPowerperUnitLength, "");
787
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
788 1 }
789
790 ✗ bool RefrigerationCase_Impl::setCaseLightingSchedule(Schedule& schedule) {
791 ✗ bool result = setSchedule(OS_Refrigeration_CaseFields::CaseLightingScheduleName, "RefrigerationCase", "Case Lighting", schedule);
792 ✗ return result;
793 }
794
795 ✗ void RefrigerationCase_Impl::resetCaseLightingSchedule() {
796 ✗ bool result = setString(OS_Refrigeration_CaseFields::CaseLightingScheduleName, "");
797 ✗ OS_ASSERT(result);
798 ✗ }
799
800 89 bool RefrigerationCase_Impl::setFractionofLightingEnergytoCase(double fractionofLightingEnergytoCase) {
801 89 bool result = setDouble(OS_Refrigeration_CaseFields::FractionofLightingEnergytoCase, fractionofLightingEnergytoCase);
802 89 return result;
803 }
804
805 1 void RefrigerationCase_Impl::resetFractionofLightingEnergytoCase() {
806
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Refrigeration_CaseFields::FractionofLightingEnergytoCase, "");
807
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
808 1 }
809
810 4 bool RefrigerationCase_Impl::setCaseAntiSweatHeaterPowerperUnitLength(double caseAntiSweatHeaterPowerperUnitLength) {
811 4 bool result = setDouble(OS_Refrigeration_CaseFields::CaseAntiSweatHeaterPowerperUnitLength, caseAntiSweatHeaterPowerperUnitLength);
812 4 return result;
813 }
814
815 1 void RefrigerationCase_Impl::resetCaseAntiSweatHeaterPowerperUnitLength() {
816
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Refrigeration_CaseFields::CaseAntiSweatHeaterPowerperUnitLength, "");
817
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
818 1 }
819
820 ✗ bool RefrigerationCase_Impl::setMinimumAntiSweatHeaterPowerperUnitLength(double minimumAntiSweatHeaterPowerperUnitLength) {
821 ✗ bool result = setDouble(OS_Refrigeration_CaseFields::MinimumAntiSweatHeaterPowerperUnitLength, minimumAntiSweatHeaterPowerperUnitLength);
822 ✗ return result;
823 }
824
825 ✗ void RefrigerationCase_Impl::resetMinimumAntiSweatHeaterPowerperUnitLength() {
826 ✗ bool result = setString(OS_Refrigeration_CaseFields::MinimumAntiSweatHeaterPowerperUnitLength, "");
827 ✗ OS_ASSERT(result);
828 ✗ }
829
830 82 bool RefrigerationCase_Impl::setAntiSweatHeaterControlType(const std::string& antiSweatHeaterControlType) {
831 82 bool result = setString(OS_Refrigeration_CaseFields::AntiSweatHeaterControlType, antiSweatHeaterControlType);
832 82 return result;
833 }
834
835 ✗ void RefrigerationCase_Impl::resetAntiSweatHeaterControlType() {
836 ✗ bool result = setString(OS_Refrigeration_CaseFields::AntiSweatHeaterControlType, "");
837 ✗ OS_ASSERT(result);
838 ✗ }
839
840 86 bool RefrigerationCase_Impl::setHumidityatZeroAntiSweatHeaterEnergy(double humidityatZeroAntiSweatHeaterEnergy) {
841 86 bool result = setDouble(OS_Refrigeration_CaseFields::HumidityatZeroAntiSweatHeaterEnergy, humidityatZeroAntiSweatHeaterEnergy);
842
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 86 times.
86 OS_ASSERT(result);
843 86 return result;
844 }
845
846 1 void RefrigerationCase_Impl::resetHumidityatZeroAntiSweatHeaterEnergy() {
847
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Refrigeration_CaseFields::HumidityatZeroAntiSweatHeaterEnergy, "");
848
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
849 1 }
850
851 87 bool RefrigerationCase_Impl::setCaseHeight(double caseHeight) {
852 87 bool result = setDouble(OS_Refrigeration_CaseFields::CaseHeight, caseHeight);
853 87 return result;
854 }
855
856 1 void RefrigerationCase_Impl::resetCaseHeight() {
857
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Refrigeration_CaseFields::CaseHeight, "");
858
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
859 1 }
860
861 89 bool RefrigerationCase_Impl::setFractionofAntiSweatHeaterEnergytoCase(double fractionofAntiSweatHeaterEnergytoCase) {
862 89 bool result = setDouble(OS_Refrigeration_CaseFields::FractionofAntiSweatHeaterEnergytoCase, fractionofAntiSweatHeaterEnergytoCase);
863 89 return result;
864 }
865
866 1 void RefrigerationCase_Impl::resetFractionofAntiSweatHeaterEnergytoCase() {
867
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Refrigeration_CaseFields::FractionofAntiSweatHeaterEnergytoCase, "");
868
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
869 1 }
870
871 87 bool RefrigerationCase_Impl::setCaseDefrostPowerperUnitLength(double caseDefrostPowerperUnitLength) {
872 87 bool result = setDouble(OS_Refrigeration_CaseFields::CaseDefrostPowerperUnitLength, caseDefrostPowerperUnitLength);
873 87 return result;
874 }
875
876 1 void RefrigerationCase_Impl::resetCaseDefrostPowerperUnitLength() {
877
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Refrigeration_CaseFields::CaseDefrostPowerperUnitLength, "");
878
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
879 1 }
880
881 83 bool RefrigerationCase_Impl::setCaseDefrostType(const std::string& caseDefrostType) {
882 83 bool result = setString(OS_Refrigeration_CaseFields::CaseDefrostType, caseDefrostType);
883 83 return result;
884 }
885
886 ✗ void RefrigerationCase_Impl::resetCaseDefrostType() {
887 ✗ bool result = setString(OS_Refrigeration_CaseFields::CaseDefrostType, "");
888 ✗ OS_ASSERT(result);
889 ✗ }
890
891 82 bool RefrigerationCase_Impl::setCaseDefrostSchedule(Schedule& schedule) {
892
3/3
✓ Branch 1 taken 82 times.
✓ Branch 4 taken 82 times.
✓ Branch 7 taken 82 times.
328 bool result = setSchedule(OS_Refrigeration_CaseFields::CaseDefrostScheduleName, "RefrigerationCase", "Case Defrost", schedule);
893 82 return result;
894 }
895
896 ✗ void RefrigerationCase_Impl::resetCaseDefrostSchedule() {
897 ✗ bool result = setString(OS_Refrigeration_CaseFields::CaseDefrostScheduleName, "");
898 ✗ OS_ASSERT(result);
899 ✗ }
900
901 ✗ bool RefrigerationCase_Impl::setCaseDefrostDripDownSchedule(Schedule& schedule) {
902 bool result =
903 ✗ setSchedule(OS_Refrigeration_CaseFields::CaseDefrostDripDownScheduleName, "RefrigerationCase", "Case Defrost Drip-Down", schedule);
904 ✗ return result;
905 }
906
907 ✗ void RefrigerationCase_Impl::resetCaseDefrostDripDownSchedule() {
908 ✗ bool result = setString(OS_Refrigeration_CaseFields::CaseDefrostDripDownScheduleName, "");
909 ✗ OS_ASSERT(result);
910 ✗ }
911
912 82 bool RefrigerationCase_Impl::setDefrostEnergyCorrectionCurveType(const std::string& defrostEnergyCorrectionCurveType) {
913 82 bool result = setString(OS_Refrigeration_CaseFields::DefrostEnergyCorrectionCurveType, defrostEnergyCorrectionCurveType);
914 82 return result;
915 }
916
917 ✗ void RefrigerationCase_Impl::resetDefrostEnergyCorrectionCurveType() {
918 ✗ bool result = setString(OS_Refrigeration_CaseFields::DefrostEnergyCorrectionCurveType, "");
919 ✗ OS_ASSERT(result);
920 ✗ }
921
922 ✗ bool RefrigerationCase_Impl::setDefrostEnergyCorrectionCurve(const boost::optional<CurveCubic>& curveCubic) {
923 ✗ bool result(false);
924 ✗ if (curveCubic) {
925 ✗ result = setPointer(OS_Refrigeration_CaseFields::DefrostEnergyCorrectionCurveName, curveCubic.get().handle());
926 } else {
927 ✗ resetDefrostEnergyCorrectionCurve();
928 ✗ result = true;
929 }
930 ✗ return result;
931 }
932
933 ✗ void RefrigerationCase_Impl::resetDefrostEnergyCorrectionCurve() {
934 ✗ bool result = setString(OS_Refrigeration_CaseFields::DefrostEnergyCorrectionCurveName, "");
935 ✗ OS_ASSERT(result);
936 ✗ }
937
938 89 bool RefrigerationCase_Impl::setUnderCaseHVACReturnAirFraction(double underCaseHVACReturnAirFraction) {
939 89 bool result = setDouble(OS_Refrigeration_CaseFields::UnderCaseHVACReturnAirFraction, underCaseHVACReturnAirFraction);
940 89 return result;
941 }
942
943 1 void RefrigerationCase_Impl::resetUnderCaseHVACReturnAirFraction() {
944
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Refrigeration_CaseFields::UnderCaseHVACReturnAirFraction, "");
945
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
946 1 }
947
948 ✗ bool RefrigerationCase_Impl::setRefrigeratedCaseRestockingSchedule(Schedule& schedule) {
949 ✗ bool result = setSchedule(OS_Refrigeration_CaseFields::RefrigeratedCaseRestockingScheduleName, "RefrigerationCase",
950 "Refrigerated Case Restocking", schedule);
951 ✗ return result;
952 }
953
954 ✗ void RefrigerationCase_Impl::resetRefrigeratedCaseRestockingSchedule() {
955 ✗ bool result = setString(OS_Refrigeration_CaseFields::RefrigeratedCaseRestockingScheduleName, "");
956 ✗ OS_ASSERT(result);
957 ✗ }
958
959 ✗ bool RefrigerationCase_Impl::setCaseCreditFractionSchedule(Schedule& schedule) {
960 ✗ bool result = setSchedule(OS_Refrigeration_CaseFields::CaseCreditFractionScheduleName, "RefrigerationCase", "Case Credit Fraction", schedule);
961 ✗ return result;
962 }
963
964 ✗ void RefrigerationCase_Impl::resetCaseCreditFractionSchedule() {
965 ✗ bool result = setString(OS_Refrigeration_CaseFields::CaseCreditFractionScheduleName, "");
966 ✗ OS_ASSERT(result);
967 ✗ }
968
969 89 bool RefrigerationCase_Impl::setDesignEvaporatorTemperatureorBrineInletTemperature(
970 boost::optional<double> designEvaporatorTemperatureorBrineInletTemperature) {
971 89 bool result(false);
972
1/2
✓ Branch 0 taken 89 times.
✗ Branch 1 not taken.
89 if (designEvaporatorTemperatureorBrineInletTemperature) {
973 89 result = setDouble(OS_Refrigeration_CaseFields::DesignEvaporatorTemperatureorBrineInletTemperature,
974 89 designEvaporatorTemperatureorBrineInletTemperature.get());
975 } else {
976 ✗ resetDesignEvaporatorTemperatureorBrineInletTemperature();
977 ✗ result = true;
978 }
979 89 return result;
980 }
981
982 1 void RefrigerationCase_Impl::resetDesignEvaporatorTemperatureorBrineInletTemperature() {
983
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Refrigeration_CaseFields::DesignEvaporatorTemperatureorBrineInletTemperature, "");
984
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
985 1 }
986
987 2 bool RefrigerationCase_Impl::setAverageRefrigerantChargeInventory(double averageRefrigerantChargeInventory) {
988 2 bool result = setDouble(OS_Refrigeration_CaseFields::AverageRefrigerantChargeInventory, averageRefrigerantChargeInventory);
989
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 2 times.
2 OS_ASSERT(result);
990 2 return result;
991 }
992
993 1 void RefrigerationCase_Impl::resetAverageRefrigerantChargeInventory() {
994
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Refrigeration_CaseFields::AverageRefrigerantChargeInventory, "");
995
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
996 1 }
997
998 2 bool RefrigerationCase_Impl::setNumberOfDoors(boost::optional<int> numberOfDoors) {
999 2 bool result(false);
1000
1/2
✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
2 if (numberOfDoors) {
1001 2 result = setInt(OS_Refrigeration_CaseFields::NumberOfDoors, numberOfDoors.get());
1002 } else {
1003 ✗ resetNumberOfDoors();
1004 ✗ result = true;
1005 }
1006 2 return result;
1007 }
1008
1009 ✗ void RefrigerationCase_Impl::resetNumberOfDoors() {
1010 ✗ bool result = setString(OS_Refrigeration_CaseFields::NumberOfDoors, "");
1011 ✗ OS_ASSERT(result);
1012 ✗ }
1013
1014 2 bool RefrigerationCase_Impl::setRatedTotalCoolingCapacityperDoor(boost::optional<double> ratedTotalCoolingCapacityperDoor) {
1015 2 bool result(false);
1016
1/2
✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
2 if (ratedTotalCoolingCapacityperDoor) {
1017 2 result = setDouble(OS_Refrigeration_CaseFields::RatedTotalCoolingCapacityperDoor, ratedTotalCoolingCapacityperDoor.get());
1018 } else {
1019 ✗ resetRatedTotalCoolingCapacityperDoor();
1020 ✗ result = true;
1021 }
1022 2 return result;
1023 }
1024
1025 ✗ void RefrigerationCase_Impl::resetRatedTotalCoolingCapacityperDoor() {
1026 ✗ bool result = setString(OS_Refrigeration_CaseFields::RatedTotalCoolingCapacityperDoor, "");
1027 ✗ OS_ASSERT(result);
1028 ✗ }
1029
1030 2 bool RefrigerationCase_Impl::setStandardCaseFanPowerperDoor(boost::optional<double> standardCaseFanPowerperDoor) {
1031 2 bool result(false);
1032
1/2
✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
2 if (standardCaseFanPowerperDoor) {
1033 2 result = setDouble(OS_Refrigeration_CaseFields::StandardCaseFanPowerperDoor, standardCaseFanPowerperDoor.get());
1034 } else {
1035 ✗ resetStandardCaseFanPowerperDoor();
1036 ✗ result = true;
1037 }
1038 2 return result;
1039 }
1040
1041 ✗ void RefrigerationCase_Impl::resetStandardCaseFanPowerperDoor() {
1042 ✗ bool result = setString(OS_Refrigeration_CaseFields::StandardCaseFanPowerperDoor, "");
1043 ✗ OS_ASSERT(result);
1044 ✗ }
1045
1046 2 bool RefrigerationCase_Impl::setOperatingCaseFanPowerperDoor(boost::optional<double> operatingCaseFanPowerperDoor) {
1047 2 bool result(false);
1048
1/2
✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
2 if (operatingCaseFanPowerperDoor) {
1049 2 result = setDouble(OS_Refrigeration_CaseFields::OperatingCaseFanPowerperDoor, operatingCaseFanPowerperDoor.get());
1050 } else {
1051 ✗ resetOperatingCaseFanPowerperDoor();
1052 ✗ result = true;
1053 }
1054 2 return result;
1055 }
1056
1057 ✗ void RefrigerationCase_Impl::resetOperatingCaseFanPowerperDoor() {
1058 ✗ bool result = setString(OS_Refrigeration_CaseFields::OperatingCaseFanPowerperDoor, "");
1059 ✗ OS_ASSERT(result);
1060 ✗ }
1061
1062 2 bool RefrigerationCase_Impl::setStandardCaseLightingPowerperDoor(boost::optional<double> standardCaseLightingPowerperDoor) {
1063 2 bool result(false);
1064
1/2
✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
2 if (standardCaseLightingPowerperDoor) {
1065 2 result = setDouble(OS_Refrigeration_CaseFields::StandardCaseLightingPowerperDoor, standardCaseLightingPowerperDoor.get());
1066 } else {
1067 ✗ resetStandardCaseLightingPowerperDoor();
1068 ✗ result = true;
1069 }
1070 2 return result;
1071 }
1072
1073 ✗ void RefrigerationCase_Impl::resetStandardCaseLightingPowerperDoor() {
1074 ✗ bool result = setString(OS_Refrigeration_CaseFields::StandardCaseLightingPowerperDoor, "");
1075 ✗ OS_ASSERT(result);
1076 ✗ }
1077
1078 2 bool RefrigerationCase_Impl::setInstalledCaseLightingPowerperDoor(boost::optional<double> installedCaseLightingPowerperDoor) {
1079 2 bool result(false);
1080
1/2
✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
2 if (installedCaseLightingPowerperDoor) {
1081 2 result = setDouble(OS_Refrigeration_CaseFields::InstalledCaseLightingPowerperDoor, installedCaseLightingPowerperDoor.get());
1082 } else {
1083 ✗ resetInstalledCaseLightingPowerperDoor();
1084 ✗ result = true;
1085 }
1086 2 return result;
1087 }
1088
1089 ✗ void RefrigerationCase_Impl::resetInstalledCaseLightingPowerperDoor() {
1090 ✗ bool result = setString(OS_Refrigeration_CaseFields::InstalledCaseLightingPowerperDoor, "");
1091 ✗ OS_ASSERT(result);
1092 ✗ }
1093
1094 2 bool RefrigerationCase_Impl::setCaseAntiSweatHeaterPowerperDoor(boost::optional<double> caseAntiSweatHeaterPowerperDoor) {
1095 2 bool result(false);
1096
1/2
✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
2 if (caseAntiSweatHeaterPowerperDoor) {
1097 2 result = setDouble(OS_Refrigeration_CaseFields::CaseAntiSweatHeaterPowerperDoor, caseAntiSweatHeaterPowerperDoor.get());
1098 } else {
1099 ✗ resetCaseAntiSweatHeaterPowerperDoor();
1100 ✗ result = true;
1101 }
1102 2 return result;
1103 }
1104
1105 ✗ void RefrigerationCase_Impl::resetCaseAntiSweatHeaterPowerperDoor() {
1106 ✗ bool result = setString(OS_Refrigeration_CaseFields::CaseAntiSweatHeaterPowerperDoor, "");
1107 ✗ OS_ASSERT(result);
1108 ✗ }
1109
1110 2 bool RefrigerationCase_Impl::setMinimumAntiSweatHeaterPowerperDoor(boost::optional<double> minimumAntiSweatHeaterPowerperDoor) {
1111 2 bool result(false);
1112
1/2
✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
2 if (minimumAntiSweatHeaterPowerperDoor) {
1113 2 result = setDouble(OS_Refrigeration_CaseFields::MinimumAntiSweatHeaterPowerperDoor, minimumAntiSweatHeaterPowerperDoor.get());
1114 } else {
1115 ✗ resetMinimumAntiSweatHeaterPowerperDoor();
1116 ✗ result = true;
1117 }
1118 2 return result;
1119 }
1120
1121 ✗ void RefrigerationCase_Impl::resetMinimumAntiSweatHeaterPowerperDoor() {
1122 ✗ bool result = setString(OS_Refrigeration_CaseFields::MinimumAntiSweatHeaterPowerperDoor, "");
1123 ✗ OS_ASSERT(result);
1124 ✗ }
1125
1126 2 bool RefrigerationCase_Impl::setCaseDefrostPowerperDoor(boost::optional<double> caseDefrostPowerperDoor) {
1127 2 bool result(false);
1128
1/2
✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
2 if (caseDefrostPowerperDoor) {
1129 2 result = setDouble(OS_Refrigeration_CaseFields::CaseDefrostPowerperDoor, caseDefrostPowerperDoor.get());
1130 } else {
1131 ✗ resetCaseDefrostPowerperDoor();
1132 ✗ result = true;
1133 }
1134 2 return result;
1135 }
1136
1137 ✗ void RefrigerationCase_Impl::resetCaseDefrostPowerperDoor() {
1138 ✗ bool result = setString(OS_Refrigeration_CaseFields::CaseDefrostPowerperDoor, "");
1139 ✗ OS_ASSERT(result);
1140 ✗ }
1141
1142 1 bool RefrigerationCase_Impl::setUnitType(const std::string& unitType) {
1143 1 bool result = setString(OS_Refrigeration_CaseFields::UnitType, unitType);
1144 1 return result;
1145 }
1146
1147 ✗ void RefrigerationCase_Impl::resetUnitType() {
1148 ✗ bool result = setString(OS_Refrigeration_CaseFields::UnitType, "");
1149 ✗ OS_ASSERT(result);
1150 ✗ }
1151
1152 2 bool RefrigerationCase_Impl::setCaseDefrostCycleParameters(const RefrigerationDefrostCycleParameters& caseDefrostCycleParameters) {
1153
2/2
✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
2 return setPointer(OS_Refrigeration_CaseFields::CaseDefrostCycleParametersName, caseDefrostCycleParameters.handle());
1154 }
1155
1156 2 bool RefrigerationCase_Impl::setDurationofDefrostCycle(boost::optional<int> durationofDefrostCycle) {
1157
2/2
✓ Branch 1 taken 2 times.
✓ Branch 6 taken 2 times.
4 return this->caseDefrostCycleParameters().getImpl<RefrigerationDefrostCycleParameters_Impl>()->setDurationofDefrostCycle(
1158 4 durationofDefrostCycle);
1159 }
1160
1161 ✗ void RefrigerationCase_Impl::resetDurationofDefrostCycle() {
1162 ✗ if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalCaseDefrostCycleParameters()) {
1163 ✗ defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->resetDurationofDefrostCycle();
1164 ✗ }
1165 ✗ }
1166
1167 1 bool RefrigerationCase_Impl::setDripDownTime(boost::optional<int> dripDownTime) {
1168
2/2
✓ Branch 1 taken 1 time.
✓ Branch 6 taken 1 time.
1 return this->caseDefrostCycleParameters().getImpl<RefrigerationDefrostCycleParameters_Impl>()->setDripDownTime(dripDownTime);
1169 }
1170
1171 ✗ void RefrigerationCase_Impl::resetDripDownTime() {
1172 ✗ if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalCaseDefrostCycleParameters()) {
1173 ✗ defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->resetDripDownTime();
1174 ✗ }
1175 ✗ }
1176
1177 1 bool RefrigerationCase_Impl::setDefrost1StartTime(const openstudio::Time& defrost1StartTime) {
1178
2/2
✓ Branch 1 taken 1 time.
✓ Branch 6 taken 1 time.
1 return this->caseDefrostCycleParameters().getImpl<RefrigerationDefrostCycleParameters_Impl>()->setDefrost1StartTime(defrost1StartTime);
1179 }
1180
1181 ✗ void RefrigerationCase_Impl::resetDefrost1StartTime() {
1182 ✗ if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalCaseDefrostCycleParameters()) {
1183 ✗ defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->resetDefrost1StartTime();
1184 ✗ }
1185 ✗ }
1186
1187 1 bool RefrigerationCase_Impl::setDefrost2StartTime(const openstudio::Time& defrost2StartTime) {
1188
2/2
✓ Branch 1 taken 1 time.
✓ Branch 6 taken 1 time.
1 return this->caseDefrostCycleParameters().getImpl<RefrigerationDefrostCycleParameters_Impl>()->setDefrost2StartTime(defrost2StartTime);
1189 }
1190
1191 ✗ void RefrigerationCase_Impl::resetDefrost2StartTime() {
1192 ✗ if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalCaseDefrostCycleParameters()) {
1193 ✗ defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->resetDefrost2StartTime();
1194 ✗ }
1195 ✗ }
1196
1197 1 bool RefrigerationCase_Impl::setDefrost3StartTime(const openstudio::Time& defrost3StartTime) {
1198
2/2
✓ Branch 1 taken 1 time.
✓ Branch 6 taken 1 time.
1 return this->caseDefrostCycleParameters().getImpl<RefrigerationDefrostCycleParameters_Impl>()->setDefrost3StartTime(defrost3StartTime);
1199 }
1200
1201 ✗ void RefrigerationCase_Impl::resetDefrost3StartTime() {
1202 ✗ if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalCaseDefrostCycleParameters()) {
1203 ✗ defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->resetDefrost3StartTime();
1204 ✗ }
1205 ✗ }
1206
1207 1 bool RefrigerationCase_Impl::setDefrost4StartTime(const openstudio::Time& defrost4StartTime) {
1208
2/2
✓ Branch 1 taken 1 time.
✓ Branch 6 taken 1 time.
1 return this->caseDefrostCycleParameters().getImpl<RefrigerationDefrostCycleParameters_Impl>()->setDefrost4StartTime(defrost4StartTime);
1209 }
1210
1211 ✗ void RefrigerationCase_Impl::resetDefrost4StartTime() {
1212 ✗ if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalCaseDefrostCycleParameters()) {
1213 ✗ defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->resetDefrost4StartTime();
1214 ✗ }
1215 ✗ }
1216
1217 1 bool RefrigerationCase_Impl::setDefrost5StartTime(const openstudio::Time& defrost5StartTime) {
1218
2/2
✓ Branch 1 taken 1 time.
✓ Branch 6 taken 1 time.
1 return this->caseDefrostCycleParameters().getImpl<RefrigerationDefrostCycleParameters_Impl>()->setDefrost5StartTime(defrost5StartTime);
1219 }
1220
1221 ✗ void RefrigerationCase_Impl::resetDefrost5StartTime() {
1222 ✗ if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalCaseDefrostCycleParameters()) {
1223 ✗ defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->resetDefrost5StartTime();
1224 ✗ }
1225 ✗ }
1226
1227 1 bool RefrigerationCase_Impl::setDefrost6StartTime(const openstudio::Time& defrost6StartTime) {
1228
2/2
✓ Branch 1 taken 1 time.
✓ Branch 6 taken 1 time.
1 return this->caseDefrostCycleParameters().getImpl<RefrigerationDefrostCycleParameters_Impl>()->setDefrost6StartTime(defrost6StartTime);
1229 }
1230
1231 ✗ void RefrigerationCase_Impl::resetDefrost6StartTime() {
1232 ✗ if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalCaseDefrostCycleParameters()) {
1233 ✗ defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->resetDefrost6StartTime();
1234 ✗ }
1235 ✗ }
1236
1237 1 bool RefrigerationCase_Impl::setDefrost7StartTime(const openstudio::Time& defrost7StartTime) {
1238
2/2
✓ Branch 1 taken 1 time.
✓ Branch 6 taken 1 time.
1 return this->caseDefrostCycleParameters().getImpl<RefrigerationDefrostCycleParameters_Impl>()->setDefrost7StartTime(defrost7StartTime);
1239 }
1240
1241 ✗ void RefrigerationCase_Impl::resetDefrost7StartTime() {
1242 ✗ if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalCaseDefrostCycleParameters()) {
1243 ✗ defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->resetDefrost7StartTime();
1244 ✗ }
1245 ✗ }
1246
1247 1 bool RefrigerationCase_Impl::setDefrost8StartTime(const openstudio::Time& defrost8StartTime) {
1248
2/2
✓ Branch 1 taken 1 time.
✓ Branch 6 taken 1 time.
1 return this->caseDefrostCycleParameters().getImpl<RefrigerationDefrostCycleParameters_Impl>()->setDefrost8StartTime(defrost8StartTime);
1249 }
1250
1251 ✗ void RefrigerationCase_Impl::resetDefrost8StartTime() {
1252 ✗ if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalCaseDefrostCycleParameters()) {
1253 ✗ defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->resetDefrost8StartTime();
1254 ✗ }
1255 ✗ }
1256
1257 13 boost::optional<CurveCubic> RefrigerationCase_Impl::optionalLatentCaseCreditCurve() const {
1258
2/2
✓ Branch 1 taken 13 times.
✓ Branch 4 taken 13 times.
13 return getObject<ModelObject>().getModelObjectTarget<CurveCubic>(OS_Refrigeration_CaseFields::LatentCaseCreditCurveName);
1259 }
1260
1261 ✗ bool RefrigerationCase_Impl::addToSystem(RefrigerationSystem& system) {
1262 ✗ return system.addCase(this->getObject<RefrigerationCase>());
1263 }
1264
1265 6 void RefrigerationCase_Impl::removeFromSystem() {
1266
1/1
✓ Branch 1 taken 6 times.
6 boost::optional<RefrigerationSystem> refrigerationSystem = system();
1267
2/2
✓ Branch 0 taken 2 times.
✓ Branch 1 taken 4 times.
6 if (refrigerationSystem) {
1268
3/3
✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
2 refrigerationSystem.get().removeCase(this->getObject<RefrigerationCase>());
1269 }
1270 6 }
1271
1272 ✗ bool RefrigerationCase_Impl::addToSecondarySystem(RefrigerationSecondarySystem& secondarySystem) {
1273 ✗ return secondarySystem.addCase(this->getObject<RefrigerationCase>());
1274 }
1275
1276 6 void RefrigerationCase_Impl::removeFromSecondarySystem() {
1277
1/1
✓ Branch 1 taken 6 times.
6 boost::optional<RefrigerationSecondarySystem> refrigerationSecondarySystem = secondarySystem();
1278
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 6 times.
6 if (refrigerationSecondarySystem) {
1279 ✗ refrigerationSecondarySystem.get().removeCase(this->getObject<RefrigerationCase>());
1280 }
1281 6 }
1282
1283 ✗ bool RefrigerationCase_Impl::addToCompressorRack(RefrigerationCompressorRack& compressorRack) {
1284 ✗ return compressorRack.addCase(this->getObject<RefrigerationCase>());
1285 }
1286
1287 6 void RefrigerationCase_Impl::removeFromCompressorRack() {
1288
1/1
✓ Branch 1 taken 6 times.
6 boost::optional<RefrigerationCompressorRack> refrigerationCompressorRack = compressorRack();
1289
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 6 times.
6 if (refrigerationCompressorRack) {
1290 ✗ refrigerationCompressorRack.get().removeCase(this->getObject<RefrigerationCase>());
1291 }
1292 6 }
1293
1294 } // namespace detail
1295
1296 82 RefrigerationCase::RefrigerationCase(const Model& model, Schedule& caseDefrostSchedule) : ParentObject(RefrigerationCase::iddObjectType(), model) {
1297
1/3
✗ Branch 2 not taken.
✓ Branch 3 taken 82 times.
✗ Branch 5 not taken.
82 OS_ASSERT(getImpl<detail::RefrigerationCase_Impl>());
1298
1299
1/1
✓ Branch 1 taken 82 times.
82 CurveCubic latentCaseCreditCurve = CurveCubic(model);
1300
2/2
✓ Branch 1 taken 82 times.
✓ Branch 4 taken 82 times.
82 latentCaseCreditCurve.setName("Refrigeration Case Latent Credit Curve");
1301
1/1
✓ Branch 1 taken 82 times.
82 latentCaseCreditCurve.setCoefficient1Constant(0.026526281);
1302
1/1
✓ Branch 1 taken 82 times.
82 latentCaseCreditCurve.setCoefficient2x(0.001078032);
1303
1/1
✓ Branch 1 taken 82 times.
82 latentCaseCreditCurve.setCoefficient3xPOW2(-0.0000602558);
1304
1/1
✓ Branch 1 taken 82 times.
82 latentCaseCreditCurve.setCoefficient4xPOW3(0.00000123732);
1305
1/1
✓ Branch 1 taken 82 times.
82 latentCaseCreditCurve.setMinimumValueofx(-35);
1306
1/1
✓ Branch 1 taken 82 times.
82 latentCaseCreditCurve.setMaximumValueofx(20);
1307
1308
1/1
✓ Branch 1 taken 82 times.
82 setRatedAmbientTemperature(24.00);
1309
1/1
✓ Branch 1 taken 82 times.
82 setRatedAmbientRelativeHumidity(55.00);
1310
1/1
✓ Branch 1 taken 82 times.
82 setRatedTotalCoolingCapacityperUnitLength(1432.66);
1311
1/1
✓ Branch 1 taken 82 times.
82 setRatedLatentHeatRatio(0.30);
1312
1/1
✓ Branch 1 taken 82 times.
82 setRatedRuntimeFraction(0.85);
1313
1/1
✓ Branch 1 taken 82 times.
82 setCaseLength(3.66);
1314
1/1
✓ Branch 1 taken 82 times.
82 setCaseOperatingTemperature(2.78);
1315
2/2
✓ Branch 1 taken 82 times.
✓ Branch 4 taken 82 times.
82 setLatentCaseCreditCurveType("CaseTemperatureMethod");
1316
1317
1/1
✓ Branch 1 taken 82 times.
82 bool ok = setLatentCaseCreditCurve(latentCaseCreditCurve);
1318
1/3
✗ Branch 0 not taken.
✓ Branch 1 taken 82 times.
✗ Branch 3 not taken.
82 OS_ASSERT(ok);
1319
1320
1/1
✓ Branch 1 taken 82 times.
82 setStandardCaseFanPowerperUnitLength(41.01);
1321
1/1
✓ Branch 1 taken 82 times.
82 setOperatingCaseFanPowerperUnitLength(41.01);
1322
1/1
✓ Branch 1 taken 82 times.
82 setStandardCaseLightingPowerperUnitLength(45.93);
1323
1/1
✓ Branch 1 taken 82 times.
82 setInstalledCaseLightingPowerperUnitLength(45.93);
1324
1/1
✓ Branch 1 taken 82 times.
82 setFractionofLightingEnergytoCase(1);
1325
2/2
✓ Branch 1 taken 82 times.
✓ Branch 4 taken 82 times.
82 setAntiSweatHeaterControlType("None");
1326
1/1
✓ Branch 1 taken 82 times.
82 setHumidityatZeroAntiSweatHeaterEnergy(-10);
1327
1/1
✓ Branch 1 taken 82 times.
82 setCaseHeight(1.5);
1328
1/1
✓ Branch 1 taken 82 times.
82 setFractionofAntiSweatHeaterEnergytoCase(1.0);
1329
1/1
✓ Branch 1 taken 82 times.
82 setCaseDefrostPowerperUnitLength(0.0);
1330
2/2
✓ Branch 1 taken 82 times.
✓ Branch 4 taken 82 times.
82 setCaseDefrostType("OffCycle");
1331
1/1
✓ Branch 1 taken 82 times.
82 setCaseDefrostSchedule(caseDefrostSchedule);
1332
2/2
✓ Branch 1 taken 82 times.
✓ Branch 4 taken 82 times.
82 setDefrostEnergyCorrectionCurveType("None");
1333
1/1
✓ Branch 1 taken 82 times.
82 setUnderCaseHVACReturnAirFraction(0.0);
1334
1/1
✓ Branch 1 taken 82 times.
82 setDesignEvaporatorTemperatureorBrineInletTemperature(-5.56);
1335 82 }
1336
1337 7924 IddObjectType RefrigerationCase::iddObjectType() {
1338
1/1
✓ Branch 1 taken 7924 times.
7924 return {IddObjectType::OS_Refrigeration_Case};
1339 }
1340
1341 ✗ std::vector<std::string> RefrigerationCase::latentCaseCreditCurveTypeValues() {
1342 ✗ return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_Refrigeration_CaseFields::LatentCaseCreditCurveType);
1343 }
1344
1345 ✗ std::vector<std::string> RefrigerationCase::antiSweatHeaterControlTypeValues() {
1346 ✗ return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_Refrigeration_CaseFields::AntiSweatHeaterControlType);
1347 }
1348
1349 ✗ std::vector<std::string> RefrigerationCase::caseDefrostTypeValues() {
1350 ✗ return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_Refrigeration_CaseFields::CaseDefrostType);
1351 }
1352
1353 ✗ std::vector<std::string> RefrigerationCase::defrostEnergyCorrectionCurveTypeValues() {
1354 ✗ return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_Refrigeration_CaseFields::DefrostEnergyCorrectionCurveType);
1355 }
1356
1357 ✗ std::vector<std::string> RefrigerationCase::unitTypeValues() {
1358 ✗ return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_Refrigeration_CaseFields::UnitType);
1359 }
1360
1361 ✗ boost::optional<Schedule> RefrigerationCase::availabilitySchedule() const {
1362 ✗ return getImpl<detail::RefrigerationCase_Impl>()->availabilitySchedule();
1363 }
1364
1365 ✗ boost::optional<ThermalZone> RefrigerationCase::thermalZone() const {
1366 ✗ return getImpl<detail::RefrigerationCase_Impl>()->thermalZone();
1367 }
1368
1369 6 double RefrigerationCase::ratedAmbientTemperature() const {
1370
1/1
✓ Branch 3 taken 6 times.
6 return getImpl<detail::RefrigerationCase_Impl>()->ratedAmbientTemperature();
1371 }
1372
1373 ✗ bool RefrigerationCase::isRatedAmbientTemperatureDefaulted() const {
1374 ✗ return getImpl<detail::RefrigerationCase_Impl>()->isRatedAmbientTemperatureDefaulted();
1375 }
1376
1377 6 double RefrigerationCase::ratedAmbientRelativeHumidity() const {
1378
1/1
✓ Branch 3 taken 6 times.
6 return getImpl<detail::RefrigerationCase_Impl>()->ratedAmbientRelativeHumidity();
1379 }
1380
1381 ✗ bool RefrigerationCase::isRatedAmbientRelativeHumidityDefaulted() const {
1382 ✗ return getImpl<detail::RefrigerationCase_Impl>()->isRatedAmbientRelativeHumidityDefaulted();
1383 }
1384
1385 6 double RefrigerationCase::ratedTotalCoolingCapacityperUnitLength() const {
1386
1/1
✓ Branch 3 taken 6 times.
6 return getImpl<detail::RefrigerationCase_Impl>()->ratedTotalCoolingCapacityperUnitLength();
1387 }
1388
1389 ✗ bool RefrigerationCase::isRatedTotalCoolingCapacityperUnitLengthDefaulted() const {
1390 ✗ return getImpl<detail::RefrigerationCase_Impl>()->isRatedTotalCoolingCapacityperUnitLengthDefaulted();
1391 }
1392
1393 6 double RefrigerationCase::ratedLatentHeatRatio() const {
1394
1/1
✓ Branch 3 taken 6 times.
6 return getImpl<detail::RefrigerationCase_Impl>()->ratedLatentHeatRatio();
1395 }
1396
1397 ✗ bool RefrigerationCase::isRatedLatentHeatRatioDefaulted() const {
1398 ✗ return getImpl<detail::RefrigerationCase_Impl>()->isRatedLatentHeatRatioDefaulted();
1399 }
1400
1401 6 double RefrigerationCase::ratedRuntimeFraction() const {
1402
1/1
✓ Branch 3 taken 6 times.
6 return getImpl<detail::RefrigerationCase_Impl>()->ratedRuntimeFraction();
1403 }
1404
1405 ✗ bool RefrigerationCase::isRatedRuntimeFractionDefaulted() const {
1406 ✗ return getImpl<detail::RefrigerationCase_Impl>()->isRatedRuntimeFractionDefaulted();
1407 }
1408
1409 6 double RefrigerationCase::caseLength() const {
1410
1/1
✓ Branch 3 taken 6 times.
6 return getImpl<detail::RefrigerationCase_Impl>()->caseLength();
1411 }
1412
1413 ✗ bool RefrigerationCase::isCaseLengthDefaulted() const {
1414 ✗ return getImpl<detail::RefrigerationCase_Impl>()->isCaseLengthDefaulted();
1415 }
1416
1417 6 double RefrigerationCase::caseOperatingTemperature() const {
1418
1/1
✓ Branch 3 taken 6 times.
6 return getImpl<detail::RefrigerationCase_Impl>()->caseOperatingTemperature();
1419 }
1420
1421 ✗ bool RefrigerationCase::isCaseOperatingTemperatureDefaulted() const {
1422 ✗ return getImpl<detail::RefrigerationCase_Impl>()->isCaseOperatingTemperatureDefaulted();
1423 }
1424
1425 3 std::string RefrigerationCase::latentCaseCreditCurveType() const {
1426
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::RefrigerationCase_Impl>()->latentCaseCreditCurveType();
1427 }
1428
1429 ✗ bool RefrigerationCase::isLatentCaseCreditCurveTypeDefaulted() const {
1430 ✗ return getImpl<detail::RefrigerationCase_Impl>()->isLatentCaseCreditCurveTypeDefaulted();
1431 }
1432
1433 7 CurveCubic RefrigerationCase::latentCaseCreditCurve() const {
1434
1/1
✓ Branch 3 taken 7 times.
7 return getImpl<detail::RefrigerationCase_Impl>()->latentCaseCreditCurve();
1435 }
1436
1437 6 double RefrigerationCase::standardCaseFanPowerperUnitLength() const {
1438
1/1
✓ Branch 3 taken 6 times.
6 return getImpl<detail::RefrigerationCase_Impl>()->standardCaseFanPowerperUnitLength();
1439 }
1440
1441 ✗ bool RefrigerationCase::isStandardCaseFanPowerperUnitLengthDefaulted() const {
1442 ✗ return getImpl<detail::RefrigerationCase_Impl>()->isStandardCaseFanPowerperUnitLengthDefaulted();
1443 }
1444
1445 6 double RefrigerationCase::operatingCaseFanPowerperUnitLength() const {
1446
1/1
✓ Branch 3 taken 6 times.
6 return getImpl<detail::RefrigerationCase_Impl>()->operatingCaseFanPowerperUnitLength();
1447 }
1448
1449 ✗ bool RefrigerationCase::isOperatingCaseFanPowerperUnitLengthDefaulted() const {
1450 ✗ return getImpl<detail::RefrigerationCase_Impl>()->isOperatingCaseFanPowerperUnitLengthDefaulted();
1451 }
1452
1453 7 double RefrigerationCase::standardCaseLightingPowerperUnitLength() const {
1454
1/1
✓ Branch 3 taken 7 times.
7 return getImpl<detail::RefrigerationCase_Impl>()->standardCaseLightingPowerperUnitLength();
1455 }
1456
1457 ✗ bool RefrigerationCase::isStandardCaseLightingPowerperUnitLengthDefaulted() const {
1458 ✗ return getImpl<detail::RefrigerationCase_Impl>()->isStandardCaseLightingPowerperUnitLengthDefaulted();
1459 }
1460
1461 7 boost::optional<double> RefrigerationCase::installedCaseLightingPowerperUnitLength() const {
1462
1/1
✓ Branch 3 taken 7 times.
7 return getImpl<detail::RefrigerationCase_Impl>()->installedCaseLightingPowerperUnitLength();
1463 }
1464
1465 ✗ boost::optional<Schedule> RefrigerationCase::caseLightingSchedule() const {
1466 ✗ return getImpl<detail::RefrigerationCase_Impl>()->caseLightingSchedule();
1467 }
1468
1469 6 double RefrigerationCase::fractionofLightingEnergytoCase() const {
1470
1/1
✓ Branch 3 taken 6 times.
6 return getImpl<detail::RefrigerationCase_Impl>()->fractionofLightingEnergytoCase();
1471 }
1472
1473 ✗ bool RefrigerationCase::isFractionofLightingEnergytoCaseDefaulted() const {
1474 ✗ return getImpl<detail::RefrigerationCase_Impl>()->isFractionofLightingEnergytoCaseDefaulted();
1475 }
1476
1477 3 double RefrigerationCase::caseAntiSweatHeaterPowerperUnitLength() const {
1478
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::RefrigerationCase_Impl>()->caseAntiSweatHeaterPowerperUnitLength();
1479 }
1480
1481 ✗ bool RefrigerationCase::isCaseAntiSweatHeaterPowerperUnitLengthDefaulted() const {
1482 ✗ return getImpl<detail::RefrigerationCase_Impl>()->isCaseAntiSweatHeaterPowerperUnitLengthDefaulted();
1483 }
1484
1485 ✗ double RefrigerationCase::minimumAntiSweatHeaterPowerperUnitLength() const {
1486 ✗ return getImpl<detail::RefrigerationCase_Impl>()->minimumAntiSweatHeaterPowerperUnitLength();
1487 }
1488
1489 ✗ bool RefrigerationCase::isMinimumAntiSweatHeaterPowerperUnitLengthDefaulted() const {
1490 ✗ return getImpl<detail::RefrigerationCase_Impl>()->isMinimumAntiSweatHeaterPowerperUnitLengthDefaulted();
1491 }
1492
1493 2 std::string RefrigerationCase::antiSweatHeaterControlType() const {
1494
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::RefrigerationCase_Impl>()->antiSweatHeaterControlType();
1495 }
1496
1497 ✗ bool RefrigerationCase::isAntiSweatHeaterControlTypeDefaulted() const {
1498 ✗ return getImpl<detail::RefrigerationCase_Impl>()->isAntiSweatHeaterControlTypeDefaulted();
1499 }
1500
1501 7 double RefrigerationCase::humidityatZeroAntiSweatHeaterEnergy() const {
1502
1/1
✓ Branch 3 taken 7 times.
7 return getImpl<detail::RefrigerationCase_Impl>()->humidityatZeroAntiSweatHeaterEnergy();
1503 }
1504
1505 ✗ bool RefrigerationCase::isHumidityatZeroAntiSweatHeaterEnergyDefaulted() const {
1506 ✗ return getImpl<detail::RefrigerationCase_Impl>()->isHumidityatZeroAntiSweatHeaterEnergyDefaulted();
1507 }
1508
1509 6 double RefrigerationCase::caseHeight() const {
1510
1/1
✓ Branch 3 taken 6 times.
6 return getImpl<detail::RefrigerationCase_Impl>()->caseHeight();
1511 }
1512
1513 ✗ bool RefrigerationCase::isCaseHeightDefaulted() const {
1514 ✗ return getImpl<detail::RefrigerationCase_Impl>()->isCaseHeightDefaulted();
1515 }
1516
1517 6 double RefrigerationCase::fractionofAntiSweatHeaterEnergytoCase() const {
1518
1/1
✓ Branch 3 taken 6 times.
6 return getImpl<detail::RefrigerationCase_Impl>()->fractionofAntiSweatHeaterEnergytoCase();
1519 }
1520
1521 ✗ bool RefrigerationCase::isFractionofAntiSweatHeaterEnergytoCaseDefaulted() const {
1522 ✗ return getImpl<detail::RefrigerationCase_Impl>()->isFractionofAntiSweatHeaterEnergytoCaseDefaulted();
1523 }
1524
1525 6 double RefrigerationCase::caseDefrostPowerperUnitLength() const {
1526
1/1
✓ Branch 3 taken 6 times.
6 return getImpl<detail::RefrigerationCase_Impl>()->caseDefrostPowerperUnitLength();
1527 }
1528
1529 ✗ bool RefrigerationCase::isCaseDefrostPowerperUnitLengthDefaulted() const {
1530 ✗ return getImpl<detail::RefrigerationCase_Impl>()->isCaseDefrostPowerperUnitLengthDefaulted();
1531 }
1532
1533 3 std::string RefrigerationCase::caseDefrostType() const {
1534
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::RefrigerationCase_Impl>()->caseDefrostType();
1535 }
1536
1537 ✗ bool RefrigerationCase::isCaseDefrostTypeDefaulted() const {
1538 ✗ return getImpl<detail::RefrigerationCase_Impl>()->isCaseDefrostTypeDefaulted();
1539 }
1540
1541 ✗ boost::optional<Schedule> RefrigerationCase::caseDefrostSchedule() const {
1542 ✗ return getImpl<detail::RefrigerationCase_Impl>()->caseDefrostSchedule();
1543 }
1544
1545 ✗ boost::optional<Schedule> RefrigerationCase::caseDefrostDripDownSchedule() const {
1546 ✗ return getImpl<detail::RefrigerationCase_Impl>()->caseDefrostDripDownSchedule();
1547 }
1548
1549 2 std::string RefrigerationCase::defrostEnergyCorrectionCurveType() const {
1550
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::RefrigerationCase_Impl>()->defrostEnergyCorrectionCurveType();
1551 }
1552
1553 ✗ bool RefrigerationCase::isDefrostEnergyCorrectionCurveTypeDefaulted() const {
1554 ✗ return getImpl<detail::RefrigerationCase_Impl>()->isDefrostEnergyCorrectionCurveTypeDefaulted();
1555 }
1556
1557 ✗ boost::optional<CurveCubic> RefrigerationCase::defrostEnergyCorrectionCurve() const {
1558 ✗ return getImpl<detail::RefrigerationCase_Impl>()->defrostEnergyCorrectionCurve();
1559 }
1560
1561 6 double RefrigerationCase::underCaseHVACReturnAirFraction() const {
1562
1/1
✓ Branch 3 taken 6 times.
6 return getImpl<detail::RefrigerationCase_Impl>()->underCaseHVACReturnAirFraction();
1563 }
1564
1565 ✗ bool RefrigerationCase::isUnderCaseHVACReturnAirFractionDefaulted() const {
1566 ✗ return getImpl<detail::RefrigerationCase_Impl>()->isUnderCaseHVACReturnAirFractionDefaulted();
1567 }
1568
1569 ✗ boost::optional<Schedule> RefrigerationCase::refrigeratedCaseRestockingSchedule() const {
1570 ✗ return getImpl<detail::RefrigerationCase_Impl>()->refrigeratedCaseRestockingSchedule();
1571 }
1572
1573 ✗ boost::optional<Schedule> RefrigerationCase::caseCreditFractionSchedule() const {
1574 ✗ return getImpl<detail::RefrigerationCase_Impl>()->caseCreditFractionSchedule();
1575 }
1576
1577 6 boost::optional<double> RefrigerationCase::designEvaporatorTemperatureorBrineInletTemperature() const {
1578
1/1
✓ Branch 3 taken 6 times.
6 return getImpl<detail::RefrigerationCase_Impl>()->designEvaporatorTemperatureorBrineInletTemperature();
1579 }
1580
1581 3 double RefrigerationCase::averageRefrigerantChargeInventory() const {
1582
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::RefrigerationCase_Impl>()->averageRefrigerantChargeInventory();
1583 }
1584
1585 ✗ bool RefrigerationCase::isAverageRefrigerantChargeInventoryDefaulted() const {
1586 ✗ return getImpl<detail::RefrigerationCase_Impl>()->isAverageRefrigerantChargeInventoryDefaulted();
1587 }
1588
1589 3 boost::optional<int> RefrigerationCase::numberOfDoors() const {
1590
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::RefrigerationCase_Impl>()->numberOfDoors();
1591 }
1592
1593 3 boost::optional<double> RefrigerationCase::ratedTotalCoolingCapacityperDoor() const {
1594
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::RefrigerationCase_Impl>()->ratedTotalCoolingCapacityperDoor();
1595 }
1596
1597 3 boost::optional<double> RefrigerationCase::standardCaseFanPowerperDoor() const {
1598
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::RefrigerationCase_Impl>()->standardCaseFanPowerperDoor();
1599 }
1600
1601 3 boost::optional<double> RefrigerationCase::operatingCaseFanPowerperDoor() const {
1602
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::RefrigerationCase_Impl>()->operatingCaseFanPowerperDoor();
1603 }
1604
1605 3 boost::optional<double> RefrigerationCase::standardCaseLightingPowerperDoor() const {
1606
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::RefrigerationCase_Impl>()->standardCaseLightingPowerperDoor();
1607 }
1608
1609 3 boost::optional<double> RefrigerationCase::installedCaseLightingPowerperDoor() const {
1610
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::RefrigerationCase_Impl>()->installedCaseLightingPowerperDoor();
1611 }
1612
1613 3 boost::optional<double> RefrigerationCase::caseAntiSweatHeaterPowerperDoor() const {
1614
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::RefrigerationCase_Impl>()->caseAntiSweatHeaterPowerperDoor();
1615 }
1616
1617 3 boost::optional<double> RefrigerationCase::minimumAntiSweatHeaterPowerperDoor() const {
1618
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::RefrigerationCase_Impl>()->minimumAntiSweatHeaterPowerperDoor();
1619 }
1620
1621 3 boost::optional<double> RefrigerationCase::caseDefrostPowerperDoor() const {
1622
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::RefrigerationCase_Impl>()->caseDefrostPowerperDoor();
1623 }
1624
1625 2 std::string RefrigerationCase::unitType() const {
1626
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::RefrigerationCase_Impl>()->unitType();
1627 }
1628
1629 ✗ bool RefrigerationCase::isUnitTypeDefaulted() const {
1630 ✗ return getImpl<detail::RefrigerationCase_Impl>()->isUnitTypeDefaulted();
1631 }
1632
1633 1 boost::optional<int> RefrigerationCase::durationofDefrostCycle() const {
1634
1/1
✓ Branch 3 taken 1 time.
1 return getImpl<detail::RefrigerationCase_Impl>()->durationofDefrostCycle();
1635 }
1636
1637 1 boost::optional<int> RefrigerationCase::dripDownTime() const {
1638
1/1
✓ Branch 3 taken 1 time.
1 return getImpl<detail::RefrigerationCase_Impl>()->dripDownTime();
1639 }
1640
1641 2 boost::optional<openstudio::Time> RefrigerationCase::defrost1StartTime() const {
1642
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::RefrigerationCase_Impl>()->defrost1StartTime();
1643 }
1644
1645 2 boost::optional<openstudio::Time> RefrigerationCase::defrost2StartTime() const {
1646
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::RefrigerationCase_Impl>()->defrost2StartTime();
1647 }
1648
1649 2 boost::optional<openstudio::Time> RefrigerationCase::defrost3StartTime() const {
1650
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::RefrigerationCase_Impl>()->defrost3StartTime();
1651 }
1652
1653 2 boost::optional<openstudio::Time> RefrigerationCase::defrost4StartTime() const {
1654
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::RefrigerationCase_Impl>()->defrost4StartTime();
1655 }
1656
1657 2 boost::optional<openstudio::Time> RefrigerationCase::defrost5StartTime() const {
1658
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::RefrigerationCase_Impl>()->defrost5StartTime();
1659 }
1660
1661 2 boost::optional<openstudio::Time> RefrigerationCase::defrost6StartTime() const {
1662
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::RefrigerationCase_Impl>()->defrost6StartTime();
1663 }
1664
1665 2 boost::optional<openstudio::Time> RefrigerationCase::defrost7StartTime() const {
1666
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::RefrigerationCase_Impl>()->defrost7StartTime();
1667 }
1668
1669 2 boost::optional<openstudio::Time> RefrigerationCase::defrost8StartTime() const {
1670
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::RefrigerationCase_Impl>()->defrost8StartTime();
1671 }
1672
1673 17 boost::optional<RefrigerationSystem> RefrigerationCase::system() const {
1674
1/1
✓ Branch 3 taken 17 times.
17 return getImpl<detail::RefrigerationCase_Impl>()->system();
1675 }
1676
1677 11 boost::optional<RefrigerationSecondarySystem> RefrigerationCase::secondarySystem() const {
1678
1/1
✓ Branch 3 taken 11 times.
11 return getImpl<detail::RefrigerationCase_Impl>()->secondarySystem();
1679 }
1680
1681 1 boost::optional<RefrigerationCompressorRack> RefrigerationCase::compressorRack() const {
1682
1/1
✓ Branch 3 taken 1 time.
1 return getImpl<detail::RefrigerationCase_Impl>()->compressorRack();
1683 }
1684
1685 ✗ bool RefrigerationCase::setAvailabilitySchedule(Schedule& schedule) {
1686 ✗ return getImpl<detail::RefrigerationCase_Impl>()->setAvailabilitySchedule(schedule);
1687 }
1688
1689 ✗ void RefrigerationCase::resetAvailabilitySchedule() {
1690 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetAvailabilitySchedule();
1691 ✗ }
1692
1693 ✗ bool RefrigerationCase::setThermalZone(const ThermalZone& thermalZone) {
1694 ✗ return getImpl<detail::RefrigerationCase_Impl>()->setThermalZone(thermalZone);
1695 }
1696
1697 15 void RefrigerationCase::resetThermalZone() {
1698
1/1
✓ Branch 3 taken 15 times.
15 getImpl<detail::RefrigerationCase_Impl>()->resetThermalZone();
1699 15 }
1700
1701 87 bool RefrigerationCase::setRatedAmbientTemperature(double ratedAmbientTemperature) {
1702
1/1
✓ Branch 3 taken 87 times.
87 return getImpl<detail::RefrigerationCase_Impl>()->setRatedAmbientTemperature(ratedAmbientTemperature);
1703 }
1704
1705 1 void RefrigerationCase::resetRatedAmbientTemperature() {
1706
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::RefrigerationCase_Impl>()->resetRatedAmbientTemperature();
1707 1 }
1708
1709 89 bool RefrigerationCase::setRatedAmbientRelativeHumidity(double ratedAmbientRelativeHumidity) {
1710
1/1
✓ Branch 3 taken 89 times.
89 return getImpl<detail::RefrigerationCase_Impl>()->setRatedAmbientRelativeHumidity(ratedAmbientRelativeHumidity);
1711 }
1712
1713 1 void RefrigerationCase::resetRatedAmbientRelativeHumidity() {
1714
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::RefrigerationCase_Impl>()->resetRatedAmbientRelativeHumidity();
1715 1 }
1716
1717 87 bool RefrigerationCase::setRatedTotalCoolingCapacityperUnitLength(double ratedTotalCoolingCapacityperUnitLength) {
1718
1/1
✓ Branch 3 taken 87 times.
87 return getImpl<detail::RefrigerationCase_Impl>()->setRatedTotalCoolingCapacityperUnitLength(ratedTotalCoolingCapacityperUnitLength);
1719 }
1720
1721 1 void RefrigerationCase::resetRatedTotalCoolingCapacityperUnitLength() {
1722
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::RefrigerationCase_Impl>()->resetRatedTotalCoolingCapacityperUnitLength();
1723 1 }
1724
1725 89 bool RefrigerationCase::setRatedLatentHeatRatio(double ratedLatentHeatRatio) {
1726
1/1
✓ Branch 3 taken 89 times.
89 return getImpl<detail::RefrigerationCase_Impl>()->setRatedLatentHeatRatio(ratedLatentHeatRatio);
1727 }
1728
1729 1 void RefrigerationCase::resetRatedLatentHeatRatio() {
1730
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::RefrigerationCase_Impl>()->resetRatedLatentHeatRatio();
1731 1 }
1732
1733 89 bool RefrigerationCase::setRatedRuntimeFraction(double ratedRuntimeFraction) {
1734
1/1
✓ Branch 3 taken 89 times.
89 return getImpl<detail::RefrigerationCase_Impl>()->setRatedRuntimeFraction(ratedRuntimeFraction);
1735 }
1736
1737 1 void RefrigerationCase::resetRatedRuntimeFraction() {
1738
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::RefrigerationCase_Impl>()->resetRatedRuntimeFraction();
1739 1 }
1740
1741 87 bool RefrigerationCase::setCaseLength(double caseLength) {
1742
1/1
✓ Branch 3 taken 87 times.
87 return getImpl<detail::RefrigerationCase_Impl>()->setCaseLength(caseLength);
1743 }
1744
1745 1 void RefrigerationCase::resetCaseLength() {
1746
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::RefrigerationCase_Impl>()->resetCaseLength();
1747 1 }
1748
1749 87 bool RefrigerationCase::setCaseOperatingTemperature(double caseOperatingTemperature) {
1750
1/1
✓ Branch 3 taken 87 times.
87 return getImpl<detail::RefrigerationCase_Impl>()->setCaseOperatingTemperature(caseOperatingTemperature);
1751 }
1752
1753 1 void RefrigerationCase::resetCaseOperatingTemperature() {
1754
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::RefrigerationCase_Impl>()->resetCaseOperatingTemperature();
1755 1 }
1756
1757 83 bool RefrigerationCase::setLatentCaseCreditCurveType(const std::string& latentCaseCreditCurveType) {
1758
1/1
✓ Branch 3 taken 83 times.
83 return getImpl<detail::RefrigerationCase_Impl>()->setLatentCaseCreditCurveType(latentCaseCreditCurveType);
1759 }
1760
1761 ✗ void RefrigerationCase::resetLatentCaseCreditCurveType() {
1762 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetLatentCaseCreditCurveType();
1763 ✗ }
1764
1765 83 bool RefrigerationCase::setLatentCaseCreditCurve(const CurveCubic& curveCubic) {
1766
1/1
✓ Branch 3 taken 83 times.
83 return getImpl<detail::RefrigerationCase_Impl>()->setLatentCaseCreditCurve(curveCubic);
1767 }
1768
1769 87 bool RefrigerationCase::setStandardCaseFanPowerperUnitLength(double standardCaseFanPowerperUnitLength) {
1770
1/1
✓ Branch 3 taken 87 times.
87 return getImpl<detail::RefrigerationCase_Impl>()->setStandardCaseFanPowerperUnitLength(standardCaseFanPowerperUnitLength);
1771 }
1772
1773 1 void RefrigerationCase::resetStandardCaseFanPowerperUnitLength() {
1774
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::RefrigerationCase_Impl>()->resetStandardCaseFanPowerperUnitLength();
1775 1 }
1776
1777 87 bool RefrigerationCase::setOperatingCaseFanPowerperUnitLength(double operatingCaseFanPowerperUnitLength) {
1778
1/1
✓ Branch 3 taken 87 times.
87 return getImpl<detail::RefrigerationCase_Impl>()->setOperatingCaseFanPowerperUnitLength(operatingCaseFanPowerperUnitLength);
1779 }
1780
1781 1 void RefrigerationCase::resetOperatingCaseFanPowerperUnitLength() {
1782
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::RefrigerationCase_Impl>()->resetOperatingCaseFanPowerperUnitLength();
1783 1 }
1784
1785 86 bool RefrigerationCase::setStandardCaseLightingPowerperUnitLength(double standardCaseLightingPowerperUnitLength) {
1786
1/1
✓ Branch 3 taken 86 times.
86 return getImpl<detail::RefrigerationCase_Impl>()->setStandardCaseLightingPowerperUnitLength(standardCaseLightingPowerperUnitLength);
1787 }
1788
1789 1 void RefrigerationCase::resetStandardCaseLightingPowerperUnitLength() {
1790
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::RefrigerationCase_Impl>()->resetStandardCaseLightingPowerperUnitLength();
1791 1 }
1792
1793 86 bool RefrigerationCase::setInstalledCaseLightingPowerperUnitLength(double installedCaseLightingPowerperUnitLength) {
1794
2/2
✓ Branch 3 taken 86 times.
✓ Branch 6 taken 86 times.
86 return getImpl<detail::RefrigerationCase_Impl>()->setInstalledCaseLightingPowerperUnitLength(installedCaseLightingPowerperUnitLength);
1795 }
1796
1797 1 void RefrigerationCase::resetInstalledCaseLightingPowerperUnitLength() {
1798
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::RefrigerationCase_Impl>()->resetInstalledCaseLightingPowerperUnitLength();
1799 1 }
1800
1801 ✗ bool RefrigerationCase::setCaseLightingSchedule(Schedule& schedule) {
1802 ✗ return getImpl<detail::RefrigerationCase_Impl>()->setCaseLightingSchedule(schedule);
1803 }
1804
1805 ✗ void RefrigerationCase::resetCaseLightingSchedule() {
1806 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetCaseLightingSchedule();
1807 ✗ }
1808
1809 89 bool RefrigerationCase::setFractionofLightingEnergytoCase(double fractionofLightingEnergytoCase) {
1810
1/1
✓ Branch 3 taken 89 times.
89 return getImpl<detail::RefrigerationCase_Impl>()->setFractionofLightingEnergytoCase(fractionofLightingEnergytoCase);
1811 }
1812
1813 1 void RefrigerationCase::resetFractionofLightingEnergytoCase() {
1814
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::RefrigerationCase_Impl>()->resetFractionofLightingEnergytoCase();
1815 1 }
1816
1817 4 bool RefrigerationCase::setCaseAntiSweatHeaterPowerperUnitLength(double caseAntiSweatHeaterPowerperUnitLength) {
1818
1/1
✓ Branch 3 taken 4 times.
4 return getImpl<detail::RefrigerationCase_Impl>()->setCaseAntiSweatHeaterPowerperUnitLength(caseAntiSweatHeaterPowerperUnitLength);
1819 }
1820
1821 1 void RefrigerationCase::resetCaseAntiSweatHeaterPowerperUnitLength() {
1822
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::RefrigerationCase_Impl>()->resetCaseAntiSweatHeaterPowerperUnitLength();
1823 1 }
1824
1825 ✗ bool RefrigerationCase::setMinimumAntiSweatHeaterPowerperUnitLength(double minimumAntiSweatHeaterPowerperUnitLength) {
1826 ✗ return getImpl<detail::RefrigerationCase_Impl>()->setMinimumAntiSweatHeaterPowerperUnitLength(minimumAntiSweatHeaterPowerperUnitLength);
1827 }
1828
1829 ✗ void RefrigerationCase::resetMinimumAntiSweatHeaterPowerperUnitLength() {
1830 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetMinimumAntiSweatHeaterPowerperUnitLength();
1831 ✗ }
1832
1833 82 bool RefrigerationCase::setAntiSweatHeaterControlType(const std::string& antiSweatHeaterControlType) {
1834
1/1
✓ Branch 3 taken 82 times.
82 return getImpl<detail::RefrigerationCase_Impl>()->setAntiSweatHeaterControlType(antiSweatHeaterControlType);
1835 }
1836
1837 ✗ void RefrigerationCase::resetAntiSweatHeaterControlType() {
1838 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetAntiSweatHeaterControlType();
1839 ✗ }
1840
1841 86 bool RefrigerationCase::setHumidityatZeroAntiSweatHeaterEnergy(double humidityatZeroAntiSweatHeaterEnergy) {
1842
1/1
✓ Branch 3 taken 86 times.
86 return getImpl<detail::RefrigerationCase_Impl>()->setHumidityatZeroAntiSweatHeaterEnergy(humidityatZeroAntiSweatHeaterEnergy);
1843 }
1844
1845 1 void RefrigerationCase::resetHumidityatZeroAntiSweatHeaterEnergy() {
1846
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::RefrigerationCase_Impl>()->resetHumidityatZeroAntiSweatHeaterEnergy();
1847 1 }
1848
1849 87 bool RefrigerationCase::setCaseHeight(double caseHeight) {
1850
1/1
✓ Branch 3 taken 87 times.
87 return getImpl<detail::RefrigerationCase_Impl>()->setCaseHeight(caseHeight);
1851 }
1852
1853 1 void RefrigerationCase::resetCaseHeight() {
1854
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::RefrigerationCase_Impl>()->resetCaseHeight();
1855 1 }
1856
1857 89 bool RefrigerationCase::setFractionofAntiSweatHeaterEnergytoCase(double fractionofAntiSweatHeaterEnergytoCase) {
1858
1/1
✓ Branch 3 taken 89 times.
89 return getImpl<detail::RefrigerationCase_Impl>()->setFractionofAntiSweatHeaterEnergytoCase(fractionofAntiSweatHeaterEnergytoCase);
1859 }
1860
1861 1 void RefrigerationCase::resetFractionofAntiSweatHeaterEnergytoCase() {
1862
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::RefrigerationCase_Impl>()->resetFractionofAntiSweatHeaterEnergytoCase();
1863 1 }
1864
1865 87 bool RefrigerationCase::setCaseDefrostPowerperUnitLength(double caseDefrostPowerperUnitLength) {
1866
1/1
✓ Branch 3 taken 87 times.
87 return getImpl<detail::RefrigerationCase_Impl>()->setCaseDefrostPowerperUnitLength(caseDefrostPowerperUnitLength);
1867 }
1868
1869 1 void RefrigerationCase::resetCaseDefrostPowerperUnitLength() {
1870
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::RefrigerationCase_Impl>()->resetCaseDefrostPowerperUnitLength();
1871 1 }
1872
1873 83 bool RefrigerationCase::setCaseDefrostType(const std::string& caseDefrostType) {
1874
1/1
✓ Branch 3 taken 83 times.
83 return getImpl<detail::RefrigerationCase_Impl>()->setCaseDefrostType(caseDefrostType);
1875 }
1876
1877 ✗ void RefrigerationCase::resetCaseDefrostType() {
1878 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetCaseDefrostType();
1879 ✗ }
1880
1881 82 bool RefrigerationCase::setCaseDefrostSchedule(Schedule& schedule) {
1882
1/1
✓ Branch 3 taken 82 times.
82 return getImpl<detail::RefrigerationCase_Impl>()->setCaseDefrostSchedule(schedule);
1883 }
1884
1885 ✗ void RefrigerationCase::resetCaseDefrostSchedule() {
1886 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetCaseDefrostSchedule();
1887 ✗ }
1888
1889 ✗ bool RefrigerationCase::setCaseDefrostDripDownSchedule(Schedule& schedule) {
1890 ✗ return getImpl<detail::RefrigerationCase_Impl>()->setCaseDefrostDripDownSchedule(schedule);
1891 }
1892
1893 ✗ void RefrigerationCase::resetCaseDefrostDripDownSchedule() {
1894 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetCaseDefrostDripDownSchedule();
1895 ✗ }
1896
1897 82 bool RefrigerationCase::setDefrostEnergyCorrectionCurveType(const std::string& defrostEnergyCorrectionCurveType) {
1898
1/1
✓ Branch 3 taken 82 times.
82 return getImpl<detail::RefrigerationCase_Impl>()->setDefrostEnergyCorrectionCurveType(defrostEnergyCorrectionCurveType);
1899 }
1900
1901 ✗ void RefrigerationCase::resetDefrostEnergyCorrectionCurveType() {
1902 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetDefrostEnergyCorrectionCurveType();
1903 ✗ }
1904
1905 ✗ bool RefrigerationCase::setDefrostEnergyCorrectionCurve(const CurveCubic& curveCubic) {
1906 ✗ return getImpl<detail::RefrigerationCase_Impl>()->setDefrostEnergyCorrectionCurve(curveCubic);
1907 }
1908
1909 ✗ void RefrigerationCase::resetDefrostEnergyCorrectionCurve() {
1910 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetDefrostEnergyCorrectionCurve();
1911 ✗ }
1912
1913 89 bool RefrigerationCase::setUnderCaseHVACReturnAirFraction(double underCaseHVACReturnAirFraction) {
1914
1/1
✓ Branch 3 taken 89 times.
89 return getImpl<detail::RefrigerationCase_Impl>()->setUnderCaseHVACReturnAirFraction(underCaseHVACReturnAirFraction);
1915 }
1916
1917 1 void RefrigerationCase::resetUnderCaseHVACReturnAirFraction() {
1918
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::RefrigerationCase_Impl>()->resetUnderCaseHVACReturnAirFraction();
1919 1 }
1920
1921 ✗ bool RefrigerationCase::setRefrigeratedCaseRestockingSchedule(Schedule& schedule) {
1922 ✗ return getImpl<detail::RefrigerationCase_Impl>()->setRefrigeratedCaseRestockingSchedule(schedule);
1923 }
1924
1925 ✗ void RefrigerationCase::resetRefrigeratedCaseRestockingSchedule() {
1926 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetRefrigeratedCaseRestockingSchedule();
1927 ✗ }
1928
1929 ✗ bool RefrigerationCase::setCaseCreditFractionSchedule(Schedule& schedule) {
1930 ✗ return getImpl<detail::RefrigerationCase_Impl>()->setCaseCreditFractionSchedule(schedule);
1931 }
1932
1933 ✗ void RefrigerationCase::resetCaseCreditFractionSchedule() {
1934 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetCaseCreditFractionSchedule();
1935 ✗ }
1936
1937 89 bool RefrigerationCase::setDesignEvaporatorTemperatureorBrineInletTemperature(double designEvaporatorTemperatureorBrineInletTemperature) {
1938
2/2
✓ Branch 3 taken 89 times.
✓ Branch 6 taken 89 times.
178 return getImpl<detail::RefrigerationCase_Impl>()->setDesignEvaporatorTemperatureorBrineInletTemperature(
1939 178 designEvaporatorTemperatureorBrineInletTemperature);
1940 }
1941
1942 1 void RefrigerationCase::resetDesignEvaporatorTemperatureorBrineInletTemperature() {
1943
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::RefrigerationCase_Impl>()->resetDesignEvaporatorTemperatureorBrineInletTemperature();
1944 1 }
1945
1946 2 bool RefrigerationCase::setAverageRefrigerantChargeInventory(double averageRefrigerantChargeInventory) {
1947
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::RefrigerationCase_Impl>()->setAverageRefrigerantChargeInventory(averageRefrigerantChargeInventory);
1948 }
1949
1950 1 void RefrigerationCase::resetAverageRefrigerantChargeInventory() {
1951
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::RefrigerationCase_Impl>()->resetAverageRefrigerantChargeInventory();
1952 1 }
1953
1954 2 bool RefrigerationCase::setNumberOfDoors(int numberOfDoors) {
1955
2/2
✓ Branch 3 taken 2 times.
✓ Branch 6 taken 2 times.
2 return getImpl<detail::RefrigerationCase_Impl>()->setNumberOfDoors(numberOfDoors);
1956 }
1957
1958 ✗ void RefrigerationCase::resetNumberOfDoors() {
1959 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetNumberOfDoors();
1960 ✗ }
1961
1962 2 bool RefrigerationCase::setRatedTotalCoolingCapacityperDoor(double ratedTotalCoolingCapacityperDoor) {
1963
2/2
✓ Branch 3 taken 2 times.
✓ Branch 6 taken 2 times.
2 return getImpl<detail::RefrigerationCase_Impl>()->setRatedTotalCoolingCapacityperDoor(ratedTotalCoolingCapacityperDoor);
1964 }
1965
1966 ✗ void RefrigerationCase::resetRatedTotalCoolingCapacityperDoor() {
1967 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetRatedTotalCoolingCapacityperDoor();
1968 ✗ }
1969
1970 2 bool RefrigerationCase::setStandardCaseFanPowerperDoor(double standardCaseFanPowerperDoor) {
1971
2/2
✓ Branch 3 taken 2 times.
✓ Branch 6 taken 2 times.
2 return getImpl<detail::RefrigerationCase_Impl>()->setStandardCaseFanPowerperDoor(standardCaseFanPowerperDoor);
1972 }
1973
1974 ✗ void RefrigerationCase::resetStandardCaseFanPowerperDoor() {
1975 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetStandardCaseFanPowerperDoor();
1976 ✗ }
1977
1978 2 bool RefrigerationCase::setOperatingCaseFanPowerperDoor(double operatingCaseFanPowerperDoor) {
1979
2/2
✓ Branch 3 taken 2 times.
✓ Branch 6 taken 2 times.
2 return getImpl<detail::RefrigerationCase_Impl>()->setOperatingCaseFanPowerperDoor(operatingCaseFanPowerperDoor);
1980 }
1981
1982 ✗ void RefrigerationCase::resetOperatingCaseFanPowerperDoor() {
1983 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetOperatingCaseFanPowerperDoor();
1984 ✗ }
1985
1986 2 bool RefrigerationCase::setStandardCaseLightingPowerperDoor(double standardCaseLightingPowerperDoor) {
1987
2/2
✓ Branch 3 taken 2 times.
✓ Branch 6 taken 2 times.
2 return getImpl<detail::RefrigerationCase_Impl>()->setStandardCaseLightingPowerperDoor(standardCaseLightingPowerperDoor);
1988 }
1989
1990 ✗ void RefrigerationCase::resetStandardCaseLightingPowerperDoor() {
1991 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetStandardCaseLightingPowerperDoor();
1992 ✗ }
1993
1994 2 bool RefrigerationCase::setInstalledCaseLightingPowerperDoor(double installedCaseLightingPowerperDoor) {
1995
2/2
✓ Branch 3 taken 2 times.
✓ Branch 6 taken 2 times.
2 return getImpl<detail::RefrigerationCase_Impl>()->setInstalledCaseLightingPowerperDoor(installedCaseLightingPowerperDoor);
1996 }
1997
1998 ✗ void RefrigerationCase::resetInstalledCaseLightingPowerperDoor() {
1999 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetInstalledCaseLightingPowerperDoor();
2000 ✗ }
2001
2002 2 bool RefrigerationCase::setCaseAntiSweatHeaterPowerperDoor(double caseAntiSweatHeaterPowerperDoor) {
2003
2/2
✓ Branch 3 taken 2 times.
✓ Branch 6 taken 2 times.
2 return getImpl<detail::RefrigerationCase_Impl>()->setCaseAntiSweatHeaterPowerperDoor(caseAntiSweatHeaterPowerperDoor);
2004 }
2005
2006 ✗ void RefrigerationCase::resetCaseAntiSweatHeaterPowerperDoor() {
2007 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetCaseAntiSweatHeaterPowerperDoor();
2008 ✗ }
2009
2010 2 bool RefrigerationCase::setMinimumAntiSweatHeaterPowerperDoor(double minimumAntiSweatHeaterPowerperDoor) {
2011
2/2
✓ Branch 3 taken 2 times.
✓ Branch 6 taken 2 times.
2 return getImpl<detail::RefrigerationCase_Impl>()->setMinimumAntiSweatHeaterPowerperDoor(minimumAntiSweatHeaterPowerperDoor);
2012 }
2013
2014 ✗ void RefrigerationCase::resetMinimumAntiSweatHeaterPowerperDoor() {
2015 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetMinimumAntiSweatHeaterPowerperDoor();
2016 ✗ }
2017
2018 2 bool RefrigerationCase::setCaseDefrostPowerperDoor(double caseDefrostPowerperDoor) {
2019
2/2
✓ Branch 3 taken 2 times.
✓ Branch 6 taken 2 times.
2 return getImpl<detail::RefrigerationCase_Impl>()->setCaseDefrostPowerperDoor(caseDefrostPowerperDoor);
2020 }
2021
2022 ✗ void RefrigerationCase::resetCaseDefrostPowerperDoor() {
2023 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetCaseDefrostPowerperDoor();
2024 ✗ }
2025
2026 1 bool RefrigerationCase::setUnitType(const std::string& unitType) {
2027
1/1
✓ Branch 3 taken 1 time.
1 return getImpl<detail::RefrigerationCase_Impl>()->setUnitType(unitType);
2028 }
2029
2030 ✗ void RefrigerationCase::resetUnitType() {
2031 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetUnitType();
2032 ✗ }
2033
2034 2 bool RefrigerationCase::setDurationofDefrostCycle(int durationofDefrostCycle) {
2035
2/2
✓ Branch 3 taken 2 times.
✓ Branch 6 taken 2 times.
2 return getImpl<detail::RefrigerationCase_Impl>()->setDurationofDefrostCycle(durationofDefrostCycle);
2036 }
2037
2038 ✗ void RefrigerationCase::resetDurationofDefrostCycle() {
2039 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetDurationofDefrostCycle();
2040 ✗ }
2041
2042 1 bool RefrigerationCase::setDripDownTime(int dripDownTime) {
2043
2/2
✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
1 return getImpl<detail::RefrigerationCase_Impl>()->setDripDownTime(dripDownTime);
2044 }
2045
2046 ✗ void RefrigerationCase::resetDripDownTime() {
2047 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetDripDownTime();
2048 ✗ }
2049
2050 1 bool RefrigerationCase::setDefrost1StartTime(const openstudio::Time& defrost1StartTime) {
2051
1/1
✓ Branch 3 taken 1 time.
1 return getImpl<detail::RefrigerationCase_Impl>()->setDefrost1StartTime(defrost1StartTime);
2052 }
2053
2054 ✗ void RefrigerationCase::resetDefrost1StartTime() {
2055 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetDefrost1StartTime();
2056 ✗ }
2057
2058 1 bool RefrigerationCase::setDefrost2StartTime(const openstudio::Time& defrost2StartTime) {
2059
1/1
✓ Branch 3 taken 1 time.
1 return getImpl<detail::RefrigerationCase_Impl>()->setDefrost2StartTime(defrost2StartTime);
2060 }
2061
2062 ✗ void RefrigerationCase::resetDefrost2StartTime() {
2063 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetDefrost2StartTime();
2064 ✗ }
2065
2066 1 bool RefrigerationCase::setDefrost3StartTime(const openstudio::Time& defrost3StartTime) {
2067
1/1
✓ Branch 3 taken 1 time.
1 return getImpl<detail::RefrigerationCase_Impl>()->setDefrost3StartTime(defrost3StartTime);
2068 }
2069
2070 ✗ void RefrigerationCase::resetDefrost3StartTime() {
2071 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetDefrost3StartTime();
2072 ✗ }
2073
2074 1 bool RefrigerationCase::setDefrost4StartTime(const openstudio::Time& defrost4StartTime) {
2075
1/1
✓ Branch 3 taken 1 time.
1 return getImpl<detail::RefrigerationCase_Impl>()->setDefrost4StartTime(defrost4StartTime);
2076 }
2077
2078 ✗ void RefrigerationCase::resetDefrost4StartTime() {
2079 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetDefrost4StartTime();
2080 ✗ }
2081
2082 1 bool RefrigerationCase::setDefrost5StartTime(const openstudio::Time& defrost5StartTime) {
2083
1/1
✓ Branch 3 taken 1 time.
1 return getImpl<detail::RefrigerationCase_Impl>()->setDefrost5StartTime(defrost5StartTime);
2084 }
2085
2086 ✗ void RefrigerationCase::resetDefrost5StartTime() {
2087 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetDefrost5StartTime();
2088 ✗ }
2089
2090 1 bool RefrigerationCase::setDefrost6StartTime(const openstudio::Time& defrost6StartTime) {
2091
1/1
✓ Branch 3 taken 1 time.
1 return getImpl<detail::RefrigerationCase_Impl>()->setDefrost6StartTime(defrost6StartTime);
2092 }
2093
2094 ✗ void RefrigerationCase::resetDefrost6StartTime() {
2095 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetDefrost6StartTime();
2096 ✗ }
2097
2098 1 bool RefrigerationCase::setDefrost7StartTime(const openstudio::Time& defrost7StartTime) {
2099
1/1
✓ Branch 3 taken 1 time.
1 return getImpl<detail::RefrigerationCase_Impl>()->setDefrost7StartTime(defrost7StartTime);
2100 }
2101
2102 ✗ void RefrigerationCase::resetDefrost7StartTime() {
2103 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetDefrost7StartTime();
2104 ✗ }
2105
2106 1 bool RefrigerationCase::setDefrost8StartTime(const openstudio::Time& defrost8StartTime) {
2107
1/1
✓ Branch 3 taken 1 time.
1 return getImpl<detail::RefrigerationCase_Impl>()->setDefrost8StartTime(defrost8StartTime);
2108 }
2109
2110 ✗ void RefrigerationCase::resetDefrost8StartTime() {
2111 ✗ getImpl<detail::RefrigerationCase_Impl>()->resetDefrost8StartTime();
2112 ✗ }
2113
2114 ✗ bool RefrigerationCase::addToSystem(RefrigerationSystem& system) {
2115 ✗ return getImpl<detail::RefrigerationCase_Impl>()->addToSystem(system);
2116 }
2117
2118 ✗ void RefrigerationCase::removeFromSystem() {
2119 ✗ getImpl<detail::RefrigerationCase_Impl>()->removeFromSystem();
2120 ✗ }
2121
2122 ✗ bool RefrigerationCase::addToSecondarySystem(RefrigerationSecondarySystem& secondarySystem) {
2123 ✗ return getImpl<detail::RefrigerationCase_Impl>()->addToSecondarySystem(secondarySystem);
2124 }
2125
2126 ✗ void RefrigerationCase::removeFromSecondarySystem() {
2127 ✗ getImpl<detail::RefrigerationCase_Impl>()->removeFromSecondarySystem();
2128 ✗ }
2129
2130 ✗ bool RefrigerationCase::addToCompressorRack(RefrigerationCompressorRack& compressorRack) {
2131 ✗ return getImpl<detail::RefrigerationCase_Impl>()->addToCompressorRack(compressorRack);
2132 }
2133
2134 ✗ void RefrigerationCase::removeFromCompressorRack() {
2135 ✗ getImpl<detail::RefrigerationCase_Impl>()->removeFromCompressorRack();
2136 ✗ }
2137
2138 /// @cond
2139
1/1
✓ Branch 3 taken 187 times.
187 RefrigerationCase::RefrigerationCase(std::shared_ptr<detail::RefrigerationCase_Impl> impl) : ParentObject(std::move(impl)) {}
2140 /// @endcond
2141
2142 } // namespace model
2143 } // namespace openstudio
2144