src/model/AirflowNetworkSimulationControl.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 "AirflowNetworkSimulationControl.hpp" | ||
| 7 | #include "AirflowNetworkSimulationControl_Impl.hpp" | ||
| 8 | |||
| 9 | #include "Model.hpp" | ||
| 10 | #include "ConvergenceLimits.hpp" | ||
| 11 | #include "ConvergenceLimits_Impl.hpp" | ||
| 12 | #include "HeatBalanceAlgorithm.hpp" | ||
| 13 | #include "HeatBalanceAlgorithm_Impl.hpp" | ||
| 14 | #include "InsideSurfaceConvectionAlgorithm.hpp" | ||
| 15 | #include "InsideSurfaceConvectionAlgorithm_Impl.hpp" | ||
| 16 | #include "OutsideSurfaceConvectionAlgorithm.hpp" | ||
| 17 | #include "OutsideSurfaceConvectionAlgorithm_Impl.hpp" | ||
| 18 | #include "RunPeriod.hpp" | ||
| 19 | #include "RunPeriod_Impl.hpp" | ||
| 20 | #include "ShadowCalculation.hpp" | ||
| 21 | #include "ShadowCalculation_Impl.hpp" | ||
| 22 | #include "SizingPeriod.hpp" | ||
| 23 | #include "SizingPeriod_Impl.hpp" | ||
| 24 | #include "SizingParameters.hpp" | ||
| 25 | #include "SizingParameters_Impl.hpp" | ||
| 26 | #include "Timestep.hpp" | ||
| 27 | #include "Timestep_Impl.hpp" | ||
| 28 | #include "WeatherFile.hpp" | ||
| 29 | #include "WeatherFile_Impl.hpp" | ||
| 30 | #include "ZoneAirContaminantBalance.hpp" | ||
| 31 | #include "ZoneAirContaminantBalance_Impl.hpp" | ||
| 32 | #include "ZoneAirHeatBalanceAlgorithm.hpp" | ||
| 33 | #include "ZoneAirHeatBalanceAlgorithm_Impl.hpp" | ||
| 34 | #include "ZoneCapacitanceMultiplierResearchSpecial.hpp" | ||
| 35 | #include "ZoneCapacitanceMultiplierResearchSpecial_Impl.hpp" | ||
| 36 | |||
| 37 | #include <utilities/idd/IddFactory.hxx> | ||
| 38 | #include <utilities/idd/OS_AirflowNetworkSimulationControl_FieldEnums.hxx> | ||
| 39 | |||
| 40 | #include "../utilities/sql/SqlFile.hpp" | ||
| 41 | #include "../utilities/core/Assert.hpp" | ||
| 42 | #include "../utilities/core/Compare.hpp" | ||
| 43 | #include "../utilities/units/Unit.hpp" | ||
| 44 | |||
| 45 | namespace openstudio { | ||
| 46 | namespace model { | ||
| 47 | |||
| 48 | namespace detail { | ||
| 49 | |||
| 50 | 10 | AirflowNetworkSimulationControl_Impl::AirflowNetworkSimulationControl_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle) | |
| 51 | 10 | : ParentObject_Impl(idfObject, model, keepHandle) { | |
| 52 |
4/6✓ Branch 1 taken 10 times.
✓ Branch 4 taken 10 times.
✓ Branch 7 taken 10 times.
✗ Branch 10 not taken.
✓ Branch 11 taken 10 times.
✗ Branch 13 not taken.
|
10 | OS_ASSERT(idfObject.iddObject().type() == AirflowNetworkSimulationControl::iddObjectType()); |
| 53 | 10 | } | |
| 54 | |||
| 55 | ✗ | AirflowNetworkSimulationControl_Impl::AirflowNetworkSimulationControl_Impl(const openstudio::detail::WorkspaceObject_Impl& other, | |
| 56 | ✗ | Model_Impl* model, bool keepHandle) | |
| 57 | ✗ | : ParentObject_Impl(other, model, keepHandle) { | |
| 58 | ✗ | OS_ASSERT(other.iddObject().type() == AirflowNetworkSimulationControl::iddObjectType()); | |
| 59 | ✗ | } | |
| 60 | |||
| 61 | 9 | AirflowNetworkSimulationControl_Impl::AirflowNetworkSimulationControl_Impl(const AirflowNetworkSimulationControl_Impl& other, Model_Impl* model, | |
| 62 | 9 | bool keepHandle) | |
| 63 | 9 | : ParentObject_Impl(other, model, keepHandle) {} | |
| 64 | |||
| 65 | // return the parent object in the hierarchy | ||
| 66 | 1 | boost::optional<ParentObject> AirflowNetworkSimulationControl_Impl::parent() const { | |
| 67 | // Simulation is highest level, there is no parent | ||
| 68 | 1 | return {}; | |
| 69 | } | ||
| 70 | |||
| 71 | // return any children objects in the hierarchy | ||
| 72 | 2 | std::vector<ModelObject> AirflowNetworkSimulationControl_Impl::children() const { | |
| 73 | 2 | std::vector<ModelObject> result; | |
| 74 | |||
| 75 | /* | ||
| 76 | OptionalConvergenceLimits ocl = convergenceLimits(); | ||
| 77 | if (ocl) { result.push_back(*ocl); } | ||
| 78 | |||
| 79 | //OptionalDaylightSavingsTime odst = daylightSavingsTime(); | ||
| 80 | //if (odst) { result.push_back(*odst); } | ||
| 81 | |||
| 82 | OptionalHeatBalanceAlgorithm ohba = heatBalanceAlgorithm(); | ||
| 83 | if (ohba) { result.push_back(*ohba); } | ||
| 84 | |||
| 85 | OptionalInsideSurfaceConvectionAlgorithm oisca = insideSurfaceConvectionAlgorithm(); | ||
| 86 | if (oisca) { result.push_back(*oisca); } | ||
| 87 | |||
| 88 | OptionalOutsideSurfaceConvectionAlgorithm oosca = outsideSurfaceConvectionAlgorithm(); | ||
| 89 | if (oosca) { result.push_back(*oosca); } | ||
| 90 | |||
| 91 | RunPeriodVector rps = runPeriods(); | ||
| 92 | result.insert(result.end(),rps.begin(),rps.end()); | ||
| 93 | |||
| 94 | OptionalShadowCalculation osc = shadowCalculation(); | ||
| 95 | if (osc) { result.push_back(*osc); } | ||
| 96 | |||
| 97 | //SpecialDaysVector sds = specialDays(); | ||
| 98 | //result.insert(result.end(),sds.begin(),sds.end()); | ||
| 99 | |||
| 100 | OptionalSizingParameters osp = sizingParameters(); | ||
| 101 | if (osp) { result.push_back(*osp); } | ||
| 102 | |||
| 103 | OptionalTimestep ot = timestep(); | ||
| 104 | if (ot) { result.push_back(*ot); } | ||
| 105 | |||
| 106 | OptionalZoneAirContaminantBalance ozacb = zoneAirContaminantBalance(); | ||
| 107 | if (ozacb) { result.push_back(*ozacb); } | ||
| 108 | |||
| 109 | OptionalZoneAirHeatBalanceAlgorithm ozahba = zoneAirHeatBalanceAlgorithm(); | ||
| 110 | if (ozahba) { result.push_back(*ozahba); } | ||
| 111 | |||
| 112 | OptionalZoneCapacitanceMultiplierResearchSpecial ozcmrs; | ||
| 113 | ozcmrs = zoneCapacitanceMultiplierResearchSpecial(); | ||
| 114 | if (ozcmrs) { result.push_back(*ozcmrs); } | ||
| 115 | */ | ||
| 116 | |||
| 117 | 2 | return result; | |
| 118 | } | ||
| 119 | |||
| 120 | ✗ | std::vector<IddObjectType> AirflowNetworkSimulationControl_Impl::allowableChildTypes() const { | |
| 121 | ✗ | IddObjectTypeVector result; | |
| 122 | /* | ||
| 123 | result.push_back(ConvergenceLimits::iddObjectType()); | ||
| 124 | result.push_back(HeatBalanceAlgorithm::iddObjectType()); | ||
| 125 | result.push_back(InsideSurfaceConvectionAlgorithm::iddObjectType()); | ||
| 126 | result.push_back(OutsideSurfaceConvectionAlgorithm::iddObjectType()); | ||
| 127 | result.push_back(RunPeriod::iddObjectType()); | ||
| 128 | result.push_back(ShadowCalculation::iddObjectType()); | ||
| 129 | result.push_back(SizingParameters::iddObjectType()); | ||
| 130 | result.push_back(Timestep::iddObjectType()); | ||
| 131 | result.push_back(ZoneAirContaminantBalance::iddObjectType()); | ||
| 132 | result.push_back(ZoneAirHeatBalanceAlgorithm::iddObjectType()); | ||
| 133 | result.push_back(ZoneCapacitanceMultiplierResearchSpecial::iddObjectType()); | ||
| 134 | */ | ||
| 135 | ✗ | return result; | |
| 136 | } | ||
| 137 | |||
| 138 | ✗ | const std::vector<std::string>& AirflowNetworkSimulationControl_Impl::outputVariableNames() const { | |
| 139 | ✗ | static const std::vector<std::string> result; | |
| 140 | ✗ | return result; | |
| 141 | } | ||
| 142 | |||
| 143 | ✗ | IddObjectType AirflowNetworkSimulationControl_Impl::iddObjectType() const { | |
| 144 | ✗ | return AirflowNetworkSimulationControl::iddObjectType(); | |
| 145 | } | ||
| 146 | |||
| 147 | 14 | boost::optional<std::string> AirflowNetworkSimulationControl_Impl::airflowNetworkControl() const { | |
| 148 | 14 | return getString(OS_AirflowNetworkSimulationControlFields::AirflowNetworkControl, true); | |
| 149 | } | ||
| 150 | |||
| 151 | 1 | bool AirflowNetworkSimulationControl_Impl::isAirflowNetworkControlDefaulted() const { | |
| 152 | 1 | return isEmpty(OS_AirflowNetworkSimulationControlFields::AirflowNetworkControl); | |
| 153 | } | ||
| 154 | |||
| 155 | ✗ | bool AirflowNetworkSimulationControl_Impl::setAirflowNetworkControl(const std::string& control) { | |
| 156 | ✗ | return setString(OS_AirflowNetworkSimulationControlFields::AirflowNetworkControl, control); | |
| 157 | } | ||
| 158 | |||
| 159 | ✗ | void AirflowNetworkSimulationControl_Impl::resetAirflowNetworkControl() { | |
| 160 | ✗ | bool result = setString(OS_AirflowNetworkSimulationControlFields::AirflowNetworkControl, ""); | |
| 161 | ✗ | OS_ASSERT(result); | |
| 162 | ✗ | } | |
| 163 | |||
| 164 | 14 | boost::optional<std::string> AirflowNetworkSimulationControl_Impl::windPressureCoefficientType() const { | |
| 165 | 14 | return getString(OS_AirflowNetworkSimulationControlFields::WindPressureCoefficientType, true); | |
| 166 | } | ||
| 167 | |||
| 168 | 1 | bool AirflowNetworkSimulationControl_Impl::isWindPressureCoefficientTypeDefaulted() const { | |
| 169 | 1 | return isEmpty(OS_AirflowNetworkSimulationControlFields::WindPressureCoefficientType); | |
| 170 | } | ||
| 171 | |||
| 172 | ✗ | bool AirflowNetworkSimulationControl_Impl::setWindPressureCoefficientType(const std::string& type) { | |
| 173 | ✗ | return setString(OS_AirflowNetworkSimulationControlFields::WindPressureCoefficientType, type); | |
| 174 | } | ||
| 175 | |||
| 176 | ✗ | void AirflowNetworkSimulationControl_Impl::resetWindPressureCoefficientType() { | |
| 177 | ✗ | bool result = setString(OS_AirflowNetworkSimulationControlFields::WindPressureCoefficientType, ""); | |
| 178 | ✗ | OS_ASSERT(result); | |
| 179 | ✗ | } | |
| 180 | |||
| 181 | 14 | boost::optional<std::string> AirflowNetworkSimulationControl_Impl::heightSelectionforLocalWindPressureCalculation() const { | |
| 182 | 14 | return getString(OS_AirflowNetworkSimulationControlFields::HeightSelectionforLocalWindPressureCalculation, true); | |
| 183 | } | ||
| 184 | |||
| 185 | 1 | bool AirflowNetworkSimulationControl_Impl::isHeightSelectionforLocalWindPressureCalculationDefaulted() const { | |
| 186 | 1 | return isEmpty(OS_AirflowNetworkSimulationControlFields::HeightSelectionforLocalWindPressureCalculation); | |
| 187 | } | ||
| 188 | |||
| 189 | ✗ | bool AirflowNetworkSimulationControl_Impl::setHeightSelectionforLocalWindPressureCalculation(const std::string& type) { | |
| 190 | ✗ | return setString(OS_AirflowNetworkSimulationControlFields::HeightSelectionforLocalWindPressureCalculation, type); | |
| 191 | } | ||
| 192 | |||
| 193 | ✗ | void AirflowNetworkSimulationControl_Impl::resetHeightSelectionforLocalWindPressureCalculation() { | |
| 194 | ✗ | bool result = setString(OS_AirflowNetworkSimulationControlFields::HeightSelectionforLocalWindPressureCalculation, ""); | |
| 195 | ✗ | OS_ASSERT(result); | |
| 196 | ✗ | } | |
| 197 | |||
| 198 | 14 | boost::optional<std::string> AirflowNetworkSimulationControl_Impl::buildingType() const { | |
| 199 | 14 | return getString(OS_AirflowNetworkSimulationControlFields::BuildingType, true); | |
| 200 | } | ||
| 201 | |||
| 202 | 1 | bool AirflowNetworkSimulationControl_Impl::isBuildingTypeDefaulted() const { | |
| 203 | 1 | return isEmpty(OS_AirflowNetworkSimulationControlFields::BuildingType); | |
| 204 | } | ||
| 205 | |||
| 206 | ✗ | bool AirflowNetworkSimulationControl_Impl::setBuildingType(const std::string& type) { | |
| 207 | ✗ | return setString(OS_AirflowNetworkSimulationControlFields::BuildingType, type); | |
| 208 | } | ||
| 209 | |||
| 210 | ✗ | void AirflowNetworkSimulationControl_Impl::resetBuildingType() { | |
| 211 | ✗ | bool result = setString(OS_AirflowNetworkSimulationControlFields::BuildingType, ""); | |
| 212 | ✗ | OS_ASSERT(result); | |
| 213 | ✗ | } | |
| 214 | |||
| 215 | 14 | boost::optional<int> AirflowNetworkSimulationControl_Impl::maximumNumberofIterations() const { | |
| 216 | 14 | return getInt(OS_AirflowNetworkSimulationControlFields::MaximumNumberofIterations, true); | |
| 217 | } | ||
| 218 | |||
| 219 | 1 | bool AirflowNetworkSimulationControl_Impl::isMaximumNumberofIterationsDefaulted() const { | |
| 220 | 1 | return isEmpty(OS_AirflowNetworkSimulationControlFields::MaximumNumberofIterations); | |
| 221 | } | ||
| 222 | |||
| 223 | ✗ | bool AirflowNetworkSimulationControl_Impl::setMaximumNumberofIterations(int number) { | |
| 224 | ✗ | return setInt(OS_AirflowNetworkSimulationControlFields::MaximumNumberofIterations, number); | |
| 225 | } | ||
| 226 | |||
| 227 | ✗ | void AirflowNetworkSimulationControl_Impl::resetMaximumNumberofIterations() { | |
| 228 | ✗ | bool result = setString(OS_AirflowNetworkSimulationControlFields::MaximumNumberofIterations, ""); | |
| 229 | ✗ | OS_ASSERT(result); | |
| 230 | ✗ | } | |
| 231 | |||
| 232 | 14 | boost::optional<std::string> AirflowNetworkSimulationControl_Impl::initializationType() const { | |
| 233 | 14 | return getString(OS_AirflowNetworkSimulationControlFields::InitializationType, true); | |
| 234 | } | ||
| 235 | |||
| 236 | 1 | bool AirflowNetworkSimulationControl_Impl::isInitializationTypeDefaulted() const { | |
| 237 | 1 | return isEmpty(OS_AirflowNetworkSimulationControlFields::InitializationType); | |
| 238 | } | ||
| 239 | |||
| 240 | ✗ | bool AirflowNetworkSimulationControl_Impl::setInitializationType(const std::string& type) { | |
| 241 | ✗ | return setString(OS_AirflowNetworkSimulationControlFields::InitializationType, type); | |
| 242 | } | ||
| 243 | |||
| 244 | ✗ | void AirflowNetworkSimulationControl_Impl::resetInitializationType() { | |
| 245 | ✗ | bool result = setString(OS_AirflowNetworkSimulationControlFields::InitializationType, ""); | |
| 246 | ✗ | OS_ASSERT(result); | |
| 247 | ✗ | } | |
| 248 | |||
| 249 | 14 | boost::optional<double> AirflowNetworkSimulationControl_Impl::relativeAirflowConvergenceTolerance() const { | |
| 250 | 14 | return getDouble(OS_AirflowNetworkSimulationControlFields::RelativeAirflowConvergenceTolerance, true); | |
| 251 | } | ||
| 252 | |||
| 253 | 1 | bool AirflowNetworkSimulationControl_Impl::isRelativeAirflowConvergenceToleranceDefaulted() const { | |
| 254 | 1 | return isEmpty(OS_AirflowNetworkSimulationControlFields::RelativeAirflowConvergenceTolerance); | |
| 255 | } | ||
| 256 | |||
| 257 | ✗ | bool AirflowNetworkSimulationControl_Impl::setRelativeAirflowConvergenceTolerance(double tolerance) { | |
| 258 | ✗ | return setDouble(OS_AirflowNetworkSimulationControlFields::RelativeAirflowConvergenceTolerance, tolerance); | |
| 259 | } | ||
| 260 | |||
| 261 | ✗ | void AirflowNetworkSimulationControl_Impl::resetRelativeAirflowConvergenceTolerance() { | |
| 262 | ✗ | bool result = setString(OS_AirflowNetworkSimulationControlFields::RelativeAirflowConvergenceTolerance, ""); | |
| 263 | ✗ | OS_ASSERT(result); | |
| 264 | ✗ | } | |
| 265 | |||
| 266 | 14 | boost::optional<double> AirflowNetworkSimulationControl_Impl::absoluteAirflowConvergenceTolerance() const { | |
| 267 | 14 | return getDouble(OS_AirflowNetworkSimulationControlFields::AbsoluteAirflowConvergenceTolerance, true); | |
| 268 | } | ||
| 269 | |||
| 270 | 1 | bool AirflowNetworkSimulationControl_Impl::isAbsoluteAirflowConvergenceToleranceDefaulted() const { | |
| 271 | 1 | return isEmpty(OS_AirflowNetworkSimulationControlFields::AbsoluteAirflowConvergenceTolerance); | |
| 272 | } | ||
| 273 | |||
| 274 | ✗ | bool AirflowNetworkSimulationControl_Impl::setAbsoluteAirflowConvergenceTolerance(double tolerance) { | |
| 275 | ✗ | return setDouble(OS_AirflowNetworkSimulationControlFields::AbsoluteAirflowConvergenceTolerance, tolerance); | |
| 276 | } | ||
| 277 | |||
| 278 | ✗ | void AirflowNetworkSimulationControl_Impl::resetAbsoluteAirflowConvergenceTolerance() { | |
| 279 | ✗ | bool result = setString(OS_AirflowNetworkSimulationControlFields::AbsoluteAirflowConvergenceTolerance, ""); | |
| 280 | ✗ | OS_ASSERT(result); | |
| 281 | ✗ | } | |
| 282 | |||
| 283 | 14 | boost::optional<double> AirflowNetworkSimulationControl_Impl::convergenceAccelerationLimit() const { | |
| 284 | 14 | return getDouble(OS_AirflowNetworkSimulationControlFields::ConvergenceAccelerationLimit, true); | |
| 285 | } | ||
| 286 | |||
| 287 | 1 | bool AirflowNetworkSimulationControl_Impl::isConvergenceAccelerationLimitDefaulted() const { | |
| 288 | 1 | return isEmpty(OS_AirflowNetworkSimulationControlFields::ConvergenceAccelerationLimit); | |
| 289 | } | ||
| 290 | |||
| 291 | ✗ | bool AirflowNetworkSimulationControl_Impl::setConvergenceAccelerationLimit(double limit) { | |
| 292 | ✗ | return setDouble(OS_AirflowNetworkSimulationControlFields::ConvergenceAccelerationLimit, limit); | |
| 293 | } | ||
| 294 | |||
| 295 | ✗ | void AirflowNetworkSimulationControl_Impl::resetConvergenceAccelerationLimit() { | |
| 296 | ✗ | bool result = setString(OS_AirflowNetworkSimulationControlFields::ConvergenceAccelerationLimit, ""); | |
| 297 | ✗ | OS_ASSERT(result); | |
| 298 | ✗ | } | |
| 299 | |||
| 300 | 14 | boost::optional<double> AirflowNetworkSimulationControl_Impl::azimuthAngleofLongAxisofBuilding() const { | |
| 301 | 14 | return getDouble(OS_AirflowNetworkSimulationControlFields::AzimuthAngleofLongAxisofBuilding, true); | |
| 302 | } | ||
| 303 | |||
| 304 | 1 | bool AirflowNetworkSimulationControl_Impl::isAzimuthAngleofLongAxisofBuildingDefaulted() const { | |
| 305 | 1 | return isEmpty(OS_AirflowNetworkSimulationControlFields::AzimuthAngleofLongAxisofBuilding); | |
| 306 | } | ||
| 307 | |||
| 308 | ✗ | bool AirflowNetworkSimulationControl_Impl::setAzimuthAngleofLongAxisofBuilding(double angle) { | |
| 309 | ✗ | return setDouble(OS_AirflowNetworkSimulationControlFields::AzimuthAngleofLongAxisofBuilding, angle); | |
| 310 | } | ||
| 311 | |||
| 312 | ✗ | void AirflowNetworkSimulationControl_Impl::resetAzimuthAngleofLongAxisofBuilding() { | |
| 313 | ✗ | bool result = setString(OS_AirflowNetworkSimulationControlFields::AzimuthAngleofLongAxisofBuilding, ""); | |
| 314 | ✗ | OS_ASSERT(result); | |
| 315 | ✗ | } | |
| 316 | |||
| 317 | 14 | boost::optional<double> AirflowNetworkSimulationControl_Impl::buildingAspectRatio() const { | |
| 318 | 14 | return getDouble(OS_AirflowNetworkSimulationControlFields::RatioofBuildingWidthAlongShortAxistoWidthAlongLongAxis, true); | |
| 319 | } | ||
| 320 | |||
| 321 | 1 | bool AirflowNetworkSimulationControl_Impl::isBuildingAspectRatioDefaulted() const { | |
| 322 | 1 | return isEmpty(OS_AirflowNetworkSimulationControlFields::RatioofBuildingWidthAlongShortAxistoWidthAlongLongAxis); | |
| 323 | } | ||
| 324 | |||
| 325 | ✗ | bool AirflowNetworkSimulationControl_Impl::setBuildingAspectRatio(double ratio) { | |
| 326 | ✗ | return setDouble(OS_AirflowNetworkSimulationControlFields::RatioofBuildingWidthAlongShortAxistoWidthAlongLongAxis, ratio); | |
| 327 | } | ||
| 328 | |||
| 329 | ✗ | void AirflowNetworkSimulationControl_Impl::resetBuildingAspectRatio() { | |
| 330 | ✗ | bool result = setString(OS_AirflowNetworkSimulationControlFields::RatioofBuildingWidthAlongShortAxistoWidthAlongLongAxis, ""); | |
| 331 | ✗ | OS_ASSERT(result); | |
| 332 | ✗ | } | |
| 333 | |||
| 334 | 7 | bool AirflowNetworkSimulationControl_Impl::heightDependenceofExternalNodeTemperature() const { | |
| 335 |
1/1✓ Branch 1 taken 7 times.
|
7 | boost::optional<std::string> opt = getString(OS_AirflowNetworkSimulationControlFields::HeightDependenceofExternalNodeTemperature, true); |
| 336 |
1/2✓ Branch 0 taken 7 times.
✗ Branch 1 not taken.
|
7 | if (opt) { |
| 337 |
3/3✓ Branch 1 taken 7 times.
✓ Branch 4 taken 7 times.
✓ Branch 7 taken 7 times.
|
14 | return openstudio::istringEqual(opt.get(), "Yes"); |
| 338 | } | ||
| 339 | ✗ | return false; // Default is "No" | |
| 340 | 7 | } | |
| 341 | |||
| 342 | 1 | bool AirflowNetworkSimulationControl_Impl::isHeightDependenceofExternalNodeTemperatureDefaulted() const { | |
| 343 | 1 | return isEmpty(OS_AirflowNetworkSimulationControlFields::HeightDependenceofExternalNodeTemperature); | |
| 344 | } | ||
| 345 | |||
| 346 | ✗ | bool AirflowNetworkSimulationControl_Impl::setHeightDependenceofExternalNodeTemperature(bool tf) { | |
| 347 | ✗ | if (tf) { | |
| 348 | ✗ | return setString(OS_AirflowNetworkSimulationControlFields::HeightDependenceofExternalNodeTemperature, "Yes"); | |
| 349 | } | ||
| 350 | ✗ | return setString(OS_AirflowNetworkSimulationControlFields::HeightDependenceofExternalNodeTemperature, "No"); | |
| 351 | } | ||
| 352 | |||
| 353 | ✗ | void AirflowNetworkSimulationControl_Impl::resetHeightDependenceofExternalNodeTemperature() { | |
| 354 | ✗ | bool result = setString(OS_AirflowNetworkSimulationControlFields::HeightDependenceofExternalNodeTemperature, ""); | |
| 355 | ✗ | OS_ASSERT(result); | |
| 356 | ✗ | } | |
| 357 | |||
| 358 | 3 | std::string AirflowNetworkSimulationControl_Impl::solver() const { | |
| 359 |
1/1✓ Branch 1 taken 3 times.
|
3 | boost::optional<std::string> value = getString(OS_AirflowNetworkSimulationControlFields::Solver, true); |
| 360 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
|
3 | OS_ASSERT(value); |
| 361 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
6 | return value.get(); |
| 362 | 3 | } | |
| 363 | |||
| 364 | 10 | bool AirflowNetworkSimulationControl_Impl::isSolverDefaulted() const { | |
| 365 | 10 | return isEmpty(OS_AirflowNetworkSimulationControlFields::Solver); | |
| 366 | } | ||
| 367 | |||
| 368 | 1 | bool AirflowNetworkSimulationControl_Impl::setSolver(const std::string& solver) { | |
| 369 | 1 | bool result = setString(OS_AirflowNetworkSimulationControlFields::Solver, solver); | |
| 370 | 1 | return result; | |
| 371 | } | ||
| 372 | |||
| 373 | 1 | void AirflowNetworkSimulationControl_Impl::resetSolver() { | |
| 374 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_AirflowNetworkSimulationControlFields::Solver, ""); |
| 375 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 376 | 1 | } | |
| 377 | |||
| 378 | 3 | bool AirflowNetworkSimulationControl_Impl::allowUnsupportedZoneEquipment() const { | |
| 379 |
1/1✓ Branch 1 taken 3 times.
|
3 | boost::optional<std::string> value = getString(OS_AirflowNetworkSimulationControlFields::AllowUnsupportedZoneEquipment, true); |
| 380 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
|
3 | OS_ASSERT(value); |
| 381 |
3/3✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
✓ Branch 7 taken 3 times.
|
6 | return openstudio::istringEqual(value.get(), "Yes"); |
| 382 | 3 | } | |
| 383 | |||
| 384 | 10 | bool AirflowNetworkSimulationControl_Impl::isAllowUnsupportedZoneEquipmentDefaulted() const { | |
| 385 | 10 | return isEmpty(OS_AirflowNetworkSimulationControlFields::AllowUnsupportedZoneEquipment); | |
| 386 | } | ||
| 387 | |||
| 388 | 1 | bool AirflowNetworkSimulationControl_Impl::setAllowUnsupportedZoneEquipment(bool allowUnsupportedZoneEquipment) { | |
| 389 | 1 | bool result = false; | |
| 390 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (allowUnsupportedZoneEquipment) { |
| 391 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
3 | result = setString(OS_AirflowNetworkSimulationControlFields::AllowUnsupportedZoneEquipment, "Yes"); |
| 392 | } else { | ||
| 393 | ✗ | result = setString(OS_AirflowNetworkSimulationControlFields::AllowUnsupportedZoneEquipment, "No"); | |
| 394 | } | ||
| 395 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 396 | 1 | return result; | |
| 397 | } | ||
| 398 | |||
| 399 | 1 | void AirflowNetworkSimulationControl_Impl::resetAllowUnsupportedZoneEquipment() { | |
| 400 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_AirflowNetworkSimulationControlFields::AllowUnsupportedZoneEquipment, ""); |
| 401 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 402 | 1 | } | |
| 403 | |||
| 404 | } // namespace detail | ||
| 405 | |||
| 406 | 10 | AirflowNetworkSimulationControl::AirflowNetworkSimulationControl(const Model& model) : ParentObject(iddObjectType(), model) { | |
| 407 |
1/3✗ Branch 2 not taken.
✓ Branch 3 taken 10 times.
✗ Branch 5 not taken.
|
10 | OS_ASSERT(getImpl<detail::AirflowNetworkSimulationControl_Impl>()); |
| 408 | 10 | } | |
| 409 | |||
| 410 | 12 | AirflowNetworkSimulationControl::AirflowNetworkSimulationControl(std::shared_ptr<detail::AirflowNetworkSimulationControl_Impl> impl) | |
| 411 |
1/1✓ Branch 2 taken 12 times.
|
12 | : ParentObject(impl) {} |
| 412 | |||
| 413 | 8523 | IddObjectType AirflowNetworkSimulationControl::iddObjectType() { | |
| 414 |
1/1✓ Branch 1 taken 8523 times.
|
8523 | return {IddObjectType::OS_AirflowNetworkSimulationControl}; |
| 415 | } | ||
| 416 | |||
| 417 | ✗ | std::vector<std::string> AirflowNetworkSimulationControl::solverValues() { | |
| 418 | ✗ | return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_AirflowNetworkSimulationControlFields::Solver); | |
| 419 | } | ||
| 420 | |||
| 421 | 14 | boost::optional<std::string> AirflowNetworkSimulationControl::airflowNetworkControl() const { | |
| 422 |
1/1✓ Branch 3 taken 14 times.
|
14 | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->airflowNetworkControl(); |
| 423 | } | ||
| 424 | |||
| 425 | 1 | bool AirflowNetworkSimulationControl::isAirflowNetworkControlDefaulted() const { | |
| 426 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->isAirflowNetworkControlDefaulted(); |
| 427 | } | ||
| 428 | |||
| 429 | 14 | boost::optional<std::string> AirflowNetworkSimulationControl::windPressureCoefficientType() const { | |
| 430 |
1/1✓ Branch 3 taken 14 times.
|
14 | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->windPressureCoefficientType(); |
| 431 | } | ||
| 432 | |||
| 433 | 1 | bool AirflowNetworkSimulationControl::isWindPressureCoefficientTypeDefaulted() const { | |
| 434 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->isWindPressureCoefficientTypeDefaulted(); |
| 435 | } | ||
| 436 | |||
| 437 | 14 | boost::optional<std::string> AirflowNetworkSimulationControl::heightSelectionforLocalWindPressureCalculation() const { | |
| 438 |
1/1✓ Branch 3 taken 14 times.
|
14 | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->heightSelectionforLocalWindPressureCalculation(); |
| 439 | } | ||
| 440 | |||
| 441 | 1 | bool AirflowNetworkSimulationControl::isHeightSelectionforLocalWindPressureCalculationDefaulted() const { | |
| 442 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->isHeightSelectionforLocalWindPressureCalculationDefaulted(); |
| 443 | } | ||
| 444 | |||
| 445 | 14 | boost::optional<std::string> AirflowNetworkSimulationControl::buildingType() const { | |
| 446 |
1/1✓ Branch 3 taken 14 times.
|
14 | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->buildingType(); |
| 447 | } | ||
| 448 | |||
| 449 | 1 | bool AirflowNetworkSimulationControl::isBuildingTypeDefaulted() const { | |
| 450 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->isBuildingTypeDefaulted(); |
| 451 | } | ||
| 452 | |||
| 453 | 14 | boost::optional<int> AirflowNetworkSimulationControl::maximumNumberofIterations() const { | |
| 454 |
1/1✓ Branch 3 taken 14 times.
|
14 | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->maximumNumberofIterations(); |
| 455 | } | ||
| 456 | |||
| 457 | 1 | bool AirflowNetworkSimulationControl::isMaximumNumberofIterationsDefaulted() const { | |
| 458 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->isMaximumNumberofIterationsDefaulted(); |
| 459 | } | ||
| 460 | |||
| 461 | 14 | boost::optional<std::string> AirflowNetworkSimulationControl::initializationType() const { | |
| 462 |
1/1✓ Branch 3 taken 14 times.
|
14 | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->initializationType(); |
| 463 | } | ||
| 464 | |||
| 465 | 1 | bool AirflowNetworkSimulationControl::isInitializationTypeDefaulted() const { | |
| 466 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->isInitializationTypeDefaulted(); |
| 467 | } | ||
| 468 | |||
| 469 | 14 | boost::optional<double> AirflowNetworkSimulationControl::relativeAirflowConvergenceTolerance() const { | |
| 470 |
1/1✓ Branch 3 taken 14 times.
|
14 | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->relativeAirflowConvergenceTolerance(); |
| 471 | } | ||
| 472 | |||
| 473 | 1 | bool AirflowNetworkSimulationControl::isRelativeAirflowConvergenceToleranceDefaulted() const { | |
| 474 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->isRelativeAirflowConvergenceToleranceDefaulted(); |
| 475 | } | ||
| 476 | |||
| 477 | 14 | boost::optional<double> AirflowNetworkSimulationControl::absoluteAirflowConvergenceTolerance() const { | |
| 478 |
1/1✓ Branch 3 taken 14 times.
|
14 | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->absoluteAirflowConvergenceTolerance(); |
| 479 | } | ||
| 480 | |||
| 481 | 1 | bool AirflowNetworkSimulationControl::isAbsoluteAirflowConvergenceToleranceDefaulted() const { | |
| 482 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->isAbsoluteAirflowConvergenceToleranceDefaulted(); |
| 483 | } | ||
| 484 | |||
| 485 | 14 | boost::optional<double> AirflowNetworkSimulationControl::convergenceAccelerationLimit() const { | |
| 486 |
1/1✓ Branch 3 taken 14 times.
|
14 | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->convergenceAccelerationLimit(); |
| 487 | } | ||
| 488 | |||
| 489 | 1 | bool AirflowNetworkSimulationControl::isConvergenceAccelerationLimitDefaulted() const { | |
| 490 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->isConvergenceAccelerationLimitDefaulted(); |
| 491 | } | ||
| 492 | |||
| 493 | 14 | boost::optional<double> AirflowNetworkSimulationControl::azimuthAngleofLongAxisofBuilding() const { | |
| 494 |
1/1✓ Branch 3 taken 14 times.
|
14 | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->azimuthAngleofLongAxisofBuilding(); |
| 495 | } | ||
| 496 | |||
| 497 | 1 | bool AirflowNetworkSimulationControl::isAzimuthAngleofLongAxisofBuildingDefaulted() const { | |
| 498 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->isAzimuthAngleofLongAxisofBuildingDefaulted(); |
| 499 | } | ||
| 500 | |||
| 501 | 14 | boost::optional<double> AirflowNetworkSimulationControl::buildingAspectRatio() const { | |
| 502 |
1/1✓ Branch 3 taken 14 times.
|
14 | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->buildingAspectRatio(); |
| 503 | } | ||
| 504 | |||
| 505 | 1 | bool AirflowNetworkSimulationControl::isBuildingAspectRatioDefaulted() const { | |
| 506 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->isBuildingAspectRatioDefaulted(); |
| 507 | } | ||
| 508 | |||
| 509 | 7 | bool AirflowNetworkSimulationControl::heightDependenceofExternalNodeTemperature() const { | |
| 510 |
1/1✓ Branch 3 taken 7 times.
|
7 | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->heightDependenceofExternalNodeTemperature(); |
| 511 | } | ||
| 512 | |||
| 513 | 1 | bool AirflowNetworkSimulationControl::isHeightDependenceofExternalNodeTemperatureDefaulted() const { | |
| 514 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->isHeightDependenceofExternalNodeTemperatureDefaulted(); |
| 515 | } | ||
| 516 | |||
| 517 | ✗ | bool AirflowNetworkSimulationControl::setAirflowNetworkControl(const std::string& airflowNetworkControl) { | |
| 518 | ✗ | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->setAirflowNetworkControl(airflowNetworkControl); | |
| 519 | } | ||
| 520 | |||
| 521 | ✗ | void AirflowNetworkSimulationControl::resetAirflowNetworkControl() { | |
| 522 | ✗ | getImpl<detail::AirflowNetworkSimulationControl_Impl>()->resetAirflowNetworkControl(); | |
| 523 | ✗ | } | |
| 524 | |||
| 525 | ✗ | bool AirflowNetworkSimulationControl::setWindPressureCoefficientType(const std::string& type) { | |
| 526 | ✗ | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->setWindPressureCoefficientType(type); | |
| 527 | } | ||
| 528 | |||
| 529 | ✗ | void AirflowNetworkSimulationControl::resetWindPressureCoefficientType() { | |
| 530 | ✗ | getImpl<detail::AirflowNetworkSimulationControl_Impl>()->resetWindPressureCoefficientType(); | |
| 531 | ✗ | } | |
| 532 | |||
| 533 | ✗ | bool AirflowNetworkSimulationControl::setHeightSelectionforLocalWindPressureCalculation(const std::string& height) { | |
| 534 | ✗ | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->setHeightSelectionforLocalWindPressureCalculation(height); | |
| 535 | } | ||
| 536 | |||
| 537 | ✗ | void AirflowNetworkSimulationControl::resetHeightSelectionforLocalWindPressureCalculation() { | |
| 538 | ✗ | getImpl<detail::AirflowNetworkSimulationControl_Impl>()->resetHeightSelectionforLocalWindPressureCalculation(); | |
| 539 | ✗ | } | |
| 540 | |||
| 541 | ✗ | bool AirflowNetworkSimulationControl::setBuildingType(const std::string& type) { | |
| 542 | ✗ | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->setBuildingType(type); | |
| 543 | } | ||
| 544 | |||
| 545 | ✗ | void AirflowNetworkSimulationControl::resetBuildingType() { | |
| 546 | ✗ | getImpl<detail::AirflowNetworkSimulationControl_Impl>()->resetBuildingType(); | |
| 547 | ✗ | } | |
| 548 | |||
| 549 | ✗ | bool AirflowNetworkSimulationControl::setMaximumNumberofIterations(int number) { | |
| 550 | ✗ | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->setMaximumNumberofIterations(number); | |
| 551 | } | ||
| 552 | |||
| 553 | ✗ | void AirflowNetworkSimulationControl::resetMaximumNumberofIterations() { | |
| 554 | ✗ | getImpl<detail::AirflowNetworkSimulationControl_Impl>()->resetMaximumNumberofIterations(); | |
| 555 | ✗ | } | |
| 556 | |||
| 557 | ✗ | bool AirflowNetworkSimulationControl::setInitializationType(const std::string& type) { | |
| 558 | ✗ | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->setInitializationType(type); | |
| 559 | } | ||
| 560 | |||
| 561 | ✗ | void AirflowNetworkSimulationControl::resetInitializationType() { | |
| 562 | ✗ | getImpl<detail::AirflowNetworkSimulationControl_Impl>()->resetInitializationType(); | |
| 563 | ✗ | } | |
| 564 | |||
| 565 | ✗ | bool AirflowNetworkSimulationControl::setRelativeAirflowConvergenceTolerance(double tolerance) { | |
| 566 | ✗ | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->setRelativeAirflowConvergenceTolerance(tolerance); | |
| 567 | } | ||
| 568 | |||
| 569 | ✗ | void AirflowNetworkSimulationControl::resetRelativeAirflowConvergenceTolerance() { | |
| 570 | ✗ | getImpl<detail::AirflowNetworkSimulationControl_Impl>()->resetRelativeAirflowConvergenceTolerance(); | |
| 571 | ✗ | } | |
| 572 | |||
| 573 | ✗ | bool AirflowNetworkSimulationControl::setAbsoluteAirflowConvergenceTolerance(double tolerance) { | |
| 574 | ✗ | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->setAbsoluteAirflowConvergenceTolerance(tolerance); | |
| 575 | } | ||
| 576 | |||
| 577 | ✗ | void AirflowNetworkSimulationControl::resetAbsoluteAirflowConvergenceTolerance() { | |
| 578 | ✗ | getImpl<detail::AirflowNetworkSimulationControl_Impl>()->resetAbsoluteAirflowConvergenceTolerance(); | |
| 579 | ✗ | } | |
| 580 | |||
| 581 | ✗ | bool AirflowNetworkSimulationControl::setConvergenceAccelerationLimit(double limit) { | |
| 582 | ✗ | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->setConvergenceAccelerationLimit(limit); | |
| 583 | } | ||
| 584 | |||
| 585 | ✗ | void AirflowNetworkSimulationControl::resetConvergenceAccelerationLimit() { | |
| 586 | ✗ | getImpl<detail::AirflowNetworkSimulationControl_Impl>()->resetConvergenceAccelerationLimit(); | |
| 587 | ✗ | } | |
| 588 | |||
| 589 | ✗ | bool AirflowNetworkSimulationControl::setAzimuthAngleofLongAxisofBuilding(double angle) { | |
| 590 | ✗ | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->setAzimuthAngleofLongAxisofBuilding(angle); | |
| 591 | } | ||
| 592 | |||
| 593 | ✗ | void AirflowNetworkSimulationControl::resetAzimuthAngleofLongAxisofBuilding() { | |
| 594 | ✗ | getImpl<detail::AirflowNetworkSimulationControl_Impl>()->resetAzimuthAngleofLongAxisofBuilding(); | |
| 595 | ✗ | } | |
| 596 | |||
| 597 | ✗ | bool AirflowNetworkSimulationControl::setBuildingAspectRatio(double ratio) { | |
| 598 | ✗ | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->setBuildingAspectRatio(ratio); | |
| 599 | } | ||
| 600 | |||
| 601 | ✗ | void AirflowNetworkSimulationControl::resetBuildingAspectRatio() { | |
| 602 | ✗ | getImpl<detail::AirflowNetworkSimulationControl_Impl>()->resetBuildingAspectRatio(); | |
| 603 | ✗ | } | |
| 604 | |||
| 605 | ✗ | bool AirflowNetworkSimulationControl::setHeightDependenceofExternalNodeTemperature(bool tf) { | |
| 606 | ✗ | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->setHeightDependenceofExternalNodeTemperature(tf); | |
| 607 | } | ||
| 608 | |||
| 609 | ✗ | void AirflowNetworkSimulationControl::resetHeightDependenceofExternalNodeTemperature() { | |
| 610 | ✗ | getImpl<detail::AirflowNetworkSimulationControl_Impl>()->resetHeightDependenceofExternalNodeTemperature(); | |
| 611 | ✗ | } | |
| 612 | |||
| 613 | 3 | std::string AirflowNetworkSimulationControl::solver() const { | |
| 614 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->solver(); |
| 615 | } | ||
| 616 | |||
| 617 | 10 | bool AirflowNetworkSimulationControl::isSolverDefaulted() const { | |
| 618 |
1/1✓ Branch 3 taken 10 times.
|
10 | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->isSolverDefaulted(); |
| 619 | } | ||
| 620 | |||
| 621 | 1 | bool AirflowNetworkSimulationControl::setSolver(const std::string& solver) { | |
| 622 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->setSolver(solver); |
| 623 | } | ||
| 624 | |||
| 625 | 1 | void AirflowNetworkSimulationControl::resetSolver() { | |
| 626 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::AirflowNetworkSimulationControl_Impl>()->resetSolver(); |
| 627 | 1 | } | |
| 628 | |||
| 629 | 3 | bool AirflowNetworkSimulationControl::allowUnsupportedZoneEquipment() const { | |
| 630 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->allowUnsupportedZoneEquipment(); |
| 631 | } | ||
| 632 | |||
| 633 | 10 | bool AirflowNetworkSimulationControl::isAllowUnsupportedZoneEquipmentDefaulted() const { | |
| 634 |
1/1✓ Branch 3 taken 10 times.
|
10 | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->isAllowUnsupportedZoneEquipmentDefaulted(); |
| 635 | } | ||
| 636 | |||
| 637 | 1 | bool AirflowNetworkSimulationControl::setAllowUnsupportedZoneEquipment(bool allowUnsupportedZoneEquipment) { | |
| 638 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::AirflowNetworkSimulationControl_Impl>()->setAllowUnsupportedZoneEquipment(allowUnsupportedZoneEquipment); |
| 639 | } | ||
| 640 | |||
| 641 | 1 | void AirflowNetworkSimulationControl::resetAllowUnsupportedZoneEquipment() { | |
| 642 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::AirflowNetworkSimulationControl_Impl>()->resetAllowUnsupportedZoneEquipment(); |
| 643 | 1 | } | |
| 644 | |||
| 645 | } // namespace model | ||
| 646 | } // namespace openstudio | ||
| 647 |