GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 80.7% 713 / 0 / 884
Functions: 88.3% 241 / 0 / 273
Branches: 49.7% 366 / 0 / 737

src/model/SizingZone.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 "SizingZone.hpp"
7 #include "SizingZone_Impl.hpp"
8 #include "ThermalZone.hpp"
9 #include "ThermalZone_Impl.hpp"
10 #include "Model.hpp"
11 #include "Model_Impl.hpp"
12 #include "Schedule.hpp"
13 #include "Schedule_Impl.hpp"
14 #include <utilities/idd/IddFactory.hxx>
15
16 #include <utilities/idd/OS_Sizing_Zone_FieldEnums.hxx>
17 #include <utilities/idd/IddEnums.hxx>
18 #include "../utilities/units/Unit.hpp"
19 #include "../utilities/core/Assert.hpp"
20 #include "../utilities/sql/SqlFile.hpp"
21
22 namespace openstudio {
23 namespace model {
24
25 namespace detail {
26
27 3732 SizingZone_Impl::SizingZone_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle)
28 3732 : ModelObject_Impl(idfObject, model, keepHandle) {
29
4/6
✓ Branch 1 taken 3732 times.
✓ Branch 4 taken 3732 times.
✓ Branch 7 taken 3732 times.
✗ Branch 10 not taken.
✓ Branch 11 taken 3732 times.
✗ Branch 13 not taken.
3732 OS_ASSERT(idfObject.iddObject().type() == SizingZone::iddObjectType());
30 3732 }
31
32 1357 SizingZone_Impl::SizingZone_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle)
33 1357 : ModelObject_Impl(other, model, keepHandle) {
34
4/6
✓ Branch 1 taken 1357 times.
✓ Branch 4 taken 1357 times.
✓ Branch 7 taken 1357 times.
✗ Branch 10 not taken.
✓ Branch 11 taken 1357 times.
✗ Branch 13 not taken.
1357 OS_ASSERT(other.iddObject().type() == SizingZone::iddObjectType());
35 1357 }
36
37 631 SizingZone_Impl::SizingZone_Impl(const SizingZone_Impl& other, Model_Impl* model, bool keepHandle) : ModelObject_Impl(other, model, keepHandle) {}
38
39 1 const std::vector<std::string>& SizingZone_Impl::outputVariableNames() const {
40
2/4
✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
✓ Branch 3 taken 1 time.
✗ Branch 4 not taken.
1 static const std::vector<std::string> result;
41 1 return result;
42 }
43
44 1 IddObjectType SizingZone_Impl::iddObjectType() const {
45 1 return SizingZone::iddObjectType();
46 }
47
48 ✗ std::vector<ScheduleTypeKey> SizingZone_Impl::getScheduleTypeKeys(const Schedule& schedule) const {
49 ✗ std::vector<ScheduleTypeKey> result;
50 ✗ UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
51 ✗ UnsignedVector::const_iterator b(fieldIndices.begin());
52 ✗ UnsignedVector::const_iterator e(fieldIndices.end());
53 ✗ if (std::find(b, e, OS_Sizing_ZoneFields::ZoneHumidistatDehumidificationSetPointScheduleName) != e) {
54 ✗ result.emplace_back("SizingZone", "Zone Humidistat Dehumidification Set Point");
55 }
56 ✗ if (std::find(b, e, OS_Sizing_ZoneFields::ZoneHumidistatHumidificationSetPointScheduleName) != e) {
57 ✗ result.emplace_back("SizingZone", "Zone Humidistat Humidification Set Point");
58 }
59 ✗ return result;
60 ✗ }
61
62 57 ThermalZone SizingZone_Impl::thermalZone() const {
63
1/1
✓ Branch 1 taken 57 times.
57 boost::optional<ThermalZone> value = optionalThermalZone();
64
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 57 times.
57 if (!value) {
65 ✗ LOG_AND_THROW(briefDescription() << " does not have an Zone or Zone List attached.");
66 }
67
2/2
✓ Branch 1 taken 57 times.
✓ Branch 4 taken 57 times.
114 return value.get();
68 57 }
69
70 60 std::string SizingZone_Impl::zoneCoolingDesignSupplyAirTemperatureInputMethod() const {
71
1/1
✓ Branch 1 taken 60 times.
60 boost::optional<std::string> value = getString(OS_Sizing_ZoneFields::ZoneCoolingDesignSupplyAirTemperatureInputMethod, true);
72
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 60 times.
✗ Branch 4 not taken.
60 OS_ASSERT(value);
73
2/2
✓ Branch 1 taken 60 times.
✓ Branch 4 taken 60 times.
120 return value.get();
74 60 }
75
76 59 double SizingZone_Impl::zoneCoolingDesignSupplyAirTemperature() const {
77
1/1
✓ Branch 1 taken 59 times.
59 boost::optional<double> value = getDouble(OS_Sizing_ZoneFields::ZoneCoolingDesignSupplyAirTemperature, true);
78
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 59 times.
✗ Branch 4 not taken.
59 OS_ASSERT(value);
79
1/1
✓ Branch 1 taken 59 times.
118 return value.get();
80 }
81
82 59 double SizingZone_Impl::zoneCoolingDesignSupplyAirTemperatureDifference() const {
83
1/1
✓ Branch 1 taken 59 times.
59 boost::optional<double> value = getDouble(OS_Sizing_ZoneFields::ZoneCoolingDesignSupplyAirTemperatureDifference, true);
84
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 59 times.
✗ Branch 4 not taken.
59 OS_ASSERT(value);
85
1/1
✓ Branch 1 taken 59 times.
118 return value.get();
86 }
87
88 60 std::string SizingZone_Impl::zoneHeatingDesignSupplyAirTemperatureInputMethod() const {
89
1/1
✓ Branch 1 taken 60 times.
60 boost::optional<std::string> value = getString(OS_Sizing_ZoneFields::ZoneHeatingDesignSupplyAirTemperatureInputMethod, true);
90
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 60 times.
✗ Branch 4 not taken.
60 OS_ASSERT(value);
91
2/2
✓ Branch 1 taken 60 times.
✓ Branch 4 taken 60 times.
120 return value.get();
92 60 }
93
94 59 double SizingZone_Impl::zoneHeatingDesignSupplyAirTemperature() const {
95
1/1
✓ Branch 1 taken 59 times.
59 boost::optional<double> value = getDouble(OS_Sizing_ZoneFields::ZoneHeatingDesignSupplyAirTemperature, true);
96
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 59 times.
✗ Branch 4 not taken.
59 OS_ASSERT(value);
97
1/1
✓ Branch 1 taken 59 times.
118 return value.get();
98 }
99
100 59 double SizingZone_Impl::zoneHeatingDesignSupplyAirTemperatureDifference() const {
101
1/1
✓ Branch 1 taken 59 times.
59 boost::optional<double> value = getDouble(OS_Sizing_ZoneFields::ZoneHeatingDesignSupplyAirTemperatureDifference, true);
102
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 59 times.
✗ Branch 4 not taken.
59 OS_ASSERT(value);
103
1/1
✓ Branch 1 taken 59 times.
118 return value.get();
104 }
105
106 59 double SizingZone_Impl::zoneCoolingDesignSupplyAirHumidityRatio() const {
107
1/1
✓ Branch 1 taken 59 times.
59 boost::optional<double> value = getDouble(OS_Sizing_ZoneFields::ZoneCoolingDesignSupplyAirHumidityRatio, true);
108
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 59 times.
✗ Branch 4 not taken.
59 OS_ASSERT(value);
109
1/1
✓ Branch 1 taken 59 times.
118 return value.get();
110 }
111
112 59 double SizingZone_Impl::zoneHeatingDesignSupplyAirHumidityRatio() const {
113
1/1
✓ Branch 1 taken 59 times.
59 boost::optional<double> value = getDouble(OS_Sizing_ZoneFields::ZoneHeatingDesignSupplyAirHumidityRatio, true);
114
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 59 times.
✗ Branch 4 not taken.
59 OS_ASSERT(value);
115
1/1
✓ Branch 1 taken 59 times.
118 return value.get();
116 }
117
118 62 boost::optional<double> SizingZone_Impl::zoneHeatingSizingFactor() const {
119 62 return getDouble(OS_Sizing_ZoneFields::ZoneHeatingSizingFactor, true);
120 }
121
122 61 boost::optional<double> SizingZone_Impl::zoneCoolingSizingFactor() const {
123 61 return getDouble(OS_Sizing_ZoneFields::ZoneCoolingSizingFactor, true);
124 }
125
126 61 std::string SizingZone_Impl::coolingDesignAirFlowMethod() const {
127
1/1
✓ Branch 1 taken 61 times.
61 boost::optional<std::string> value = getString(OS_Sizing_ZoneFields::CoolingDesignAirFlowMethod, true);
128
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 61 times.
✗ Branch 4 not taken.
61 OS_ASSERT(value);
129
2/2
✓ Branch 1 taken 61 times.
✓ Branch 4 taken 61 times.
122 return value.get();
130 61 }
131
132 2 bool SizingZone_Impl::isCoolingDesignAirFlowMethodDefaulted() const {
133 2 return isEmpty(OS_Sizing_ZoneFields::CoolingDesignAirFlowMethod);
134 }
135
136 59 double SizingZone_Impl::coolingDesignAirFlowRate() const {
137
1/1
✓ Branch 1 taken 59 times.
59 boost::optional<double> value = getDouble(OS_Sizing_ZoneFields::CoolingDesignAirFlowRate, true);
138
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 59 times.
✗ Branch 4 not taken.
59 OS_ASSERT(value);
139
1/1
✓ Branch 1 taken 59 times.
118 return value.get();
140 }
141
142 4 bool SizingZone_Impl::isCoolingDesignAirFlowRateDefaulted() const {
143 4 return isEmpty(OS_Sizing_ZoneFields::CoolingDesignAirFlowRate);
144 }
145
146 60 double SizingZone_Impl::coolingMinimumAirFlowperZoneFloorArea() const {
147
1/1
✓ Branch 1 taken 60 times.
60 boost::optional<double> value = getDouble(OS_Sizing_ZoneFields::CoolingMinimumAirFlowperZoneFloorArea, true);
148
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 60 times.
✗ Branch 4 not taken.
60 OS_ASSERT(value);
149
1/1
✓ Branch 1 taken 60 times.
120 return value.get();
150 }
151
152 4 bool SizingZone_Impl::isCoolingMinimumAirFlowperZoneFloorAreaDefaulted() const {
153 4 return isEmpty(OS_Sizing_ZoneFields::CoolingMinimumAirFlowperZoneFloorArea);
154 }
155
156 59 double SizingZone_Impl::coolingMinimumAirFlow() const {
157
1/1
✓ Branch 1 taken 59 times.
59 boost::optional<double> value = getDouble(OS_Sizing_ZoneFields::CoolingMinimumAirFlow, true);
158
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 59 times.
✗ Branch 4 not taken.
59 OS_ASSERT(value);
159
1/1
✓ Branch 1 taken 59 times.
118 return value.get();
160 }
161
162 4 bool SizingZone_Impl::isCoolingMinimumAirFlowDefaulted() const {
163 4 return isEmpty(OS_Sizing_ZoneFields::CoolingMinimumAirFlow);
164 }
165
166 60 double SizingZone_Impl::coolingMinimumAirFlowFraction() const {
167
1/1
✓ Branch 1 taken 60 times.
60 boost::optional<double> value = getDouble(OS_Sizing_ZoneFields::CoolingMinimumAirFlowFraction, true);
168
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 60 times.
✗ Branch 4 not taken.
60 OS_ASSERT(value);
169
1/1
✓ Branch 1 taken 60 times.
120 return value.get();
170 }
171
172 4 bool SizingZone_Impl::isCoolingMinimumAirFlowFractionDefaulted() const {
173 4 return isEmpty(OS_Sizing_ZoneFields::CoolingMinimumAirFlowFraction);
174 }
175
176 61 std::string SizingZone_Impl::heatingDesignAirFlowMethod() const {
177
1/1
✓ Branch 1 taken 61 times.
61 boost::optional<std::string> value = getString(OS_Sizing_ZoneFields::HeatingDesignAirFlowMethod, true);
178
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 61 times.
✗ Branch 4 not taken.
61 OS_ASSERT(value);
179
2/2
✓ Branch 1 taken 61 times.
✓ Branch 4 taken 61 times.
122 return value.get();
180 61 }
181
182 2 bool SizingZone_Impl::isHeatingDesignAirFlowMethodDefaulted() const {
183 2 return isEmpty(OS_Sizing_ZoneFields::HeatingDesignAirFlowMethod);
184 }
185
186 59 double SizingZone_Impl::heatingDesignAirFlowRate() const {
187
1/1
✓ Branch 1 taken 59 times.
59 boost::optional<double> value = getDouble(OS_Sizing_ZoneFields::HeatingDesignAirFlowRate, true);
188
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 59 times.
✗ Branch 4 not taken.
59 OS_ASSERT(value);
189
1/1
✓ Branch 1 taken 59 times.
118 return value.get();
190 }
191
192 4 bool SizingZone_Impl::isHeatingDesignAirFlowRateDefaulted() const {
193 4 return isEmpty(OS_Sizing_ZoneFields::HeatingDesignAirFlowRate);
194 }
195
196 60 double SizingZone_Impl::heatingMaximumAirFlowperZoneFloorArea() const {
197
1/1
✓ Branch 1 taken 60 times.
60 boost::optional<double> value = getDouble(OS_Sizing_ZoneFields::HeatingMaximumAirFlowperZoneFloorArea, true);
198
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 60 times.
✗ Branch 4 not taken.
60 OS_ASSERT(value);
199
1/1
✓ Branch 1 taken 60 times.
120 return value.get();
200 }
201
202 4 bool SizingZone_Impl::isHeatingMaximumAirFlowperZoneFloorAreaDefaulted() const {
203 4 return isEmpty(OS_Sizing_ZoneFields::HeatingMaximumAirFlowperZoneFloorArea);
204 }
205
206 60 double SizingZone_Impl::heatingMaximumAirFlow() const {
207
1/1
✓ Branch 1 taken 60 times.
60 boost::optional<double> value = getDouble(OS_Sizing_ZoneFields::HeatingMaximumAirFlow, true);
208
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 60 times.
✗ Branch 4 not taken.
60 OS_ASSERT(value);
209
1/1
✓ Branch 1 taken 60 times.
120 return value.get();
210 }
211
212 4 bool SizingZone_Impl::isHeatingMaximumAirFlowDefaulted() const {
213 4 return isEmpty(OS_Sizing_ZoneFields::HeatingMaximumAirFlow);
214 }
215
216 60 double SizingZone_Impl::heatingMaximumAirFlowFraction() const {
217
1/1
✓ Branch 1 taken 60 times.
60 boost::optional<double> value = getDouble(OS_Sizing_ZoneFields::HeatingMaximumAirFlowFraction, true);
218
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 60 times.
✗ Branch 4 not taken.
60 OS_ASSERT(value);
219
1/1
✓ Branch 1 taken 60 times.
120 return value.get();
220 }
221
222 4 bool SizingZone_Impl::isHeatingMaximumAirFlowFractionDefaulted() const {
223 4 return isEmpty(OS_Sizing_ZoneFields::HeatingMaximumAirFlowFraction);
224 }
225
226 19 double SizingZone_Impl::designZoneAirDistributionEffectivenessinCoolingMode() const {
227
1/1
✓ Branch 1 taken 19 times.
19 boost::optional<double> value = getDouble(OS_Sizing_ZoneFields::DesignZoneAirDistributionEffectivenessinCoolingMode, true);
228
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 19 times.
✗ Branch 4 not taken.
19 OS_ASSERT(value);
229
1/1
✓ Branch 1 taken 19 times.
38 return value.get();
230 }
231
232 95 bool SizingZone_Impl::isDesignZoneAirDistributionEffectivenessinCoolingModeDefaulted() const {
233 95 return isEmpty(OS_Sizing_ZoneFields::DesignZoneAirDistributionEffectivenessinCoolingMode);
234 }
235
236 18 double SizingZone_Impl::designZoneAirDistributionEffectivenessinHeatingMode() const {
237
1/1
✓ Branch 1 taken 18 times.
18 boost::optional<double> value = getDouble(OS_Sizing_ZoneFields::DesignZoneAirDistributionEffectivenessinHeatingMode, true);
238
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 18 times.
✗ Branch 4 not taken.
18 OS_ASSERT(value);
239
1/1
✓ Branch 1 taken 18 times.
36 return value.get();
240 }
241
242 70 bool SizingZone_Impl::isDesignZoneAirDistributionEffectivenessinHeatingModeDefaulted() const {
243 70 return isEmpty(OS_Sizing_ZoneFields::DesignZoneAirDistributionEffectivenessinHeatingMode);
244 }
245
246 8 double SizingZone_Impl::designZoneSecondaryRecirculationFraction() const {
247
1/1
✓ Branch 1 taken 8 times.
8 boost::optional<double> value = getDouble(OS_Sizing_ZoneFields::DesignZoneSecondaryRecirculationFraction, true);
248
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 8 times.
✗ Branch 4 not taken.
8 OS_ASSERT(value);
249
1/1
✓ Branch 1 taken 8 times.
16 return value.get();
250 }
251
252 70 bool SizingZone_Impl::isDesignZoneSecondaryRecirculationFractionDefaulted() const {
253 70 return isEmpty(OS_Sizing_ZoneFields::DesignZoneSecondaryRecirculationFraction);
254 }
255
256 8 double SizingZone_Impl::designMinimumZoneVentilationEfficiency() const {
257
1/1
✓ Branch 1 taken 8 times.
8 boost::optional<double> value = getDouble(OS_Sizing_ZoneFields::DesignMinimumZoneVentilationEfficiency, true);
258
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 8 times.
✗ Branch 4 not taken.
8 OS_ASSERT(value);
259
1/1
✓ Branch 1 taken 8 times.
16 return value.get();
260 }
261
262 70 bool SizingZone_Impl::isDesignMinimumZoneVentilationEfficiencyDefaulted() const {
263 70 return isEmpty(OS_Sizing_ZoneFields::DesignMinimumZoneVentilationEfficiency);
264 }
265
266 60 bool SizingZone_Impl::accountforDedicatedOutdoorAirSystem() const {
267
1/1
✓ Branch 1 taken 60 times.
60 boost::optional<std::string> value = getString(OS_Sizing_ZoneFields::AccountforDedicatedOutdoorAirSystem, true);
268
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 60 times.
✗ Branch 4 not taken.
60 OS_ASSERT(value);
269
3/3
✓ Branch 1 taken 60 times.
✓ Branch 4 taken 60 times.
✓ Branch 7 taken 60 times.
120 return openstudio::istringEqual(value.get(), "Yes");
270 60 }
271
272 3 std::string SizingZone_Impl::dedicatedOutdoorAirSystemControlStrategy() const {
273
1/1
✓ Branch 1 taken 3 times.
3 boost::optional<std::string> value = getString(OS_Sizing_ZoneFields::DedicatedOutdoorAirSystemControlStrategy, true);
274
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
3 OS_ASSERT(value);
275
2/2
✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
6 return value.get();
276 3 }
277
278 4 boost::optional<double> SizingZone_Impl::dedicatedOutdoorAirLowSetpointTemperatureforDesign() const {
279 4 return getDouble(OS_Sizing_ZoneFields::DedicatedOutdoorAirLowSetpointTemperatureforDesign, true);
280 }
281
282 3 bool SizingZone_Impl::isDedicatedOutdoorAirLowSetpointTemperatureforDesignAutosized() const {
283 3 bool result = false;
284
1/1
✓ Branch 1 taken 3 times.
3 boost::optional<std::string> value = getString(OS_Sizing_ZoneFields::DedicatedOutdoorAirLowSetpointTemperatureforDesign, true);
285
1/2
✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
3 if (value) {
286
3/3
✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
✓ Branch 7 taken 3 times.
6 result = openstudio::istringEqual(value.get(), "autosize");
287 }
288 3 return result;
289 3 }
290
291 4 boost::optional<double> SizingZone_Impl::dedicatedOutdoorAirHighSetpointTemperatureforDesign() const {
292 4 return getDouble(OS_Sizing_ZoneFields::DedicatedOutdoorAirHighSetpointTemperatureforDesign, true);
293 }
294
295 3 bool SizingZone_Impl::isDedicatedOutdoorAirHighSetpointTemperatureforDesignAutosized() const {
296 3 bool result = false;
297
1/1
✓ Branch 1 taken 3 times.
3 boost::optional<std::string> value = getString(OS_Sizing_ZoneFields::DedicatedOutdoorAirHighSetpointTemperatureforDesign, true);
298
1/2
✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
3 if (value) {
299
3/3
✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
✓ Branch 7 taken 3 times.
6 result = openstudio::istringEqual(value.get(), "autosize");
300 }
301 3 return result;
302 3 }
303
304 2390 bool SizingZone_Impl::setThermalZone(const ThermalZone& thermalZone) {
305
2/2
✓ Branch 1 taken 2390 times.
✓ Branch 4 taken 2390 times.
2390 bool result = setPointer(OS_Sizing_ZoneFields::ZoneorZoneListName, thermalZone.handle());
306 2390 return result;
307 }
308
309 2443 bool SizingZone_Impl::setZoneCoolingDesignSupplyAirTemperature(double zoneCoolingDesignSupplyAirTemperature) {
310 2443 bool result = setDouble(OS_Sizing_ZoneFields::ZoneCoolingDesignSupplyAirTemperature, zoneCoolingDesignSupplyAirTemperature);
311
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 2443 times.
2443 OS_ASSERT(result);
312 2443 return result;
313 }
314
315 2413 bool SizingZone_Impl::setZoneCoolingDesignSupplyAirTemperatureDifference(double value) {
316 2413 bool result = setDouble(OS_Sizing_ZoneFields::ZoneCoolingDesignSupplyAirTemperatureDifference, value);
317
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 2413 times.
2413 OS_ASSERT(result);
318 2413 return result;
319 }
320
321 2443 bool SizingZone_Impl::setZoneHeatingDesignSupplyAirTemperature(double zoneHeatingDesignSupplyAirTemperature) {
322 2443 bool result = setDouble(OS_Sizing_ZoneFields::ZoneHeatingDesignSupplyAirTemperature, zoneHeatingDesignSupplyAirTemperature);
323
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 2443 times.
2443 OS_ASSERT(result);
324 2443 return result;
325 }
326
327 2413 bool SizingZone_Impl::setZoneHeatingDesignSupplyAirTemperatureDifference(double value) {
328 2413 bool result = setDouble(OS_Sizing_ZoneFields::ZoneHeatingDesignSupplyAirTemperatureDifference, value);
329
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 2413 times.
2413 OS_ASSERT(result);
330 2413 return result;
331 }
332
333 2375 bool SizingZone_Impl::setZoneCoolingDesignSupplyAirHumidityRatio(double zoneCoolingDesignSupplyAirHumidityRatio) {
334 2375 bool result = setDouble(OS_Sizing_ZoneFields::ZoneCoolingDesignSupplyAirHumidityRatio, zoneCoolingDesignSupplyAirHumidityRatio);
335 2375 return result;
336 }
337
338 2461 bool SizingZone_Impl::setZoneHeatingDesignSupplyAirHumidityRatio(double zoneHeatingDesignSupplyAirHumidityRatio) {
339 2461 bool result = setDouble(OS_Sizing_ZoneFields::ZoneHeatingDesignSupplyAirHumidityRatio, zoneHeatingDesignSupplyAirHumidityRatio);
340 2461 return result;
341 }
342
343 27 bool SizingZone_Impl::setZoneHeatingSizingFactor(boost::optional<double> zoneHeatingSizingFactor) {
344 27 bool result(false);
345
1/2
✓ Branch 0 taken 27 times.
✗ Branch 1 not taken.
27 if (zoneHeatingSizingFactor) {
346 27 result = setDouble(OS_Sizing_ZoneFields::ZoneHeatingSizingFactor, zoneHeatingSizingFactor.get());
347 } else {
348 ✗ resetZoneHeatingSizingFactor();
349 ✗ result = true;
350 }
351 27 return result;
352 }
353
354 1 void SizingZone_Impl::resetZoneHeatingSizingFactor() {
355
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Sizing_ZoneFields::ZoneHeatingSizingFactor, "");
356
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
357 1 }
358
359 26 bool SizingZone_Impl::setZoneCoolingSizingFactor(boost::optional<double> zoneCoolingSizingFactor) {
360 26 bool result(false);
361
1/2
✓ Branch 0 taken 26 times.
✗ Branch 1 not taken.
26 if (zoneCoolingSizingFactor) {
362 26 result = setDouble(OS_Sizing_ZoneFields::ZoneCoolingSizingFactor, zoneCoolingSizingFactor.get());
363 } else {
364 ✗ resetZoneCoolingSizingFactor();
365 ✗ result = true;
366 }
367 26 return result;
368 }
369
370 1 void SizingZone_Impl::resetZoneCoolingSizingFactor() {
371
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Sizing_ZoneFields::ZoneCoolingSizingFactor, "");
372
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
373 1 }
374
375 2444 bool SizingZone_Impl::setCoolingDesignAirFlowMethod(const std::string& coolingDesignAirFlowMethod) {
376 2444 bool result = setString(OS_Sizing_ZoneFields::CoolingDesignAirFlowMethod, coolingDesignAirFlowMethod);
377 2444 return result;
378 }
379
380 1 void SizingZone_Impl::resetCoolingDesignAirFlowMethod() {
381
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Sizing_ZoneFields::CoolingDesignAirFlowMethod, "");
382
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
383 1 }
384
385 43 bool SizingZone_Impl::setCoolingDesignAirFlowRate(double coolingDesignAirFlowRate) {
386 43 bool result = setDouble(OS_Sizing_ZoneFields::CoolingDesignAirFlowRate, coolingDesignAirFlowRate);
387 43 return result;
388 }
389
390 1 void SizingZone_Impl::resetCoolingDesignAirFlowRate() {
391
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Sizing_ZoneFields::CoolingDesignAirFlowRate, "");
392
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
393 1 }
394
395 69 bool SizingZone_Impl::setCoolingMinimumAirFlowperZoneFloorArea(double coolingMinimumAirFlowperZoneFloorArea) {
396 69 bool result = setDouble(OS_Sizing_ZoneFields::CoolingMinimumAirFlowperZoneFloorArea, coolingMinimumAirFlowperZoneFloorArea);
397 69 return result;
398 }
399
400 1 void SizingZone_Impl::resetCoolingMinimumAirFlowperZoneFloorArea() {
401
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Sizing_ZoneFields::CoolingMinimumAirFlowperZoneFloorArea, "");
402
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
403 1 }
404
405 68 bool SizingZone_Impl::setCoolingMinimumAirFlow(double coolingMinimumAirFlow) {
406 68 bool result = setDouble(OS_Sizing_ZoneFields::CoolingMinimumAirFlow, coolingMinimumAirFlow);
407 68 return result;
408 }
409
410 1 void SizingZone_Impl::resetCoolingMinimumAirFlow() {
411
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Sizing_ZoneFields::CoolingMinimumAirFlow, "");
412
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
413 1 }
414
415 69 bool SizingZone_Impl::setCoolingMinimumAirFlowFraction(double coolingMinimumAirFlowFraction) {
416 69 bool result = setDouble(OS_Sizing_ZoneFields::CoolingMinimumAirFlowFraction, coolingMinimumAirFlowFraction);
417 69 return result;
418 }
419
420 1 void SizingZone_Impl::resetCoolingMinimumAirFlowFraction() {
421
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Sizing_ZoneFields::CoolingMinimumAirFlowFraction, "");
422
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
423 1 }
424
425 2465 bool SizingZone_Impl::setHeatingDesignAirFlowMethod(const std::string& heatingDesignAirFlowMethod) {
426 2465 bool result = setString(OS_Sizing_ZoneFields::HeatingDesignAirFlowMethod, heatingDesignAirFlowMethod);
427 2465 return result;
428 }
429
430 1 void SizingZone_Impl::resetHeatingDesignAirFlowMethod() {
431
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Sizing_ZoneFields::HeatingDesignAirFlowMethod, "");
432
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
433 1 }
434
435 43 bool SizingZone_Impl::setHeatingDesignAirFlowRate(double heatingDesignAirFlowRate) {
436 43 bool result = setDouble(OS_Sizing_ZoneFields::HeatingDesignAirFlowRate, heatingDesignAirFlowRate);
437 43 return result;
438 }
439
440 1 void SizingZone_Impl::resetHeatingDesignAirFlowRate() {
441
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Sizing_ZoneFields::HeatingDesignAirFlowRate, "");
442
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
443 1 }
444
445 69 bool SizingZone_Impl::setHeatingMaximumAirFlowperZoneFloorArea(double heatingMaximumAirFlowperZoneFloorArea) {
446 69 bool result = setDouble(OS_Sizing_ZoneFields::HeatingMaximumAirFlowperZoneFloorArea, heatingMaximumAirFlowperZoneFloorArea);
447 69 return result;
448 }
449
450 1 void SizingZone_Impl::resetHeatingMaximumAirFlowperZoneFloorArea() {
451
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Sizing_ZoneFields::HeatingMaximumAirFlowperZoneFloorArea, "");
452
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
453 1 }
454
455 69 bool SizingZone_Impl::setHeatingMaximumAirFlow(double heatingMaximumAirFlow) {
456 69 bool result = setDouble(OS_Sizing_ZoneFields::HeatingMaximumAirFlow, heatingMaximumAirFlow);
457 69 return result;
458 }
459
460 1 void SizingZone_Impl::resetHeatingMaximumAirFlow() {
461
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Sizing_ZoneFields::HeatingMaximumAirFlow, "");
462
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
463 1 }
464
465 90 bool SizingZone_Impl::setHeatingMaximumAirFlowFraction(double heatingMaximumAirFlowFraction) {
466 90 bool result = setDouble(OS_Sizing_ZoneFields::HeatingMaximumAirFlowFraction, heatingMaximumAirFlowFraction);
467 90 return result;
468 }
469
470 1 void SizingZone_Impl::resetHeatingMaximumAirFlowFraction() {
471
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Sizing_ZoneFields::HeatingMaximumAirFlowFraction, "");
472
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
473 1 }
474
475 14 bool SizingZone_Impl::setDesignZoneAirDistributionEffectivenessinCoolingMode(double designZoneAirDistributionEffectivenessinCoolingMode) {
476 bool result =
477 14 setDouble(OS_Sizing_ZoneFields::DesignZoneAirDistributionEffectivenessinCoolingMode, designZoneAirDistributionEffectivenessinCoolingMode);
478 14 return result;
479 }
480
481 1 void SizingZone_Impl::resetDesignZoneAirDistributionEffectivenessinCoolingMode() {
482
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Sizing_ZoneFields::DesignZoneAirDistributionEffectivenessinCoolingMode, "");
483
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
484 1 }
485
486 13 bool SizingZone_Impl::setDesignZoneAirDistributionEffectivenessinHeatingMode(double designZoneAirDistributionEffectivenessinHeatingMode) {
487 bool result =
488 13 setDouble(OS_Sizing_ZoneFields::DesignZoneAirDistributionEffectivenessinHeatingMode, designZoneAirDistributionEffectivenessinHeatingMode);
489 13 return result;
490 }
491
492 1 void SizingZone_Impl::resetDesignZoneAirDistributionEffectivenessinHeatingMode() {
493
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Sizing_ZoneFields::DesignZoneAirDistributionEffectivenessinHeatingMode, "");
494
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
495 1 }
496
497 3 bool SizingZone_Impl::setDesignZoneSecondaryRecirculationFraction(double designZoneSecondaryRecirculationFraction) {
498 3 bool result = setDouble(OS_Sizing_ZoneFields::DesignZoneSecondaryRecirculationFraction, designZoneSecondaryRecirculationFraction);
499 3 return result;
500 }
501
502 1 void SizingZone_Impl::resetDesignZoneSecondaryRecirculationFraction() {
503
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Sizing_ZoneFields::DesignZoneSecondaryRecirculationFraction, "");
504
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
505 1 }
506
507 3 bool SizingZone_Impl::setDesignMinimumZoneVentilationEfficiency(double designMinimumZoneVentilationEfficiency) {
508 3 bool result = setDouble(OS_Sizing_ZoneFields::DesignMinimumZoneVentilationEfficiency, designMinimumZoneVentilationEfficiency);
509 3 return result;
510 }
511
512 1 void SizingZone_Impl::resetDesignMinimumZoneVentilationEfficiency() {
513
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_Sizing_ZoneFields::DesignMinimumZoneVentilationEfficiency, "");
514
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
515 1 }
516
517 57 boost::optional<ThermalZone> SizingZone_Impl::optionalThermalZone() const {
518
2/2
✓ Branch 1 taken 57 times.
✓ Branch 4 taken 57 times.
57 return getObject<ModelObject>().getModelObjectTarget<ThermalZone>(OS_Sizing_ZoneFields::ZoneorZoneListName);
519 }
520
521 ✗ std::vector<std::string> SizingZone_Impl::coolingDesignAirFlowMethodValues() const {
522 ✗ return SizingZone::coolingDesignAirFlowMethodValues();
523 }
524
525 ✗ std::vector<std::string> SizingZone_Impl::heatingDesignAirFlowMethodValues() const {
526 ✗ return SizingZone::heatingDesignAirFlowMethodValues();
527 }
528
529 ✗ boost::optional<ModelObject> SizingZone_Impl::thermalZoneAsModelObject() const {
530 ✗ OptionalModelObject result = thermalZone();
531 ✗ return result;
532 }
533
534 ✗ bool SizingZone_Impl::setThermalZoneAsModelObject(const boost::optional<ModelObject>& modelObject) {
535 ✗ if (modelObject) {
536 ✗ OptionalThermalZone intermediate = modelObject->optionalCast<ThermalZone>();
537 ✗ if (intermediate) {
538 ✗ ThermalZone thermalZone(*intermediate);
539 ✗ return setThermalZone(thermalZone);
540 ✗ }
541 ✗ }
542 ✗ return false;
543 }
544
545 2440 bool SizingZone_Impl::setZoneCoolingDesignSupplyAirTemperatureInputMethod(const std::string& value) {
546 2440 return setString(OS_Sizing_ZoneFields::ZoneCoolingDesignSupplyAirTemperatureInputMethod, value);
547 }
548
549 2440 bool SizingZone_Impl::setZoneHeatingDesignSupplyAirTemperatureInputMethod(const std::string& value) {
550 2440 return setString(OS_Sizing_ZoneFields::ZoneHeatingDesignSupplyAirTemperatureInputMethod, value);
551 }
552
553 2419 bool SizingZone_Impl::setAccountforDedicatedOutdoorAirSystem(bool accountforDedicatedOutdoorAirSystem) {
554 2419 return setBooleanFieldValue(OS_Sizing_ZoneFields::AccountforDedicatedOutdoorAirSystem, accountforDedicatedOutdoorAirSystem);
555 ;
556 }
557
558 2420 bool SizingZone_Impl::setDedicatedOutdoorAirSystemControlStrategy(const std::string& dedicatedOutdoorAirSystemControlStrategy) {
559 2420 bool result = setString(OS_Sizing_ZoneFields::DedicatedOutdoorAirSystemControlStrategy, dedicatedOutdoorAirSystemControlStrategy);
560 2420 return result;
561 }
562
563 60 std::string SizingZone_Impl::zoneLoadSizingMethod() const {
564
1/1
✓ Branch 1 taken 60 times.
60 boost::optional<std::string> value = getString(OS_Sizing_ZoneFields::ZoneLoadSizingMethod, true);
565
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 60 times.
✗ Branch 4 not taken.
60 OS_ASSERT(value);
566
2/2
✓ Branch 1 taken 60 times.
✓ Branch 4 taken 60 times.
120 return value.get();
567 60 }
568
569 2421 bool SizingZone_Impl::setZoneLoadSizingMethod(const std::string& zoneLoadSizingMethod) {
570 2421 bool result = setString(OS_Sizing_ZoneFields::ZoneLoadSizingMethod, zoneLoadSizingMethod);
571 2421 return result;
572 }
573
574 60 std::string SizingZone_Impl::zoneLatentCoolingDesignSupplyAirHumidityRatioInputMethod() const {
575
1/1
✓ Branch 1 taken 60 times.
60 boost::optional<std::string> value = getString(OS_Sizing_ZoneFields::ZoneLatentCoolingDesignSupplyAirHumidityRatioInputMethod, true);
576
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 60 times.
✗ Branch 4 not taken.
60 OS_ASSERT(value);
577
2/2
✓ Branch 1 taken 60 times.
✓ Branch 4 taken 60 times.
120 return value.get();
578 60 }
579
580 2421 bool SizingZone_Impl::setZoneLatentCoolingDesignSupplyAirHumidityRatioInputMethod(
581 const std::string& zoneLatentCoolingDesignSupplyAirHumidityRatioInputMethod) {
582 2421 bool result = setString(OS_Sizing_ZoneFields::ZoneLatentCoolingDesignSupplyAirHumidityRatioInputMethod,
583 zoneLatentCoolingDesignSupplyAirHumidityRatioInputMethod);
584 2421 return result;
585 }
586
587 7 boost::optional<double> SizingZone_Impl::zoneDehumidificationDesignSupplyAirHumidityRatio() const {
588 7 return getDouble(OS_Sizing_ZoneFields::ZoneDehumidificationDesignSupplyAirHumidityRatio, true);
589 }
590
591 3 bool SizingZone_Impl::setZoneDehumidificationDesignSupplyAirHumidityRatio(double zoneDehumidificationDesignSupplyAirHumidityRatio) {
592 bool result =
593 3 setDouble(OS_Sizing_ZoneFields::ZoneDehumidificationDesignSupplyAirHumidityRatio, zoneDehumidificationDesignSupplyAirHumidityRatio);
594 3 return result;
595 }
596
597 ✗ void SizingZone_Impl::resetZoneDehumidificationDesignSupplyAirHumidityRatio() {
598 ✗ bool result = setString(OS_Sizing_ZoneFields::ZoneDehumidificationDesignSupplyAirHumidityRatio, "");
599 ✗ OS_ASSERT(result);
600 ✗ }
601
602 59 double SizingZone_Impl::zoneCoolingDesignSupplyAirHumidityRatioDifference() const {
603
1/1
✓ Branch 1 taken 59 times.
59 boost::optional<double> value = getDouble(OS_Sizing_ZoneFields::ZoneCoolingDesignSupplyAirHumidityRatioDifference, true);
604
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 59 times.
✗ Branch 4 not taken.
59 OS_ASSERT(value);
605
1/1
✓ Branch 1 taken 59 times.
118 return value.get();
606 }
607
608 2420 bool SizingZone_Impl::setZoneCoolingDesignSupplyAirHumidityRatioDifference(double zoneCoolingDesignSupplyAirHumidityRatioDifference) {
609 bool result =
610 2420 setDouble(OS_Sizing_ZoneFields::ZoneCoolingDesignSupplyAirHumidityRatioDifference, zoneCoolingDesignSupplyAirHumidityRatioDifference);
611 2420 return result;
612 }
613
614 60 std::string SizingZone_Impl::zoneLatentHeatingDesignSupplyAirHumidityRatioInputMethod() const {
615
1/1
✓ Branch 1 taken 60 times.
60 boost::optional<std::string> value = getString(OS_Sizing_ZoneFields::ZoneLatentHeatingDesignSupplyAirHumidityRatioInputMethod, true);
616
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 60 times.
✗ Branch 4 not taken.
60 OS_ASSERT(value);
617
2/2
✓ Branch 1 taken 60 times.
✓ Branch 4 taken 60 times.
120 return value.get();
618 60 }
619
620 2421 bool SizingZone_Impl::setZoneLatentHeatingDesignSupplyAirHumidityRatioInputMethod(
621 const std::string& zoneLatentHeatingDesignSupplyAirHumidityRatioInputMethod) {
622 2421 bool result = setString(OS_Sizing_ZoneFields::ZoneLatentHeatingDesignSupplyAirHumidityRatioInputMethod,
623 zoneLatentHeatingDesignSupplyAirHumidityRatioInputMethod);
624 2421 return result;
625 }
626
627 8 boost::optional<double> SizingZone_Impl::zoneHumidificationDesignSupplyAirHumidityRatio() const {
628 8 return getDouble(OS_Sizing_ZoneFields::ZoneHumidificationDesignSupplyAirHumidityRatio, true);
629 }
630
631 4 bool SizingZone_Impl::setZoneHumidificationDesignSupplyAirHumidityRatio(double zoneHumidificationDesignSupplyAirHumidityRatio) {
632 4 bool result = setDouble(OS_Sizing_ZoneFields::ZoneHumidificationDesignSupplyAirHumidityRatio, zoneHumidificationDesignSupplyAirHumidityRatio);
633 4 return result;
634 }
635
636 ✗ void SizingZone_Impl::resetZoneHumidificationDesignSupplyAirHumidityRatio() {
637 ✗ bool result = setString(OS_Sizing_ZoneFields::ZoneHumidificationDesignSupplyAirHumidityRatio, "");
638 ✗ OS_ASSERT(result);
639 ✗ }
640
641 58 double SizingZone_Impl::zoneHumidificationDesignSupplyAirHumidityRatioDifference() const {
642
1/1
✓ Branch 1 taken 58 times.
58 boost::optional<double> value = getDouble(OS_Sizing_ZoneFields::ZoneHumidificationDesignSupplyAirHumidityRatioDifference, true);
643
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 58 times.
✗ Branch 4 not taken.
58 OS_ASSERT(value);
644
1/1
✓ Branch 1 taken 58 times.
116 return value.get();
645 }
646
647 bool
648 2419 SizingZone_Impl::setZoneHumidificationDesignSupplyAirHumidityRatioDifference(double zoneHumidificationDesignSupplyAirHumidityRatioDifference) {
649 2419 bool result = setDouble(OS_Sizing_ZoneFields::ZoneHumidificationDesignSupplyAirHumidityRatioDifference,
650 zoneHumidificationDesignSupplyAirHumidityRatioDifference);
651 2419 return result;
652 }
653
654 6 boost::optional<Schedule> SizingZone_Impl::zoneHumidistatDehumidificationSetPointSchedule() const {
655
2/2
✓ Branch 1 taken 6 times.
✓ Branch 4 taken 6 times.
6 return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_Sizing_ZoneFields::ZoneHumidistatDehumidificationSetPointScheduleName);
656 }
657
658 3 bool SizingZone_Impl::setZoneHumidistatDehumidificationSetPointSchedule(Schedule& schedule) {
659
3/3
✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
✓ Branch 7 taken 3 times.
12 bool result = setSchedule(OS_Sizing_ZoneFields::ZoneHumidistatDehumidificationSetPointScheduleName, "SizingZone",
660 "Zone Humidistat Dehumidification Set Point", schedule);
661 3 return result;
662 }
663
664 ✗ void SizingZone_Impl::resetZoneHumidistatDehumidificationSetPointSchedule() {
665 ✗ bool result = setString(OS_Sizing_ZoneFields::ZoneHumidistatDehumidificationSetPointScheduleName, "");
666 ✗ OS_ASSERT(result);
667 ✗ }
668
669 6 boost::optional<Schedule> SizingZone_Impl::zoneHumidistatHumidificationSetPointSchedule() const {
670
2/2
✓ Branch 1 taken 6 times.
✓ Branch 4 taken 6 times.
6 return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_Sizing_ZoneFields::ZoneHumidistatHumidificationSetPointScheduleName);
671 }
672
673 3 bool SizingZone_Impl::setZoneHumidistatHumidificationSetPointSchedule(Schedule& schedule) {
674
3/3
✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
✓ Branch 7 taken 3 times.
12 bool result = setSchedule(OS_Sizing_ZoneFields::ZoneHumidistatHumidificationSetPointScheduleName, "SizingZone",
675 "Zone Humidistat Humidification Set Point", schedule);
676 3 return result;
677 }
678
679 ✗ void SizingZone_Impl::resetZoneHumidistatHumidificationSetPointSchedule() {
680 ✗ bool result = setString(OS_Sizing_ZoneFields::ZoneHumidistatHumidificationSetPointScheduleName, "");
681 ✗ OS_ASSERT(result);
682 ✗ }
683
684 2 bool SizingZone_Impl::setDedicatedOutdoorAirLowSetpointTemperatureforDesign(
685 boost::optional<double> dedicatedOutdoorAirLowSetpointTemperatureforDesign) {
686 2 bool result(false);
687
1/2
✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
2 if (dedicatedOutdoorAirLowSetpointTemperatureforDesign) {
688 2 result = setDouble(OS_Sizing_ZoneFields::DedicatedOutdoorAirLowSetpointTemperatureforDesign,
689 2 dedicatedOutdoorAirLowSetpointTemperatureforDesign.get());
690 }
691
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 2 times.
2 OS_ASSERT(result);
692 2 return result;
693 }
694
695 2375 void SizingZone_Impl::autosizeDedicatedOutdoorAirLowSetpointTemperatureforDesign() {
696
2/2
✓ Branch 1 taken 2375 times.
✓ Branch 4 taken 2375 times.
4750 bool result = setString(OS_Sizing_ZoneFields::DedicatedOutdoorAirLowSetpointTemperatureforDesign, "autosize");
697
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 2375 times.
2375 OS_ASSERT(result);
698 2375 }
699
700 2 bool SizingZone_Impl::setDedicatedOutdoorAirHighSetpointTemperatureforDesign(
701 boost::optional<double> dedicatedOutdoorAirHighSetpointTemperatureforDesign) {
702 2 bool result(false);
703
1/2
✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
2 if (dedicatedOutdoorAirHighSetpointTemperatureforDesign) {
704 2 result = setDouble(OS_Sizing_ZoneFields::DedicatedOutdoorAirHighSetpointTemperatureforDesign,
705 2 dedicatedOutdoorAirHighSetpointTemperatureforDesign.get());
706 }
707
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 2 times.
2 OS_ASSERT(result);
708 2 return result;
709 }
710
711 2375 void SizingZone_Impl::autosizeDedicatedOutdoorAirHighSetpointTemperatureforDesign() {
712
2/2
✓ Branch 1 taken 2375 times.
✓ Branch 4 taken 2375 times.
4750 bool result = setString(OS_Sizing_ZoneFields::DedicatedOutdoorAirHighSetpointTemperatureforDesign, "autosize");
713
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 2375 times.
2375 OS_ASSERT(result);
714 2375 }
715
716 ✗ boost::optional<double> SizingZone_Impl::autosizedDedicatedOutdoorAirLowSetpointTemperatureforDesign() const {
717 ✗ boost::optional<double> result;
718
719 ✗ std::string setpointType = "Low";
720 ✗ std::string setpointParam = "DOAS Design " + setpointType + " Setpoint Temperature {C}";
721
722 // Get the parent ThermalZone
723 ✗ ThermalZone parZone = thermalZone();
724
725 // Get the name of the thermal zone
726 ✗ if (!parZone.name()) {
727 ✗ LOG(Warn, "This object's parent ThermalZone does not have a name, cannot retrieve the autosized Dedicated Outdoor Air" + setpointType
728 + " Setpoint Temperature.");
729 ✗ return result;
730 }
731
732 // Get the object name and transform to the way it is recorded
733 // in the sql file
734 ✗ std::string sqlName = parZone.name().get();
735 ✗ boost::to_upper(sqlName);
736
737 // Check that the model has a sql file
738 ✗ if (!model().sqlFile()) {
739 ✗ LOG(Warn, "This model has no sql file, cannot retrieve the autosized Dedicated Outdoor Air" + setpointType + " Setpoint Temperature.");
740 ✗ return result;
741 }
742
743 // Query the InitializationSummary -> Zone Sizing DOAS Inputs Information table to get
744 // the row names that contains information for this component.
745 ✗ std::string rowsQuery = R"(
746 SELECT RowName FROM TabularDataWithStrings
747 WHERE ReportName = 'InitializationSummary'
748 AND ReportForString = 'Entire Facility'
749 AND TableName = 'Zone Sizing DOAS Inputs'
750 AND Value = ?;)";
751
752 ✗ boost::optional<std::vector<std::string>> rowNames = model().sqlFile().get().execAndReturnVectorOfString(rowsQuery,
753 // Bind args
754 ✗ sqlName);
755
756 // Warn if the query failed
757 ✗ if (!rowNames) {
758 ✗ LOG(Debug, "Could not find a component called '" + sqlName + "' in any rows of the InitializationSummary Zone Sizing DOAS Inputs table.");
759 ✗ return result;
760 }
761
762 // Query each row of the InitializationSummary -> Zone Sizing DOAS Inputs table
763 // that contains this component to get the desired value.
764 ✗ for (const std::string& rowName : rowNames.get()) {
765 ✗ std::string valQuery = R"(
766 SELECT Value FROM TabularDataWithStrings
767 WHERE ReportName = 'InitializationSummary'
768 AND ReportForString = 'Entire Facility'
769 AND TableName = 'Zone Sizing DOAS Inputs'
770 AND RowName = ?
771 AND ColumnName = ?;)";
772 ✗ boost::optional<double> val = model().sqlFile().get().execAndReturnFirstDouble(valQuery, rowName, setpointParam);
773
774 // Check if the query succeeded
775 ✗ if (val) {
776 ✗ result = val.get();
777 ✗ break;
778 }
779 ✗ }
780
781 ✗ if (!result) {
782 ✗ LOG(Debug,
783 "The autosized value query for Dedicated Outdoor Air " + setpointType + " Setpoint Temperature for " + sqlName + " returned no value.");
784 }
785
786 ✗ return result;
787 ✗ }
788
789 ✗ boost::optional<double> SizingZone_Impl::autosizedDedicatedOutdoorAirHighSetpointTemperatureforDesign() const {
790 ✗ boost::optional<double> result;
791
792 ✗ std::string setpointType = "High";
793 ✗ std::string setpointParam = "DOAS Design " + setpointType + " Setpoint Temperature {C}";
794
795 // Get the parent ThermalZone
796 ✗ ThermalZone parZone = thermalZone();
797
798 // Get the name of the thermal zone
799 ✗ if (!parZone.name()) {
800 ✗ LOG(Warn, "This object's parent ThermalZone does not have a name, cannot retrieve the autosized Dedicated Outdoor Air" + setpointType
801 + " Setpoint Temperature.");
802 ✗ return result;
803 }
804
805 // Get the object name and transform to the way it is recorded
806 // in the sql file
807 ✗ std::string sqlName = parZone.name().get();
808 ✗ boost::to_upper(sqlName);
809
810 // Check that the model has a sql file
811 ✗ if (!model().sqlFile()) {
812 ✗ LOG(Warn, "This model has no sql file, cannot retrieve the autosized Dedicated Outdoor Air" + setpointType + " Setpoint Temperature.");
813 ✗ return result;
814 }
815
816 // Query the InitializationSummary -> Zone Sizing DOAS Inputs Information table to get
817 // the row names that contains information for this component.
818 ✗ std::string rowsQuery = R"(
819 SELECT RowName FROM TabularDataWithStrings
820 WHERE ReportName = 'InitializationSummary'
821 AND ReportForString = 'Entire Facility'
822 AND TableName = 'Zone Sizing DOAS Inputs'
823 AND Value = ?;)";
824
825 ✗ boost::optional<std::vector<std::string>> rowNames = model().sqlFile().get().execAndReturnVectorOfString(rowsQuery,
826 // Bind args
827 ✗ sqlName);
828
829 // Warn if the query failed
830 ✗ if (!rowNames) {
831 ✗ LOG(Debug, "Could not find a component called '" + sqlName + "' in any rows of the InitializationSummary Zone Sizing DOAS Inputs table.");
832 ✗ return result;
833 }
834
835 // Query each row of the InitializationSummary -> Zone Sizing DOAS Inputs table
836 // that contains this component to get the desired value.
837 ✗ for (const std::string& rowName : rowNames.get()) {
838 ✗ std::string valQuery = R"(
839 SELECT Value FROM TabularDataWithStrings
840 WHERE ReportName = 'InitializationSummary'
841 AND ReportForString = 'Entire Facility'
842 AND TableName = 'Zone Sizing DOAS Inputs'
843 AND RowName = ?
844 AND ColumnName = ?;)";
845 ✗ boost::optional<double> val = model().sqlFile().get().execAndReturnFirstDouble(valQuery, rowName, setpointParam);
846
847 // Check if the query succeeded
848 ✗ if (val) {
849 ✗ result = val.get();
850 ✗ break;
851 }
852 ✗ }
853
854 ✗ if (!result) {
855 ✗ LOG(Debug,
856 "The autosized value query for Dedicated Outdoor Air " + setpointType + " Setpoint Temperature for " + sqlName + " returned no value.");
857 }
858
859 ✗ return result;
860 ✗ }
861
862 60 std::string SizingZone_Impl::sizingOption() const {
863
1/1
✓ Branch 1 taken 60 times.
60 boost::optional<std::string> value = getString(OS_Sizing_ZoneFields::SizingOption, true);
864
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 60 times.
✗ Branch 4 not taken.
60 OS_ASSERT(value);
865
2/2
✓ Branch 1 taken 60 times.
✓ Branch 4 taken 60 times.
120 return value.get();
866 60 }
867
868 2378 bool SizingZone_Impl::setSizingOption(const std::string& sizingOption) {
869 2378 bool result = setString(OS_Sizing_ZoneFields::SizingOption, sizingOption);
870 2378 return result;
871 }
872
873 60 std::string SizingZone_Impl::heatingCoilSizingMethod() const {
874
1/1
✓ Branch 1 taken 60 times.
60 boost::optional<std::string> value = getString(OS_Sizing_ZoneFields::HeatingCoilSizingMethod, true);
875
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 60 times.
✗ Branch 4 not taken.
60 OS_ASSERT(value);
876
2/2
✓ Branch 1 taken 60 times.
✓ Branch 4 taken 60 times.
120 return value.get();
877 60 }
878
879 2378 bool SizingZone_Impl::setHeatingCoilSizingMethod(const std::string& heatingCoilSizingMethod) {
880 2378 bool result = setString(OS_Sizing_ZoneFields::HeatingCoilSizingMethod, heatingCoilSizingMethod);
881 2378 return result;
882 }
883
884 60 double SizingZone_Impl::maximumHeatingCapacityToCoolingLoadSizingRatio() const {
885
1/1
✓ Branch 1 taken 60 times.
60 boost::optional<double> value = getDouble(OS_Sizing_ZoneFields::MaximumHeatingCapacityToCoolingLoadSizingRatio, true);
886
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 60 times.
✗ Branch 4 not taken.
60 OS_ASSERT(value);
887
1/1
✓ Branch 1 taken 60 times.
120 return value.get();
888 }
889
890 2378 bool SizingZone_Impl::setMaximumHeatingCapacityToCoolingLoadSizingRatio(double maximumHeatingCapacityToCoolingLoadSizingRatio) {
891 2378 bool result = setDouble(OS_Sizing_ZoneFields::MaximumHeatingCapacityToCoolingLoadSizingRatio, maximumHeatingCapacityToCoolingLoadSizingRatio);
892 2378 return result;
893 }
894
895 ✗ void SizingZone_Impl::autosize() {
896 ✗ autosizeDedicatedOutdoorAirLowSetpointTemperatureforDesign();
897 ✗ autosizeDedicatedOutdoorAirHighSetpointTemperatureforDesign();
898 ✗ }
899
900 ✗ void SizingZone_Impl::applySizingValues() {
901 ✗ boost::optional<double> val;
902 ✗ val = autosizedDedicatedOutdoorAirLowSetpointTemperatureforDesign();
903 ✗ if (val) {
904 ✗ setDedicatedOutdoorAirLowSetpointTemperatureforDesign(val.get());
905 }
906
907 ✗ val = autosizedDedicatedOutdoorAirHighSetpointTemperatureforDesign();
908 ✗ if (val) {
909 ✗ setDedicatedOutdoorAirHighSetpointTemperatureforDesign(val.get());
910 }
911 ✗ }
912
913 ✗ std::vector<EMSActuatorNames> SizingZone_Impl::emsActuatorNames() const {
914 std::vector<EMSActuatorNames> actuators{{"Sizing:Zone", "Zone Design Heating Air Mass Flow Rate"},
915 {"Sizing:Zone", "Zone Design Cooling Air Mass Flow Rate"},
916 {"Sizing:Zone", "Zone Design Heating Load"},
917 {"Sizing:Zone", "Zone Design Cooling Load"},
918 {"Sizing:Zone", "Zone Design Heating Vol Flow"},
919 ✗ {"Sizing:Zone", "Zone Design Cooling Vol Flow"}};
920 ✗ return actuators;
921 ✗ }
922
923 ✗ std::vector<std::string> SizingZone_Impl::emsInternalVariableNames() const {
924 std::vector<std::string> types{"Final Zone Design Heating Air Mass Flow Rate",
925 "Intermediate Zone Design Heating Air Mass Flow Rate",
926 "Final Zone Design Cooling Air Mass Flow Rate",
927 "Intermediate Zone Design Cooling Air Mass Flow Rate",
928 "Final Zone Design Heating Load",
929 "Intermediate Zone Design Heating Load",
930 "Final Zone Design Cooling Load",
931 "Intermediate Zone Design Cooling Load",
932 "Final Zone Design Heating Air Density",
933 "Intermediate Zone Design Heating Air Density",
934 "Final Zone Design Cooling Air Density",
935 "Intermediate Zone Design Cooling Air Density",
936 "Final Zone Design Heating Volume Flow",
937 "Intermediate Zone Design Heating Volume Flow",
938 "Final Zone Design Cooling Volume Flow",
939 "Intermediate Zone Design Cooling Volume Flow",
940 ✗ "Zone Outdoor Air Design Volume Flow Rate"};
941 ✗ return types;
942 ✗ }
943 } // namespace detail
944
945 2374 SizingZone::SizingZone(const Model& model, const ThermalZone& thermalZone) : ModelObject(SizingZone::iddObjectType(), model) {
946
1/3
✗ Branch 2 not taken.
✓ Branch 3 taken 2374 times.
✗ Branch 5 not taken.
2374 OS_ASSERT(getImpl<detail::SizingZone_Impl>());
947
948
1/1
✓ Branch 1 taken 2374 times.
2374 setThermalZone(thermalZone);
949
950
2/2
✓ Branch 1 taken 2374 times.
✓ Branch 4 taken 2374 times.
2374 setZoneCoolingDesignSupplyAirTemperatureInputMethod("SupplyAirTemperature");
951
1/1
✓ Branch 1 taken 2374 times.
2374 setZoneCoolingDesignSupplyAirTemperatureDifference(11.11);
952
1/1
✓ Branch 1 taken 2374 times.
2374 setZoneCoolingDesignSupplyAirTemperature(14.0);
953
2/2
✓ Branch 1 taken 2374 times.
✓ Branch 4 taken 2374 times.
2374 setZoneHeatingDesignSupplyAirTemperatureInputMethod("SupplyAirTemperature");
954
1/1
✓ Branch 1 taken 2374 times.
2374 setZoneHeatingDesignSupplyAirTemperatureDifference(11.11);
955
1/1
✓ Branch 1 taken 2374 times.
2374 setZoneHeatingDesignSupplyAirTemperature(40.0);
956
1/1
✓ Branch 1 taken 2374 times.
2374 setZoneCoolingDesignSupplyAirHumidityRatio(0.0085);
957
1/1
✓ Branch 1 taken 2374 times.
2374 setZoneHeatingDesignSupplyAirHumidityRatio(0.0080);
958
2/2
✓ Branch 1 taken 2374 times.
✓ Branch 4 taken 2374 times.
4748 setCoolingDesignAirFlowMethod("DesignDay");
959
2/2
✓ Branch 1 taken 2374 times.
✓ Branch 4 taken 2374 times.
2374 setHeatingDesignAirFlowMethod("DesignDay");
960
1/1
✓ Branch 1 taken 2374 times.
2374 setAccountforDedicatedOutdoorAirSystem(false);
961
2/2
✓ Branch 1 taken 2374 times.
✓ Branch 4 taken 2374 times.
2374 setDedicatedOutdoorAirSystemControlStrategy("NeutralSupplyAir");
962
1/1
✓ Branch 1 taken 2374 times.
2374 autosizeDedicatedOutdoorAirLowSetpointTemperatureforDesign();
963
1/1
✓ Branch 1 taken 2374 times.
2374 autosizeDedicatedOutdoorAirHighSetpointTemperatureforDesign();
964
965 // New E+ 22.2.0 fields, IDD defaults
966
2/2
✓ Branch 1 taken 2374 times.
✓ Branch 4 taken 2374 times.
4748 setZoneLoadSizingMethod("Sensible Load Only No Latent Load");
967
2/2
✓ Branch 1 taken 2374 times.
✓ Branch 4 taken 2374 times.
2374 setZoneLatentCoolingDesignSupplyAirHumidityRatioInputMethod("HumidityRatioDifference");
968
1/1
✓ Branch 1 taken 2374 times.
2374 setZoneCoolingDesignSupplyAirHumidityRatioDifference(0.005);
969
2/2
✓ Branch 1 taken 2374 times.
✓ Branch 4 taken 2374 times.
2374 setZoneLatentHeatingDesignSupplyAirHumidityRatioInputMethod("HumidityRatioDifference");
970
1/1
✓ Branch 1 taken 2374 times.
2374 setZoneHumidificationDesignSupplyAirHumidityRatioDifference(0.005);
971
972 // New E+ 24.2.0 fields, IDD defaults
973
2/2
✓ Branch 1 taken 2374 times.
✓ Branch 4 taken 2374 times.
4748 setSizingOption("Coincident");
974
975 // New E+ 25.2.0 fields, IDD defaults
976
2/2
✓ Branch 1 taken 2374 times.
✓ Branch 4 taken 2374 times.
2374 setHeatingCoilSizingMethod("None");
977
1/1
✓ Branch 1 taken 2374 times.
2374 setMaximumHeatingCapacityToCoolingLoadSizingRatio(1.0);
978 2374 }
979
980 15847 IddObjectType SizingZone::iddObjectType() {
981
1/1
✓ Branch 1 taken 15847 times.
15847 return {IddObjectType::OS_Sizing_Zone};
982 }
983
984 ✗ std::vector<std::string> SizingZone::coolingDesignAirFlowMethodValues() {
985 ✗ return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_Sizing_ZoneFields::CoolingDesignAirFlowMethod);
986 }
987
988 ✗ std::vector<std::string> SizingZone::heatingDesignAirFlowMethodValues() {
989 ✗ return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_Sizing_ZoneFields::HeatingDesignAirFlowMethod);
990 }
991
992 ✗ std::vector<std::string> SizingZone::zoneCoolingDesignSupplyAirTemperatureInputMethodValues() {
993 ✗ return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(),
994 ✗ OS_Sizing_ZoneFields::ZoneCoolingDesignSupplyAirTemperatureInputMethod);
995 }
996
997 ✗ std::vector<std::string> SizingZone::zoneHeatingDesignSupplyAirTemperatureInputMethodValues() {
998 ✗ return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(),
999 ✗ OS_Sizing_ZoneFields::ZoneHeatingDesignSupplyAirTemperatureInputMethod);
1000 }
1001
1002 ✗ std::vector<std::string> SizingZone::zoneLoadSizingMethodValues() {
1003 ✗ return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_Sizing_ZoneFields::ZoneLoadSizingMethod);
1004 }
1005
1006 ✗ std::vector<std::string> SizingZone::zoneLatentCoolingDesignSupplyAirHumidityRatioInputMethodValues() {
1007 ✗ return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(),
1008 ✗ OS_Sizing_ZoneFields::ZoneLatentCoolingDesignSupplyAirHumidityRatioInputMethod);
1009 }
1010 ✗ std::vector<std::string> SizingZone::zoneLatentHeatingDesignSupplyAirHumidityRatioInputMethodValues() {
1011 ✗ return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(),
1012 ✗ OS_Sizing_ZoneFields::ZoneLatentHeatingDesignSupplyAirHumidityRatioInputMethod);
1013 }
1014
1015 ✗ std::vector<std::string> SizingZone::validSizingOptionValues() {
1016 ✗ return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_Sizing_ZoneFields::SizingOption);
1017 }
1018
1019 ✗ std::vector<std::string> SizingZone::heatingCoilSizingMethodValues() {
1020 ✗ return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_Sizing_ZoneFields::HeatingCoilSizingMethod);
1021 }
1022
1023 57 ThermalZone SizingZone::thermalZone() const {
1024
1/1
✓ Branch 3 taken 57 times.
57 return getImpl<detail::SizingZone_Impl>()->thermalZone();
1025 }
1026
1027 60 std::string SizingZone::zoneCoolingDesignSupplyAirTemperatureInputMethod() const {
1028
1/1
✓ Branch 3 taken 60 times.
60 return getImpl<detail::SizingZone_Impl>()->zoneCoolingDesignSupplyAirTemperatureInputMethod();
1029 }
1030
1031 59 double SizingZone::zoneCoolingDesignSupplyAirTemperature() const {
1032
1/1
✓ Branch 3 taken 59 times.
59 return getImpl<detail::SizingZone_Impl>()->zoneCoolingDesignSupplyAirTemperature();
1033 }
1034
1035 59 double SizingZone::zoneCoolingDesignSupplyAirTemperatureDifference() const {
1036
1/1
✓ Branch 3 taken 59 times.
59 return getImpl<detail::SizingZone_Impl>()->zoneCoolingDesignSupplyAirTemperatureDifference();
1037 }
1038
1039 60 std::string SizingZone::zoneHeatingDesignSupplyAirTemperatureInputMethod() const {
1040
1/1
✓ Branch 3 taken 60 times.
60 return getImpl<detail::SizingZone_Impl>()->zoneHeatingDesignSupplyAirTemperatureInputMethod();
1041 }
1042
1043 59 double SizingZone::zoneHeatingDesignSupplyAirTemperature() const {
1044
1/1
✓ Branch 3 taken 59 times.
59 return getImpl<detail::SizingZone_Impl>()->zoneHeatingDesignSupplyAirTemperature();
1045 }
1046
1047 59 double SizingZone::zoneHeatingDesignSupplyAirTemperatureDifference() const {
1048
1/1
✓ Branch 3 taken 59 times.
59 return getImpl<detail::SizingZone_Impl>()->zoneHeatingDesignSupplyAirTemperatureDifference();
1049 }
1050
1051 59 double SizingZone::zoneCoolingDesignSupplyAirHumidityRatio() const {
1052
1/1
✓ Branch 3 taken 59 times.
59 return getImpl<detail::SizingZone_Impl>()->zoneCoolingDesignSupplyAirHumidityRatio();
1053 }
1054
1055 59 double SizingZone::zoneHeatingDesignSupplyAirHumidityRatio() const {
1056
1/1
✓ Branch 3 taken 59 times.
59 return getImpl<detail::SizingZone_Impl>()->zoneHeatingDesignSupplyAirHumidityRatio();
1057 }
1058
1059 62 boost::optional<double> SizingZone::zoneHeatingSizingFactor() const {
1060
1/1
✓ Branch 3 taken 62 times.
62 return getImpl<detail::SizingZone_Impl>()->zoneHeatingSizingFactor();
1061 }
1062
1063 61 boost::optional<double> SizingZone::zoneCoolingSizingFactor() const {
1064
1/1
✓ Branch 3 taken 61 times.
61 return getImpl<detail::SizingZone_Impl>()->zoneCoolingSizingFactor();
1065 }
1066
1067 61 std::string SizingZone::coolingDesignAirFlowMethod() const {
1068
1/1
✓ Branch 3 taken 61 times.
61 return getImpl<detail::SizingZone_Impl>()->coolingDesignAirFlowMethod();
1069 }
1070
1071 2 bool SizingZone::isCoolingDesignAirFlowMethodDefaulted() const {
1072
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::SizingZone_Impl>()->isCoolingDesignAirFlowMethodDefaulted();
1073 }
1074
1075 59 double SizingZone::coolingDesignAirFlowRate() const {
1076
1/1
✓ Branch 3 taken 59 times.
59 return getImpl<detail::SizingZone_Impl>()->coolingDesignAirFlowRate();
1077 }
1078
1079 4 bool SizingZone::isCoolingDesignAirFlowRateDefaulted() const {
1080
1/1
✓ Branch 3 taken 4 times.
4 return getImpl<detail::SizingZone_Impl>()->isCoolingDesignAirFlowRateDefaulted();
1081 }
1082
1083 60 double SizingZone::coolingMinimumAirFlowperZoneFloorArea() const {
1084
1/1
✓ Branch 3 taken 60 times.
60 return getImpl<detail::SizingZone_Impl>()->coolingMinimumAirFlowperZoneFloorArea();
1085 }
1086
1087 4 bool SizingZone::isCoolingMinimumAirFlowperZoneFloorAreaDefaulted() const {
1088
1/1
✓ Branch 3 taken 4 times.
4 return getImpl<detail::SizingZone_Impl>()->isCoolingMinimumAirFlowperZoneFloorAreaDefaulted();
1089 }
1090
1091 59 double SizingZone::coolingMinimumAirFlow() const {
1092
1/1
✓ Branch 3 taken 59 times.
59 return getImpl<detail::SizingZone_Impl>()->coolingMinimumAirFlow();
1093 }
1094
1095 4 bool SizingZone::isCoolingMinimumAirFlowDefaulted() const {
1096
1/1
✓ Branch 3 taken 4 times.
4 return getImpl<detail::SizingZone_Impl>()->isCoolingMinimumAirFlowDefaulted();
1097 }
1098
1099 60 double SizingZone::coolingMinimumAirFlowFraction() const {
1100
1/1
✓ Branch 3 taken 60 times.
60 return getImpl<detail::SizingZone_Impl>()->coolingMinimumAirFlowFraction();
1101 }
1102
1103 4 bool SizingZone::isCoolingMinimumAirFlowFractionDefaulted() const {
1104
1/1
✓ Branch 3 taken 4 times.
4 return getImpl<detail::SizingZone_Impl>()->isCoolingMinimumAirFlowFractionDefaulted();
1105 }
1106
1107 61 std::string SizingZone::heatingDesignAirFlowMethod() const {
1108
1/1
✓ Branch 3 taken 61 times.
61 return getImpl<detail::SizingZone_Impl>()->heatingDesignAirFlowMethod();
1109 }
1110
1111 2 bool SizingZone::isHeatingDesignAirFlowMethodDefaulted() const {
1112
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::SizingZone_Impl>()->isHeatingDesignAirFlowMethodDefaulted();
1113 }
1114
1115 59 double SizingZone::heatingDesignAirFlowRate() const {
1116
1/1
✓ Branch 3 taken 59 times.
59 return getImpl<detail::SizingZone_Impl>()->heatingDesignAirFlowRate();
1117 }
1118
1119 4 bool SizingZone::isHeatingDesignAirFlowRateDefaulted() const {
1120
1/1
✓ Branch 3 taken 4 times.
4 return getImpl<detail::SizingZone_Impl>()->isHeatingDesignAirFlowRateDefaulted();
1121 }
1122
1123 60 double SizingZone::heatingMaximumAirFlowperZoneFloorArea() const {
1124
1/1
✓ Branch 3 taken 60 times.
60 return getImpl<detail::SizingZone_Impl>()->heatingMaximumAirFlowperZoneFloorArea();
1125 }
1126
1127 4 bool SizingZone::isHeatingMaximumAirFlowperZoneFloorAreaDefaulted() const {
1128
1/1
✓ Branch 3 taken 4 times.
4 return getImpl<detail::SizingZone_Impl>()->isHeatingMaximumAirFlowperZoneFloorAreaDefaulted();
1129 }
1130
1131 60 double SizingZone::heatingMaximumAirFlow() const {
1132
1/1
✓ Branch 3 taken 60 times.
60 return getImpl<detail::SizingZone_Impl>()->heatingMaximumAirFlow();
1133 }
1134
1135 4 bool SizingZone::isHeatingMaximumAirFlowDefaulted() const {
1136
1/1
✓ Branch 3 taken 4 times.
4 return getImpl<detail::SizingZone_Impl>()->isHeatingMaximumAirFlowDefaulted();
1137 }
1138
1139 60 double SizingZone::heatingMaximumAirFlowFraction() const {
1140
1/1
✓ Branch 3 taken 60 times.
60 return getImpl<detail::SizingZone_Impl>()->heatingMaximumAirFlowFraction();
1141 }
1142
1143 4 bool SizingZone::isHeatingMaximumAirFlowFractionDefaulted() const {
1144
1/1
✓ Branch 3 taken 4 times.
4 return getImpl<detail::SizingZone_Impl>()->isHeatingMaximumAirFlowFractionDefaulted();
1145 }
1146
1147 19 double SizingZone::designZoneAirDistributionEffectivenessinCoolingMode() const {
1148
1/1
✓ Branch 3 taken 19 times.
19 return getImpl<detail::SizingZone_Impl>()->designZoneAirDistributionEffectivenessinCoolingMode();
1149 }
1150
1151 95 bool SizingZone::isDesignZoneAirDistributionEffectivenessinCoolingModeDefaulted() const {
1152
1/1
✓ Branch 3 taken 95 times.
95 return getImpl<detail::SizingZone_Impl>()->isDesignZoneAirDistributionEffectivenessinCoolingModeDefaulted();
1153 }
1154
1155 18 double SizingZone::designZoneAirDistributionEffectivenessinHeatingMode() const {
1156
1/1
✓ Branch 3 taken 18 times.
18 return getImpl<detail::SizingZone_Impl>()->designZoneAirDistributionEffectivenessinHeatingMode();
1157 }
1158
1159 70 bool SizingZone::isDesignZoneAirDistributionEffectivenessinHeatingModeDefaulted() const {
1160
1/1
✓ Branch 3 taken 70 times.
70 return getImpl<detail::SizingZone_Impl>()->isDesignZoneAirDistributionEffectivenessinHeatingModeDefaulted();
1161 }
1162
1163 8 double SizingZone::designZoneSecondaryRecirculationFraction() const {
1164
1/1
✓ Branch 3 taken 8 times.
8 return getImpl<detail::SizingZone_Impl>()->designZoneSecondaryRecirculationFraction();
1165 }
1166
1167 70 bool SizingZone::isDesignZoneSecondaryRecirculationFractionDefaulted() const {
1168
1/1
✓ Branch 3 taken 70 times.
70 return getImpl<detail::SizingZone_Impl>()->isDesignZoneSecondaryRecirculationFractionDefaulted();
1169 }
1170
1171 8 double SizingZone::designMinimumZoneVentilationEfficiency() const {
1172
1/1
✓ Branch 3 taken 8 times.
8 return getImpl<detail::SizingZone_Impl>()->designMinimumZoneVentilationEfficiency();
1173 }
1174
1175 70 bool SizingZone::isDesignMinimumZoneVentilationEfficiencyDefaulted() const {
1176
1/1
✓ Branch 3 taken 70 times.
70 return getImpl<detail::SizingZone_Impl>()->isDesignMinimumZoneVentilationEfficiencyDefaulted();
1177 }
1178
1179 60 bool SizingZone::accountforDedicatedOutdoorAirSystem() const {
1180
1/1
✓ Branch 3 taken 60 times.
60 return getImpl<detail::SizingZone_Impl>()->accountforDedicatedOutdoorAirSystem();
1181 }
1182
1183 3 std::string SizingZone::dedicatedOutdoorAirSystemControlStrategy() const {
1184
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::SizingZone_Impl>()->dedicatedOutdoorAirSystemControlStrategy();
1185 }
1186
1187 4 boost::optional<double> SizingZone::dedicatedOutdoorAirLowSetpointTemperatureforDesign() const {
1188
1/1
✓ Branch 3 taken 4 times.
4 return getImpl<detail::SizingZone_Impl>()->dedicatedOutdoorAirLowSetpointTemperatureforDesign();
1189 }
1190
1191 3 bool SizingZone::isDedicatedOutdoorAirLowSetpointTemperatureforDesignAutosized() const {
1192
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::SizingZone_Impl>()->isDedicatedOutdoorAirLowSetpointTemperatureforDesignAutosized();
1193 }
1194
1195 4 boost::optional<double> SizingZone::dedicatedOutdoorAirHighSetpointTemperatureforDesign() const {
1196
1/1
✓ Branch 3 taken 4 times.
4 return getImpl<detail::SizingZone_Impl>()->dedicatedOutdoorAirHighSetpointTemperatureforDesign();
1197 }
1198
1199 3 bool SizingZone::isDedicatedOutdoorAirHighSetpointTemperatureforDesignAutosized() const {
1200
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::SizingZone_Impl>()->isDedicatedOutdoorAirHighSetpointTemperatureforDesignAutosized();
1201 }
1202
1203 2374 bool SizingZone::setThermalZone(const ThermalZone& thermalZone) {
1204
1/1
✓ Branch 3 taken 2374 times.
2374 return getImpl<detail::SizingZone_Impl>()->setThermalZone(thermalZone);
1205 }
1206
1207 2443 bool SizingZone::setZoneCoolingDesignSupplyAirTemperature(double zoneCoolingDesignSupplyAirTemperature) {
1208
1/1
✓ Branch 3 taken 2443 times.
2443 return getImpl<detail::SizingZone_Impl>()->setZoneCoolingDesignSupplyAirTemperature(zoneCoolingDesignSupplyAirTemperature);
1209 }
1210
1211 2413 bool SizingZone::setZoneCoolingDesignSupplyAirTemperatureDifference(double value) {
1212
1/1
✓ Branch 3 taken 2413 times.
2413 return getImpl<detail::SizingZone_Impl>()->setZoneCoolingDesignSupplyAirTemperatureDifference(value);
1213 }
1214
1215 2443 bool SizingZone::setZoneHeatingDesignSupplyAirTemperature(double zoneHeatingDesignSupplyAirTemperature) {
1216
1/1
✓ Branch 3 taken 2443 times.
2443 return getImpl<detail::SizingZone_Impl>()->setZoneHeatingDesignSupplyAirTemperature(zoneHeatingDesignSupplyAirTemperature);
1217 }
1218
1219 2413 bool SizingZone::setZoneHeatingDesignSupplyAirTemperatureDifference(double value) {
1220
1/1
✓ Branch 3 taken 2413 times.
2413 return getImpl<detail::SizingZone_Impl>()->setZoneHeatingDesignSupplyAirTemperatureDifference(value);
1221 }
1222
1223 2375 bool SizingZone::setZoneCoolingDesignSupplyAirHumidityRatio(double zoneCoolingDesignSupplyAirHumidityRatio) {
1224
1/1
✓ Branch 3 taken 2375 times.
2375 return getImpl<detail::SizingZone_Impl>()->setZoneCoolingDesignSupplyAirHumidityRatio(zoneCoolingDesignSupplyAirHumidityRatio);
1225 }
1226
1227 2461 bool SizingZone::setZoneHeatingDesignSupplyAirHumidityRatio(double zoneHeatingDesignSupplyAirHumidityRatio) {
1228
1/1
✓ Branch 3 taken 2461 times.
2461 return getImpl<detail::SizingZone_Impl>()->setZoneHeatingDesignSupplyAirHumidityRatio(zoneHeatingDesignSupplyAirHumidityRatio);
1229 }
1230
1231 27 bool SizingZone::setZoneHeatingSizingFactor(double zoneHeatingSizingFactor) {
1232
2/2
✓ Branch 3 taken 27 times.
✓ Branch 6 taken 27 times.
27 return getImpl<detail::SizingZone_Impl>()->setZoneHeatingSizingFactor(zoneHeatingSizingFactor);
1233 }
1234
1235 1 void SizingZone::resetZoneHeatingSizingFactor() {
1236
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::SizingZone_Impl>()->resetZoneHeatingSizingFactor();
1237 1 }
1238
1239 26 bool SizingZone::setZoneCoolingSizingFactor(double zoneCoolingSizingFactor) {
1240
2/2
✓ Branch 3 taken 26 times.
✓ Branch 6 taken 26 times.
26 return getImpl<detail::SizingZone_Impl>()->setZoneCoolingSizingFactor(zoneCoolingSizingFactor);
1241 }
1242
1243 1 void SizingZone::resetZoneCoolingSizingFactor() {
1244
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::SizingZone_Impl>()->resetZoneCoolingSizingFactor();
1245 1 }
1246
1247 2444 bool SizingZone::setCoolingDesignAirFlowMethod(const std::string& coolingDesignAirFlowMethod) {
1248
1/1
✓ Branch 3 taken 2444 times.
2444 return getImpl<detail::SizingZone_Impl>()->setCoolingDesignAirFlowMethod(coolingDesignAirFlowMethod);
1249 }
1250
1251 1 void SizingZone::resetCoolingDesignAirFlowMethod() {
1252
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::SizingZone_Impl>()->resetCoolingDesignAirFlowMethod();
1253 1 }
1254
1255 43 bool SizingZone::setCoolingDesignAirFlowRate(double coolingDesignAirFlowRate) {
1256
1/1
✓ Branch 3 taken 43 times.
43 return getImpl<detail::SizingZone_Impl>()->setCoolingDesignAirFlowRate(coolingDesignAirFlowRate);
1257 }
1258
1259 1 void SizingZone::resetCoolingDesignAirFlowRate() {
1260
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::SizingZone_Impl>()->resetCoolingDesignAirFlowRate();
1261 1 }
1262
1263 69 bool SizingZone::setCoolingMinimumAirFlowperZoneFloorArea(double coolingMinimumAirFlowperZoneFloorArea) {
1264
1/1
✓ Branch 3 taken 69 times.
69 return getImpl<detail::SizingZone_Impl>()->setCoolingMinimumAirFlowperZoneFloorArea(coolingMinimumAirFlowperZoneFloorArea);
1265 }
1266
1267 1 void SizingZone::resetCoolingMinimumAirFlowperZoneFloorArea() {
1268
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::SizingZone_Impl>()->resetCoolingMinimumAirFlowperZoneFloorArea();
1269 1 }
1270
1271 68 bool SizingZone::setCoolingMinimumAirFlow(double coolingMinimumAirFlow) {
1272
1/1
✓ Branch 3 taken 68 times.
68 return getImpl<detail::SizingZone_Impl>()->setCoolingMinimumAirFlow(coolingMinimumAirFlow);
1273 }
1274
1275 1 void SizingZone::resetCoolingMinimumAirFlow() {
1276
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::SizingZone_Impl>()->resetCoolingMinimumAirFlow();
1277 1 }
1278
1279 69 bool SizingZone::setCoolingMinimumAirFlowFraction(double coolingMinimumAirFlowFraction) {
1280
1/1
✓ Branch 3 taken 69 times.
69 return getImpl<detail::SizingZone_Impl>()->setCoolingMinimumAirFlowFraction(coolingMinimumAirFlowFraction);
1281 }
1282
1283 1 void SizingZone::resetCoolingMinimumAirFlowFraction() {
1284
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::SizingZone_Impl>()->resetCoolingMinimumAirFlowFraction();
1285 1 }
1286
1287 2465 bool SizingZone::setHeatingDesignAirFlowMethod(const std::string& heatingDesignAirFlowMethod) {
1288
1/1
✓ Branch 3 taken 2465 times.
2465 return getImpl<detail::SizingZone_Impl>()->setHeatingDesignAirFlowMethod(heatingDesignAirFlowMethod);
1289 }
1290
1291 1 void SizingZone::resetHeatingDesignAirFlowMethod() {
1292
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::SizingZone_Impl>()->resetHeatingDesignAirFlowMethod();
1293 1 }
1294
1295 43 bool SizingZone::setHeatingDesignAirFlowRate(double heatingDesignAirFlowRate) {
1296
1/1
✓ Branch 3 taken 43 times.
43 return getImpl<detail::SizingZone_Impl>()->setHeatingDesignAirFlowRate(heatingDesignAirFlowRate);
1297 }
1298
1299 1 void SizingZone::resetHeatingDesignAirFlowRate() {
1300
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::SizingZone_Impl>()->resetHeatingDesignAirFlowRate();
1301 1 }
1302
1303 69 bool SizingZone::setHeatingMaximumAirFlowperZoneFloorArea(double heatingMaximumAirFlowperZoneFloorArea) {
1304
1/1
✓ Branch 3 taken 69 times.
69 return getImpl<detail::SizingZone_Impl>()->setHeatingMaximumAirFlowperZoneFloorArea(heatingMaximumAirFlowperZoneFloorArea);
1305 }
1306
1307 1 void SizingZone::resetHeatingMaximumAirFlowperZoneFloorArea() {
1308
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::SizingZone_Impl>()->resetHeatingMaximumAirFlowperZoneFloorArea();
1309 1 }
1310
1311 69 bool SizingZone::setHeatingMaximumAirFlow(double heatingMaximumAirFlow) {
1312
1/1
✓ Branch 3 taken 69 times.
69 return getImpl<detail::SizingZone_Impl>()->setHeatingMaximumAirFlow(heatingMaximumAirFlow);
1313 }
1314
1315 1 void SizingZone::resetHeatingMaximumAirFlow() {
1316
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::SizingZone_Impl>()->resetHeatingMaximumAirFlow();
1317 1 }
1318
1319 90 bool SizingZone::setHeatingMaximumAirFlowFraction(double heatingMaximumAirFlowFraction) {
1320
1/1
✓ Branch 3 taken 90 times.
90 return getImpl<detail::SizingZone_Impl>()->setHeatingMaximumAirFlowFraction(heatingMaximumAirFlowFraction);
1321 }
1322
1323 1 void SizingZone::resetHeatingMaximumAirFlowFraction() {
1324
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::SizingZone_Impl>()->resetHeatingMaximumAirFlowFraction();
1325 1 }
1326
1327 14 bool SizingZone::setDesignZoneAirDistributionEffectivenessinCoolingMode(double designZoneAirDistributionEffectivenessinCoolingMode) {
1328
1/1
✓ Branch 3 taken 14 times.
28 return getImpl<detail::SizingZone_Impl>()->setDesignZoneAirDistributionEffectivenessinCoolingMode(
1329 28 designZoneAirDistributionEffectivenessinCoolingMode);
1330 }
1331
1332 1 void SizingZone::resetDesignZoneAirDistributionEffectivenessinCoolingMode() {
1333
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::SizingZone_Impl>()->resetDesignZoneAirDistributionEffectivenessinCoolingMode();
1334 1 }
1335
1336 13 bool SizingZone::setDesignZoneAirDistributionEffectivenessinHeatingMode(double designZoneAirDistributionEffectivenessinHeatingMode) {
1337
1/1
✓ Branch 3 taken 13 times.
26 return getImpl<detail::SizingZone_Impl>()->setDesignZoneAirDistributionEffectivenessinHeatingMode(
1338 26 designZoneAirDistributionEffectivenessinHeatingMode);
1339 }
1340
1341 1 void SizingZone::resetDesignZoneAirDistributionEffectivenessinHeatingMode() {
1342
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::SizingZone_Impl>()->resetDesignZoneAirDistributionEffectivenessinHeatingMode();
1343 1 }
1344
1345 3 bool SizingZone::setDesignZoneSecondaryRecirculationFraction(double designZoneSecondaryRecirculationFraction) {
1346
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::SizingZone_Impl>()->setDesignZoneSecondaryRecirculationFraction(designZoneSecondaryRecirculationFraction);
1347 }
1348
1349 1 void SizingZone::resetDesignZoneSecondaryRecirculationFraction() {
1350
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::SizingZone_Impl>()->resetDesignZoneSecondaryRecirculationFraction();
1351 1 }
1352
1353 3 bool SizingZone::setDesignMinimumZoneVentilationEfficiency(double designMinimumZoneVentilationEfficiency) {
1354
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::SizingZone_Impl>()->setDesignMinimumZoneVentilationEfficiency(designMinimumZoneVentilationEfficiency);
1355 }
1356
1357 1 void SizingZone::resetDesignMinimumZoneVentilationEfficiency() {
1358
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::SizingZone_Impl>()->resetDesignMinimumZoneVentilationEfficiency();
1359 1 }
1360
1361 2440 bool SizingZone::setZoneCoolingDesignSupplyAirTemperatureInputMethod(const std::string& value) {
1362
1/1
✓ Branch 3 taken 2440 times.
2440 return getImpl<detail::SizingZone_Impl>()->setZoneCoolingDesignSupplyAirTemperatureInputMethod(value);
1363 }
1364
1365 2440 bool SizingZone::setZoneHeatingDesignSupplyAirTemperatureInputMethod(const std::string& value) {
1366
1/1
✓ Branch 3 taken 2440 times.
2440 return getImpl<detail::SizingZone_Impl>()->setZoneHeatingDesignSupplyAirTemperatureInputMethod(value);
1367 }
1368
1369 2419 bool SizingZone::setAccountforDedicatedOutdoorAirSystem(bool accountforDedicatedOutdoorAirSystem) {
1370
1/1
✓ Branch 3 taken 2419 times.
2419 return getImpl<detail::SizingZone_Impl>()->setAccountforDedicatedOutdoorAirSystem(accountforDedicatedOutdoorAirSystem);
1371 }
1372
1373 2420 bool SizingZone::setDedicatedOutdoorAirSystemControlStrategy(const std::string& dedicatedOutdoorAirSystemControlStrategy) {
1374
1/1
✓ Branch 3 taken 2420 times.
2420 return getImpl<detail::SizingZone_Impl>()->setDedicatedOutdoorAirSystemControlStrategy(dedicatedOutdoorAirSystemControlStrategy);
1375 }
1376
1377 2 bool SizingZone::setDedicatedOutdoorAirLowSetpointTemperatureforDesign(double dedicatedOutdoorAirLowSetpointTemperatureforDesign) {
1378
2/2
✓ Branch 3 taken 2 times.
✓ Branch 6 taken 2 times.
4 return getImpl<detail::SizingZone_Impl>()->setDedicatedOutdoorAirLowSetpointTemperatureforDesign(
1379 4 dedicatedOutdoorAirLowSetpointTemperatureforDesign);
1380 }
1381
1382 2375 void SizingZone::autosizeDedicatedOutdoorAirLowSetpointTemperatureforDesign() {
1383
1/1
✓ Branch 3 taken 2375 times.
2375 getImpl<detail::SizingZone_Impl>()->autosizeDedicatedOutdoorAirLowSetpointTemperatureforDesign();
1384 2375 }
1385
1386 2 bool SizingZone::setDedicatedOutdoorAirHighSetpointTemperatureforDesign(double dedicatedOutdoorAirHighSetpointTemperatureforDesign) {
1387
2/2
✓ Branch 3 taken 2 times.
✓ Branch 6 taken 2 times.
4 return getImpl<detail::SizingZone_Impl>()->setDedicatedOutdoorAirHighSetpointTemperatureforDesign(
1388 4 dedicatedOutdoorAirHighSetpointTemperatureforDesign);
1389 }
1390
1391 2375 void SizingZone::autosizeDedicatedOutdoorAirHighSetpointTemperatureforDesign() {
1392
1/1
✓ Branch 3 taken 2375 times.
2375 getImpl<detail::SizingZone_Impl>()->autosizeDedicatedOutdoorAirHighSetpointTemperatureforDesign();
1393 2375 }
1394
1395 60 std::string SizingZone::zoneLoadSizingMethod() const {
1396
1/1
✓ Branch 3 taken 60 times.
60 return getImpl<detail::SizingZone_Impl>()->zoneLoadSizingMethod();
1397 }
1398
1399 2421 bool SizingZone::setZoneLoadSizingMethod(const std::string& zoneLoadSizingMethod) {
1400
1/1
✓ Branch 3 taken 2421 times.
2421 return getImpl<detail::SizingZone_Impl>()->setZoneLoadSizingMethod(zoneLoadSizingMethod);
1401 }
1402
1403 60 std::string SizingZone::zoneLatentCoolingDesignSupplyAirHumidityRatioInputMethod() const {
1404
1/1
✓ Branch 3 taken 60 times.
60 return getImpl<detail::SizingZone_Impl>()->zoneLatentCoolingDesignSupplyAirHumidityRatioInputMethod();
1405 }
1406
1407 2421 bool SizingZone::setZoneLatentCoolingDesignSupplyAirHumidityRatioInputMethod(
1408 const std::string& zoneLatentCoolingDesignSupplyAirHumidityRatioInputMethod) {
1409
1/1
✓ Branch 3 taken 2421 times.
4842 return getImpl<detail::SizingZone_Impl>()->setZoneLatentCoolingDesignSupplyAirHumidityRatioInputMethod(
1410 4842 zoneLatentCoolingDesignSupplyAirHumidityRatioInputMethod);
1411 }
1412
1413 7 boost::optional<double> SizingZone::zoneDehumidificationDesignSupplyAirHumidityRatio() const {
1414
1/1
✓ Branch 3 taken 7 times.
7 return getImpl<detail::SizingZone_Impl>()->zoneDehumidificationDesignSupplyAirHumidityRatio();
1415 }
1416
1417 3 bool SizingZone::setZoneDehumidificationDesignSupplyAirHumidityRatio(double zoneDehumidificationDesignSupplyAirHumidityRatio) {
1418
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::SizingZone_Impl>()->setZoneDehumidificationDesignSupplyAirHumidityRatio(zoneDehumidificationDesignSupplyAirHumidityRatio);
1419 }
1420
1421 ✗ void SizingZone::resetZoneDehumidificationDesignSupplyAirHumidityRatio() {
1422 ✗ getImpl<detail::SizingZone_Impl>()->resetZoneDehumidificationDesignSupplyAirHumidityRatio();
1423 ✗ }
1424
1425 59 double SizingZone::zoneCoolingDesignSupplyAirHumidityRatioDifference() const {
1426
1/1
✓ Branch 3 taken 59 times.
59 return getImpl<detail::SizingZone_Impl>()->zoneCoolingDesignSupplyAirHumidityRatioDifference();
1427 }
1428
1429 2420 bool SizingZone::setZoneCoolingDesignSupplyAirHumidityRatioDifference(double zoneCoolingDesignSupplyAirHumidityRatioDifference) {
1430
1/1
✓ Branch 3 taken 2420 times.
4840 return getImpl<detail::SizingZone_Impl>()->setZoneCoolingDesignSupplyAirHumidityRatioDifference(
1431 4840 zoneCoolingDesignSupplyAirHumidityRatioDifference);
1432 }
1433
1434 60 std::string SizingZone::zoneLatentHeatingDesignSupplyAirHumidityRatioInputMethod() const {
1435
1/1
✓ Branch 3 taken 60 times.
60 return getImpl<detail::SizingZone_Impl>()->zoneLatentHeatingDesignSupplyAirHumidityRatioInputMethod();
1436 }
1437
1438 2421 bool SizingZone::setZoneLatentHeatingDesignSupplyAirHumidityRatioInputMethod(
1439 const std::string& zoneLatentHeatingDesignSupplyAirHumidityRatioInputMethod) {
1440
1/1
✓ Branch 3 taken 2421 times.
4842 return getImpl<detail::SizingZone_Impl>()->setZoneLatentHeatingDesignSupplyAirHumidityRatioInputMethod(
1441 4842 zoneLatentHeatingDesignSupplyAirHumidityRatioInputMethod);
1442 }
1443
1444 8 boost::optional<double> SizingZone::zoneHumidificationDesignSupplyAirHumidityRatio() const {
1445
1/1
✓ Branch 3 taken 8 times.
8 return getImpl<detail::SizingZone_Impl>()->zoneHumidificationDesignSupplyAirHumidityRatio();
1446 }
1447
1448 4 bool SizingZone::setZoneHumidificationDesignSupplyAirHumidityRatio(double zoneHumidificationDesignSupplyAirHumidityRatio) {
1449
1/1
✓ Branch 3 taken 4 times.
4 return getImpl<detail::SizingZone_Impl>()->setZoneHumidificationDesignSupplyAirHumidityRatio(zoneHumidificationDesignSupplyAirHumidityRatio);
1450 }
1451
1452 ✗ void SizingZone::resetZoneHumidificationDesignSupplyAirHumidityRatio() {
1453 ✗ getImpl<detail::SizingZone_Impl>()->resetZoneHumidificationDesignSupplyAirHumidityRatio();
1454 ✗ }
1455
1456 58 double SizingZone::zoneHumidificationDesignSupplyAirHumidityRatioDifference() const {
1457
1/1
✓ Branch 3 taken 58 times.
58 return getImpl<detail::SizingZone_Impl>()->zoneHumidificationDesignSupplyAirHumidityRatioDifference();
1458 }
1459
1460 2419 bool SizingZone::setZoneHumidificationDesignSupplyAirHumidityRatioDifference(double zoneHumidificationDesignSupplyAirHumidityRatioDifference) {
1461
1/1
✓ Branch 3 taken 2419 times.
4838 return getImpl<detail::SizingZone_Impl>()->setZoneHumidificationDesignSupplyAirHumidityRatioDifference(
1462 4838 zoneHumidificationDesignSupplyAirHumidityRatioDifference);
1463 }
1464
1465 6 boost::optional<Schedule> SizingZone::zoneHumidistatDehumidificationSetPointSchedule() const {
1466
1/1
✓ Branch 3 taken 6 times.
6 return getImpl<detail::SizingZone_Impl>()->zoneHumidistatDehumidificationSetPointSchedule();
1467 }
1468
1469 3 bool SizingZone::setZoneHumidistatDehumidificationSetPointSchedule(Schedule& schedule) {
1470
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::SizingZone_Impl>()->setZoneHumidistatDehumidificationSetPointSchedule(schedule);
1471 }
1472
1473 ✗ void SizingZone::resetZoneHumidistatDehumidificationSetPointSchedule() {
1474 ✗ getImpl<detail::SizingZone_Impl>()->resetZoneHumidistatDehumidificationSetPointSchedule();
1475 ✗ }
1476
1477 6 boost::optional<Schedule> SizingZone::zoneHumidistatHumidificationSetPointSchedule() const {
1478
1/1
✓ Branch 3 taken 6 times.
6 return getImpl<detail::SizingZone_Impl>()->zoneHumidistatHumidificationSetPointSchedule();
1479 }
1480
1481 3 bool SizingZone::setZoneHumidistatHumidificationSetPointSchedule(Schedule& schedule) {
1482
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::SizingZone_Impl>()->setZoneHumidistatHumidificationSetPointSchedule(schedule);
1483 }
1484
1485 ✗ void SizingZone::resetZoneHumidistatHumidificationSetPointSchedule() {
1486 ✗ getImpl<detail::SizingZone_Impl>()->resetZoneHumidistatHumidificationSetPointSchedule();
1487 ✗ }
1488
1489 /// @cond
1490
1/1
✓ Branch 3 taken 857 times.
857 SizingZone::SizingZone(std::shared_ptr<detail::SizingZone_Impl> impl) : ModelObject(std::move(impl)) {}
1491 /// @endcond
1492
1493 ✗ boost::optional<double> SizingZone::autosizedDedicatedOutdoorAirLowSetpointTemperatureforDesign() const {
1494 ✗ return getImpl<detail::SizingZone_Impl>()->autosizedDedicatedOutdoorAirLowSetpointTemperatureforDesign();
1495 }
1496
1497 ✗ boost::optional<double> SizingZone::autosizedDedicatedOutdoorAirHighSetpointTemperatureforDesign() const {
1498 ✗ return getImpl<detail::SizingZone_Impl>()->autosizedDedicatedOutdoorAirHighSetpointTemperatureforDesign();
1499 }
1500
1501 60 std::string SizingZone::sizingOption() const {
1502
1/1
✓ Branch 3 taken 60 times.
60 return getImpl<detail::SizingZone_Impl>()->sizingOption();
1503 }
1504
1505 2378 bool SizingZone::setSizingOption(const std::string& sizingOption) {
1506
1/1
✓ Branch 3 taken 2378 times.
2378 return getImpl<detail::SizingZone_Impl>()->setSizingOption(sizingOption);
1507 }
1508
1509 60 std::string SizingZone::heatingCoilSizingMethod() const {
1510
1/1
✓ Branch 3 taken 60 times.
60 return getImpl<detail::SizingZone_Impl>()->heatingCoilSizingMethod();
1511 }
1512
1513 2378 bool SizingZone::setHeatingCoilSizingMethod(const std::string& heatingCoilSizingMethod) {
1514
1/1
✓ Branch 3 taken 2378 times.
2378 return getImpl<detail::SizingZone_Impl>()->setHeatingCoilSizingMethod(heatingCoilSizingMethod);
1515 }
1516
1517 60 double SizingZone::maximumHeatingCapacityToCoolingLoadSizingRatio() const {
1518
1/1
✓ Branch 3 taken 60 times.
60 return getImpl<detail::SizingZone_Impl>()->maximumHeatingCapacityToCoolingLoadSizingRatio();
1519 }
1520
1521 2378 bool SizingZone::setMaximumHeatingCapacityToCoolingLoadSizingRatio(double maximumHeatingCapacityToCoolingLoadSizingRatio) {
1522
1/1
✓ Branch 3 taken 2378 times.
2378 return getImpl<detail::SizingZone_Impl>()->setMaximumHeatingCapacityToCoolingLoadSizingRatio(maximumHeatingCapacityToCoolingLoadSizingRatio);
1523 }
1524
1525 ✗ void SizingZone::autosize() {
1526 ✗ return getImpl<detail::SizingZone_Impl>()->autosize();
1527 }
1528
1529 ✗ void SizingZone::applySizingValues() {
1530 ✗ return getImpl<detail::SizingZone_Impl>()->applySizingValues();
1531 }
1532
1533 } // namespace model
1534 } // namespace openstudio
1535