src/model/AirflowNetworkSurface.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 "AirflowNetworkSurface.hpp" | ||
| 7 | #include "AirflowNetworkSurface_Impl.hpp" | ||
| 8 | |||
| 9 | // TODO: Check the following class names against object getters and setters. | ||
| 10 | #include "PlanarSurface.hpp" | ||
| 11 | #include "PlanarSurface_Impl.hpp" | ||
| 12 | #include "Surface.hpp" | ||
| 13 | #include "Surface_Impl.hpp" | ||
| 14 | #include "SubSurface.hpp" | ||
| 15 | #include "SubSurface_Impl.hpp" | ||
| 16 | #include "AirflowNetworkComponent.hpp" | ||
| 17 | #include "AirflowNetworkComponent_Impl.hpp" | ||
| 18 | #include "AirflowNetworkExternalNode.hpp" | ||
| 19 | #include "AirflowNetworkExternalNode_Impl.hpp" | ||
| 20 | #include "Schedule.hpp" | ||
| 21 | #include "Schedule_Impl.hpp" | ||
| 22 | #include "AirflowNetworkOccupantVentilationControl.hpp" | ||
| 23 | #include "AirflowNetworkOccupantVentilationControl_Impl.hpp" | ||
| 24 | #include "ScheduleTypeLimits.hpp" | ||
| 25 | #include "ScheduleTypeRegistry.hpp" | ||
| 26 | |||
| 27 | #include <utilities/idd/IddFactory.hxx> | ||
| 28 | #include <utilities/idd/IddEnums.hxx> | ||
| 29 | #include <utilities/idd/OS_AirflowNetworkSurface_FieldEnums.hxx> | ||
| 30 | |||
| 31 | #include "../utilities/units/Unit.hpp" | ||
| 32 | |||
| 33 | #include "../utilities/core/Assert.hpp" | ||
| 34 | |||
| 35 | namespace openstudio { | ||
| 36 | namespace model { | ||
| 37 | |||
| 38 | namespace detail { | ||
| 39 | |||
| 40 | 10 | AirflowNetworkSurface_Impl::AirflowNetworkSurface_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle) | |
| 41 | 10 | : AirflowNetworkLinkage_Impl(idfObject, model, keepHandle) { | |
| 42 |
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() == AirflowNetworkSurface::iddObjectType()); |
| 43 | 10 | } | |
| 44 | |||
| 45 | ✗ | AirflowNetworkSurface_Impl::AirflowNetworkSurface_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle) | |
| 46 | ✗ | : AirflowNetworkLinkage_Impl(other, model, keepHandle) { | |
| 47 | ✗ | OS_ASSERT(other.iddObject().type() == AirflowNetworkSurface::iddObjectType()); | |
| 48 | ✗ | } | |
| 49 | |||
| 50 | 9 | AirflowNetworkSurface_Impl::AirflowNetworkSurface_Impl(const AirflowNetworkSurface_Impl& other, Model_Impl* model, bool keepHandle) | |
| 51 | 9 | : AirflowNetworkLinkage_Impl(other, model, keepHandle) {} | |
| 52 | |||
| 53 | ✗ | const std::vector<std::string>& AirflowNetworkSurface_Impl::outputVariableNames() const { | |
| 54 | ✗ | static const std::vector<std::string> result; | |
| 55 | ✗ | return result; | |
| 56 | } | ||
| 57 | |||
| 58 | ✗ | IddObjectType AirflowNetworkSurface_Impl::iddObjectType() const { | |
| 59 | ✗ | return AirflowNetworkSurface::iddObjectType(); | |
| 60 | } | ||
| 61 | |||
| 62 | ✗ | std::vector<ScheduleTypeKey> AirflowNetworkSurface_Impl::getScheduleTypeKeys(const Schedule& schedule) const { | |
| 63 | ✗ | std::vector<ScheduleTypeKey> result; | |
| 64 | ✗ | UnsignedVector fieldIndices = getSourceIndices(schedule.handle()); | |
| 65 | ✗ | UnsignedVector::const_iterator b(fieldIndices.begin()); | |
| 66 | ✗ | UnsignedVector::const_iterator e(fieldIndices.end()); | |
| 67 | ✗ | if (std::find(b, e, OS_AirflowNetworkSurfaceFields::VentilationControlZoneTemperatureSetpointScheduleName) != e) { | |
| 68 | ✗ | result.emplace_back("AirflowNetworkSurface", "Ventilation Control Zone Temperature Setpoint"); | |
| 69 | } | ||
| 70 | ✗ | if (std::find(b, e, OS_AirflowNetworkSurfaceFields::VentingAvailabilityScheduleName) != e) { | |
| 71 | ✗ | result.emplace_back("AirflowNetworkSurface", "Venting Availability"); | |
| 72 | } | ||
| 73 | ✗ | return result; | |
| 74 | ✗ | } | |
| 75 | |||
| 76 | 10 | PlanarSurface AirflowNetworkSurface_Impl::surface() const { | |
| 77 |
1/1✓ Branch 1 taken 10 times.
|
10 | boost::optional<PlanarSurface> value = optionalSurface(); |
| 78 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 10 times.
|
10 | if (!value) { |
| 79 | ✗ | LOG_AND_THROW(briefDescription() << " does not have an Surface attached."); | |
| 80 | } | ||
| 81 |
2/2✓ Branch 1 taken 10 times.
✓ Branch 4 taken 10 times.
|
20 | return value.get(); |
| 82 | 10 | } | |
| 83 | |||
| 84 | 17 | boost::optional<AirflowNetworkComponent> AirflowNetworkSurface_Impl::leakageComponent() const { | |
| 85 |
2/2✓ Branch 1 taken 17 times.
✓ Branch 4 taken 17 times.
|
17 | return getObject<ModelObject>().getModelObjectTarget<AirflowNetworkComponent>(OS_AirflowNetworkSurfaceFields::LeakageComponentName); |
| 86 | } | ||
| 87 | |||
| 88 | 9 | boost::optional<AirflowNetworkExternalNode> AirflowNetworkSurface_Impl::externalNode() const { | |
| 89 |
2/2✓ Branch 1 taken 9 times.
✓ Branch 4 taken 9 times.
|
9 | return getObject<ModelObject>().getModelObjectTarget<AirflowNetworkExternalNode>(OS_AirflowNetworkSurfaceFields::ExternalNodeName); |
| 90 | } | ||
| 91 | |||
| 92 | 5 | double AirflowNetworkSurface_Impl::windowDoorOpeningFactorOrCrackFactor() const { | |
| 93 |
1/1✓ Branch 1 taken 5 times.
|
5 | boost::optional<double> value = getDouble(OS_AirflowNetworkSurfaceFields::Window_DoorOpeningFactororCrackFactor, true); |
| 94 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
|
5 | OS_ASSERT(value); |
| 95 |
1/1✓ Branch 1 taken 5 times.
|
10 | return value.get(); |
| 96 | } | ||
| 97 | |||
| 98 | ✗ | bool AirflowNetworkSurface_Impl::isWindowDoorOpeningFactorOrCrackFactorDefaulted() const { | |
| 99 | ✗ | return isEmpty(OS_AirflowNetworkSurfaceFields::Window_DoorOpeningFactororCrackFactor); | |
| 100 | } | ||
| 101 | |||
| 102 | 5 | std::string AirflowNetworkSurface_Impl::ventilationControlMode() const { | |
| 103 |
1/1✓ Branch 1 taken 5 times.
|
5 | boost::optional<std::string> value = getString(OS_AirflowNetworkSurfaceFields::VentilationControlMode, true); |
| 104 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
|
5 | OS_ASSERT(value); |
| 105 |
2/2✓ Branch 1 taken 5 times.
✓ Branch 4 taken 5 times.
|
10 | return value.get(); |
| 106 | 5 | } | |
| 107 | |||
| 108 | ✗ | bool AirflowNetworkSurface_Impl::isVentilationControlModeDefaulted() const { | |
| 109 | ✗ | return isEmpty(OS_AirflowNetworkSurfaceFields::VentilationControlMode); | |
| 110 | } | ||
| 111 | |||
| 112 | 5 | boost::optional<Schedule> AirflowNetworkSurface_Impl::ventilationControlZoneTemperatureSetpointSchedule() const { | |
| 113 |
1/1✓ Branch 1 taken 5 times.
|
10 | return getObject<ModelObject>().getModelObjectTarget<Schedule>( |
| 114 |
1/1✓ Branch 1 taken 5 times.
|
10 | OS_AirflowNetworkSurfaceFields::VentilationControlZoneTemperatureSetpointScheduleName); |
| 115 | } | ||
| 116 | |||
| 117 | 5 | double AirflowNetworkSurface_Impl::minimumVentingOpenFactor() const { | |
| 118 |
1/1✓ Branch 1 taken 5 times.
|
5 | boost::optional<double> value = getDouble(OS_AirflowNetworkSurfaceFields::MinimumVentingOpenFactor, true); |
| 119 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
|
5 | OS_ASSERT(value); |
| 120 |
1/1✓ Branch 1 taken 5 times.
|
10 | return value.get(); |
| 121 | } | ||
| 122 | |||
| 123 | ✗ | bool AirflowNetworkSurface_Impl::isMinimumVentingOpenFactorDefaulted() const { | |
| 124 | ✗ | return isEmpty(OS_AirflowNetworkSurfaceFields::MinimumVentingOpenFactor); | |
| 125 | } | ||
| 126 | |||
| 127 | 5 | double AirflowNetworkSurface_Impl::indoorandOutdoorTemperatureDifferenceLowerLimitForMaximumVentingOpenFactor() const { | |
| 128 | boost::optional<double> value = | ||
| 129 |
1/1✓ Branch 1 taken 5 times.
|
5 | getDouble(OS_AirflowNetworkSurfaceFields::IndoorandOutdoorTemperatureDifferenceLowerLimitForMaximumVentingOpenFactor, true); |
| 130 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
|
5 | OS_ASSERT(value); |
| 131 |
1/1✓ Branch 1 taken 5 times.
|
10 | return value.get(); |
| 132 | } | ||
| 133 | |||
| 134 | ✗ | bool AirflowNetworkSurface_Impl::isIndoorandOutdoorTemperatureDifferenceLowerLimitForMaximumVentingOpenFactorDefaulted() const { | |
| 135 | ✗ | return isEmpty(OS_AirflowNetworkSurfaceFields::IndoorandOutdoorTemperatureDifferenceLowerLimitForMaximumVentingOpenFactor); | |
| 136 | } | ||
| 137 | |||
| 138 | 5 | double AirflowNetworkSurface_Impl::indoorandOutdoorTemperatureDifferenceUpperLimitforMinimumVentingOpenFactor() const { | |
| 139 | boost::optional<double> value = | ||
| 140 |
1/1✓ Branch 1 taken 5 times.
|
5 | getDouble(OS_AirflowNetworkSurfaceFields::IndoorandOutdoorTemperatureDifferenceUpperLimitforMinimumVentingOpenFactor, true); |
| 141 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
|
5 | OS_ASSERT(value); |
| 142 |
1/1✓ Branch 1 taken 5 times.
|
10 | return value.get(); |
| 143 | } | ||
| 144 | |||
| 145 | ✗ | bool AirflowNetworkSurface_Impl::isIndoorandOutdoorTemperatureDifferenceUpperLimitforMinimumVentingOpenFactorDefaulted() const { | |
| 146 | ✗ | return isEmpty(OS_AirflowNetworkSurfaceFields::IndoorandOutdoorTemperatureDifferenceUpperLimitforMinimumVentingOpenFactor); | |
| 147 | } | ||
| 148 | |||
| 149 | 5 | double AirflowNetworkSurface_Impl::indoorandOutdoorEnthalpyDifferenceLowerLimitForMaximumVentingOpenFactor() const { | |
| 150 | boost::optional<double> value = | ||
| 151 |
1/1✓ Branch 1 taken 5 times.
|
5 | getDouble(OS_AirflowNetworkSurfaceFields::IndoorandOutdoorEnthalpyDifferenceLowerLimitForMaximumVentingOpenFactor, true); |
| 152 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
|
5 | OS_ASSERT(value); |
| 153 |
1/1✓ Branch 1 taken 5 times.
|
10 | return value.get(); |
| 154 | } | ||
| 155 | |||
| 156 | ✗ | bool AirflowNetworkSurface_Impl::isIndoorandOutdoorEnthalpyDifferenceLowerLimitForMaximumVentingOpenFactorDefaulted() const { | |
| 157 | ✗ | return isEmpty(OS_AirflowNetworkSurfaceFields::IndoorandOutdoorEnthalpyDifferenceLowerLimitForMaximumVentingOpenFactor); | |
| 158 | } | ||
| 159 | |||
| 160 | 5 | double AirflowNetworkSurface_Impl::indoorandOutdoorEnthalpyDifferenceUpperLimitforMinimumVentingOpenFactor() const { | |
| 161 | boost::optional<double> value = | ||
| 162 |
1/1✓ Branch 1 taken 5 times.
|
5 | getDouble(OS_AirflowNetworkSurfaceFields::IndoorandOutdoorEnthalpyDifferenceUpperLimitforMinimumVentingOpenFactor, true); |
| 163 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
|
5 | OS_ASSERT(value); |
| 164 |
1/1✓ Branch 1 taken 5 times.
|
10 | return value.get(); |
| 165 | } | ||
| 166 | |||
| 167 | ✗ | bool AirflowNetworkSurface_Impl::isIndoorandOutdoorEnthalpyDifferenceUpperLimitforMinimumVentingOpenFactorDefaulted() const { | |
| 168 | ✗ | return isEmpty(OS_AirflowNetworkSurfaceFields::IndoorandOutdoorEnthalpyDifferenceUpperLimitforMinimumVentingOpenFactor); | |
| 169 | } | ||
| 170 | |||
| 171 | 5 | boost::optional<Schedule> AirflowNetworkSurface_Impl::ventingAvailabilitySchedule() const { | |
| 172 |
2/2✓ Branch 1 taken 5 times.
✓ Branch 4 taken 5 times.
|
5 | return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_AirflowNetworkSurfaceFields::VentingAvailabilityScheduleName); |
| 173 | } | ||
| 174 | |||
| 175 | 5 | boost::optional<AirflowNetworkOccupantVentilationControl> AirflowNetworkSurface_Impl::occupantVentilationControl() const { | |
| 176 |
1/1✓ Branch 1 taken 5 times.
|
10 | return getObject<ModelObject>().getModelObjectTarget<AirflowNetworkOccupantVentilationControl>( |
| 177 |
1/1✓ Branch 1 taken 5 times.
|
10 | OS_AirflowNetworkSurfaceFields::OccupantVentilationControlName); |
| 178 | } | ||
| 179 | |||
| 180 | ✗ | bool AirflowNetworkSurface_Impl::setSurface(const PlanarSurface& surfAndSubSurf) { | |
| 181 | ✗ | bool result = setPointer(OS_AirflowNetworkSurfaceFields::SurfaceName, surfAndSubSurf.handle()); | |
| 182 | ✗ | return result; | |
| 183 | } | ||
| 184 | |||
| 185 | ✗ | void AirflowNetworkSurface_Impl::resetSurface() { | |
| 186 | ✗ | bool result = setString(OS_AirflowNetworkSurfaceFields::SurfaceName, ""); | |
| 187 | ✗ | OS_ASSERT(result); | |
| 188 | ✗ | } | |
| 189 | |||
| 190 | 2 | bool AirflowNetworkSurface_Impl::setLeakageComponent(const AirflowNetworkComponent& surfaceAirflowLeakage) { | |
| 191 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
|
2 | return setPointer(OS_AirflowNetworkSurfaceFields::LeakageComponentName, surfaceAirflowLeakage.handle()); |
| 192 | } | ||
| 193 | |||
| 194 | 2 | bool AirflowNetworkSurface_Impl::setExternalNode(const AirflowNetworkExternalNode& externalNode) { | |
| 195 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
|
2 | return setPointer(OS_AirflowNetworkSurfaceFields::ExternalNodeName, externalNode.handle()); |
| 196 | } | ||
| 197 | |||
| 198 | ✗ | void AirflowNetworkSurface_Impl::resetExternalNode() { | |
| 199 | ✗ | bool result = setString(OS_AirflowNetworkSurfaceFields::ExternalNodeName, ""); | |
| 200 | ✗ | OS_ASSERT(result); | |
| 201 | ✗ | } | |
| 202 | |||
| 203 | ✗ | bool AirflowNetworkSurface_Impl::setWindowDoorOpeningFactorOrCrackFactor(double windowDoorOpeningFactorOrCrackFactor) { | |
| 204 | ✗ | bool result = setDouble(OS_AirflowNetworkSurfaceFields::Window_DoorOpeningFactororCrackFactor, windowDoorOpeningFactorOrCrackFactor); | |
| 205 | ✗ | return result; | |
| 206 | } | ||
| 207 | |||
| 208 | ✗ | void AirflowNetworkSurface_Impl::resetWindowDoorOpeningFactorOrCrackFactor() { | |
| 209 | ✗ | bool result = setString(OS_AirflowNetworkSurfaceFields::Window_DoorOpeningFactororCrackFactor, ""); | |
| 210 | ✗ | OS_ASSERT(result); | |
| 211 | ✗ | } | |
| 212 | |||
| 213 | ✗ | bool AirflowNetworkSurface_Impl::setVentilationControlMode(const std::string& ventilationControlMode) { | |
| 214 | ✗ | bool result = setString(OS_AirflowNetworkSurfaceFields::VentilationControlMode, ventilationControlMode); | |
| 215 | ✗ | return result; | |
| 216 | } | ||
| 217 | |||
| 218 | ✗ | void AirflowNetworkSurface_Impl::resetVentilationControlMode() { | |
| 219 | ✗ | bool result = setString(OS_AirflowNetworkSurfaceFields::VentilationControlMode, ""); | |
| 220 | ✗ | OS_ASSERT(result); | |
| 221 | ✗ | } | |
| 222 | |||
| 223 | ✗ | bool AirflowNetworkSurface_Impl::setVentilationControlZoneTemperatureSetpointSchedule(Schedule& schedule) { | |
| 224 | ✗ | bool result = setSchedule(OS_AirflowNetworkSurfaceFields::VentilationControlZoneTemperatureSetpointScheduleName, "AirflowNetworkSurface", | |
| 225 | "Ventilation Control Zone Temperature Setpoint", schedule); | ||
| 226 | ✗ | return result; | |
| 227 | } | ||
| 228 | |||
| 229 | ✗ | void AirflowNetworkSurface_Impl::resetVentilationControlZoneTemperatureSetpointSchedule() { | |
| 230 | ✗ | bool result = setString(OS_AirflowNetworkSurfaceFields::VentilationControlZoneTemperatureSetpointScheduleName, ""); | |
| 231 | ✗ | OS_ASSERT(result); | |
| 232 | ✗ | } | |
| 233 | |||
| 234 | ✗ | bool AirflowNetworkSurface_Impl::setMinimumVentingOpenFactor(double minimumVentingOpenFactor) { | |
| 235 | ✗ | bool result = setDouble(OS_AirflowNetworkSurfaceFields::MinimumVentingOpenFactor, minimumVentingOpenFactor); | |
| 236 | ✗ | return result; | |
| 237 | } | ||
| 238 | |||
| 239 | ✗ | void AirflowNetworkSurface_Impl::resetMinimumVentingOpenFactor() { | |
| 240 | ✗ | bool result = setString(OS_AirflowNetworkSurfaceFields::MinimumVentingOpenFactor, ""); | |
| 241 | ✗ | OS_ASSERT(result); | |
| 242 | ✗ | } | |
| 243 | |||
| 244 | ✗ | bool AirflowNetworkSurface_Impl::setIndoorandOutdoorTemperatureDifferenceLowerLimitForMaximumVentingOpenFactor( | |
| 245 | double indoorandOutdoorTemperatureDifferenceLowerLimitForMaximumVentingOpenFactor) { | ||
| 246 | ✗ | bool result = setDouble(OS_AirflowNetworkSurfaceFields::IndoorandOutdoorTemperatureDifferenceLowerLimitForMaximumVentingOpenFactor, | |
| 247 | indoorandOutdoorTemperatureDifferenceLowerLimitForMaximumVentingOpenFactor); | ||
| 248 | ✗ | return result; | |
| 249 | } | ||
| 250 | |||
| 251 | ✗ | void AirflowNetworkSurface_Impl::resetIndoorandOutdoorTemperatureDifferenceLowerLimitForMaximumVentingOpenFactor() { | |
| 252 | ✗ | bool result = setString(OS_AirflowNetworkSurfaceFields::IndoorandOutdoorTemperatureDifferenceLowerLimitForMaximumVentingOpenFactor, ""); | |
| 253 | ✗ | OS_ASSERT(result); | |
| 254 | ✗ | } | |
| 255 | |||
| 256 | ✗ | bool AirflowNetworkSurface_Impl::setIndoorandOutdoorTemperatureDifferenceUpperLimitforMinimumVentingOpenFactor( | |
| 257 | double indoorandOutdoorTemperatureDifferenceUpperLimitforMinimumVentingOpenFactor) { | ||
| 258 | ✗ | bool result = setDouble(OS_AirflowNetworkSurfaceFields::IndoorandOutdoorTemperatureDifferenceUpperLimitforMinimumVentingOpenFactor, | |
| 259 | indoorandOutdoorTemperatureDifferenceUpperLimitforMinimumVentingOpenFactor); | ||
| 260 | ✗ | return result; | |
| 261 | } | ||
| 262 | |||
| 263 | ✗ | void AirflowNetworkSurface_Impl::resetIndoorandOutdoorTemperatureDifferenceUpperLimitforMinimumVentingOpenFactor() { | |
| 264 | ✗ | bool result = setString(OS_AirflowNetworkSurfaceFields::IndoorandOutdoorTemperatureDifferenceUpperLimitforMinimumVentingOpenFactor, ""); | |
| 265 | ✗ | OS_ASSERT(result); | |
| 266 | ✗ | } | |
| 267 | |||
| 268 | ✗ | bool AirflowNetworkSurface_Impl::setIndoorandOutdoorEnthalpyDifferenceLowerLimitForMaximumVentingOpenFactor( | |
| 269 | double indoorandOutdoorEnthalpyDifferenceLowerLimitForMaximumVentingOpenFactor) { | ||
| 270 | ✗ | bool result = setDouble(OS_AirflowNetworkSurfaceFields::IndoorandOutdoorEnthalpyDifferenceLowerLimitForMaximumVentingOpenFactor, | |
| 271 | indoorandOutdoorEnthalpyDifferenceLowerLimitForMaximumVentingOpenFactor); | ||
| 272 | ✗ | return result; | |
| 273 | } | ||
| 274 | |||
| 275 | ✗ | void AirflowNetworkSurface_Impl::resetIndoorandOutdoorEnthalpyDifferenceLowerLimitForMaximumVentingOpenFactor() { | |
| 276 | ✗ | bool result = setString(OS_AirflowNetworkSurfaceFields::IndoorandOutdoorEnthalpyDifferenceLowerLimitForMaximumVentingOpenFactor, ""); | |
| 277 | ✗ | OS_ASSERT(result); | |
| 278 | ✗ | } | |
| 279 | |||
| 280 | ✗ | bool AirflowNetworkSurface_Impl::setIndoorandOutdoorEnthalpyDifferenceUpperLimitforMinimumVentingOpenFactor( | |
| 281 | double indoorandOutdoorEnthalpyDifferenceUpperLimitforMinimumVentingOpenFactor) { | ||
| 282 | ✗ | bool result = setDouble(OS_AirflowNetworkSurfaceFields::IndoorandOutdoorEnthalpyDifferenceUpperLimitforMinimumVentingOpenFactor, | |
| 283 | indoorandOutdoorEnthalpyDifferenceUpperLimitforMinimumVentingOpenFactor); | ||
| 284 | ✗ | return result; | |
| 285 | } | ||
| 286 | |||
| 287 | ✗ | void AirflowNetworkSurface_Impl::resetIndoorandOutdoorEnthalpyDifferenceUpperLimitforMinimumVentingOpenFactor() { | |
| 288 | ✗ | bool result = setString(OS_AirflowNetworkSurfaceFields::IndoorandOutdoorEnthalpyDifferenceUpperLimitforMinimumVentingOpenFactor, ""); | |
| 289 | ✗ | OS_ASSERT(result); | |
| 290 | ✗ | } | |
| 291 | |||
| 292 | ✗ | bool AirflowNetworkSurface_Impl::setVentingAvailabilitySchedule(Schedule& schedule) { | |
| 293 | bool result = | ||
| 294 | ✗ | setSchedule(OS_AirflowNetworkSurfaceFields::VentingAvailabilityScheduleName, "AirflowNetworkSurface", "Venting Availability", schedule); | |
| 295 | ✗ | return result; | |
| 296 | } | ||
| 297 | |||
| 298 | ✗ | void AirflowNetworkSurface_Impl::resetVentingAvailabilitySchedule() { | |
| 299 | ✗ | bool result = setString(OS_AirflowNetworkSurfaceFields::VentingAvailabilityScheduleName, ""); | |
| 300 | ✗ | OS_ASSERT(result); | |
| 301 | ✗ | } | |
| 302 | |||
| 303 | ✗ | bool AirflowNetworkSurface_Impl::setOccupantVentilationControl( | |
| 304 | const AirflowNetworkOccupantVentilationControl& airflowNetworkOccupantVentilationControl) { | ||
| 305 | ✗ | return setPointer(OS_AirflowNetworkSurfaceFields::OccupantVentilationControlName, airflowNetworkOccupantVentilationControl.handle()); | |
| 306 | } | ||
| 307 | |||
| 308 | ✗ | void AirflowNetworkSurface_Impl::resetOccupantVentilationControl() { | |
| 309 | ✗ | bool result = setString(OS_AirflowNetworkSurfaceFields::OccupantVentilationControlName, ""); | |
| 310 | ✗ | OS_ASSERT(result); | |
| 311 | ✗ | } | |
| 312 | |||
| 313 | 10 | boost::optional<PlanarSurface> AirflowNetworkSurface_Impl::optionalSurface() const { | |
| 314 |
2/2✓ Branch 1 taken 10 times.
✓ Branch 4 taken 10 times.
|
10 | return getObject<ModelObject>().getModelObjectTarget<PlanarSurface>(OS_AirflowNetworkSurfaceFields::SurfaceName); |
| 315 | } | ||
| 316 | |||
| 317 | 2 | bool AirflowNetworkSurface_Impl::setParent(ParentObject& surfAndSubSurf) { | |
| 318 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
|
2 | bool result = setPointer(OS_AirflowNetworkSurfaceFields::SurfaceName, surfAndSubSurf.handle()); |
| 319 | 2 | return result; | |
| 320 | } | ||
| 321 | |||
| 322 | } // namespace detail | ||
| 323 | |||
| 324 | 10 | AirflowNetworkSurface::AirflowNetworkSurface(const Model& model, const Handle& compHandle, const Handle& surfHandle) | |
| 325 | 10 | : AirflowNetworkLinkage(AirflowNetworkSurface::iddObjectType(), model) { | |
| 326 |
1/3✗ Branch 2 not taken.
✓ Branch 3 taken 10 times.
✗ Branch 5 not taken.
|
10 | OS_ASSERT(getImpl<detail::AirflowNetworkSurface_Impl>()); |
| 327 |
1/1✓ Branch 3 taken 10 times.
|
10 | bool ok = getImpl<detail::AirflowNetworkSurface_Impl>()->setPointer(OS_AirflowNetworkSurfaceFields::LeakageComponentName, compHandle); |
| 328 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 10 times.
✗ Branch 3 not taken.
|
10 | OS_ASSERT(ok); |
| 329 |
1/1✓ Branch 3 taken 10 times.
|
10 | ok = getImpl<detail::AirflowNetworkSurface_Impl>()->setPointer(OS_AirflowNetworkSurfaceFields::SurfaceName, surfHandle); |
| 330 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 10 times.
✗ Branch 3 not taken.
|
10 | OS_ASSERT(ok); |
| 331 | 10 | } | |
| 332 | |||
| 333 | /* | ||
| 334 | AirflowNetworkSurface::AirflowNetworkSurface(const Model& model, const Surface &surface) | ||
| 335 | : AirflowNetworkLinkage(AirflowNetworkSurface::iddObjectType(),model) | ||
| 336 | { | ||
| 337 | OS_ASSERT(getImpl<detail::AirflowNetworkSurface_Impl>()); | ||
| 338 | bool ok; | ||
| 339 | ok = getImpl<detail::AirflowNetworkSurface_Impl>()->setSurface(surface); | ||
| 340 | OS_ASSERT(ok); | ||
| 341 | } | ||
| 342 | |||
| 343 | AirflowNetworkSurface::AirflowNetworkSurface(const Model& model, const SubSurface &surface) | ||
| 344 | : AirflowNetworkLinkage(AirflowNetworkSurface::iddObjectType(), model) | ||
| 345 | { | ||
| 346 | OS_ASSERT(getImpl<detail::AirflowNetworkSurface_Impl>()); | ||
| 347 | bool ok; | ||
| 348 | ok = getImpl<detail::AirflowNetworkSurface_Impl>()->setSurface(surface); | ||
| 349 | OS_ASSERT(ok); | ||
| 350 | } | ||
| 351 | |||
| 352 | AirflowNetworkSurface::AirflowNetworkSurface(const Model& model, const Surface &surface, | ||
| 353 | const AirflowNetworkComponent& component) | ||
| 354 | : AirflowNetworkLinkage(AirflowNetworkSurface::iddObjectType(), model) | ||
| 355 | { | ||
| 356 | OS_ASSERT(getImpl<detail::AirflowNetworkSurface_Impl>()); | ||
| 357 | bool ok; | ||
| 358 | ok = getImpl<detail::AirflowNetworkSurface_Impl>()->setSurface(surface); | ||
| 359 | OS_ASSERT(ok); | ||
| 360 | ok = setLeakageComponent(component); | ||
| 361 | OS_ASSERT(ok); | ||
| 362 | } | ||
| 363 | |||
| 364 | AirflowNetworkSurface::AirflowNetworkSurface(const Model& model, const SubSurface &surface, | ||
| 365 | const AirflowNetworkComponent& component) | ||
| 366 | : AirflowNetworkLinkage(AirflowNetworkSurface::iddObjectType(), model) | ||
| 367 | { | ||
| 368 | OS_ASSERT(getImpl<detail::AirflowNetworkSurface_Impl>()); | ||
| 369 | bool ok; | ||
| 370 | ok = getImpl<detail::AirflowNetworkSurface_Impl>()->setSurface(surface); | ||
| 371 | OS_ASSERT(ok); | ||
| 372 | ok = setLeakageComponent(component); | ||
| 373 | OS_ASSERT(ok); | ||
| 374 | } | ||
| 375 | */ | ||
| 376 | |||
| 377 | 18719 | IddObjectType AirflowNetworkSurface::iddObjectType() { | |
| 378 |
1/1✓ Branch 1 taken 18719 times.
|
18719 | return {IddObjectType::OS_AirflowNetworkSurface}; |
| 379 | } | ||
| 380 | |||
| 381 | ✗ | std::vector<std::string> AirflowNetworkSurface::ventilationControlModeValues() { | |
| 382 | ✗ | return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_AirflowNetworkSurfaceFields::VentilationControlMode); | |
| 383 | } | ||
| 384 | |||
| 385 | 10 | PlanarSurface AirflowNetworkSurface::surface() const { | |
| 386 |
1/1✓ Branch 3 taken 10 times.
|
10 | return getImpl<detail::AirflowNetworkSurface_Impl>()->surface(); |
| 387 | } | ||
| 388 | |||
| 389 | 17 | boost::optional<AirflowNetworkComponent> AirflowNetworkSurface::leakageComponent() const { | |
| 390 |
1/1✓ Branch 3 taken 17 times.
|
17 | return getImpl<detail::AirflowNetworkSurface_Impl>()->leakageComponent(); |
| 391 | } | ||
| 392 | |||
| 393 | 9 | boost::optional<AirflowNetworkExternalNode> AirflowNetworkSurface::externalNode() const { | |
| 394 |
1/1✓ Branch 3 taken 9 times.
|
9 | return getImpl<detail::AirflowNetworkSurface_Impl>()->externalNode(); |
| 395 | } | ||
| 396 | |||
| 397 | 5 | double AirflowNetworkSurface::windowDoorOpeningFactorOrCrackFactor() const { | |
| 398 |
1/1✓ Branch 3 taken 5 times.
|
5 | return getImpl<detail::AirflowNetworkSurface_Impl>()->windowDoorOpeningFactorOrCrackFactor(); |
| 399 | } | ||
| 400 | |||
| 401 | ✗ | bool AirflowNetworkSurface::isWindowDoorOpeningFactorOrCrackFactorDefaulted() const { | |
| 402 | ✗ | return getImpl<detail::AirflowNetworkSurface_Impl>()->isWindowDoorOpeningFactorOrCrackFactorDefaulted(); | |
| 403 | } | ||
| 404 | |||
| 405 | 5 | std::string AirflowNetworkSurface::ventilationControlMode() const { | |
| 406 |
1/1✓ Branch 3 taken 5 times.
|
5 | return getImpl<detail::AirflowNetworkSurface_Impl>()->ventilationControlMode(); |
| 407 | } | ||
| 408 | |||
| 409 | ✗ | bool AirflowNetworkSurface::isVentilationControlModeDefaulted() const { | |
| 410 | ✗ | return getImpl<detail::AirflowNetworkSurface_Impl>()->isVentilationControlModeDefaulted(); | |
| 411 | } | ||
| 412 | |||
| 413 | 5 | boost::optional<Schedule> AirflowNetworkSurface::ventilationControlZoneTemperatureSetpointSchedule() const { | |
| 414 |
1/1✓ Branch 3 taken 5 times.
|
5 | return getImpl<detail::AirflowNetworkSurface_Impl>()->ventilationControlZoneTemperatureSetpointSchedule(); |
| 415 | } | ||
| 416 | |||
| 417 | 5 | double AirflowNetworkSurface::minimumVentingOpenFactor() const { | |
| 418 |
1/1✓ Branch 3 taken 5 times.
|
5 | return getImpl<detail::AirflowNetworkSurface_Impl>()->minimumVentingOpenFactor(); |
| 419 | } | ||
| 420 | |||
| 421 | ✗ | bool AirflowNetworkSurface::isMinimumVentingOpenFactorDefaulted() const { | |
| 422 | ✗ | return getImpl<detail::AirflowNetworkSurface_Impl>()->isMinimumVentingOpenFactorDefaulted(); | |
| 423 | } | ||
| 424 | |||
| 425 | 5 | double AirflowNetworkSurface::indoorandOutdoorTemperatureDifferenceLowerLimitForMaximumVentingOpenFactor() const { | |
| 426 |
1/1✓ Branch 3 taken 5 times.
|
5 | return getImpl<detail::AirflowNetworkSurface_Impl>()->indoorandOutdoorTemperatureDifferenceLowerLimitForMaximumVentingOpenFactor(); |
| 427 | } | ||
| 428 | |||
| 429 | ✗ | bool AirflowNetworkSurface::isIndoorandOutdoorTemperatureDifferenceLowerLimitForMaximumVentingOpenFactorDefaulted() const { | |
| 430 | ✗ | return getImpl<detail::AirflowNetworkSurface_Impl>()->isIndoorandOutdoorTemperatureDifferenceLowerLimitForMaximumVentingOpenFactorDefaulted(); | |
| 431 | } | ||
| 432 | |||
| 433 | 5 | double AirflowNetworkSurface::indoorandOutdoorTemperatureDifferenceUpperLimitforMinimumVentingOpenFactor() const { | |
| 434 |
1/1✓ Branch 3 taken 5 times.
|
5 | return getImpl<detail::AirflowNetworkSurface_Impl>()->indoorandOutdoorTemperatureDifferenceUpperLimitforMinimumVentingOpenFactor(); |
| 435 | } | ||
| 436 | |||
| 437 | ✗ | bool AirflowNetworkSurface::isIndoorandOutdoorTemperatureDifferenceUpperLimitforMinimumVentingOpenFactorDefaulted() const { | |
| 438 | ✗ | return getImpl<detail::AirflowNetworkSurface_Impl>()->isIndoorandOutdoorTemperatureDifferenceUpperLimitforMinimumVentingOpenFactorDefaulted(); | |
| 439 | } | ||
| 440 | |||
| 441 | 5 | double AirflowNetworkSurface::indoorandOutdoorEnthalpyDifferenceLowerLimitForMaximumVentingOpenFactor() const { | |
| 442 |
1/1✓ Branch 3 taken 5 times.
|
5 | return getImpl<detail::AirflowNetworkSurface_Impl>()->indoorandOutdoorEnthalpyDifferenceLowerLimitForMaximumVentingOpenFactor(); |
| 443 | } | ||
| 444 | |||
| 445 | ✗ | bool AirflowNetworkSurface::isIndoorandOutdoorEnthalpyDifferenceLowerLimitForMaximumVentingOpenFactorDefaulted() const { | |
| 446 | ✗ | return getImpl<detail::AirflowNetworkSurface_Impl>()->isIndoorandOutdoorEnthalpyDifferenceLowerLimitForMaximumVentingOpenFactorDefaulted(); | |
| 447 | } | ||
| 448 | |||
| 449 | 5 | double AirflowNetworkSurface::indoorandOutdoorEnthalpyDifferenceUpperLimitforMinimumVentingOpenFactor() const { | |
| 450 |
1/1✓ Branch 3 taken 5 times.
|
5 | return getImpl<detail::AirflowNetworkSurface_Impl>()->indoorandOutdoorEnthalpyDifferenceUpperLimitforMinimumVentingOpenFactor(); |
| 451 | } | ||
| 452 | |||
| 453 | ✗ | bool AirflowNetworkSurface::isIndoorandOutdoorEnthalpyDifferenceUpperLimitforMinimumVentingOpenFactorDefaulted() const { | |
| 454 | ✗ | return getImpl<detail::AirflowNetworkSurface_Impl>()->isIndoorandOutdoorEnthalpyDifferenceUpperLimitforMinimumVentingOpenFactorDefaulted(); | |
| 455 | } | ||
| 456 | |||
| 457 | 5 | boost::optional<Schedule> AirflowNetworkSurface::ventingAvailabilitySchedule() const { | |
| 458 |
1/1✓ Branch 3 taken 5 times.
|
5 | return getImpl<detail::AirflowNetworkSurface_Impl>()->ventingAvailabilitySchedule(); |
| 459 | } | ||
| 460 | |||
| 461 | 5 | boost::optional<AirflowNetworkOccupantVentilationControl> AirflowNetworkSurface::occupantVentilationControl() const { | |
| 462 |
1/1✓ Branch 3 taken 5 times.
|
5 | return getImpl<detail::AirflowNetworkSurface_Impl>()->occupantVentilationControl(); |
| 463 | } | ||
| 464 | |||
| 465 | ✗ | bool AirflowNetworkSurface::setSurface(const Surface& surfAndSubSurf) { | |
| 466 | ✗ | return getImpl<detail::AirflowNetworkSurface_Impl>()->setSurface(surfAndSubSurf); | |
| 467 | } | ||
| 468 | |||
| 469 | ✗ | bool AirflowNetworkSurface::setSurface(const SubSurface& surfAndSubSurf) { | |
| 470 | ✗ | return getImpl<detail::AirflowNetworkSurface_Impl>()->setSurface(surfAndSubSurf); | |
| 471 | } | ||
| 472 | |||
| 473 | ✗ | void AirflowNetworkSurface::resetSurface() { | |
| 474 | ✗ | return getImpl<detail::AirflowNetworkSurface_Impl>()->resetSurface(); | |
| 475 | } | ||
| 476 | |||
| 477 | 2 | bool AirflowNetworkSurface::setLeakageComponent(const AirflowNetworkComponent& surfaceAirflowLeakage) { | |
| 478 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::AirflowNetworkSurface_Impl>()->setLeakageComponent(surfaceAirflowLeakage); |
| 479 | } | ||
| 480 | |||
| 481 | 2 | bool AirflowNetworkSurface::setExternalNode(const AirflowNetworkExternalNode& externalNode) { | |
| 482 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::AirflowNetworkSurface_Impl>()->setExternalNode(externalNode); |
| 483 | } | ||
| 484 | |||
| 485 | ✗ | void AirflowNetworkSurface::resetExternalNode() { | |
| 486 | ✗ | getImpl<detail::AirflowNetworkSurface_Impl>()->resetExternalNode(); | |
| 487 | ✗ | } | |
| 488 | |||
| 489 | ✗ | bool AirflowNetworkSurface::setWindowDoorOpeningFactorOrCrackFactor(double windowDoorOpeningFactorOrCrackFactor) { | |
| 490 | ✗ | return getImpl<detail::AirflowNetworkSurface_Impl>()->setWindowDoorOpeningFactorOrCrackFactor(windowDoorOpeningFactorOrCrackFactor); | |
| 491 | } | ||
| 492 | |||
| 493 | ✗ | void AirflowNetworkSurface::resetWindowDoorOpeningFactorOrCrackFactor() { | |
| 494 | ✗ | getImpl<detail::AirflowNetworkSurface_Impl>()->resetWindowDoorOpeningFactorOrCrackFactor(); | |
| 495 | ✗ | } | |
| 496 | |||
| 497 | ✗ | bool AirflowNetworkSurface::setVentilationControlMode(const std::string& ventilationControlMode) { | |
| 498 | ✗ | return getImpl<detail::AirflowNetworkSurface_Impl>()->setVentilationControlMode(ventilationControlMode); | |
| 499 | } | ||
| 500 | |||
| 501 | ✗ | void AirflowNetworkSurface::resetVentilationControlMode() { | |
| 502 | ✗ | getImpl<detail::AirflowNetworkSurface_Impl>()->resetVentilationControlMode(); | |
| 503 | ✗ | } | |
| 504 | |||
| 505 | ✗ | bool AirflowNetworkSurface::setVentilationControlZoneTemperatureSetpointSchedule(Schedule& schedule) { | |
| 506 | ✗ | return getImpl<detail::AirflowNetworkSurface_Impl>()->setVentilationControlZoneTemperatureSetpointSchedule(schedule); | |
| 507 | } | ||
| 508 | |||
| 509 | ✗ | void AirflowNetworkSurface::resetVentilationControlZoneTemperatureSetpointSchedule() { | |
| 510 | ✗ | getImpl<detail::AirflowNetworkSurface_Impl>()->resetVentilationControlZoneTemperatureSetpointSchedule(); | |
| 511 | ✗ | } | |
| 512 | |||
| 513 | ✗ | bool AirflowNetworkSurface::setMinimumVentingOpenFactor(double minimumVentingOpenFactor) { | |
| 514 | ✗ | return getImpl<detail::AirflowNetworkSurface_Impl>()->setMinimumVentingOpenFactor(minimumVentingOpenFactor); | |
| 515 | } | ||
| 516 | |||
| 517 | ✗ | void AirflowNetworkSurface::resetMinimumVentingOpenFactor() { | |
| 518 | ✗ | getImpl<detail::AirflowNetworkSurface_Impl>()->resetMinimumVentingOpenFactor(); | |
| 519 | ✗ | } | |
| 520 | |||
| 521 | ✗ | bool AirflowNetworkSurface::setIndoorandOutdoorTemperatureDifferenceLowerLimitForMaximumVentingOpenFactor( | |
| 522 | double indoorandOutdoorTemperatureDifferenceLowerLimitForMaximumVentingOpenFactor) { | ||
| 523 | ✗ | return getImpl<detail::AirflowNetworkSurface_Impl>()->setIndoorandOutdoorTemperatureDifferenceLowerLimitForMaximumVentingOpenFactor( | |
| 524 | ✗ | indoorandOutdoorTemperatureDifferenceLowerLimitForMaximumVentingOpenFactor); | |
| 525 | } | ||
| 526 | |||
| 527 | ✗ | void AirflowNetworkSurface::resetIndoorandOutdoorTemperatureDifferenceLowerLimitForMaximumVentingOpenFactor() { | |
| 528 | ✗ | getImpl<detail::AirflowNetworkSurface_Impl>()->resetIndoorandOutdoorTemperatureDifferenceLowerLimitForMaximumVentingOpenFactor(); | |
| 529 | ✗ | } | |
| 530 | |||
| 531 | ✗ | bool AirflowNetworkSurface::setIndoorandOutdoorTemperatureDifferenceUpperLimitforMinimumVentingOpenFactor( | |
| 532 | double indoorandOutdoorTemperatureDifferenceUpperLimitforMinimumVentingOpenFactor) { | ||
| 533 | ✗ | return getImpl<detail::AirflowNetworkSurface_Impl>()->setIndoorandOutdoorTemperatureDifferenceUpperLimitforMinimumVentingOpenFactor( | |
| 534 | ✗ | indoorandOutdoorTemperatureDifferenceUpperLimitforMinimumVentingOpenFactor); | |
| 535 | } | ||
| 536 | |||
| 537 | ✗ | void AirflowNetworkSurface::resetIndoorandOutdoorTemperatureDifferenceUpperLimitforMinimumVentingOpenFactor() { | |
| 538 | ✗ | getImpl<detail::AirflowNetworkSurface_Impl>()->resetIndoorandOutdoorTemperatureDifferenceUpperLimitforMinimumVentingOpenFactor(); | |
| 539 | ✗ | } | |
| 540 | |||
| 541 | ✗ | bool AirflowNetworkSurface::setIndoorandOutdoorEnthalpyDifferenceLowerLimitForMaximumVentingOpenFactor( | |
| 542 | double indoorandOutdoorEnthalpyDifferenceLowerLimitForMaximumVentingOpenFactor) { | ||
| 543 | ✗ | return getImpl<detail::AirflowNetworkSurface_Impl>()->setIndoorandOutdoorEnthalpyDifferenceLowerLimitForMaximumVentingOpenFactor( | |
| 544 | ✗ | indoorandOutdoorEnthalpyDifferenceLowerLimitForMaximumVentingOpenFactor); | |
| 545 | } | ||
| 546 | |||
| 547 | ✗ | void AirflowNetworkSurface::resetIndoorandOutdoorEnthalpyDifferenceLowerLimitForMaximumVentingOpenFactor() { | |
| 548 | ✗ | getImpl<detail::AirflowNetworkSurface_Impl>()->resetIndoorandOutdoorEnthalpyDifferenceLowerLimitForMaximumVentingOpenFactor(); | |
| 549 | ✗ | } | |
| 550 | |||
| 551 | ✗ | bool AirflowNetworkSurface::setIndoorandOutdoorEnthalpyDifferenceUpperLimitforMinimumVentingOpenFactor( | |
| 552 | double indoorandOutdoorEnthalpyDifferenceUpperLimitforMinimumVentingOpenFactor) { | ||
| 553 | ✗ | return getImpl<detail::AirflowNetworkSurface_Impl>()->setIndoorandOutdoorEnthalpyDifferenceUpperLimitforMinimumVentingOpenFactor( | |
| 554 | ✗ | indoorandOutdoorEnthalpyDifferenceUpperLimitforMinimumVentingOpenFactor); | |
| 555 | } | ||
| 556 | |||
| 557 | ✗ | void AirflowNetworkSurface::resetIndoorandOutdoorEnthalpyDifferenceUpperLimitforMinimumVentingOpenFactor() { | |
| 558 | ✗ | getImpl<detail::AirflowNetworkSurface_Impl>()->resetIndoorandOutdoorEnthalpyDifferenceUpperLimitforMinimumVentingOpenFactor(); | |
| 559 | ✗ | } | |
| 560 | |||
| 561 | ✗ | bool AirflowNetworkSurface::setVentingAvailabilitySchedule(Schedule& schedule) { | |
| 562 | ✗ | return getImpl<detail::AirflowNetworkSurface_Impl>()->setVentingAvailabilitySchedule(schedule); | |
| 563 | } | ||
| 564 | |||
| 565 | ✗ | void AirflowNetworkSurface::resetVentingAvailabilitySchedule() { | |
| 566 | ✗ | getImpl<detail::AirflowNetworkSurface_Impl>()->resetVentingAvailabilitySchedule(); | |
| 567 | ✗ | } | |
| 568 | |||
| 569 | bool | ||
| 570 | ✗ | AirflowNetworkSurface::setOccupantVentilationControl(const AirflowNetworkOccupantVentilationControl& airflowNetworkOccupantVentilationControl) { | |
| 571 | ✗ | return getImpl<detail::AirflowNetworkSurface_Impl>()->setOccupantVentilationControl(airflowNetworkOccupantVentilationControl); | |
| 572 | } | ||
| 573 | |||
| 574 | ✗ | void AirflowNetworkSurface::resetOccupantVentilationControl() { | |
| 575 | ✗ | getImpl<detail::AirflowNetworkSurface_Impl>()->resetOccupantVentilationControl(); | |
| 576 | ✗ | } | |
| 577 | |||
| 578 | /// @cond | ||
| 579 |
1/1✓ Branch 2 taken 23 times.
|
23 | AirflowNetworkSurface::AirflowNetworkSurface(std::shared_ptr<detail::AirflowNetworkSurface_Impl> impl) : AirflowNetworkLinkage(impl) {} |
| 580 | /// @endcond | ||
| 581 | |||
| 582 | } // namespace model | ||
| 583 | } // namespace openstudio | ||
| 584 |