src/model/AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass.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 "AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass.hpp" | ||
| 7 | #include "AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl.hpp" | ||
| 8 | #include "Model.hpp" | ||
| 9 | #include "Model_Impl.hpp" | ||
| 10 | #include "Mixer.hpp" | ||
| 11 | #include "Mixer_Impl.hpp" | ||
| 12 | #include "Schedule.hpp" | ||
| 13 | #include "Schedule_Impl.hpp" | ||
| 14 | #include "Node.hpp" | ||
| 15 | #include "Node_Impl.hpp" | ||
| 16 | #include "ScheduleTypeLimits.hpp" | ||
| 17 | #include "ScheduleTypeRegistry.hpp" | ||
| 18 | #include "../utilities/core/Assert.hpp" | ||
| 19 | #include "../utilities/data/DataEnums.hpp" | ||
| 20 | |||
| 21 | #include <utilities/idd/IddFactory.hxx> | ||
| 22 | #include <utilities/idd/OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypass_FieldEnums.hxx> | ||
| 23 | #include <utilities/idd/IddEnums.hxx> | ||
| 24 | |||
| 25 | namespace openstudio { | ||
| 26 | namespace model { | ||
| 27 | |||
| 28 | namespace detail { | ||
| 29 | |||
| 30 | 19 | AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl(const IdfObject& idfObject, | |
| 31 | 19 | Model_Impl* model, bool keepHandle) | |
| 32 | 19 | : StraightComponent_Impl(idfObject, model, keepHandle) { | |
| 33 |
4/6✓ Branch 1 taken 19 times.
✓ Branch 4 taken 19 times.
✓ Branch 7 taken 19 times.
✗ Branch 10 not taken.
✓ Branch 11 taken 19 times.
✗ Branch 13 not taken.
|
19 | OS_ASSERT(idfObject.iddObject().type() == AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::iddObjectType()); |
| 34 | 19 | } | |
| 35 | |||
| 36 | ✗ | AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl( | |
| 37 | ✗ | const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle) | |
| 38 | ✗ | : StraightComponent_Impl(other, model, keepHandle) { | |
| 39 | ✗ | OS_ASSERT(other.iddObject().type() == AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::iddObjectType()); | |
| 40 | ✗ | } | |
| 41 | |||
| 42 | 15 | AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl( | |
| 43 | 15 | const AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl& other, Model_Impl* model, bool keepHandle) | |
| 44 | 15 | : StraightComponent_Impl(other, model, keepHandle) {} | |
| 45 | |||
| 46 | ✗ | const std::vector<std::string>& AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::outputVariableNames() const { | |
| 47 | ✗ | static const std::vector<std::string> result; | |
| 48 | ✗ | return result; | |
| 49 | } | ||
| 50 | |||
| 51 | 21 | IddObjectType AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::iddObjectType() const { | |
| 52 | 21 | return AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::iddObjectType(); | |
| 53 | } | ||
| 54 | |||
| 55 | ✗ | std::vector<ScheduleTypeKey> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::getScheduleTypeKeys(const Schedule& schedule) const { | |
| 56 | ✗ | std::vector<ScheduleTypeKey> result; | |
| 57 | ✗ | UnsignedVector fieldIndices = getSourceIndices(schedule.handle()); | |
| 58 | ✗ | UnsignedVector::const_iterator b(fieldIndices.begin()); | |
| 59 | ✗ | UnsignedVector::const_iterator e(fieldIndices.end()); | |
| 60 | ✗ | if (std::find(b, e, OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::AvailabilitySchedule) != e) { | |
| 61 | ✗ | result.push_back(ScheduleTypeKey("AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass", "Availability Schedule")); | |
| 62 | } | ||
| 63 | ✗ | if (std::find(b, e, OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::OutdoorAirFlowRateMultiplierSchedule) != e) { | |
| 64 | ✗ | result.push_back(ScheduleTypeKey("AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass", "Outdoor Air Flow Rate Multiplier Schedule")); | |
| 65 | } | ||
| 66 | ✗ | if (std::find(b, e, OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::SupplyAirFanOperatingModeSchedule) != e) { | |
| 67 | ✗ | result.push_back(ScheduleTypeKey("AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass", "Supply Air Fan Operating Mode Schedule")); | |
| 68 | } | ||
| 69 | ✗ | return result; | |
| 70 | ✗ | } | |
| 71 | |||
| 72 | 13 | boost::optional<Schedule> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::availabilitySchedule() const { | |
| 73 |
2/2✓ Branch 1 taken 13 times.
✓ Branch 4 taken 13 times.
|
13 | return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::AvailabilitySchedule); |
| 74 | } | ||
| 75 | |||
| 76 | ✗ | boost::optional<double> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::systemAirFlowRateDuringCoolingOperation() const { | |
| 77 | ✗ | return getDouble(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::SystemAirFlowRateDuringCoolingOperation, true); | |
| 78 | } | ||
| 79 | |||
| 80 | 13 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::isSystemAirFlowRateDuringCoolingOperationAutosized() const { | |
| 81 | 13 | bool result = false; | |
| 82 | boost::optional<std::string> value = | ||
| 83 |
1/1✓ Branch 1 taken 13 times.
|
13 | getString(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::SystemAirFlowRateDuringCoolingOperation, true); |
| 84 |
1/2✓ Branch 0 taken 13 times.
✗ Branch 1 not taken.
|
13 | if (value) { |
| 85 |
3/3✓ Branch 1 taken 13 times.
✓ Branch 4 taken 13 times.
✓ Branch 7 taken 13 times.
|
26 | result = openstudio::istringEqual(value.get(), "autosize"); |
| 86 | } | ||
| 87 | 13 | return result; | |
| 88 | 13 | } | |
| 89 | |||
| 90 | ✗ | boost::optional<double> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::systemAirFlowRateDuringHeatingOperation() const { | |
| 91 | ✗ | return getDouble(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::SystemAirFlowRateDuringHeatingOperation, true); | |
| 92 | } | ||
| 93 | |||
| 94 | 13 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::isSystemAirFlowRateDuringHeatingOperationAutosized() const { | |
| 95 | 13 | bool result = false; | |
| 96 | boost::optional<std::string> value = | ||
| 97 |
1/1✓ Branch 1 taken 13 times.
|
13 | getString(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::SystemAirFlowRateDuringHeatingOperation, true); |
| 98 |
1/2✓ Branch 0 taken 13 times.
✗ Branch 1 not taken.
|
13 | if (value) { |
| 99 |
3/3✓ Branch 1 taken 13 times.
✓ Branch 4 taken 13 times.
✓ Branch 7 taken 13 times.
|
26 | result = openstudio::istringEqual(value.get(), "autosize"); |
| 100 | } | ||
| 101 | 13 | return result; | |
| 102 | 13 | } | |
| 103 | |||
| 104 | ✗ | boost::optional<double> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::systemAirFlowRateWhenNoCoolingorHeatingisNeeded() const { | |
| 105 | ✗ | return getDouble(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::SystemAirFlowRateWhenNoCoolingorHeatingisNeeded, true); | |
| 106 | } | ||
| 107 | |||
| 108 | 13 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::isSystemAirFlowRateWhenNoCoolingorHeatingisNeededAutosized() const { | |
| 109 | 13 | bool result = false; | |
| 110 | boost::optional<std::string> value = | ||
| 111 |
1/1✓ Branch 1 taken 13 times.
|
13 | getString(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::SystemAirFlowRateWhenNoCoolingorHeatingisNeeded, true); |
| 112 |
1/2✓ Branch 0 taken 13 times.
✗ Branch 1 not taken.
|
13 | if (value) { |
| 113 |
3/3✓ Branch 1 taken 13 times.
✓ Branch 4 taken 13 times.
✓ Branch 7 taken 13 times.
|
26 | result = openstudio::istringEqual(value.get(), "autosize"); |
| 114 | } | ||
| 115 | 13 | return result; | |
| 116 | 13 | } | |
| 117 | |||
| 118 | ✗ | boost::optional<double> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::outdoorAirFlowRateDuringCoolingOperation() const { | |
| 119 | ✗ | return getDouble(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::OutdoorAirFlowRateDuringCoolingOperation, true); | |
| 120 | } | ||
| 121 | |||
| 122 | 13 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::isOutdoorAirFlowRateDuringCoolingOperationAutosized() const { | |
| 123 | 13 | bool result = false; | |
| 124 | boost::optional<std::string> value = | ||
| 125 |
1/1✓ Branch 1 taken 13 times.
|
13 | getString(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::OutdoorAirFlowRateDuringCoolingOperation, true); |
| 126 |
1/2✓ Branch 0 taken 13 times.
✗ Branch 1 not taken.
|
13 | if (value) { |
| 127 |
3/3✓ Branch 1 taken 13 times.
✓ Branch 4 taken 13 times.
✓ Branch 7 taken 13 times.
|
26 | result = openstudio::istringEqual(value.get(), "autosize"); |
| 128 | } | ||
| 129 | 13 | return result; | |
| 130 | 13 | } | |
| 131 | |||
| 132 | ✗ | boost::optional<double> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::outdoorAirFlowRateDuringHeatingOperation() const { | |
| 133 | ✗ | return getDouble(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::OutdoorAirFlowRateDuringHeatingOperation, true); | |
| 134 | } | ||
| 135 | |||
| 136 | 13 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::isOutdoorAirFlowRateDuringHeatingOperationAutosized() const { | |
| 137 | 13 | bool result = false; | |
| 138 | boost::optional<std::string> value = | ||
| 139 |
1/1✓ Branch 1 taken 13 times.
|
13 | getString(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::OutdoorAirFlowRateDuringHeatingOperation, true); |
| 140 |
1/2✓ Branch 0 taken 13 times.
✗ Branch 1 not taken.
|
13 | if (value) { |
| 141 |
3/3✓ Branch 1 taken 13 times.
✓ Branch 4 taken 13 times.
✓ Branch 7 taken 13 times.
|
26 | result = openstudio::istringEqual(value.get(), "autosize"); |
| 142 | } | ||
| 143 | 13 | return result; | |
| 144 | 13 | } | |
| 145 | |||
| 146 | ✗ | boost::optional<double> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::outdoorAirFlowRateWhenNoCoolingorHeatingisNeeded() const { | |
| 147 | ✗ | return getDouble(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::OutdoorAirFlowRateWhenNoCoolingorHeatingisNeeded, true); | |
| 148 | } | ||
| 149 | |||
| 150 | 13 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::isOutdoorAirFlowRateWhenNoCoolingorHeatingisNeededAutosized() const { | |
| 151 | 13 | bool result = false; | |
| 152 | boost::optional<std::string> value = | ||
| 153 |
1/1✓ Branch 1 taken 13 times.
|
13 | getString(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::OutdoorAirFlowRateWhenNoCoolingorHeatingisNeeded, true); |
| 154 |
1/2✓ Branch 0 taken 13 times.
✗ Branch 1 not taken.
|
13 | if (value) { |
| 155 |
3/3✓ Branch 1 taken 13 times.
✓ Branch 4 taken 13 times.
✓ Branch 7 taken 13 times.
|
26 | result = openstudio::istringEqual(value.get(), "autosize"); |
| 156 | } | ||
| 157 | 13 | return result; | |
| 158 | 13 | } | |
| 159 | |||
| 160 | 13 | boost::optional<Schedule> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::outdoorAirFlowRateMultiplierSchedule() const { | |
| 161 |
1/1✓ Branch 1 taken 13 times.
|
26 | return getObject<ModelObject>().getModelObjectTarget<Schedule>( |
| 162 |
1/1✓ Branch 1 taken 13 times.
|
26 | OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::OutdoorAirFlowRateMultiplierSchedule); |
| 163 | } | ||
| 164 | |||
| 165 | 36 | HVACComponent AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::supplyAirFan() const { | |
| 166 |
1/1✓ Branch 1 taken 36 times.
|
36 | boost::optional<HVACComponent> value = optionalSupplyAirFan(); |
| 167 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 36 times.
|
36 | if (!value) { |
| 168 | ✗ | LOG_AND_THROW(briefDescription() << " does not have an Supply Air Fan attached."); | |
| 169 | } | ||
| 170 |
2/2✓ Branch 1 taken 36 times.
✓ Branch 4 taken 36 times.
|
72 | return value.get(); |
| 171 | 36 | } | |
| 172 | |||
| 173 | 13 | std::string AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::supplyAirFanPlacement() const { | |
| 174 |
1/1✓ Branch 1 taken 13 times.
|
13 | boost::optional<std::string> value = getString(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::SupplyAirFanPlacement, true); |
| 175 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 13 times.
✗ Branch 4 not taken.
|
13 | OS_ASSERT(value); |
| 176 |
2/2✓ Branch 1 taken 13 times.
✓ Branch 4 taken 13 times.
|
26 | return value.get(); |
| 177 | 13 | } | |
| 178 | |||
| 179 | 13 | boost::optional<Schedule> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::supplyAirFanOperatingModeSchedule() const { | |
| 180 |
1/1✓ Branch 1 taken 13 times.
|
26 | return getObject<ModelObject>().getModelObjectTarget<Schedule>( |
| 181 |
1/1✓ Branch 1 taken 13 times.
|
26 | OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::SupplyAirFanOperatingModeSchedule); |
| 182 | } | ||
| 183 | |||
| 184 | 38 | HVACComponent AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::coolingCoil() const { | |
| 185 |
1/1✓ Branch 1 taken 38 times.
|
38 | boost::optional<HVACComponent> value = optionalCoolingCoil(); |
| 186 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 38 times.
|
38 | if (!value) { |
| 187 | ✗ | LOG_AND_THROW(briefDescription() << " does not have an Cooling Coil attached."); | |
| 188 | } | ||
| 189 |
2/2✓ Branch 1 taken 38 times.
✓ Branch 4 taken 38 times.
|
76 | return value.get(); |
| 190 | 38 | } | |
| 191 | |||
| 192 | 35 | HVACComponent AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::heatingCoil() const { | |
| 193 |
1/1✓ Branch 1 taken 35 times.
|
35 | boost::optional<HVACComponent> value = optionalHeatingCoil(); |
| 194 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 35 times.
|
35 | if (!value) { |
| 195 | ✗ | LOG_AND_THROW(briefDescription() << " does not have an Heating Coil attached."); | |
| 196 | } | ||
| 197 |
2/2✓ Branch 1 taken 35 times.
✓ Branch 4 taken 35 times.
|
70 | return value.get(); |
| 198 | 35 | } | |
| 199 | |||
| 200 | 13 | std::string AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::priorityControlMode() const { | |
| 201 |
1/1✓ Branch 1 taken 13 times.
|
13 | boost::optional<std::string> value = getString(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::PriorityControlMode, true); |
| 202 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 13 times.
✗ Branch 4 not taken.
|
13 | OS_ASSERT(value); |
| 203 |
2/2✓ Branch 1 taken 13 times.
✓ Branch 4 taken 13 times.
|
26 | return value.get(); |
| 204 | 13 | } | |
| 205 | |||
| 206 | 13 | double AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::minimumOutletAirTemperatureDuringCoolingOperation() const { | |
| 207 | boost::optional<double> value = | ||
| 208 |
1/1✓ Branch 1 taken 13 times.
|
13 | getDouble(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::MinimumOutletAirTemperatureDuringCoolingOperation, true); |
| 209 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 13 times.
✗ Branch 4 not taken.
|
13 | OS_ASSERT(value); |
| 210 |
1/1✓ Branch 1 taken 13 times.
|
26 | return value.get(); |
| 211 | } | ||
| 212 | |||
| 213 | 13 | double AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::maximumOutletAirTemperatureDuringHeatingOperation() const { | |
| 214 | boost::optional<double> value = | ||
| 215 |
1/1✓ Branch 1 taken 13 times.
|
13 | getDouble(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::MaximumOutletAirTemperatureDuringHeatingOperation, true); |
| 216 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 13 times.
✗ Branch 4 not taken.
|
13 | OS_ASSERT(value); |
| 217 |
1/1✓ Branch 1 taken 13 times.
|
26 | return value.get(); |
| 218 | } | ||
| 219 | |||
| 220 | 13 | std::string AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::dehumidificationControlType() const { | |
| 221 |
1/1✓ Branch 1 taken 13 times.
|
13 | boost::optional<std::string> value = getString(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::DehumidificationControlType, true); |
| 222 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 13 times.
✗ Branch 4 not taken.
|
13 | OS_ASSERT(value); |
| 223 |
2/2✓ Branch 1 taken 13 times.
✓ Branch 4 taken 13 times.
|
26 | return value.get(); |
| 224 | 13 | } | |
| 225 | |||
| 226 | ✗ | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::setAvailabilitySchedule(Schedule& schedule) { | |
| 227 | ✗ | bool result = setSchedule(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::AvailabilitySchedule, | |
| 228 | "AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass", "Availability Schedule", schedule); | ||
| 229 | ✗ | return result; | |
| 230 | } | ||
| 231 | |||
| 232 | ✗ | void AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::resetAvailabilitySchedule() { | |
| 233 | ✗ | bool result = setString(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::AvailabilitySchedule, ""); | |
| 234 | ✗ | OS_ASSERT(result); | |
| 235 | ✗ | } | |
| 236 | |||
| 237 | ✗ | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::setSystemAirFlowRateDuringCoolingOperation( | |
| 238 | boost::optional<double> systemAirFlowRateDuringCoolingOperation) { | ||
| 239 | ✗ | bool result(false); | |
| 240 | ✗ | if (systemAirFlowRateDuringCoolingOperation) { | |
| 241 | ✗ | result = setDouble(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::SystemAirFlowRateDuringCoolingOperation, | |
| 242 | ✗ | systemAirFlowRateDuringCoolingOperation.get()); | |
| 243 | } | ||
| 244 | ✗ | return result; | |
| 245 | } | ||
| 246 | |||
| 247 | 19 | void AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::autosizeSystemAirFlowRateDuringCoolingOperation() { | |
| 248 |
2/2✓ Branch 1 taken 19 times.
✓ Branch 4 taken 19 times.
|
38 | bool result = setString(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::SystemAirFlowRateDuringCoolingOperation, "autosize"); |
| 249 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 19 times.
|
19 | OS_ASSERT(result); |
| 250 | 19 | } | |
| 251 | |||
| 252 | ✗ | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::setSystemAirFlowRateDuringHeatingOperation( | |
| 253 | boost::optional<double> systemAirFlowRateDuringHeatingOperation) { | ||
| 254 | ✗ | bool result(false); | |
| 255 | ✗ | if (systemAirFlowRateDuringHeatingOperation) { | |
| 256 | ✗ | result = setDouble(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::SystemAirFlowRateDuringHeatingOperation, | |
| 257 | ✗ | systemAirFlowRateDuringHeatingOperation.get()); | |
| 258 | } | ||
| 259 | ✗ | return result; | |
| 260 | } | ||
| 261 | |||
| 262 | 19 | void AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::autosizeSystemAirFlowRateDuringHeatingOperation() { | |
| 263 |
2/2✓ Branch 1 taken 19 times.
✓ Branch 4 taken 19 times.
|
38 | bool result = setString(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::SystemAirFlowRateDuringHeatingOperation, "autosize"); |
| 264 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 19 times.
|
19 | OS_ASSERT(result); |
| 265 | 19 | } | |
| 266 | |||
| 267 | ✗ | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::setSystemAirFlowRateWhenNoCoolingorHeatingisNeeded( | |
| 268 | boost::optional<double> systemAirFlowRateWhenNoCoolingorHeatingisNeeded) { | ||
| 269 | ✗ | bool result(false); | |
| 270 | ✗ | if (systemAirFlowRateWhenNoCoolingorHeatingisNeeded) { | |
| 271 | ✗ | result = setDouble(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::SystemAirFlowRateWhenNoCoolingorHeatingisNeeded, | |
| 272 | ✗ | systemAirFlowRateWhenNoCoolingorHeatingisNeeded.get()); | |
| 273 | } | ||
| 274 | ✗ | return result; | |
| 275 | } | ||
| 276 | |||
| 277 | 19 | void AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::autosizeSystemAirFlowRateWhenNoCoolingorHeatingisNeeded() { | |
| 278 |
2/2✓ Branch 1 taken 19 times.
✓ Branch 4 taken 19 times.
|
38 | bool result = setString(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::SystemAirFlowRateWhenNoCoolingorHeatingisNeeded, "autosize"); |
| 279 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 19 times.
|
19 | OS_ASSERT(result); |
| 280 | 19 | } | |
| 281 | |||
| 282 | ✗ | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::setOutdoorAirFlowRateDuringCoolingOperation( | |
| 283 | boost::optional<double> outdoorAirFlowRateDuringCoolingOperation) { | ||
| 284 | ✗ | bool result(false); | |
| 285 | ✗ | if (outdoorAirFlowRateDuringCoolingOperation) { | |
| 286 | ✗ | result = setDouble(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::OutdoorAirFlowRateDuringCoolingOperation, | |
| 287 | ✗ | outdoorAirFlowRateDuringCoolingOperation.get()); | |
| 288 | } | ||
| 289 | ✗ | return result; | |
| 290 | } | ||
| 291 | |||
| 292 | 19 | void AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::autosizeOutdoorAirFlowRateDuringCoolingOperation() { | |
| 293 |
2/2✓ Branch 1 taken 19 times.
✓ Branch 4 taken 19 times.
|
38 | bool result = setString(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::OutdoorAirFlowRateDuringCoolingOperation, "autosize"); |
| 294 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 19 times.
|
19 | OS_ASSERT(result); |
| 295 | 19 | } | |
| 296 | |||
| 297 | ✗ | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::setOutdoorAirFlowRateDuringHeatingOperation( | |
| 298 | boost::optional<double> outdoorAirFlowRateDuringHeatingOperation) { | ||
| 299 | ✗ | bool result(false); | |
| 300 | ✗ | if (outdoorAirFlowRateDuringHeatingOperation) { | |
| 301 | ✗ | result = setDouble(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::OutdoorAirFlowRateDuringHeatingOperation, | |
| 302 | ✗ | outdoorAirFlowRateDuringHeatingOperation.get()); | |
| 303 | } | ||
| 304 | ✗ | return result; | |
| 305 | } | ||
| 306 | |||
| 307 | 19 | void AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::autosizeOutdoorAirFlowRateDuringHeatingOperation() { | |
| 308 |
2/2✓ Branch 1 taken 19 times.
✓ Branch 4 taken 19 times.
|
38 | bool result = setString(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::OutdoorAirFlowRateDuringHeatingOperation, "autosize"); |
| 309 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 19 times.
|
19 | OS_ASSERT(result); |
| 310 | 19 | } | |
| 311 | |||
| 312 | ✗ | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::setOutdoorAirFlowRateWhenNoCoolingorHeatingisNeeded( | |
| 313 | boost::optional<double> outdoorAirFlowRateWhenNoCoolingorHeatingisNeeded) { | ||
| 314 | ✗ | bool result(false); | |
| 315 | ✗ | if (outdoorAirFlowRateWhenNoCoolingorHeatingisNeeded) { | |
| 316 | ✗ | result = setDouble(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::OutdoorAirFlowRateWhenNoCoolingorHeatingisNeeded, | |
| 317 | ✗ | outdoorAirFlowRateWhenNoCoolingorHeatingisNeeded.get()); | |
| 318 | } | ||
| 319 | ✗ | return result; | |
| 320 | } | ||
| 321 | |||
| 322 | 19 | void AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::autosizeOutdoorAirFlowRateWhenNoCoolingorHeatingisNeeded() { | |
| 323 |
2/2✓ Branch 1 taken 19 times.
✓ Branch 4 taken 19 times.
|
38 | bool result = setString(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::OutdoorAirFlowRateWhenNoCoolingorHeatingisNeeded, "autosize"); |
| 324 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 19 times.
|
19 | OS_ASSERT(result); |
| 325 | 19 | } | |
| 326 | |||
| 327 | ✗ | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::setOutdoorAirFlowRateMultiplierSchedule(Schedule& schedule) { | |
| 328 | ✗ | bool result = setSchedule(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::OutdoorAirFlowRateMultiplierSchedule, | |
| 329 | "AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass", "Outdoor Air Flow Rate Multiplier Schedule", schedule); | ||
| 330 | ✗ | return result; | |
| 331 | } | ||
| 332 | |||
| 333 | ✗ | void AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::resetOutdoorAirFlowRateMultiplierSchedule() { | |
| 334 | ✗ | bool result = setString(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::OutdoorAirFlowRateMultiplierSchedule, ""); | |
| 335 | ✗ | OS_ASSERT(result); | |
| 336 | ✗ | } | |
| 337 | |||
| 338 | 20 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::setSupplyAirFan(const HVACComponent& fansCVandOnOff) { | |
| 339 |
2/2✓ Branch 1 taken 20 times.
✓ Branch 4 taken 20 times.
|
20 | bool result = setPointer(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::SupplyAirFan, fansCVandOnOff.handle()); |
| 340 | 20 | return result; | |
| 341 | } | ||
| 342 | |||
| 343 | 29 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::setSupplyAirFanPlacement(const std::string& supplyAirFanPlacement) { | |
| 344 | 29 | bool result = setString(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::SupplyAirFanPlacement, supplyAirFanPlacement); | |
| 345 | 29 | return result; | |
| 346 | } | ||
| 347 | |||
| 348 | ✗ | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::setSupplyAirFanOperatingModeSchedule(Schedule& schedule) { | |
| 349 | ✗ | bool result = setSchedule(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::SupplyAirFanOperatingModeSchedule, | |
| 350 | "AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass", "Supply Air Fan Operating Mode Schedule", schedule); | ||
| 351 | ✗ | return result; | |
| 352 | } | ||
| 353 | |||
| 354 | ✗ | void AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::resetSupplyAirFanOperatingModeSchedule() { | |
| 355 | ✗ | bool result = setString(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::SupplyAirFanOperatingModeSchedule, ""); | |
| 356 | ✗ | OS_ASSERT(result); | |
| 357 | ✗ | } | |
| 358 | |||
| 359 | 21 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::setCoolingCoil(const HVACComponent& coolingCoilName) { | |
| 360 |
2/2✓ Branch 1 taken 21 times.
✓ Branch 4 taken 21 times.
|
21 | bool result = setPointer(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::CoolingCoil, coolingCoilName.handle()); |
| 361 | 21 | return result; | |
| 362 | } | ||
| 363 | |||
| 364 | 20 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::setHeatingCoil(const HVACComponent& heatingCoilName) { | |
| 365 |
2/2✓ Branch 1 taken 20 times.
✓ Branch 4 taken 20 times.
|
20 | bool result = setPointer(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::HeatingCoil, heatingCoilName.handle()); |
| 366 | 20 | return result; | |
| 367 | } | ||
| 368 | |||
| 369 | 19 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::setPriorityControlMode(const std::string& priorityControlMode) { | |
| 370 | 19 | bool result = setString(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::PriorityControlMode, priorityControlMode); | |
| 371 | 19 | return result; | |
| 372 | } | ||
| 373 | |||
| 374 | 19 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::setMinimumOutletAirTemperatureDuringCoolingOperation( | |
| 375 | double minimumOutletAirTemperatureDuringCoolingOperation) { | ||
| 376 | 19 | bool result = setDouble(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::MinimumOutletAirTemperatureDuringCoolingOperation, | |
| 377 | minimumOutletAirTemperatureDuringCoolingOperation); | ||
| 378 | 19 | return result; | |
| 379 | } | ||
| 380 | |||
| 381 | 19 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::setMaximumOutletAirTemperatureDuringHeatingOperation( | |
| 382 | double maximumOutletAirTemperatureDuringHeatingOperation) { | ||
| 383 | 19 | bool result = setDouble(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::MaximumOutletAirTemperatureDuringHeatingOperation, | |
| 384 | maximumOutletAirTemperatureDuringHeatingOperation); | ||
| 385 | 19 | return result; | |
| 386 | } | ||
| 387 | |||
| 388 | 19 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::setDehumidificationControlType(const std::string& dehumidificationControlType) { | |
| 389 | 19 | bool result = setString(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::DehumidificationControlType, dehumidificationControlType); | |
| 390 | 19 | return result; | |
| 391 | } | ||
| 392 | |||
| 393 | 36 | boost::optional<HVACComponent> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::optionalSupplyAirFan() const { | |
| 394 |
2/2✓ Branch 1 taken 36 times.
✓ Branch 4 taken 36 times.
|
36 | return getObject<ModelObject>().getModelObjectTarget<HVACComponent>(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::SupplyAirFan); |
| 395 | } | ||
| 396 | |||
| 397 | 38 | boost::optional<HVACComponent> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::optionalCoolingCoil() const { | |
| 398 |
2/2✓ Branch 1 taken 38 times.
✓ Branch 4 taken 38 times.
|
38 | return getObject<ModelObject>().getModelObjectTarget<HVACComponent>(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::CoolingCoil); |
| 399 | } | ||
| 400 | |||
| 401 | 35 | boost::optional<HVACComponent> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::optionalHeatingCoil() const { | |
| 402 |
2/2✓ Branch 1 taken 35 times.
✓ Branch 4 taken 35 times.
|
35 | return getObject<ModelObject>().getModelObjectTarget<HVACComponent>(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::HeatingCoil); |
| 403 | } | ||
| 404 | |||
| 405 | 43 | unsigned AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::inletPort() const { | |
| 406 | 43 | return OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::AirInletNode; | |
| 407 | } | ||
| 408 | |||
| 409 | 159 | unsigned AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::outletPort() const { | |
| 410 | 159 | return OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::AirOutletNode; | |
| 411 | } | ||
| 412 | |||
| 413 | 1 | ModelObject AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::clone(Model model) const { | |
| 414 |
3/3✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
|
1 | auto unitaryClone = StraightComponent_Impl::clone(model).cast<AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass>(); |
| 415 | |||
| 416 |
4/4✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
|
1 | auto supplyFanClone = this->supplyAirFan().clone(model).cast<HVACComponent>(); |
| 417 |
4/4✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
|
1 | auto heatingCoilClone = this->heatingCoil().clone(model).cast<HVACComponent>(); |
| 418 |
4/4✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
|
1 | auto coolingCoilClone = this->coolingCoil().clone(model).cast<HVACComponent>(); |
| 419 | |||
| 420 |
1/1✓ Branch 1 taken 1 time.
|
1 | unitaryClone.setSupplyAirFan(supplyFanClone); |
| 421 |
1/1✓ Branch 1 taken 1 time.
|
1 | unitaryClone.setHeatingCoil(heatingCoilClone); |
| 422 |
1/1✓ Branch 1 taken 1 time.
|
1 | unitaryClone.setCoolingCoil(coolingCoilClone); |
| 423 | |||
| 424 | // We need this because "connect" is first going to try to disconnect from anything | ||
| 425 | // currently attached. At this point unitaryClone is left pointing (through a connection) to the old air node, | ||
| 426 | // (because of ModelObject::clone behavior) so connecting to the new node will remove the connection joining | ||
| 427 | // the original unitary and the original node. | ||
| 428 |
3/3✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
|
1 | unitaryClone.setString(this->plenumorMixerAirPort(), ""); |
| 429 | // Create a node for the Plenum or Mixer Air | ||
| 430 |
1/1✓ Branch 1 taken 1 time.
|
1 | Node node(model); |
| 431 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
1 | model.connect(unitaryClone, this->plenumorMixerAirPort(), node, node.inletPort()); |
| 432 | |||
| 433 | 2 | return std::move(unitaryClone); | |
| 434 | 1 | } | |
| 435 | |||
| 436 | 2 | std::vector<IdfObject> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::remove() { | |
| 437 | 2 | std::vector<IdfObject> result; | |
| 438 | |||
| 439 |
3/4✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 8 taken 2 times.
✗ Branch 9 not taken.
|
4 | if (boost::optional<HVACComponent> _supplyFan = this->supplyAirFan()) { |
| 440 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
|
2 | std::vector<IdfObject> removedFans = _supplyFan->remove(); |
| 441 |
1/1✓ Branch 5 taken 2 times.
|
2 | result.insert(result.end(), removedFans.begin(), removedFans.end()); |
| 442 | 4 | } | |
| 443 | |||
| 444 |
3/4✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 8 taken 2 times.
✗ Branch 9 not taken.
|
4 | if (boost::optional<HVACComponent> _coolingCoil = this->coolingCoil()) { |
| 445 |
3/4✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✗ Branch 6 not taken.
✓ Branch 7 taken 2 times.
|
4 | if (boost::optional<PlantLoop> loop = _coolingCoil->plantLoop()) { |
| 446 | ✗ | loop->removeDemandBranchWithComponent(*_coolingCoil); | |
| 447 | 2 | } | |
| 448 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
|
2 | std::vector<IdfObject> removedCoolingCoils = _coolingCoil->remove(); |
| 449 |
1/1✓ Branch 5 taken 2 times.
|
2 | result.insert(result.end(), removedCoolingCoils.begin(), removedCoolingCoils.end()); |
| 450 | 4 | } | |
| 451 | |||
| 452 |
3/4✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 8 taken 2 times.
✗ Branch 9 not taken.
|
4 | if (boost::optional<HVACComponent> _heatingCoil = this->heatingCoil()) { |
| 453 |
3/4✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✗ Branch 6 not taken.
✓ Branch 7 taken 2 times.
|
4 | if (boost::optional<PlantLoop> loop = _heatingCoil->plantLoop()) { |
| 454 | ✗ | loop->removeDemandBranchWithComponent(*_heatingCoil); | |
| 455 | 2 | } | |
| 456 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
|
2 | std::vector<IdfObject> removedHeatingCoils = _heatingCoil->remove(); |
| 457 |
1/1✓ Branch 5 taken 2 times.
|
2 | result.insert(result.end(), removedHeatingCoils.begin(), removedHeatingCoils.end()); |
| 458 | 4 | } | |
| 459 | |||
| 460 | // Removes branch on Plenum corresponding to this object | ||
| 461 |
1/1✓ Branch 1 taken 2 times.
|
2 | resetPlenumorMixer(); |
| 462 | // delete the node | ||
| 463 |
1/1✓ Branch 1 taken 2 times.
|
2 | Node mixerNode = plenumorMixerNode(); |
| 464 |
1/1✓ Branch 1 taken 2 times.
|
2 | mixerNode.disconnect(); |
| 465 |
1/1✓ Branch 1 taken 2 times.
|
2 | std::vector<IdfObject> removedNode = mixerNode.remove(); |
| 466 |
1/1✓ Branch 5 taken 2 times.
|
2 | result.insert(result.end(), removedNode.begin(), removedNode.end()); |
| 467 | |||
| 468 |
1/1✓ Branch 1 taken 2 times.
|
2 | std::vector<IdfObject> removedUnitarySystem = StraightComponent_Impl::remove(); |
| 469 |
1/1✓ Branch 5 taken 2 times.
|
2 | result.insert(result.end(), removedUnitarySystem.begin(), removedUnitarySystem.end()); |
| 470 | |||
| 471 | 4 | return result; | |
| 472 | 2 | } | |
| 473 | |||
| 474 | 15 | std::vector<ModelObject> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::children() const { | |
| 475 | 15 | std::vector<ModelObject> result; | |
| 476 | |||
| 477 |
3/4✓ Branch 1 taken 15 times.
✓ Branch 4 taken 15 times.
✓ Branch 8 taken 15 times.
✗ Branch 9 not taken.
|
30 | if (boost::optional<HVACComponent> supplyFan = this->supplyAirFan()) { |
| 478 |
2/2✓ Branch 1 taken 15 times.
✓ Branch 4 taken 15 times.
|
15 | result.push_back(*supplyFan); |
| 479 | 15 | } | |
| 480 |
3/4✓ Branch 1 taken 15 times.
✓ Branch 4 taken 15 times.
✓ Branch 8 taken 15 times.
✗ Branch 9 not taken.
|
30 | if (boost::optional<HVACComponent> coolingCoil = this->coolingCoil()) { |
| 481 |
2/2✓ Branch 1 taken 15 times.
✓ Branch 4 taken 15 times.
|
15 | result.push_back(*coolingCoil); |
| 482 | 15 | } | |
| 483 |
3/4✓ Branch 1 taken 15 times.
✓ Branch 4 taken 15 times.
✓ Branch 8 taken 15 times.
✗ Branch 9 not taken.
|
30 | if (boost::optional<HVACComponent> heatingCoil = this->heatingCoil()) { |
| 484 |
2/2✓ Branch 1 taken 15 times.
✓ Branch 4 taken 15 times.
|
15 | result.push_back(*heatingCoil); |
| 485 | 15 | } | |
| 486 | |||
| 487 | 15 | return result; | |
| 488 | ✗ | } | |
| 489 | |||
| 490 | 16 | double AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::minimumRuntimeBeforeOperatingModeChange() const { | |
| 491 | boost::optional<double> value = | ||
| 492 |
1/1✓ Branch 1 taken 16 times.
|
16 | getDouble(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::MinimumRuntimeBeforeOperatingModeChange, true); |
| 493 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 16 times.
✗ Branch 4 not taken.
|
16 | OS_ASSERT(value); |
| 494 |
1/1✓ Branch 1 taken 16 times.
|
32 | return value.get(); |
| 495 | } | ||
| 496 | |||
| 497 | 22 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::setMinimumRuntimeBeforeOperatingModeChange(double runtime) { | |
| 498 | 22 | bool result = setDouble(OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::MinimumRuntimeBeforeOperatingModeChange, runtime); | |
| 499 | 22 | return result; | |
| 500 | } | ||
| 501 | |||
| 502 | 66 | unsigned AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::plenumorMixerAirPort() const { | |
| 503 | 66 | return OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::PlenumorMixerInletNodeName; | |
| 504 | } | ||
| 505 | |||
| 506 | 45 | Node AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::plenumorMixerNode() const { | |
| 507 |
4/4✓ Branch 1 taken 45 times.
✓ Branch 4 taken 45 times.
✓ Branch 7 taken 45 times.
✓ Branch 10 taken 45 times.
|
45 | return this->connectedObject(this->plenumorMixerAirPort())->cast<Node>(); |
| 508 | } | ||
| 509 | |||
| 510 | 31 | boost::optional<Mixer> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::plenumorMixer() const { | |
| 511 | 31 | boost::optional<Mixer> result; | |
| 512 | |||
| 513 |
4/4✓ Branch 1 taken 31 times.
✓ Branch 4 taken 31 times.
✓ Branch 8 taken 13 times.
✓ Branch 9 taken 18 times.
|
62 | if (boost::optional<ModelObject> _mo = plenumorMixerNode().outletModelObject()) { |
| 514 |
2/2✓ Branch 1 taken 13 times.
✓ Branch 4 taken 13 times.
|
13 | result = _mo->optionalCast<Mixer>(); |
| 515 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 13 times.
✗ Branch 4 not taken.
|
13 | OS_ASSERT(result); |
| 516 | 31 | } | |
| 517 | |||
| 518 | 31 | return result; | |
| 519 | ✗ | } | |
| 520 | |||
| 521 | 6 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::setPlenumorMixer(const Mixer& returnPathComponent) { | |
| 522 | |||
| 523 |
2/2✓ Branch 1 taken 6 times.
✓ Branch 4 taken 6 times.
|
6 | if ((returnPathComponent.iddObjectType() != IddObjectType::OS_AirLoopHVAC_ZoneMixer) |
| 524 |
6/8✓ Branch 0 taken 3 times.
✓ Branch 1 taken 3 times.
✓ Branch 3 taken 3 times.
✓ Branch 6 taken 3 times.
✗ Branch 9 not taken.
✓ Branch 10 taken 3 times.
✗ Branch 11 not taken.
✓ Branch 12 taken 6 times.
|
6 | && (returnPathComponent.iddObjectType() != IddObjectType::OS_AirLoopHVAC_ReturnPlenum)) { |
| 525 | ✗ | LOG(Error, briefDescription() << " can only be connected to an AirLoopHVACZoneMixer or an AirLoopHVACReturnPlenum."); | |
| 526 | ✗ | return false; | |
| 527 | } | ||
| 528 | |||
| 529 | 6 | bool result = false; | |
| 530 | |||
| 531 |
2/3✓ Branch 1 taken 6 times.
✓ Branch 3 taken 6 times.
✗ Branch 4 not taken.
|
12 | if (boost::optional<AirLoopHVAC> mixerLoop = returnPathComponent.airLoopHVAC()) { |
| 532 |
3/3✓ Branch 1 taken 6 times.
✓ Branch 3 taken 4 times.
✓ Branch 4 taken 2 times.
|
12 | if (boost::optional<AirLoopHVAC> thisLoop = this->airLoopHVAC()) { |
| 533 |
2/3✓ Branch 1 taken 4 times.
✓ Branch 3 taken 4 times.
✗ Branch 4 not taken.
|
4 | if (mixerLoop == thisLoop) { |
| 534 | 4 | result = true; | |
| 535 | } | ||
| 536 | 6 | } | |
| 537 | 6 | } | |
| 538 | |||
| 539 |
2/2✓ Branch 0 taken 4 times.
✓ Branch 1 taken 2 times.
|
6 | if (result) { |
| 540 | // Reset any existing plenum or mixer | ||
| 541 |
1/1✓ Branch 1 taken 4 times.
|
4 | resetPlenumorMixer(); |
| 542 |
1/1✓ Branch 1 taken 4 times.
|
4 | Node mixerNode = plenumorMixerNode(); |
| 543 |
6/6✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
✓ Branch 7 taken 4 times.
✓ Branch 10 taken 4 times.
✓ Branch 13 taken 4 times.
✓ Branch 16 taken 4 times.
|
4 | this->model().connect(mixerNode, mixerNode.outletPort(), returnPathComponent, returnPathComponent.nextInletPort()); |
| 544 | 4 | } else { | |
| 545 |
10/10✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
✓ Branch 10 taken 2 times.
✓ Branch 13 taken 2 times.
✓ Branch 16 taken 2 times.
✓ Branch 19 taken 2 times.
✓ Branch 24 taken 2 times.
✓ Branch 27 taken 2 times.
✓ Branch 30 taken 2 times.
|
2 | LOG(Warn, briefDescription() << " cannot be connected with a " << returnPathComponent.briefDescription() |
| 546 | << " unless they are both on the same AirLoopHVAC.") | ||
| 547 | } | ||
| 548 | |||
| 549 | 6 | return result; | |
| 550 | } | ||
| 551 | |||
| 552 | 6 | void AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::resetPlenumorMixer() { | |
| 553 |
1/1✓ Branch 1 taken 6 times.
|
6 | Node mixerNode = plenumorMixerNode(); |
| 554 |
3/3✓ Branch 1 taken 6 times.
✓ Branch 3 taken 3 times.
✓ Branch 4 taken 3 times.
|
12 | if (boost::optional<Mixer> existingMixer = plenumorMixer()) { |
| 555 |
4/4✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
✓ Branch 7 taken 3 times.
✓ Branch 10 taken 3 times.
|
3 | existingMixer->removePortForBranch(existingMixer->branchIndexForInletModelObject(mixerNode)); |
| 556 | 6 | } | |
| 557 |
4/4✓ Branch 1 taken 6 times.
✓ Branch 4 taken 6 times.
✓ Branch 7 taken 6 times.
✓ Branch 10 taken 6 times.
|
6 | this->model().disconnect(mixerNode, mixerNode.outletPort()); |
| 558 | 6 | } | |
| 559 | |||
| 560 | ✗ | boost::optional<double> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::autosizedSystemAirFlowRateDuringCoolingOperation() const { | |
| 561 | ✗ | return getAutosizedValue("maximum cooling air flow rate", "m3/s"); | |
| 562 | } | ||
| 563 | |||
| 564 | ✗ | boost::optional<double> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::autosizedSystemAirFlowRateDuringHeatingOperation() const { | |
| 565 | ✗ | return getAutosizedValue("maximum heating air flow rate", "m3/s"); | |
| 566 | } | ||
| 567 | |||
| 568 | ✗ | boost::optional<double> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::autosizedSystemAirFlowRateWhenNoCoolingorHeatingisNeeded() const { | |
| 569 | ✗ | return getAutosizedValue("maximum air flow rate when compressor/coil is off", "m3/s"); | |
| 570 | } | ||
| 571 | |||
| 572 | ✗ | boost::optional<double> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::autosizedOutdoorAirFlowRateDuringCoolingOperation() const { | |
| 573 | ✗ | return getAutosizedValue("maximum outside air flow rate in cooling", "m3/s"); | |
| 574 | } | ||
| 575 | |||
| 576 | ✗ | boost::optional<double> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::autosizedOutdoorAirFlowRateDuringHeatingOperation() const { | |
| 577 | ✗ | return getAutosizedValue("maximum outdoor air flow rate in heating", "m3/s"); | |
| 578 | } | ||
| 579 | |||
| 580 | ✗ | boost::optional<double> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::autosizedOutdoorAirFlowRateWhenNoCoolingorHeatingisNeeded() const { | |
| 581 | ✗ | return getAutosizedValue("maximum outdoor air flow rate when compressor is off", "m3/s"); | |
| 582 | } | ||
| 583 | |||
| 584 | ✗ | void AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::autosize() { | |
| 585 | ✗ | autosizeSystemAirFlowRateDuringCoolingOperation(); | |
| 586 | ✗ | autosizeSystemAirFlowRateDuringHeatingOperation(); | |
| 587 | ✗ | autosizeSystemAirFlowRateWhenNoCoolingorHeatingisNeeded(); | |
| 588 | ✗ | autosizeOutdoorAirFlowRateDuringCoolingOperation(); | |
| 589 | ✗ | autosizeOutdoorAirFlowRateDuringHeatingOperation(); | |
| 590 | ✗ | autosizeOutdoorAirFlowRateWhenNoCoolingorHeatingisNeeded(); | |
| 591 | ✗ | } | |
| 592 | |||
| 593 | ✗ | void AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::applySizingValues() { | |
| 594 | ✗ | boost::optional<double> val; | |
| 595 | ✗ | val = autosizedSystemAirFlowRateDuringCoolingOperation(); | |
| 596 | ✗ | if (val) { | |
| 597 | ✗ | setSystemAirFlowRateDuringCoolingOperation(val.get()); | |
| 598 | } | ||
| 599 | |||
| 600 | ✗ | val = autosizedSystemAirFlowRateDuringHeatingOperation(); | |
| 601 | ✗ | if (val) { | |
| 602 | ✗ | setSystemAirFlowRateDuringHeatingOperation(val.get()); | |
| 603 | } | ||
| 604 | |||
| 605 | ✗ | val = autosizedSystemAirFlowRateWhenNoCoolingorHeatingisNeeded(); | |
| 606 | ✗ | if (val) { | |
| 607 | ✗ | setSystemAirFlowRateWhenNoCoolingorHeatingisNeeded(val.get()); | |
| 608 | } | ||
| 609 | |||
| 610 | ✗ | val = autosizedOutdoorAirFlowRateDuringCoolingOperation(); | |
| 611 | ✗ | if (val) { | |
| 612 | ✗ | setOutdoorAirFlowRateDuringCoolingOperation(val.get()); | |
| 613 | } | ||
| 614 | |||
| 615 | ✗ | val = autosizedOutdoorAirFlowRateDuringHeatingOperation(); | |
| 616 | ✗ | if (val) { | |
| 617 | ✗ | setOutdoorAirFlowRateDuringHeatingOperation(val.get()); | |
| 618 | } | ||
| 619 | |||
| 620 | ✗ | val = autosizedOutdoorAirFlowRateWhenNoCoolingorHeatingisNeeded(); | |
| 621 | ✗ | if (val) { | |
| 622 | ✗ | setOutdoorAirFlowRateWhenNoCoolingorHeatingisNeeded(val.get()); | |
| 623 | } | ||
| 624 | ✗ | } | |
| 625 | |||
| 626 | ✗ | std::vector<EMSActuatorNames> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::emsActuatorNames() const { | |
| 627 | std::vector<EMSActuatorNames> actuators{ | ||
| 628 | {"AirLoopHVAC:UnitaryHeatCool", "Autosized Supply Air Flow Rate"}, | ||
| 629 | {"AirLoopHVAC:UnitaryHeatCool", "Autosized Supply Air Flow Rate During Cooling Operation"}, | ||
| 630 | {"AirLoopHVAC:UnitaryHeatCool", "Autosized Supply Air Flow Rate During Heating Operation"}, | ||
| 631 | {"AirLoopHVAC:UnitaryHeatCool", "Autosized Supply Air Flow Rate During No Heating or Cooling Operation"}, | ||
| 632 | {"Unitary HVAC", "Sensible Load Request"}, | ||
| 633 | ✗ | {"Unitary HVAC", "Moisture Load Request"}}; | |
| 634 | ✗ | return actuators; | |
| 635 | ✗ | } | |
| 636 | |||
| 637 | ✗ | std::vector<std::string> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::emsInternalVariableNames() const { | |
| 638 | ✗ | std::vector<std::string> types{"Unitary HVAC Design Heating Capacity", "Unitary HVAC Design Cooling Capacity"}; | |
| 639 | ✗ | return types; | |
| 640 | ✗ | } | |
| 641 | |||
| 642 | ✗ | ComponentType AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::componentType() const { | |
| 643 | ✗ | return ComponentType::Both; | |
| 644 | } | ||
| 645 | |||
| 646 | ✗ | std::vector<FuelType> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::coolingFuelTypes() const { | |
| 647 | ✗ | return coolingCoil().coolingFuelTypes(); | |
| 648 | } | ||
| 649 | |||
| 650 | ✗ | std::vector<FuelType> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::heatingFuelTypes() const { | |
| 651 | ✗ | return heatingCoil().heatingFuelTypes(); | |
| 652 | } | ||
| 653 | |||
| 654 | ✗ | std::vector<AppGFuelType> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl::appGHeatingFuelTypes() const { | |
| 655 | ✗ | return heatingCoil().appGHeatingFuelTypes(); | |
| 656 | } | ||
| 657 | |||
| 658 | } // namespace detail | ||
| 659 | |||
| 660 | 19 | AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass(const Model& model, const HVACComponent& fan, | |
| 661 | const HVACComponent& coolingCoil, | ||
| 662 | 19 | const HVACComponent& heatingCoil) | |
| 663 | 19 | : StraightComponent(AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::iddObjectType(), model) { | |
| 664 |
1/3✗ Branch 2 not taken.
✓ Branch 3 taken 19 times.
✗ Branch 5 not taken.
|
19 | OS_ASSERT(getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()); |
| 665 | |||
| 666 | bool ok; | ||
| 667 |
1/1✓ Branch 1 taken 19 times.
|
19 | ok = setCoolingCoil(coolingCoil); |
| 668 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 19 times.
|
19 | if (!ok) { |
| 669 | ✗ | LOG_AND_THROW("Unable to set cooling coil"); | |
| 670 | } | ||
| 671 |
1/1✓ Branch 1 taken 19 times.
|
19 | ok = setHeatingCoil(heatingCoil); |
| 672 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 19 times.
|
19 | if (!ok) { |
| 673 | ✗ | LOG_AND_THROW("Unable to set heating coil"); | |
| 674 | } | ||
| 675 |
1/1✓ Branch 1 taken 19 times.
|
19 | ok = setSupplyAirFan(fan); |
| 676 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 19 times.
|
19 | if (!ok) { |
| 677 | ✗ | LOG_AND_THROW("Unable to set fan"); | |
| 678 | } | ||
| 679 | |||
| 680 |
1/1✓ Branch 1 taken 19 times.
|
19 | autosizeSystemAirFlowRateDuringCoolingOperation(); |
| 681 |
1/1✓ Branch 1 taken 19 times.
|
19 | autosizeSystemAirFlowRateDuringHeatingOperation(); |
| 682 |
1/1✓ Branch 1 taken 19 times.
|
19 | autosizeSystemAirFlowRateWhenNoCoolingorHeatingisNeeded(); |
| 683 |
1/1✓ Branch 1 taken 19 times.
|
19 | autosizeOutdoorAirFlowRateDuringCoolingOperation(); |
| 684 |
1/1✓ Branch 1 taken 19 times.
|
19 | autosizeOutdoorAirFlowRateDuringHeatingOperation(); |
| 685 |
1/1✓ Branch 1 taken 19 times.
|
19 | autosizeOutdoorAirFlowRateWhenNoCoolingorHeatingisNeeded(); |
| 686 |
2/2✓ Branch 1 taken 19 times.
✓ Branch 4 taken 19 times.
|
38 | setSupplyAirFanPlacement("DrawThrough"); |
| 687 |
2/2✓ Branch 1 taken 19 times.
✓ Branch 4 taken 19 times.
|
19 | setPriorityControlMode("ZonePriority"); |
| 688 |
1/1✓ Branch 1 taken 19 times.
|
19 | setMinimumOutletAirTemperatureDuringCoolingOperation(8.0); |
| 689 |
1/1✓ Branch 1 taken 19 times.
|
19 | setMaximumOutletAirTemperatureDuringHeatingOperation(50.0); |
| 690 |
2/2✓ Branch 1 taken 19 times.
✓ Branch 4 taken 19 times.
|
19 | setDehumidificationControlType("None"); |
| 691 | // This field is a bit weird, in the sense that if it's not present in the IDF it's 0, if it's present and blank it's 0.25 | ||
| 692 | // In order to try to maintain historical behavior, default to 0 | ||
| 693 |
1/1✓ Branch 1 taken 19 times.
|
19 | setMinimumRuntimeBeforeOperatingModeChange(0.0); |
| 694 | |||
| 695 | // Create a node for the Plenum or Mixer Air | ||
| 696 |
1/1✓ Branch 1 taken 19 times.
|
19 | Node node(model); |
| 697 |
5/5✓ Branch 1 taken 19 times.
✓ Branch 4 taken 19 times.
✓ Branch 7 taken 19 times.
✓ Branch 10 taken 19 times.
✓ Branch 13 taken 19 times.
|
19 | model.connect(*this, this->plenumorMixerAirPort(), node, node.inletPort()); |
| 698 | 19 | } | |
| 699 | |||
| 700 | 8120 | IddObjectType AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::iddObjectType() { | |
| 701 |
1/1✓ Branch 1 taken 8120 times.
|
8120 | return {IddObjectType::OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypass}; |
| 702 | } | ||
| 703 | |||
| 704 | ✗ | std::vector<std::string> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::supplyAirFanPlacementValues() { | |
| 705 | ✗ | return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), | |
| 706 | ✗ | OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::SupplyAirFanPlacement); | |
| 707 | } | ||
| 708 | |||
| 709 | ✗ | std::vector<std::string> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::priorityControlModeValues() { | |
| 710 | ✗ | return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), | |
| 711 | ✗ | OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::PriorityControlMode); | |
| 712 | } | ||
| 713 | |||
| 714 | ✗ | std::vector<std::string> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::dehumidificationControlTypeValues() { | |
| 715 | ✗ | return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), | |
| 716 | ✗ | OS_AirLoopHVAC_UnitaryHeatCool_VAVChangeoverBypassFields::DehumidificationControlType); | |
| 717 | } | ||
| 718 | |||
| 719 | 13 | boost::optional<Schedule> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::availabilitySchedule() const { | |
| 720 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->availabilitySchedule(); |
| 721 | } | ||
| 722 | |||
| 723 | ✗ | boost::optional<double> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::systemAirFlowRateDuringCoolingOperation() const { | |
| 724 | ✗ | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->systemAirFlowRateDuringCoolingOperation(); | |
| 725 | } | ||
| 726 | |||
| 727 | 13 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::isSystemAirFlowRateDuringCoolingOperationAutosized() const { | |
| 728 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->isSystemAirFlowRateDuringCoolingOperationAutosized(); |
| 729 | } | ||
| 730 | |||
| 731 | ✗ | boost::optional<double> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::systemAirFlowRateDuringHeatingOperation() const { | |
| 732 | ✗ | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->systemAirFlowRateDuringHeatingOperation(); | |
| 733 | } | ||
| 734 | |||
| 735 | 13 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::isSystemAirFlowRateDuringHeatingOperationAutosized() const { | |
| 736 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->isSystemAirFlowRateDuringHeatingOperationAutosized(); |
| 737 | } | ||
| 738 | |||
| 739 | ✗ | boost::optional<double> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::systemAirFlowRateWhenNoCoolingorHeatingisNeeded() const { | |
| 740 | ✗ | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->systemAirFlowRateWhenNoCoolingorHeatingisNeeded(); | |
| 741 | } | ||
| 742 | |||
| 743 | 13 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::isSystemAirFlowRateWhenNoCoolingorHeatingisNeededAutosized() const { | |
| 744 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->isSystemAirFlowRateWhenNoCoolingorHeatingisNeededAutosized(); |
| 745 | } | ||
| 746 | |||
| 747 | ✗ | boost::optional<double> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::outdoorAirFlowRateDuringCoolingOperation() const { | |
| 748 | ✗ | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->outdoorAirFlowRateDuringCoolingOperation(); | |
| 749 | } | ||
| 750 | |||
| 751 | 13 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::isOutdoorAirFlowRateDuringCoolingOperationAutosized() const { | |
| 752 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->isOutdoorAirFlowRateDuringCoolingOperationAutosized(); |
| 753 | } | ||
| 754 | |||
| 755 | ✗ | boost::optional<double> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::outdoorAirFlowRateDuringHeatingOperation() const { | |
| 756 | ✗ | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->outdoorAirFlowRateDuringHeatingOperation(); | |
| 757 | } | ||
| 758 | |||
| 759 | 13 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::isOutdoorAirFlowRateDuringHeatingOperationAutosized() const { | |
| 760 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->isOutdoorAirFlowRateDuringHeatingOperationAutosized(); |
| 761 | } | ||
| 762 | |||
| 763 | ✗ | boost::optional<double> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::outdoorAirFlowRateWhenNoCoolingorHeatingisNeeded() const { | |
| 764 | ✗ | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->outdoorAirFlowRateWhenNoCoolingorHeatingisNeeded(); | |
| 765 | } | ||
| 766 | |||
| 767 | 13 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::isOutdoorAirFlowRateWhenNoCoolingorHeatingisNeededAutosized() const { | |
| 768 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->isOutdoorAirFlowRateWhenNoCoolingorHeatingisNeededAutosized(); |
| 769 | } | ||
| 770 | |||
| 771 | 13 | boost::optional<Schedule> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::outdoorAirFlowRateMultiplierSchedule() const { | |
| 772 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->outdoorAirFlowRateMultiplierSchedule(); |
| 773 | } | ||
| 774 | |||
| 775 | 18 | HVACComponent AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::supplyAirFan() const { | |
| 776 |
1/1✓ Branch 3 taken 18 times.
|
18 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->supplyAirFan(); |
| 777 | } | ||
| 778 | |||
| 779 | 13 | std::string AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::supplyAirFanPlacement() const { | |
| 780 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->supplyAirFanPlacement(); |
| 781 | } | ||
| 782 | |||
| 783 | 13 | boost::optional<Schedule> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::supplyAirFanOperatingModeSchedule() const { | |
| 784 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->supplyAirFanOperatingModeSchedule(); |
| 785 | } | ||
| 786 | |||
| 787 | 20 | HVACComponent AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::coolingCoil() const { | |
| 788 |
1/1✓ Branch 3 taken 20 times.
|
20 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->coolingCoil(); |
| 789 | } | ||
| 790 | |||
| 791 | 17 | HVACComponent AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::heatingCoil() const { | |
| 792 |
1/1✓ Branch 3 taken 17 times.
|
17 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->heatingCoil(); |
| 793 | } | ||
| 794 | |||
| 795 | 13 | std::string AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::priorityControlMode() const { | |
| 796 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->priorityControlMode(); |
| 797 | } | ||
| 798 | |||
| 799 | 13 | double AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::minimumOutletAirTemperatureDuringCoolingOperation() const { | |
| 800 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->minimumOutletAirTemperatureDuringCoolingOperation(); |
| 801 | } | ||
| 802 | |||
| 803 | 13 | double AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::maximumOutletAirTemperatureDuringHeatingOperation() const { | |
| 804 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->maximumOutletAirTemperatureDuringHeatingOperation(); |
| 805 | } | ||
| 806 | |||
| 807 | 13 | std::string AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::dehumidificationControlType() const { | |
| 808 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->dehumidificationControlType(); |
| 809 | } | ||
| 810 | |||
| 811 | ✗ | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::setAvailabilitySchedule(Schedule& schedule) { | |
| 812 | ✗ | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->setAvailabilitySchedule(schedule); | |
| 813 | } | ||
| 814 | |||
| 815 | ✗ | void AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::resetAvailabilitySchedule() { | |
| 816 | ✗ | getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->resetAvailabilitySchedule(); | |
| 817 | ✗ | } | |
| 818 | |||
| 819 | ✗ | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::setSystemAirFlowRateDuringCoolingOperation(double systemAirFlowRateDuringCoolingOperation) { | |
| 820 | ✗ | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->setSystemAirFlowRateDuringCoolingOperation( | |
| 821 | ✗ | systemAirFlowRateDuringCoolingOperation); | |
| 822 | } | ||
| 823 | |||
| 824 | 19 | void AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::autosizeSystemAirFlowRateDuringCoolingOperation() { | |
| 825 |
1/1✓ Branch 3 taken 19 times.
|
19 | getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->autosizeSystemAirFlowRateDuringCoolingOperation(); |
| 826 | 19 | } | |
| 827 | |||
| 828 | ✗ | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::setSystemAirFlowRateDuringHeatingOperation(double systemAirFlowRateDuringHeatingOperation) { | |
| 829 | ✗ | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->setSystemAirFlowRateDuringHeatingOperation( | |
| 830 | ✗ | systemAirFlowRateDuringHeatingOperation); | |
| 831 | } | ||
| 832 | |||
| 833 | 19 | void AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::autosizeSystemAirFlowRateDuringHeatingOperation() { | |
| 834 |
1/1✓ Branch 3 taken 19 times.
|
19 | getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->autosizeSystemAirFlowRateDuringHeatingOperation(); |
| 835 | 19 | } | |
| 836 | |||
| 837 | ✗ | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::setSystemAirFlowRateWhenNoCoolingorHeatingisNeeded( | |
| 838 | double systemAirFlowRateWhenNoCoolingorHeatingisNeeded) { | ||
| 839 | ✗ | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->setSystemAirFlowRateWhenNoCoolingorHeatingisNeeded( | |
| 840 | ✗ | systemAirFlowRateWhenNoCoolingorHeatingisNeeded); | |
| 841 | } | ||
| 842 | |||
| 843 | 19 | void AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::autosizeSystemAirFlowRateWhenNoCoolingorHeatingisNeeded() { | |
| 844 |
1/1✓ Branch 3 taken 19 times.
|
19 | getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->autosizeSystemAirFlowRateWhenNoCoolingorHeatingisNeeded(); |
| 845 | 19 | } | |
| 846 | |||
| 847 | ✗ | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::setOutdoorAirFlowRateDuringCoolingOperation(double outdoorAirFlowRateDuringCoolingOperation) { | |
| 848 | ✗ | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->setOutdoorAirFlowRateDuringCoolingOperation( | |
| 849 | ✗ | outdoorAirFlowRateDuringCoolingOperation); | |
| 850 | } | ||
| 851 | |||
| 852 | 19 | void AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::autosizeOutdoorAirFlowRateDuringCoolingOperation() { | |
| 853 |
1/1✓ Branch 3 taken 19 times.
|
19 | getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->autosizeOutdoorAirFlowRateDuringCoolingOperation(); |
| 854 | 19 | } | |
| 855 | |||
| 856 | ✗ | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::setOutdoorAirFlowRateDuringHeatingOperation(double outdoorAirFlowRateDuringHeatingOperation) { | |
| 857 | ✗ | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->setOutdoorAirFlowRateDuringHeatingOperation( | |
| 858 | ✗ | outdoorAirFlowRateDuringHeatingOperation); | |
| 859 | } | ||
| 860 | |||
| 861 | 19 | void AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::autosizeOutdoorAirFlowRateDuringHeatingOperation() { | |
| 862 |
1/1✓ Branch 3 taken 19 times.
|
19 | getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->autosizeOutdoorAirFlowRateDuringHeatingOperation(); |
| 863 | 19 | } | |
| 864 | |||
| 865 | ✗ | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::setOutdoorAirFlowRateWhenNoCoolingorHeatingisNeeded( | |
| 866 | double outdoorAirFlowRateWhenNoCoolingorHeatingisNeeded) { | ||
| 867 | ✗ | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->setOutdoorAirFlowRateWhenNoCoolingorHeatingisNeeded( | |
| 868 | ✗ | outdoorAirFlowRateWhenNoCoolingorHeatingisNeeded); | |
| 869 | } | ||
| 870 | |||
| 871 | 19 | void AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::autosizeOutdoorAirFlowRateWhenNoCoolingorHeatingisNeeded() { | |
| 872 |
1/1✓ Branch 3 taken 19 times.
|
19 | getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->autosizeOutdoorAirFlowRateWhenNoCoolingorHeatingisNeeded(); |
| 873 | 19 | } | |
| 874 | |||
| 875 | ✗ | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::setOutdoorAirFlowRateMultiplierSchedule(Schedule& outdoorAirFlowRateMultiplierSchedule) { | |
| 876 | ✗ | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->setOutdoorAirFlowRateMultiplierSchedule( | |
| 877 | ✗ | outdoorAirFlowRateMultiplierSchedule); | |
| 878 | } | ||
| 879 | |||
| 880 | ✗ | void AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::resetOutdoorAirFlowRateMultiplierSchedule() { | |
| 881 | ✗ | getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->resetOutdoorAirFlowRateMultiplierSchedule(); | |
| 882 | ✗ | } | |
| 883 | |||
| 884 | 20 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::setSupplyAirFan(const HVACComponent& fansCVandOnOff) { | |
| 885 |
1/1✓ Branch 3 taken 20 times.
|
20 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->setSupplyAirFan(fansCVandOnOff); |
| 886 | } | ||
| 887 | |||
| 888 | 29 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::setSupplyAirFanPlacement(const std::string& supplyAirFanPlacement) { | |
| 889 |
1/1✓ Branch 3 taken 29 times.
|
29 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->setSupplyAirFanPlacement(supplyAirFanPlacement); |
| 890 | } | ||
| 891 | |||
| 892 | ✗ | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::setSupplyAirFanOperatingModeSchedule(Schedule& schedule) { | |
| 893 | ✗ | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->setSupplyAirFanOperatingModeSchedule(schedule); | |
| 894 | } | ||
| 895 | |||
| 896 | ✗ | void AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::resetSupplyAirFanOperatingModeSchedule() { | |
| 897 | ✗ | getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->resetSupplyAirFanOperatingModeSchedule(); | |
| 898 | ✗ | } | |
| 899 | |||
| 900 | 21 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::setCoolingCoil(const HVACComponent& coolingCoilName) { | |
| 901 |
1/1✓ Branch 3 taken 21 times.
|
21 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->setCoolingCoil(coolingCoilName); |
| 902 | } | ||
| 903 | |||
| 904 | 20 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::setHeatingCoil(const HVACComponent& heatingCoilName) { | |
| 905 |
1/1✓ Branch 3 taken 20 times.
|
20 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->setHeatingCoil(heatingCoilName); |
| 906 | } | ||
| 907 | |||
| 908 | 19 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::setPriorityControlMode(const std::string& priorityControlMode) { | |
| 909 |
1/1✓ Branch 3 taken 19 times.
|
19 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->setPriorityControlMode(priorityControlMode); |
| 910 | } | ||
| 911 | |||
| 912 | 19 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::setMinimumOutletAirTemperatureDuringCoolingOperation( | |
| 913 | double minimumOutletAirTemperatureDuringCoolingOperation) { | ||
| 914 |
1/1✓ Branch 3 taken 19 times.
|
38 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->setMinimumOutletAirTemperatureDuringCoolingOperation( |
| 915 | 38 | minimumOutletAirTemperatureDuringCoolingOperation); | |
| 916 | } | ||
| 917 | |||
| 918 | 19 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::setMaximumOutletAirTemperatureDuringHeatingOperation( | |
| 919 | double maximumOutletAirTemperatureDuringHeatingOperation) { | ||
| 920 |
1/1✓ Branch 3 taken 19 times.
|
38 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->setMaximumOutletAirTemperatureDuringHeatingOperation( |
| 921 | 38 | maximumOutletAirTemperatureDuringHeatingOperation); | |
| 922 | } | ||
| 923 | |||
| 924 | 19 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::setDehumidificationControlType(const std::string& dehumidificationControlType) { | |
| 925 |
1/1✓ Branch 3 taken 19 times.
|
19 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->setDehumidificationControlType(dehumidificationControlType); |
| 926 | } | ||
| 927 | |||
| 928 | 16 | double AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::minimumRuntimeBeforeOperatingModeChange() const { | |
| 929 |
1/1✓ Branch 3 taken 16 times.
|
16 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->minimumRuntimeBeforeOperatingModeChange(); |
| 930 | } | ||
| 931 | |||
| 932 | 22 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::setMinimumRuntimeBeforeOperatingModeChange(double runtime) { | |
| 933 |
1/1✓ Branch 3 taken 22 times.
|
22 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->setMinimumRuntimeBeforeOperatingModeChange(runtime); |
| 934 | } | ||
| 935 | |||
| 936 | 19 | unsigned AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::plenumorMixerAirPort() const { | |
| 937 |
1/1✓ Branch 3 taken 19 times.
|
19 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->plenumorMixerAirPort(); |
| 938 | } | ||
| 939 | |||
| 940 | 2 | Node AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::plenumorMixerNode() const { | |
| 941 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->plenumorMixerNode(); |
| 942 | } | ||
| 943 | |||
| 944 | 25 | boost::optional<Mixer> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::plenumorMixer() const { | |
| 945 |
1/1✓ Branch 3 taken 25 times.
|
25 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->plenumorMixer(); |
| 946 | } | ||
| 947 | |||
| 948 | 6 | bool AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::setPlenumorMixer(const Mixer& returnPathComponent) { | |
| 949 |
1/1✓ Branch 3 taken 6 times.
|
6 | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->setPlenumorMixer(returnPathComponent); |
| 950 | } | ||
| 951 | |||
| 952 | ✗ | void AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::resetPlenumorMixer() { | |
| 953 | ✗ | getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->resetPlenumorMixer(); | |
| 954 | ✗ | } | |
| 955 | |||
| 956 | /// @cond | ||
| 957 | 25 | AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass( | |
| 958 | 25 | std::shared_ptr<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl> impl) | |
| 959 |
1/1✓ Branch 3 taken 25 times.
|
25 | : StraightComponent(std::move(impl)) {} |
| 960 | /// @endcond | ||
| 961 | |||
| 962 | ✗ | boost::optional<double> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::autosizedSystemAirFlowRateDuringCoolingOperation() const { | |
| 963 | ✗ | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->autosizedSystemAirFlowRateDuringCoolingOperation(); | |
| 964 | } | ||
| 965 | |||
| 966 | ✗ | boost::optional<double> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::autosizedSystemAirFlowRateDuringHeatingOperation() const { | |
| 967 | ✗ | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->autosizedSystemAirFlowRateDuringHeatingOperation(); | |
| 968 | } | ||
| 969 | |||
| 970 | ✗ | boost::optional<double> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::autosizedSystemAirFlowRateWhenNoCoolingorHeatingisNeeded() const { | |
| 971 | ✗ | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->autosizedSystemAirFlowRateWhenNoCoolingorHeatingisNeeded(); | |
| 972 | } | ||
| 973 | |||
| 974 | ✗ | boost::optional<double> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::autosizedOutdoorAirFlowRateDuringCoolingOperation() const { | |
| 975 | ✗ | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->autosizedOutdoorAirFlowRateDuringCoolingOperation(); | |
| 976 | } | ||
| 977 | |||
| 978 | ✗ | boost::optional<double> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::autosizedOutdoorAirFlowRateDuringHeatingOperation() const { | |
| 979 | ✗ | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->autosizedOutdoorAirFlowRateDuringHeatingOperation(); | |
| 980 | } | ||
| 981 | |||
| 982 | ✗ | boost::optional<double> AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass::autosizedOutdoorAirFlowRateWhenNoCoolingorHeatingisNeeded() const { | |
| 983 | ✗ | return getImpl<detail::AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass_Impl>()->autosizedOutdoorAirFlowRateWhenNoCoolingorHeatingisNeeded(); | |
| 984 | } | ||
| 985 | |||
| 986 | } // namespace model | ||
| 987 | } // namespace openstudio | ||
| 988 |