GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 58.2% 482 / 0 / 828
Functions: 67.2% 170 / 0 / 253
Branches: 38.1% 244 / 0 / 640

src/model/ZoneHVACIdealLoadsAirSystem.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 "ZoneHVACIdealLoadsAirSystem.hpp"
7 #include "ZoneHVACIdealLoadsAirSystem_Impl.hpp"
8
9 #include "Schedule.hpp"
10 #include "Schedule_Impl.hpp"
11 #include "DesignSpecificationOutdoorAir.hpp"
12 #include "DesignSpecificationOutdoorAir_Impl.hpp"
13
14 #include <utilities/idd/IddFactory.hxx>
15
16 #include <utilities/idd/OS_ZoneHVAC_IdealLoadsAirSystem_FieldEnums.hxx>
17 #include <utilities/idd/IddEnums.hxx>
18
19 #include "../utilities/core/Assert.hpp"
20 #include "../utilities/data/DataEnums.hpp"
21
22 namespace openstudio {
23 namespace model {
24
25 namespace detail {
26
27 4 ZoneHVACIdealLoadsAirSystem_Impl::ZoneHVACIdealLoadsAirSystem_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle)
28 4 : ZoneHVACComponent_Impl(idfObject, model, keepHandle) {
29
4/6
✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
✓ Branch 7 taken 4 times.
✗ Branch 10 not taken.
✓ Branch 11 taken 4 times.
✗ Branch 13 not taken.
4 OS_ASSERT(idfObject.iddObject().type() == ZoneHVACIdealLoadsAirSystem::iddObjectType());
30 4 }
31
32 ✗ ZoneHVACIdealLoadsAirSystem_Impl::ZoneHVACIdealLoadsAirSystem_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model,
33 ✗ bool keepHandle)
34 ✗ : ZoneHVACComponent_Impl(other, model, keepHandle) {
35 ✗ OS_ASSERT(other.iddObject().type() == ZoneHVACIdealLoadsAirSystem::iddObjectType());
36 ✗ }
37
38 2 ZoneHVACIdealLoadsAirSystem_Impl::ZoneHVACIdealLoadsAirSystem_Impl(const ZoneHVACIdealLoadsAirSystem_Impl& other, Model_Impl* model,
39 2 bool keepHandle)
40 2 : ZoneHVACComponent_Impl(other, model, keepHandle) {}
41
42 ✗ const std::vector<std::string>& ZoneHVACIdealLoadsAirSystem_Impl::outputVariableNames() const {
43 static const std::vector<std::string> result{"Zone Ideal Loads Supply Air Sensible Heating Energy",
44 "Zone Ideal Loads Supply Air Latent Heating Energy",
45 "Zone Ideal Loads Supply Air Total Heating Energy",
46 "Zone Ideal Loads Supply Air Total Heating Fuel Energy",
47 "Zone Ideal Loads Supply Air Sensible Cooling Energy",
48 "Zone Ideal Loads Supply Air Latent Cooling Energy",
49 "Zone Ideal Loads Supply Air Total Cooling Energy",
50 "Zone Ideal Loads Supply Air Total Cooling Fuel Energy",
51 "Zone Ideal Loads Zone Sensible Heating Energy",
52 "Zone Ideal Loads Zone Latent Heating Energy",
53 "Zone Ideal Loads Zone Total Heating Energy",
54 "Zone Ideal Loads Zone Heating Fuel Energy",
55 "Zone Ideal Loads Zone Sensible Cooling Energy",
56 "Zone Ideal Loads Zone Latent Cooling Energy",
57 "Zone Ideal Loads Zone Total Cooling Energy",
58 "Zone Ideal Loads Zone Cooling Fuel Energy",
59 "Zone Ideal Loads Outdoor Air Sensible Heating Energy",
60 "Zone Ideal Loads Outdoor Air Latent Heating Energy",
61 "Zone Ideal Loads Outdoor Air Total Heating Energy",
62 "Zone Ideal Loads Outdoor Air Sensible Cooling Energy",
63 "Zone Ideal Loads Outdoor Air Latent Cooling Energy",
64 "Zone Ideal Loads Outdoor Air Total Cooling Energy",
65 "Zone Ideal Loads Heat Recovery Sensible Heating Energy",
66 "Zone Ideal Loads Heat Recovery Latent Heating Energy",
67 "Zone Ideal Loads Heat Recovery Total Heating Energy",
68 "Zone Ideal Loads Heat Recovery Sensible Cooling Energy",
69 "Zone Ideal Loads Heat Recovery Latent Cooling Energy",
70 "Zone Ideal Loads Heat Recovery Total Cooling Energy",
71 "Zone Ideal Loads Supply Air Sensible Heating Rate",
72 "Zone Ideal Loads Supply Air Latent Heating Rate",
73 "Zone Ideal Loads Supply Air Total Heating Rate",
74 "Zone Ideal Loads Supply Air Total Heating Fuel Energy Rate",
75 "Zone Ideal Loads Supply Air Sensible Cooling Rate",
76 "Zone Ideal Loads Supply Air Latent Cooling Rate",
77 "Zone Ideal Loads Supply Air Total Cooling Rate",
78 "Zone Ideal Loads Supply Air Total Cooling Fuel Energy Rate",
79 "Zone Ideal Loads Zone Sensible Heating Rate",
80 "Zone Ideal Loads Zone Latent Heating Rate",
81 "Zone Ideal Loads Zone Total Heating Rate",
82 "Zone Ideal Loads Zone Heating Fuel Energy Rate",
83 "Zone Ideal Loads Zone Sensible Cooling Rate",
84 "Zone Ideal Loads Zone Latent Cooling Rate",
85 "Zone Ideal Loads Zone Total Cooling Rate",
86 "Zone Ideal Loads Zone Cooling Fuel Energy Rate",
87 "Zone Ideal Loads Outdoor Air Sensible Heating Rate",
88 "Zone Ideal Loads Outdoor Air Latent Heating Rate",
89 "Zone Ideal Loads Outdoor Air Total Heating Rate",
90 "Zone Ideal Loads Outdoor Air Sensible Cooling Rate",
91 "Zone Ideal Loads Outdoor Air Latent Cooling Rate",
92 "Zone Ideal Loads Outdoor Air Total Cooling Rate",
93 "Zone Ideal Loads Heat Recovery Sensible Heating Rate",
94 "Zone Ideal Loads Heat Recovery Latent Heating Rate",
95 "Zone Ideal Loads Heat Recovery Total Heating Rate",
96 "Zone Ideal Loads Heat Recovery Sensible Cooling Rate",
97 "Zone Ideal Loads Heat Recovery Latent Cooling Rate",
98 "Zone Ideal Loads Heat Recovery Total Cooling Rate",
99 "Zone Ideal Loads Economizer Active Time",
100 "Zone Ideal Loads Heat Recovery Active Time",
101 "Zone Ideal Loads Hybrid Ventilation Available Status",
102 "Zone Ideal Loads Outdoor Air Mass Flow Rate",
103 "Zone Ideal Loads Outdoor Air Standard Density Volume Flow Rate",
104 "Zone Ideal Loads Supply Air Mass Flow Rate",
105 ✗ "Zone Ideal Loads Supply Air Standard Density Volume Flow Rate"};
106 ✗ return result;
107 ✗ }
108
109 8 IddObjectType ZoneHVACIdealLoadsAirSystem_Impl::iddObjectType() const {
110 8 return ZoneHVACIdealLoadsAirSystem::iddObjectType();
111 }
112
113 ✗ std::vector<ScheduleTypeKey> ZoneHVACIdealLoadsAirSystem_Impl::getScheduleTypeKeys(const Schedule& schedule) const {
114 ✗ std::vector<ScheduleTypeKey> result;
115 ✗ UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
116 ✗ UnsignedVector::const_iterator b(fieldIndices.begin());
117 ✗ UnsignedVector::const_iterator e(fieldIndices.end());
118 ✗ if (std::find(b, e, OS_ZoneHVAC_IdealLoadsAirSystemFields::AvailabilityScheduleName) != e) {
119 ✗ result.push_back(ScheduleTypeKey("ZoneHVACIdealLoadsAirSystem", "Availability"));
120 }
121 ✗ if (std::find(b, e, OS_ZoneHVAC_IdealLoadsAirSystemFields::HeatingAvailabilityScheduleName) != e) {
122 ✗ result.push_back(ScheduleTypeKey("ZoneHVACIdealLoadsAirSystem", "Heating Availability"));
123 }
124 ✗ if (std::find(b, e, OS_ZoneHVAC_IdealLoadsAirSystemFields::CoolingAvailabilityScheduleName) != e) {
125 ✗ result.push_back(ScheduleTypeKey("ZoneHVACIdealLoadsAirSystem", "Cooling Availability"));
126 }
127 ✗ if (std::find(b, e, OS_ZoneHVAC_IdealLoadsAirSystemFields::HeatingFuelEfficiencyScheduleName) != e) {
128 ✗ result.push_back(ScheduleTypeKey("ZoneHVACIdealLoadsAirSystem", "Heating Fuel Efficiency"));
129 }
130 ✗ if (std::find(b, e, OS_ZoneHVAC_IdealLoadsAirSystemFields::CoolingFuelEfficiencyScheduleName) != e) {
131 ✗ result.push_back(ScheduleTypeKey("ZoneHVACIdealLoadsAirSystem", "Cooling Fuel Efficiency"));
132 }
133 ✗ return result;
134 ✗ }
135
136 23 unsigned ZoneHVACIdealLoadsAirSystem_Impl::inletPort() const {
137 23 return OS_ZoneHVAC_IdealLoadsAirSystemFields::ZoneSupplyAirNodeName;
138 }
139
140 8 unsigned ZoneHVACIdealLoadsAirSystem_Impl::outletPort() const {
141 8 return OS_ZoneHVAC_IdealLoadsAirSystemFields::ZoneExhaustAirNodeName;
142 }
143
144 5 boost::optional<Schedule> ZoneHVACIdealLoadsAirSystem_Impl::availabilitySchedule() const {
145
2/2
✓ Branch 1 taken 5 times.
✓ Branch 4 taken 5 times.
5 return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_ZoneHVAC_IdealLoadsAirSystemFields::AvailabilityScheduleName);
146 }
147
148 5 double ZoneHVACIdealLoadsAirSystem_Impl::maximumHeatingSupplyAirTemperature() const {
149
1/1
✓ Branch 1 taken 5 times.
5 boost::optional<double> value = getDouble(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumHeatingSupplyAirTemperature, true);
150
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
5 OS_ASSERT(value);
151
1/1
✓ Branch 1 taken 5 times.
10 return value.get();
152 }
153
154 2 bool ZoneHVACIdealLoadsAirSystem_Impl::isMaximumHeatingSupplyAirTemperatureDefaulted() const {
155 2 return isEmpty(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumHeatingSupplyAirTemperature);
156 }
157
158 5 double ZoneHVACIdealLoadsAirSystem_Impl::minimumCoolingSupplyAirTemperature() const {
159
1/1
✓ Branch 1 taken 5 times.
5 boost::optional<double> value = getDouble(OS_ZoneHVAC_IdealLoadsAirSystemFields::MinimumCoolingSupplyAirTemperature, true);
160
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
5 OS_ASSERT(value);
161
1/1
✓ Branch 1 taken 5 times.
10 return value.get();
162 }
163
164 2 bool ZoneHVACIdealLoadsAirSystem_Impl::isMinimumCoolingSupplyAirTemperatureDefaulted() const {
165 2 return isEmpty(OS_ZoneHVAC_IdealLoadsAirSystemFields::MinimumCoolingSupplyAirTemperature);
166 }
167
168 5 double ZoneHVACIdealLoadsAirSystem_Impl::maximumHeatingSupplyAirHumidityRatio() const {
169
1/1
✓ Branch 1 taken 5 times.
5 boost::optional<double> value = getDouble(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumHeatingSupplyAirHumidityRatio, true);
170
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
5 OS_ASSERT(value);
171
1/1
✓ Branch 1 taken 5 times.
10 return value.get();
172 }
173
174 2 bool ZoneHVACIdealLoadsAirSystem_Impl::isMaximumHeatingSupplyAirHumidityRatioDefaulted() const {
175 2 return isEmpty(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumHeatingSupplyAirHumidityRatio);
176 }
177
178 5 double ZoneHVACIdealLoadsAirSystem_Impl::minimumCoolingSupplyAirHumidityRatio() const {
179
1/1
✓ Branch 1 taken 5 times.
5 boost::optional<double> value = getDouble(OS_ZoneHVAC_IdealLoadsAirSystemFields::MinimumCoolingSupplyAirHumidityRatio, true);
180
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
5 OS_ASSERT(value);
181
1/1
✓ Branch 1 taken 5 times.
10 return value.get();
182 }
183
184 2 bool ZoneHVACIdealLoadsAirSystem_Impl::isMinimumCoolingSupplyAirHumidityRatioDefaulted() const {
185 2 return isEmpty(OS_ZoneHVAC_IdealLoadsAirSystemFields::MinimumCoolingSupplyAirHumidityRatio);
186 }
187
188 5 std::string ZoneHVACIdealLoadsAirSystem_Impl::heatingLimit() const {
189
1/1
✓ Branch 1 taken 5 times.
5 boost::optional<std::string> value = getString(OS_ZoneHVAC_IdealLoadsAirSystemFields::HeatingLimit, true);
190
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
5 OS_ASSERT(value);
191
2/2
✓ Branch 1 taken 5 times.
✓ Branch 4 taken 5 times.
10 return value.get();
192 5 }
193
194 2 bool ZoneHVACIdealLoadsAirSystem_Impl::isHeatingLimitDefaulted() const {
195 2 return isEmpty(OS_ZoneHVAC_IdealLoadsAirSystemFields::HeatingLimit);
196 }
197
198 5 boost::optional<double> ZoneHVACIdealLoadsAirSystem_Impl::maximumHeatingAirFlowRate() const {
199 5 return getDouble(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumHeatingAirFlowRate, true);
200 }
201
202 2 bool ZoneHVACIdealLoadsAirSystem_Impl::isMaximumHeatingAirFlowRateAutosized() const {
203 2 bool result = false;
204
1/1
✓ Branch 1 taken 2 times.
2 boost::optional<std::string> value = getString(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumHeatingAirFlowRate, true);
205
1/2
✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
2 if (value) {
206
3/3
✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
4 result = openstudio::istringEqual(value.get(), "autosize");
207 }
208 2 return result;
209 2 }
210
211 5 boost::optional<double> ZoneHVACIdealLoadsAirSystem_Impl::maximumSensibleHeatingCapacity() const {
212 5 return getDouble(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumSensibleHeatingCapacity, true);
213 }
214
215 2 bool ZoneHVACIdealLoadsAirSystem_Impl::isMaximumSensibleHeatingCapacityAutosized() const {
216 2 bool result = false;
217
1/1
✓ Branch 1 taken 2 times.
2 boost::optional<std::string> value = getString(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumSensibleHeatingCapacity, true);
218
1/2
✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
2 if (value) {
219
3/3
✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
4 result = openstudio::istringEqual(value.get(), "autosize");
220 }
221 2 return result;
222 2 }
223
224 5 std::string ZoneHVACIdealLoadsAirSystem_Impl::coolingLimit() const {
225
1/1
✓ Branch 1 taken 5 times.
5 boost::optional<std::string> value = getString(OS_ZoneHVAC_IdealLoadsAirSystemFields::CoolingLimit, true);
226
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
5 OS_ASSERT(value);
227
2/2
✓ Branch 1 taken 5 times.
✓ Branch 4 taken 5 times.
10 return value.get();
228 5 }
229
230 2 bool ZoneHVACIdealLoadsAirSystem_Impl::isCoolingLimitDefaulted() const {
231 2 return isEmpty(OS_ZoneHVAC_IdealLoadsAirSystemFields::CoolingLimit);
232 }
233
234 5 boost::optional<double> ZoneHVACIdealLoadsAirSystem_Impl::maximumCoolingAirFlowRate() const {
235 5 return getDouble(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumCoolingAirFlowRate, true);
236 }
237
238 2 bool ZoneHVACIdealLoadsAirSystem_Impl::isMaximumCoolingAirFlowRateAutosized() const {
239 2 bool result = false;
240
1/1
✓ Branch 1 taken 2 times.
2 boost::optional<std::string> value = getString(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumCoolingAirFlowRate, true);
241
1/2
✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
2 if (value) {
242
3/3
✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
4 result = openstudio::istringEqual(value.get(), "autosize");
243 }
244 2 return result;
245 2 }
246
247 5 boost::optional<double> ZoneHVACIdealLoadsAirSystem_Impl::maximumTotalCoolingCapacity() const {
248 5 return getDouble(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumTotalCoolingCapacity, true);
249 }
250
251 2 bool ZoneHVACIdealLoadsAirSystem_Impl::isMaximumTotalCoolingCapacityAutosized() const {
252 2 bool result = false;
253
1/1
✓ Branch 1 taken 2 times.
2 boost::optional<std::string> value = getString(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumTotalCoolingCapacity, true);
254
1/2
✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
2 if (value) {
255
3/3
✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
4 result = openstudio::istringEqual(value.get(), "autosize");
256 }
257 2 return result;
258 2 }
259
260 4 boost::optional<Schedule> ZoneHVACIdealLoadsAirSystem_Impl::heatingAvailabilitySchedule() const {
261
2/2
✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
4 return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_ZoneHVAC_IdealLoadsAirSystemFields::HeatingAvailabilityScheduleName);
262 }
263
264 4 boost::optional<Schedule> ZoneHVACIdealLoadsAirSystem_Impl::coolingAvailabilitySchedule() const {
265
2/2
✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
4 return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_ZoneHVAC_IdealLoadsAirSystemFields::CoolingAvailabilityScheduleName);
266 }
267
268 5 std::string ZoneHVACIdealLoadsAirSystem_Impl::dehumidificationControlType() const {
269
1/1
✓ Branch 1 taken 5 times.
5 boost::optional<std::string> value = getString(OS_ZoneHVAC_IdealLoadsAirSystemFields::DehumidificationControlType, true);
270
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
5 OS_ASSERT(value);
271
2/2
✓ Branch 1 taken 5 times.
✓ Branch 4 taken 5 times.
10 return value.get();
272 5 }
273
274 2 bool ZoneHVACIdealLoadsAirSystem_Impl::isDehumidificationControlTypeDefaulted() const {
275 2 return isEmpty(OS_ZoneHVAC_IdealLoadsAirSystemFields::DehumidificationControlType);
276 }
277
278 5 double ZoneHVACIdealLoadsAirSystem_Impl::coolingSensibleHeatRatio() const {
279
1/1
✓ Branch 1 taken 5 times.
5 boost::optional<double> value = getDouble(OS_ZoneHVAC_IdealLoadsAirSystemFields::CoolingSensibleHeatRatio, true);
280
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
5 OS_ASSERT(value);
281
1/1
✓ Branch 1 taken 5 times.
10 return value.get();
282 }
283
284 2 bool ZoneHVACIdealLoadsAirSystem_Impl::isCoolingSensibleHeatRatioDefaulted() const {
285 2 return isEmpty(OS_ZoneHVAC_IdealLoadsAirSystemFields::CoolingSensibleHeatRatio);
286 }
287
288 5 std::string ZoneHVACIdealLoadsAirSystem_Impl::humidificationControlType() const {
289
1/1
✓ Branch 1 taken 5 times.
5 boost::optional<std::string> value = getString(OS_ZoneHVAC_IdealLoadsAirSystemFields::HumidificationControlType, true);
290
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
5 OS_ASSERT(value);
291
2/2
✓ Branch 1 taken 5 times.
✓ Branch 4 taken 5 times.
10 return value.get();
292 5 }
293
294 2 bool ZoneHVACIdealLoadsAirSystem_Impl::isHumidificationControlTypeDefaulted() const {
295 2 return isEmpty(OS_ZoneHVAC_IdealLoadsAirSystemFields::HumidificationControlType);
296 }
297
298 5 boost::optional<DesignSpecificationOutdoorAir> ZoneHVACIdealLoadsAirSystem_Impl::designSpecificationOutdoorAirObject() const {
299
1/1
✓ Branch 1 taken 5 times.
10 return getObject<ModelObject>().getModelObjectTarget<DesignSpecificationOutdoorAir>(
300
1/1
✓ Branch 1 taken 5 times.
10 OS_ZoneHVAC_IdealLoadsAirSystemFields::DesignSpecificationOutdoorAirObjectName);
301 }
302
303 5 std::string ZoneHVACIdealLoadsAirSystem_Impl::demandControlledVentilationType() const {
304
1/1
✓ Branch 1 taken 5 times.
5 boost::optional<std::string> value = getString(OS_ZoneHVAC_IdealLoadsAirSystemFields::DemandControlledVentilationType, true);
305
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
5 OS_ASSERT(value);
306
2/2
✓ Branch 1 taken 5 times.
✓ Branch 4 taken 5 times.
10 return value.get();
307 5 }
308
309 2 bool ZoneHVACIdealLoadsAirSystem_Impl::isDemandControlledVentilationTypeDefaulted() const {
310 2 return isEmpty(OS_ZoneHVAC_IdealLoadsAirSystemFields::DemandControlledVentilationType);
311 }
312
313 5 std::string ZoneHVACIdealLoadsAirSystem_Impl::outdoorAirEconomizerType() const {
314
1/1
✓ Branch 1 taken 5 times.
5 boost::optional<std::string> value = getString(OS_ZoneHVAC_IdealLoadsAirSystemFields::OutdoorAirEconomizerType, true);
315
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
5 OS_ASSERT(value);
316
2/2
✓ Branch 1 taken 5 times.
✓ Branch 4 taken 5 times.
10 return value.get();
317 5 }
318
319 2 bool ZoneHVACIdealLoadsAirSystem_Impl::isOutdoorAirEconomizerTypeDefaulted() const {
320 2 return isEmpty(OS_ZoneHVAC_IdealLoadsAirSystemFields::OutdoorAirEconomizerType);
321 }
322
323 5 std::string ZoneHVACIdealLoadsAirSystem_Impl::heatRecoveryType() const {
324
1/1
✓ Branch 1 taken 5 times.
5 boost::optional<std::string> value = getString(OS_ZoneHVAC_IdealLoadsAirSystemFields::HeatRecoveryType, true);
325
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
5 OS_ASSERT(value);
326
2/2
✓ Branch 1 taken 5 times.
✓ Branch 4 taken 5 times.
10 return value.get();
327 5 }
328
329 2 bool ZoneHVACIdealLoadsAirSystem_Impl::isHeatRecoveryTypeDefaulted() const {
330 2 return isEmpty(OS_ZoneHVAC_IdealLoadsAirSystemFields::HeatRecoveryType);
331 }
332
333 5 double ZoneHVACIdealLoadsAirSystem_Impl::sensibleHeatRecoveryEffectiveness() const {
334
1/1
✓ Branch 1 taken 5 times.
5 boost::optional<double> value = getDouble(OS_ZoneHVAC_IdealLoadsAirSystemFields::SensibleHeatRecoveryEffectiveness, true);
335
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
5 OS_ASSERT(value);
336
1/1
✓ Branch 1 taken 5 times.
10 return value.get();
337 }
338
339 2 bool ZoneHVACIdealLoadsAirSystem_Impl::isSensibleHeatRecoveryEffectivenessDefaulted() const {
340 2 return isEmpty(OS_ZoneHVAC_IdealLoadsAirSystemFields::SensibleHeatRecoveryEffectiveness);
341 }
342
343 5 double ZoneHVACIdealLoadsAirSystem_Impl::latentHeatRecoveryEffectiveness() const {
344
1/1
✓ Branch 1 taken 5 times.
5 boost::optional<double> value = getDouble(OS_ZoneHVAC_IdealLoadsAirSystemFields::LatentHeatRecoveryEffectiveness, true);
345
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
5 OS_ASSERT(value);
346
1/1
✓ Branch 1 taken 5 times.
10 return value.get();
347 }
348
349 2 bool ZoneHVACIdealLoadsAirSystem_Impl::isLatentHeatRecoveryEffectivenessDefaulted() const {
350 2 return isEmpty(OS_ZoneHVAC_IdealLoadsAirSystemFields::LatentHeatRecoveryEffectiveness);
351 }
352
353 4 boost::optional<Schedule> ZoneHVACIdealLoadsAirSystem_Impl::heatingFuelEfficiencySchedule() const {
354
2/2
✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
4 return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_ZoneHVAC_IdealLoadsAirSystemFields::HeatingFuelEfficiencyScheduleName);
355 }
356
357 4 std::string ZoneHVACIdealLoadsAirSystem_Impl::heatingFuelType() const {
358
1/1
✓ Branch 1 taken 4 times.
4 boost::optional<std::string> value = getString(OS_ZoneHVAC_IdealLoadsAirSystemFields::HeatingFuelType, true);
359
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
4 OS_ASSERT(value);
360
2/2
✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
8 return value.get();
361 4 }
362
363 4 boost::optional<Schedule> ZoneHVACIdealLoadsAirSystem_Impl::coolingFuelEfficiencySchedule() const {
364
2/2
✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
4 return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_ZoneHVAC_IdealLoadsAirSystemFields::CoolingFuelEfficiencyScheduleName);
365 }
366
367 4 std::string ZoneHVACIdealLoadsAirSystem_Impl::coolingFuelType() const {
368
1/1
✓ Branch 1 taken 4 times.
4 boost::optional<std::string> value = getString(OS_ZoneHVAC_IdealLoadsAirSystemFields::CoolingFuelType, true);
369
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
4 OS_ASSERT(value);
370
2/2
✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
8 return value.get();
371 4 }
372
373 3 bool ZoneHVACIdealLoadsAirSystem_Impl::setAvailabilitySchedule(Schedule& availabilitySchedule) {
374
3/3
✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
✓ Branch 7 taken 3 times.
12 bool result = setSchedule(OS_ZoneHVAC_IdealLoadsAirSystemFields::AvailabilityScheduleName, "ZoneHVACIdealLoadsAirSystem", "Availability",
375 availabilitySchedule);
376 3 return result;
377 }
378
379 ✗ void ZoneHVACIdealLoadsAirSystem_Impl::resetAvailabilitySchedule() {
380 ✗ bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::AvailabilityScheduleName, "");
381 ✗ OS_ASSERT(result);
382 ✗ }
383
384 3 bool ZoneHVACIdealLoadsAirSystem_Impl::setMaximumHeatingSupplyAirTemperature(double maximumHeatingSupplyAirTemperature) {
385 3 bool result = setDouble(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumHeatingSupplyAirTemperature, maximumHeatingSupplyAirTemperature);
386 3 return result;
387 }
388
389 1 void ZoneHVACIdealLoadsAirSystem_Impl::resetMaximumHeatingSupplyAirTemperature() {
390
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumHeatingSupplyAirTemperature, "");
391
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
392 1 }
393
394 3 bool ZoneHVACIdealLoadsAirSystem_Impl::setMinimumCoolingSupplyAirTemperature(double minimumCoolingSupplyAirTemperature) {
395 3 bool result = setDouble(OS_ZoneHVAC_IdealLoadsAirSystemFields::MinimumCoolingSupplyAirTemperature, minimumCoolingSupplyAirTemperature);
396 3 return result;
397 }
398
399 1 void ZoneHVACIdealLoadsAirSystem_Impl::resetMinimumCoolingSupplyAirTemperature() {
400
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::MinimumCoolingSupplyAirTemperature, "");
401
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
402 1 }
403
404 3 bool ZoneHVACIdealLoadsAirSystem_Impl::setMaximumHeatingSupplyAirHumidityRatio(double maximumHeatingSupplyAirHumidityRatio) {
405 3 bool result = setDouble(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumHeatingSupplyAirHumidityRatio, maximumHeatingSupplyAirHumidityRatio);
406 3 return result;
407 }
408
409 1 void ZoneHVACIdealLoadsAirSystem_Impl::resetMaximumHeatingSupplyAirHumidityRatio() {
410
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumHeatingSupplyAirHumidityRatio, "");
411
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
412 1 }
413
414 3 bool ZoneHVACIdealLoadsAirSystem_Impl::setMinimumCoolingSupplyAirHumidityRatio(double minimumCoolingSupplyAirHumidityRatio) {
415 3 bool result = setDouble(OS_ZoneHVAC_IdealLoadsAirSystemFields::MinimumCoolingSupplyAirHumidityRatio, minimumCoolingSupplyAirHumidityRatio);
416 3 return result;
417 }
418
419 1 void ZoneHVACIdealLoadsAirSystem_Impl::resetMinimumCoolingSupplyAirHumidityRatio() {
420
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::MinimumCoolingSupplyAirHumidityRatio, "");
421
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
422 1 }
423
424 4 bool ZoneHVACIdealLoadsAirSystem_Impl::setHeatingLimit(const std::string& heatingLimit) {
425 4 bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::HeatingLimit, heatingLimit);
426 4 return result;
427 }
428
429 ✗ void ZoneHVACIdealLoadsAirSystem_Impl::resetHeatingLimit() {
430 ✗ bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::HeatingLimit, "");
431 ✗ OS_ASSERT(result);
432 ✗ }
433
434 3 bool ZoneHVACIdealLoadsAirSystem_Impl::setMaximumHeatingAirFlowRate(boost::optional<double> maximumHeatingAirFlowRate) {
435 3 bool result = false;
436
1/2
✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
3 if (maximumHeatingAirFlowRate) {
437 3 result = setDouble(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumHeatingAirFlowRate, maximumHeatingAirFlowRate.get());
438 } else {
439 ✗ result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumHeatingAirFlowRate, "");
440 }
441 3 return result;
442 }
443
444 1 void ZoneHVACIdealLoadsAirSystem_Impl::resetMaximumHeatingAirFlowRate() {
445
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumHeatingAirFlowRate, "");
446
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
447 1 }
448
449 ✗ void ZoneHVACIdealLoadsAirSystem_Impl::autosizeMaximumHeatingAirFlowRate() {
450 ✗ bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumHeatingAirFlowRate, "autosize");
451 ✗ OS_ASSERT(result);
452 ✗ }
453
454 3 bool ZoneHVACIdealLoadsAirSystem_Impl::setMaximumSensibleHeatingCapacity(boost::optional<double> maximumSensibleHeatingCapacity) {
455 3 bool result = false;
456
1/2
✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
3 if (maximumSensibleHeatingCapacity) {
457 3 result = setDouble(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumSensibleHeatingCapacity, maximumSensibleHeatingCapacity.get());
458 } else {
459 ✗ result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumSensibleHeatingCapacity, "");
460 }
461 3 return result;
462 }
463
464 1 void ZoneHVACIdealLoadsAirSystem_Impl::resetMaximumSensibleHeatingCapacity() {
465
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumSensibleHeatingCapacity, "");
466
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
467 1 }
468
469 ✗ void ZoneHVACIdealLoadsAirSystem_Impl::autosizeMaximumSensibleHeatingCapacity() {
470 ✗ bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumSensibleHeatingCapacity, "autosize");
471 ✗ OS_ASSERT(result);
472 ✗ }
473
474 4 bool ZoneHVACIdealLoadsAirSystem_Impl::setCoolingLimit(const std::string& coolingLimit) {
475 4 bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::CoolingLimit, coolingLimit);
476 4 return result;
477 }
478
479 ✗ void ZoneHVACIdealLoadsAirSystem_Impl::resetCoolingLimit() {
480 ✗ bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::CoolingLimit, "");
481 ✗ OS_ASSERT(result);
482 ✗ }
483
484 3 bool ZoneHVACIdealLoadsAirSystem_Impl::setMaximumCoolingAirFlowRate(boost::optional<double> maximumCoolingAirFlowRate) {
485 3 bool result = false;
486
1/2
✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
3 if (maximumCoolingAirFlowRate) {
487 3 result = setDouble(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumCoolingAirFlowRate, maximumCoolingAirFlowRate.get());
488 } else {
489 ✗ result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumCoolingAirFlowRate, "");
490 }
491 3 return result;
492 }
493
494 1 void ZoneHVACIdealLoadsAirSystem_Impl::resetMaximumCoolingAirFlowRate() {
495
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumCoolingAirFlowRate, "");
496
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
497 1 }
498
499 ✗ void ZoneHVACIdealLoadsAirSystem_Impl::autosizeMaximumCoolingAirFlowRate() {
500 ✗ bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumCoolingAirFlowRate, "autosize");
501 ✗ OS_ASSERT(result);
502 ✗ }
503
504 3 bool ZoneHVACIdealLoadsAirSystem_Impl::setMaximumTotalCoolingCapacity(boost::optional<double> maximumTotalCoolingCapacity) {
505 3 bool result = false;
506
1/2
✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
3 if (maximumTotalCoolingCapacity) {
507 3 result = setDouble(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumTotalCoolingCapacity, maximumTotalCoolingCapacity.get());
508 } else {
509 ✗ result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumTotalCoolingCapacity, "");
510 }
511 3 return result;
512 }
513
514 1 void ZoneHVACIdealLoadsAirSystem_Impl::resetMaximumTotalCoolingCapacity() {
515
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumTotalCoolingCapacity, "");
516
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
517 1 }
518
519 ✗ void ZoneHVACIdealLoadsAirSystem_Impl::autosizeMaximumTotalCoolingCapacity() {
520 ✗ bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::MaximumTotalCoolingCapacity, "autosize");
521 ✗ OS_ASSERT(result);
522 ✗ }
523
524 3 bool ZoneHVACIdealLoadsAirSystem_Impl::setHeatingAvailabilitySchedule(Schedule& heatingAvailabilitySchedule) {
525
3/3
✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
✓ Branch 7 taken 3 times.
12 bool result = setSchedule(OS_ZoneHVAC_IdealLoadsAirSystemFields::HeatingAvailabilityScheduleName, "ZoneHVACIdealLoadsAirSystem",
526 "Heating Availability", heatingAvailabilitySchedule);
527 3 return result;
528 }
529
530 ✗ void ZoneHVACIdealLoadsAirSystem_Impl::resetHeatingAvailabilitySchedule() {
531 ✗ bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::HeatingAvailabilityScheduleName, "");
532 ✗ OS_ASSERT(result);
533 ✗ }
534
535 3 bool ZoneHVACIdealLoadsAirSystem_Impl::setCoolingAvailabilitySchedule(Schedule& coolingAvailabilitySchedule) {
536
3/3
✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
✓ Branch 7 taken 3 times.
12 bool result = setSchedule(OS_ZoneHVAC_IdealLoadsAirSystemFields::CoolingAvailabilityScheduleName, "ZoneHVACIdealLoadsAirSystem",
537 "Cooling Availability", coolingAvailabilitySchedule);
538 3 return result;
539 }
540
541 ✗ void ZoneHVACIdealLoadsAirSystem_Impl::resetCoolingAvailabilitySchedule() {
542 ✗ bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::CoolingAvailabilityScheduleName, "");
543 ✗ OS_ASSERT(result);
544 ✗ }
545
546 4 bool ZoneHVACIdealLoadsAirSystem_Impl::setDehumidificationControlType(const std::string& dehumidificationControlType) {
547 4 bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::DehumidificationControlType, dehumidificationControlType);
548 4 return result;
549 }
550
551 ✗ void ZoneHVACIdealLoadsAirSystem_Impl::resetDehumidificationControlType() {
552 ✗ bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::DehumidificationControlType, "");
553 ✗ OS_ASSERT(result);
554 ✗ }
555
556 3 bool ZoneHVACIdealLoadsAirSystem_Impl::setCoolingSensibleHeatRatio(double coolingSensibleHeatRatio) {
557 3 bool result = setDouble(OS_ZoneHVAC_IdealLoadsAirSystemFields::CoolingSensibleHeatRatio, coolingSensibleHeatRatio);
558 3 return result;
559 }
560
561 1 void ZoneHVACIdealLoadsAirSystem_Impl::resetCoolingSensibleHeatRatio() {
562
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::CoolingSensibleHeatRatio, "");
563
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
564 1 }
565
566 4 bool ZoneHVACIdealLoadsAirSystem_Impl::setHumidificationControlType(const std::string& humidificationControlType) {
567 4 bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::HumidificationControlType, humidificationControlType);
568 4 return result;
569 }
570
571 ✗ void ZoneHVACIdealLoadsAirSystem_Impl::resetHumidificationControlType() {
572 ✗ bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::HumidificationControlType, "");
573 ✗ OS_ASSERT(result);
574 ✗ }
575
576 2 bool ZoneHVACIdealLoadsAirSystem_Impl::setDesignSpecificationOutdoorAirObject(
577 const boost::optional<DesignSpecificationOutdoorAir>& designSpecificationOutdoorAirObject) {
578 2 bool result = false;
579
1/2
✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
2 if (designSpecificationOutdoorAirObject) {
580
1/1
✓ Branch 1 taken 2 times.
2 result = setPointer(OS_ZoneHVAC_IdealLoadsAirSystemFields::DesignSpecificationOutdoorAirObjectName,
581
2/2
✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
4 designSpecificationOutdoorAirObject.get().handle());
582 } else {
583 ✗ result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::DesignSpecificationOutdoorAirObjectName, "");
584 }
585 2 return result;
586 }
587
588 ✗ void ZoneHVACIdealLoadsAirSystem_Impl::resetDesignSpecificationOutdoorAirObject() {
589 ✗ bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::DesignSpecificationOutdoorAirObjectName, "");
590 ✗ OS_ASSERT(result);
591 ✗ }
592
593 4 bool ZoneHVACIdealLoadsAirSystem_Impl::setDemandControlledVentilationType(const std::string& demandControlledVentilationType) {
594 4 bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::DemandControlledVentilationType, demandControlledVentilationType);
595 4 return result;
596 }
597
598 ✗ void ZoneHVACIdealLoadsAirSystem_Impl::resetDemandControlledVentilationType() {
599 ✗ bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::DemandControlledVentilationType, "");
600 ✗ OS_ASSERT(result);
601 ✗ }
602
603 4 bool ZoneHVACIdealLoadsAirSystem_Impl::setOutdoorAirEconomizerType(const std::string& outdoorAirEconomizerType) {
604 4 bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::OutdoorAirEconomizerType, outdoorAirEconomizerType);
605 4 return result;
606 }
607
608 ✗ void ZoneHVACIdealLoadsAirSystem_Impl::resetOutdoorAirEconomizerType() {
609 ✗ bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::OutdoorAirEconomizerType, "");
610 ✗ OS_ASSERT(result);
611 ✗ }
612
613 4 bool ZoneHVACIdealLoadsAirSystem_Impl::setHeatRecoveryType(const std::string& heatRecoveryType) {
614 4 bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::HeatRecoveryType, heatRecoveryType);
615 4 return result;
616 }
617
618 ✗ void ZoneHVACIdealLoadsAirSystem_Impl::resetHeatRecoveryType() {
619 ✗ bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::HeatRecoveryType, "");
620 ✗ OS_ASSERT(result);
621 ✗ }
622
623 3 bool ZoneHVACIdealLoadsAirSystem_Impl::setSensibleHeatRecoveryEffectiveness(double sensibleHeatRecoveryEffectiveness) {
624 3 bool result = setDouble(OS_ZoneHVAC_IdealLoadsAirSystemFields::SensibleHeatRecoveryEffectiveness, sensibleHeatRecoveryEffectiveness);
625 3 return result;
626 }
627
628 1 void ZoneHVACIdealLoadsAirSystem_Impl::resetSensibleHeatRecoveryEffectiveness() {
629
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::SensibleHeatRecoveryEffectiveness, "");
630
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
631 1 }
632
633 3 bool ZoneHVACIdealLoadsAirSystem_Impl::setLatentHeatRecoveryEffectiveness(double latentHeatRecoveryEffectiveness) {
634 3 bool result = setDouble(OS_ZoneHVAC_IdealLoadsAirSystemFields::LatentHeatRecoveryEffectiveness, latentHeatRecoveryEffectiveness);
635 3 return result;
636 }
637
638 1 void ZoneHVACIdealLoadsAirSystem_Impl::resetLatentHeatRecoveryEffectiveness() {
639
2/2
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
2 bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::LatentHeatRecoveryEffectiveness, "");
640
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 OS_ASSERT(result);
641 1 }
642
643 3 bool ZoneHVACIdealLoadsAirSystem_Impl::setHeatingFuelEfficiencySchedule(Schedule& heatingFuelEfficiencySchedule) {
644
3/3
✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
✓ Branch 7 taken 3 times.
12 bool result = setSchedule(OS_ZoneHVAC_IdealLoadsAirSystemFields::HeatingFuelEfficiencyScheduleName, "ZoneHVACIdealLoadsAirSystem",
645 "Heating Fuel Efficiency", heatingFuelEfficiencySchedule);
646 3 return result;
647 }
648
649 ✗ void ZoneHVACIdealLoadsAirSystem_Impl::resetHeatingFuelEfficiencySchedule() {
650 ✗ bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::HeatingFuelEfficiencyScheduleName, "");
651 ✗ OS_ASSERT(result);
652 ✗ }
653
654 8 bool ZoneHVACIdealLoadsAirSystem_Impl::setHeatingFuelType(const std::string& heatingFuelType) {
655 8 bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::HeatingFuelType, heatingFuelType);
656 8 return result;
657 }
658
659 3 bool ZoneHVACIdealLoadsAirSystem_Impl::setCoolingFuelEfficiencySchedule(Schedule& coolingFuelEfficiencySchedule) {
660
3/3
✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
✓ Branch 7 taken 3 times.
12 bool result = setSchedule(OS_ZoneHVAC_IdealLoadsAirSystemFields::CoolingFuelEfficiencyScheduleName, "ZoneHVACIdealLoadsAirSystem",
661 "Cooling Fuel Efficiency", coolingFuelEfficiencySchedule);
662 3 return result;
663 }
664
665 ✗ void ZoneHVACIdealLoadsAirSystem_Impl::resetCoolingFuelEfficiencySchedule() {
666 ✗ bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::CoolingFuelEfficiencyScheduleName, "");
667 ✗ OS_ASSERT(result);
668 ✗ }
669
670 8 bool ZoneHVACIdealLoadsAirSystem_Impl::setCoolingFuelType(const std::string& coolingFuelType) {
671 8 bool result = setString(OS_ZoneHVAC_IdealLoadsAirSystemFields::CoolingFuelType, coolingFuelType);
672 8 return result;
673 }
674
675 ✗ std::vector<std::string> ZoneHVACIdealLoadsAirSystem_Impl::heatingLimitValues() const {
676 ✗ return ZoneHVACIdealLoadsAirSystem::heatingLimitValues();
677 }
678
679 ✗ std::vector<std::string> ZoneHVACIdealLoadsAirSystem_Impl::coolingLimitValues() const {
680 ✗ return ZoneHVACIdealLoadsAirSystem::coolingLimitValues();
681 }
682
683 ✗ std::vector<std::string> ZoneHVACIdealLoadsAirSystem_Impl::dehumidificationControlTypeValues() const {
684 ✗ return ZoneHVACIdealLoadsAirSystem::dehumidificationControlTypeValues();
685 }
686
687 ✗ std::vector<std::string> ZoneHVACIdealLoadsAirSystem_Impl::humidificationControlTypeValues() const {
688 ✗ return ZoneHVACIdealLoadsAirSystem::humidificationControlTypeValues();
689 }
690
691 ✗ std::vector<std::string> ZoneHVACIdealLoadsAirSystem_Impl::demandControlledVentilationTypeValues() const {
692 ✗ return ZoneHVACIdealLoadsAirSystem::demandControlledVentilationTypeValues();
693 }
694
695 ✗ std::vector<std::string> ZoneHVACIdealLoadsAirSystem_Impl::outdoorAirEconomizerTypeValues() const {
696 ✗ return ZoneHVACIdealLoadsAirSystem::outdoorAirEconomizerTypeValues();
697 }
698
699 ✗ std::vector<std::string> ZoneHVACIdealLoadsAirSystem_Impl::heatRecoveryTypeValues() const {
700 ✗ return ZoneHVACIdealLoadsAirSystem::heatRecoveryTypeValues();
701 }
702
703 ✗ std::vector<std::string> ZoneHVACIdealLoadsAirSystem_Impl::heatingFuelTypeValues() const {
704 ✗ return ZoneHVACIdealLoadsAirSystem::heatingFuelTypeValues();
705 }
706
707 ✗ std::vector<std::string> ZoneHVACIdealLoadsAirSystem_Impl::coolingFuelTypeValues() const {
708 ✗ return ZoneHVACIdealLoadsAirSystem::coolingFuelTypeValues();
709 }
710
711 ✗ boost::optional<ModelObject> ZoneHVACIdealLoadsAirSystem_Impl::availabilityScheduleAsModelObject() const {
712 ✗ OptionalModelObject result;
713 ✗ OptionalSchedule intermediate = availabilitySchedule();
714 ✗ if (intermediate) {
715 ✗ result = *intermediate;
716 }
717 ✗ return result;
718 ✗ }
719
720 ✗ boost::optional<ModelObject> ZoneHVACIdealLoadsAirSystem_Impl::heatingAvailabilityScheduleAsModelObject() const {
721 ✗ OptionalModelObject result;
722 ✗ OptionalSchedule intermediate = heatingAvailabilitySchedule();
723 ✗ if (intermediate) {
724 ✗ result = *intermediate;
725 }
726 ✗ return result;
727 ✗ }
728
729 ✗ boost::optional<ModelObject> ZoneHVACIdealLoadsAirSystem_Impl::coolingAvailabilityScheduleAsModelObject() const {
730 ✗ OptionalModelObject result;
731 ✗ OptionalSchedule intermediate = coolingAvailabilitySchedule();
732 ✗ if (intermediate) {
733 ✗ result = *intermediate;
734 }
735 ✗ return result;
736 ✗ }
737
738 ✗ boost::optional<ModelObject> ZoneHVACIdealLoadsAirSystem_Impl::designSpecificationOutdoorAirObjectAsModelObject() const {
739 ✗ OptionalModelObject result;
740 ✗ OptionalDesignSpecificationOutdoorAir intermediate = designSpecificationOutdoorAirObject();
741 ✗ if (intermediate) {
742 ✗ result = *intermediate;
743 }
744 ✗ return result;
745 ✗ }
746
747 ✗ boost::optional<ModelObject> ZoneHVACIdealLoadsAirSystem_Impl::heatingFuelEfficiencyScheduleAsModelObject() const {
748 ✗ OptionalModelObject result;
749 ✗ OptionalSchedule intermediate = heatingFuelEfficiencySchedule();
750 ✗ if (intermediate) {
751 ✗ result = *intermediate;
752 }
753 ✗ return result;
754 ✗ }
755
756 ✗ boost::optional<ModelObject> ZoneHVACIdealLoadsAirSystem_Impl::coolingFuelEfficiencyScheduleAsModelObject() const {
757 ✗ OptionalModelObject result;
758 ✗ OptionalSchedule intermediate = coolingFuelEfficiencySchedule();
759 ✗ if (intermediate) {
760 ✗ result = *intermediate;
761 }
762 ✗ return result;
763 ✗ }
764
765 ✗ bool ZoneHVACIdealLoadsAirSystem_Impl::setAvailabilityScheduleAsModelObject(const boost::optional<ModelObject>& modelObject) {
766 ✗ if (modelObject) {
767 ✗ OptionalSchedule intermediate = modelObject->optionalCast<Schedule>();
768 ✗ if (intermediate) {
769 ✗ Schedule schedule(*intermediate);
770 ✗ return setAvailabilitySchedule(schedule);
771 ✗ } else {
772 ✗ return false;
773 }
774 ✗ } else {
775 ✗ resetAvailabilitySchedule();
776 }
777 ✗ return true;
778 }
779
780 ✗ bool ZoneHVACIdealLoadsAirSystem_Impl::setHeatingAvailabilityScheduleAsModelObject(const boost::optional<ModelObject>& modelObject) {
781 ✗ if (modelObject) {
782 ✗ OptionalSchedule intermediate = modelObject->optionalCast<Schedule>();
783 ✗ if (intermediate) {
784 ✗ Schedule schedule(*intermediate);
785 ✗ return setHeatingAvailabilitySchedule(schedule);
786 ✗ } else {
787 ✗ return false;
788 }
789 ✗ } else {
790 ✗ resetHeatingAvailabilitySchedule();
791 }
792 ✗ return true;
793 }
794
795 ✗ bool ZoneHVACIdealLoadsAirSystem_Impl::setCoolingAvailabilityScheduleAsModelObject(const boost::optional<ModelObject>& modelObject) {
796 ✗ if (modelObject) {
797 ✗ OptionalSchedule intermediate = modelObject->optionalCast<Schedule>();
798 ✗ if (intermediate) {
799 ✗ Schedule schedule(*intermediate);
800 ✗ return setCoolingAvailabilitySchedule(schedule);
801 ✗ } else {
802 ✗ return false;
803 }
804 ✗ } else {
805 ✗ resetCoolingAvailabilitySchedule();
806 }
807 ✗ return true;
808 }
809
810 ✗ bool ZoneHVACIdealLoadsAirSystem_Impl::setDesignSpecificationOutdoorAirObjectAsModelObject(const boost::optional<ModelObject>& modelObject) {
811 ✗ if (modelObject) {
812 ✗ OptionalDesignSpecificationOutdoorAir intermediate = modelObject->optionalCast<DesignSpecificationOutdoorAir>();
813 ✗ if (intermediate) {
814 ✗ return setDesignSpecificationOutdoorAirObject(*intermediate);
815 } else {
816 ✗ return false;
817 }
818 ✗ } else {
819 ✗ resetDesignSpecificationOutdoorAirObject();
820 }
821 ✗ return true;
822 }
823
824 ✗ bool ZoneHVACIdealLoadsAirSystem_Impl::setHeatingFuelEfficiencyScheduleAsModelObject(const boost::optional<ModelObject>& modelObject) {
825 ✗ if (modelObject) {
826 ✗ OptionalSchedule intermediate = modelObject->optionalCast<Schedule>();
827 ✗ if (intermediate) {
828 ✗ Schedule schedule(*intermediate);
829 ✗ return setHeatingFuelEfficiencySchedule(schedule);
830 ✗ } else {
831 ✗ return false;
832 }
833 ✗ } else {
834 ✗ resetHeatingFuelEfficiencySchedule();
835 }
836 ✗ return true;
837 }
838
839 ✗ bool ZoneHVACIdealLoadsAirSystem_Impl::setCoolingFuelEfficiencyScheduleAsModelObject(const boost::optional<ModelObject>& modelObject) {
840 ✗ if (modelObject) {
841 ✗ OptionalSchedule intermediate = modelObject->optionalCast<Schedule>();
842 ✗ if (intermediate) {
843 ✗ Schedule schedule(*intermediate);
844 ✗ return setCoolingFuelEfficiencySchedule(schedule);
845 ✗ } else {
846 ✗ return false;
847 }
848 ✗ } else {
849 ✗ resetCoolingFuelEfficiencySchedule();
850 }
851 ✗ return true;
852 }
853
854 ✗ boost::optional<double> ZoneHVACIdealLoadsAirSystem_Impl::autosizedMaximumHeatingAirFlowRate() const {
855 ✗ return getAutosizedValue("Design Size Maximum Heating Air Flow Rate", "m3/s");
856 }
857
858 ✗ boost::optional<double> ZoneHVACIdealLoadsAirSystem_Impl::autosizedMaximumSensibleHeatingCapacity() const {
859 ✗ return getAutosizedValue("Design Size Maximum Sensible Heating Capacity", "W");
860 }
861
862 ✗ boost::optional<double> ZoneHVACIdealLoadsAirSystem_Impl::autosizedMaximumCoolingAirFlowRate() const {
863 ✗ return getAutosizedValue("Design Size Maximum Cooling Air Flow Rate", "m3/s");
864 }
865
866 ✗ boost::optional<double> ZoneHVACIdealLoadsAirSystem_Impl::autosizedMaximumTotalCoolingCapacity() const {
867 ✗ return getAutosizedValue("Design Size Maximum Total Cooling Capacity", "W");
868 }
869
870 ✗ void ZoneHVACIdealLoadsAirSystem_Impl::autosize() {
871 ✗ autosizeMaximumHeatingAirFlowRate();
872 ✗ autosizeMaximumSensibleHeatingCapacity();
873 ✗ autosizeMaximumCoolingAirFlowRate();
874 ✗ autosizeMaximumTotalCoolingCapacity();
875 ✗ }
876
877 ✗ void ZoneHVACIdealLoadsAirSystem_Impl::applySizingValues() {
878 ✗ boost::optional<double> val;
879 ✗ val = autosizedMaximumHeatingAirFlowRate();
880 ✗ if (val) {
881 ✗ setMaximumHeatingAirFlowRate(val.get());
882 }
883
884 ✗ val = autosizedMaximumSensibleHeatingCapacity();
885 ✗ if (val) {
886 ✗ setMaximumSensibleHeatingCapacity(val.get());
887 }
888
889 ✗ val = autosizedMaximumCoolingAirFlowRate();
890 ✗ if (val) {
891 ✗ setMaximumCoolingAirFlowRate(val.get());
892 }
893
894 ✗ val = autosizedMaximumTotalCoolingCapacity();
895 ✗ if (val) {
896 ✗ setMaximumTotalCoolingCapacity(val.get());
897 }
898 ✗ }
899
900 ✗ std::vector<EMSActuatorNames> ZoneHVACIdealLoadsAirSystem_Impl::emsActuatorNames() const {
901 std::vector<EMSActuatorNames> actuators{{"Ideal Loads Air System", "Air Mass Flow Rate"},
902 {"Ideal Loads Air System", "Outdoor Air Mass Flow Rate"},
903 {"Ideal Loads Air System", "Air Temperature"},
904 ✗ {"Ideal Loads Air System", "Air Humidity Ratio"}};
905 ✗ return actuators;
906 ✗ }
907
908 ✗ std::vector<std::string> ZoneHVACIdealLoadsAirSystem_Impl::emsInternalVariableNames() const {
909 ✗ std::vector<std::string> types;
910 ✗ return types;
911 }
912
913 ✗ ComponentType ZoneHVACIdealLoadsAirSystem_Impl::componentType() const {
914 ✗ return ComponentType::Both;
915 }
916
917 ✗ std::vector<FuelType> ZoneHVACIdealLoadsAirSystem_Impl::coolingFuelTypes() const {
918 ✗ return {FuelType::DistrictCooling};
919 }
920
921 ✗ std::vector<FuelType> ZoneHVACIdealLoadsAirSystem_Impl::heatingFuelTypes() const {
922 ✗ return {FuelType::DistrictHeating};
923 }
924
925 ✗ std::vector<AppGFuelType> ZoneHVACIdealLoadsAirSystem_Impl::appGHeatingFuelTypes() const {
926 ✗ return {AppGFuelType::District};
927 }
928
929 } // namespace detail
930
931 4 ZoneHVACIdealLoadsAirSystem::ZoneHVACIdealLoadsAirSystem(const Model& model)
932 4 : ZoneHVACComponent(ZoneHVACIdealLoadsAirSystem::iddObjectType(), model) {
933
1/3
✗ Branch 2 not taken.
✓ Branch 3 taken 4 times.
✗ Branch 5 not taken.
4 OS_ASSERT(getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>());
934
935 4 bool ok = true;
936
2/2
✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
4 ok = setHeatingFuelType("DistrictHeatingWater");
937
1/3
✗ Branch 0 not taken.
✓ Branch 1 taken 4 times.
✗ Branch 3 not taken.
4 OS_ASSERT(ok);
938
2/2
✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
4 ok = setCoolingFuelType("DistrictCooling");
939
1/3
✗ Branch 0 not taken.
✓ Branch 1 taken 4 times.
✗ Branch 3 not taken.
4 OS_ASSERT(ok);
940 4 }
941
942 7614 IddObjectType ZoneHVACIdealLoadsAirSystem::iddObjectType() {
943
1/1
✓ Branch 1 taken 7614 times.
7614 return {IddObjectType::OS_ZoneHVAC_IdealLoadsAirSystem};
944 }
945
946 ✗ std::vector<std::string> ZoneHVACIdealLoadsAirSystem::heatingLimitValues() {
947 ✗ return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_ZoneHVAC_IdealLoadsAirSystemFields::HeatingLimit);
948 }
949
950 ✗ std::vector<std::string> ZoneHVACIdealLoadsAirSystem::coolingLimitValues() {
951 ✗ return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_ZoneHVAC_IdealLoadsAirSystemFields::CoolingLimit);
952 }
953
954 ✗ std::vector<std::string> ZoneHVACIdealLoadsAirSystem::dehumidificationControlTypeValues() {
955 ✗ return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(),
956 ✗ OS_ZoneHVAC_IdealLoadsAirSystemFields::DehumidificationControlType);
957 }
958
959 ✗ std::vector<std::string> ZoneHVACIdealLoadsAirSystem::humidificationControlTypeValues() {
960 ✗ return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_ZoneHVAC_IdealLoadsAirSystemFields::HumidificationControlType);
961 }
962
963 ✗ std::vector<std::string> ZoneHVACIdealLoadsAirSystem::demandControlledVentilationTypeValues() {
964 ✗ return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(),
965 ✗ OS_ZoneHVAC_IdealLoadsAirSystemFields::DemandControlledVentilationType);
966 }
967
968 ✗ std::vector<std::string> ZoneHVACIdealLoadsAirSystem::outdoorAirEconomizerTypeValues() {
969 ✗ return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_ZoneHVAC_IdealLoadsAirSystemFields::OutdoorAirEconomizerType);
970 }
971
972 ✗ std::vector<std::string> ZoneHVACIdealLoadsAirSystem::heatRecoveryTypeValues() {
973 ✗ return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_ZoneHVAC_IdealLoadsAirSystemFields::HeatRecoveryType);
974 }
975
976 ✗ std::vector<std::string> ZoneHVACIdealLoadsAirSystem::heatingFuelTypeValues() {
977 ✗ return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_ZoneHVAC_IdealLoadsAirSystemFields::HeatingFuelType);
978 }
979
980 ✗ std::vector<std::string> ZoneHVACIdealLoadsAirSystem::coolingFuelTypeValues() {
981 ✗ return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_ZoneHVAC_IdealLoadsAirSystemFields::CoolingFuelType);
982 }
983
984 5 boost::optional<Schedule> ZoneHVACIdealLoadsAirSystem::availabilitySchedule() const {
985
1/1
✓ Branch 3 taken 5 times.
5 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->availabilitySchedule();
986 }
987
988 5 double ZoneHVACIdealLoadsAirSystem::maximumHeatingSupplyAirTemperature() const {
989
1/1
✓ Branch 3 taken 5 times.
5 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->maximumHeatingSupplyAirTemperature();
990 }
991
992 2 bool ZoneHVACIdealLoadsAirSystem::isMaximumHeatingSupplyAirTemperatureDefaulted() const {
993
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->isMaximumHeatingSupplyAirTemperatureDefaulted();
994 }
995
996 5 double ZoneHVACIdealLoadsAirSystem::minimumCoolingSupplyAirTemperature() const {
997
1/1
✓ Branch 3 taken 5 times.
5 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->minimumCoolingSupplyAirTemperature();
998 }
999
1000 2 bool ZoneHVACIdealLoadsAirSystem::isMinimumCoolingSupplyAirTemperatureDefaulted() const {
1001
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->isMinimumCoolingSupplyAirTemperatureDefaulted();
1002 }
1003
1004 5 double ZoneHVACIdealLoadsAirSystem::maximumHeatingSupplyAirHumidityRatio() const {
1005
1/1
✓ Branch 3 taken 5 times.
5 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->maximumHeatingSupplyAirHumidityRatio();
1006 }
1007
1008 2 bool ZoneHVACIdealLoadsAirSystem::isMaximumHeatingSupplyAirHumidityRatioDefaulted() const {
1009
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->isMaximumHeatingSupplyAirHumidityRatioDefaulted();
1010 }
1011
1012 5 double ZoneHVACIdealLoadsAirSystem::minimumCoolingSupplyAirHumidityRatio() const {
1013
1/1
✓ Branch 3 taken 5 times.
5 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->minimumCoolingSupplyAirHumidityRatio();
1014 }
1015
1016 2 bool ZoneHVACIdealLoadsAirSystem::isMinimumCoolingSupplyAirHumidityRatioDefaulted() const {
1017
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->isMinimumCoolingSupplyAirHumidityRatioDefaulted();
1018 }
1019
1020 5 std::string ZoneHVACIdealLoadsAirSystem::heatingLimit() const {
1021
1/1
✓ Branch 3 taken 5 times.
5 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->heatingLimit();
1022 }
1023
1024 2 bool ZoneHVACIdealLoadsAirSystem::isHeatingLimitDefaulted() const {
1025
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->isHeatingLimitDefaulted();
1026 }
1027
1028 5 boost::optional<double> ZoneHVACIdealLoadsAirSystem::maximumHeatingAirFlowRate() const {
1029
1/1
✓ Branch 3 taken 5 times.
5 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->maximumHeatingAirFlowRate();
1030 }
1031
1032 2 bool ZoneHVACIdealLoadsAirSystem::isMaximumHeatingAirFlowRateAutosized() const {
1033
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->isMaximumHeatingAirFlowRateAutosized();
1034 }
1035
1036 5 boost::optional<double> ZoneHVACIdealLoadsAirSystem::maximumSensibleHeatingCapacity() const {
1037
1/1
✓ Branch 3 taken 5 times.
5 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->maximumSensibleHeatingCapacity();
1038 }
1039
1040 2 bool ZoneHVACIdealLoadsAirSystem::isMaximumSensibleHeatingCapacityAutosized() const {
1041
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->isMaximumSensibleHeatingCapacityAutosized();
1042 }
1043
1044 5 std::string ZoneHVACIdealLoadsAirSystem::coolingLimit() const {
1045
1/1
✓ Branch 3 taken 5 times.
5 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->coolingLimit();
1046 }
1047
1048 2 bool ZoneHVACIdealLoadsAirSystem::isCoolingLimitDefaulted() const {
1049
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->isCoolingLimitDefaulted();
1050 }
1051
1052 5 boost::optional<double> ZoneHVACIdealLoadsAirSystem::maximumCoolingAirFlowRate() const {
1053
1/1
✓ Branch 3 taken 5 times.
5 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->maximumCoolingAirFlowRate();
1054 }
1055
1056 2 bool ZoneHVACIdealLoadsAirSystem::isMaximumCoolingAirFlowRateAutosized() const {
1057
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->isMaximumCoolingAirFlowRateAutosized();
1058 }
1059
1060 5 boost::optional<double> ZoneHVACIdealLoadsAirSystem::maximumTotalCoolingCapacity() const {
1061
1/1
✓ Branch 3 taken 5 times.
5 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->maximumTotalCoolingCapacity();
1062 }
1063
1064 2 bool ZoneHVACIdealLoadsAirSystem::isMaximumTotalCoolingCapacityAutosized() const {
1065
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->isMaximumTotalCoolingCapacityAutosized();
1066 }
1067
1068 4 boost::optional<Schedule> ZoneHVACIdealLoadsAirSystem::heatingAvailabilitySchedule() const {
1069
1/1
✓ Branch 3 taken 4 times.
4 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->heatingAvailabilitySchedule();
1070 }
1071
1072 4 boost::optional<Schedule> ZoneHVACIdealLoadsAirSystem::coolingAvailabilitySchedule() const {
1073
1/1
✓ Branch 3 taken 4 times.
4 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->coolingAvailabilitySchedule();
1074 }
1075
1076 5 std::string ZoneHVACIdealLoadsAirSystem::dehumidificationControlType() const {
1077
1/1
✓ Branch 3 taken 5 times.
5 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->dehumidificationControlType();
1078 }
1079
1080 2 bool ZoneHVACIdealLoadsAirSystem::isDehumidificationControlTypeDefaulted() const {
1081
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->isDehumidificationControlTypeDefaulted();
1082 }
1083
1084 5 double ZoneHVACIdealLoadsAirSystem::coolingSensibleHeatRatio() const {
1085
1/1
✓ Branch 3 taken 5 times.
5 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->coolingSensibleHeatRatio();
1086 }
1087
1088 2 bool ZoneHVACIdealLoadsAirSystem::isCoolingSensibleHeatRatioDefaulted() const {
1089
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->isCoolingSensibleHeatRatioDefaulted();
1090 }
1091
1092 5 std::string ZoneHVACIdealLoadsAirSystem::humidificationControlType() const {
1093
1/1
✓ Branch 3 taken 5 times.
5 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->humidificationControlType();
1094 }
1095
1096 2 bool ZoneHVACIdealLoadsAirSystem::isHumidificationControlTypeDefaulted() const {
1097
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->isHumidificationControlTypeDefaulted();
1098 }
1099
1100 5 boost::optional<DesignSpecificationOutdoorAir> ZoneHVACIdealLoadsAirSystem::designSpecificationOutdoorAirObject() const {
1101
1/1
✓ Branch 3 taken 5 times.
5 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->designSpecificationOutdoorAirObject();
1102 }
1103
1104 5 std::string ZoneHVACIdealLoadsAirSystem::demandControlledVentilationType() const {
1105
1/1
✓ Branch 3 taken 5 times.
5 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->demandControlledVentilationType();
1106 }
1107
1108 2 bool ZoneHVACIdealLoadsAirSystem::isDemandControlledVentilationTypeDefaulted() const {
1109
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->isDemandControlledVentilationTypeDefaulted();
1110 }
1111
1112 5 std::string ZoneHVACIdealLoadsAirSystem::outdoorAirEconomizerType() const {
1113
1/1
✓ Branch 3 taken 5 times.
5 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->outdoorAirEconomizerType();
1114 }
1115
1116 2 bool ZoneHVACIdealLoadsAirSystem::isOutdoorAirEconomizerTypeDefaulted() const {
1117
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->isOutdoorAirEconomizerTypeDefaulted();
1118 }
1119
1120 5 std::string ZoneHVACIdealLoadsAirSystem::heatRecoveryType() const {
1121
1/1
✓ Branch 3 taken 5 times.
5 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->heatRecoveryType();
1122 }
1123
1124 2 bool ZoneHVACIdealLoadsAirSystem::isHeatRecoveryTypeDefaulted() const {
1125
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->isHeatRecoveryTypeDefaulted();
1126 }
1127
1128 5 double ZoneHVACIdealLoadsAirSystem::sensibleHeatRecoveryEffectiveness() const {
1129
1/1
✓ Branch 3 taken 5 times.
5 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->sensibleHeatRecoveryEffectiveness();
1130 }
1131
1132 2 bool ZoneHVACIdealLoadsAirSystem::isSensibleHeatRecoveryEffectivenessDefaulted() const {
1133
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->isSensibleHeatRecoveryEffectivenessDefaulted();
1134 }
1135
1136 5 double ZoneHVACIdealLoadsAirSystem::latentHeatRecoveryEffectiveness() const {
1137
1/1
✓ Branch 3 taken 5 times.
5 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->latentHeatRecoveryEffectiveness();
1138 }
1139
1140 2 bool ZoneHVACIdealLoadsAirSystem::isLatentHeatRecoveryEffectivenessDefaulted() const {
1141
1/1
✓ Branch 3 taken 2 times.
2 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->isLatentHeatRecoveryEffectivenessDefaulted();
1142 }
1143
1144 4 boost::optional<Schedule> ZoneHVACIdealLoadsAirSystem::heatingFuelEfficiencySchedule() const {
1145
1/1
✓ Branch 3 taken 4 times.
4 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->heatingFuelEfficiencySchedule();
1146 }
1147
1148 4 std::string ZoneHVACIdealLoadsAirSystem::heatingFuelType() const {
1149
1/1
✓ Branch 3 taken 4 times.
4 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->heatingFuelType();
1150 }
1151
1152 4 boost::optional<Schedule> ZoneHVACIdealLoadsAirSystem::coolingFuelEfficiencySchedule() const {
1153
1/1
✓ Branch 3 taken 4 times.
4 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->coolingFuelEfficiencySchedule();
1154 }
1155
1156 4 std::string ZoneHVACIdealLoadsAirSystem::coolingFuelType() const {
1157
1/1
✓ Branch 3 taken 4 times.
4 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->coolingFuelType();
1158 }
1159
1160 3 bool ZoneHVACIdealLoadsAirSystem::setAvailabilitySchedule(Schedule& availabilitySchedule) {
1161
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->setAvailabilitySchedule(availabilitySchedule);
1162 }
1163
1164 ✗ void ZoneHVACIdealLoadsAirSystem::resetAvailabilitySchedule() {
1165 ✗ getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->resetAvailabilitySchedule();
1166 ✗ }
1167
1168 3 bool ZoneHVACIdealLoadsAirSystem::setMaximumHeatingSupplyAirTemperature(double maximumHeatingSupplyAirTemperature) {
1169
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->setMaximumHeatingSupplyAirTemperature(maximumHeatingSupplyAirTemperature);
1170 }
1171
1172 1 void ZoneHVACIdealLoadsAirSystem::resetMaximumHeatingSupplyAirTemperature() {
1173
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->resetMaximumHeatingSupplyAirTemperature();
1174 1 }
1175
1176 3 bool ZoneHVACIdealLoadsAirSystem::setMinimumCoolingSupplyAirTemperature(double minimumCoolingSupplyAirTemperature) {
1177
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->setMinimumCoolingSupplyAirTemperature(minimumCoolingSupplyAirTemperature);
1178 }
1179
1180 1 void ZoneHVACIdealLoadsAirSystem::resetMinimumCoolingSupplyAirTemperature() {
1181
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->resetMinimumCoolingSupplyAirTemperature();
1182 1 }
1183
1184 3 bool ZoneHVACIdealLoadsAirSystem::setMaximumHeatingSupplyAirHumidityRatio(double maximumHeatingSupplyAirHumidityRatio) {
1185
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->setMaximumHeatingSupplyAirHumidityRatio(maximumHeatingSupplyAirHumidityRatio);
1186 }
1187
1188 1 void ZoneHVACIdealLoadsAirSystem::resetMaximumHeatingSupplyAirHumidityRatio() {
1189
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->resetMaximumHeatingSupplyAirHumidityRatio();
1190 1 }
1191
1192 3 bool ZoneHVACIdealLoadsAirSystem::setMinimumCoolingSupplyAirHumidityRatio(double minimumCoolingSupplyAirHumidityRatio) {
1193
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->setMinimumCoolingSupplyAirHumidityRatio(minimumCoolingSupplyAirHumidityRatio);
1194 }
1195
1196 1 void ZoneHVACIdealLoadsAirSystem::resetMinimumCoolingSupplyAirHumidityRatio() {
1197
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->resetMinimumCoolingSupplyAirHumidityRatio();
1198 1 }
1199
1200 4 bool ZoneHVACIdealLoadsAirSystem::setHeatingLimit(const std::string& heatingLimit) {
1201
1/1
✓ Branch 3 taken 4 times.
4 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->setHeatingLimit(heatingLimit);
1202 }
1203
1204 ✗ void ZoneHVACIdealLoadsAirSystem::resetHeatingLimit() {
1205 ✗ getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->resetHeatingLimit();
1206 ✗ }
1207
1208 3 bool ZoneHVACIdealLoadsAirSystem::setMaximumHeatingAirFlowRate(double maximumHeatingAirFlowRate) {
1209
2/2
✓ Branch 3 taken 3 times.
✓ Branch 6 taken 3 times.
3 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->setMaximumHeatingAirFlowRate(maximumHeatingAirFlowRate);
1210 }
1211
1212 1 void ZoneHVACIdealLoadsAirSystem::resetMaximumHeatingAirFlowRate() {
1213
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->resetMaximumHeatingAirFlowRate();
1214 1 }
1215
1216 ✗ void ZoneHVACIdealLoadsAirSystem::autosizeMaximumHeatingAirFlowRate() {
1217 ✗ getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->autosizeMaximumHeatingAirFlowRate();
1218 ✗ }
1219
1220 3 bool ZoneHVACIdealLoadsAirSystem::setMaximumSensibleHeatingCapacity(double maximumSensibleHeatingCapacity) {
1221
2/2
✓ Branch 3 taken 3 times.
✓ Branch 6 taken 3 times.
3 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->setMaximumSensibleHeatingCapacity(maximumSensibleHeatingCapacity);
1222 }
1223
1224 1 void ZoneHVACIdealLoadsAirSystem::resetMaximumSensibleHeatingCapacity() {
1225
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->resetMaximumSensibleHeatingCapacity();
1226 1 }
1227
1228 ✗ void ZoneHVACIdealLoadsAirSystem::autosizeMaximumSensibleHeatingCapacity() {
1229 ✗ getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->autosizeMaximumSensibleHeatingCapacity();
1230 ✗ }
1231
1232 4 bool ZoneHVACIdealLoadsAirSystem::setCoolingLimit(const std::string& coolingLimit) {
1233
1/1
✓ Branch 3 taken 4 times.
4 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->setCoolingLimit(coolingLimit);
1234 }
1235
1236 ✗ void ZoneHVACIdealLoadsAirSystem::resetCoolingLimit() {
1237 ✗ getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->resetCoolingLimit();
1238 ✗ }
1239
1240 3 bool ZoneHVACIdealLoadsAirSystem::setMaximumCoolingAirFlowRate(double maximumCoolingAirFlowRate) {
1241
2/2
✓ Branch 3 taken 3 times.
✓ Branch 6 taken 3 times.
3 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->setMaximumCoolingAirFlowRate(maximumCoolingAirFlowRate);
1242 }
1243
1244 1 void ZoneHVACIdealLoadsAirSystem::resetMaximumCoolingAirFlowRate() {
1245
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->resetMaximumCoolingAirFlowRate();
1246 1 }
1247
1248 ✗ void ZoneHVACIdealLoadsAirSystem::autosizeMaximumCoolingAirFlowRate() {
1249 ✗ getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->autosizeMaximumCoolingAirFlowRate();
1250 ✗ }
1251
1252 3 bool ZoneHVACIdealLoadsAirSystem::setMaximumTotalCoolingCapacity(double maximumTotalCoolingCapacity) {
1253
2/2
✓ Branch 3 taken 3 times.
✓ Branch 6 taken 3 times.
3 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->setMaximumTotalCoolingCapacity(maximumTotalCoolingCapacity);
1254 }
1255
1256 1 void ZoneHVACIdealLoadsAirSystem::resetMaximumTotalCoolingCapacity() {
1257
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->resetMaximumTotalCoolingCapacity();
1258 1 }
1259
1260 ✗ void ZoneHVACIdealLoadsAirSystem::autosizeMaximumTotalCoolingCapacity() {
1261 ✗ getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->autosizeMaximumTotalCoolingCapacity();
1262 ✗ }
1263
1264 3 bool ZoneHVACIdealLoadsAirSystem::setHeatingAvailabilitySchedule(Schedule& heatingAvailabilitySchedule) {
1265
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->setHeatingAvailabilitySchedule(heatingAvailabilitySchedule);
1266 }
1267
1268 ✗ void ZoneHVACIdealLoadsAirSystem::resetHeatingAvailabilitySchedule() {
1269 ✗ getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->resetHeatingAvailabilitySchedule();
1270 ✗ }
1271
1272 3 bool ZoneHVACIdealLoadsAirSystem::setCoolingAvailabilitySchedule(Schedule& coolingAvailabilitySchedule) {
1273
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->setCoolingAvailabilitySchedule(coolingAvailabilitySchedule);
1274 }
1275
1276 ✗ void ZoneHVACIdealLoadsAirSystem::resetCoolingAvailabilitySchedule() {
1277 ✗ getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->resetCoolingAvailabilitySchedule();
1278 ✗ }
1279
1280 4 bool ZoneHVACIdealLoadsAirSystem::setDehumidificationControlType(const std::string& dehumidificationControlType) {
1281
1/1
✓ Branch 3 taken 4 times.
4 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->setDehumidificationControlType(dehumidificationControlType);
1282 }
1283
1284 ✗ void ZoneHVACIdealLoadsAirSystem::resetDehumidificationControlType() {
1285 ✗ getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->resetDehumidificationControlType();
1286 ✗ }
1287
1288 3 bool ZoneHVACIdealLoadsAirSystem::setCoolingSensibleHeatRatio(double coolingSensibleHeatRatio) {
1289
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->setCoolingSensibleHeatRatio(coolingSensibleHeatRatio);
1290 }
1291
1292 1 void ZoneHVACIdealLoadsAirSystem::resetCoolingSensibleHeatRatio() {
1293
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->resetCoolingSensibleHeatRatio();
1294 1 }
1295
1296 4 bool ZoneHVACIdealLoadsAirSystem::setHumidificationControlType(const std::string& humidificationControlType) {
1297
1/1
✓ Branch 3 taken 4 times.
4 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->setHumidificationControlType(humidificationControlType);
1298 }
1299
1300 ✗ void ZoneHVACIdealLoadsAirSystem::resetHumidificationControlType() {
1301 ✗ getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->resetHumidificationControlType();
1302 ✗ }
1303
1304 2 bool ZoneHVACIdealLoadsAirSystem::setDesignSpecificationOutdoorAirObject(const DesignSpecificationOutdoorAir& designSpecificationOutdoorAirObject) {
1305
2/2
✓ Branch 3 taken 2 times.
✓ Branch 6 taken 2 times.
2 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->setDesignSpecificationOutdoorAirObject(designSpecificationOutdoorAirObject);
1306 }
1307
1308 ✗ void ZoneHVACIdealLoadsAirSystem::resetDesignSpecificationOutdoorAirObject() {
1309 ✗ getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->resetDesignSpecificationOutdoorAirObject();
1310 ✗ }
1311
1312 4 bool ZoneHVACIdealLoadsAirSystem::setDemandControlledVentilationType(const std::string& demandControlledVentilationType) {
1313
1/1
✓ Branch 3 taken 4 times.
4 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->setDemandControlledVentilationType(demandControlledVentilationType);
1314 }
1315
1316 ✗ void ZoneHVACIdealLoadsAirSystem::resetDemandControlledVentilationType() {
1317 ✗ getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->resetDemandControlledVentilationType();
1318 ✗ }
1319
1320 4 bool ZoneHVACIdealLoadsAirSystem::setOutdoorAirEconomizerType(const std::string& outdoorAirEconomizerType) {
1321
1/1
✓ Branch 3 taken 4 times.
4 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->setOutdoorAirEconomizerType(outdoorAirEconomizerType);
1322 }
1323
1324 ✗ void ZoneHVACIdealLoadsAirSystem::resetOutdoorAirEconomizerType() {
1325 ✗ getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->resetOutdoorAirEconomizerType();
1326 ✗ }
1327
1328 4 bool ZoneHVACIdealLoadsAirSystem::setHeatRecoveryType(const std::string& heatRecoveryType) {
1329
1/1
✓ Branch 3 taken 4 times.
4 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->setHeatRecoveryType(heatRecoveryType);
1330 }
1331
1332 ✗ void ZoneHVACIdealLoadsAirSystem::resetHeatRecoveryType() {
1333 ✗ getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->resetHeatRecoveryType();
1334 ✗ }
1335
1336 3 bool ZoneHVACIdealLoadsAirSystem::setSensibleHeatRecoveryEffectiveness(double sensibleHeatRecoveryEffectiveness) {
1337
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->setSensibleHeatRecoveryEffectiveness(sensibleHeatRecoveryEffectiveness);
1338 }
1339
1340 1 void ZoneHVACIdealLoadsAirSystem::resetSensibleHeatRecoveryEffectiveness() {
1341
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->resetSensibleHeatRecoveryEffectiveness();
1342 1 }
1343
1344 3 bool ZoneHVACIdealLoadsAirSystem::setLatentHeatRecoveryEffectiveness(double latentHeatRecoveryEffectiveness) {
1345
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->setLatentHeatRecoveryEffectiveness(latentHeatRecoveryEffectiveness);
1346 }
1347
1348 1 void ZoneHVACIdealLoadsAirSystem::resetLatentHeatRecoveryEffectiveness() {
1349
1/1
✓ Branch 3 taken 1 time.
1 getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->resetLatentHeatRecoveryEffectiveness();
1350 1 }
1351
1352 3 bool ZoneHVACIdealLoadsAirSystem::setHeatingFuelEfficiencySchedule(Schedule& heatingFuelEfficiencySchedule) {
1353
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->setHeatingFuelEfficiencySchedule(heatingFuelEfficiencySchedule);
1354 }
1355
1356 ✗ void ZoneHVACIdealLoadsAirSystem::resetHeatingFuelEfficiencySchedule() {
1357 ✗ getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->resetHeatingFuelEfficiencySchedule();
1358 ✗ }
1359
1360 8 bool ZoneHVACIdealLoadsAirSystem::setHeatingFuelType(const std::string& heatingFuelType) {
1361
1/1
✓ Branch 3 taken 8 times.
8 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->setHeatingFuelType(heatingFuelType);
1362 }
1363
1364 3 bool ZoneHVACIdealLoadsAirSystem::setCoolingFuelEfficiencySchedule(Schedule& coolingFuelEfficiencySchedule) {
1365
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->setCoolingFuelEfficiencySchedule(coolingFuelEfficiencySchedule);
1366 }
1367
1368 ✗ void ZoneHVACIdealLoadsAirSystem::resetCoolingFuelEfficiencySchedule() {
1369 ✗ getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->resetCoolingFuelEfficiencySchedule();
1370 ✗ }
1371
1372 8 bool ZoneHVACIdealLoadsAirSystem::setCoolingFuelType(const std::string& coolingFuelType) {
1373
1/1
✓ Branch 3 taken 8 times.
8 return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->setCoolingFuelType(coolingFuelType);
1374 }
1375
1376 /// @cond
1377 4 ZoneHVACIdealLoadsAirSystem::ZoneHVACIdealLoadsAirSystem(std::shared_ptr<detail::ZoneHVACIdealLoadsAirSystem_Impl> impl)
1378
1/1
✓ Branch 3 taken 4 times.
4 : ZoneHVACComponent(std::move(impl)) {}
1379 /// @endcond
1380
1381 ✗ boost::optional<double> ZoneHVACIdealLoadsAirSystem::autosizedMaximumHeatingAirFlowRate() const {
1382 ✗ return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->autosizedMaximumHeatingAirFlowRate();
1383 }
1384
1385 ✗ boost::optional<double> ZoneHVACIdealLoadsAirSystem::autosizedMaximumSensibleHeatingCapacity() const {
1386 ✗ return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->autosizedMaximumSensibleHeatingCapacity();
1387 }
1388
1389 ✗ boost::optional<double> ZoneHVACIdealLoadsAirSystem::autosizedMaximumCoolingAirFlowRate() const {
1390 ✗ return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->autosizedMaximumCoolingAirFlowRate();
1391 }
1392
1393 ✗ boost::optional<double> ZoneHVACIdealLoadsAirSystem::autosizedMaximumTotalCoolingCapacity() const {
1394 ✗ return getImpl<detail::ZoneHVACIdealLoadsAirSystem_Impl>()->autosizedMaximumTotalCoolingCapacity();
1395 }
1396
1397 } // namespace model
1398 } // namespace openstudio
1399