src/model/EvaporativeFluidCoolerTwoSpeed.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 "EvaporativeFluidCoolerTwoSpeed.hpp" | ||
| 7 | #include "EvaporativeFluidCoolerTwoSpeed_Impl.hpp" | ||
| 8 | |||
| 9 | #include "Schedule.hpp" | ||
| 10 | #include "Schedule_Impl.hpp" | ||
| 11 | // #include "WaterStorageTank.hpp" | ||
| 12 | // #include "WaterStorageTank_Impl.hpp" | ||
| 13 | #include "Node.hpp" | ||
| 14 | #include "ScheduleTypeLimits.hpp" | ||
| 15 | #include "ScheduleTypeRegistry.hpp" | ||
| 16 | |||
| 17 | #include "../utilities/core/Assert.hpp" | ||
| 18 | #include "../utilities/data/DataEnums.hpp" | ||
| 19 | |||
| 20 | #include <utilities/idd/IddFactory.hxx> | ||
| 21 | #include <utilities/idd/IddEnums.hxx> | ||
| 22 | #include <utilities/idd/OS_EvaporativeFluidCooler_TwoSpeed_FieldEnums.hxx> | ||
| 23 | |||
| 24 | namespace openstudio { | ||
| 25 | namespace model { | ||
| 26 | |||
| 27 | namespace detail { | ||
| 28 | |||
| 29 | 4 | EvaporativeFluidCoolerTwoSpeed_Impl::EvaporativeFluidCoolerTwoSpeed_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle) | |
| 30 | 4 | : StraightComponent_Impl(idfObject, model, keepHandle) { | |
| 31 |
4/6✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
✓ Branch 7 taken 4 times.
✗ Branch 10 not taken.
✓ Branch 11 taken 4 times.
✗ Branch 13 not taken.
|
4 | OS_ASSERT(idfObject.iddObject().type() == EvaporativeFluidCoolerTwoSpeed::iddObjectType()); |
| 32 | 4 | } | |
| 33 | |||
| 34 | 1 | EvaporativeFluidCoolerTwoSpeed_Impl::EvaporativeFluidCoolerTwoSpeed_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, | |
| 35 | 1 | bool keepHandle) | |
| 36 | 1 | : StraightComponent_Impl(other, model, keepHandle) { | |
| 37 |
4/6✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✗ Branch 10 not taken.
✓ Branch 11 taken 1 time.
✗ Branch 13 not taken.
|
1 | OS_ASSERT(other.iddObject().type() == EvaporativeFluidCoolerTwoSpeed::iddObjectType()); |
| 38 | 1 | } | |
| 39 | |||
| 40 | 1 | EvaporativeFluidCoolerTwoSpeed_Impl::EvaporativeFluidCoolerTwoSpeed_Impl(const EvaporativeFluidCoolerTwoSpeed_Impl& other, Model_Impl* model, | |
| 41 | 1 | bool keepHandle) | |
| 42 | 1 | : StraightComponent_Impl(other, model, keepHandle) {} | |
| 43 | |||
| 44 | ✗ | const std::vector<std::string>& EvaporativeFluidCoolerTwoSpeed_Impl::outputVariableNames() const { | |
| 45 | static const std::vector<std::string> result{ | ||
| 46 | "Cooling Tower Fan Electricity Rate", | ||
| 47 | "Cooling Tower Fan Electricity Energy", | ||
| 48 | "Cooling Tower Heat Transfer Rate", | ||
| 49 | "Cooling Tower Inlet Temperature", | ||
| 50 | "Cooling Tower Outlet Temperature", | ||
| 51 | "Cooling Tower Mass Flow Rate", | ||
| 52 | "Cooling Tower Make Up Water Volume Flow Rate", | ||
| 53 | "Cooling Tower Make Up Water Volume", | ||
| 54 | "Cooling Tower Water Evaporation Volume Flow Rate", | ||
| 55 | "Cooling Tower Water Evaporation Volume", | ||
| 56 | "Cooling Tower Water Drift Volume Flow Rate", | ||
| 57 | "Cooling Tower Water Drift Volume", | ||
| 58 | "Cooling Tower Water Blowdown Volume Flow Rate", | ||
| 59 | "Cooling Tower Water Blowdown Volume", | ||
| 60 | "Cooling Tower Make Up Mains Water Volume" | ||
| 61 | // If Supply Water Storage Tank Name is specified: | ||
| 62 | // TODO: storage tank not implemented for now | ||
| 63 | //"Cooling Tower Storage Tank Water Volume Flow Rate", | ||
| 64 | //"Cooling Tower Storage Tank Water Volume", | ||
| 65 | //"Cooling Tower Starved Storage Tank Water Volume Flow Rate", | ||
| 66 | //"Cooling Tower Starved Storage Tank Water Volume" | ||
| 67 | ✗ | }; | |
| 68 | ✗ | return result; | |
| 69 | ✗ | } | |
| 70 | |||
| 71 | ✗ | IddObjectType EvaporativeFluidCoolerTwoSpeed_Impl::iddObjectType() const { | |
| 72 | ✗ | return EvaporativeFluidCoolerTwoSpeed::iddObjectType(); | |
| 73 | } | ||
| 74 | |||
| 75 | ✗ | std::vector<ScheduleTypeKey> EvaporativeFluidCoolerTwoSpeed_Impl::getScheduleTypeKeys(const Schedule& schedule) const { | |
| 76 | // TODO: Check schedule display names. | ||
| 77 | ✗ | std::vector<ScheduleTypeKey> result; | |
| 78 | ✗ | UnsignedVector fieldIndices = getSourceIndices(schedule.handle()); | |
| 79 | ✗ | UnsignedVector::const_iterator b(fieldIndices.begin()); | |
| 80 | ✗ | UnsignedVector::const_iterator e(fieldIndices.end()); | |
| 81 | ✗ | if (std::find(b, e, OS_EvaporativeFluidCooler_TwoSpeedFields::BlowdownMakeupWaterUsageScheduleName) != e) { | |
| 82 | ✗ | result.push_back(ScheduleTypeKey("EvaporativeFluidCoolerTwoSpeed", "Blowdown Makeup Water Usage")); | |
| 83 | } | ||
| 84 | ✗ | return result; | |
| 85 | ✗ | } | |
| 86 | |||
| 87 | 1 | bool EvaporativeFluidCoolerTwoSpeed_Impl::addToNode(Node& node) { | |
| 88 |
2/3✓ Branch 1 taken 1 time.
✓ Branch 3 taken 1 time.
✗ Branch 4 not taken.
|
2 | if (auto plant = node.plantLoop()) { |
| 89 |
4/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✗ Branch 11 not taken.
|
2 | if (plant->supplyComponent(node.handle())) { |
| 90 |
1/1✓ Branch 1 taken 1 time.
|
1 | return StraightComponent_Impl::addToNode(node); |
| 91 | } | ||
| 92 | 1 | } | |
| 93 | ✗ | return false; | |
| 94 | } | ||
| 95 | |||
| 96 | 4 | unsigned EvaporativeFluidCoolerTwoSpeed_Impl::inletPort() const { | |
| 97 | 4 | return OS_EvaporativeFluidCooler_TwoSpeedFields::WaterInletNodeName; | |
| 98 | } | ||
| 99 | |||
| 100 | 13 | unsigned EvaporativeFluidCoolerTwoSpeed_Impl::outletPort() const { | |
| 101 | 13 | return OS_EvaporativeFluidCooler_TwoSpeedFields::WaterOutletNodeName; | |
| 102 | } | ||
| 103 | |||
| 104 | 1 | boost::optional<double> EvaporativeFluidCoolerTwoSpeed_Impl::highFanSpeedAirFlowRate() const { | |
| 105 | 1 | return getDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::HighFanSpeedAirFlowRate, true); | |
| 106 | } | ||
| 107 | |||
| 108 | 2 | bool EvaporativeFluidCoolerTwoSpeed_Impl::isHighFanSpeedAirFlowRateAutosized() const { | |
| 109 | 2 | bool result = false; | |
| 110 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<std::string> value = getString(OS_EvaporativeFluidCooler_TwoSpeedFields::HighFanSpeedAirFlowRate, true); |
| 111 |
1/2✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
|
2 | if (value) { |
| 112 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
4 | result = openstudio::istringEqual(value.get(), "autosize"); |
| 113 | } | ||
| 114 | 2 | return result; | |
| 115 | 2 | } | |
| 116 | |||
| 117 | 1 | boost::optional<double> EvaporativeFluidCoolerTwoSpeed_Impl::highFanSpeedFanPower() const { | |
| 118 | 1 | return getDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::HighFanSpeedFanPower, true); | |
| 119 | } | ||
| 120 | |||
| 121 | 2 | bool EvaporativeFluidCoolerTwoSpeed_Impl::isHighFanSpeedFanPowerAutosized() const { | |
| 122 | 2 | bool result = false; | |
| 123 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<std::string> value = getString(OS_EvaporativeFluidCooler_TwoSpeedFields::HighFanSpeedFanPower, true); |
| 124 |
1/2✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
|
2 | if (value) { |
| 125 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
4 | result = openstudio::istringEqual(value.get(), "autosize"); |
| 126 | } | ||
| 127 | 2 | return result; | |
| 128 | 2 | } | |
| 129 | |||
| 130 | 1 | boost::optional<double> EvaporativeFluidCoolerTwoSpeed_Impl::lowFanSpeedAirFlowRate() const { | |
| 131 | 1 | return getDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::LowFanSpeedAirFlowRate, true); | |
| 132 | } | ||
| 133 | |||
| 134 | 2 | bool EvaporativeFluidCoolerTwoSpeed_Impl::isLowFanSpeedAirFlowRateAutosized() const { | |
| 135 | 2 | bool result = false; | |
| 136 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<std::string> value = getString(OS_EvaporativeFluidCooler_TwoSpeedFields::LowFanSpeedAirFlowRate, true); |
| 137 |
1/2✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
|
2 | if (value) { |
| 138 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
4 | result = openstudio::istringEqual(value.get(), "autosize"); |
| 139 | } | ||
| 140 | 2 | return result; | |
| 141 | 2 | } | |
| 142 | |||
| 143 | 2 | double EvaporativeFluidCoolerTwoSpeed_Impl::lowFanSpeedAirFlowRateSizingFactor() const { | |
| 144 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<double> value = getDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::LowFanSpeedAirFlowRateSizingFactor, true); |
| 145 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
|
2 | OS_ASSERT(value); |
| 146 |
1/1✓ Branch 1 taken 2 times.
|
4 | return value.get(); |
| 147 | } | ||
| 148 | |||
| 149 | 1 | boost::optional<double> EvaporativeFluidCoolerTwoSpeed_Impl::lowFanSpeedFanPower() const { | |
| 150 | 1 | return getDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::LowFanSpeedFanPower, true); | |
| 151 | } | ||
| 152 | |||
| 153 | 2 | bool EvaporativeFluidCoolerTwoSpeed_Impl::isLowFanSpeedFanPowerAutosized() const { | |
| 154 | 2 | bool result = false; | |
| 155 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<std::string> value = getString(OS_EvaporativeFluidCooler_TwoSpeedFields::LowFanSpeedFanPower, true); |
| 156 |
1/2✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
|
2 | if (value) { |
| 157 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
4 | result = openstudio::istringEqual(value.get(), "autosize"); |
| 158 | } | ||
| 159 | 2 | return result; | |
| 160 | 2 | } | |
| 161 | |||
| 162 | 2 | double EvaporativeFluidCoolerTwoSpeed_Impl::lowFanSpeedFanPowerSizingFactor() const { | |
| 163 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<double> value = getDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::LowFanSpeedFanPowerSizingFactor, true); |
| 164 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
|
2 | OS_ASSERT(value); |
| 165 |
1/1✓ Branch 1 taken 2 times.
|
4 | return value.get(); |
| 166 | } | ||
| 167 | |||
| 168 | 2 | double EvaporativeFluidCoolerTwoSpeed_Impl::designSprayWaterFlowRate() const { | |
| 169 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<double> value = getDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::DesignSprayWaterFlowRate, true); |
| 170 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
|
2 | OS_ASSERT(value); |
| 171 |
1/1✓ Branch 1 taken 2 times.
|
4 | return value.get(); |
| 172 | } | ||
| 173 | |||
| 174 | 2 | std::string EvaporativeFluidCoolerTwoSpeed_Impl::performanceInputMethod() const { | |
| 175 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<std::string> value = getString(OS_EvaporativeFluidCooler_TwoSpeedFields::PerformanceInputMethod, true); |
| 176 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
|
2 | OS_ASSERT(value); |
| 177 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
|
4 | return value.get(); |
| 178 | 2 | } | |
| 179 | |||
| 180 | ✗ | boost::optional<std::string> EvaporativeFluidCoolerTwoSpeed_Impl::outdoorAirInletNodeName() const { | |
| 181 | ✗ | return getString(OS_EvaporativeFluidCooler_TwoSpeedFields::OutdoorAirInletNodeName, true); | |
| 182 | } | ||
| 183 | |||
| 184 | 2 | double EvaporativeFluidCoolerTwoSpeed_Impl::heatRejectionCapacityandNominalCapacitySizingRatio() const { | |
| 185 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<double> value = getDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::HeatRejectionCapacityandNominalCapacitySizingRatio, true); |
| 186 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
|
2 | OS_ASSERT(value); |
| 187 |
1/1✓ Branch 1 taken 2 times.
|
4 | return value.get(); |
| 188 | } | ||
| 189 | |||
| 190 | 1 | boost::optional<double> EvaporativeFluidCoolerTwoSpeed_Impl::highSpeedStandardDesignCapacity() const { | |
| 191 | 1 | return getDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::HighSpeedStandardDesignCapacity, true); | |
| 192 | } | ||
| 193 | |||
| 194 | 1 | boost::optional<double> EvaporativeFluidCoolerTwoSpeed_Impl::lowSpeedStandardDesignCapacity() const { | |
| 195 | 1 | return getDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::LowSpeedStandardDesignCapacity, true); | |
| 196 | } | ||
| 197 | |||
| 198 | 2 | bool EvaporativeFluidCoolerTwoSpeed_Impl::isLowSpeedStandardDesignCapacityAutosized() const { | |
| 199 | 2 | bool result = false; | |
| 200 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<std::string> value = getString(OS_EvaporativeFluidCooler_TwoSpeedFields::LowSpeedStandardDesignCapacity, true); |
| 201 |
1/2✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
|
2 | if (value) { |
| 202 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
4 | result = openstudio::istringEqual(value.get(), "autosize"); |
| 203 | } | ||
| 204 | 2 | return result; | |
| 205 | 2 | } | |
| 206 | |||
| 207 | 2 | double EvaporativeFluidCoolerTwoSpeed_Impl::lowSpeedStandardCapacitySizingFactor() const { | |
| 208 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<double> value = getDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::LowSpeedStandardCapacitySizingFactor, true); |
| 209 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
|
2 | OS_ASSERT(value); |
| 210 |
1/1✓ Branch 1 taken 2 times.
|
4 | return value.get(); |
| 211 | } | ||
| 212 | |||
| 213 | 1 | boost::optional<double> EvaporativeFluidCoolerTwoSpeed_Impl::highFanSpeedUfactorTimesAreaValue() const { | |
| 214 | 1 | return getDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::HighFanSpeedUfactorTimesAreaValue, true); | |
| 215 | } | ||
| 216 | |||
| 217 | 2 | bool EvaporativeFluidCoolerTwoSpeed_Impl::isHighFanSpeedUfactorTimesAreaValueAutosized() const { | |
| 218 | 2 | bool result = false; | |
| 219 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<std::string> value = getString(OS_EvaporativeFluidCooler_TwoSpeedFields::HighFanSpeedUfactorTimesAreaValue, true); |
| 220 |
1/2✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
|
2 | if (value) { |
| 221 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
4 | result = openstudio::istringEqual(value.get(), "autosize"); |
| 222 | } | ||
| 223 | 2 | return result; | |
| 224 | 2 | } | |
| 225 | |||
| 226 | 1 | boost::optional<double> EvaporativeFluidCoolerTwoSpeed_Impl::lowFanSpeedUfactorTimesAreaValue() const { | |
| 227 | 1 | return getDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::LowFanSpeedUfactorTimesAreaValue, true); | |
| 228 | } | ||
| 229 | |||
| 230 | 2 | bool EvaporativeFluidCoolerTwoSpeed_Impl::isLowFanSpeedUfactorTimesAreaValueAutosized() const { | |
| 231 | 2 | bool result = false; | |
| 232 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<std::string> value = getString(OS_EvaporativeFluidCooler_TwoSpeedFields::LowFanSpeedUfactorTimesAreaValue, true); |
| 233 |
1/2✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
|
2 | if (value) { |
| 234 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
4 | result = openstudio::istringEqual(value.get(), "autosize"); |
| 235 | } | ||
| 236 | 2 | return result; | |
| 237 | 2 | } | |
| 238 | |||
| 239 | 2 | double EvaporativeFluidCoolerTwoSpeed_Impl::lowFanSpeedUFactorTimesAreaSizingFactor() const { | |
| 240 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<double> value = getDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::LowFanSpeedUFactorTimesAreaSizingFactor, true); |
| 241 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
|
2 | OS_ASSERT(value); |
| 242 |
1/1✓ Branch 1 taken 2 times.
|
4 | return value.get(); |
| 243 | } | ||
| 244 | |||
| 245 | 1 | boost::optional<double> EvaporativeFluidCoolerTwoSpeed_Impl::designWaterFlowRate() const { | |
| 246 | 1 | return getDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::DesignWaterFlowRate, true); | |
| 247 | } | ||
| 248 | |||
| 249 | 2 | bool EvaporativeFluidCoolerTwoSpeed_Impl::isDesignWaterFlowRateAutosized() const { | |
| 250 | 2 | bool result = false; | |
| 251 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<std::string> value = getString(OS_EvaporativeFluidCooler_TwoSpeedFields::DesignWaterFlowRate, true); |
| 252 |
1/2✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
|
2 | if (value) { |
| 253 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
4 | result = openstudio::istringEqual(value.get(), "autosize"); |
| 254 | } | ||
| 255 | 2 | return result; | |
| 256 | 2 | } | |
| 257 | |||
| 258 | 1 | boost::optional<double> EvaporativeFluidCoolerTwoSpeed_Impl::highSpeedUserSpecifiedDesignCapacity() const { | |
| 259 | 1 | return getDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::HighSpeedUserSpecifiedDesignCapacity, true); | |
| 260 | } | ||
| 261 | |||
| 262 | 1 | boost::optional<double> EvaporativeFluidCoolerTwoSpeed_Impl::lowSpeedUserSpecifiedDesignCapacity() const { | |
| 263 | 1 | return getDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::LowSpeedUserSpecifiedDesignCapacity, true); | |
| 264 | } | ||
| 265 | |||
| 266 | 2 | bool EvaporativeFluidCoolerTwoSpeed_Impl::isLowSpeedUserSpecifiedDesignCapacityAutosized() const { | |
| 267 | 2 | bool result = false; | |
| 268 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<std::string> value = getString(OS_EvaporativeFluidCooler_TwoSpeedFields::LowSpeedUserSpecifiedDesignCapacity, true); |
| 269 |
1/2✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
|
2 | if (value) { |
| 270 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
4 | result = openstudio::istringEqual(value.get(), "autosize"); |
| 271 | } | ||
| 272 | 2 | return result; | |
| 273 | 2 | } | |
| 274 | |||
| 275 | 2 | double EvaporativeFluidCoolerTwoSpeed_Impl::lowSpeedUserSpecifiedDesignCapacitySizingFactor() const { | |
| 276 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<double> value = getDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::LowSpeedUserSpecifiedDesignCapacitySizingFactor, true); |
| 277 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
|
2 | OS_ASSERT(value); |
| 278 |
1/1✓ Branch 1 taken 2 times.
|
4 | return value.get(); |
| 279 | } | ||
| 280 | |||
| 281 | 1 | boost::optional<double> EvaporativeFluidCoolerTwoSpeed_Impl::designEnteringWaterTemperature() const { | |
| 282 | 1 | return getDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::DesignEnteringWaterTemperature, true); | |
| 283 | } | ||
| 284 | |||
| 285 | 2 | bool EvaporativeFluidCoolerTwoSpeed_Impl::isDesignEnteringWaterTemperatureAutosized() const { | |
| 286 | 2 | bool result = false; | |
| 287 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<std::string> value = getString(OS_EvaporativeFluidCooler_TwoSpeedFields::DesignEnteringWaterTemperature, true); |
| 288 |
1/2✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
|
2 | if (value) { |
| 289 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
4 | result = openstudio::istringEqual(value.get(), "autosize"); |
| 290 | } | ||
| 291 | 2 | return result; | |
| 292 | 2 | } | |
| 293 | |||
| 294 | 2 | double EvaporativeFluidCoolerTwoSpeed_Impl::designEnteringAirTemperature() const { | |
| 295 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<double> value = getDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::DesignEnteringAirTemperature, true); |
| 296 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
|
2 | OS_ASSERT(value); |
| 297 |
1/1✓ Branch 1 taken 2 times.
|
4 | return value.get(); |
| 298 | } | ||
| 299 | |||
| 300 | 2 | double EvaporativeFluidCoolerTwoSpeed_Impl::designEnteringAirWetbulbTemperature() const { | |
| 301 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<double> value = getDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::DesignEnteringAirWetbulbTemperature, true); |
| 302 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
|
2 | OS_ASSERT(value); |
| 303 |
1/1✓ Branch 1 taken 2 times.
|
4 | return value.get(); |
| 304 | } | ||
| 305 | |||
| 306 | 2 | double EvaporativeFluidCoolerTwoSpeed_Impl::highSpeedSizingFactor() const { | |
| 307 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<double> value = getDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::HighSpeedSizingFactor, true); |
| 308 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
|
2 | OS_ASSERT(value); |
| 309 |
1/1✓ Branch 1 taken 2 times.
|
4 | return value.get(); |
| 310 | } | ||
| 311 | |||
| 312 | 2 | std::string EvaporativeFluidCoolerTwoSpeed_Impl::evaporationLossMode() const { | |
| 313 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<std::string> value = getString(OS_EvaporativeFluidCooler_TwoSpeedFields::EvaporationLossMode, true); |
| 314 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
|
2 | OS_ASSERT(value); |
| 315 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
|
4 | return value.get(); |
| 316 | 2 | } | |
| 317 | |||
| 318 | 1 | boost::optional<double> EvaporativeFluidCoolerTwoSpeed_Impl::evaporationLossFactor() const { | |
| 319 | 1 | return getDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::EvaporationLossFactor, true); | |
| 320 | } | ||
| 321 | |||
| 322 | 2 | double EvaporativeFluidCoolerTwoSpeed_Impl::driftLossPercent() const { | |
| 323 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<double> value = getDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::DriftLossPercent, true); |
| 324 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
|
2 | OS_ASSERT(value); |
| 325 |
1/1✓ Branch 1 taken 2 times.
|
4 | return value.get(); |
| 326 | } | ||
| 327 | |||
| 328 | 2 | std::string EvaporativeFluidCoolerTwoSpeed_Impl::blowdownCalculationMode() const { | |
| 329 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<std::string> value = getString(OS_EvaporativeFluidCooler_TwoSpeedFields::BlowdownCalculationMode, true); |
| 330 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
|
2 | OS_ASSERT(value); |
| 331 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
|
4 | return value.get(); |
| 332 | 2 | } | |
| 333 | |||
| 334 | 2 | double EvaporativeFluidCoolerTwoSpeed_Impl::blowdownConcentrationRatio() const { | |
| 335 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<double> value = getDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::BlowdownConcentrationRatio, true); |
| 336 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
|
2 | OS_ASSERT(value); |
| 337 |
1/1✓ Branch 1 taken 2 times.
|
4 | return value.get(); |
| 338 | } | ||
| 339 | |||
| 340 | 1 | boost::optional<Schedule> EvaporativeFluidCoolerTwoSpeed_Impl::blowdownMakeupWaterUsageSchedule() const { | |
| 341 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
1 | return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_EvaporativeFluidCooler_TwoSpeedFields::BlowdownMakeupWaterUsageScheduleName); |
| 342 | } | ||
| 343 | |||
| 344 | // boost::optional<WaterStorageTank> EvaporativeFluidCoolerTwoSpeed_Impl::supplyWaterStorageTank() const { | ||
| 345 | // return getObject<ModelObject>().getModelObjectTarget<WaterStorageTank>(OS_EvaporativeFluidCooler_TwoSpeedFields::SupplyWaterStorageTankName); | ||
| 346 | // } | ||
| 347 | |||
| 348 | 1 | bool EvaporativeFluidCoolerTwoSpeed_Impl::setHighFanSpeedAirFlowRate(boost::optional<double> highFanSpeedAirFlowRate) { | |
| 349 | 1 | bool result(false); | |
| 350 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (highFanSpeedAirFlowRate) { |
| 351 | 1 | result = setDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::HighFanSpeedAirFlowRate, highFanSpeedAirFlowRate.get()); | |
| 352 | } | ||
| 353 | 1 | return result; | |
| 354 | } | ||
| 355 | |||
| 356 | 3 | void EvaporativeFluidCoolerTwoSpeed_Impl::autosizeHighFanSpeedAirFlowRate() { | |
| 357 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
6 | bool result = setString(OS_EvaporativeFluidCooler_TwoSpeedFields::HighFanSpeedAirFlowRate, "autosize"); |
| 358 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 3 times.
|
3 | OS_ASSERT(result); |
| 359 | 3 | } | |
| 360 | |||
| 361 | 1 | bool EvaporativeFluidCoolerTwoSpeed_Impl::setHighFanSpeedFanPower(boost::optional<double> highFanSpeedFanPower) { | |
| 362 | 1 | bool result(false); | |
| 363 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (highFanSpeedFanPower) { |
| 364 | 1 | result = setDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::HighFanSpeedFanPower, highFanSpeedFanPower.get()); | |
| 365 | } | ||
| 366 | 1 | return result; | |
| 367 | } | ||
| 368 | |||
| 369 | 3 | void EvaporativeFluidCoolerTwoSpeed_Impl::autosizeHighFanSpeedFanPower() { | |
| 370 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
6 | bool result = setString(OS_EvaporativeFluidCooler_TwoSpeedFields::HighFanSpeedFanPower, "autosize"); |
| 371 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 3 times.
|
3 | OS_ASSERT(result); |
| 372 | 3 | } | |
| 373 | |||
| 374 | 1 | bool EvaporativeFluidCoolerTwoSpeed_Impl::setLowFanSpeedAirFlowRate(boost::optional<double> lowFanSpeedAirFlowRate) { | |
| 375 | 1 | bool result(false); | |
| 376 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (lowFanSpeedAirFlowRate) { |
| 377 | 1 | result = setDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::LowFanSpeedAirFlowRate, lowFanSpeedAirFlowRate.get()); | |
| 378 | } | ||
| 379 | 1 | return result; | |
| 380 | } | ||
| 381 | |||
| 382 | 3 | void EvaporativeFluidCoolerTwoSpeed_Impl::autosizeLowFanSpeedAirFlowRate() { | |
| 383 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
6 | bool result = setString(OS_EvaporativeFluidCooler_TwoSpeedFields::LowFanSpeedAirFlowRate, "autosize"); |
| 384 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 3 times.
|
3 | OS_ASSERT(result); |
| 385 | 3 | } | |
| 386 | |||
| 387 | 4 | bool EvaporativeFluidCoolerTwoSpeed_Impl::setLowFanSpeedAirFlowRateSizingFactor(double lowFanSpeedAirFlowRateSizingFactor) { | |
| 388 | 4 | bool result = setDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::LowFanSpeedAirFlowRateSizingFactor, lowFanSpeedAirFlowRateSizingFactor); | |
| 389 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 4 times.
|
4 | OS_ASSERT(result); |
| 390 | 4 | return result; | |
| 391 | } | ||
| 392 | |||
| 393 | 1 | bool EvaporativeFluidCoolerTwoSpeed_Impl::setLowFanSpeedFanPower(boost::optional<double> lowFanSpeedFanPower) { | |
| 394 | 1 | bool result(false); | |
| 395 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (lowFanSpeedFanPower) { |
| 396 | 1 | result = setDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::LowFanSpeedFanPower, lowFanSpeedFanPower.get()); | |
| 397 | } | ||
| 398 | 1 | return result; | |
| 399 | } | ||
| 400 | |||
| 401 | 3 | void EvaporativeFluidCoolerTwoSpeed_Impl::autosizeLowFanSpeedFanPower() { | |
| 402 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
6 | bool result = setString(OS_EvaporativeFluidCooler_TwoSpeedFields::LowFanSpeedFanPower, "autosize"); |
| 403 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 3 times.
|
3 | OS_ASSERT(result); |
| 404 | 3 | } | |
| 405 | |||
| 406 | 4 | bool EvaporativeFluidCoolerTwoSpeed_Impl::setLowFanSpeedFanPowerSizingFactor(double lowFanSpeedFanPowerSizingFactor) { | |
| 407 | 4 | bool result = setDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::LowFanSpeedFanPowerSizingFactor, lowFanSpeedFanPowerSizingFactor); | |
| 408 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 4 times.
|
4 | OS_ASSERT(result); |
| 409 | 4 | return result; | |
| 410 | } | ||
| 411 | |||
| 412 | 4 | bool EvaporativeFluidCoolerTwoSpeed_Impl::setDesignSprayWaterFlowRate(double designSprayWaterFlowRate) { | |
| 413 | 4 | bool result = setDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::DesignSprayWaterFlowRate, designSprayWaterFlowRate); | |
| 414 | 4 | return result; | |
| 415 | } | ||
| 416 | |||
| 417 | 4 | bool EvaporativeFluidCoolerTwoSpeed_Impl::setPerformanceInputMethod(const std::string& performanceInputMethod) { | |
| 418 | 4 | bool result = setString(OS_EvaporativeFluidCooler_TwoSpeedFields::PerformanceInputMethod, performanceInputMethod); | |
| 419 | 4 | return result; | |
| 420 | } | ||
| 421 | |||
| 422 | 1 | bool EvaporativeFluidCoolerTwoSpeed_Impl::setOutdoorAirInletNodeName(boost::optional<std::string> outdoorAirInletNodeName) { | |
| 423 | 1 | bool result(false); | |
| 424 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (outdoorAirInletNodeName) { |
| 425 | 1 | result = setString(OS_EvaporativeFluidCooler_TwoSpeedFields::OutdoorAirInletNodeName, outdoorAirInletNodeName.get()); | |
| 426 | } else { | ||
| 427 | ✗ | resetOutdoorAirInletNodeName(); | |
| 428 | ✗ | result = true; | |
| 429 | } | ||
| 430 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 431 | 1 | return result; | |
| 432 | } | ||
| 433 | |||
| 434 | ✗ | void EvaporativeFluidCoolerTwoSpeed_Impl::resetOutdoorAirInletNodeName() { | |
| 435 | ✗ | bool result = setString(OS_EvaporativeFluidCooler_TwoSpeedFields::OutdoorAirInletNodeName, ""); | |
| 436 | ✗ | OS_ASSERT(result); | |
| 437 | ✗ | } | |
| 438 | |||
| 439 | 4 | bool EvaporativeFluidCoolerTwoSpeed_Impl::setHeatRejectionCapacityandNominalCapacitySizingRatio( | |
| 440 | double heatRejectionCapacityandNominalCapacitySizingRatio) { | ||
| 441 | 4 | bool result = setDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::HeatRejectionCapacityandNominalCapacitySizingRatio, | |
| 442 | heatRejectionCapacityandNominalCapacitySizingRatio); | ||
| 443 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 4 times.
|
4 | OS_ASSERT(result); |
| 444 | 4 | return result; | |
| 445 | } | ||
| 446 | |||
| 447 | 1 | bool EvaporativeFluidCoolerTwoSpeed_Impl::setHighSpeedStandardDesignCapacity(boost::optional<double> highSpeedStandardDesignCapacity) { | |
| 448 | 1 | bool result(false); | |
| 449 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (highSpeedStandardDesignCapacity) { |
| 450 | 1 | result = setDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::HighSpeedStandardDesignCapacity, highSpeedStandardDesignCapacity.get()); | |
| 451 | } else { | ||
| 452 | ✗ | resetHighSpeedStandardDesignCapacity(); | |
| 453 | ✗ | result = true; | |
| 454 | } | ||
| 455 | 1 | return result; | |
| 456 | } | ||
| 457 | |||
| 458 | ✗ | void EvaporativeFluidCoolerTwoSpeed_Impl::resetHighSpeedStandardDesignCapacity() { | |
| 459 | ✗ | bool result = setString(OS_EvaporativeFluidCooler_TwoSpeedFields::HighSpeedStandardDesignCapacity, ""); | |
| 460 | ✗ | OS_ASSERT(result); | |
| 461 | ✗ | } | |
| 462 | |||
| 463 | 1 | bool EvaporativeFluidCoolerTwoSpeed_Impl::setLowSpeedStandardDesignCapacity(boost::optional<double> lowSpeedStandardDesignCapacity) { | |
| 464 | 1 | bool result(false); | |
| 465 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (lowSpeedStandardDesignCapacity) { |
| 466 | 1 | result = setDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::LowSpeedStandardDesignCapacity, lowSpeedStandardDesignCapacity.get()); | |
| 467 | } else { | ||
| 468 | ✗ | resetLowSpeedStandardDesignCapacity(); | |
| 469 | ✗ | result = true; | |
| 470 | } | ||
| 471 | 1 | return result; | |
| 472 | } | ||
| 473 | |||
| 474 | ✗ | void EvaporativeFluidCoolerTwoSpeed_Impl::resetLowSpeedStandardDesignCapacity() { | |
| 475 | ✗ | bool result = setString(OS_EvaporativeFluidCooler_TwoSpeedFields::LowSpeedStandardDesignCapacity, ""); | |
| 476 | ✗ | OS_ASSERT(result); | |
| 477 | ✗ | } | |
| 478 | |||
| 479 | 3 | void EvaporativeFluidCoolerTwoSpeed_Impl::autosizeLowSpeedStandardDesignCapacity() { | |
| 480 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
6 | bool result = setString(OS_EvaporativeFluidCooler_TwoSpeedFields::LowSpeedStandardDesignCapacity, "autosize"); |
| 481 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 3 times.
|
3 | OS_ASSERT(result); |
| 482 | 3 | } | |
| 483 | |||
| 484 | 4 | bool EvaporativeFluidCoolerTwoSpeed_Impl::setLowSpeedStandardCapacitySizingFactor(double lowSpeedStandardCapacitySizingFactor) { | |
| 485 | 4 | bool result = setDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::LowSpeedStandardCapacitySizingFactor, lowSpeedStandardCapacitySizingFactor); | |
| 486 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 4 times.
|
4 | OS_ASSERT(result); |
| 487 | 4 | return result; | |
| 488 | } | ||
| 489 | |||
| 490 | 1 | bool EvaporativeFluidCoolerTwoSpeed_Impl::setHighFanSpeedUfactorTimesAreaValue(boost::optional<double> highFanSpeedUfactorTimesAreaValue) { | |
| 491 | 1 | bool result(false); | |
| 492 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (highFanSpeedUfactorTimesAreaValue) { |
| 493 | 1 | result = setDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::HighFanSpeedUfactorTimesAreaValue, highFanSpeedUfactorTimesAreaValue.get()); | |
| 494 | } else { | ||
| 495 | ✗ | resetHighFanSpeedUfactorTimesAreaValue(); | |
| 496 | ✗ | result = true; | |
| 497 | } | ||
| 498 | 1 | return result; | |
| 499 | } | ||
| 500 | |||
| 501 | ✗ | void EvaporativeFluidCoolerTwoSpeed_Impl::resetHighFanSpeedUfactorTimesAreaValue() { | |
| 502 | ✗ | bool result = setString(OS_EvaporativeFluidCooler_TwoSpeedFields::HighFanSpeedUfactorTimesAreaValue, ""); | |
| 503 | ✗ | OS_ASSERT(result); | |
| 504 | ✗ | } | |
| 505 | |||
| 506 | 3 | void EvaporativeFluidCoolerTwoSpeed_Impl::autosizeHighFanSpeedUfactorTimesAreaValue() { | |
| 507 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
6 | bool result = setString(OS_EvaporativeFluidCooler_TwoSpeedFields::HighFanSpeedUfactorTimesAreaValue, "autosize"); |
| 508 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 3 times.
|
3 | OS_ASSERT(result); |
| 509 | 3 | } | |
| 510 | |||
| 511 | 1 | bool EvaporativeFluidCoolerTwoSpeed_Impl::setLowFanSpeedUfactorTimesAreaValue(boost::optional<double> lowFanSpeedUfactorTimesAreaValue) { | |
| 512 | 1 | bool result(false); | |
| 513 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (lowFanSpeedUfactorTimesAreaValue) { |
| 514 | 1 | result = setDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::LowFanSpeedUfactorTimesAreaValue, lowFanSpeedUfactorTimesAreaValue.get()); | |
| 515 | } else { | ||
| 516 | ✗ | resetLowFanSpeedUfactorTimesAreaValue(); | |
| 517 | ✗ | result = true; | |
| 518 | } | ||
| 519 | 1 | return result; | |
| 520 | } | ||
| 521 | |||
| 522 | ✗ | void EvaporativeFluidCoolerTwoSpeed_Impl::resetLowFanSpeedUfactorTimesAreaValue() { | |
| 523 | ✗ | bool result = setString(OS_EvaporativeFluidCooler_TwoSpeedFields::LowFanSpeedUfactorTimesAreaValue, ""); | |
| 524 | ✗ | OS_ASSERT(result); | |
| 525 | ✗ | } | |
| 526 | |||
| 527 | 3 | void EvaporativeFluidCoolerTwoSpeed_Impl::autosizeLowFanSpeedUfactorTimesAreaValue() { | |
| 528 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
6 | bool result = setString(OS_EvaporativeFluidCooler_TwoSpeedFields::LowFanSpeedUfactorTimesAreaValue, "autosize"); |
| 529 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 3 times.
|
3 | OS_ASSERT(result); |
| 530 | 3 | } | |
| 531 | |||
| 532 | 4 | bool EvaporativeFluidCoolerTwoSpeed_Impl::setLowFanSpeedUFactorTimesAreaSizingFactor(double lowFanSpeedUFactorTimesAreaSizingFactor) { | |
| 533 | bool result = | ||
| 534 | 4 | setDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::LowFanSpeedUFactorTimesAreaSizingFactor, lowFanSpeedUFactorTimesAreaSizingFactor); | |
| 535 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 4 times.
|
4 | OS_ASSERT(result); |
| 536 | 4 | return result; | |
| 537 | } | ||
| 538 | |||
| 539 | 1 | bool EvaporativeFluidCoolerTwoSpeed_Impl::setDesignWaterFlowRate(boost::optional<double> designWaterFlowRate) { | |
| 540 | 1 | bool result(false); | |
| 541 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (designWaterFlowRate) { |
| 542 | 1 | result = setDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::DesignWaterFlowRate, designWaterFlowRate.get()); | |
| 543 | } else { | ||
| 544 | ✗ | resetDesignWaterFlowRate(); | |
| 545 | ✗ | result = true; | |
| 546 | } | ||
| 547 | 1 | return result; | |
| 548 | } | ||
| 549 | |||
| 550 | ✗ | void EvaporativeFluidCoolerTwoSpeed_Impl::resetDesignWaterFlowRate() { | |
| 551 | ✗ | bool result = setString(OS_EvaporativeFluidCooler_TwoSpeedFields::DesignWaterFlowRate, ""); | |
| 552 | ✗ | OS_ASSERT(result); | |
| 553 | ✗ | } | |
| 554 | |||
| 555 | 3 | void EvaporativeFluidCoolerTwoSpeed_Impl::autosizeDesignWaterFlowRate() { | |
| 556 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
6 | bool result = setString(OS_EvaporativeFluidCooler_TwoSpeedFields::DesignWaterFlowRate, "autosize"); |
| 557 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 3 times.
|
3 | OS_ASSERT(result); |
| 558 | 3 | } | |
| 559 | |||
| 560 | 1 | bool EvaporativeFluidCoolerTwoSpeed_Impl::setHighSpeedUserSpecifiedDesignCapacity(boost::optional<double> highSpeedUserSpecifiedDesignCapacity) { | |
| 561 | 1 | bool result(false); | |
| 562 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (highSpeedUserSpecifiedDesignCapacity) { |
| 563 | result = | ||
| 564 | 1 | setDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::HighSpeedUserSpecifiedDesignCapacity, highSpeedUserSpecifiedDesignCapacity.get()); | |
| 565 | } else { | ||
| 566 | ✗ | resetHighSpeedUserSpecifiedDesignCapacity(); | |
| 567 | ✗ | result = true; | |
| 568 | } | ||
| 569 | 1 | return result; | |
| 570 | } | ||
| 571 | |||
| 572 | ✗ | void EvaporativeFluidCoolerTwoSpeed_Impl::resetHighSpeedUserSpecifiedDesignCapacity() { | |
| 573 | ✗ | bool result = setString(OS_EvaporativeFluidCooler_TwoSpeedFields::HighSpeedUserSpecifiedDesignCapacity, ""); | |
| 574 | ✗ | OS_ASSERT(result); | |
| 575 | ✗ | } | |
| 576 | |||
| 577 | 1 | bool EvaporativeFluidCoolerTwoSpeed_Impl::setLowSpeedUserSpecifiedDesignCapacity(boost::optional<double> lowSpeedUserSpecifiedDesignCapacity) { | |
| 578 | 1 | bool result(false); | |
| 579 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (lowSpeedUserSpecifiedDesignCapacity) { |
| 580 | 1 | result = setDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::LowSpeedUserSpecifiedDesignCapacity, lowSpeedUserSpecifiedDesignCapacity.get()); | |
| 581 | } else { | ||
| 582 | ✗ | resetLowSpeedUserSpecifiedDesignCapacity(); | |
| 583 | ✗ | result = true; | |
| 584 | } | ||
| 585 | 1 | return result; | |
| 586 | } | ||
| 587 | |||
| 588 | ✗ | void EvaporativeFluidCoolerTwoSpeed_Impl::resetLowSpeedUserSpecifiedDesignCapacity() { | |
| 589 | ✗ | bool result = setString(OS_EvaporativeFluidCooler_TwoSpeedFields::LowSpeedUserSpecifiedDesignCapacity, ""); | |
| 590 | ✗ | OS_ASSERT(result); | |
| 591 | ✗ | } | |
| 592 | |||
| 593 | 3 | void EvaporativeFluidCoolerTwoSpeed_Impl::autosizeLowSpeedUserSpecifiedDesignCapacity() { | |
| 594 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
6 | bool result = setString(OS_EvaporativeFluidCooler_TwoSpeedFields::LowSpeedUserSpecifiedDesignCapacity, "autosize"); |
| 595 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 3 times.
|
3 | OS_ASSERT(result); |
| 596 | 3 | } | |
| 597 | |||
| 598 | 4 | bool EvaporativeFluidCoolerTwoSpeed_Impl::setLowSpeedUserSpecifiedDesignCapacitySizingFactor( | |
| 599 | double lowSpeedUserSpecifiedDesignCapacitySizingFactor) { | ||
| 600 | 4 | bool result = setDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::LowSpeedUserSpecifiedDesignCapacitySizingFactor, | |
| 601 | lowSpeedUserSpecifiedDesignCapacitySizingFactor); | ||
| 602 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 4 times.
|
4 | OS_ASSERT(result); |
| 603 | 4 | return result; | |
| 604 | } | ||
| 605 | |||
| 606 | ✗ | bool EvaporativeFluidCoolerTwoSpeed_Impl::setDesignEnteringWaterTemperature(boost::optional<double> designEnteringWaterTemperature) { | |
| 607 | ✗ | bool result(false); | |
| 608 | ✗ | if (designEnteringWaterTemperature) { | |
| 609 | ✗ | result = setDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::DesignEnteringWaterTemperature, designEnteringWaterTemperature.get()); | |
| 610 | } | ||
| 611 | ✗ | return result; | |
| 612 | } | ||
| 613 | |||
| 614 | 4 | void EvaporativeFluidCoolerTwoSpeed_Impl::autosizeDesignEnteringWaterTemperature() { | |
| 615 |
2/2✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
|
8 | bool result = setString(OS_EvaporativeFluidCooler_TwoSpeedFields::DesignEnteringWaterTemperature, "autosize"); |
| 616 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 4 times.
|
4 | OS_ASSERT(result); |
| 617 | 4 | } | |
| 618 | |||
| 619 | 4 | bool EvaporativeFluidCoolerTwoSpeed_Impl::setDesignEnteringAirTemperature(boost::optional<double> designEnteringAirTemperature) { | |
| 620 | 4 | bool result(false); | |
| 621 |
1/2✓ Branch 0 taken 4 times.
✗ Branch 1 not taken.
|
4 | if (designEnteringAirTemperature) { |
| 622 | 4 | result = setDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::DesignEnteringAirTemperature, designEnteringAirTemperature.get()); | |
| 623 | } | ||
| 624 | 4 | return result; | |
| 625 | } | ||
| 626 | |||
| 627 | 4 | bool EvaporativeFluidCoolerTwoSpeed_Impl::setDesignEnteringAirWetbulbTemperature(boost::optional<double> designEnteringAirWetbulbTemperature) { | |
| 628 | 4 | bool result(false); | |
| 629 |
1/2✓ Branch 0 taken 4 times.
✗ Branch 1 not taken.
|
4 | if (designEnteringAirWetbulbTemperature) { |
| 630 | 4 | result = setDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::DesignEnteringAirWetbulbTemperature, designEnteringAirWetbulbTemperature.get()); | |
| 631 | } | ||
| 632 | 4 | return result; | |
| 633 | } | ||
| 634 | |||
| 635 | 4 | bool EvaporativeFluidCoolerTwoSpeed_Impl::setHighSpeedSizingFactor(double highSpeedSizingFactor) { | |
| 636 | 4 | bool result = setDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::HighSpeedSizingFactor, highSpeedSizingFactor); | |
| 637 | 4 | return result; | |
| 638 | } | ||
| 639 | |||
| 640 | 4 | bool EvaporativeFluidCoolerTwoSpeed_Impl::setEvaporationLossMode(const std::string& evaporationLossMode) { | |
| 641 | 4 | bool result = setString(OS_EvaporativeFluidCooler_TwoSpeedFields::EvaporationLossMode, evaporationLossMode); | |
| 642 | 4 | return result; | |
| 643 | } | ||
| 644 | |||
| 645 | 1 | bool EvaporativeFluidCoolerTwoSpeed_Impl::setEvaporationLossFactor(boost::optional<double> evaporationLossFactor) { | |
| 646 | 1 | bool result(false); | |
| 647 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (evaporationLossFactor) { |
| 648 | 1 | result = setDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::EvaporationLossFactor, evaporationLossFactor.get()); | |
| 649 | } else { | ||
| 650 | ✗ | resetEvaporationLossFactor(); | |
| 651 | ✗ | result = true; | |
| 652 | } | ||
| 653 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 654 | 1 | return result; | |
| 655 | } | ||
| 656 | |||
| 657 | ✗ | void EvaporativeFluidCoolerTwoSpeed_Impl::resetEvaporationLossFactor() { | |
| 658 | ✗ | bool result = setString(OS_EvaporativeFluidCooler_TwoSpeedFields::EvaporationLossFactor, ""); | |
| 659 | ✗ | OS_ASSERT(result); | |
| 660 | ✗ | } | |
| 661 | |||
| 662 | 4 | bool EvaporativeFluidCoolerTwoSpeed_Impl::setDriftLossPercent(double driftLossPercent) { | |
| 663 | 4 | bool result = setDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::DriftLossPercent, driftLossPercent); | |
| 664 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 4 times.
|
4 | OS_ASSERT(result); |
| 665 | 4 | return result; | |
| 666 | } | ||
| 667 | |||
| 668 | 4 | bool EvaporativeFluidCoolerTwoSpeed_Impl::setBlowdownCalculationMode(const std::string& blowdownCalculationMode) { | |
| 669 | 4 | bool result = setString(OS_EvaporativeFluidCooler_TwoSpeedFields::BlowdownCalculationMode, blowdownCalculationMode); | |
| 670 | 4 | return result; | |
| 671 | } | ||
| 672 | |||
| 673 | 4 | bool EvaporativeFluidCoolerTwoSpeed_Impl::setBlowdownConcentrationRatio(double blowdownConcentrationRatio) { | |
| 674 | 4 | bool result = setDouble(OS_EvaporativeFluidCooler_TwoSpeedFields::BlowdownConcentrationRatio, blowdownConcentrationRatio); | |
| 675 | 4 | return result; | |
| 676 | } | ||
| 677 | |||
| 678 | 1 | bool EvaporativeFluidCoolerTwoSpeed_Impl::setBlowdownMakeupWaterUsageSchedule(Schedule& schedule) { | |
| 679 |
3/3✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
|
4 | bool result = setSchedule(OS_EvaporativeFluidCooler_TwoSpeedFields::BlowdownMakeupWaterUsageScheduleName, "EvaporativeFluidCoolerTwoSpeed", |
| 680 | "Blowdown Makeup Water Usage", schedule); | ||
| 681 | 1 | return result; | |
| 682 | } | ||
| 683 | |||
| 684 | ✗ | void EvaporativeFluidCoolerTwoSpeed_Impl::resetBlowdownMakeupWaterUsageSchedule() { | |
| 685 | ✗ | bool result = setString(OS_EvaporativeFluidCooler_TwoSpeedFields::BlowdownMakeupWaterUsageScheduleName, ""); | |
| 686 | ✗ | OS_ASSERT(result); | |
| 687 | ✗ | } | |
| 688 | |||
| 689 | // bool EvaporativeFluidCoolerTwoSpeed_Impl::setSupplyWaterStorageTank(const boost::optional<WaterStorageTank>& waterStorageTank) { | ||
| 690 | // bool result(false); | ||
| 691 | // if (waterStorageTank) { | ||
| 692 | // result = setPointer(OS_EvaporativeFluidCooler_TwoSpeedFields::SupplyWaterStorageTankName, waterStorageTank.get().handle()); | ||
| 693 | // } | ||
| 694 | // else { | ||
| 695 | // resetSupplyWaterStorageTank(); | ||
| 696 | // result = true; | ||
| 697 | // } | ||
| 698 | // return result; | ||
| 699 | // } | ||
| 700 | |||
| 701 | // void EvaporativeFluidCoolerTwoSpeed_Impl::resetSupplyWaterStorageTank() { | ||
| 702 | // bool result = setString(OS_EvaporativeFluidCooler_TwoSpeedFields::SupplyWaterStorageTankName, ""); | ||
| 703 | // OS_ASSERT(result); | ||
| 704 | // } | ||
| 705 | |||
| 706 | ✗ | boost::optional<double> EvaporativeFluidCoolerTwoSpeed_Impl::autosizedHighFanSpeedAirFlowRate() const { | |
| 707 | ✗ | return getAutosizedValue("Air Flow Rate at High Fan Speed", "m3/s"); | |
| 708 | } | ||
| 709 | |||
| 710 | ✗ | boost::optional<double> EvaporativeFluidCoolerTwoSpeed_Impl::autosizedHighFanSpeedFanPower() const { | |
| 711 | ✗ | return getAutosizedValue("Fan Power at High Fan Speed", "W"); | |
| 712 | } | ||
| 713 | |||
| 714 | ✗ | boost::optional<double> EvaporativeFluidCoolerTwoSpeed_Impl::autosizedLowFanSpeedAirFlowRate() const { | |
| 715 | ✗ | return getAutosizedValue("Air Flow Rate at Low Fan Speed", "m3/s"); | |
| 716 | } | ||
| 717 | |||
| 718 | ✗ | boost::optional<double> EvaporativeFluidCoolerTwoSpeed_Impl::autosizedLowFanSpeedFanPower() const { | |
| 719 | ✗ | return getAutosizedValue("Fan Power at Low Fan Speed", "W"); | |
| 720 | } | ||
| 721 | |||
| 722 | ✗ | boost::optional<double> EvaporativeFluidCoolerTwoSpeed_Impl::autosizedLowSpeedStandardDesignCapacity() const { | |
| 723 | ✗ | return getAutosizedValue("Design Size Low Speed Standard Design Capacity", "W"); | |
| 724 | } | ||
| 725 | |||
| 726 | ✗ | boost::optional<double> EvaporativeFluidCoolerTwoSpeed_Impl::autosizedHighFanSpeedUfactorTimesAreaValue() const { | |
| 727 | ✗ | return getAutosizedValue("U-Factor Times Area Value at High Fan Speed", "W/C"); | |
| 728 | } | ||
| 729 | |||
| 730 | ✗ | boost::optional<double> EvaporativeFluidCoolerTwoSpeed_Impl::autosizedLowFanSpeedUfactorTimesAreaValue() const { | |
| 731 | ✗ | return getAutosizedValue("U-Factor Times Area Value at Low Fan Speed", "W/C"); | |
| 732 | } | ||
| 733 | |||
| 734 | ✗ | boost::optional<double> EvaporativeFluidCoolerTwoSpeed_Impl::autosizedDesignWaterFlowRate() const { | |
| 735 | ✗ | return getAutosizedValue("Design Water Flow Rate", "m3/s"); | |
| 736 | } | ||
| 737 | |||
| 738 | ✗ | boost::optional<double> EvaporativeFluidCoolerTwoSpeed_Impl::autosizedLowSpeedUserSpecifiedDesignCapacity() const { | |
| 739 | ✗ | return getAutosizedValue("Design Size Low Speed User Specified Design Capacity", "W"); | |
| 740 | } | ||
| 741 | |||
| 742 | ✗ | boost::optional<double> EvaporativeFluidCoolerTwoSpeed_Impl::autosizedDesignEnteringWaterTemperature() const { | |
| 743 | ✗ | return getAutosizedValue("Design Entering Water Temperature", "C"); | |
| 744 | } | ||
| 745 | |||
| 746 | ✗ | void EvaporativeFluidCoolerTwoSpeed_Impl::autosize() { | |
| 747 | ✗ | autosizeHighFanSpeedAirFlowRate(); | |
| 748 | ✗ | autosizeHighFanSpeedFanPower(); | |
| 749 | ✗ | autosizeLowFanSpeedAirFlowRate(); | |
| 750 | ✗ | autosizeLowFanSpeedFanPower(); | |
| 751 | ✗ | autosizeLowSpeedStandardDesignCapacity(); | |
| 752 | ✗ | autosizeHighFanSpeedUfactorTimesAreaValue(); | |
| 753 | ✗ | autosizeLowFanSpeedUfactorTimesAreaValue(); | |
| 754 | ✗ | autosizeDesignWaterFlowRate(); | |
| 755 | ✗ | autosizeLowSpeedUserSpecifiedDesignCapacity(); | |
| 756 | ✗ | autosizeDesignEnteringWaterTemperature(); | |
| 757 | ✗ | } | |
| 758 | |||
| 759 | ✗ | void EvaporativeFluidCoolerTwoSpeed_Impl::applySizingValues() { | |
| 760 | ✗ | boost::optional<double> val; | |
| 761 | ✗ | val = autosizedHighFanSpeedAirFlowRate(); | |
| 762 | ✗ | if (val) { | |
| 763 | ✗ | setHighFanSpeedAirFlowRate(val.get()); | |
| 764 | } | ||
| 765 | |||
| 766 | ✗ | val = autosizedHighFanSpeedFanPower(); | |
| 767 | ✗ | if (val) { | |
| 768 | ✗ | setHighFanSpeedFanPower(val.get()); | |
| 769 | } | ||
| 770 | |||
| 771 | ✗ | val = autosizedLowFanSpeedAirFlowRate(); | |
| 772 | ✗ | if (val) { | |
| 773 | ✗ | setLowFanSpeedAirFlowRate(val.get()); | |
| 774 | } | ||
| 775 | |||
| 776 | ✗ | val = autosizedLowFanSpeedFanPower(); | |
| 777 | ✗ | if (val) { | |
| 778 | ✗ | setLowFanSpeedFanPower(val.get()); | |
| 779 | } | ||
| 780 | |||
| 781 | ✗ | val = autosizedLowSpeedStandardDesignCapacity(); | |
| 782 | ✗ | if (val) { | |
| 783 | ✗ | setLowSpeedStandardDesignCapacity(val.get()); | |
| 784 | } | ||
| 785 | |||
| 786 | ✗ | val = autosizedHighFanSpeedUfactorTimesAreaValue(); | |
| 787 | ✗ | if (val) { | |
| 788 | ✗ | setHighFanSpeedUfactorTimesAreaValue(val.get()); | |
| 789 | } | ||
| 790 | |||
| 791 | ✗ | val = autosizedLowFanSpeedUfactorTimesAreaValue(); | |
| 792 | ✗ | if (val) { | |
| 793 | ✗ | setLowFanSpeedUfactorTimesAreaValue(val.get()); | |
| 794 | } | ||
| 795 | |||
| 796 | ✗ | val = autosizedDesignWaterFlowRate(); | |
| 797 | ✗ | if (val) { | |
| 798 | ✗ | setDesignWaterFlowRate(val.get()); | |
| 799 | } | ||
| 800 | |||
| 801 | ✗ | val = autosizedLowSpeedUserSpecifiedDesignCapacity(); | |
| 802 | ✗ | if (val) { | |
| 803 | ✗ | setLowSpeedUserSpecifiedDesignCapacity(val.get()); | |
| 804 | } | ||
| 805 | |||
| 806 | ✗ | val = autosizedDesignEnteringWaterTemperature(); | |
| 807 | ✗ | if (val) { | |
| 808 | ✗ | setDesignEnteringWaterTemperature(val.get()); | |
| 809 | } | ||
| 810 | ✗ | } | |
| 811 | |||
| 812 | 4 | ComponentType EvaporativeFluidCoolerTwoSpeed_Impl::componentType() const { | |
| 813 |
1/1✓ Branch 1 taken 4 times.
|
4 | return ComponentType::Cooling; |
| 814 | } | ||
| 815 | |||
| 816 | ✗ | std::vector<FuelType> EvaporativeFluidCoolerTwoSpeed_Impl::coolingFuelTypes() const { | |
| 817 | ✗ | return {FuelType::Electricity}; | |
| 818 | } | ||
| 819 | |||
| 820 | ✗ | std::vector<FuelType> EvaporativeFluidCoolerTwoSpeed_Impl::heatingFuelTypes() const { | |
| 821 | ✗ | return {}; | |
| 822 | } | ||
| 823 | |||
| 824 | ✗ | std::vector<AppGFuelType> EvaporativeFluidCoolerTwoSpeed_Impl::appGHeatingFuelTypes() const { | |
| 825 | ✗ | return {}; | |
| 826 | } | ||
| 827 | |||
| 828 | } // namespace detail | ||
| 829 | |||
| 830 | 3 | EvaporativeFluidCoolerTwoSpeed::EvaporativeFluidCoolerTwoSpeed(const Model& model) | |
| 831 | 3 | : StraightComponent(EvaporativeFluidCoolerTwoSpeed::iddObjectType(), model) { | |
| 832 |
1/3✗ Branch 2 not taken.
✓ Branch 3 taken 3 times.
✗ Branch 5 not taken.
|
3 | OS_ASSERT(getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()); |
| 833 | |||
| 834 | 3 | bool ok = true; | |
| 835 |
1/1✓ Branch 1 taken 3 times.
|
3 | autosizeHighFanSpeedAirFlowRate(); |
| 836 |
1/1✓ Branch 1 taken 3 times.
|
3 | autosizeHighFanSpeedFanPower(); |
| 837 |
1/1✓ Branch 1 taken 3 times.
|
3 | autosizeLowFanSpeedAirFlowRate(); |
| 838 |
1/1✓ Branch 1 taken 3 times.
|
3 | setLowFanSpeedAirFlowRateSizingFactor(0.5); |
| 839 |
1/1✓ Branch 1 taken 3 times.
|
3 | autosizeLowFanSpeedFanPower(); |
| 840 |
1/1✓ Branch 1 taken 3 times.
|
3 | ok = setLowFanSpeedFanPowerSizingFactor(0.5); |
| 841 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 3 times.
✗ Branch 3 not taken.
|
3 | OS_ASSERT(ok); |
| 842 |
1/1✓ Branch 1 taken 3 times.
|
3 | ok = setDesignSprayWaterFlowRate(0.002208); |
| 843 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 3 times.
✗ Branch 3 not taken.
|
3 | OS_ASSERT(ok); |
| 844 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | ok = setPerformanceInputMethod("UFactorTimesAreaAndDesignWaterFlowRate"); |
| 845 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 3 times.
✗ Branch 3 not taken.
|
3 | OS_ASSERT(ok); |
| 846 |
1/1✓ Branch 1 taken 3 times.
|
3 | ok = setHeatRejectionCapacityandNominalCapacitySizingRatio(1.25); |
| 847 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 3 times.
✗ Branch 3 not taken.
|
3 | OS_ASSERT(ok); |
| 848 |
1/1✓ Branch 1 taken 3 times.
|
3 | autosizeLowSpeedUserSpecifiedDesignCapacity(); |
| 849 |
1/1✓ Branch 1 taken 3 times.
|
3 | autosizeLowSpeedStandardDesignCapacity(); |
| 850 |
1/1✓ Branch 1 taken 3 times.
|
3 | ok = setLowSpeedStandardCapacitySizingFactor(0.5); |
| 851 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 3 times.
✗ Branch 3 not taken.
|
3 | OS_ASSERT(ok); |
| 852 |
1/1✓ Branch 1 taken 3 times.
|
3 | autosizeHighFanSpeedUfactorTimesAreaValue(); |
| 853 |
1/1✓ Branch 1 taken 3 times.
|
3 | autosizeLowFanSpeedUfactorTimesAreaValue(); |
| 854 |
1/1✓ Branch 1 taken 3 times.
|
3 | ok = setLowFanSpeedUFactorTimesAreaSizingFactor(0.6); |
| 855 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 3 times.
✗ Branch 3 not taken.
|
3 | OS_ASSERT(ok); |
| 856 |
1/1✓ Branch 1 taken 3 times.
|
3 | ok = setLowSpeedUserSpecifiedDesignCapacitySizingFactor(0.5); |
| 857 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 3 times.
✗ Branch 3 not taken.
|
3 | OS_ASSERT(ok); |
| 858 |
1/1✓ Branch 1 taken 3 times.
|
3 | autosizeDesignEnteringWaterTemperature(); |
| 859 |
1/1✓ Branch 1 taken 3 times.
|
3 | ok = setDesignEnteringAirTemperature(35.0); |
| 860 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 3 times.
✗ Branch 3 not taken.
|
3 | OS_ASSERT(ok); |
| 861 |
1/1✓ Branch 1 taken 3 times.
|
3 | ok = setDesignEnteringAirWetbulbTemperature(25.6); |
| 862 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 3 times.
✗ Branch 3 not taken.
|
3 | OS_ASSERT(ok); |
| 863 |
1/1✓ Branch 1 taken 3 times.
|
3 | ok = setHighSpeedSizingFactor(1.0); |
| 864 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 3 times.
✗ Branch 3 not taken.
|
3 | OS_ASSERT(ok); |
| 865 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | ok = setEvaporationLossMode("SaturatedExit"); |
| 866 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 3 times.
✗ Branch 3 not taken.
|
3 | OS_ASSERT(ok); |
| 867 |
1/1✓ Branch 1 taken 3 times.
|
3 | ok = setDriftLossPercent(0.008); |
| 868 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 3 times.
✗ Branch 3 not taken.
|
3 | OS_ASSERT(ok); |
| 869 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | ok = setBlowdownCalculationMode("ConcentrationRatio"); |
| 870 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 3 times.
✗ Branch 3 not taken.
|
3 | OS_ASSERT(ok); |
| 871 |
1/1✓ Branch 1 taken 3 times.
|
3 | ok = setBlowdownConcentrationRatio(3.0); |
| 872 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 3 times.
✗ Branch 3 not taken.
|
3 | OS_ASSERT(ok); |
| 873 |
1/1✓ Branch 1 taken 3 times.
|
3 | autosizeDesignWaterFlowRate(); |
| 874 | 3 | } | |
| 875 | |||
| 876 | 7606 | IddObjectType EvaporativeFluidCoolerTwoSpeed::iddObjectType() { | |
| 877 |
1/1✓ Branch 1 taken 7606 times.
|
7606 | return {IddObjectType::OS_EvaporativeFluidCooler_TwoSpeed}; |
| 878 | } | ||
| 879 | |||
| 880 | ✗ | std::vector<std::string> EvaporativeFluidCoolerTwoSpeed::performanceInputMethodValues() { | |
| 881 | ✗ | return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_EvaporativeFluidCooler_TwoSpeedFields::PerformanceInputMethod); | |
| 882 | } | ||
| 883 | |||
| 884 | ✗ | std::vector<std::string> EvaporativeFluidCoolerTwoSpeed::evaporationLossModeValues() { | |
| 885 | ✗ | return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_EvaporativeFluidCooler_TwoSpeedFields::EvaporationLossMode); | |
| 886 | } | ||
| 887 | |||
| 888 | ✗ | std::vector<std::string> EvaporativeFluidCoolerTwoSpeed::blowdownCalculationModeValues() { | |
| 889 | ✗ | return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_EvaporativeFluidCooler_TwoSpeedFields::BlowdownCalculationMode); | |
| 890 | } | ||
| 891 | |||
| 892 | 1 | boost::optional<double> EvaporativeFluidCoolerTwoSpeed::highFanSpeedAirFlowRate() const { | |
| 893 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->highFanSpeedAirFlowRate(); |
| 894 | } | ||
| 895 | |||
| 896 | 2 | bool EvaporativeFluidCoolerTwoSpeed::isHighFanSpeedAirFlowRateAutosized() const { | |
| 897 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->isHighFanSpeedAirFlowRateAutosized(); |
| 898 | } | ||
| 899 | |||
| 900 | 1 | boost::optional<double> EvaporativeFluidCoolerTwoSpeed::highFanSpeedFanPower() const { | |
| 901 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->highFanSpeedFanPower(); |
| 902 | } | ||
| 903 | |||
| 904 | 2 | bool EvaporativeFluidCoolerTwoSpeed::isHighFanSpeedFanPowerAutosized() const { | |
| 905 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->isHighFanSpeedFanPowerAutosized(); |
| 906 | } | ||
| 907 | |||
| 908 | 1 | boost::optional<double> EvaporativeFluidCoolerTwoSpeed::lowFanSpeedAirFlowRate() const { | |
| 909 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->lowFanSpeedAirFlowRate(); |
| 910 | } | ||
| 911 | |||
| 912 | 2 | bool EvaporativeFluidCoolerTwoSpeed::isLowFanSpeedAirFlowRateAutosized() const { | |
| 913 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->isLowFanSpeedAirFlowRateAutosized(); |
| 914 | } | ||
| 915 | |||
| 916 | 2 | double EvaporativeFluidCoolerTwoSpeed::lowFanSpeedAirFlowRateSizingFactor() const { | |
| 917 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->lowFanSpeedAirFlowRateSizingFactor(); |
| 918 | } | ||
| 919 | |||
| 920 | 1 | boost::optional<double> EvaporativeFluidCoolerTwoSpeed::lowFanSpeedFanPower() const { | |
| 921 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->lowFanSpeedFanPower(); |
| 922 | } | ||
| 923 | |||
| 924 | 2 | bool EvaporativeFluidCoolerTwoSpeed::isLowFanSpeedFanPowerAutosized() const { | |
| 925 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->isLowFanSpeedFanPowerAutosized(); |
| 926 | } | ||
| 927 | |||
| 928 | 2 | double EvaporativeFluidCoolerTwoSpeed::lowFanSpeedFanPowerSizingFactor() const { | |
| 929 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->lowFanSpeedFanPowerSizingFactor(); |
| 930 | } | ||
| 931 | |||
| 932 | 2 | double EvaporativeFluidCoolerTwoSpeed::designSprayWaterFlowRate() const { | |
| 933 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->designSprayWaterFlowRate(); |
| 934 | } | ||
| 935 | |||
| 936 | 2 | std::string EvaporativeFluidCoolerTwoSpeed::performanceInputMethod() const { | |
| 937 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->performanceInputMethod(); |
| 938 | } | ||
| 939 | |||
| 940 | ✗ | boost::optional<std::string> EvaporativeFluidCoolerTwoSpeed::outdoorAirInletNodeName() const { | |
| 941 | ✗ | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->outdoorAirInletNodeName(); | |
| 942 | } | ||
| 943 | |||
| 944 | 2 | double EvaporativeFluidCoolerTwoSpeed::heatRejectionCapacityandNominalCapacitySizingRatio() const { | |
| 945 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->heatRejectionCapacityandNominalCapacitySizingRatio(); |
| 946 | } | ||
| 947 | |||
| 948 | 1 | boost::optional<double> EvaporativeFluidCoolerTwoSpeed::highSpeedStandardDesignCapacity() const { | |
| 949 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->highSpeedStandardDesignCapacity(); |
| 950 | } | ||
| 951 | |||
| 952 | 1 | boost::optional<double> EvaporativeFluidCoolerTwoSpeed::lowSpeedStandardDesignCapacity() const { | |
| 953 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->lowSpeedStandardDesignCapacity(); |
| 954 | } | ||
| 955 | |||
| 956 | 2 | bool EvaporativeFluidCoolerTwoSpeed::isLowSpeedStandardDesignCapacityAutosized() const { | |
| 957 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->isLowSpeedStandardDesignCapacityAutosized(); |
| 958 | } | ||
| 959 | |||
| 960 | 2 | double EvaporativeFluidCoolerTwoSpeed::lowSpeedStandardCapacitySizingFactor() const { | |
| 961 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->lowSpeedStandardCapacitySizingFactor(); |
| 962 | } | ||
| 963 | |||
| 964 | 1 | boost::optional<double> EvaporativeFluidCoolerTwoSpeed::highFanSpeedUfactorTimesAreaValue() const { | |
| 965 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->highFanSpeedUfactorTimesAreaValue(); |
| 966 | } | ||
| 967 | |||
| 968 | 2 | bool EvaporativeFluidCoolerTwoSpeed::isHighFanSpeedUfactorTimesAreaValueAutosized() const { | |
| 969 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->isHighFanSpeedUfactorTimesAreaValueAutosized(); |
| 970 | } | ||
| 971 | |||
| 972 | 1 | boost::optional<double> EvaporativeFluidCoolerTwoSpeed::lowFanSpeedUfactorTimesAreaValue() const { | |
| 973 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->lowFanSpeedUfactorTimesAreaValue(); |
| 974 | } | ||
| 975 | |||
| 976 | 2 | bool EvaporativeFluidCoolerTwoSpeed::isLowFanSpeedUfactorTimesAreaValueAutosized() const { | |
| 977 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->isLowFanSpeedUfactorTimesAreaValueAutosized(); |
| 978 | } | ||
| 979 | |||
| 980 | 2 | double EvaporativeFluidCoolerTwoSpeed::lowFanSpeedUFactorTimesAreaSizingFactor() const { | |
| 981 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->lowFanSpeedUFactorTimesAreaSizingFactor(); |
| 982 | } | ||
| 983 | |||
| 984 | 1 | boost::optional<double> EvaporativeFluidCoolerTwoSpeed::designWaterFlowRate() const { | |
| 985 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->designWaterFlowRate(); |
| 986 | } | ||
| 987 | |||
| 988 | 2 | bool EvaporativeFluidCoolerTwoSpeed::isDesignWaterFlowRateAutosized() const { | |
| 989 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->isDesignWaterFlowRateAutosized(); |
| 990 | } | ||
| 991 | |||
| 992 | 1 | boost::optional<double> EvaporativeFluidCoolerTwoSpeed::highSpeedUserSpecifiedDesignCapacity() const { | |
| 993 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->highSpeedUserSpecifiedDesignCapacity(); |
| 994 | } | ||
| 995 | |||
| 996 | 1 | boost::optional<double> EvaporativeFluidCoolerTwoSpeed::lowSpeedUserSpecifiedDesignCapacity() const { | |
| 997 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->lowSpeedUserSpecifiedDesignCapacity(); |
| 998 | } | ||
| 999 | |||
| 1000 | 2 | bool EvaporativeFluidCoolerTwoSpeed::isLowSpeedUserSpecifiedDesignCapacityAutosized() const { | |
| 1001 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->isLowSpeedUserSpecifiedDesignCapacityAutosized(); |
| 1002 | } | ||
| 1003 | |||
| 1004 | 2 | double EvaporativeFluidCoolerTwoSpeed::lowSpeedUserSpecifiedDesignCapacitySizingFactor() const { | |
| 1005 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->lowSpeedUserSpecifiedDesignCapacitySizingFactor(); |
| 1006 | } | ||
| 1007 | |||
| 1008 | 1 | boost::optional<double> EvaporativeFluidCoolerTwoSpeed::designEnteringWaterTemperature() const { | |
| 1009 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->designEnteringWaterTemperature(); |
| 1010 | } | ||
| 1011 | |||
| 1012 | 2 | bool EvaporativeFluidCoolerTwoSpeed::isDesignEnteringWaterTemperatureAutosized() const { | |
| 1013 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->isDesignEnteringWaterTemperatureAutosized(); |
| 1014 | } | ||
| 1015 | |||
| 1016 | 2 | double EvaporativeFluidCoolerTwoSpeed::designEnteringAirTemperature() const { | |
| 1017 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->designEnteringAirTemperature(); |
| 1018 | } | ||
| 1019 | |||
| 1020 | 2 | double EvaporativeFluidCoolerTwoSpeed::designEnteringAirWetbulbTemperature() const { | |
| 1021 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->designEnteringAirWetbulbTemperature(); |
| 1022 | } | ||
| 1023 | |||
| 1024 | 2 | double EvaporativeFluidCoolerTwoSpeed::highSpeedSizingFactor() const { | |
| 1025 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->highSpeedSizingFactor(); |
| 1026 | } | ||
| 1027 | |||
| 1028 | 2 | std::string EvaporativeFluidCoolerTwoSpeed::evaporationLossMode() const { | |
| 1029 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->evaporationLossMode(); |
| 1030 | } | ||
| 1031 | |||
| 1032 | 1 | boost::optional<double> EvaporativeFluidCoolerTwoSpeed::evaporationLossFactor() const { | |
| 1033 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->evaporationLossFactor(); |
| 1034 | } | ||
| 1035 | |||
| 1036 | 2 | double EvaporativeFluidCoolerTwoSpeed::driftLossPercent() const { | |
| 1037 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->driftLossPercent(); |
| 1038 | } | ||
| 1039 | |||
| 1040 | 2 | std::string EvaporativeFluidCoolerTwoSpeed::blowdownCalculationMode() const { | |
| 1041 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->blowdownCalculationMode(); |
| 1042 | } | ||
| 1043 | |||
| 1044 | 2 | double EvaporativeFluidCoolerTwoSpeed::blowdownConcentrationRatio() const { | |
| 1045 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->blowdownConcentrationRatio(); |
| 1046 | } | ||
| 1047 | |||
| 1048 | 1 | boost::optional<Schedule> EvaporativeFluidCoolerTwoSpeed::blowdownMakeupWaterUsageSchedule() const { | |
| 1049 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->blowdownMakeupWaterUsageSchedule(); |
| 1050 | } | ||
| 1051 | |||
| 1052 | // boost::optional<WaterStorageTank> EvaporativeFluidCoolerTwoSpeed::supplyWaterStorageTank() const { | ||
| 1053 | // return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->supplyWaterStorageTank(); | ||
| 1054 | // } | ||
| 1055 | |||
| 1056 | 1 | bool EvaporativeFluidCoolerTwoSpeed::setHighFanSpeedAirFlowRate(double highFanSpeedAirFlowRate) { | |
| 1057 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setHighFanSpeedAirFlowRate(highFanSpeedAirFlowRate); |
| 1058 | } | ||
| 1059 | |||
| 1060 | 3 | void EvaporativeFluidCoolerTwoSpeed::autosizeHighFanSpeedAirFlowRate() { | |
| 1061 |
1/1✓ Branch 3 taken 3 times.
|
3 | getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->autosizeHighFanSpeedAirFlowRate(); |
| 1062 | 3 | } | |
| 1063 | |||
| 1064 | 1 | bool EvaporativeFluidCoolerTwoSpeed::setHighFanSpeedFanPower(double highFanSpeedFanPower) { | |
| 1065 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setHighFanSpeedFanPower(highFanSpeedFanPower); |
| 1066 | } | ||
| 1067 | |||
| 1068 | 3 | void EvaporativeFluidCoolerTwoSpeed::autosizeHighFanSpeedFanPower() { | |
| 1069 |
1/1✓ Branch 3 taken 3 times.
|
3 | getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->autosizeHighFanSpeedFanPower(); |
| 1070 | 3 | } | |
| 1071 | |||
| 1072 | 1 | bool EvaporativeFluidCoolerTwoSpeed::setLowFanSpeedAirFlowRate(double lowFanSpeedAirFlowRate) { | |
| 1073 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setLowFanSpeedAirFlowRate(lowFanSpeedAirFlowRate); |
| 1074 | } | ||
| 1075 | |||
| 1076 | 3 | void EvaporativeFluidCoolerTwoSpeed::autosizeLowFanSpeedAirFlowRate() { | |
| 1077 |
1/1✓ Branch 3 taken 3 times.
|
3 | getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->autosizeLowFanSpeedAirFlowRate(); |
| 1078 | 3 | } | |
| 1079 | |||
| 1080 | 4 | bool EvaporativeFluidCoolerTwoSpeed::setLowFanSpeedAirFlowRateSizingFactor(double lowFanSpeedAirFlowRateSizingFactor) { | |
| 1081 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setLowFanSpeedAirFlowRateSizingFactor(lowFanSpeedAirFlowRateSizingFactor); |
| 1082 | } | ||
| 1083 | |||
| 1084 | 1 | bool EvaporativeFluidCoolerTwoSpeed::setLowFanSpeedFanPower(double lowFanSpeedFanPower) { | |
| 1085 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setLowFanSpeedFanPower(lowFanSpeedFanPower); |
| 1086 | } | ||
| 1087 | |||
| 1088 | 3 | void EvaporativeFluidCoolerTwoSpeed::autosizeLowFanSpeedFanPower() { | |
| 1089 |
1/1✓ Branch 3 taken 3 times.
|
3 | getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->autosizeLowFanSpeedFanPower(); |
| 1090 | 3 | } | |
| 1091 | |||
| 1092 | 4 | bool EvaporativeFluidCoolerTwoSpeed::setLowFanSpeedFanPowerSizingFactor(double lowFanSpeedFanPowerSizingFactor) { | |
| 1093 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setLowFanSpeedFanPowerSizingFactor(lowFanSpeedFanPowerSizingFactor); |
| 1094 | } | ||
| 1095 | |||
| 1096 | 4 | bool EvaporativeFluidCoolerTwoSpeed::setDesignSprayWaterFlowRate(double designSprayWaterFlowRate) { | |
| 1097 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setDesignSprayWaterFlowRate(designSprayWaterFlowRate); |
| 1098 | } | ||
| 1099 | |||
| 1100 | 4 | bool EvaporativeFluidCoolerTwoSpeed::setPerformanceInputMethod(const std::string& performanceInputMethod) { | |
| 1101 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setPerformanceInputMethod(performanceInputMethod); |
| 1102 | } | ||
| 1103 | |||
| 1104 | 1 | bool EvaporativeFluidCoolerTwoSpeed::setOutdoorAirInletNodeName(const std::string& outdoorAirInletNodeName) { | |
| 1105 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setOutdoorAirInletNodeName(outdoorAirInletNodeName); |
| 1106 | } | ||
| 1107 | |||
| 1108 | ✗ | void EvaporativeFluidCoolerTwoSpeed::resetOutdoorAirInletNodeName() { | |
| 1109 | ✗ | getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->resetOutdoorAirInletNodeName(); | |
| 1110 | ✗ | } | |
| 1111 | |||
| 1112 | bool | ||
| 1113 | 4 | EvaporativeFluidCoolerTwoSpeed::setHeatRejectionCapacityandNominalCapacitySizingRatio(double heatRejectionCapacityandNominalCapacitySizingRatio) { | |
| 1114 |
1/1✓ Branch 3 taken 4 times.
|
8 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setHeatRejectionCapacityandNominalCapacitySizingRatio( |
| 1115 | 8 | heatRejectionCapacityandNominalCapacitySizingRatio); | |
| 1116 | } | ||
| 1117 | |||
| 1118 | 1 | bool EvaporativeFluidCoolerTwoSpeed::setHighSpeedStandardDesignCapacity(double highSpeedStandardDesignCapacity) { | |
| 1119 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setHighSpeedStandardDesignCapacity(highSpeedStandardDesignCapacity); |
| 1120 | } | ||
| 1121 | |||
| 1122 | ✗ | void EvaporativeFluidCoolerTwoSpeed::resetHighSpeedStandardDesignCapacity() { | |
| 1123 | ✗ | getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->resetHighSpeedStandardDesignCapacity(); | |
| 1124 | ✗ | } | |
| 1125 | |||
| 1126 | 1 | bool EvaporativeFluidCoolerTwoSpeed::setLowSpeedStandardDesignCapacity(double lowSpeedStandardDesignCapacity) { | |
| 1127 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setLowSpeedStandardDesignCapacity(lowSpeedStandardDesignCapacity); |
| 1128 | } | ||
| 1129 | |||
| 1130 | ✗ | void EvaporativeFluidCoolerTwoSpeed::resetLowSpeedStandardDesignCapacity() { | |
| 1131 | ✗ | getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->resetLowSpeedStandardDesignCapacity(); | |
| 1132 | ✗ | } | |
| 1133 | |||
| 1134 | 3 | void EvaporativeFluidCoolerTwoSpeed::autosizeLowSpeedStandardDesignCapacity() { | |
| 1135 |
1/1✓ Branch 3 taken 3 times.
|
3 | getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->autosizeLowSpeedStandardDesignCapacity(); |
| 1136 | 3 | } | |
| 1137 | |||
| 1138 | 4 | bool EvaporativeFluidCoolerTwoSpeed::setLowSpeedStandardCapacitySizingFactor(double lowSpeedStandardCapacitySizingFactor) { | |
| 1139 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setLowSpeedStandardCapacitySizingFactor(lowSpeedStandardCapacitySizingFactor); |
| 1140 | } | ||
| 1141 | |||
| 1142 | 1 | bool EvaporativeFluidCoolerTwoSpeed::setHighFanSpeedUfactorTimesAreaValue(double highFanSpeedUfactorTimesAreaValue) { | |
| 1143 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setHighFanSpeedUfactorTimesAreaValue(highFanSpeedUfactorTimesAreaValue); |
| 1144 | } | ||
| 1145 | |||
| 1146 | ✗ | void EvaporativeFluidCoolerTwoSpeed::resetHighFanSpeedUfactorTimesAreaValue() { | |
| 1147 | ✗ | getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->resetHighFanSpeedUfactorTimesAreaValue(); | |
| 1148 | ✗ | } | |
| 1149 | |||
| 1150 | 3 | void EvaporativeFluidCoolerTwoSpeed::autosizeHighFanSpeedUfactorTimesAreaValue() { | |
| 1151 |
1/1✓ Branch 3 taken 3 times.
|
3 | getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->autosizeHighFanSpeedUfactorTimesAreaValue(); |
| 1152 | 3 | } | |
| 1153 | |||
| 1154 | 1 | bool EvaporativeFluidCoolerTwoSpeed::setLowFanSpeedUfactorTimesAreaValue(double lowFanSpeedUfactorTimesAreaValue) { | |
| 1155 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setLowFanSpeedUfactorTimesAreaValue(lowFanSpeedUfactorTimesAreaValue); |
| 1156 | } | ||
| 1157 | |||
| 1158 | ✗ | void EvaporativeFluidCoolerTwoSpeed::resetLowFanSpeedUfactorTimesAreaValue() { | |
| 1159 | ✗ | getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->resetLowFanSpeedUfactorTimesAreaValue(); | |
| 1160 | ✗ | } | |
| 1161 | |||
| 1162 | 3 | void EvaporativeFluidCoolerTwoSpeed::autosizeLowFanSpeedUfactorTimesAreaValue() { | |
| 1163 |
1/1✓ Branch 3 taken 3 times.
|
3 | getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->autosizeLowFanSpeedUfactorTimesAreaValue(); |
| 1164 | 3 | } | |
| 1165 | |||
| 1166 | 4 | bool EvaporativeFluidCoolerTwoSpeed::setLowFanSpeedUFactorTimesAreaSizingFactor(double lowFanSpeedUFactorTimesAreaSizingFactor) { | |
| 1167 |
1/1✓ Branch 3 taken 4 times.
|
8 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setLowFanSpeedUFactorTimesAreaSizingFactor( |
| 1168 | 8 | lowFanSpeedUFactorTimesAreaSizingFactor); | |
| 1169 | } | ||
| 1170 | |||
| 1171 | 1 | bool EvaporativeFluidCoolerTwoSpeed::setDesignWaterFlowRate(double designWaterFlowRate) { | |
| 1172 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setDesignWaterFlowRate(designWaterFlowRate); |
| 1173 | } | ||
| 1174 | |||
| 1175 | ✗ | void EvaporativeFluidCoolerTwoSpeed::resetDesignWaterFlowRate() { | |
| 1176 | ✗ | getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->resetDesignWaterFlowRate(); | |
| 1177 | ✗ | } | |
| 1178 | |||
| 1179 | 3 | void EvaporativeFluidCoolerTwoSpeed::autosizeDesignWaterFlowRate() { | |
| 1180 |
1/1✓ Branch 3 taken 3 times.
|
3 | getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->autosizeDesignWaterFlowRate(); |
| 1181 | 3 | } | |
| 1182 | |||
| 1183 | 1 | bool EvaporativeFluidCoolerTwoSpeed::setHighSpeedUserSpecifiedDesignCapacity(double highSpeedUserSpecifiedDesignCapacity) { | |
| 1184 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setHighSpeedUserSpecifiedDesignCapacity(highSpeedUserSpecifiedDesignCapacity); |
| 1185 | } | ||
| 1186 | |||
| 1187 | ✗ | void EvaporativeFluidCoolerTwoSpeed::resetHighSpeedUserSpecifiedDesignCapacity() { | |
| 1188 | ✗ | getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->resetHighSpeedUserSpecifiedDesignCapacity(); | |
| 1189 | ✗ | } | |
| 1190 | |||
| 1191 | 1 | bool EvaporativeFluidCoolerTwoSpeed::setLowSpeedUserSpecifiedDesignCapacity(double lowSpeedUserSpecifiedDesignCapacity) { | |
| 1192 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setLowSpeedUserSpecifiedDesignCapacity(lowSpeedUserSpecifiedDesignCapacity); |
| 1193 | } | ||
| 1194 | |||
| 1195 | ✗ | void EvaporativeFluidCoolerTwoSpeed::resetLowSpeedUserSpecifiedDesignCapacity() { | |
| 1196 | ✗ | getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->resetLowSpeedUserSpecifiedDesignCapacity(); | |
| 1197 | ✗ | } | |
| 1198 | |||
| 1199 | 3 | void EvaporativeFluidCoolerTwoSpeed::autosizeLowSpeedUserSpecifiedDesignCapacity() { | |
| 1200 |
1/1✓ Branch 3 taken 3 times.
|
3 | getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->autosizeLowSpeedUserSpecifiedDesignCapacity(); |
| 1201 | 3 | } | |
| 1202 | |||
| 1203 | 4 | bool EvaporativeFluidCoolerTwoSpeed::setLowSpeedUserSpecifiedDesignCapacitySizingFactor(double lowSpeedUserSpecifiedDesignCapacitySizingFactor) { | |
| 1204 |
1/1✓ Branch 3 taken 4 times.
|
8 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setLowSpeedUserSpecifiedDesignCapacitySizingFactor( |
| 1205 | 8 | lowSpeedUserSpecifiedDesignCapacitySizingFactor); | |
| 1206 | } | ||
| 1207 | |||
| 1208 | ✗ | bool EvaporativeFluidCoolerTwoSpeed::setDesignEnteringWaterTemperature(double designEnteringWaterTemperature) { | |
| 1209 | ✗ | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setDesignEnteringWaterTemperature(designEnteringWaterTemperature); | |
| 1210 | } | ||
| 1211 | |||
| 1212 | 4 | void EvaporativeFluidCoolerTwoSpeed::autosizeDesignEnteringWaterTemperature() { | |
| 1213 |
1/1✓ Branch 3 taken 4 times.
|
4 | getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->autosizeDesignEnteringWaterTemperature(); |
| 1214 | 4 | } | |
| 1215 | |||
| 1216 | 4 | bool EvaporativeFluidCoolerTwoSpeed::setDesignEnteringAirTemperature(double designEnteringAirTemperature) { | |
| 1217 |
2/2✓ Branch 3 taken 4 times.
✓ Branch 6 taken 4 times.
|
4 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setDesignEnteringAirTemperature(designEnteringAirTemperature); |
| 1218 | } | ||
| 1219 | |||
| 1220 | 4 | bool EvaporativeFluidCoolerTwoSpeed::setDesignEnteringAirWetbulbTemperature(double designEnteringAirWetbulbTemperature) { | |
| 1221 |
2/2✓ Branch 3 taken 4 times.
✓ Branch 6 taken 4 times.
|
4 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setDesignEnteringAirWetbulbTemperature(designEnteringAirWetbulbTemperature); |
| 1222 | } | ||
| 1223 | |||
| 1224 | 4 | bool EvaporativeFluidCoolerTwoSpeed::setHighSpeedSizingFactor(double highSpeedSizingFactor) { | |
| 1225 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setHighSpeedSizingFactor(highSpeedSizingFactor); |
| 1226 | } | ||
| 1227 | |||
| 1228 | 4 | bool EvaporativeFluidCoolerTwoSpeed::setEvaporationLossMode(const std::string& evaporationLossMode) { | |
| 1229 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setEvaporationLossMode(evaporationLossMode); |
| 1230 | } | ||
| 1231 | |||
| 1232 | 1 | bool EvaporativeFluidCoolerTwoSpeed::setEvaporationLossFactor(double evaporationLossFactor) { | |
| 1233 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setEvaporationLossFactor(evaporationLossFactor); |
| 1234 | } | ||
| 1235 | |||
| 1236 | ✗ | void EvaporativeFluidCoolerTwoSpeed::resetEvaporationLossFactor() { | |
| 1237 | ✗ | getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->resetEvaporationLossFactor(); | |
| 1238 | ✗ | } | |
| 1239 | |||
| 1240 | 4 | bool EvaporativeFluidCoolerTwoSpeed::setDriftLossPercent(double driftLossPercent) { | |
| 1241 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setDriftLossPercent(driftLossPercent); |
| 1242 | } | ||
| 1243 | |||
| 1244 | 4 | bool EvaporativeFluidCoolerTwoSpeed::setBlowdownCalculationMode(const std::string& blowdownCalculationMode) { | |
| 1245 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setBlowdownCalculationMode(blowdownCalculationMode); |
| 1246 | } | ||
| 1247 | |||
| 1248 | 4 | bool EvaporativeFluidCoolerTwoSpeed::setBlowdownConcentrationRatio(double blowdownConcentrationRatio) { | |
| 1249 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setBlowdownConcentrationRatio(blowdownConcentrationRatio); |
| 1250 | } | ||
| 1251 | |||
| 1252 | 1 | bool EvaporativeFluidCoolerTwoSpeed::setBlowdownMakeupWaterUsageSchedule(Schedule& schedule) { | |
| 1253 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setBlowdownMakeupWaterUsageSchedule(schedule); |
| 1254 | } | ||
| 1255 | |||
| 1256 | ✗ | void EvaporativeFluidCoolerTwoSpeed::resetBlowdownMakeupWaterUsageSchedule() { | |
| 1257 | ✗ | getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->resetBlowdownMakeupWaterUsageSchedule(); | |
| 1258 | ✗ | } | |
| 1259 | |||
| 1260 | // bool EvaporativeFluidCoolerTwoSpeed::setSupplyWaterStorageTank(const WaterStorageTank& waterStorageTank) { | ||
| 1261 | // return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->setSupplyWaterStorageTank(waterStorageTank); | ||
| 1262 | // } | ||
| 1263 | |||
| 1264 | // void EvaporativeFluidCoolerTwoSpeed::resetSupplyWaterStorageTank() { | ||
| 1265 | // getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->resetSupplyWaterStorageTank(); | ||
| 1266 | // } | ||
| 1267 | |||
| 1268 | /// @cond | ||
| 1269 | 1 | EvaporativeFluidCoolerTwoSpeed::EvaporativeFluidCoolerTwoSpeed(std::shared_ptr<detail::EvaporativeFluidCoolerTwoSpeed_Impl> impl) | |
| 1270 |
1/1✓ Branch 3 taken 1 time.
|
1 | : StraightComponent(std::move(impl)) {} |
| 1271 | /// @endcond | ||
| 1272 | |||
| 1273 | ✗ | boost::optional<double> EvaporativeFluidCoolerTwoSpeed::autosizedHighFanSpeedAirFlowRate() const { | |
| 1274 | ✗ | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->autosizedHighFanSpeedAirFlowRate(); | |
| 1275 | } | ||
| 1276 | |||
| 1277 | ✗ | boost::optional<double> EvaporativeFluidCoolerTwoSpeed::autosizedHighFanSpeedFanPower() const { | |
| 1278 | ✗ | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->autosizedHighFanSpeedFanPower(); | |
| 1279 | } | ||
| 1280 | |||
| 1281 | ✗ | boost::optional<double> EvaporativeFluidCoolerTwoSpeed::autosizedLowFanSpeedAirFlowRate() const { | |
| 1282 | ✗ | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->autosizedLowFanSpeedAirFlowRate(); | |
| 1283 | } | ||
| 1284 | |||
| 1285 | ✗ | boost::optional<double> EvaporativeFluidCoolerTwoSpeed::autosizedLowFanSpeedFanPower() const { | |
| 1286 | ✗ | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->autosizedLowFanSpeedFanPower(); | |
| 1287 | } | ||
| 1288 | |||
| 1289 | ✗ | boost::optional<double> EvaporativeFluidCoolerTwoSpeed::autosizedLowSpeedStandardDesignCapacity() const { | |
| 1290 | ✗ | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->autosizedLowSpeedStandardDesignCapacity(); | |
| 1291 | } | ||
| 1292 | |||
| 1293 | ✗ | boost::optional<double> EvaporativeFluidCoolerTwoSpeed::autosizedHighFanSpeedUfactorTimesAreaValue() const { | |
| 1294 | ✗ | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->autosizedHighFanSpeedUfactorTimesAreaValue(); | |
| 1295 | } | ||
| 1296 | |||
| 1297 | ✗ | boost::optional<double> EvaporativeFluidCoolerTwoSpeed::autosizedLowFanSpeedUfactorTimesAreaValue() const { | |
| 1298 | ✗ | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->autosizedLowFanSpeedUfactorTimesAreaValue(); | |
| 1299 | } | ||
| 1300 | |||
| 1301 | ✗ | boost::optional<double> EvaporativeFluidCoolerTwoSpeed::autosizedDesignWaterFlowRate() const { | |
| 1302 | ✗ | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->autosizedDesignWaterFlowRate(); | |
| 1303 | } | ||
| 1304 | |||
| 1305 | ✗ | boost::optional<double> EvaporativeFluidCoolerTwoSpeed::autosizedLowSpeedUserSpecifiedDesignCapacity() const { | |
| 1306 | ✗ | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->autosizedLowSpeedUserSpecifiedDesignCapacity(); | |
| 1307 | } | ||
| 1308 | |||
| 1309 | ✗ | boost::optional<double> EvaporativeFluidCoolerTwoSpeed::autosizedDesignEnteringWaterTemperature() const { | |
| 1310 | ✗ | return getImpl<detail::EvaporativeFluidCoolerTwoSpeed_Impl>()->autosizedDesignEnteringWaterTemperature(); | |
| 1311 | } | ||
| 1312 | |||
| 1313 | } // namespace model | ||
| 1314 | } // namespace openstudio | ||
| 1315 |