src/model/ZoneVentilationDesignFlowRate.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 "ZoneVentilationDesignFlowRate.hpp" | ||
| 7 | #include "ZoneVentilationDesignFlowRate_Impl.hpp" | ||
| 8 | |||
| 9 | #include "Schedule.hpp" | ||
| 10 | #include "Schedule_Impl.hpp" | ||
| 11 | #include "ThermalZone.hpp" | ||
| 12 | #include "ThermalZone_Impl.hpp" | ||
| 13 | #include "Model.hpp" | ||
| 14 | #include "ZoneHVACEquipmentList.hpp" | ||
| 15 | #include "ZoneHVACEquipmentList_Impl.hpp" | ||
| 16 | #include "ScheduleTypeLimits.hpp" | ||
| 17 | #include "ScheduleTypeRegistry.hpp" | ||
| 18 | |||
| 19 | #include "../utilities/core/Assert.hpp" | ||
| 20 | #include "../utilities/data/DataEnums.hpp" | ||
| 21 | |||
| 22 | #include <utilities/idd/IddFactory.hxx> | ||
| 23 | #include <utilities/idd/IddEnums.hxx> | ||
| 24 | #include <utilities/idd/OS_ZoneVentilation_DesignFlowRate_FieldEnums.hxx> | ||
| 25 | |||
| 26 | namespace openstudio { | ||
| 27 | namespace model { | ||
| 28 | |||
| 29 | namespace detail { | ||
| 30 | |||
| 31 | 8 | ZoneVentilationDesignFlowRate_Impl::ZoneVentilationDesignFlowRate_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle) | |
| 32 | 8 | : ZoneHVACComponent_Impl(idfObject, model, keepHandle) { | |
| 33 |
4/6✓ Branch 1 taken 8 times.
✓ Branch 4 taken 8 times.
✓ Branch 7 taken 8 times.
✗ Branch 10 not taken.
✓ Branch 11 taken 8 times.
✗ Branch 13 not taken.
|
8 | OS_ASSERT(idfObject.iddObject().type() == ZoneVentilationDesignFlowRate::iddObjectType()); |
| 34 | 8 | } | |
| 35 | |||
| 36 | 1 | ZoneVentilationDesignFlowRate_Impl::ZoneVentilationDesignFlowRate_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, | |
| 37 | 1 | bool keepHandle) | |
| 38 | 1 | : ZoneHVACComponent_Impl(other, model, keepHandle) { | |
| 39 |
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() == ZoneVentilationDesignFlowRate::iddObjectType()); |
| 40 | 1 | } | |
| 41 | |||
| 42 | 3 | ZoneVentilationDesignFlowRate_Impl::ZoneVentilationDesignFlowRate_Impl(const ZoneVentilationDesignFlowRate_Impl& other, Model_Impl* model, | |
| 43 | 3 | bool keepHandle) | |
| 44 | 3 | : ZoneHVACComponent_Impl(other, model, keepHandle) {} | |
| 45 | |||
| 46 | ✗ | const std::vector<std::string>& ZoneVentilationDesignFlowRate_Impl::outputVariableNames() const { | |
| 47 | ✗ | static const std::vector<std::string> result; | |
| 48 | // Not appropriate: all variables reported at the zone level | ||
| 49 | //result.push_back("Zone Ventilation Sensible Heat Loss Energy"); | ||
| 50 | //result.push_back("Zone Ventilation Sensible Heat Gain Energy"); | ||
| 51 | //result.push_back("Zone Ventilation Latent Heat Loss Energy"); | ||
| 52 | //result.push_back("Zone Ventilation Latent Heat Gain Energy"); | ||
| 53 | //result.push_back("Zone Ventilation Total Heat Loss Energy"); | ||
| 54 | //result.push_back("Zone Ventilation Total Heat Gain Energy"); | ||
| 55 | //result.push_back("Zone Ventilation Current Density Volume Flow Rate"); | ||
| 56 | //result.push_back("Zone Ventilation Standard Density Volume Flow Rate"); | ||
| 57 | //result.push_back("Zone Ventilation Current Density Volume"); | ||
| 58 | //result.push_back("Zone Ventilation Standard Density Volume"); | ||
| 59 | //result.push_back("Zone Ventilation Mass"); | ||
| 60 | //result.push_back("Zone Ventilation Mass Flow Rate"); | ||
| 61 | //result.push_back("Zone Ventilation Current Density Air Change Rate"); | ||
| 62 | //result.push_back("Zone Ventilation Fan Electricity Energy"); | ||
| 63 | //result.push_back("Zone Ventilation Air Inlet Temperature"); | ||
| 64 | ✗ | return result; | |
| 65 | } | ||
| 66 | |||
| 67 | 2 | IddObjectType ZoneVentilationDesignFlowRate_Impl::iddObjectType() const { | |
| 68 | 2 | return ZoneVentilationDesignFlowRate::iddObjectType(); | |
| 69 | } | ||
| 70 | |||
| 71 | ✗ | std::vector<ScheduleTypeKey> ZoneVentilationDesignFlowRate_Impl::getScheduleTypeKeys(const Schedule& schedule) const { | |
| 72 | ✗ | std::vector<ScheduleTypeKey> result; | |
| 73 | ✗ | UnsignedVector fieldIndices = getSourceIndices(schedule.handle()); | |
| 74 | ✗ | UnsignedVector::const_iterator b(fieldIndices.begin()); | |
| 75 | ✗ | UnsignedVector::const_iterator e(fieldIndices.end()); | |
| 76 | ✗ | if (std::find(b, e, OS_ZoneVentilation_DesignFlowRateFields::ScheduleName) != e) { | |
| 77 | ✗ | result.push_back(ScheduleTypeKey("ZoneVentilationDesignFlowRate", "Zone Ventilation Design Flow Rate")); | |
| 78 | } | ||
| 79 | ✗ | if (std::find(b, e, OS_ZoneVentilation_DesignFlowRateFields::MinimumIndoorTemperatureScheduleName) != e) { | |
| 80 | ✗ | result.push_back(ScheduleTypeKey("ZoneVentilationDesignFlowRate", "Minimum Indoor Temperature")); | |
| 81 | } | ||
| 82 | ✗ | if (std::find(b, e, OS_ZoneVentilation_DesignFlowRateFields::MaximumIndoorTemperatureScheduleName) != e) { | |
| 83 | ✗ | result.push_back(ScheduleTypeKey("ZoneVentilationDesignFlowRate", "Maximum Indoor Temperature")); | |
| 84 | } | ||
| 85 | ✗ | if (std::find(b, e, OS_ZoneVentilation_DesignFlowRateFields::DeltaTemperatureScheduleName) != e) { | |
| 86 | ✗ | result.push_back(ScheduleTypeKey("ZoneVentilationDesignFlowRate", "Delta Temperature")); | |
| 87 | } | ||
| 88 | ✗ | if (std::find(b, e, OS_ZoneVentilation_DesignFlowRateFields::MinimumOutdoorTemperatureScheduleName) != e) { | |
| 89 | ✗ | result.push_back(ScheduleTypeKey("ZoneVentilationDesignFlowRate", "Minimum Outdoor Temperature")); | |
| 90 | } | ||
| 91 | ✗ | if (std::find(b, e, OS_ZoneVentilation_DesignFlowRateFields::MaximumOutdoorTemperatureScheduleName) != e) { | |
| 92 | ✗ | result.push_back(ScheduleTypeKey("ZoneVentilationDesignFlowRate", "Maximum Outdoor Temperature")); | |
| 93 | } | ||
| 94 | ✗ | return result; | |
| 95 | ✗ | } | |
| 96 | |||
| 97 | 3 | Schedule ZoneVentilationDesignFlowRate_Impl::schedule() const { | |
| 98 |
1/1✓ Branch 1 taken 3 times.
|
3 | boost::optional<Schedule> value = optionalSchedule(); |
| 99 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
|
3 | if (!value) { |
| 100 | ✗ | LOG_AND_THROW(briefDescription() << " does not have an Schedule attached."); | |
| 101 | } | ||
| 102 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
6 | return value.get(); |
| 103 | 3 | } | |
| 104 | |||
| 105 | 6 | std::string ZoneVentilationDesignFlowRate_Impl::designFlowRateCalculationMethod() const { | |
| 106 |
1/1✓ Branch 1 taken 6 times.
|
6 | boost::optional<std::string> value = getString(OS_ZoneVentilation_DesignFlowRateFields::DesignFlowRateCalculationMethod, true); |
| 107 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 6 times.
✗ Branch 4 not taken.
|
6 | OS_ASSERT(value); |
| 108 |
2/2✓ Branch 1 taken 6 times.
✓ Branch 4 taken 6 times.
|
12 | return value.get(); |
| 109 | 6 | } | |
| 110 | |||
| 111 | 7 | double ZoneVentilationDesignFlowRate_Impl::designFlowRate() const { | |
| 112 |
1/1✓ Branch 1 taken 7 times.
|
7 | boost::optional<double> value = getDouble(OS_ZoneVentilation_DesignFlowRateFields::DesignFlowRate, true); |
| 113 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
|
7 | OS_ASSERT(value); |
| 114 |
1/1✓ Branch 1 taken 7 times.
|
14 | return value.get(); |
| 115 | } | ||
| 116 | |||
| 117 | 7 | double ZoneVentilationDesignFlowRate_Impl::flowRateperZoneFloorArea() const { | |
| 118 |
1/1✓ Branch 1 taken 7 times.
|
7 | boost::optional<double> value = getDouble(OS_ZoneVentilation_DesignFlowRateFields::FlowRateperZoneFloorArea, true); |
| 119 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
|
7 | OS_ASSERT(value); |
| 120 |
1/1✓ Branch 1 taken 7 times.
|
14 | return value.get(); |
| 121 | } | ||
| 122 | |||
| 123 | 7 | double ZoneVentilationDesignFlowRate_Impl::flowRateperPerson() const { | |
| 124 |
1/1✓ Branch 1 taken 7 times.
|
7 | auto value = getDouble(OS_ZoneVentilation_DesignFlowRateFields::FlowRateperPerson, true); |
| 125 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
|
7 | OS_ASSERT(value); |
| 126 |
1/1✓ Branch 1 taken 7 times.
|
14 | return value.get(); |
| 127 | } | ||
| 128 | |||
| 129 | 7 | double ZoneVentilationDesignFlowRate_Impl::airChangesperHour() const { | |
| 130 |
1/1✓ Branch 1 taken 7 times.
|
7 | boost::optional<double> value = getDouble(OS_ZoneVentilation_DesignFlowRateFields::AirChangesperHour, true); |
| 131 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
|
7 | OS_ASSERT(value); |
| 132 |
1/1✓ Branch 1 taken 7 times.
|
14 | return value.get(); |
| 133 | } | ||
| 134 | |||
| 135 | 4 | std::string ZoneVentilationDesignFlowRate_Impl::ventilationType() const { | |
| 136 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<std::string> value = getString(OS_ZoneVentilation_DesignFlowRateFields::VentilationType, true); |
| 137 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 138 |
2/2✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
|
8 | return value.get(); |
| 139 | 4 | } | |
| 140 | |||
| 141 | 4 | double ZoneVentilationDesignFlowRate_Impl::fanPressureRise() const { | |
| 142 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_ZoneVentilation_DesignFlowRateFields::FanPressureRise, true); |
| 143 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 144 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 145 | } | ||
| 146 | |||
| 147 | 4 | double ZoneVentilationDesignFlowRate_Impl::fanTotalEfficiency() const { | |
| 148 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_ZoneVentilation_DesignFlowRateFields::FanTotalEfficiency, true); |
| 149 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 150 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 151 | } | ||
| 152 | |||
| 153 | 3 | double ZoneVentilationDesignFlowRate_Impl::constantTermCoefficient() const { | |
| 154 |
1/1✓ Branch 1 taken 3 times.
|
3 | boost::optional<double> value = getDouble(OS_ZoneVentilation_DesignFlowRateFields::ConstantTermCoefficient, true); |
| 155 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
|
3 | OS_ASSERT(value); |
| 156 |
1/1✓ Branch 1 taken 3 times.
|
6 | return value.get(); |
| 157 | } | ||
| 158 | |||
| 159 | 3 | double ZoneVentilationDesignFlowRate_Impl::temperatureTermCoefficient() const { | |
| 160 |
1/1✓ Branch 1 taken 3 times.
|
3 | boost::optional<double> value = getDouble(OS_ZoneVentilation_DesignFlowRateFields::TemperatureTermCoefficient, true); |
| 161 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
|
3 | OS_ASSERT(value); |
| 162 |
1/1✓ Branch 1 taken 3 times.
|
6 | return value.get(); |
| 163 | } | ||
| 164 | |||
| 165 | 3 | double ZoneVentilationDesignFlowRate_Impl::velocityTermCoefficient() const { | |
| 166 |
1/1✓ Branch 1 taken 3 times.
|
3 | boost::optional<double> value = getDouble(OS_ZoneVentilation_DesignFlowRateFields::VelocityTermCoefficient, true); |
| 167 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
|
3 | OS_ASSERT(value); |
| 168 |
1/1✓ Branch 1 taken 3 times.
|
6 | return value.get(); |
| 169 | } | ||
| 170 | |||
| 171 | 3 | double ZoneVentilationDesignFlowRate_Impl::velocitySquaredTermCoefficient() const { | |
| 172 |
1/1✓ Branch 1 taken 3 times.
|
3 | boost::optional<double> value = getDouble(OS_ZoneVentilation_DesignFlowRateFields::VelocitySquaredTermCoefficient, true); |
| 173 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
|
3 | OS_ASSERT(value); |
| 174 |
1/1✓ Branch 1 taken 3 times.
|
6 | return value.get(); |
| 175 | } | ||
| 176 | |||
| 177 | 4 | double ZoneVentilationDesignFlowRate_Impl::minimumIndoorTemperature() const { | |
| 178 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_ZoneVentilation_DesignFlowRateFields::MinimumIndoorTemperature, true); |
| 179 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 180 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 181 | } | ||
| 182 | |||
| 183 | 4 | boost::optional<Schedule> ZoneVentilationDesignFlowRate_Impl::minimumIndoorTemperatureSchedule() const { | |
| 184 |
2/2✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
|
4 | return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_ZoneVentilation_DesignFlowRateFields::MinimumIndoorTemperatureScheduleName); |
| 185 | } | ||
| 186 | |||
| 187 | 4 | double ZoneVentilationDesignFlowRate_Impl::maximumIndoorTemperature() const { | |
| 188 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_ZoneVentilation_DesignFlowRateFields::MaximumIndoorTemperature, true); |
| 189 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 190 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 191 | } | ||
| 192 | |||
| 193 | 4 | boost::optional<Schedule> ZoneVentilationDesignFlowRate_Impl::maximumIndoorTemperatureSchedule() const { | |
| 194 |
2/2✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
|
4 | return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_ZoneVentilation_DesignFlowRateFields::MaximumIndoorTemperatureScheduleName); |
| 195 | } | ||
| 196 | |||
| 197 | 4 | double ZoneVentilationDesignFlowRate_Impl::deltaTemperature() const { | |
| 198 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_ZoneVentilation_DesignFlowRateFields::DeltaTemperature, true); |
| 199 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 200 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 201 | } | ||
| 202 | |||
| 203 | 4 | boost::optional<Schedule> ZoneVentilationDesignFlowRate_Impl::deltaTemperatureSchedule() const { | |
| 204 |
2/2✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
|
4 | return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_ZoneVentilation_DesignFlowRateFields::DeltaTemperatureScheduleName); |
| 205 | } | ||
| 206 | |||
| 207 | 4 | double ZoneVentilationDesignFlowRate_Impl::minimumOutdoorTemperature() const { | |
| 208 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_ZoneVentilation_DesignFlowRateFields::MinimumOutdoorTemperature, true); |
| 209 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 210 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 211 | } | ||
| 212 | |||
| 213 | 4 | boost::optional<Schedule> ZoneVentilationDesignFlowRate_Impl::minimumOutdoorTemperatureSchedule() const { | |
| 214 |
2/2✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
|
4 | return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_ZoneVentilation_DesignFlowRateFields::MinimumOutdoorTemperatureScheduleName); |
| 215 | } | ||
| 216 | |||
| 217 | 4 | double ZoneVentilationDesignFlowRate_Impl::maximumOutdoorTemperature() const { | |
| 218 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_ZoneVentilation_DesignFlowRateFields::MaximumOutdoorTemperature, true); |
| 219 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 220 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 221 | } | ||
| 222 | |||
| 223 | 4 | boost::optional<Schedule> ZoneVentilationDesignFlowRate_Impl::maximumOutdoorTemperatureSchedule() const { | |
| 224 |
2/2✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
|
4 | return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_ZoneVentilation_DesignFlowRateFields::MaximumOutdoorTemperatureScheduleName); |
| 225 | } | ||
| 226 | |||
| 227 | 4 | double ZoneVentilationDesignFlowRate_Impl::maximumWindSpeed() const { | |
| 228 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_ZoneVentilation_DesignFlowRateFields::MaximumWindSpeed, true); |
| 229 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 230 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 231 | } | ||
| 232 | |||
| 233 | 4 | std::string ZoneVentilationDesignFlowRate_Impl::densityBasis() const { | |
| 234 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<std::string> value = getString(OS_ZoneVentilation_DesignFlowRateFields::DensityBasis, true); |
| 235 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 236 |
2/2✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
|
8 | return value.get(); |
| 237 | 4 | } | |
| 238 | |||
| 239 | 9 | bool ZoneVentilationDesignFlowRate_Impl::setSchedule(Schedule& schedule) { | |
| 240 |
3/3✓ Branch 1 taken 9 times.
✓ Branch 4 taken 9 times.
✓ Branch 7 taken 9 times.
|
36 | bool result = ModelObject_Impl::setSchedule(OS_ZoneVentilation_DesignFlowRateFields::ScheduleName, "ZoneVentilationDesignFlowRate", |
| 241 | "Zone Ventilation Design Flow Rate", schedule); | ||
| 242 | 9 | return result; | |
| 243 | } | ||
| 244 | |||
| 245 | ✗ | bool ZoneVentilationDesignFlowRate_Impl::setDesignFlowRateCalculationMethod(const std::string& designFlowRateCalculationMethod) { | |
| 246 | ✗ | LOG(Warn, | |
| 247 | "ZoneVentilationDesignFlowRate::setDesignFlowRateCalculationMethod has been deprecated and will be removed in a future release, the design " | ||
| 248 | "flow rate calculation method is set during the call to setDesignFlowRate, setFlowRateperZoneFloorArea, setAirChangesperHour, etc"); | ||
| 249 | ✗ | bool result = setString(OS_ZoneVentilation_DesignFlowRateFields::DesignFlowRateCalculationMethod, designFlowRateCalculationMethod); | |
| 250 | ✗ | return result; | |
| 251 | } | ||
| 252 | |||
| 253 | 3 | bool ZoneVentilationDesignFlowRate_Impl::setDesignFlowRate(double designFlowRate) { | |
| 254 | 3 | bool result = true; | |
| 255 |
2/2✓ Branch 0 taken 1 time.
✓ Branch 1 taken 2 times.
|
3 | if (designFlowRate < 0) { |
| 256 | 1 | result = false; | |
| 257 | } else { | ||
| 258 | // This is the only case where it could really fail, if the user passed NaN/Inf | ||
| 259 | 2 | result = setDouble(OS_ZoneVentilation_DesignFlowRateFields::DesignFlowRate, designFlowRate); | |
| 260 |
1/2✓ Branch 0 taken 2 times.
✗ Branch 1 not taken.
|
2 | if (result) { |
| 261 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
|
4 | result = setString(OS_ZoneVentilation_DesignFlowRateFields::DesignFlowRateCalculationMethod, "Flow/Zone"); |
| 262 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 2 times.
|
2 | OS_ASSERT(result); |
| 263 | 2 | result = setDouble(OS_ZoneVentilation_DesignFlowRateFields::FlowRateperZoneFloorArea, 0.0); | |
| 264 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 2 times.
|
2 | OS_ASSERT(result); |
| 265 | 2 | result = setDouble(OS_ZoneVentilation_DesignFlowRateFields::FlowRateperPerson, 0.0); | |
| 266 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 2 times.
|
2 | OS_ASSERT(result); |
| 267 | 2 | result = setDouble(OS_ZoneVentilation_DesignFlowRateFields::AirChangesperHour, 0.0); | |
| 268 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 2 times.
|
2 | OS_ASSERT(result); |
| 269 | } | ||
| 270 | } | ||
| 271 | 3 | return result; | |
| 272 | } | ||
| 273 | |||
| 274 | 2 | bool ZoneVentilationDesignFlowRate_Impl::setFlowRateperZoneFloorArea(double flowRateperZoneFloorArea) { | |
| 275 | 2 | bool result = true; | |
| 276 |
2/2✓ Branch 0 taken 1 time.
✓ Branch 1 taken 1 time.
|
2 | if (flowRateperZoneFloorArea < 0) { |
| 277 | 1 | result = false; | |
| 278 | } else { | ||
| 279 | 1 | result = setDouble(OS_ZoneVentilation_DesignFlowRateFields::FlowRateperZoneFloorArea, flowRateperZoneFloorArea); | |
| 280 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (result) { |
| 281 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | result = setString(OS_ZoneVentilation_DesignFlowRateFields::DesignFlowRateCalculationMethod, "Flow/Area"); |
| 282 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 283 | 1 | result = setDouble(OS_ZoneVentilation_DesignFlowRateFields::DesignFlowRate, 0.0); | |
| 284 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 285 | 1 | result = setDouble(OS_ZoneVentilation_DesignFlowRateFields::FlowRateperPerson, 0.0); | |
| 286 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 287 | 1 | result = setDouble(OS_ZoneVentilation_DesignFlowRateFields::AirChangesperHour, 0.0); | |
| 288 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 289 | } | ||
| 290 | } | ||
| 291 | 2 | return result; | |
| 292 | } | ||
| 293 | |||
| 294 | 2 | bool ZoneVentilationDesignFlowRate_Impl::setFlowRateperPerson(double flowRateperPerson) { | |
| 295 | 2 | bool result = true; | |
| 296 |
2/2✓ Branch 0 taken 1 time.
✓ Branch 1 taken 1 time.
|
2 | if (flowRateperPerson < 0) { |
| 297 | 1 | result = false; | |
| 298 | } else { | ||
| 299 | 1 | result = setDouble(OS_ZoneVentilation_DesignFlowRateFields::FlowRateperPerson, flowRateperPerson); | |
| 300 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (result) { |
| 301 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | result = setString(OS_ZoneVentilation_DesignFlowRateFields::DesignFlowRateCalculationMethod, "Flow/Person"); |
| 302 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 303 | 1 | result = setDouble(OS_ZoneVentilation_DesignFlowRateFields::DesignFlowRate, 0.0); | |
| 304 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 305 | 1 | result = setDouble(OS_ZoneVentilation_DesignFlowRateFields::FlowRateperZoneFloorArea, 0.0); | |
| 306 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 307 | 1 | result = setDouble(OS_ZoneVentilation_DesignFlowRateFields::AirChangesperHour, 0.0); | |
| 308 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 309 | } | ||
| 310 | } | ||
| 311 | 2 | return result; | |
| 312 | } | ||
| 313 | |||
| 314 | 9 | bool ZoneVentilationDesignFlowRate_Impl::setAirChangesperHour(double airChangesperHour) { | |
| 315 | 9 | bool result = true; | |
| 316 |
2/2✓ Branch 0 taken 1 time.
✓ Branch 1 taken 8 times.
|
9 | if (airChangesperHour < 0) { |
| 317 | 1 | result = false; | |
| 318 | } else { | ||
| 319 | 8 | result = setDouble(OS_ZoneVentilation_DesignFlowRateFields::AirChangesperHour, airChangesperHour); | |
| 320 |
1/2✓ Branch 0 taken 8 times.
✗ Branch 1 not taken.
|
8 | if (result) { |
| 321 |
2/2✓ Branch 1 taken 8 times.
✓ Branch 4 taken 8 times.
|
16 | result = setString(OS_ZoneVentilation_DesignFlowRateFields::DesignFlowRateCalculationMethod, "AirChanges/Hour"); |
| 322 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 8 times.
|
8 | OS_ASSERT(result); |
| 323 | 8 | result = setDouble(OS_ZoneVentilation_DesignFlowRateFields::DesignFlowRate, 0.0); | |
| 324 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 8 times.
|
8 | OS_ASSERT(result); |
| 325 | 8 | result = setDouble(OS_ZoneVentilation_DesignFlowRateFields::FlowRateperZoneFloorArea, 0.0); | |
| 326 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 8 times.
|
8 | OS_ASSERT(result); |
| 327 | 8 | result = setDouble(OS_ZoneVentilation_DesignFlowRateFields::FlowRateperPerson, 0.0); | |
| 328 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 8 times.
|
8 | OS_ASSERT(result); |
| 329 | } | ||
| 330 | } | ||
| 331 | 9 | return result; | |
| 332 | } | ||
| 333 | |||
| 334 | 10 | bool ZoneVentilationDesignFlowRate_Impl::setVentilationType(const std::string& ventilationType) { | |
| 335 | 10 | bool result = setString(OS_ZoneVentilation_DesignFlowRateFields::VentilationType, ventilationType); | |
| 336 | 10 | return result; | |
| 337 | } | ||
| 338 | |||
| 339 | 10 | bool ZoneVentilationDesignFlowRate_Impl::setFanPressureRise(double fanPressureRise) { | |
| 340 | 10 | bool result = setDouble(OS_ZoneVentilation_DesignFlowRateFields::FanPressureRise, fanPressureRise); | |
| 341 | 10 | return result; | |
| 342 | } | ||
| 343 | |||
| 344 | 10 | bool ZoneVentilationDesignFlowRate_Impl::setFanTotalEfficiency(double fanTotalEfficiency) { | |
| 345 | 10 | bool result = setDouble(OS_ZoneVentilation_DesignFlowRateFields::FanTotalEfficiency, fanTotalEfficiency); | |
| 346 | 10 | return result; | |
| 347 | } | ||
| 348 | |||
| 349 | 9 | bool ZoneVentilationDesignFlowRate_Impl::setConstantTermCoefficient(double constantTermCoefficient) { | |
| 350 | 9 | bool result = setDouble(OS_ZoneVentilation_DesignFlowRateFields::ConstantTermCoefficient, constantTermCoefficient); | |
| 351 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 9 times.
|
9 | OS_ASSERT(result); |
| 352 | 9 | return result; | |
| 353 | } | ||
| 354 | |||
| 355 | 9 | bool ZoneVentilationDesignFlowRate_Impl::setTemperatureTermCoefficient(double temperatureTermCoefficient) { | |
| 356 | 9 | bool result = setDouble(OS_ZoneVentilation_DesignFlowRateFields::TemperatureTermCoefficient, temperatureTermCoefficient); | |
| 357 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 9 times.
|
9 | OS_ASSERT(result); |
| 358 | 9 | return result; | |
| 359 | } | ||
| 360 | |||
| 361 | 9 | bool ZoneVentilationDesignFlowRate_Impl::setVelocityTermCoefficient(double velocityTermCoefficient) { | |
| 362 | 9 | bool result = setDouble(OS_ZoneVentilation_DesignFlowRateFields::VelocityTermCoefficient, velocityTermCoefficient); | |
| 363 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 9 times.
|
9 | OS_ASSERT(result); |
| 364 | 9 | return result; | |
| 365 | } | ||
| 366 | |||
| 367 | 9 | bool ZoneVentilationDesignFlowRate_Impl::setVelocitySquaredTermCoefficient(double velocitySquaredTermCoefficient) { | |
| 368 | 9 | bool result = setDouble(OS_ZoneVentilation_DesignFlowRateFields::VelocitySquaredTermCoefficient, velocitySquaredTermCoefficient); | |
| 369 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 9 times.
|
9 | OS_ASSERT(result); |
| 370 | 9 | return result; | |
| 371 | } | ||
| 372 | |||
| 373 | 10 | bool ZoneVentilationDesignFlowRate_Impl::setMinimumIndoorTemperature(double minimumIndoorTemperature) { | |
| 374 | 10 | bool result = setDouble(OS_ZoneVentilation_DesignFlowRateFields::MinimumIndoorTemperature, minimumIndoorTemperature); | |
| 375 | 10 | return result; | |
| 376 | } | ||
| 377 | |||
| 378 | 2 | bool ZoneVentilationDesignFlowRate_Impl::setMinimumIndoorTemperatureSchedule(Schedule& schedule) { | |
| 379 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
8 | bool result = ModelObject_Impl::setSchedule(OS_ZoneVentilation_DesignFlowRateFields::MinimumIndoorTemperatureScheduleName, |
| 380 | "ZoneVentilationDesignFlowRate", "Minimum Indoor Temperature", schedule); | ||
| 381 | 2 | return result; | |
| 382 | } | ||
| 383 | |||
| 384 | ✗ | void ZoneVentilationDesignFlowRate_Impl::resetMinimumIndoorTemperatureSchedule() { | |
| 385 | ✗ | bool result = setString(OS_ZoneVentilation_DesignFlowRateFields::MinimumIndoorTemperatureScheduleName, ""); | |
| 386 | ✗ | OS_ASSERT(result); | |
| 387 | ✗ | } | |
| 388 | |||
| 389 | 10 | bool ZoneVentilationDesignFlowRate_Impl::setMaximumIndoorTemperature(double maximumIndoorTemperature) { | |
| 390 | 10 | bool result = setDouble(OS_ZoneVentilation_DesignFlowRateFields::MaximumIndoorTemperature, maximumIndoorTemperature); | |
| 391 | 10 | return result; | |
| 392 | } | ||
| 393 | |||
| 394 | 2 | bool ZoneVentilationDesignFlowRate_Impl::setMaximumIndoorTemperatureSchedule(Schedule& schedule) { | |
| 395 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
8 | bool result = ModelObject_Impl::setSchedule(OS_ZoneVentilation_DesignFlowRateFields::MaximumIndoorTemperatureScheduleName, |
| 396 | "ZoneVentilationDesignFlowRate", "Maximum Indoor Temperature", schedule); | ||
| 397 | 2 | return result; | |
| 398 | } | ||
| 399 | |||
| 400 | ✗ | void ZoneVentilationDesignFlowRate_Impl::resetMaximumIndoorTemperatureSchedule() { | |
| 401 | ✗ | bool result = setString(OS_ZoneVentilation_DesignFlowRateFields::MaximumIndoorTemperatureScheduleName, ""); | |
| 402 | ✗ | OS_ASSERT(result); | |
| 403 | ✗ | } | |
| 404 | |||
| 405 | 10 | bool ZoneVentilationDesignFlowRate_Impl::setDeltaTemperature(double deltaTemperature) { | |
| 406 | 10 | bool result = setDouble(OS_ZoneVentilation_DesignFlowRateFields::DeltaTemperature, deltaTemperature); | |
| 407 | 10 | return result; | |
| 408 | } | ||
| 409 | |||
| 410 | 2 | bool ZoneVentilationDesignFlowRate_Impl::setDeltaTemperatureSchedule(Schedule& schedule) { | |
| 411 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
8 | bool result = ModelObject_Impl::setSchedule(OS_ZoneVentilation_DesignFlowRateFields::DeltaTemperatureScheduleName, |
| 412 | "ZoneVentilationDesignFlowRate", "Delta Temperature", schedule); | ||
| 413 | 2 | return result; | |
| 414 | } | ||
| 415 | |||
| 416 | ✗ | void ZoneVentilationDesignFlowRate_Impl::resetDeltaTemperatureSchedule() { | |
| 417 | ✗ | bool result = setString(OS_ZoneVentilation_DesignFlowRateFields::DeltaTemperatureScheduleName, ""); | |
| 418 | ✗ | OS_ASSERT(result); | |
| 419 | ✗ | } | |
| 420 | |||
| 421 | 10 | bool ZoneVentilationDesignFlowRate_Impl::setMinimumOutdoorTemperature(double minimumOutdoorTemperature) { | |
| 422 | 10 | bool result = setDouble(OS_ZoneVentilation_DesignFlowRateFields::MinimumOutdoorTemperature, minimumOutdoorTemperature); | |
| 423 | 10 | return result; | |
| 424 | } | ||
| 425 | |||
| 426 | 2 | bool ZoneVentilationDesignFlowRate_Impl::setMinimumOutdoorTemperatureSchedule(Schedule& schedule) { | |
| 427 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
8 | bool result = ModelObject_Impl::setSchedule(OS_ZoneVentilation_DesignFlowRateFields::MinimumOutdoorTemperatureScheduleName, |
| 428 | "ZoneVentilationDesignFlowRate", "Minimum Outdoor Temperature", schedule); | ||
| 429 | 2 | return result; | |
| 430 | } | ||
| 431 | |||
| 432 | ✗ | void ZoneVentilationDesignFlowRate_Impl::resetMinimumOutdoorTemperatureSchedule() { | |
| 433 | ✗ | bool result = setString(OS_ZoneVentilation_DesignFlowRateFields::MinimumOutdoorTemperatureScheduleName, ""); | |
| 434 | ✗ | OS_ASSERT(result); | |
| 435 | ✗ | } | |
| 436 | |||
| 437 | 10 | bool ZoneVentilationDesignFlowRate_Impl::setMaximumOutdoorTemperature(double maximumOutdoorTemperature) { | |
| 438 | 10 | bool result = setDouble(OS_ZoneVentilation_DesignFlowRateFields::MaximumOutdoorTemperature, maximumOutdoorTemperature); | |
| 439 | 10 | return result; | |
| 440 | } | ||
| 441 | |||
| 442 | 2 | bool ZoneVentilationDesignFlowRate_Impl::setMaximumOutdoorTemperatureSchedule(Schedule& schedule) { | |
| 443 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
8 | bool result = ModelObject_Impl::setSchedule(OS_ZoneVentilation_DesignFlowRateFields::MaximumOutdoorTemperatureScheduleName, |
| 444 | "ZoneVentilationDesignFlowRate", "Maximum Outdoor Temperature", schedule); | ||
| 445 | 2 | return result; | |
| 446 | } | ||
| 447 | |||
| 448 | ✗ | void ZoneVentilationDesignFlowRate_Impl::resetMaximumOutdoorTemperatureSchedule() { | |
| 449 | ✗ | bool result = setString(OS_ZoneVentilation_DesignFlowRateFields::MaximumOutdoorTemperatureScheduleName, ""); | |
| 450 | ✗ | OS_ASSERT(result); | |
| 451 | ✗ | } | |
| 452 | |||
| 453 | 10 | bool ZoneVentilationDesignFlowRate_Impl::setMaximumWindSpeed(double maximumWindSpeed) { | |
| 454 | 10 | bool result = setDouble(OS_ZoneVentilation_DesignFlowRateFields::MaximumWindSpeed, maximumWindSpeed); | |
| 455 | 10 | return result; | |
| 456 | } | ||
| 457 | |||
| 458 | 10 | bool ZoneVentilationDesignFlowRate_Impl::setDensityBasis(const std::string& densityBasis) { | |
| 459 | 10 | bool result = setString(OS_ZoneVentilation_DesignFlowRateFields::DensityBasis, densityBasis); | |
| 460 | 10 | return result; | |
| 461 | } | ||
| 462 | |||
| 463 | 3 | boost::optional<Schedule> ZoneVentilationDesignFlowRate_Impl::optionalSchedule() const { | |
| 464 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_ZoneVentilation_DesignFlowRateFields::ScheduleName); |
| 465 | } | ||
| 466 | |||
| 467 | ✗ | unsigned ZoneVentilationDesignFlowRate_Impl::inletPort() const { | |
| 468 | ✗ | return 0; // this object has no inlet or outlet node | |
| 469 | } | ||
| 470 | |||
| 471 | ✗ | unsigned ZoneVentilationDesignFlowRate_Impl::outletPort() const { | |
| 472 | ✗ | return 0; // this object has no inlet or outlet node | |
| 473 | } | ||
| 474 | |||
| 475 | 8 | boost::optional<ThermalZone> ZoneVentilationDesignFlowRate_Impl::thermalZone() const { | |
| 476 |
1/1✓ Branch 1 taken 8 times.
|
8 | auto thisObject = this->getObject<ModelObject>(); |
| 477 |
2/2✓ Branch 1 taken 8 times.
✓ Branch 4 taken 8 times.
|
8 | std::vector<ThermalZone> thermalZones = this->model().getConcreteModelObjects<ThermalZone>(); |
| 478 |
2/2✓ Branch 5 taken 8 times.
✓ Branch 6 taken 4 times.
|
12 | for (const auto& thermalZone : thermalZones) { |
| 479 |
1/1✓ Branch 1 taken 8 times.
|
8 | std::vector<ModelObject> equipment = thermalZone.equipment(); |
| 480 | |||
| 481 |
3/3✓ Branch 4 taken 8 times.
✓ Branch 7 taken 4 times.
✓ Branch 8 taken 4 times.
|
8 | if (std::find(equipment.begin(), equipment.end(), thisObject) != equipment.end()) { |
| 482 |
1/1✓ Branch 1 taken 4 times.
|
4 | return thermalZone; |
| 483 | } | ||
| 484 | 8 | } | |
| 485 | 4 | return boost::none; | |
| 486 | 8 | } | |
| 487 | |||
| 488 | 2 | bool ZoneVentilationDesignFlowRate_Impl::addToThermalZone(ThermalZone& thermalZone) { | |
| 489 |
1/1✓ Branch 1 taken 2 times.
|
2 | Model m = this->model(); |
| 490 | |||
| 491 |
3/4✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✗ Branch 7 not taken.
✓ Branch 8 taken 2 times.
|
2 | if (thermalZone.model() != m) { |
| 492 | ✗ | return false; | |
| 493 | } | ||
| 494 | |||
| 495 |
2/3✓ Branch 1 taken 2 times.
✗ Branch 3 not taken.
✓ Branch 4 taken 2 times.
|
2 | if (thermalZone.isPlenum()) { |
| 496 | ✗ | return false; | |
| 497 | } | ||
| 498 | |||
| 499 |
1/1✓ Branch 1 taken 2 times.
|
2 | removeFromThermalZone(); |
| 500 | |||
| 501 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
|
2 | thermalZone.addEquipment(this->getObject<ZoneHVACComponent>()); |
| 502 | |||
| 503 | 2 | return true; | |
| 504 | 2 | } | |
| 505 | |||
| 506 | 3 | void ZoneVentilationDesignFlowRate_Impl::removeFromThermalZone() { | |
| 507 |
3/3✓ Branch 1 taken 3 times.
✓ Branch 3 taken 1 time.
✓ Branch 4 taken 2 times.
|
6 | if (boost::optional<ThermalZone> thermalZone = this->thermalZone()) { |
| 508 |
3/3✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
|
1 | thermalZone->removeEquipment(this->getObject<ZoneHVACComponent>()); |
| 509 | 3 | } | |
| 510 | 3 | } | |
| 511 | |||
| 512 | ✗ | std::vector<EMSActuatorNames> ZoneVentilationDesignFlowRate_Impl::emsActuatorNames() const { | |
| 513 | ✗ | std::vector<EMSActuatorNames> actuators{{"Zone Ventilation", "Air Exchange Flow Rate"}}; | |
| 514 | ✗ | return actuators; | |
| 515 | ✗ | } | |
| 516 | |||
| 517 | ✗ | std::vector<std::string> ZoneVentilationDesignFlowRate_Impl::emsInternalVariableNames() const { | |
| 518 | ✗ | std::vector<std::string> types; | |
| 519 | ✗ | return types; | |
| 520 | } | ||
| 521 | |||
| 522 | ✗ | ComponentType ZoneVentilationDesignFlowRate_Impl::componentType() const { | |
| 523 | ✗ | return ComponentType::None; | |
| 524 | } | ||
| 525 | |||
| 526 | ✗ | std::vector<FuelType> ZoneVentilationDesignFlowRate_Impl::coolingFuelTypes() const { | |
| 527 | ✗ | return {}; | |
| 528 | } | ||
| 529 | |||
| 530 | ✗ | std::vector<FuelType> ZoneVentilationDesignFlowRate_Impl::heatingFuelTypes() const { | |
| 531 | ✗ | return {}; | |
| 532 | } | ||
| 533 | |||
| 534 | ✗ | std::vector<AppGFuelType> ZoneVentilationDesignFlowRate_Impl::appGHeatingFuelTypes() const { | |
| 535 | ✗ | return {}; | |
| 536 | } | ||
| 537 | |||
| 538 | } // namespace detail | ||
| 539 | |||
| 540 | 7 | ZoneVentilationDesignFlowRate::ZoneVentilationDesignFlowRate(const Model& model) | |
| 541 | 7 | : ZoneHVACComponent(ZoneVentilationDesignFlowRate::iddObjectType(), model) { | |
| 542 |
1/3✗ Branch 2 not taken.
✓ Branch 3 taken 7 times.
✗ Branch 5 not taken.
|
7 | OS_ASSERT(getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()); |
| 543 | |||
| 544 | { | ||
| 545 |
1/1✓ Branch 1 taken 7 times.
|
7 | auto schedule = model.alwaysOnDiscreteSchedule(); |
| 546 |
1/1✓ Branch 1 taken 7 times.
|
7 | setSchedule(schedule); |
| 547 | 7 | } | |
| 548 | |||
| 549 | // This automatically switches the Calculation Method to "AirChanges/Hour" | ||
| 550 |
1/1✓ Branch 1 taken 7 times.
|
7 | setAirChangesperHour(5.0); |
| 551 | |||
| 552 |
2/2✓ Branch 1 taken 7 times.
✓ Branch 4 taken 7 times.
|
7 | setVentilationType("Natural"); |
| 553 |
1/1✓ Branch 1 taken 7 times.
|
7 | setFanPressureRise(0.0); |
| 554 |
1/1✓ Branch 1 taken 7 times.
|
7 | setFanTotalEfficiency(1.0); |
| 555 |
1/1✓ Branch 1 taken 7 times.
|
7 | setConstantTermCoefficient(0.6060000); |
| 556 |
1/1✓ Branch 1 taken 7 times.
|
7 | setTemperatureTermCoefficient(0.03636); |
| 557 |
1/1✓ Branch 1 taken 7 times.
|
7 | setVelocityTermCoefficient(0.1177); |
| 558 |
1/1✓ Branch 1 taken 7 times.
|
7 | setVelocitySquaredTermCoefficient(0); |
| 559 |
1/1✓ Branch 1 taken 7 times.
|
7 | setMinimumIndoorTemperature(18.0); |
| 560 |
1/1✓ Branch 1 taken 7 times.
|
7 | setMaximumIndoorTemperature(100.0); |
| 561 |
1/1✓ Branch 1 taken 7 times.
|
7 | setDeltaTemperature(1.0); |
| 562 |
1/1✓ Branch 1 taken 7 times.
|
7 | setMinimumOutdoorTemperature(-100.0); |
| 563 |
1/1✓ Branch 1 taken 7 times.
|
7 | setMaximumOutdoorTemperature(100.0); |
| 564 |
1/1✓ Branch 1 taken 7 times.
|
7 | setMaximumWindSpeed(40.0); |
| 565 |
2/2✓ Branch 1 taken 7 times.
✓ Branch 4 taken 7 times.
|
7 | setDensityBasis("Outdoor"); |
| 566 | 7 | } | |
| 567 | |||
| 568 | 8040 | IddObjectType ZoneVentilationDesignFlowRate::iddObjectType() { | |
| 569 |
1/1✓ Branch 1 taken 8040 times.
|
8040 | return {IddObjectType::OS_ZoneVentilation_DesignFlowRate}; |
| 570 | } | ||
| 571 | |||
| 572 | ✗ | std::vector<std::string> ZoneVentilationDesignFlowRate::designFlowRateCalculationMethodValues() { | |
| 573 | ✗ | return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), | |
| 574 | ✗ | OS_ZoneVentilation_DesignFlowRateFields::DesignFlowRateCalculationMethod); | |
| 575 | } | ||
| 576 | |||
| 577 | ✗ | std::vector<std::string> ZoneVentilationDesignFlowRate::ventilationTypeValues() { | |
| 578 | ✗ | return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_ZoneVentilation_DesignFlowRateFields::VentilationType); | |
| 579 | } | ||
| 580 | |||
| 581 | ✗ | std::vector<std::string> ZoneVentilationDesignFlowRate::densityBasisValues() { | |
| 582 | ✗ | return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_ZoneVentilation_DesignFlowRateFields::DensityBasis); | |
| 583 | } | ||
| 584 | |||
| 585 | 3 | Schedule ZoneVentilationDesignFlowRate::schedule() const { | |
| 586 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->schedule(); |
| 587 | } | ||
| 588 | |||
| 589 | 6 | std::string ZoneVentilationDesignFlowRate::designFlowRateCalculationMethod() const { | |
| 590 |
1/1✓ Branch 3 taken 6 times.
|
6 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->designFlowRateCalculationMethod(); |
| 591 | } | ||
| 592 | |||
| 593 | 7 | double ZoneVentilationDesignFlowRate::designFlowRate() const { | |
| 594 |
1/1✓ Branch 3 taken 7 times.
|
7 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->designFlowRate(); |
| 595 | } | ||
| 596 | |||
| 597 | 7 | double ZoneVentilationDesignFlowRate::flowRateperZoneFloorArea() const { | |
| 598 |
1/1✓ Branch 3 taken 7 times.
|
7 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->flowRateperZoneFloorArea(); |
| 599 | } | ||
| 600 | |||
| 601 | 7 | double ZoneVentilationDesignFlowRate::flowRateperPerson() const { | |
| 602 |
1/1✓ Branch 3 taken 7 times.
|
7 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->flowRateperPerson(); |
| 603 | } | ||
| 604 | |||
| 605 | 7 | double ZoneVentilationDesignFlowRate::airChangesperHour() const { | |
| 606 |
1/1✓ Branch 3 taken 7 times.
|
7 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->airChangesperHour(); |
| 607 | } | ||
| 608 | |||
| 609 | 4 | std::string ZoneVentilationDesignFlowRate::ventilationType() const { | |
| 610 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->ventilationType(); |
| 611 | } | ||
| 612 | |||
| 613 | 4 | double ZoneVentilationDesignFlowRate::fanPressureRise() const { | |
| 614 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->fanPressureRise(); |
| 615 | } | ||
| 616 | |||
| 617 | 4 | double ZoneVentilationDesignFlowRate::fanTotalEfficiency() const { | |
| 618 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->fanTotalEfficiency(); |
| 619 | } | ||
| 620 | |||
| 621 | 3 | double ZoneVentilationDesignFlowRate::constantTermCoefficient() const { | |
| 622 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->constantTermCoefficient(); |
| 623 | } | ||
| 624 | |||
| 625 | 3 | double ZoneVentilationDesignFlowRate::temperatureTermCoefficient() const { | |
| 626 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->temperatureTermCoefficient(); |
| 627 | } | ||
| 628 | |||
| 629 | 3 | double ZoneVentilationDesignFlowRate::velocityTermCoefficient() const { | |
| 630 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->velocityTermCoefficient(); |
| 631 | } | ||
| 632 | |||
| 633 | 3 | double ZoneVentilationDesignFlowRate::velocitySquaredTermCoefficient() const { | |
| 634 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->velocitySquaredTermCoefficient(); |
| 635 | } | ||
| 636 | |||
| 637 | 4 | double ZoneVentilationDesignFlowRate::minimumIndoorTemperature() const { | |
| 638 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->minimumIndoorTemperature(); |
| 639 | } | ||
| 640 | |||
| 641 | 4 | boost::optional<Schedule> ZoneVentilationDesignFlowRate::minimumIndoorTemperatureSchedule() const { | |
| 642 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->minimumIndoorTemperatureSchedule(); |
| 643 | } | ||
| 644 | |||
| 645 | 4 | double ZoneVentilationDesignFlowRate::maximumIndoorTemperature() const { | |
| 646 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->maximumIndoorTemperature(); |
| 647 | } | ||
| 648 | |||
| 649 | 4 | boost::optional<Schedule> ZoneVentilationDesignFlowRate::maximumIndoorTemperatureSchedule() const { | |
| 650 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->maximumIndoorTemperatureSchedule(); |
| 651 | } | ||
| 652 | |||
| 653 | 4 | double ZoneVentilationDesignFlowRate::deltaTemperature() const { | |
| 654 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->deltaTemperature(); |
| 655 | } | ||
| 656 | |||
| 657 | 4 | boost::optional<Schedule> ZoneVentilationDesignFlowRate::deltaTemperatureSchedule() const { | |
| 658 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->deltaTemperatureSchedule(); |
| 659 | } | ||
| 660 | |||
| 661 | 4 | double ZoneVentilationDesignFlowRate::minimumOutdoorTemperature() const { | |
| 662 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->minimumOutdoorTemperature(); |
| 663 | } | ||
| 664 | |||
| 665 | 4 | boost::optional<Schedule> ZoneVentilationDesignFlowRate::minimumOutdoorTemperatureSchedule() const { | |
| 666 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->minimumOutdoorTemperatureSchedule(); |
| 667 | } | ||
| 668 | |||
| 669 | 4 | double ZoneVentilationDesignFlowRate::maximumOutdoorTemperature() const { | |
| 670 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->maximumOutdoorTemperature(); |
| 671 | } | ||
| 672 | |||
| 673 | 4 | boost::optional<Schedule> ZoneVentilationDesignFlowRate::maximumOutdoorTemperatureSchedule() const { | |
| 674 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->maximumOutdoorTemperatureSchedule(); |
| 675 | } | ||
| 676 | |||
| 677 | 4 | double ZoneVentilationDesignFlowRate::maximumWindSpeed() const { | |
| 678 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->maximumWindSpeed(); |
| 679 | } | ||
| 680 | |||
| 681 | 4 | std::string ZoneVentilationDesignFlowRate::densityBasis() const { | |
| 682 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->densityBasis(); |
| 683 | } | ||
| 684 | |||
| 685 | 9 | bool ZoneVentilationDesignFlowRate::setSchedule(Schedule& schedule) { | |
| 686 |
1/1✓ Branch 3 taken 9 times.
|
9 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->setSchedule(schedule); |
| 687 | } | ||
| 688 | |||
| 689 | 3 | bool ZoneVentilationDesignFlowRate::setDesignFlowRate(double designFlowRate) { | |
| 690 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->setDesignFlowRate(designFlowRate); |
| 691 | } | ||
| 692 | |||
| 693 | 2 | bool ZoneVentilationDesignFlowRate::setFlowRateperZoneFloorArea(double flowRateperZoneFloorArea) { | |
| 694 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->setFlowRateperZoneFloorArea(flowRateperZoneFloorArea); |
| 695 | } | ||
| 696 | |||
| 697 | 2 | bool ZoneVentilationDesignFlowRate::setFlowRateperPerson(double flowRateperPerson) { | |
| 698 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->setFlowRateperPerson(flowRateperPerson); |
| 699 | } | ||
| 700 | |||
| 701 | 9 | bool ZoneVentilationDesignFlowRate::setAirChangesperHour(double airChangesperHour) { | |
| 702 |
1/1✓ Branch 3 taken 9 times.
|
9 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->setAirChangesperHour(airChangesperHour); |
| 703 | } | ||
| 704 | |||
| 705 | 10 | bool ZoneVentilationDesignFlowRate::setVentilationType(const std::string& ventilationType) { | |
| 706 |
1/1✓ Branch 3 taken 10 times.
|
10 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->setVentilationType(ventilationType); |
| 707 | } | ||
| 708 | |||
| 709 | 10 | bool ZoneVentilationDesignFlowRate::setFanPressureRise(double fanPressureRise) { | |
| 710 |
1/1✓ Branch 3 taken 10 times.
|
10 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->setFanPressureRise(fanPressureRise); |
| 711 | } | ||
| 712 | |||
| 713 | 10 | bool ZoneVentilationDesignFlowRate::setFanTotalEfficiency(double fanTotalEfficiency) { | |
| 714 |
1/1✓ Branch 3 taken 10 times.
|
10 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->setFanTotalEfficiency(fanTotalEfficiency); |
| 715 | } | ||
| 716 | |||
| 717 | 9 | bool ZoneVentilationDesignFlowRate::setConstantTermCoefficient(double constantTermCoefficient) { | |
| 718 |
1/1✓ Branch 3 taken 9 times.
|
9 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->setConstantTermCoefficient(constantTermCoefficient); |
| 719 | } | ||
| 720 | |||
| 721 | 9 | bool ZoneVentilationDesignFlowRate::setTemperatureTermCoefficient(double temperatureTermCoefficient) { | |
| 722 |
1/1✓ Branch 3 taken 9 times.
|
9 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->setTemperatureTermCoefficient(temperatureTermCoefficient); |
| 723 | } | ||
| 724 | |||
| 725 | 9 | bool ZoneVentilationDesignFlowRate::setVelocityTermCoefficient(double velocityTermCoefficient) { | |
| 726 |
1/1✓ Branch 3 taken 9 times.
|
9 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->setVelocityTermCoefficient(velocityTermCoefficient); |
| 727 | } | ||
| 728 | |||
| 729 | 9 | bool ZoneVentilationDesignFlowRate::setVelocitySquaredTermCoefficient(double velocitySquaredTermCoefficient) { | |
| 730 |
1/1✓ Branch 3 taken 9 times.
|
9 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->setVelocitySquaredTermCoefficient(velocitySquaredTermCoefficient); |
| 731 | } | ||
| 732 | |||
| 733 | 10 | bool ZoneVentilationDesignFlowRate::setMinimumIndoorTemperature(double minimumIndoorTemperature) { | |
| 734 |
1/1✓ Branch 3 taken 10 times.
|
10 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->setMinimumIndoorTemperature(minimumIndoorTemperature); |
| 735 | } | ||
| 736 | |||
| 737 | 2 | bool ZoneVentilationDesignFlowRate::setMinimumIndoorTemperatureSchedule(Schedule& schedule) { | |
| 738 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->setMinimumIndoorTemperatureSchedule(schedule); |
| 739 | } | ||
| 740 | |||
| 741 | ✗ | void ZoneVentilationDesignFlowRate::resetMinimumIndoorTemperatureSchedule() { | |
| 742 | ✗ | getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->resetMinimumIndoorTemperatureSchedule(); | |
| 743 | ✗ | } | |
| 744 | |||
| 745 | 10 | bool ZoneVentilationDesignFlowRate::setMaximumIndoorTemperature(double maximumIndoorTemperature) { | |
| 746 |
1/1✓ Branch 3 taken 10 times.
|
10 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->setMaximumIndoorTemperature(maximumIndoorTemperature); |
| 747 | } | ||
| 748 | |||
| 749 | 2 | bool ZoneVentilationDesignFlowRate::setMaximumIndoorTemperatureSchedule(Schedule& schedule) { | |
| 750 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->setMaximumIndoorTemperatureSchedule(schedule); |
| 751 | } | ||
| 752 | |||
| 753 | ✗ | void ZoneVentilationDesignFlowRate::resetMaximumIndoorTemperatureSchedule() { | |
| 754 | ✗ | getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->resetMaximumIndoorTemperatureSchedule(); | |
| 755 | ✗ | } | |
| 756 | |||
| 757 | 10 | bool ZoneVentilationDesignFlowRate::setDeltaTemperature(double deltaTemperature) { | |
| 758 |
1/1✓ Branch 3 taken 10 times.
|
10 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->setDeltaTemperature(deltaTemperature); |
| 759 | } | ||
| 760 | |||
| 761 | 2 | bool ZoneVentilationDesignFlowRate::setDeltaTemperatureSchedule(Schedule& schedule) { | |
| 762 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->setDeltaTemperatureSchedule(schedule); |
| 763 | } | ||
| 764 | |||
| 765 | ✗ | void ZoneVentilationDesignFlowRate::resetDeltaTemperatureSchedule() { | |
| 766 | ✗ | getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->resetDeltaTemperatureSchedule(); | |
| 767 | ✗ | } | |
| 768 | |||
| 769 | 10 | bool ZoneVentilationDesignFlowRate::setMinimumOutdoorTemperature(double minimumOutdoorTemperature) { | |
| 770 |
1/1✓ Branch 3 taken 10 times.
|
10 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->setMinimumOutdoorTemperature(minimumOutdoorTemperature); |
| 771 | } | ||
| 772 | |||
| 773 | 2 | bool ZoneVentilationDesignFlowRate::setMinimumOutdoorTemperatureSchedule(Schedule& schedule) { | |
| 774 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->setMinimumOutdoorTemperatureSchedule(schedule); |
| 775 | } | ||
| 776 | |||
| 777 | ✗ | void ZoneVentilationDesignFlowRate::resetMinimumOutdoorTemperatureSchedule() { | |
| 778 | ✗ | getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->resetMinimumOutdoorTemperatureSchedule(); | |
| 779 | ✗ | } | |
| 780 | |||
| 781 | 10 | bool ZoneVentilationDesignFlowRate::setMaximumOutdoorTemperature(double maximumOutdoorTemperature) { | |
| 782 |
1/1✓ Branch 3 taken 10 times.
|
10 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->setMaximumOutdoorTemperature(maximumOutdoorTemperature); |
| 783 | } | ||
| 784 | |||
| 785 | 2 | bool ZoneVentilationDesignFlowRate::setMaximumOutdoorTemperatureSchedule(Schedule& schedule) { | |
| 786 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->setMaximumOutdoorTemperatureSchedule(schedule); |
| 787 | } | ||
| 788 | |||
| 789 | ✗ | void ZoneVentilationDesignFlowRate::resetMaximumOutdoorTemperatureSchedule() { | |
| 790 | ✗ | getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->resetMaximumOutdoorTemperatureSchedule(); | |
| 791 | ✗ | } | |
| 792 | |||
| 793 | 10 | bool ZoneVentilationDesignFlowRate::setMaximumWindSpeed(double maximumWindSpeed) { | |
| 794 |
1/1✓ Branch 3 taken 10 times.
|
10 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->setMaximumWindSpeed(maximumWindSpeed); |
| 795 | } | ||
| 796 | |||
| 797 | 10 | bool ZoneVentilationDesignFlowRate::setDensityBasis(const std::string& densityBasis) { | |
| 798 |
1/1✓ Branch 3 taken 10 times.
|
10 | return getImpl<detail::ZoneVentilationDesignFlowRate_Impl>()->setDensityBasis(densityBasis); |
| 799 | } | ||
| 800 | |||
| 801 | /// @cond | ||
| 802 | 2 | ZoneVentilationDesignFlowRate::ZoneVentilationDesignFlowRate(std::shared_ptr<detail::ZoneVentilationDesignFlowRate_Impl> impl) | |
| 803 |
1/1✓ Branch 3 taken 2 times.
|
2 | : ZoneHVACComponent(std::move(impl)) {} |
| 804 | /// @endcond | ||
| 805 | |||
| 806 | } // namespace model | ||
| 807 | } // namespace openstudio | ||
| 808 |