src/model/RefrigerationCondenserEvaporativeCooled.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 "RefrigerationCondenserEvaporativeCooled.hpp" | ||
| 7 | #include "RefrigerationCondenserEvaporativeCooled_Impl.hpp" | ||
| 8 | |||
| 9 | #include "RefrigerationSystem.hpp" | ||
| 10 | #include "RefrigerationSystem_Impl.hpp" | ||
| 11 | // WaterStorageTank object not used | ||
| 12 | //#include "WaterStorageTank.hpp" | ||
| 13 | //#include "WaterStorageTank_Impl.hpp" | ||
| 14 | #include "Schedule.hpp" | ||
| 15 | #include "Schedule_Impl.hpp" | ||
| 16 | #include "ScheduleTypeLimits.hpp" | ||
| 17 | #include "ScheduleTypeRegistry.hpp" | ||
| 18 | #include "Model.hpp" | ||
| 19 | #include "Model_Impl.hpp" | ||
| 20 | |||
| 21 | #include <utilities/idd/IddFactory.hxx> | ||
| 22 | |||
| 23 | #include <utilities/idd/OS_Refrigeration_Condenser_EvaporativeCooled_FieldEnums.hxx> | ||
| 24 | #include <utilities/idd/IddEnums.hxx> | ||
| 25 | |||
| 26 | #include "../utilities/units/Unit.hpp" | ||
| 27 | |||
| 28 | #include "../utilities/core/Assert.hpp" | ||
| 29 | |||
| 30 | namespace openstudio { | ||
| 31 | namespace model { | ||
| 32 | |||
| 33 | namespace detail { | ||
| 34 | |||
| 35 | 27 | RefrigerationCondenserEvaporativeCooled_Impl::RefrigerationCondenserEvaporativeCooled_Impl(const IdfObject& idfObject, Model_Impl* model, | |
| 36 | 27 | bool keepHandle) | |
| 37 | 27 | : ParentObject_Impl(idfObject, model, keepHandle) { | |
| 38 |
4/6✓ Branch 1 taken 27 times.
✓ Branch 4 taken 27 times.
✓ Branch 7 taken 27 times.
✗ Branch 10 not taken.
✓ Branch 11 taken 27 times.
✗ Branch 13 not taken.
|
27 | OS_ASSERT(idfObject.iddObject().type() == RefrigerationCondenserEvaporativeCooled::iddObjectType()); |
| 39 | 27 | } | |
| 40 | |||
| 41 | ✗ | RefrigerationCondenserEvaporativeCooled_Impl::RefrigerationCondenserEvaporativeCooled_Impl(const openstudio::detail::WorkspaceObject_Impl& other, | |
| 42 | ✗ | Model_Impl* model, bool keepHandle) | |
| 43 | ✗ | : ParentObject_Impl(other, model, keepHandle) { | |
| 44 | ✗ | OS_ASSERT(other.iddObject().type() == RefrigerationCondenserEvaporativeCooled::iddObjectType()); | |
| 45 | ✗ | } | |
| 46 | |||
| 47 | 13 | RefrigerationCondenserEvaporativeCooled_Impl::RefrigerationCondenserEvaporativeCooled_Impl( | |
| 48 | 13 | const RefrigerationCondenserEvaporativeCooled_Impl& other, Model_Impl* model, bool keepHandle) | |
| 49 | 13 | : ParentObject_Impl(other, model, keepHandle) {} | |
| 50 | |||
| 51 | ✗ | const std::vector<std::string>& RefrigerationCondenserEvaporativeCooled_Impl::outputVariableNames() const { | |
| 52 | static const std::vector<std::string> result{ | ||
| 53 | "Refrigeration System Condenser Fan Electricity Rate", "Refrigeration System Condenser Fan Electric Consumption", | ||
| 54 | |||
| 55 | // TODO: Implement checks | ||
| 56 | // FOR CONDENSERS COOLING SYSTEMS SERVING CASES AND/OR WALKINS: | ||
| 57 | "Refrigeration System Condenser Heat Transfer Rate", "Refrigeration System Condenser Heat Transfer Energy", | ||
| 58 | "Refrigeration System Condenser Total Recovered Heat Transfer Rate", "Refrigeration System Condenser Total Recovered Heat Transfer Energy", | ||
| 59 | "Refrigeration System Condenser Non Refrigeration Recovered Heat Transfer Rate", | ||
| 60 | "Refrigeration System Condenser Non Refrigeration Recovered Heat Transfer Energy", | ||
| 61 | "Refrigeration System Condenser Defrost Recovered Heat Transfer Rate", | ||
| 62 | "Refrigeration System Condenser Defrost Recovered Heat Transfer Energy", "Refrigeration System Condenser Pump Electricity Rate", | ||
| 63 | "Refrigeration System Condenser Pump Electricity Energy", "Refrigeration System Condenser Basin Heater Electricity Rate", | ||
| 64 | "Refrigeration System Condenser Basin Heater Electricity Energy", "Refrigeration System Condenser Evaporated Water Volume Flow Rate", | ||
| 65 | "Refrigeration System Condenser Evaporated Water Volume", | ||
| 66 | // FOR CONDENSERS COOLING SYSTEMS SERVING AIR CHILLERS: | ||
| 67 | "Refrigeration Air Chiller System Condenser Heat Transfer Rate", "Refrigeration Air Chiller System Condenser Heat Transfer Energy", | ||
| 68 | "Refrigeration Air Chiller System Condenser Total Recovered Heat Transfer Rate", | ||
| 69 | "Refrigeration Air Chiller System Condenser Total Recovered Heat Transfer Energy", | ||
| 70 | "Refrigeration Air Chiller System Condenser Non Refrigeration Recovered Heat Transfer Rate", | ||
| 71 | "Refrigeration Air Chiller System Condenser Non Refrigeration Recovered Heat Transfer Energy", | ||
| 72 | "Refrigeration Air Chiller System Condenser Defrost Recovered Heat Transfer Rate", | ||
| 73 | "Refrigeration Air Chiller System Condenser Defrost Recovered Heat Transfer Energy", | ||
| 74 | "Refrigeration Air Chiller System Condenser Pump Electricity Rate", "Refrigeration Air Chiller System Condenser Pump Electricity Energy", | ||
| 75 | "Refrigeration Air Chiller System Condenser Basin Heater Electricity Rate", | ||
| 76 | "Refrigeration Air Chiller System Condenser Basin Heater Electricity Energy", | ||
| 77 | "Refrigeration Air Chiller System Condenser Evaporated Water Volume Flow Rate", | ||
| 78 | ✗ | "Refrigeration Air Chiller System Condenser Evaporated Water Volume"}; | |
| 79 | ✗ | return result; | |
| 80 | ✗ | } | |
| 81 | |||
| 82 | 1 | IddObjectType RefrigerationCondenserEvaporativeCooled_Impl::iddObjectType() const { | |
| 83 | 1 | return RefrigerationCondenserEvaporativeCooled::iddObjectType(); | |
| 84 | } | ||
| 85 | |||
| 86 | 4 | ModelObject RefrigerationCondenserEvaporativeCooled_Impl::clone(Model model) const { | |
| 87 |
3/3✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
✓ Branch 7 taken 4 times.
|
4 | auto modelObjectClone = ModelObject_Impl::clone(model).cast<RefrigerationCondenserEvaporativeCooled>(); |
| 88 | |||
| 89 | //modelObjectClone.resetAirInletNode(); | ||
| 90 | |||
| 91 | 8 | return std::move(modelObjectClone); | |
| 92 | 4 | } | |
| 93 | |||
| 94 | ✗ | std::vector<ScheduleTypeKey> RefrigerationCondenserEvaporativeCooled_Impl::getScheduleTypeKeys(const Schedule& schedule) const { | |
| 95 | ✗ | std::vector<ScheduleTypeKey> result; | |
| 96 | ✗ | UnsignedVector fieldIndices = getSourceIndices(schedule.handle()); | |
| 97 | ✗ | UnsignedVector::const_iterator b(fieldIndices.begin()); | |
| 98 | ✗ | UnsignedVector::const_iterator e(fieldIndices.end()); | |
| 99 | ✗ | if (std::find(b, e, OS_Refrigeration_Condenser_EvaporativeCooledFields::EvaporativeCondenserAvailabilityScheduleName) != e) { | |
| 100 | ✗ | result.push_back(ScheduleTypeKey("RefrigerationCondenserEvaporativeCooled", "Evaporative Condenser Availability")); | |
| 101 | } | ||
| 102 | ✗ | return result; | |
| 103 | ✗ | } | |
| 104 | |||
| 105 | 7 | double RefrigerationCondenserEvaporativeCooled_Impl::ratedEffectiveTotalHeatRejectionRate() const { | |
| 106 |
1/1✓ Branch 1 taken 7 times.
|
7 | boost::optional<double> value = getDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::RatedEffectiveTotalHeatRejectionRate, true); |
| 107 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
|
7 | OS_ASSERT(value); |
| 108 |
1/1✓ Branch 1 taken 7 times.
|
14 | return value.get(); |
| 109 | } | ||
| 110 | |||
| 111 | 8 | double RefrigerationCondenserEvaporativeCooled_Impl::ratedSubcoolingTemperatureDifference() const { | |
| 112 |
1/1✓ Branch 1 taken 8 times.
|
8 | boost::optional<double> value = getDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::RatedSubcoolingTemperatureDifference, true); |
| 113 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 8 times.
✗ Branch 4 not taken.
|
8 | OS_ASSERT(value); |
| 114 |
1/1✓ Branch 1 taken 8 times.
|
16 | return value.get(); |
| 115 | } | ||
| 116 | |||
| 117 | ✗ | bool RefrigerationCondenserEvaporativeCooled_Impl::isRatedSubcoolingTemperatureDifferenceDefaulted() const { | |
| 118 | ✗ | return isEmpty(OS_Refrigeration_Condenser_EvaporativeCooledFields::RatedSubcoolingTemperatureDifference); | |
| 119 | } | ||
| 120 | |||
| 121 | 11 | std::string RefrigerationCondenserEvaporativeCooled_Impl::fanSpeedControlType() const { | |
| 122 |
1/1✓ Branch 1 taken 11 times.
|
11 | boost::optional<std::string> value = getString(OS_Refrigeration_Condenser_EvaporativeCooledFields::FanSpeedControlType, true); |
| 123 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 11 times.
✗ Branch 4 not taken.
|
11 | OS_ASSERT(value); |
| 124 |
2/2✓ Branch 1 taken 11 times.
✓ Branch 4 taken 11 times.
|
22 | return value.get(); |
| 125 | 11 | } | |
| 126 | |||
| 127 | ✗ | bool RefrigerationCondenserEvaporativeCooled_Impl::isFanSpeedControlTypeDefaulted() const { | |
| 128 | ✗ | return isEmpty(OS_Refrigeration_Condenser_EvaporativeCooledFields::FanSpeedControlType); | |
| 129 | } | ||
| 130 | |||
| 131 | 5 | double RefrigerationCondenserEvaporativeCooled_Impl::ratedFanPower() const { | |
| 132 |
1/1✓ Branch 1 taken 5 times.
|
5 | boost::optional<double> value = getDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::RatedFanPower, true); |
| 133 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
|
5 | OS_ASSERT(value); |
| 134 |
1/1✓ Branch 1 taken 5 times.
|
10 | return value.get(); |
| 135 | } | ||
| 136 | |||
| 137 | 8 | double RefrigerationCondenserEvaporativeCooled_Impl::minimumFanAirFlowRatio() const { | |
| 138 |
1/1✓ Branch 1 taken 8 times.
|
8 | boost::optional<double> value = getDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::MinimumFanAirFlowRatio, true); |
| 139 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 8 times.
✗ Branch 4 not taken.
|
8 | OS_ASSERT(value); |
| 140 |
1/1✓ Branch 1 taken 8 times.
|
16 | return value.get(); |
| 141 | } | ||
| 142 | |||
| 143 | ✗ | bool RefrigerationCondenserEvaporativeCooled_Impl::isMinimumFanAirFlowRatioDefaulted() const { | |
| 144 | ✗ | return isEmpty(OS_Refrigeration_Condenser_EvaporativeCooledFields::MinimumFanAirFlowRatio); | |
| 145 | } | ||
| 146 | |||
| 147 | 8 | double RefrigerationCondenserEvaporativeCooled_Impl::approachTemperatureConstantTerm() const { | |
| 148 |
1/1✓ Branch 1 taken 8 times.
|
8 | boost::optional<double> value = getDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::ApproachTemperatureConstantTerm, true); |
| 149 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 8 times.
✗ Branch 4 not taken.
|
8 | OS_ASSERT(value); |
| 150 |
1/1✓ Branch 1 taken 8 times.
|
16 | return value.get(); |
| 151 | } | ||
| 152 | |||
| 153 | ✗ | bool RefrigerationCondenserEvaporativeCooled_Impl::isApproachTemperatureConstantTermDefaulted() const { | |
| 154 | ✗ | return isEmpty(OS_Refrigeration_Condenser_EvaporativeCooledFields::ApproachTemperatureConstantTerm); | |
| 155 | } | ||
| 156 | |||
| 157 | 8 | double RefrigerationCondenserEvaporativeCooled_Impl::approachTemperatureCoefficient2() const { | |
| 158 |
1/1✓ Branch 1 taken 8 times.
|
8 | boost::optional<double> value = getDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::ApproachTemperatureCoefficient2, true); |
| 159 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 8 times.
✗ Branch 4 not taken.
|
8 | OS_ASSERT(value); |
| 160 |
1/1✓ Branch 1 taken 8 times.
|
16 | return value.get(); |
| 161 | } | ||
| 162 | |||
| 163 | ✗ | bool RefrigerationCondenserEvaporativeCooled_Impl::isApproachTemperatureCoefficient2Defaulted() const { | |
| 164 | ✗ | return isEmpty(OS_Refrigeration_Condenser_EvaporativeCooledFields::ApproachTemperatureCoefficient2); | |
| 165 | } | ||
| 166 | |||
| 167 | 8 | double RefrigerationCondenserEvaporativeCooled_Impl::approachTemperatureCoefficient3() const { | |
| 168 |
1/1✓ Branch 1 taken 8 times.
|
8 | boost::optional<double> value = getDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::ApproachTemperatureCoefficient3, true); |
| 169 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 8 times.
✗ Branch 4 not taken.
|
8 | OS_ASSERT(value); |
| 170 |
1/1✓ Branch 1 taken 8 times.
|
16 | return value.get(); |
| 171 | } | ||
| 172 | |||
| 173 | ✗ | bool RefrigerationCondenserEvaporativeCooled_Impl::isApproachTemperatureCoefficient3Defaulted() const { | |
| 174 | ✗ | return isEmpty(OS_Refrigeration_Condenser_EvaporativeCooledFields::ApproachTemperatureCoefficient3); | |
| 175 | } | ||
| 176 | |||
| 177 | 8 | double RefrigerationCondenserEvaporativeCooled_Impl::approachTemperatureCoefficient4() const { | |
| 178 |
1/1✓ Branch 1 taken 8 times.
|
8 | boost::optional<double> value = getDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::ApproachTemperatureCoefficient4, true); |
| 179 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 8 times.
✗ Branch 4 not taken.
|
8 | OS_ASSERT(value); |
| 180 |
1/1✓ Branch 1 taken 8 times.
|
16 | return value.get(); |
| 181 | } | ||
| 182 | |||
| 183 | ✗ | bool RefrigerationCondenserEvaporativeCooled_Impl::isApproachTemperatureCoefficient4Defaulted() const { | |
| 184 | ✗ | return isEmpty(OS_Refrigeration_Condenser_EvaporativeCooledFields::ApproachTemperatureCoefficient4); | |
| 185 | } | ||
| 186 | |||
| 187 | 7 | double RefrigerationCondenserEvaporativeCooled_Impl::minimumCapacityFactor() const { | |
| 188 |
1/1✓ Branch 1 taken 7 times.
|
7 | boost::optional<double> value = getDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::MinimumCapacityFactor, true); |
| 189 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
|
7 | OS_ASSERT(value); |
| 190 |
1/1✓ Branch 1 taken 7 times.
|
14 | return value.get(); |
| 191 | } | ||
| 192 | |||
| 193 | ✗ | bool RefrigerationCondenserEvaporativeCooled_Impl::isMinimumCapacityFactorDefaulted() const { | |
| 194 | ✗ | return isEmpty(OS_Refrigeration_Condenser_EvaporativeCooledFields::MinimumCapacityFactor); | |
| 195 | } | ||
| 196 | |||
| 197 | 7 | double RefrigerationCondenserEvaporativeCooled_Impl::maximumCapacityFactor() const { | |
| 198 |
1/1✓ Branch 1 taken 7 times.
|
7 | boost::optional<double> value = getDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::MaximumCapacityFactor, true); |
| 199 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
|
7 | OS_ASSERT(value); |
| 200 |
1/1✓ Branch 1 taken 7 times.
|
14 | return value.get(); |
| 201 | } | ||
| 202 | |||
| 203 | ✗ | bool RefrigerationCondenserEvaporativeCooled_Impl::isMaximumCapacityFactorDefaulted() const { | |
| 204 | ✗ | return isEmpty(OS_Refrigeration_Condenser_EvaporativeCooledFields::MaximumCapacityFactor); | |
| 205 | } | ||
| 206 | |||
| 207 | // std::string RefrigerationCondenserEvaporativeCooled_Impl::airInletNode() const { | ||
| 208 | // boost::optional<std::string> value = getString(OS_Refrigeration_Condenser_EvaporativeCooledFields::AirInletNodeName,true); | ||
| 209 | // OS_ASSERT(value); | ||
| 210 | // return value.get(); | ||
| 211 | // } | ||
| 212 | |||
| 213 | 4 | boost::optional<double> RefrigerationCondenserEvaporativeCooled_Impl::ratedAirFlowRate() const { | |
| 214 | 4 | return getDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::RatedAirFlowRate, true); | |
| 215 | } | ||
| 216 | |||
| 217 | ✗ | bool RefrigerationCondenserEvaporativeCooled_Impl::isRatedAirFlowRateDefaulted() const { | |
| 218 | ✗ | return isEmpty(OS_Refrigeration_Condenser_EvaporativeCooledFields::RatedAirFlowRate); | |
| 219 | } | ||
| 220 | |||
| 221 | 1 | bool RefrigerationCondenserEvaporativeCooled_Impl::isRatedAirFlowRateAutocalculated() const { | |
| 222 | 1 | bool result = false; | |
| 223 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<std::string> value = getString(OS_Refrigeration_Condenser_EvaporativeCooledFields::RatedAirFlowRate, true); |
| 224 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (value) { |
| 225 |
3/3✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
|
2 | result = openstudio::istringEqual(value.get(), "autocalculate"); |
| 226 | } | ||
| 227 | 1 | return result; | |
| 228 | 1 | } | |
| 229 | |||
| 230 | 8 | double RefrigerationCondenserEvaporativeCooled_Impl::basinHeaterCapacity() const { | |
| 231 |
1/1✓ Branch 1 taken 8 times.
|
8 | boost::optional<double> value = getDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::BasinHeaterCapacity, true); |
| 232 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 8 times.
✗ Branch 4 not taken.
|
8 | OS_ASSERT(value); |
| 233 |
1/1✓ Branch 1 taken 8 times.
|
16 | return value.get(); |
| 234 | } | ||
| 235 | |||
| 236 | ✗ | bool RefrigerationCondenserEvaporativeCooled_Impl::isBasinHeaterCapacityDefaulted() const { | |
| 237 | ✗ | return isEmpty(OS_Refrigeration_Condenser_EvaporativeCooledFields::BasinHeaterCapacity); | |
| 238 | } | ||
| 239 | |||
| 240 | 8 | double RefrigerationCondenserEvaporativeCooled_Impl::basinHeaterSetpointTemperature() const { | |
| 241 |
1/1✓ Branch 1 taken 8 times.
|
8 | boost::optional<double> value = getDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::BasinHeaterSetpointTemperature, true); |
| 242 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 8 times.
✗ Branch 4 not taken.
|
8 | OS_ASSERT(value); |
| 243 |
1/1✓ Branch 1 taken 8 times.
|
16 | return value.get(); |
| 244 | } | ||
| 245 | |||
| 246 | ✗ | bool RefrigerationCondenserEvaporativeCooled_Impl::isBasinHeaterSetpointTemperatureDefaulted() const { | |
| 247 | ✗ | return isEmpty(OS_Refrigeration_Condenser_EvaporativeCooledFields::BasinHeaterSetpointTemperature); | |
| 248 | } | ||
| 249 | |||
| 250 | 7 | boost::optional<double> RefrigerationCondenserEvaporativeCooled_Impl::ratedWaterPumpPower() const { | |
| 251 | 7 | return getDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::RatedWaterPumpPower, true); | |
| 252 | } | ||
| 253 | |||
| 254 | ✗ | bool RefrigerationCondenserEvaporativeCooled_Impl::isRatedWaterPumpPowerDefaulted() const { | |
| 255 | ✗ | return isEmpty(OS_Refrigeration_Condenser_EvaporativeCooledFields::RatedWaterPumpPower); | |
| 256 | } | ||
| 257 | |||
| 258 | 2 | bool RefrigerationCondenserEvaporativeCooled_Impl::isRatedWaterPumpPowerAutocalculated() const { | |
| 259 | 2 | bool result = false; | |
| 260 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<std::string> value = getString(OS_Refrigeration_Condenser_EvaporativeCooledFields::RatedWaterPumpPower, true); |
| 261 |
1/2✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
|
2 | if (value) { |
| 262 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
4 | result = openstudio::istringEqual(value.get(), "autocalculate"); |
| 263 | } | ||
| 264 | 2 | return result; | |
| 265 | 2 | } | |
| 266 | |||
| 267 | /*boost::optional<WaterStorageTank> RefrigerationCondenserEvaporativeCooled_Impl::evaporativeWaterSupplyTank() const { | ||
| 268 | return getObject<ModelObject>().getModelObjectTarget<WaterStorageTank>(OS_Refrigeration_Condenser_EvaporativeCooledFields::EvaporativeWaterSupplyTankName); | ||
| 269 | }*/ | ||
| 270 | |||
| 271 | 4 | boost::optional<Schedule> RefrigerationCondenserEvaporativeCooled_Impl::evaporativeCondenserAvailabilitySchedule() const { | |
| 272 |
1/1✓ Branch 1 taken 4 times.
|
8 | return getObject<ModelObject>().getModelObjectTarget<Schedule>( |
| 273 |
1/1✓ Branch 1 taken 4 times.
|
8 | OS_Refrigeration_Condenser_EvaporativeCooledFields::EvaporativeCondenserAvailabilityScheduleName); |
| 274 | } | ||
| 275 | |||
| 276 | 5 | std::string RefrigerationCondenserEvaporativeCooled_Impl::endUseSubcategory() const { | |
| 277 |
1/1✓ Branch 1 taken 5 times.
|
5 | boost::optional<std::string> value = getString(OS_Refrigeration_Condenser_EvaporativeCooledFields::EndUseSubcategory, true); |
| 278 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
|
5 | OS_ASSERT(value); |
| 279 |
2/2✓ Branch 1 taken 5 times.
✓ Branch 4 taken 5 times.
|
10 | return value.get(); |
| 280 | 5 | } | |
| 281 | |||
| 282 | ✗ | bool RefrigerationCondenserEvaporativeCooled_Impl::isEndUseSubcategoryDefaulted() const { | |
| 283 | ✗ | return isEmpty(OS_Refrigeration_Condenser_EvaporativeCooledFields::EndUseSubcategory); | |
| 284 | } | ||
| 285 | |||
| 286 | 5 | double RefrigerationCondenserEvaporativeCooled_Impl::condenserRefrigerantOperatingChargeInventory() const { | |
| 287 | boost::optional<double> value = | ||
| 288 |
1/1✓ Branch 1 taken 5 times.
|
5 | getDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::CondenserRefrigerantOperatingChargeInventory, true); |
| 289 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
|
5 | OS_ASSERT(value); |
| 290 |
1/1✓ Branch 1 taken 5 times.
|
10 | return value.get(); |
| 291 | } | ||
| 292 | |||
| 293 | ✗ | bool RefrigerationCondenserEvaporativeCooled_Impl::isCondenserRefrigerantOperatingChargeInventoryDefaulted() const { | |
| 294 | ✗ | return isEmpty(OS_Refrigeration_Condenser_EvaporativeCooledFields::CondenserRefrigerantOperatingChargeInventory); | |
| 295 | } | ||
| 296 | |||
| 297 | 5 | double RefrigerationCondenserEvaporativeCooled_Impl::condensateReceiverRefrigerantInventory() const { | |
| 298 |
1/1✓ Branch 1 taken 5 times.
|
5 | boost::optional<double> value = getDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::CondensateReceiverRefrigerantInventory, true); |
| 299 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
|
5 | OS_ASSERT(value); |
| 300 |
1/1✓ Branch 1 taken 5 times.
|
10 | return value.get(); |
| 301 | } | ||
| 302 | |||
| 303 | ✗ | bool RefrigerationCondenserEvaporativeCooled_Impl::isCondensateReceiverRefrigerantInventoryDefaulted() const { | |
| 304 | ✗ | return isEmpty(OS_Refrigeration_Condenser_EvaporativeCooledFields::CondensateReceiverRefrigerantInventory); | |
| 305 | } | ||
| 306 | |||
| 307 | 5 | double RefrigerationCondenserEvaporativeCooled_Impl::condensatePipingRefrigerantInventory() const { | |
| 308 |
1/1✓ Branch 1 taken 5 times.
|
5 | boost::optional<double> value = getDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::CondensatePipingRefrigerantInventory, true); |
| 309 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
|
5 | OS_ASSERT(value); |
| 310 |
1/1✓ Branch 1 taken 5 times.
|
10 | return value.get(); |
| 311 | } | ||
| 312 | |||
| 313 | ✗ | bool RefrigerationCondenserEvaporativeCooled_Impl::isCondensatePipingRefrigerantInventoryDefaulted() const { | |
| 314 | ✗ | return isEmpty(OS_Refrigeration_Condenser_EvaporativeCooledFields::CondensatePipingRefrigerantInventory); | |
| 315 | } | ||
| 316 | |||
| 317 | 31 | bool RefrigerationCondenserEvaporativeCooled_Impl::setRatedEffectiveTotalHeatRejectionRate(double ratedEffectiveTotalHeatRejectionRate) { | |
| 318 | bool result = | ||
| 319 | 31 | setDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::RatedEffectiveTotalHeatRejectionRate, ratedEffectiveTotalHeatRejectionRate); | |
| 320 | 31 | return result; | |
| 321 | } | ||
| 322 | |||
| 323 | 32 | bool RefrigerationCondenserEvaporativeCooled_Impl::setRatedSubcoolingTemperatureDifference(double ratedSubcoolingTemperatureDifference) { | |
| 324 | bool result = | ||
| 325 | 32 | setDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::RatedSubcoolingTemperatureDifference, ratedSubcoolingTemperatureDifference); | |
| 326 | 32 | return result; | |
| 327 | } | ||
| 328 | |||
| 329 | 1 | void RefrigerationCondenserEvaporativeCooled_Impl::resetRatedSubcoolingTemperatureDifference() { | |
| 330 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_Refrigeration_Condenser_EvaporativeCooledFields::RatedSubcoolingTemperatureDifference, ""); |
| 331 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 332 | 1 | } | |
| 333 | |||
| 334 | 35 | bool RefrigerationCondenserEvaporativeCooled_Impl::setFanSpeedControlType(const std::string& fanSpeedControlType) { | |
| 335 | 35 | bool result = setString(OS_Refrigeration_Condenser_EvaporativeCooledFields::FanSpeedControlType, fanSpeedControlType); | |
| 336 | 35 | return result; | |
| 337 | } | ||
| 338 | |||
| 339 | 1 | void RefrigerationCondenserEvaporativeCooled_Impl::resetFanSpeedControlType() { | |
| 340 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_Refrigeration_Condenser_EvaporativeCooledFields::FanSpeedControlType, ""); |
| 341 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 342 | 1 | } | |
| 343 | |||
| 344 | 31 | bool RefrigerationCondenserEvaporativeCooled_Impl::setRatedFanPower(double ratedFanPower) { | |
| 345 | 31 | bool result = setDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::RatedFanPower, ratedFanPower); | |
| 346 | 31 | return result; | |
| 347 | } | ||
| 348 | |||
| 349 | 32 | bool RefrigerationCondenserEvaporativeCooled_Impl::setMinimumFanAirFlowRatio(double minimumFanAirFlowRatio) { | |
| 350 | 32 | bool result = setDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::MinimumFanAirFlowRatio, minimumFanAirFlowRatio); | |
| 351 | 32 | return result; | |
| 352 | } | ||
| 353 | |||
| 354 | 1 | void RefrigerationCondenserEvaporativeCooled_Impl::resetMinimumFanAirFlowRatio() { | |
| 355 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_Refrigeration_Condenser_EvaporativeCooledFields::MinimumFanAirFlowRatio, ""); |
| 356 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 357 | 1 | } | |
| 358 | |||
| 359 | 35 | bool RefrigerationCondenserEvaporativeCooled_Impl::setApproachTemperatureConstantTerm(double approachTemperatureConstantTerm) { | |
| 360 | 35 | bool result = setDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::ApproachTemperatureConstantTerm, approachTemperatureConstantTerm); | |
| 361 | 35 | return result; | |
| 362 | } | ||
| 363 | |||
| 364 | 1 | void RefrigerationCondenserEvaporativeCooled_Impl::resetApproachTemperatureConstantTerm() { | |
| 365 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_Refrigeration_Condenser_EvaporativeCooledFields::ApproachTemperatureConstantTerm, ""); |
| 366 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 367 | 1 | } | |
| 368 | |||
| 369 | 35 | bool RefrigerationCondenserEvaporativeCooled_Impl::setApproachTemperatureCoefficient2(double approachTemperatureCoefficient2) { | |
| 370 | 35 | bool result = setDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::ApproachTemperatureCoefficient2, approachTemperatureCoefficient2); | |
| 371 | 35 | return result; | |
| 372 | } | ||
| 373 | |||
| 374 | 1 | void RefrigerationCondenserEvaporativeCooled_Impl::resetApproachTemperatureCoefficient2() { | |
| 375 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_Refrigeration_Condenser_EvaporativeCooledFields::ApproachTemperatureCoefficient2, ""); |
| 376 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 377 | 1 | } | |
| 378 | |||
| 379 | 35 | bool RefrigerationCondenserEvaporativeCooled_Impl::setApproachTemperatureCoefficient3(double approachTemperatureCoefficient3) { | |
| 380 | 35 | bool result = setDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::ApproachTemperatureCoefficient3, approachTemperatureCoefficient3); | |
| 381 | 35 | return result; | |
| 382 | } | ||
| 383 | |||
| 384 | 1 | void RefrigerationCondenserEvaporativeCooled_Impl::resetApproachTemperatureCoefficient3() { | |
| 385 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_Refrigeration_Condenser_EvaporativeCooledFields::ApproachTemperatureCoefficient3, ""); |
| 386 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 387 | 1 | } | |
| 388 | |||
| 389 | 35 | bool RefrigerationCondenserEvaporativeCooled_Impl::setApproachTemperatureCoefficient4(double approachTemperatureCoefficient4) { | |
| 390 | 35 | bool result = setDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::ApproachTemperatureCoefficient4, approachTemperatureCoefficient4); | |
| 391 | 35 | return result; | |
| 392 | } | ||
| 393 | |||
| 394 | 1 | void RefrigerationCondenserEvaporativeCooled_Impl::resetApproachTemperatureCoefficient4() { | |
| 395 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_Refrigeration_Condenser_EvaporativeCooledFields::ApproachTemperatureCoefficient4, ""); |
| 396 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 397 | 1 | } | |
| 398 | |||
| 399 | 30 | bool RefrigerationCondenserEvaporativeCooled_Impl::setMinimumCapacityFactor(double minimumCapacityFactor) { | |
| 400 | 30 | bool result = setDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::MinimumCapacityFactor, minimumCapacityFactor); | |
| 401 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 30 times.
|
30 | OS_ASSERT(result); |
| 402 | 30 | return result; | |
| 403 | } | ||
| 404 | |||
| 405 | 1 | void RefrigerationCondenserEvaporativeCooled_Impl::resetMinimumCapacityFactor() { | |
| 406 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_Refrigeration_Condenser_EvaporativeCooledFields::MinimumCapacityFactor, ""); |
| 407 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 408 | 1 | } | |
| 409 | |||
| 410 | 30 | bool RefrigerationCondenserEvaporativeCooled_Impl::setMaximumCapacityFactor(double maximumCapacityFactor) { | |
| 411 | 30 | bool result = setDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::MaximumCapacityFactor, maximumCapacityFactor); | |
| 412 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 30 times.
|
30 | OS_ASSERT(result); |
| 413 | 30 | return result; | |
| 414 | } | ||
| 415 | |||
| 416 | 1 | void RefrigerationCondenserEvaporativeCooled_Impl::resetMaximumCapacityFactor() { | |
| 417 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_Refrigeration_Condenser_EvaporativeCooledFields::MaximumCapacityFactor, ""); |
| 418 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 419 | 1 | } | |
| 420 | |||
| 421 | // bool RefrigerationCondenserEvaporativeCooled_Impl::setAirInletNode(const std::string& airInletNode) { | ||
| 422 | // bool result = setString(OS_Refrigeration_Condenser_EvaporativeCooledFields::AirInletNodeName, airInletNode); | ||
| 423 | // return result; | ||
| 424 | // } | ||
| 425 | |||
| 426 | // void RefrigerationCondenserEvaporativeCooled_Impl::resetAirInletNode() { | ||
| 427 | // bool result = setString(OS_Refrigeration_Condenser_EvaporativeCooledFields::AirInletNodeName, ""); | ||
| 428 | // OS_ASSERT(result); | ||
| 429 | // } | ||
| 430 | |||
| 431 | 28 | bool RefrigerationCondenserEvaporativeCooled_Impl::setRatedAirFlowRate(boost::optional<double> ratedAirFlowRate) { | |
| 432 | 28 | bool result(false); | |
| 433 |
1/2✓ Branch 0 taken 28 times.
✗ Branch 1 not taken.
|
28 | if (ratedAirFlowRate) { |
| 434 | 28 | result = setDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::RatedAirFlowRate, ratedAirFlowRate.get()); | |
| 435 | } else { | ||
| 436 | ✗ | resetRatedAirFlowRate(); | |
| 437 | ✗ | result = true; | |
| 438 | } | ||
| 439 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 28 times.
|
28 | OS_ASSERT(result); |
| 440 | 28 | return result; | |
| 441 | } | ||
| 442 | |||
| 443 | ✗ | void RefrigerationCondenserEvaporativeCooled_Impl::resetRatedAirFlowRate() { | |
| 444 | ✗ | bool result = setString(OS_Refrigeration_Condenser_EvaporativeCooledFields::RatedAirFlowRate, ""); | |
| 445 | ✗ | OS_ASSERT(result); | |
| 446 | ✗ | } | |
| 447 | |||
| 448 | 1 | void RefrigerationCondenserEvaporativeCooled_Impl::autocalculateRatedAirFlowRate() { | |
| 449 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_Refrigeration_Condenser_EvaporativeCooledFields::RatedAirFlowRate, "autocalculate"); |
| 450 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 451 | 1 | } | |
| 452 | |||
| 453 | 32 | bool RefrigerationCondenserEvaporativeCooled_Impl::setBasinHeaterCapacity(double basinHeaterCapacity) { | |
| 454 | 32 | bool result = setDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::BasinHeaterCapacity, basinHeaterCapacity); | |
| 455 | 32 | return result; | |
| 456 | } | ||
| 457 | |||
| 458 | 1 | void RefrigerationCondenserEvaporativeCooled_Impl::resetBasinHeaterCapacity() { | |
| 459 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_Refrigeration_Condenser_EvaporativeCooledFields::BasinHeaterCapacity, ""); |
| 460 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 461 | 1 | } | |
| 462 | |||
| 463 | 32 | bool RefrigerationCondenserEvaporativeCooled_Impl::setBasinHeaterSetpointTemperature(double basinHeaterSetpointTemperature) { | |
| 464 | 32 | bool result = setDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::BasinHeaterSetpointTemperature, basinHeaterSetpointTemperature); | |
| 465 | 32 | return result; | |
| 466 | } | ||
| 467 | |||
| 468 | 1 | void RefrigerationCondenserEvaporativeCooled_Impl::resetBasinHeaterSetpointTemperature() { | |
| 469 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_Refrigeration_Condenser_EvaporativeCooledFields::BasinHeaterSetpointTemperature, ""); |
| 470 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 471 | 1 | } | |
| 472 | |||
| 473 | 29 | bool RefrigerationCondenserEvaporativeCooled_Impl::setRatedWaterPumpPower(boost::optional<double> ratedWaterPumpPower) { | |
| 474 | 29 | bool result(false); | |
| 475 |
1/2✓ Branch 0 taken 29 times.
✗ Branch 1 not taken.
|
29 | if (ratedWaterPumpPower) { |
| 476 | 29 | result = setDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::RatedWaterPumpPower, ratedWaterPumpPower.get()); | |
| 477 | } else { | ||
| 478 | ✗ | resetRatedWaterPumpPower(); | |
| 479 | ✗ | result = true; | |
| 480 | } | ||
| 481 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 29 times.
|
29 | OS_ASSERT(result); |
| 482 | 29 | return result; | |
| 483 | } | ||
| 484 | |||
| 485 | 1 | void RefrigerationCondenserEvaporativeCooled_Impl::resetRatedWaterPumpPower() { | |
| 486 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_Refrigeration_Condenser_EvaporativeCooledFields::RatedWaterPumpPower, ""); |
| 487 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 488 | 1 | } | |
| 489 | |||
| 490 | 2 | void RefrigerationCondenserEvaporativeCooled_Impl::autocalculateRatedWaterPumpPower() { | |
| 491 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
|
4 | bool result = setString(OS_Refrigeration_Condenser_EvaporativeCooledFields::RatedWaterPumpPower, "autocalculate"); |
| 492 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 2 times.
|
2 | OS_ASSERT(result); |
| 493 | 2 | } | |
| 494 | |||
| 495 | /*bool RefrigerationCondenserEvaporativeCooled_Impl::setEvaporativeWaterSupplyTank(const boost::optional<WaterStorageTank>& waterStorageTank) { | ||
| 496 | bool result(false); | ||
| 497 | if (waterStorageTank) { | ||
| 498 | result = setPointer(OS_Refrigeration_Condenser_EvaporativeCooledFields::EvaporativeWaterSupplyTankName, waterStorageTank.get().handle()); | ||
| 499 | } | ||
| 500 | else { | ||
| 501 | resetEvaporativeWaterSupplyTank(); | ||
| 502 | result = true; | ||
| 503 | } | ||
| 504 | return result; | ||
| 505 | } | ||
| 506 | |||
| 507 | void RefrigerationCondenserEvaporativeCooled_Impl::resetEvaporativeWaterSupplyTank() { | ||
| 508 | bool result = setString(OS_Refrigeration_Condenser_EvaporativeCooledFields::EvaporativeWaterSupplyTankName, ""); | ||
| 509 | OS_ASSERT(result); | ||
| 510 | }*/ | ||
| 511 | |||
| 512 | 1 | bool RefrigerationCondenserEvaporativeCooled_Impl::setEvaporativeCondenserAvailabilitySchedule(Schedule& schedule) { | |
| 513 |
3/3✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
|
4 | bool result = setSchedule(OS_Refrigeration_Condenser_EvaporativeCooledFields::EvaporativeCondenserAvailabilityScheduleName, |
| 514 | "RefrigerationCondenserEvaporativeCooled", "Evaporative Condenser Availability", schedule); | ||
| 515 | 1 | return result; | |
| 516 | } | ||
| 517 | |||
| 518 | ✗ | void RefrigerationCondenserEvaporativeCooled_Impl::resetEvaporativeCondenserAvailabilitySchedule() { | |
| 519 | ✗ | bool result = setString(OS_Refrigeration_Condenser_EvaporativeCooledFields::EvaporativeCondenserAvailabilityScheduleName, ""); | |
| 520 | ✗ | OS_ASSERT(result); | |
| 521 | ✗ | } | |
| 522 | |||
| 523 | 3 | bool RefrigerationCondenserEvaporativeCooled_Impl::setEndUseSubcategory(const std::string& endUseSubcategory) { | |
| 524 | 3 | bool result = setString(OS_Refrigeration_Condenser_EvaporativeCooledFields::EndUseSubcategory, endUseSubcategory); | |
| 525 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 3 times.
|
3 | OS_ASSERT(result); |
| 526 | 3 | return result; | |
| 527 | } | ||
| 528 | |||
| 529 | 1 | void RefrigerationCondenserEvaporativeCooled_Impl::resetEndUseSubcategory() { | |
| 530 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_Refrigeration_Condenser_EvaporativeCooledFields::EndUseSubcategory, ""); |
| 531 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 532 | 1 | } | |
| 533 | |||
| 534 | 3 | bool RefrigerationCondenserEvaporativeCooled_Impl::setCondenserRefrigerantOperatingChargeInventory( | |
| 535 | double condenserRefrigerantOperatingChargeInventory) { | ||
| 536 | 3 | bool result = setDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::CondenserRefrigerantOperatingChargeInventory, | |
| 537 | condenserRefrigerantOperatingChargeInventory); | ||
| 538 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 3 times.
|
3 | OS_ASSERT(result); |
| 539 | 3 | return result; | |
| 540 | } | ||
| 541 | |||
| 542 | 1 | void RefrigerationCondenserEvaporativeCooled_Impl::resetCondenserRefrigerantOperatingChargeInventory() { | |
| 543 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_Refrigeration_Condenser_EvaporativeCooledFields::CondenserRefrigerantOperatingChargeInventory, ""); |
| 544 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 545 | 1 | } | |
| 546 | |||
| 547 | 3 | bool RefrigerationCondenserEvaporativeCooled_Impl::setCondensateReceiverRefrigerantInventory(double condensateReceiverRefrigerantInventory) { | |
| 548 | bool result = | ||
| 549 | 3 | setDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::CondensateReceiverRefrigerantInventory, condensateReceiverRefrigerantInventory); | |
| 550 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 3 times.
|
3 | OS_ASSERT(result); |
| 551 | 3 | return result; | |
| 552 | } | ||
| 553 | |||
| 554 | 1 | void RefrigerationCondenserEvaporativeCooled_Impl::resetCondensateReceiverRefrigerantInventory() { | |
| 555 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_Refrigeration_Condenser_EvaporativeCooledFields::CondensateReceiverRefrigerantInventory, ""); |
| 556 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 557 | 1 | } | |
| 558 | |||
| 559 | 3 | bool RefrigerationCondenserEvaporativeCooled_Impl::setCondensatePipingRefrigerantInventory(double condensatePipingRefrigerantInventory) { | |
| 560 | bool result = | ||
| 561 | 3 | setDouble(OS_Refrigeration_Condenser_EvaporativeCooledFields::CondensatePipingRefrigerantInventory, condensatePipingRefrigerantInventory); | |
| 562 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 3 times.
|
3 | OS_ASSERT(result); |
| 563 | 3 | return result; | |
| 564 | } | ||
| 565 | |||
| 566 | 1 | void RefrigerationCondenserEvaporativeCooled_Impl::resetCondensatePipingRefrigerantInventory() { | |
| 567 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_Refrigeration_Condenser_EvaporativeCooledFields::CondensatePipingRefrigerantInventory, ""); |
| 568 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 569 | 1 | } | |
| 570 | |||
| 571 | 8 | boost::optional<RefrigerationSystem> RefrigerationCondenserEvaporativeCooled_Impl::system() const { | |
| 572 | |||
| 573 | 8 | boost::optional<RefrigerationSystem> system; | |
| 574 | // We use getModelObjectSources to check if more than one | ||
| 575 | std::vector<RefrigerationSystem> systems = | ||
| 576 |
3/3✓ Branch 1 taken 8 times.
✓ Branch 4 taken 8 times.
✓ Branch 7 taken 8 times.
|
8 | getObject<ModelObject>().getModelObjectSources<RefrigerationSystem>(RefrigerationSystem::iddObjectType()); |
| 577 | |||
| 578 |
2/2✓ Branch 1 taken 5 times.
✓ Branch 2 taken 3 times.
|
8 | if (!systems.empty()) { |
| 579 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
|
5 | if (systems.size() > 1u) { |
| 580 | ✗ | LOG(Error, briefDescription() << " is referenced by more than one RefrigerationSystem, returning the first"); | |
| 581 | } | ||
| 582 |
1/1✓ Branch 2 taken 5 times.
|
5 | system = systems[0]; |
| 583 | } | ||
| 584 | 16 | return system; | |
| 585 | 8 | } | |
| 586 | |||
| 587 | } // namespace detail | ||
| 588 | |||
| 589 | 27 | RefrigerationCondenserEvaporativeCooled::RefrigerationCondenserEvaporativeCooled(const Model& model) | |
| 590 | 27 | : ParentObject(RefrigerationCondenserEvaporativeCooled::iddObjectType(), model) { | |
| 591 |
1/3✗ Branch 2 not taken.
✓ Branch 3 taken 27 times.
✗ Branch 5 not taken.
|
27 | OS_ASSERT(getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()); |
| 592 | |||
| 593 |
1/1✓ Branch 1 taken 27 times.
|
27 | bool ok = setRatedEffectiveTotalHeatRejectionRate(43100.0); |
| 594 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 27 times.
✗ Branch 3 not taken.
|
27 | OS_ASSERT(ok); |
| 595 |
1/1✓ Branch 1 taken 27 times.
|
27 | ok = setRatedSubcoolingTemperatureDifference(0.0); |
| 596 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 27 times.
✗ Branch 3 not taken.
|
27 | OS_ASSERT(ok); |
| 597 |
2/2✓ Branch 1 taken 27 times.
✓ Branch 4 taken 27 times.
|
27 | ok = setFanSpeedControlType("VariableSpeed"); |
| 598 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 27 times.
✗ Branch 3 not taken.
|
27 | OS_ASSERT(ok); |
| 599 |
1/1✓ Branch 1 taken 27 times.
|
27 | ok = setRatedFanPower(373.0); |
| 600 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 27 times.
✗ Branch 3 not taken.
|
27 | OS_ASSERT(ok); |
| 601 |
1/1✓ Branch 1 taken 27 times.
|
27 | ok = setMinimumFanAirFlowRatio(0.2); |
| 602 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 27 times.
✗ Branch 3 not taken.
|
27 | OS_ASSERT(ok); |
| 603 |
1/1✓ Branch 1 taken 27 times.
|
27 | ok = setApproachTemperatureConstantTerm(6.63); |
| 604 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 27 times.
✗ Branch 3 not taken.
|
27 | OS_ASSERT(ok); |
| 605 |
1/1✓ Branch 1 taken 27 times.
|
27 | ok = setApproachTemperatureCoefficient2(0.468); |
| 606 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 27 times.
✗ Branch 3 not taken.
|
27 | OS_ASSERT(ok); |
| 607 |
1/1✓ Branch 1 taken 27 times.
|
27 | ok = setApproachTemperatureCoefficient3(17.93); |
| 608 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 27 times.
✗ Branch 3 not taken.
|
27 | OS_ASSERT(ok); |
| 609 |
1/1✓ Branch 1 taken 27 times.
|
27 | ok = setApproachTemperatureCoefficient4(-0.322); |
| 610 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 27 times.
✗ Branch 3 not taken.
|
27 | OS_ASSERT(ok); |
| 611 |
1/1✓ Branch 1 taken 27 times.
|
27 | setMinimumCapacityFactor(0.6); |
| 612 |
1/1✓ Branch 1 taken 27 times.
|
27 | setMaximumCapacityFactor(4.8); |
| 613 |
1/1✓ Branch 1 taken 27 times.
|
27 | setRatedAirFlowRate(1.37); |
| 614 |
1/1✓ Branch 1 taken 27 times.
|
27 | ok = setBasinHeaterCapacity(66.7); |
| 615 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 27 times.
✗ Branch 3 not taken.
|
27 | OS_ASSERT(ok); |
| 616 |
1/1✓ Branch 1 taken 27 times.
|
27 | ok = setBasinHeaterSetpointTemperature(2.0); |
| 617 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 27 times.
✗ Branch 3 not taken.
|
27 | OS_ASSERT(ok); |
| 618 |
1/1✓ Branch 1 taken 27 times.
|
27 | setRatedWaterPumpPower(250.0); |
| 619 | 27 | } | |
| 620 | |||
| 621 | 7659 | IddObjectType RefrigerationCondenserEvaporativeCooled::iddObjectType() { | |
| 622 |
1/1✓ Branch 1 taken 7659 times.
|
7659 | return {IddObjectType::OS_Refrigeration_Condenser_EvaporativeCooled}; |
| 623 | } | ||
| 624 | |||
| 625 | ✗ | std::vector<std::string> RefrigerationCondenserEvaporativeCooled::fanSpeedControlTypeValues() { | |
| 626 | ✗ | return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), | |
| 627 | ✗ | OS_Refrigeration_Condenser_EvaporativeCooledFields::FanSpeedControlType); | |
| 628 | } | ||
| 629 | |||
| 630 | 7 | double RefrigerationCondenserEvaporativeCooled::ratedEffectiveTotalHeatRejectionRate() const { | |
| 631 |
1/1✓ Branch 3 taken 7 times.
|
7 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->ratedEffectiveTotalHeatRejectionRate(); |
| 632 | } | ||
| 633 | |||
| 634 | 8 | double RefrigerationCondenserEvaporativeCooled::ratedSubcoolingTemperatureDifference() const { | |
| 635 |
1/1✓ Branch 3 taken 8 times.
|
8 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->ratedSubcoolingTemperatureDifference(); |
| 636 | } | ||
| 637 | |||
| 638 | ✗ | bool RefrigerationCondenserEvaporativeCooled::isRatedSubcoolingTemperatureDifferenceDefaulted() const { | |
| 639 | ✗ | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->isRatedSubcoolingTemperatureDifferenceDefaulted(); | |
| 640 | } | ||
| 641 | |||
| 642 | 11 | std::string RefrigerationCondenserEvaporativeCooled::fanSpeedControlType() const { | |
| 643 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->fanSpeedControlType(); |
| 644 | } | ||
| 645 | |||
| 646 | ✗ | bool RefrigerationCondenserEvaporativeCooled::isFanSpeedControlTypeDefaulted() const { | |
| 647 | ✗ | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->isFanSpeedControlTypeDefaulted(); | |
| 648 | } | ||
| 649 | |||
| 650 | 5 | double RefrigerationCondenserEvaporativeCooled::ratedFanPower() const { | |
| 651 |
1/1✓ Branch 3 taken 5 times.
|
5 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->ratedFanPower(); |
| 652 | } | ||
| 653 | |||
| 654 | 8 | double RefrigerationCondenserEvaporativeCooled::minimumFanAirFlowRatio() const { | |
| 655 |
1/1✓ Branch 3 taken 8 times.
|
8 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->minimumFanAirFlowRatio(); |
| 656 | } | ||
| 657 | |||
| 658 | ✗ | bool RefrigerationCondenserEvaporativeCooled::isMinimumFanAirFlowRatioDefaulted() const { | |
| 659 | ✗ | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->isMinimumFanAirFlowRatioDefaulted(); | |
| 660 | } | ||
| 661 | |||
| 662 | 8 | double RefrigerationCondenserEvaporativeCooled::approachTemperatureConstantTerm() const { | |
| 663 |
1/1✓ Branch 3 taken 8 times.
|
8 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->approachTemperatureConstantTerm(); |
| 664 | } | ||
| 665 | |||
| 666 | ✗ | bool RefrigerationCondenserEvaporativeCooled::isApproachTemperatureConstantTermDefaulted() const { | |
| 667 | ✗ | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->isApproachTemperatureConstantTermDefaulted(); | |
| 668 | } | ||
| 669 | |||
| 670 | 8 | double RefrigerationCondenserEvaporativeCooled::approachTemperatureCoefficient2() const { | |
| 671 |
1/1✓ Branch 3 taken 8 times.
|
8 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->approachTemperatureCoefficient2(); |
| 672 | } | ||
| 673 | |||
| 674 | ✗ | bool RefrigerationCondenserEvaporativeCooled::isApproachTemperatureCoefficient2Defaulted() const { | |
| 675 | ✗ | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->isApproachTemperatureCoefficient2Defaulted(); | |
| 676 | } | ||
| 677 | |||
| 678 | 8 | double RefrigerationCondenserEvaporativeCooled::approachTemperatureCoefficient3() const { | |
| 679 |
1/1✓ Branch 3 taken 8 times.
|
8 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->approachTemperatureCoefficient3(); |
| 680 | } | ||
| 681 | |||
| 682 | ✗ | bool RefrigerationCondenserEvaporativeCooled::isApproachTemperatureCoefficient3Defaulted() const { | |
| 683 | ✗ | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->isApproachTemperatureCoefficient3Defaulted(); | |
| 684 | } | ||
| 685 | |||
| 686 | 8 | double RefrigerationCondenserEvaporativeCooled::approachTemperatureCoefficient4() const { | |
| 687 |
1/1✓ Branch 3 taken 8 times.
|
8 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->approachTemperatureCoefficient4(); |
| 688 | } | ||
| 689 | |||
| 690 | ✗ | bool RefrigerationCondenserEvaporativeCooled::isApproachTemperatureCoefficient4Defaulted() const { | |
| 691 | ✗ | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->isApproachTemperatureCoefficient4Defaulted(); | |
| 692 | } | ||
| 693 | |||
| 694 | 7 | double RefrigerationCondenserEvaporativeCooled::minimumCapacityFactor() const { | |
| 695 |
1/1✓ Branch 3 taken 7 times.
|
7 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->minimumCapacityFactor(); |
| 696 | } | ||
| 697 | |||
| 698 | ✗ | bool RefrigerationCondenserEvaporativeCooled::isMinimumCapacityFactorDefaulted() const { | |
| 699 | ✗ | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->isMinimumCapacityFactorDefaulted(); | |
| 700 | } | ||
| 701 | |||
| 702 | 7 | double RefrigerationCondenserEvaporativeCooled::maximumCapacityFactor() const { | |
| 703 |
1/1✓ Branch 3 taken 7 times.
|
7 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->maximumCapacityFactor(); |
| 704 | } | ||
| 705 | |||
| 706 | ✗ | bool RefrigerationCondenserEvaporativeCooled::isMaximumCapacityFactorDefaulted() const { | |
| 707 | ✗ | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->isMaximumCapacityFactorDefaulted(); | |
| 708 | } | ||
| 709 | |||
| 710 | // std::string RefrigerationCondenserEvaporativeCooled::airInletNode() const { | ||
| 711 | // return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->airInletNode(); | ||
| 712 | // } | ||
| 713 | |||
| 714 | 4 | boost::optional<double> RefrigerationCondenserEvaporativeCooled::ratedAirFlowRate() const { | |
| 715 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->ratedAirFlowRate(); |
| 716 | } | ||
| 717 | |||
| 718 | ✗ | bool RefrigerationCondenserEvaporativeCooled::isRatedAirFlowRateDefaulted() const { | |
| 719 | ✗ | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->isRatedAirFlowRateDefaulted(); | |
| 720 | } | ||
| 721 | |||
| 722 | 1 | bool RefrigerationCondenserEvaporativeCooled::isRatedAirFlowRateAutocalculated() const { | |
| 723 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->isRatedAirFlowRateAutocalculated(); |
| 724 | } | ||
| 725 | |||
| 726 | 8 | double RefrigerationCondenserEvaporativeCooled::basinHeaterCapacity() const { | |
| 727 |
1/1✓ Branch 3 taken 8 times.
|
8 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->basinHeaterCapacity(); |
| 728 | } | ||
| 729 | |||
| 730 | ✗ | bool RefrigerationCondenserEvaporativeCooled::isBasinHeaterCapacityDefaulted() const { | |
| 731 | ✗ | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->isBasinHeaterCapacityDefaulted(); | |
| 732 | } | ||
| 733 | |||
| 734 | 8 | double RefrigerationCondenserEvaporativeCooled::basinHeaterSetpointTemperature() const { | |
| 735 |
1/1✓ Branch 3 taken 8 times.
|
8 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->basinHeaterSetpointTemperature(); |
| 736 | } | ||
| 737 | |||
| 738 | ✗ | bool RefrigerationCondenserEvaporativeCooled::isBasinHeaterSetpointTemperatureDefaulted() const { | |
| 739 | ✗ | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->isBasinHeaterSetpointTemperatureDefaulted(); | |
| 740 | } | ||
| 741 | |||
| 742 | 7 | boost::optional<double> RefrigerationCondenserEvaporativeCooled::ratedWaterPumpPower() const { | |
| 743 |
1/1✓ Branch 3 taken 7 times.
|
7 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->ratedWaterPumpPower(); |
| 744 | } | ||
| 745 | |||
| 746 | ✗ | bool RefrigerationCondenserEvaporativeCooled::isRatedWaterPumpPowerDefaulted() const { | |
| 747 | ✗ | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->isRatedWaterPumpPowerDefaulted(); | |
| 748 | } | ||
| 749 | |||
| 750 | 2 | bool RefrigerationCondenserEvaporativeCooled::isRatedWaterPumpPowerAutocalculated() const { | |
| 751 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->isRatedWaterPumpPowerAutocalculated(); |
| 752 | } | ||
| 753 | |||
| 754 | /*boost::optional<WaterStorageTank> RefrigerationCondenserEvaporativeCooled::evaporativeWaterSupplyTank() const { | ||
| 755 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->evaporativeWaterSupplyTank(); | ||
| 756 | }*/ | ||
| 757 | |||
| 758 | 4 | boost::optional<Schedule> RefrigerationCondenserEvaporativeCooled::evaporativeCondenserAvailabilitySchedule() const { | |
| 759 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->evaporativeCondenserAvailabilitySchedule(); |
| 760 | } | ||
| 761 | |||
| 762 | 5 | std::string RefrigerationCondenserEvaporativeCooled::endUseSubcategory() const { | |
| 763 |
1/1✓ Branch 3 taken 5 times.
|
5 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->endUseSubcategory(); |
| 764 | } | ||
| 765 | |||
| 766 | ✗ | bool RefrigerationCondenserEvaporativeCooled::isEndUseSubcategoryDefaulted() const { | |
| 767 | ✗ | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->isEndUseSubcategoryDefaulted(); | |
| 768 | } | ||
| 769 | |||
| 770 | 5 | double RefrigerationCondenserEvaporativeCooled::condenserRefrigerantOperatingChargeInventory() const { | |
| 771 |
1/1✓ Branch 3 taken 5 times.
|
5 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->condenserRefrigerantOperatingChargeInventory(); |
| 772 | } | ||
| 773 | |||
| 774 | ✗ | bool RefrigerationCondenserEvaporativeCooled::isCondenserRefrigerantOperatingChargeInventoryDefaulted() const { | |
| 775 | ✗ | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->isCondenserRefrigerantOperatingChargeInventoryDefaulted(); | |
| 776 | } | ||
| 777 | |||
| 778 | 5 | double RefrigerationCondenserEvaporativeCooled::condensateReceiverRefrigerantInventory() const { | |
| 779 |
1/1✓ Branch 3 taken 5 times.
|
5 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->condensateReceiverRefrigerantInventory(); |
| 780 | } | ||
| 781 | |||
| 782 | ✗ | bool RefrigerationCondenserEvaporativeCooled::isCondensateReceiverRefrigerantInventoryDefaulted() const { | |
| 783 | ✗ | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->isCondensateReceiverRefrigerantInventoryDefaulted(); | |
| 784 | } | ||
| 785 | |||
| 786 | 5 | double RefrigerationCondenserEvaporativeCooled::condensatePipingRefrigerantInventory() const { | |
| 787 |
1/1✓ Branch 3 taken 5 times.
|
5 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->condensatePipingRefrigerantInventory(); |
| 788 | } | ||
| 789 | |||
| 790 | ✗ | bool RefrigerationCondenserEvaporativeCooled::isCondensatePipingRefrigerantInventoryDefaulted() const { | |
| 791 | ✗ | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->isCondensatePipingRefrigerantInventoryDefaulted(); | |
| 792 | } | ||
| 793 | |||
| 794 | 31 | bool RefrigerationCondenserEvaporativeCooled::setRatedEffectiveTotalHeatRejectionRate(double ratedEffectiveTotalHeatRejectionRate) { | |
| 795 |
1/1✓ Branch 3 taken 31 times.
|
62 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->setRatedEffectiveTotalHeatRejectionRate( |
| 796 | 62 | ratedEffectiveTotalHeatRejectionRate); | |
| 797 | } | ||
| 798 | |||
| 799 | 32 | bool RefrigerationCondenserEvaporativeCooled::setRatedSubcoolingTemperatureDifference(double ratedSubcoolingTemperatureDifference) { | |
| 800 |
1/1✓ Branch 3 taken 32 times.
|
64 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->setRatedSubcoolingTemperatureDifference( |
| 801 | 64 | ratedSubcoolingTemperatureDifference); | |
| 802 | } | ||
| 803 | |||
| 804 | 1 | void RefrigerationCondenserEvaporativeCooled::resetRatedSubcoolingTemperatureDifference() { | |
| 805 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->resetRatedSubcoolingTemperatureDifference(); |
| 806 | 1 | } | |
| 807 | |||
| 808 | 35 | bool RefrigerationCondenserEvaporativeCooled::setFanSpeedControlType(const std::string& fanSpeedControlType) { | |
| 809 |
1/1✓ Branch 3 taken 35 times.
|
35 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->setFanSpeedControlType(fanSpeedControlType); |
| 810 | } | ||
| 811 | |||
| 812 | 1 | void RefrigerationCondenserEvaporativeCooled::resetFanSpeedControlType() { | |
| 813 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->resetFanSpeedControlType(); |
| 814 | 1 | } | |
| 815 | |||
| 816 | 31 | bool RefrigerationCondenserEvaporativeCooled::setRatedFanPower(double ratedFanPower) { | |
| 817 |
1/1✓ Branch 3 taken 31 times.
|
31 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->setRatedFanPower(ratedFanPower); |
| 818 | } | ||
| 819 | |||
| 820 | 32 | bool RefrigerationCondenserEvaporativeCooled::setMinimumFanAirFlowRatio(double minimumFanAirFlowRatio) { | |
| 821 |
1/1✓ Branch 3 taken 32 times.
|
32 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->setMinimumFanAirFlowRatio(minimumFanAirFlowRatio); |
| 822 | } | ||
| 823 | |||
| 824 | 1 | void RefrigerationCondenserEvaporativeCooled::resetMinimumFanAirFlowRatio() { | |
| 825 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->resetMinimumFanAirFlowRatio(); |
| 826 | 1 | } | |
| 827 | |||
| 828 | 35 | bool RefrigerationCondenserEvaporativeCooled::setApproachTemperatureConstantTerm(double approachTemperatureConstantTerm) { | |
| 829 |
1/1✓ Branch 3 taken 35 times.
|
35 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->setApproachTemperatureConstantTerm(approachTemperatureConstantTerm); |
| 830 | } | ||
| 831 | |||
| 832 | 1 | void RefrigerationCondenserEvaporativeCooled::resetApproachTemperatureConstantTerm() { | |
| 833 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->resetApproachTemperatureConstantTerm(); |
| 834 | 1 | } | |
| 835 | |||
| 836 | 35 | bool RefrigerationCondenserEvaporativeCooled::setApproachTemperatureCoefficient2(double approachTemperatureCoefficient2) { | |
| 837 |
1/1✓ Branch 3 taken 35 times.
|
35 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->setApproachTemperatureCoefficient2(approachTemperatureCoefficient2); |
| 838 | } | ||
| 839 | |||
| 840 | 1 | void RefrigerationCondenserEvaporativeCooled::resetApproachTemperatureCoefficient2() { | |
| 841 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->resetApproachTemperatureCoefficient2(); |
| 842 | 1 | } | |
| 843 | |||
| 844 | 35 | bool RefrigerationCondenserEvaporativeCooled::setApproachTemperatureCoefficient3(double approachTemperatureCoefficient3) { | |
| 845 |
1/1✓ Branch 3 taken 35 times.
|
35 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->setApproachTemperatureCoefficient3(approachTemperatureCoefficient3); |
| 846 | } | ||
| 847 | |||
| 848 | 1 | void RefrigerationCondenserEvaporativeCooled::resetApproachTemperatureCoefficient3() { | |
| 849 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->resetApproachTemperatureCoefficient3(); |
| 850 | 1 | } | |
| 851 | |||
| 852 | 35 | bool RefrigerationCondenserEvaporativeCooled::setApproachTemperatureCoefficient4(double approachTemperatureCoefficient4) { | |
| 853 |
1/1✓ Branch 3 taken 35 times.
|
35 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->setApproachTemperatureCoefficient4(approachTemperatureCoefficient4); |
| 854 | } | ||
| 855 | |||
| 856 | 1 | void RefrigerationCondenserEvaporativeCooled::resetApproachTemperatureCoefficient4() { | |
| 857 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->resetApproachTemperatureCoefficient4(); |
| 858 | 1 | } | |
| 859 | |||
| 860 | 30 | bool RefrigerationCondenserEvaporativeCooled::setMinimumCapacityFactor(double minimumCapacityFactor) { | |
| 861 |
1/1✓ Branch 3 taken 30 times.
|
30 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->setMinimumCapacityFactor(minimumCapacityFactor); |
| 862 | } | ||
| 863 | |||
| 864 | 1 | void RefrigerationCondenserEvaporativeCooled::resetMinimumCapacityFactor() { | |
| 865 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->resetMinimumCapacityFactor(); |
| 866 | 1 | } | |
| 867 | |||
| 868 | 30 | bool RefrigerationCondenserEvaporativeCooled::setMaximumCapacityFactor(double maximumCapacityFactor) { | |
| 869 |
1/1✓ Branch 3 taken 30 times.
|
30 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->setMaximumCapacityFactor(maximumCapacityFactor); |
| 870 | } | ||
| 871 | |||
| 872 | 1 | void RefrigerationCondenserEvaporativeCooled::resetMaximumCapacityFactor() { | |
| 873 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->resetMaximumCapacityFactor(); |
| 874 | 1 | } | |
| 875 | |||
| 876 | // bool RefrigerationCondenserEvaporativeCooled::setAirInletNode(const std::string& airInletNode) { | ||
| 877 | // return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->setAirInletNode(airInletNode); | ||
| 878 | // } | ||
| 879 | |||
| 880 | // void RefrigerationCondenserEvaporativeCooled::resetAirInletNode() { | ||
| 881 | // getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->resetAirInletNode(); | ||
| 882 | // } | ||
| 883 | |||
| 884 | 28 | bool RefrigerationCondenserEvaporativeCooled::setRatedAirFlowRate(double ratedAirFlowRate) { | |
| 885 |
2/2✓ Branch 3 taken 28 times.
✓ Branch 6 taken 28 times.
|
28 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->setRatedAirFlowRate(ratedAirFlowRate); |
| 886 | } | ||
| 887 | |||
| 888 | ✗ | void RefrigerationCondenserEvaporativeCooled::resetRatedAirFlowRate() { | |
| 889 | ✗ | getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->resetRatedAirFlowRate(); | |
| 890 | ✗ | } | |
| 891 | |||
| 892 | 1 | void RefrigerationCondenserEvaporativeCooled::autocalculateRatedAirFlowRate() { | |
| 893 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->autocalculateRatedAirFlowRate(); |
| 894 | 1 | } | |
| 895 | |||
| 896 | 32 | bool RefrigerationCondenserEvaporativeCooled::setBasinHeaterCapacity(double basinHeaterCapacity) { | |
| 897 |
1/1✓ Branch 3 taken 32 times.
|
32 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->setBasinHeaterCapacity(basinHeaterCapacity); |
| 898 | } | ||
| 899 | |||
| 900 | 1 | void RefrigerationCondenserEvaporativeCooled::resetBasinHeaterCapacity() { | |
| 901 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->resetBasinHeaterCapacity(); |
| 902 | 1 | } | |
| 903 | |||
| 904 | 32 | bool RefrigerationCondenserEvaporativeCooled::setBasinHeaterSetpointTemperature(double basinHeaterSetpointTemperature) { | |
| 905 |
1/1✓ Branch 3 taken 32 times.
|
32 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->setBasinHeaterSetpointTemperature(basinHeaterSetpointTemperature); |
| 906 | } | ||
| 907 | |||
| 908 | 1 | void RefrigerationCondenserEvaporativeCooled::resetBasinHeaterSetpointTemperature() { | |
| 909 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->resetBasinHeaterSetpointTemperature(); |
| 910 | 1 | } | |
| 911 | |||
| 912 | 29 | bool RefrigerationCondenserEvaporativeCooled::setRatedWaterPumpPower(double ratedWaterPumpPower) { | |
| 913 |
2/2✓ Branch 3 taken 29 times.
✓ Branch 6 taken 29 times.
|
29 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->setRatedWaterPumpPower(ratedWaterPumpPower); |
| 914 | } | ||
| 915 | |||
| 916 | 1 | void RefrigerationCondenserEvaporativeCooled::resetRatedWaterPumpPower() { | |
| 917 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->resetRatedWaterPumpPower(); |
| 918 | 1 | } | |
| 919 | |||
| 920 | 2 | void RefrigerationCondenserEvaporativeCooled::autocalculateRatedWaterPumpPower() { | |
| 921 |
1/1✓ Branch 3 taken 2 times.
|
2 | getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->autocalculateRatedWaterPumpPower(); |
| 922 | 2 | } | |
| 923 | |||
| 924 | /*bool RefrigerationCondenserEvaporativeCooled::setEvaporativeWaterSupplyTank(const WaterStorageTank& waterStorageTank) { | ||
| 925 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->setEvaporativeWaterSupplyTank(waterStorageTank); | ||
| 926 | } | ||
| 927 | |||
| 928 | void RefrigerationCondenserEvaporativeCooled::resetEvaporativeWaterSupplyTank() { | ||
| 929 | getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->resetEvaporativeWaterSupplyTank(); | ||
| 930 | }*/ | ||
| 931 | |||
| 932 | 1 | bool RefrigerationCondenserEvaporativeCooled::setEvaporativeCondenserAvailabilitySchedule(Schedule& schedule) { | |
| 933 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->setEvaporativeCondenserAvailabilitySchedule(schedule); |
| 934 | } | ||
| 935 | |||
| 936 | ✗ | void RefrigerationCondenserEvaporativeCooled::resetEvaporativeCondenserAvailabilitySchedule() { | |
| 937 | ✗ | getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->resetEvaporativeCondenserAvailabilitySchedule(); | |
| 938 | ✗ | } | |
| 939 | |||
| 940 | 3 | bool RefrigerationCondenserEvaporativeCooled::setEndUseSubcategory(const std::string& endUseSubcategory) { | |
| 941 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->setEndUseSubcategory(endUseSubcategory); |
| 942 | } | ||
| 943 | |||
| 944 | 1 | void RefrigerationCondenserEvaporativeCooled::resetEndUseSubcategory() { | |
| 945 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->resetEndUseSubcategory(); |
| 946 | 1 | } | |
| 947 | |||
| 948 | 3 | bool RefrigerationCondenserEvaporativeCooled::setCondenserRefrigerantOperatingChargeInventory(double condenserRefrigerantOperatingChargeInventory) { | |
| 949 |
1/1✓ Branch 3 taken 3 times.
|
6 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->setCondenserRefrigerantOperatingChargeInventory( |
| 950 | 6 | condenserRefrigerantOperatingChargeInventory); | |
| 951 | } | ||
| 952 | |||
| 953 | 1 | void RefrigerationCondenserEvaporativeCooled::resetCondenserRefrigerantOperatingChargeInventory() { | |
| 954 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->resetCondenserRefrigerantOperatingChargeInventory(); |
| 955 | 1 | } | |
| 956 | |||
| 957 | 3 | bool RefrigerationCondenserEvaporativeCooled::setCondensateReceiverRefrigerantInventory(double condensateReceiverRefrigerantInventory) { | |
| 958 |
1/1✓ Branch 3 taken 3 times.
|
6 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->setCondensateReceiverRefrigerantInventory( |
| 959 | 6 | condensateReceiverRefrigerantInventory); | |
| 960 | } | ||
| 961 | |||
| 962 | 1 | void RefrigerationCondenserEvaporativeCooled::resetCondensateReceiverRefrigerantInventory() { | |
| 963 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->resetCondensateReceiverRefrigerantInventory(); |
| 964 | 1 | } | |
| 965 | |||
| 966 | 3 | bool RefrigerationCondenserEvaporativeCooled::setCondensatePipingRefrigerantInventory(double condensatePipingRefrigerantInventory) { | |
| 967 |
1/1✓ Branch 3 taken 3 times.
|
6 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->setCondensatePipingRefrigerantInventory( |
| 968 | 6 | condensatePipingRefrigerantInventory); | |
| 969 | } | ||
| 970 | |||
| 971 | 1 | void RefrigerationCondenserEvaporativeCooled::resetCondensatePipingRefrigerantInventory() { | |
| 972 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->resetCondensatePipingRefrigerantInventory(); |
| 973 | 1 | } | |
| 974 | |||
| 975 | 8 | boost::optional<RefrigerationSystem> RefrigerationCondenserEvaporativeCooled::system() const { | |
| 976 |
1/1✓ Branch 3 taken 8 times.
|
8 | return getImpl<detail::RefrigerationCondenserEvaporativeCooled_Impl>()->system(); |
| 977 | } | ||
| 978 | |||
| 979 | /// @cond | ||
| 980 | 16 | RefrigerationCondenserEvaporativeCooled::RefrigerationCondenserEvaporativeCooled( | |
| 981 | 16 | std::shared_ptr<detail::RefrigerationCondenserEvaporativeCooled_Impl> impl) | |
| 982 |
1/1✓ Branch 3 taken 16 times.
|
16 | : ParentObject(std::move(impl)) {} |
| 983 | /// @endcond | ||
| 984 | |||
| 985 | } // namespace model | ||
| 986 | } // namespace openstudio | ||
| 987 |