src/model/ZoneHVACLowTempRadiantConstFlow.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 "CoilHeatingLowTempRadiantConstFlow.hpp" | ||
| 7 | #include "CoilHeatingLowTempRadiantConstFlow_Impl.hpp" | ||
| 8 | #include "CoilCoolingLowTempRadiantConstFlow.hpp" | ||
| 9 | #include "CoilCoolingLowTempRadiantConstFlow_Impl.hpp" | ||
| 10 | #include "ConstructionWithInternalSource.hpp" | ||
| 11 | #include "ConstructionWithInternalSource_Impl.hpp" | ||
| 12 | #include "HVACComponent.hpp" | ||
| 13 | #include "HVACComponent_Impl.hpp" | ||
| 14 | #include "WaterToAirComponent.hpp" | ||
| 15 | #include "WaterToAirComponent_Impl.hpp" | ||
| 16 | #include "Model.hpp" | ||
| 17 | #include "Model_Impl.hpp" | ||
| 18 | #include "Schedule.hpp" | ||
| 19 | #include "Schedule_Impl.hpp" | ||
| 20 | #include "ScheduleTypeLimits.hpp" | ||
| 21 | #include "ScheduleTypeRegistry.hpp" | ||
| 22 | #include "Space.hpp" | ||
| 23 | #include "Space_Impl.hpp" | ||
| 24 | #include "Surface.hpp" | ||
| 25 | #include "Surface_Impl.hpp" | ||
| 26 | #include "ThermalZone.hpp" | ||
| 27 | #include "ThermalZone_Impl.hpp" | ||
| 28 | #include "ZoneHVACLowTempRadiantConstFlow.hpp" | ||
| 29 | #include "ZoneHVACLowTempRadiantConstFlow_Impl.hpp" | ||
| 30 | |||
| 31 | #include <utilities/idd/IddFactory.hxx> | ||
| 32 | |||
| 33 | #include <utilities/idd/OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlow_FieldEnums.hxx> | ||
| 34 | #include <utilities/idd/IddEnums.hxx> | ||
| 35 | |||
| 36 | #include "../utilities/core/Assert.hpp" | ||
| 37 | #include "../utilities/data/DataEnums.hpp" | ||
| 38 | #include "../utilities/core/DeprecatedHelpers.hpp" | ||
| 39 | |||
| 40 | namespace openstudio { | ||
| 41 | namespace model { | ||
| 42 | |||
| 43 | namespace detail { | ||
| 44 | |||
| 45 | 5 | ZoneHVACLowTempRadiantConstFlow_Impl::ZoneHVACLowTempRadiantConstFlow_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle) | |
| 46 | 5 | : ZoneHVACComponent_Impl(idfObject, model, keepHandle) { | |
| 47 |
4/6✓ Branch 1 taken 5 times.
✓ Branch 4 taken 5 times.
✓ Branch 7 taken 5 times.
✗ Branch 10 not taken.
✓ Branch 11 taken 5 times.
✗ Branch 13 not taken.
|
5 | OS_ASSERT(idfObject.iddObject().type() == ZoneHVACLowTempRadiantConstFlow::iddObjectType()); |
| 48 | 5 | } | |
| 49 | |||
| 50 | 1 | ZoneHVACLowTempRadiantConstFlow_Impl::ZoneHVACLowTempRadiantConstFlow_Impl(const openstudio::detail::WorkspaceObject_Impl& other, | |
| 51 | 1 | Model_Impl* model, bool keepHandle) | |
| 52 | 1 | : ZoneHVACComponent_Impl(other, model, keepHandle) { | |
| 53 |
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() == ZoneHVACLowTempRadiantConstFlow::iddObjectType()); |
| 54 | 1 | } | |
| 55 | |||
| 56 | 3 | ZoneHVACLowTempRadiantConstFlow_Impl::ZoneHVACLowTempRadiantConstFlow_Impl(const ZoneHVACLowTempRadiantConstFlow_Impl& other, Model_Impl* model, | |
| 57 | 3 | bool keepHandle) | |
| 58 | 3 | : ZoneHVACComponent_Impl(other, model, keepHandle) {} | |
| 59 | |||
| 60 | ✗ | ModelObject ZoneHVACLowTempRadiantConstFlow_Impl::clone(Model model) const { | |
| 61 | ✗ | auto LowTempRadiantConstFlowClone = ZoneHVACComponent_Impl::clone(model).cast<ZoneHVACLowTempRadiantConstFlow>(); | |
| 62 | |||
| 63 | ✗ | auto t_coolingCoil = coolingCoil(); | |
| 64 | ✗ | auto coolingCoilClone = t_coolingCoil.clone(model).cast<HVACComponent>(); | |
| 65 | |||
| 66 | ✗ | auto t_heatingCoil = heatingCoil(); | |
| 67 | ✗ | auto heatingCoilClone = t_heatingCoil.clone(model).cast<HVACComponent>(); | |
| 68 | |||
| 69 | ✗ | LowTempRadiantConstFlowClone.setHeatingCoil(heatingCoilClone); | |
| 70 | |||
| 71 | ✗ | LowTempRadiantConstFlowClone.setCoolingCoil(coolingCoilClone); | |
| 72 | |||
| 73 | ✗ | if (model == this->model()) { | |
| 74 | ✗ | if (auto waterToAirComponent = t_coolingCoil.optionalCast<WaterToAirComponent>()) { | |
| 75 | ✗ | if (auto plant = waterToAirComponent->plantLoop()) { | |
| 76 | ✗ | plant->addDemandBranchForComponent(coolingCoilClone); | |
| 77 | ✗ | } | |
| 78 | ✗ | } | |
| 79 | ✗ | if (auto waterToAirComponent = t_heatingCoil.optionalCast<WaterToAirComponent>()) { | |
| 80 | ✗ | if (auto plant = waterToAirComponent->plantLoop()) { | |
| 81 | ✗ | plant->addDemandBranchForComponent(heatingCoilClone); | |
| 82 | ✗ | } | |
| 83 | ✗ | } | |
| 84 | } | ||
| 85 | |||
| 86 | ✗ | return std::move(LowTempRadiantConstFlowClone); | |
| 87 | ✗ | } | |
| 88 | |||
| 89 | ✗ | std::vector<IdfObject> ZoneHVACLowTempRadiantConstFlow_Impl::remove() { | |
| 90 | ✗ | if (boost::optional<CoilHeatingLowTempRadiantConstFlow> waterHeatingCoil = heatingCoil().optionalCast<CoilHeatingLowTempRadiantConstFlow>()) { | |
| 91 | ✗ | if (boost::optional<PlantLoop> plantLoop = waterHeatingCoil->plantLoop()) { | |
| 92 | ✗ | plantLoop->removeDemandBranchWithComponent(waterHeatingCoil.get()); | |
| 93 | ✗ | } | |
| 94 | ✗ | } | |
| 95 | ✗ | if (boost::optional<CoilCoolingLowTempRadiantConstFlow> waterCoolingCoil = coolingCoil().optionalCast<CoilCoolingLowTempRadiantConstFlow>()) { | |
| 96 | ✗ | if (boost::optional<PlantLoop> plantLoop = waterCoolingCoil->plantLoop()) { | |
| 97 | ✗ | plantLoop->removeDemandBranchWithComponent(waterCoolingCoil.get()); | |
| 98 | ✗ | } | |
| 99 | ✗ | } | |
| 100 | ✗ | return ZoneHVACComponent_Impl::remove(); | |
| 101 | } | ||
| 102 | |||
| 103 | ✗ | const std::vector<std::string>& ZoneHVACLowTempRadiantConstFlow_Impl::outputVariableNames() const { | |
| 104 | static const std::vector<std::string> result{"Zone Radiant HVAC Heating Rate", | ||
| 105 | "Zone Radiant HVAC Heating Energy", | ||
| 106 | "Zone Radiant HVAC Cooling Rate", | ||
| 107 | "Zone Radiant HVAC Cooling Energy", | ||
| 108 | "Zone Radiant HVAC Mass Flow Rate", | ||
| 109 | "Zone Radiant HVAC Injection Mass Flow Rate", | ||
| 110 | "Zone Radiant HVAC Recirculation Mass Flow Rate", | ||
| 111 | "Zone Radiant HVAC Inlet Temperature", | ||
| 112 | "Zone Radiant HVAC Outlet Temperature", | ||
| 113 | "Zone Radiant HVAC Pump Inlet Temperature", | ||
| 114 | "Zone Radiant HVAC Pump Electricity Rate", | ||
| 115 | "Zone Radiant HVAC Pump Electricity Energy", | ||
| 116 | "Zone Radiant HVAC Pump Mass Flow Rate", | ||
| 117 | "Zone Radiant HVAC Pump Fluid Heat Gain Rate", | ||
| 118 | "Zone Radiant HVAC Pump Fluid Heat Gain Energy", | ||
| 119 | "Zone Radiant HVAC Moisture Condensation Time", | ||
| 120 | "Zone Radiant HVAC Cooling Fluid Heat Transfer Energy", | ||
| 121 | ✗ | "Zone Radiant HVAC Heating Fluid Heat Transfer Energy"}; | |
| 122 | ✗ | return result; | |
| 123 | ✗ | } | |
| 124 | |||
| 125 | 12 | IddObjectType ZoneHVACLowTempRadiantConstFlow_Impl::iddObjectType() const { | |
| 126 | 12 | return ZoneHVACLowTempRadiantConstFlow::iddObjectType(); | |
| 127 | } | ||
| 128 | |||
| 129 | ✗ | std::vector<ScheduleTypeKey> ZoneHVACLowTempRadiantConstFlow_Impl::getScheduleTypeKeys(const Schedule& schedule) const { | |
| 130 | ✗ | std::vector<ScheduleTypeKey> result; | |
| 131 | ✗ | UnsignedVector fieldIndices = getSourceIndices(schedule.handle()); | |
| 132 | ✗ | UnsignedVector::const_iterator b(fieldIndices.begin()); | |
| 133 | ✗ | UnsignedVector::const_iterator e(fieldIndices.end()); | |
| 134 | ✗ | if (std::find(b, e, OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::AvailabilityScheduleName) != e) { | |
| 135 | ✗ | result.push_back(ScheduleTypeKey("ZoneHVACLowTempRadiantConstFlow", "Availability")); | |
| 136 | } | ||
| 137 | ✗ | if (std::find(b, e, OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::PumpFlowRateScheduleName) != e) { | |
| 138 | ✗ | result.push_back(ScheduleTypeKey("ZoneHVACLowTempRadiantConstFlow", "Pump Flow Rate")); | |
| 139 | } | ||
| 140 | ✗ | if (std::find(b, e, OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::ChangeoverDelayTimePeriodSchedule) != e) { | |
| 141 | ✗ | result.push_back(ScheduleTypeKey("ZoneHVACLowTempRadiantConstFlow", "Changeover Delay Time Period")); | |
| 142 | } | ||
| 143 | ✗ | return result; | |
| 144 | ✗ | } | |
| 145 | |||
| 146 | 5 | std::vector<ModelObject> ZoneHVACLowTempRadiantConstFlow_Impl::children() const { | |
| 147 | 5 | std::vector<ModelObject> result; | |
| 148 |
2/3✓ Branch 1 taken 5 times.
✓ Branch 3 taken 5 times.
✗ Branch 4 not taken.
|
10 | if (OptionalHVACComponent intermediate = optionalHeatingCoil()) { |
| 149 |
2/2✓ Branch 1 taken 5 times.
✓ Branch 4 taken 5 times.
|
5 | result.push_back(*intermediate); |
| 150 | 5 | } | |
| 151 |
2/3✓ Branch 1 taken 5 times.
✓ Branch 3 taken 5 times.
✗ Branch 4 not taken.
|
10 | if (OptionalHVACComponent intermediate = optionalCoolingCoil()) { |
| 152 |
2/2✓ Branch 1 taken 5 times.
✓ Branch 4 taken 5 times.
|
5 | result.push_back(*intermediate); |
| 153 | 5 | } | |
| 154 | 5 | return result; | |
| 155 | ✗ | } | |
| 156 | |||
| 157 | 3 | unsigned ZoneHVACLowTempRadiantConstFlow_Impl::inletPort() const { | |
| 158 | 3 | return 0; | |
| 159 | } | ||
| 160 | |||
| 161 | ✗ | unsigned ZoneHVACLowTempRadiantConstFlow_Impl::outletPort() const { | |
| 162 | ✗ | return 0; | |
| 163 | } | ||
| 164 | |||
| 165 | 1 | Schedule ZoneHVACLowTempRadiantConstFlow_Impl::availabilitySchedule() const { | |
| 166 |
1/1✓ Branch 1 taken 1 time.
|
1 | boost::optional<Schedule> value = optionalAvailabilitySchedule(); |
| 167 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 1 time.
|
1 | if (!value) { |
| 168 | // it is an error if we get here, however we don't want to crash | ||
| 169 | // so we hook up to global always on schedule | ||
| 170 | ✗ | LOG(Error, "Required availability schedule not set, using 'Always On' schedule"); | |
| 171 | ✗ | value = this->model().alwaysOnDiscreteSchedule(); | |
| 172 | ✗ | OS_ASSERT(value); | |
| 173 | ✗ | const_cast<ZoneHVACLowTempRadiantConstFlow_Impl*>(this)->setAvailabilitySchedule(*value); | |
| 174 | ✗ | value = optionalAvailabilitySchedule(); | |
| 175 | } | ||
| 176 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 1 time.
✗ Branch 4 not taken.
|
1 | OS_ASSERT(value); |
| 177 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | return value.get(); |
| 178 | 1 | } | |
| 179 | |||
| 180 | 26 | boost::optional<std::string> ZoneHVACLowTempRadiantConstFlow_Impl::radiantSurfaceType() const { | |
| 181 | 26 | return getString(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::RadiantSurfaceType, true); | |
| 182 | } | ||
| 183 | |||
| 184 | 15 | std::vector<Surface> ZoneHVACLowTempRadiantConstFlow_Impl::surfaces() const { | |
| 185 | |||
| 186 | //vector to hold all of the surfaces that this radiant system is attached to | ||
| 187 | 15 | std::vector<Surface> surfaces; | |
| 188 | |||
| 189 | //get the thermal zone this equipment belongs to | ||
| 190 |
2/3✓ Branch 1 taken 15 times.
✓ Branch 3 taken 15 times.
✗ Branch 4 not taken.
|
30 | if (boost::optional<ThermalZone> thermalZone = this->thermalZone()) { |
| 191 | |||
| 192 | //loop through all the spaces in this zone | ||
| 193 |
4/4✓ Branch 1 taken 15 times.
✓ Branch 4 taken 15 times.
✓ Branch 11 taken 27 times.
✓ Branch 12 taken 15 times.
|
42 | for (const Space& space : thermalZone->spaces()) { |
| 194 | |||
| 195 | //loop through all the surfaces in this space | ||
| 196 |
3/3✓ Branch 1 taken 27 times.
✓ Branch 8 taken 162 times.
✓ Branch 9 taken 27 times.
|
189 | for (const Surface& surface : space.surfaces()) { |
| 197 | |||
| 198 | //skip surfaces who do not have a construction, or whose construction is not internal source | ||
| 199 |
3/3✓ Branch 1 taken 162 times.
✓ Branch 3 taken 120 times.
✓ Branch 4 taken 42 times.
|
324 | if (boost::optional<ConstructionBase> _constructionBase = surface.construction()) { |
| 200 |
4/4✓ Branch 1 taken 120 times.
✓ Branch 4 taken 120 times.
✓ Branch 6 taken 24 times.
✓ Branch 7 taken 96 times.
|
240 | if (boost::optional<ConstructionWithInternalSource> _construction = _constructionBase->optionalCast<ConstructionWithInternalSource>()) { |
| 201 | |||
| 202 | //TODO change this to not optional when idd change is made | ||
| 203 | //get the strings for requested surface types and current surface type | ||
| 204 |
3/3✓ Branch 1 taken 24 times.
✓ Branch 4 taken 24 times.
✓ Branch 7 taken 24 times.
|
24 | std::string surfGrpName = this->radiantSurfaceType().get(); |
| 205 |
1/1✓ Branch 1 taken 24 times.
|
24 | std::string surfaceType = surface.surfaceType(); |
| 206 | |||
| 207 | //if the current surface is of the type requested, add it to the vector of surfaces | ||
| 208 |
16/26✓ Branch 1 taken 24 times.
✓ Branch 4 taken 24 times.
✓ Branch 6 taken 14 times.
✓ Branch 7 taken 10 times.
✓ Branch 9 taken 14 times.
✓ Branch 12 taken 14 times.
✓ Branch 14 taken 12 times.
✓ Branch 15 taken 2 times.
✓ Branch 16 taken 14 times.
✓ Branch 17 taken 10 times.
✓ Branch 19 taken 14 times.
✓ Branch 20 taken 10 times.
✓ Branch 21 taken 24 times.
✗ Branch 22 not taken.
✓ Branch 24 taken 24 times.
✗ Branch 25 not taken.
✓ Branch 26 taken 12 times.
✓ Branch 27 taken 12 times.
✗ Branch 28 not taken.
✗ Branch 29 not taken.
✗ Branch 31 not taken.
✗ Branch 32 not taken.
✗ Branch 33 not taken.
✗ Branch 34 not taken.
✗ Branch 36 not taken.
✗ Branch 37 not taken.
|
100 | if (istringEqual("RoofCeiling", surfaceType) && istringEqual("Ceilings", surfGrpName)) { |
| 209 |
1/1✓ Branch 1 taken 12 times.
|
12 | surfaces.push_back(surface); |
| 210 |
14/26✓ Branch 1 taken 12 times.
✓ Branch 4 taken 12 times.
✓ Branch 6 taken 2 times.
✓ Branch 7 taken 10 times.
✓ Branch 9 taken 2 times.
✓ Branch 12 taken 2 times.
✗ Branch 14 not taken.
✓ Branch 15 taken 2 times.
✓ Branch 16 taken 2 times.
✓ Branch 17 taken 10 times.
✓ Branch 19 taken 2 times.
✓ Branch 20 taken 10 times.
✓ Branch 21 taken 12 times.
✗ Branch 22 not taken.
✓ Branch 24 taken 12 times.
✗ Branch 25 not taken.
✗ Branch 26 not taken.
✓ Branch 27 taken 12 times.
✗ Branch 28 not taken.
✗ Branch 29 not taken.
✗ Branch 31 not taken.
✗ Branch 32 not taken.
✗ Branch 33 not taken.
✗ Branch 34 not taken.
✗ Branch 36 not taken.
✗ Branch 37 not taken.
|
40 | } else if (istringEqual("Floor", surfaceType) && istringEqual("Floors", surfGrpName)) { |
| 211 | ✗ | surfaces.push_back(surface); | |
| 212 |
10/21✓ Branch 1 taken 12 times.
✓ Branch 4 taken 10 times.
✓ Branch 7 taken 10 times.
✓ Branch 9 taken 2 times.
✓ Branch 10 taken 8 times.
✓ Branch 12 taken 10 times.
✓ Branch 13 taken 2 times.
✓ Branch 14 taken 12 times.
✗ Branch 15 not taken.
✓ Branch 17 taken 12 times.
✗ Branch 18 not taken.
✗ Branch 19 not taken.
✓ Branch 20 taken 12 times.
✗ Branch 21 not taken.
✗ Branch 22 not taken.
✗ Branch 24 not taken.
✗ Branch 25 not taken.
✗ Branch 26 not taken.
✗ Branch 27 not taken.
✗ Branch 29 not taken.
✗ Branch 30 not taken.
|
56 | } else if ((istringEqual("Floor", surfaceType) || istringEqual("RoofCeiling", surfaceType)) |
| 213 |
12/17✓ Branch 1 taken 12 times.
✓ Branch 3 taken 10 times.
✓ Branch 4 taken 2 times.
✓ Branch 6 taken 4 times.
✓ Branch 9 taken 4 times.
✗ Branch 11 not taken.
✓ Branch 12 taken 4 times.
✓ Branch 13 taken 4 times.
✓ Branch 14 taken 8 times.
✓ Branch 16 taken 4 times.
✓ Branch 17 taken 8 times.
✓ Branch 18 taken 10 times.
✓ Branch 19 taken 2 times.
✗ Branch 20 not taken.
✗ Branch 21 not taken.
✗ Branch 23 not taken.
✗ Branch 24 not taken.
|
40 | && istringEqual("CeilingsandFloors", surfGrpName)) { |
| 214 | ✗ | surfaces.push_back(surface); | |
| 215 |
3/4✓ Branch 1 taken 12 times.
✓ Branch 4 taken 12 times.
✓ Branch 7 taken 12 times.
✗ Branch 8 not taken.
|
24 | } else if (istringEqual("AllSurfaces", surfGrpName)) { |
| 216 |
1/1✓ Branch 1 taken 12 times.
|
12 | surfaces.push_back(surface); |
| 217 | } | ||
| 218 | 144 | } | |
| 219 | 162 | } | |
| 220 | 27 | } | |
| 221 | 15 | } | |
| 222 | 15 | } | |
| 223 | |||
| 224 | 15 | return surfaces; | |
| 225 | ✗ | } | |
| 226 | |||
| 227 | 3 | std::string ZoneHVACLowTempRadiantConstFlow_Impl::fluidtoRadiantSurfaceHeatTransferModel() const { | |
| 228 | boost::optional<std::string> value = | ||
| 229 |
1/1✓ Branch 1 taken 3 times.
|
3 | getString(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::FluidtoRadiantSurfaceHeatTransferModel, true); |
| 230 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
|
3 | OS_ASSERT(value); |
| 231 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
6 | return value.get(); |
| 232 | 3 | } | |
| 233 | |||
| 234 | 3 | bool ZoneHVACLowTempRadiantConstFlow_Impl::isFluidtoRadiantSurfaceHeatTransferModelDefaulted() const { | |
| 235 | 3 | return isEmpty(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::FluidtoRadiantSurfaceHeatTransferModel); | |
| 236 | } | ||
| 237 | |||
| 238 | 3 | double ZoneHVACLowTempRadiantConstFlow_Impl::hydronicTubingInsideDiameter() const { | |
| 239 |
1/1✓ Branch 1 taken 3 times.
|
3 | boost::optional<double> value = getDouble(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::HydronicTubingInsideDiameter, true); |
| 240 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
|
3 | OS_ASSERT(value); |
| 241 |
1/1✓ Branch 1 taken 3 times.
|
6 | return value.get(); |
| 242 | } | ||
| 243 | |||
| 244 | 3 | bool ZoneHVACLowTempRadiantConstFlow_Impl::isHydronicTubingInsideDiameterDefaulted() const { | |
| 245 | 3 | return isEmpty(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::HydronicTubingInsideDiameter); | |
| 246 | } | ||
| 247 | |||
| 248 | 3 | double ZoneHVACLowTempRadiantConstFlow_Impl::hydronicTubingOutsideDiameter() const { | |
| 249 |
1/1✓ Branch 1 taken 3 times.
|
3 | boost::optional<double> value = getDouble(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::HydronicTubingOutsideDiameter, true); |
| 250 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
|
3 | OS_ASSERT(value); |
| 251 |
1/1✓ Branch 1 taken 3 times.
|
6 | return value.get(); |
| 252 | } | ||
| 253 | |||
| 254 | 3 | bool ZoneHVACLowTempRadiantConstFlow_Impl::isHydronicTubingOutsideDiameterDefaulted() const { | |
| 255 | 3 | return isEmpty(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::HydronicTubingOutsideDiameter); | |
| 256 | } | ||
| 257 | |||
| 258 | 3 | double ZoneHVACLowTempRadiantConstFlow_Impl::hydronicTubingConductivity() const { | |
| 259 |
1/1✓ Branch 1 taken 3 times.
|
3 | boost::optional<double> value = getDouble(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::HydronicTubingConductivity, true); |
| 260 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
|
3 | OS_ASSERT(value); |
| 261 |
1/1✓ Branch 1 taken 3 times.
|
6 | return value.get(); |
| 262 | } | ||
| 263 | |||
| 264 | 3 | bool ZoneHVACLowTempRadiantConstFlow_Impl::isHydronicTubingConductivityDefaulted() const { | |
| 265 | 3 | return isEmpty(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::HydronicTubingConductivity); | |
| 266 | } | ||
| 267 | |||
| 268 | 3 | std::string ZoneHVACLowTempRadiantConstFlow_Impl::temperatureControlType() const { | |
| 269 |
1/1✓ Branch 1 taken 3 times.
|
3 | boost::optional<std::string> value = getString(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::TemperatureControlType, true); |
| 270 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
|
3 | OS_ASSERT(value); |
| 271 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
6 | return value.get(); |
| 272 | 3 | } | |
| 273 | |||
| 274 | 3 | bool ZoneHVACLowTempRadiantConstFlow_Impl::isTemperatureControlTypeDefaulted() const { | |
| 275 | 3 | return isEmpty(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::TemperatureControlType); | |
| 276 | } | ||
| 277 | |||
| 278 | 3 | double ZoneHVACLowTempRadiantConstFlow_Impl::runningMeanOutdoorDryBulbTemperatureWeightingFactor() const { | |
| 279 | boost::optional<double> value = | ||
| 280 |
1/1✓ Branch 1 taken 3 times.
|
3 | getDouble(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::RunningMeanOutdoorDryBulbTemperatureWeightingFactor, true); |
| 281 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
|
3 | OS_ASSERT(value); |
| 282 |
1/1✓ Branch 1 taken 3 times.
|
6 | return value.get(); |
| 283 | } | ||
| 284 | |||
| 285 | 3 | bool ZoneHVACLowTempRadiantConstFlow_Impl::isRunningMeanOutdoorDryBulbTemperatureWeightingFactorDefaulted() const { | |
| 286 | 3 | return isEmpty(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::RunningMeanOutdoorDryBulbTemperatureWeightingFactor); | |
| 287 | } | ||
| 288 | |||
| 289 | 3 | HVACComponent ZoneHVACLowTempRadiantConstFlow_Impl::heatingCoil() const { | |
| 290 |
1/1✓ Branch 1 taken 3 times.
|
3 | boost::optional<HVACComponent> coil = optionalHeatingCoil(); |
| 291 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
|
3 | OS_ASSERT(coil); |
| 292 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
6 | return coil.get(); |
| 293 | 3 | } | |
| 294 | |||
| 295 | 3 | HVACComponent ZoneHVACLowTempRadiantConstFlow_Impl::coolingCoil() const { | |
| 296 |
1/1✓ Branch 1 taken 3 times.
|
3 | boost::optional<HVACComponent> coil = optionalCoolingCoil(); |
| 297 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
|
3 | OS_ASSERT(coil); |
| 298 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
6 | return coil.get(); |
| 299 | 3 | } | |
| 300 | |||
| 301 | 2 | boost::optional<Schedule> ZoneHVACLowTempRadiantConstFlow_Impl::pumpFlowRateSchedule() const { | |
| 302 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
|
2 | return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::PumpFlowRateScheduleName); |
| 303 | } | ||
| 304 | |||
| 305 | 2 | double ZoneHVACLowTempRadiantConstFlow_Impl::ratedPumpHead() const { | |
| 306 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<double> value = getDouble(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::RatedPumpHead, true); |
| 307 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
|
2 | OS_ASSERT(value); |
| 308 |
1/1✓ Branch 1 taken 2 times.
|
4 | return value.get(); |
| 309 | } | ||
| 310 | |||
| 311 | 1 | bool ZoneHVACLowTempRadiantConstFlow_Impl::isRatedPumpHeadDefaulted() const { | |
| 312 | 1 | return isEmpty(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::RatedPumpHead); | |
| 313 | } | ||
| 314 | |||
| 315 | 2 | boost::optional<double> ZoneHVACLowTempRadiantConstFlow_Impl::ratedPowerConsumption() const { | |
| 316 | 2 | return getDouble(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::RatedPowerConsumption, true); | |
| 317 | } | ||
| 318 | |||
| 319 | 2 | double ZoneHVACLowTempRadiantConstFlow_Impl::motorEfficiency() const { | |
| 320 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<double> value = getDouble(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::MotorEfficiency, true); |
| 321 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
|
2 | OS_ASSERT(value); |
| 322 |
1/1✓ Branch 1 taken 2 times.
|
4 | return value.get(); |
| 323 | } | ||
| 324 | |||
| 325 | ✗ | bool ZoneHVACLowTempRadiantConstFlow_Impl::isMotorEfficiencyDefaulted() const { | |
| 326 | ✗ | return isEmpty(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::MotorEfficiency); | |
| 327 | } | ||
| 328 | |||
| 329 | 2 | double ZoneHVACLowTempRadiantConstFlow_Impl::fractionofMotorInefficienciestoFluidStream() const { | |
| 330 | boost::optional<double> value = | ||
| 331 |
1/1✓ Branch 1 taken 2 times.
|
2 | getDouble(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::FractionofMotorInefficienciestoFluidStream, true); |
| 332 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
|
2 | OS_ASSERT(value); |
| 333 |
1/1✓ Branch 1 taken 2 times.
|
4 | return value.get(); |
| 334 | } | ||
| 335 | |||
| 336 | 1 | bool ZoneHVACLowTempRadiantConstFlow_Impl::isFractionofMotorInefficienciestoFluidStreamDefaulted() const { | |
| 337 | 1 | return isEmpty(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::FractionofMotorInefficienciestoFluidStream); | |
| 338 | } | ||
| 339 | |||
| 340 | 2 | std::string ZoneHVACLowTempRadiantConstFlow_Impl::numberofCircuits() const { | |
| 341 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<std::string> value = getString(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::NumberofCircuits, true); |
| 342 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
|
2 | OS_ASSERT(value); |
| 343 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
|
4 | return value.get(); |
| 344 | 2 | } | |
| 345 | |||
| 346 | 2 | double ZoneHVACLowTempRadiantConstFlow_Impl::circuitLength() const { | |
| 347 |
1/1✓ Branch 1 taken 2 times.
|
2 | boost::optional<double> value = getDouble(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::CircuitLength, true); |
| 348 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 2 times.
✗ Branch 4 not taken.
|
2 | OS_ASSERT(value); |
| 349 |
1/1✓ Branch 1 taken 2 times.
|
4 | return value.get(); |
| 350 | } | ||
| 351 | |||
| 352 | 4 | boost::optional<Schedule> ZoneHVACLowTempRadiantConstFlow_Impl::changeoverDelayTimePeriodSchedule() const { | |
| 353 |
1/1✓ Branch 1 taken 4 times.
|
8 | return getObject<ModelObject>().getModelObjectTarget<Schedule>( |
| 354 |
1/1✓ Branch 1 taken 4 times.
|
8 | OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::ChangeoverDelayTimePeriodSchedule); |
| 355 | } | ||
| 356 | |||
| 357 | 4 | bool ZoneHVACLowTempRadiantConstFlow_Impl::setAvailabilitySchedule(Schedule& schedule) { | |
| 358 |
3/3✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
✓ Branch 7 taken 4 times.
|
16 | bool result = setSchedule(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::AvailabilityScheduleName, "ZoneHVACLowTempRadiantConstFlow", |
| 359 | "Availability", schedule); | ||
| 360 | 4 | return result; | |
| 361 | } | ||
| 362 | |||
| 363 | 3 | bool ZoneHVACLowTempRadiantConstFlow_Impl::setRadiantSurfaceType(boost::optional<std::string> radiantSurfaceType) { | |
| 364 | 3 | bool result(false); | |
| 365 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (radiantSurfaceType) { |
| 366 | 3 | result = setString(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::RadiantSurfaceType, radiantSurfaceType.get()); | |
| 367 | } else { | ||
| 368 | ✗ | resetRadiantSurfaceType(); | |
| 369 | ✗ | result = true; | |
| 370 | } | ||
| 371 | 3 | return result; | |
| 372 | } | ||
| 373 | |||
| 374 | ✗ | void ZoneHVACLowTempRadiantConstFlow_Impl::resetRadiantSurfaceType() { | |
| 375 | ✗ | bool result = setString(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::RadiantSurfaceType, "Ceilings"); | |
| 376 | ✗ | OS_ASSERT(result); | |
| 377 | ✗ | } | |
| 378 | |||
| 379 | 1 | bool ZoneHVACLowTempRadiantConstFlow_Impl::setFluidtoRadiantSurfaceHeatTransferModel(const std::string& fluidtoRadiantSurfaceHeatTransferModel) { | |
| 380 | 1 | bool result = setString(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::FluidtoRadiantSurfaceHeatTransferModel, | |
| 381 | fluidtoRadiantSurfaceHeatTransferModel); | ||
| 382 | 1 | return result; | |
| 383 | } | ||
| 384 | |||
| 385 | 1 | void ZoneHVACLowTempRadiantConstFlow_Impl::resetFluidtoRadiantSurfaceHeatTransferModel() { | |
| 386 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::FluidtoRadiantSurfaceHeatTransferModel, ""); |
| 387 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 388 | 1 | } | |
| 389 | |||
| 390 | 1 | bool ZoneHVACLowTempRadiantConstFlow_Impl::setHydronicTubingInsideDiameter(double hydronicTubingInsideDiameter) { | |
| 391 | 1 | bool result = setDouble(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::HydronicTubingInsideDiameter, hydronicTubingInsideDiameter); | |
| 392 | 1 | return result; | |
| 393 | } | ||
| 394 | |||
| 395 | 1 | void ZoneHVACLowTempRadiantConstFlow_Impl::resetHydronicTubingInsideDiameter() { | |
| 396 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::HydronicTubingInsideDiameter, ""); |
| 397 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 398 | 1 | } | |
| 399 | |||
| 400 | 1 | bool ZoneHVACLowTempRadiantConstFlow_Impl::setHydronicTubingOutsideDiameter(double hydronicTubingOutsideDiameter) { | |
| 401 | 1 | bool result = setDouble(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::HydronicTubingOutsideDiameter, hydronicTubingOutsideDiameter); | |
| 402 | 1 | return result; | |
| 403 | } | ||
| 404 | |||
| 405 | 1 | void ZoneHVACLowTempRadiantConstFlow_Impl::resetHydronicTubingOutsideDiameter() { | |
| 406 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::HydronicTubingOutsideDiameter, ""); |
| 407 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 408 | 1 | } | |
| 409 | |||
| 410 | 6 | boost::optional<double> ZoneHVACLowTempRadiantConstFlow_Impl::hydronicTubingLength() const { | |
| 411 | 6 | return getDouble(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::HydronicTubingLength, true); | |
| 412 | } | ||
| 413 | |||
| 414 | 4 | bool ZoneHVACLowTempRadiantConstFlow_Impl::setHydronicTubingLength(boost::optional<double> hydronicTubingLength) { | |
| 415 | 4 | bool result(false); | |
| 416 |
1/2✓ Branch 0 taken 4 times.
✗ Branch 1 not taken.
|
4 | if (hydronicTubingLength) { |
| 417 | 4 | result = setDouble(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::HydronicTubingLength, hydronicTubingLength.get()); | |
| 418 | } else { | ||
| 419 | ✗ | autosizeHydronicTubingLength(); | |
| 420 | ✗ | result = true; | |
| 421 | } | ||
| 422 | 4 | return result; | |
| 423 | } | ||
| 424 | |||
| 425 | 7 | bool ZoneHVACLowTempRadiantConstFlow_Impl::isHydronicTubingLengthAutosized() const { | |
| 426 | 7 | bool result = false; | |
| 427 |
1/1✓ Branch 1 taken 7 times.
|
7 | boost::optional<std::string> value = getString(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::HydronicTubingLength, true); |
| 428 |
1/2✓ Branch 0 taken 7 times.
✗ Branch 1 not taken.
|
7 | if (value) { |
| 429 |
3/3✓ Branch 1 taken 7 times.
✓ Branch 4 taken 7 times.
✓ Branch 7 taken 7 times.
|
14 | result = openstudio::istringEqual(value.get(), "Autosize"); |
| 430 | } | ||
| 431 | 7 | return result; | |
| 432 | 7 | } | |
| 433 | |||
| 434 | 6 | void ZoneHVACLowTempRadiantConstFlow_Impl::autosizeHydronicTubingLength() { | |
| 435 |
2/2✓ Branch 1 taken 6 times.
✓ Branch 4 taken 6 times.
|
12 | bool result = setString(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::HydronicTubingLength, "Autosize"); |
| 436 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 6 times.
|
6 | OS_ASSERT(result); |
| 437 | 6 | } | |
| 438 | |||
| 439 | 1 | bool ZoneHVACLowTempRadiantConstFlow_Impl::setHydronicTubingConductivity(double hydronicTubingConductivity) { | |
| 440 | 1 | bool result = setDouble(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::HydronicTubingConductivity, hydronicTubingConductivity); | |
| 441 | 1 | return result; | |
| 442 | } | ||
| 443 | |||
| 444 | 1 | void ZoneHVACLowTempRadiantConstFlow_Impl::resetHydronicTubingConductivity() { | |
| 445 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::HydronicTubingConductivity, ""); |
| 446 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 447 | 1 | } | |
| 448 | |||
| 449 | 1 | bool ZoneHVACLowTempRadiantConstFlow_Impl::setTemperatureControlType(const std::string& temperatureControlType) { | |
| 450 | 1 | bool result = setString(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::TemperatureControlType, temperatureControlType); | |
| 451 | 1 | return result; | |
| 452 | } | ||
| 453 | |||
| 454 | 1 | void ZoneHVACLowTempRadiantConstFlow_Impl::resetTemperatureControlType() { | |
| 455 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::TemperatureControlType, ""); |
| 456 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 457 | 1 | } | |
| 458 | |||
| 459 | 1 | bool ZoneHVACLowTempRadiantConstFlow_Impl::setRunningMeanOutdoorDryBulbTemperatureWeightingFactor( | |
| 460 | double runningMeanOutdoorDryBulbTemperatureWeightingFactor) { | ||
| 461 | 1 | bool result = setDouble(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::RunningMeanOutdoorDryBulbTemperatureWeightingFactor, | |
| 462 | runningMeanOutdoorDryBulbTemperatureWeightingFactor); | ||
| 463 | 1 | return result; | |
| 464 | } | ||
| 465 | |||
| 466 | 1 | void ZoneHVACLowTempRadiantConstFlow_Impl::resetRunningMeanOutdoorDryBulbTemperatureWeightingFactor() { | |
| 467 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::RunningMeanOutdoorDryBulbTemperatureWeightingFactor, ""); |
| 468 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 469 | 1 | } | |
| 470 | |||
| 471 | 6 | bool ZoneHVACLowTempRadiantConstFlow_Impl::setHeatingCoil(HVACComponent& heatingCoil) { | |
| 472 |
2/2✓ Branch 1 taken 6 times.
✓ Branch 4 taken 6 times.
|
6 | bool result = setPointer(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::LowTempRadiantConstantFlowHeatingCoilName, heatingCoil.handle()); |
| 473 | 6 | return result; | |
| 474 | } | ||
| 475 | |||
| 476 | 6 | bool ZoneHVACLowTempRadiantConstFlow_Impl::setCoolingCoil(HVACComponent& coolingCoil) { | |
| 477 |
2/2✓ Branch 1 taken 6 times.
✓ Branch 4 taken 6 times.
|
6 | bool result = setPointer(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::LowTempRadiantConstantFlowCoolingCoilName, coolingCoil.handle()); |
| 478 | 6 | return result; | |
| 479 | } | ||
| 480 | |||
| 481 | 4 | boost::optional<double> ZoneHVACLowTempRadiantConstFlow_Impl::ratedFlowRate() const { | |
| 482 | 4 | return getDouble(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::RatedFlowRate, true); | |
| 483 | } | ||
| 484 | |||
| 485 | 1 | bool ZoneHVACLowTempRadiantConstFlow_Impl::setRatedFlowRate(boost::optional<double> ratedFlowRate) { | |
| 486 | 1 | bool result(false); | |
| 487 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (ratedFlowRate) { |
| 488 | 1 | result = setDouble(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::RatedFlowRate, ratedFlowRate.get()); | |
| 489 | } else { | ||
| 490 | ✗ | autosizeRatedFlowRate(); | |
| 491 | ✗ | result = true; | |
| 492 | } | ||
| 493 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 494 | 1 | return result; | |
| 495 | } | ||
| 496 | |||
| 497 | 4 | bool ZoneHVACLowTempRadiantConstFlow_Impl::isRatedFlowRateAutosized() const { | |
| 498 | 4 | bool result = false; | |
| 499 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<std::string> value = getString(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::RatedFlowRate, true); |
| 500 |
1/2✓ Branch 0 taken 4 times.
✗ Branch 1 not taken.
|
4 | if (value) { |
| 501 |
3/3✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
✓ Branch 7 taken 4 times.
|
8 | result = openstudio::istringEqual(value.get(), "Autosize"); |
| 502 | } | ||
| 503 | 4 | return result; | |
| 504 | 4 | } | |
| 505 | |||
| 506 | 5 | void ZoneHVACLowTempRadiantConstFlow_Impl::autosizeRatedFlowRate() { | |
| 507 |
2/2✓ Branch 1 taken 5 times.
✓ Branch 4 taken 5 times.
|
10 | bool result = setString(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::RatedFlowRate, "Autosize"); |
| 508 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 5 times.
|
5 | OS_ASSERT(result); |
| 509 | 5 | } | |
| 510 | |||
| 511 | 1 | bool ZoneHVACLowTempRadiantConstFlow_Impl::setPumpFlowRateSchedule(Schedule& schedule) { | |
| 512 |
3/3✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
|
4 | bool result = setSchedule(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::PumpFlowRateScheduleName, "ZoneHVACLowTempRadiantConstFlow", |
| 513 | "Pump Flow Rate", schedule); | ||
| 514 | 1 | return result; | |
| 515 | } | ||
| 516 | |||
| 517 | ✗ | void ZoneHVACLowTempRadiantConstFlow_Impl::resetPumpFlowRateSchedule() { | |
| 518 | ✗ | bool result = setString(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::PumpFlowRateScheduleName, ""); | |
| 519 | ✗ | OS_ASSERT(result); | |
| 520 | ✗ | } | |
| 521 | |||
| 522 | 1 | bool ZoneHVACLowTempRadiantConstFlow_Impl::setRatedPumpHead(double ratedPumpHead) { | |
| 523 | 1 | bool result = setDouble(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::RatedPumpHead, ratedPumpHead); | |
| 524 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 525 | 1 | return result; | |
| 526 | } | ||
| 527 | |||
| 528 | ✗ | void ZoneHVACLowTempRadiantConstFlow_Impl::resetRatedPumpHead() { | |
| 529 | ✗ | bool result = setString(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::RatedPumpHead, ""); | |
| 530 | ✗ | OS_ASSERT(result); | |
| 531 | ✗ | } | |
| 532 | |||
| 533 | 1 | bool ZoneHVACLowTempRadiantConstFlow_Impl::setRatedPowerConsumption(boost::optional<double> ratedPowerConsumption) { | |
| 534 | 1 | bool result(false); | |
| 535 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (ratedPowerConsumption) { |
| 536 | 1 | result = setDouble(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::RatedPowerConsumption, ratedPowerConsumption.get()); | |
| 537 | } else { | ||
| 538 | ✗ | resetRatedPowerConsumption(); | |
| 539 | ✗ | result = true; | |
| 540 | } | ||
| 541 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 542 | 1 | return result; | |
| 543 | } | ||
| 544 | |||
| 545 | ✗ | void ZoneHVACLowTempRadiantConstFlow_Impl::resetRatedPowerConsumption() { | |
| 546 | ✗ | bool result = setString(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::RatedPowerConsumption, ""); | |
| 547 | ✗ | OS_ASSERT(result); | |
| 548 | ✗ | } | |
| 549 | |||
| 550 | 1 | bool ZoneHVACLowTempRadiantConstFlow_Impl::setMotorEfficiency(double motorEfficiency) { | |
| 551 | 1 | bool result = setDouble(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::MotorEfficiency, motorEfficiency); | |
| 552 | 1 | return result; | |
| 553 | } | ||
| 554 | |||
| 555 | ✗ | void ZoneHVACLowTempRadiantConstFlow_Impl::resetMotorEfficiency() { | |
| 556 | ✗ | bool result = setString(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::MotorEfficiency, ""); | |
| 557 | ✗ | OS_ASSERT(result); | |
| 558 | ✗ | } | |
| 559 | |||
| 560 | 1 | bool ZoneHVACLowTempRadiantConstFlow_Impl::setFractionofMotorInefficienciestoFluidStream(double fractionofMotorInefficienciestoFluidStream) { | |
| 561 | 1 | bool result = setDouble(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::FractionofMotorInefficienciestoFluidStream, | |
| 562 | fractionofMotorInefficienciestoFluidStream); | ||
| 563 | 1 | return result; | |
| 564 | } | ||
| 565 | |||
| 566 | ✗ | void ZoneHVACLowTempRadiantConstFlow_Impl::resetFractionofMotorInefficienciestoFluidStream() { | |
| 567 | ✗ | bool result = setString(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::FractionofMotorInefficienciestoFluidStream, ""); | |
| 568 | ✗ | OS_ASSERT(result); | |
| 569 | ✗ | } | |
| 570 | |||
| 571 | 1 | bool ZoneHVACLowTempRadiantConstFlow_Impl::setNumberofCircuits(const std::string& numberofCircuits) { | |
| 572 | 1 | bool result = setString(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::NumberofCircuits, numberofCircuits); | |
| 573 | 1 | return result; | |
| 574 | } | ||
| 575 | |||
| 576 | 1 | bool ZoneHVACLowTempRadiantConstFlow_Impl::setCircuitLength(double circuitLength) { | |
| 577 | 1 | bool result = setDouble(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::CircuitLength, circuitLength); | |
| 578 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 579 | 1 | return result; | |
| 580 | } | ||
| 581 | |||
| 582 | 1 | bool ZoneHVACLowTempRadiantConstFlow_Impl::setChangeoverDelayTimePeriodSchedule(Schedule& schedule) { | |
| 583 |
3/3✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
|
4 | bool result = setSchedule(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::ChangeoverDelayTimePeriodSchedule, |
| 584 | "ZoneHVACLowTempRadiantConstFlow", "Changeover Delay Time Period", schedule); | ||
| 585 | 1 | return result; | |
| 586 | } | ||
| 587 | |||
| 588 | 1 | void ZoneHVACLowTempRadiantConstFlow_Impl::resetChangeoverDelayTimePeriodSchedule() { | |
| 589 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::ChangeoverDelayTimePeriodSchedule, ""); |
| 590 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 591 | 1 | } | |
| 592 | |||
| 593 | 1 | boost::optional<Schedule> ZoneHVACLowTempRadiantConstFlow_Impl::optionalAvailabilitySchedule() const { | |
| 594 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
1 | return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::AvailabilityScheduleName); |
| 595 | } | ||
| 596 | |||
| 597 | 8 | boost::optional<HVACComponent> ZoneHVACLowTempRadiantConstFlow_Impl::optionalHeatingCoil() const { | |
| 598 |
1/1✓ Branch 1 taken 8 times.
|
16 | return getObject<ModelObject>().getModelObjectTarget<HVACComponent>( |
| 599 |
1/1✓ Branch 1 taken 8 times.
|
16 | OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::LowTempRadiantConstantFlowHeatingCoilName); |
| 600 | } | ||
| 601 | |||
| 602 | 8 | boost::optional<HVACComponent> ZoneHVACLowTempRadiantConstFlow_Impl::optionalCoolingCoil() const { | |
| 603 |
1/1✓ Branch 1 taken 8 times.
|
16 | return getObject<ModelObject>().getModelObjectTarget<HVACComponent>( |
| 604 |
1/1✓ Branch 1 taken 8 times.
|
16 | OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::LowTempRadiantConstantFlowCoolingCoilName); |
| 605 | } | ||
| 606 | |||
| 607 | ✗ | std::vector<std::string> ZoneHVACLowTempRadiantConstFlow_Impl::radiantSurfaceTypeValues() const { | |
| 608 | ✗ | return ZoneHVACLowTempRadiantConstFlow::radiantSurfaceTypeValues(); | |
| 609 | } | ||
| 610 | |||
| 611 | ✗ | std::vector<std::string> ZoneHVACLowTempRadiantConstFlow_Impl::temperatureControlTypeValues() const { | |
| 612 | ✗ | return ZoneHVACLowTempRadiantConstFlow::temperatureControlTypeValues(); | |
| 613 | } | ||
| 614 | |||
| 615 | 20 | boost::optional<ThermalZone> ZoneHVACLowTempRadiantConstFlow_Impl::thermalZone() const { | |
| 616 |
1/1✓ Branch 1 taken 20 times.
|
20 | auto thisObject = this->getObject<ModelObject>(); |
| 617 |
2/2✓ Branch 1 taken 20 times.
✓ Branch 4 taken 20 times.
|
20 | std::vector<ThermalZone> thermalZones = this->model().getConcreteModelObjects<ThermalZone>(); |
| 618 |
2/2✓ Branch 5 taken 20 times.
✓ Branch 6 taken 4 times.
|
24 | for (const auto& thermalZone : thermalZones) { |
| 619 |
1/1✓ Branch 1 taken 20 times.
|
20 | std::vector<ModelObject> equipment = thermalZone.equipment(); |
| 620 | |||
| 621 |
3/3✓ Branch 4 taken 20 times.
✓ Branch 7 taken 16 times.
✓ Branch 8 taken 4 times.
|
20 | if (std::find(equipment.begin(), equipment.end(), thisObject) != equipment.end()) { |
| 622 |
1/1✓ Branch 1 taken 16 times.
|
16 | return thermalZone; |
| 623 | } | ||
| 624 | 20 | } | |
| 625 | 4 | return boost::none; | |
| 626 | 20 | } | |
| 627 | |||
| 628 | //reimplemented to override the base-class method in ZoneHVACComponent | ||
| 629 | //because this component doesn't get attached to the zone inlet and zone outlet nodes | ||
| 630 | 4 | bool ZoneHVACLowTempRadiantConstFlow_Impl::addToThermalZone(ThermalZone& thermalZone) { | |
| 631 |
1/1✓ Branch 1 taken 4 times.
|
4 | Model m = this->model(); |
| 632 | |||
| 633 |
3/4✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
✗ Branch 7 not taken.
✓ Branch 8 taken 4 times.
|
4 | if (thermalZone.model() != m) { |
| 634 | ✗ | return false; | |
| 635 | } | ||
| 636 | |||
| 637 |
1/1✓ Branch 1 taken 4 times.
|
4 | removeFromThermalZone(); |
| 638 | |||
| 639 |
1/1✓ Branch 1 taken 4 times.
|
4 | thermalZone.setUseIdealAirLoads(false); |
| 640 | |||
| 641 |
2/2✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
|
4 | thermalZone.addEquipment(this->getObject<ZoneHVACComponent>()); |
| 642 | |||
| 643 | 4 | return true; | |
| 644 | 4 | } | |
| 645 | |||
| 646 | //reimplemented to override the base-class method in ZoneHVACComponent | ||
| 647 | //because this component doesn't get attached to the zone inlet and zone outlet nodes | ||
| 648 | //and therefore doesn't need to be removed from them when removed from the zone | ||
| 649 | 4 | void ZoneHVACLowTempRadiantConstFlow_Impl::removeFromThermalZone() { | |
| 650 |
2/3✓ Branch 1 taken 4 times.
✗ Branch 3 not taken.
✓ Branch 4 taken 4 times.
|
8 | if (boost::optional<ThermalZone> thermalZone = this->thermalZone()) { |
| 651 | ✗ | thermalZone->removeEquipment(this->getObject<ZoneHVACComponent>()); | |
| 652 | 4 | } | |
| 653 | 4 | } | |
| 654 | |||
| 655 | ✗ | std::vector<EMSActuatorNames> ZoneHVACLowTempRadiantConstFlow_Impl::emsActuatorNames() const { | |
| 656 | ✗ | std::vector<EMSActuatorNames> actuators{{"Constant Flow Low Temp Radiant", "Water Mass Flow Rate"}}; | |
| 657 | ✗ | return actuators; | |
| 658 | ✗ | } | |
| 659 | |||
| 660 | ✗ | std::vector<std::string> ZoneHVACLowTempRadiantConstFlow_Impl::emsInternalVariableNames() const { | |
| 661 | ✗ | std::vector<std::string> types{"Constant Flow Low Temp Radiant Design Water Mass Flow Rate"}; | |
| 662 | ✗ | return types; | |
| 663 | ✗ | } | |
| 664 | |||
| 665 | ✗ | boost::optional<double> ZoneHVACLowTempRadiantConstFlow_Impl::autosizedHydronicTubingLength() const { | |
| 666 | ✗ | return getAutosizedValue("Design Size Hydronic Tubing Length", "m"); | |
| 667 | } | ||
| 668 | |||
| 669 | ✗ | boost::optional<double> ZoneHVACLowTempRadiantConstFlow_Impl::autosizedRatedFlowRate() const { | |
| 670 | ✗ | return getAutosizedValue("Design Size Maximum Water Flow", "m3/s"); | |
| 671 | } | ||
| 672 | |||
| 673 | ✗ | void ZoneHVACLowTempRadiantConstFlow_Impl::autosize() { | |
| 674 | ✗ | autosizeHydronicTubingLength(); | |
| 675 | ✗ | autosizeRatedFlowRate(); | |
| 676 | ✗ | } | |
| 677 | |||
| 678 | ✗ | void ZoneHVACLowTempRadiantConstFlow_Impl::applySizingValues() { | |
| 679 | ✗ | boost::optional<double> val; | |
| 680 | ✗ | val = autosizedHydronicTubingLength(); | |
| 681 | ✗ | if (val) { | |
| 682 | ✗ | setHydronicTubingLength(val.get()); | |
| 683 | } | ||
| 684 | |||
| 685 | ✗ | val = autosizedRatedFlowRate(); | |
| 686 | ✗ | if (val) { | |
| 687 | ✗ | setRatedFlowRate(val.get()); | |
| 688 | } | ||
| 689 | ✗ | } | |
| 690 | |||
| 691 | ✗ | ComponentType ZoneHVACLowTempRadiantConstFlow_Impl::componentType() const { | |
| 692 | ✗ | return ComponentType::Both; | |
| 693 | } | ||
| 694 | |||
| 695 | ✗ | std::vector<FuelType> ZoneHVACLowTempRadiantConstFlow_Impl::coolingFuelTypes() const { | |
| 696 | ✗ | return coolingCoil().coolingFuelTypes(); | |
| 697 | } | ||
| 698 | |||
| 699 | ✗ | std::vector<FuelType> ZoneHVACLowTempRadiantConstFlow_Impl::heatingFuelTypes() const { | |
| 700 | ✗ | return heatingCoil().heatingFuelTypes(); | |
| 701 | } | ||
| 702 | |||
| 703 | ✗ | std::vector<AppGFuelType> ZoneHVACLowTempRadiantConstFlow_Impl::appGHeatingFuelTypes() const { | |
| 704 | ✗ | return heatingCoil().appGHeatingFuelTypes(); | |
| 705 | } | ||
| 706 | |||
| 707 | } // namespace detail | ||
| 708 | |||
| 709 | 2 | ZoneHVACLowTempRadiantConstFlow::ZoneHVACLowTempRadiantConstFlow(const Model& model, Schedule& availabilitySchedule, HVACComponent& heatingCoil, | |
| 710 | 2 | HVACComponent& coolingCoil) | |
| 711 | 2 | : ZoneHVACComponent(ZoneHVACLowTempRadiantConstFlow::iddObjectType(), model) { | |
| 712 |
1/3✗ Branch 2 not taken.
✓ Branch 3 taken 2 times.
✗ Branch 5 not taken.
|
2 | OS_ASSERT(getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()); |
| 713 | |||
| 714 |
1/1✓ Branch 1 taken 2 times.
|
2 | bool ok = setAvailabilitySchedule(availabilitySchedule); |
| 715 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 2 times.
|
2 | if (!ok) { |
| 716 | ✗ | remove(); | |
| 717 | ✗ | LOG_AND_THROW("Unable to set " << briefDescription() << "'s availability schedule to " << availabilitySchedule.briefDescription() << "."); | |
| 718 | } | ||
| 719 |
1/1✓ Branch 1 taken 2 times.
|
2 | ok = setHeatingCoil(heatingCoil); |
| 720 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 2 times.
✗ Branch 3 not taken.
|
2 | OS_ASSERT(ok); |
| 721 | |||
| 722 |
1/1✓ Branch 1 taken 2 times.
|
2 | ok = setCoolingCoil(coolingCoil); |
| 723 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 2 times.
✗ Branch 3 not taken.
|
2 | OS_ASSERT(ok); |
| 724 | |||
| 725 |
1/1✓ Branch 1 taken 2 times.
|
2 | autosizeHydronicTubingLength(); |
| 726 |
1/1✓ Branch 1 taken 2 times.
|
2 | autosizeRatedFlowRate(); |
| 727 | 2 | } | |
| 728 | |||
| 729 | 2 | ZoneHVACLowTempRadiantConstFlow::ZoneHVACLowTempRadiantConstFlow(const Model& model, Schedule& availabilitySchedule, HVACComponent& heatingCoil, | |
| 730 | 2 | HVACComponent& coolingCoil, double hydronicTubingLength) | |
| 731 | 2 | : ZoneHVACComponent(ZoneHVACLowTempRadiantConstFlow::iddObjectType(), model) { | |
| 732 |
1/3✗ Branch 2 not taken.
✓ Branch 3 taken 2 times.
✗ Branch 5 not taken.
|
2 | OS_ASSERT(getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()); |
| 733 | |||
| 734 |
1/1✓ Branch 1 taken 2 times.
|
2 | bool ok = setAvailabilitySchedule(availabilitySchedule); |
| 735 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 2 times.
|
2 | if (!ok) { |
| 736 | ✗ | remove(); | |
| 737 | ✗ | LOG_AND_THROW("Unable to set " << briefDescription() << "'s availability schedule to " << availabilitySchedule.briefDescription() << "."); | |
| 738 | } | ||
| 739 |
1/1✓ Branch 1 taken 2 times.
|
2 | ok = setHeatingCoil(heatingCoil); |
| 740 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 2 times.
✗ Branch 3 not taken.
|
2 | OS_ASSERT(ok); |
| 741 | |||
| 742 |
1/1✓ Branch 1 taken 2 times.
|
2 | ok = setCoolingCoil(coolingCoil); |
| 743 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 2 times.
✗ Branch 3 not taken.
|
2 | OS_ASSERT(ok); |
| 744 | |||
| 745 |
1/1✓ Branch 1 taken 2 times.
|
2 | ok = setHydronicTubingLength(hydronicTubingLength); |
| 746 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 2 times.
✗ Branch 3 not taken.
|
2 | OS_ASSERT(ok); |
| 747 | |||
| 748 |
1/1✓ Branch 1 taken 2 times.
|
2 | autosizeRatedFlowRate(); |
| 749 | 2 | } | |
| 750 | |||
| 751 | 7622 | IddObjectType ZoneHVACLowTempRadiantConstFlow::iddObjectType() { | |
| 752 |
1/1✓ Branch 1 taken 7622 times.
|
7622 | return {IddObjectType::OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlow}; |
| 753 | } | ||
| 754 | |||
| 755 | ✗ | std::vector<std::string> ZoneHVACLowTempRadiantConstFlow::radiantSurfaceTypeValues() { | |
| 756 | ✗ | return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), | |
| 757 | ✗ | OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::RadiantSurfaceType); | |
| 758 | } | ||
| 759 | |||
| 760 | ✗ | std::vector<std::string> ZoneHVACLowTempRadiantConstFlow::temperatureControlTypeValues() { | |
| 761 | ✗ | return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), | |
| 762 | ✗ | OS_ZoneHVAC_LowTemperatureRadiant_ConstantFlowFields::TemperatureControlType); | |
| 763 | } | ||
| 764 | |||
| 765 | 1 | Schedule ZoneHVACLowTempRadiantConstFlow::availabilitySchedule() const { | |
| 766 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->availabilitySchedule(); |
| 767 | } | ||
| 768 | |||
| 769 | 2 | boost::optional<std::string> ZoneHVACLowTempRadiantConstFlow::radiantSurfaceType() const { | |
| 770 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->radiantSurfaceType(); |
| 771 | } | ||
| 772 | |||
| 773 | 15 | std::vector<Surface> ZoneHVACLowTempRadiantConstFlow::surfaces() const { | |
| 774 |
1/1✓ Branch 3 taken 15 times.
|
15 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->surfaces(); |
| 775 | } | ||
| 776 | |||
| 777 | 3 | std::string ZoneHVACLowTempRadiantConstFlow::fluidtoRadiantSurfaceHeatTransferModel() const { | |
| 778 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->fluidtoRadiantSurfaceHeatTransferModel(); |
| 779 | } | ||
| 780 | |||
| 781 | 3 | bool ZoneHVACLowTempRadiantConstFlow::isFluidtoRadiantSurfaceHeatTransferModelDefaulted() const { | |
| 782 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->isFluidtoRadiantSurfaceHeatTransferModelDefaulted(); |
| 783 | } | ||
| 784 | |||
| 785 | 3 | double ZoneHVACLowTempRadiantConstFlow::hydronicTubingInsideDiameter() const { | |
| 786 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->hydronicTubingInsideDiameter(); |
| 787 | } | ||
| 788 | |||
| 789 | 3 | bool ZoneHVACLowTempRadiantConstFlow::isHydronicTubingInsideDiameterDefaulted() const { | |
| 790 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->isHydronicTubingInsideDiameterDefaulted(); |
| 791 | } | ||
| 792 | |||
| 793 | 3 | double ZoneHVACLowTempRadiantConstFlow::hydronicTubingOutsideDiameter() const { | |
| 794 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->hydronicTubingOutsideDiameter(); |
| 795 | } | ||
| 796 | |||
| 797 | 3 | bool ZoneHVACLowTempRadiantConstFlow::isHydronicTubingOutsideDiameterDefaulted() const { | |
| 798 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->isHydronicTubingOutsideDiameterDefaulted(); |
| 799 | } | ||
| 800 | |||
| 801 | 6 | boost::optional<double> ZoneHVACLowTempRadiantConstFlow::hydronicTubingLength() const { | |
| 802 |
1/1✓ Branch 3 taken 6 times.
|
6 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->hydronicTubingLength(); |
| 803 | } | ||
| 804 | |||
| 805 | 7 | bool ZoneHVACLowTempRadiantConstFlow::isHydronicTubingLengthAutosized() const { | |
| 806 |
1/1✓ Branch 3 taken 7 times.
|
7 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->isHydronicTubingLengthAutosized(); |
| 807 | } | ||
| 808 | |||
| 809 | 3 | double ZoneHVACLowTempRadiantConstFlow::hydronicTubingConductivity() const { | |
| 810 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->hydronicTubingConductivity(); |
| 811 | } | ||
| 812 | |||
| 813 | 3 | bool ZoneHVACLowTempRadiantConstFlow::isHydronicTubingConductivityDefaulted() const { | |
| 814 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->isHydronicTubingConductivityDefaulted(); |
| 815 | } | ||
| 816 | |||
| 817 | 3 | std::string ZoneHVACLowTempRadiantConstFlow::temperatureControlType() const { | |
| 818 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->temperatureControlType(); |
| 819 | } | ||
| 820 | |||
| 821 | 3 | bool ZoneHVACLowTempRadiantConstFlow::isTemperatureControlTypeDefaulted() const { | |
| 822 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->isTemperatureControlTypeDefaulted(); |
| 823 | } | ||
| 824 | |||
| 825 | 3 | double ZoneHVACLowTempRadiantConstFlow::runningMeanOutdoorDryBulbTemperatureWeightingFactor() const { | |
| 826 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->runningMeanOutdoorDryBulbTemperatureWeightingFactor(); |
| 827 | } | ||
| 828 | |||
| 829 | 3 | bool ZoneHVACLowTempRadiantConstFlow::isRunningMeanOutdoorDryBulbTemperatureWeightingFactorDefaulted() const { | |
| 830 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->isRunningMeanOutdoorDryBulbTemperatureWeightingFactorDefaulted(); |
| 831 | } | ||
| 832 | |||
| 833 | 3 | HVACComponent ZoneHVACLowTempRadiantConstFlow::heatingCoil() const { | |
| 834 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->heatingCoil(); |
| 835 | } | ||
| 836 | |||
| 837 | 3 | HVACComponent ZoneHVACLowTempRadiantConstFlow::coolingCoil() const { | |
| 838 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->coolingCoil(); |
| 839 | } | ||
| 840 | |||
| 841 | 4 | boost::optional<double> ZoneHVACLowTempRadiantConstFlow::ratedFlowRate() const { | |
| 842 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->ratedFlowRate(); |
| 843 | } | ||
| 844 | |||
| 845 | 4 | bool ZoneHVACLowTempRadiantConstFlow::isRatedFlowRateAutosized() const { | |
| 846 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->isRatedFlowRateAutosized(); |
| 847 | } | ||
| 848 | |||
| 849 | 2 | boost::optional<Schedule> ZoneHVACLowTempRadiantConstFlow::pumpFlowRateSchedule() const { | |
| 850 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->pumpFlowRateSchedule(); |
| 851 | } | ||
| 852 | |||
| 853 | 2 | double ZoneHVACLowTempRadiantConstFlow::ratedPumpHead() const { | |
| 854 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->ratedPumpHead(); |
| 855 | } | ||
| 856 | |||
| 857 | 1 | bool ZoneHVACLowTempRadiantConstFlow::isRatedPumpHeadDefaulted() const { | |
| 858 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->isRatedPumpHeadDefaulted(); |
| 859 | } | ||
| 860 | |||
| 861 | 2 | boost::optional<double> ZoneHVACLowTempRadiantConstFlow::ratedPowerConsumption() const { | |
| 862 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->ratedPowerConsumption(); |
| 863 | } | ||
| 864 | |||
| 865 | 2 | double ZoneHVACLowTempRadiantConstFlow::motorEfficiency() const { | |
| 866 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->motorEfficiency(); |
| 867 | } | ||
| 868 | |||
| 869 | ✗ | bool ZoneHVACLowTempRadiantConstFlow::isMotorEfficiencyDefaulted() const { | |
| 870 | ✗ | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->isMotorEfficiencyDefaulted(); | |
| 871 | } | ||
| 872 | |||
| 873 | 2 | double ZoneHVACLowTempRadiantConstFlow::fractionofMotorInefficienciestoFluidStream() const { | |
| 874 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->fractionofMotorInefficienciestoFluidStream(); |
| 875 | } | ||
| 876 | |||
| 877 | 1 | bool ZoneHVACLowTempRadiantConstFlow::isFractionofMotorInefficienciestoFluidStreamDefaulted() const { | |
| 878 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->isFractionofMotorInefficienciestoFluidStreamDefaulted(); |
| 879 | } | ||
| 880 | |||
| 881 | 2 | std::string ZoneHVACLowTempRadiantConstFlow::numberofCircuits() const { | |
| 882 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->numberofCircuits(); |
| 883 | } | ||
| 884 | |||
| 885 | 2 | double ZoneHVACLowTempRadiantConstFlow::circuitLength() const { | |
| 886 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->circuitLength(); |
| 887 | } | ||
| 888 | |||
| 889 | 4 | boost::optional<Schedule> ZoneHVACLowTempRadiantConstFlow::changeoverDelayTimePeriodSchedule() const { | |
| 890 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->changeoverDelayTimePeriodSchedule(); |
| 891 | } | ||
| 892 | |||
| 893 | 4 | bool ZoneHVACLowTempRadiantConstFlow::setAvailabilitySchedule(Schedule& schedule) { | |
| 894 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->setAvailabilitySchedule(schedule); |
| 895 | } | ||
| 896 | |||
| 897 | 3 | bool ZoneHVACLowTempRadiantConstFlow::setRadiantSurfaceType(const std::string& radiantSurfaceType) { | |
| 898 |
2/2✓ Branch 3 taken 3 times.
✓ Branch 6 taken 3 times.
|
3 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->setRadiantSurfaceType(radiantSurfaceType); |
| 899 | } | ||
| 900 | |||
| 901 | ✗ | void ZoneHVACLowTempRadiantConstFlow::resetRadiantSurfaceType() { | |
| 902 | ✗ | getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->resetRadiantSurfaceType(); | |
| 903 | ✗ | } | |
| 904 | |||
| 905 | 1 | bool ZoneHVACLowTempRadiantConstFlow::setFluidtoRadiantSurfaceHeatTransferModel(const std::string& fluidtoRadiantSurfaceHeatTransferModel) { | |
| 906 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->setFluidtoRadiantSurfaceHeatTransferModel(fluidtoRadiantSurfaceHeatTransferModel); |
| 907 | } | ||
| 908 | |||
| 909 | 1 | void ZoneHVACLowTempRadiantConstFlow::resetFluidtoRadiantSurfaceHeatTransferModel() { | |
| 910 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->resetFluidtoRadiantSurfaceHeatTransferModel(); |
| 911 | 1 | } | |
| 912 | |||
| 913 | 1 | bool ZoneHVACLowTempRadiantConstFlow::setHydronicTubingInsideDiameter(double hydronicTubingInsideDiameter) { | |
| 914 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->setHydronicTubingInsideDiameter(hydronicTubingInsideDiameter); |
| 915 | } | ||
| 916 | |||
| 917 | 1 | void ZoneHVACLowTempRadiantConstFlow::resetHydronicTubingInsideDiameter() { | |
| 918 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->resetHydronicTubingInsideDiameter(); |
| 919 | 1 | } | |
| 920 | |||
| 921 | 1 | bool ZoneHVACLowTempRadiantConstFlow::setHydronicTubingOutsideDiameter(double hydronicTubingOutsideDiameter) { | |
| 922 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->setHydronicTubingOutsideDiameter(hydronicTubingOutsideDiameter); |
| 923 | } | ||
| 924 | |||
| 925 | 1 | void ZoneHVACLowTempRadiantConstFlow::resetHydronicTubingOutsideDiameter() { | |
| 926 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->resetHydronicTubingOutsideDiameter(); |
| 927 | 1 | } | |
| 928 | |||
| 929 | 4 | bool ZoneHVACLowTempRadiantConstFlow::setHydronicTubingLength(double hydronicTubingLength) { | |
| 930 |
2/2✓ Branch 3 taken 4 times.
✓ Branch 6 taken 4 times.
|
4 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->setHydronicTubingLength(hydronicTubingLength); |
| 931 | } | ||
| 932 | |||
| 933 | 5 | void ZoneHVACLowTempRadiantConstFlow::autosizeHydronicTubingLength() { | |
| 934 |
1/1✓ Branch 3 taken 5 times.
|
5 | getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->autosizeHydronicTubingLength(); |
| 935 | 5 | } | |
| 936 | |||
| 937 | 1 | bool ZoneHVACLowTempRadiantConstFlow::setHydronicTubingConductivity(double hydronicTubingConductivity) { | |
| 938 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->setHydronicTubingConductivity(hydronicTubingConductivity); |
| 939 | } | ||
| 940 | |||
| 941 | 1 | void ZoneHVACLowTempRadiantConstFlow::resetHydronicTubingConductivity() { | |
| 942 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->resetHydronicTubingConductivity(); |
| 943 | 1 | } | |
| 944 | |||
| 945 | 1 | bool ZoneHVACLowTempRadiantConstFlow::setTemperatureControlType(const std::string& temperatureControlType) { | |
| 946 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->setTemperatureControlType(temperatureControlType); |
| 947 | } | ||
| 948 | |||
| 949 | 1 | bool ZoneHVACLowTempRadiantConstFlow::setRunningMeanOutdoorDryBulbTemperatureWeightingFactor( | |
| 950 | double runningMeanOutdoorDryBulbTemperatureWeightingFactor) { | ||
| 951 |
1/1✓ Branch 3 taken 1 time.
|
2 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->setRunningMeanOutdoorDryBulbTemperatureWeightingFactor( |
| 952 | 2 | runningMeanOutdoorDryBulbTemperatureWeightingFactor); | |
| 953 | } | ||
| 954 | |||
| 955 | 1 | void ZoneHVACLowTempRadiantConstFlow::resetRunningMeanOutdoorDryBulbTemperatureWeightingFactor() { | |
| 956 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->resetRunningMeanOutdoorDryBulbTemperatureWeightingFactor(); |
| 957 | 1 | } | |
| 958 | |||
| 959 | 1 | void ZoneHVACLowTempRadiantConstFlow::resetTemperatureControlType() { | |
| 960 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->resetTemperatureControlType(); |
| 961 | 1 | } | |
| 962 | |||
| 963 | 6 | bool ZoneHVACLowTempRadiantConstFlow::setHeatingCoil(HVACComponent& heatingCoil) { | |
| 964 |
1/1✓ Branch 3 taken 6 times.
|
6 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->setHeatingCoil(heatingCoil); |
| 965 | } | ||
| 966 | |||
| 967 | 6 | bool ZoneHVACLowTempRadiantConstFlow::setCoolingCoil(HVACComponent& coolingCoil) { | |
| 968 |
1/1✓ Branch 3 taken 6 times.
|
6 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->setCoolingCoil(coolingCoil); |
| 969 | } | ||
| 970 | |||
| 971 | 1 | bool ZoneHVACLowTempRadiantConstFlow::setRatedFlowRate(double ratedFlowRate) { | |
| 972 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->setRatedFlowRate(ratedFlowRate); |
| 973 | } | ||
| 974 | |||
| 975 | 5 | void ZoneHVACLowTempRadiantConstFlow::autosizeRatedFlowRate() { | |
| 976 |
1/1✓ Branch 3 taken 5 times.
|
5 | getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->autosizeRatedFlowRate(); |
| 977 | 5 | } | |
| 978 | |||
| 979 | 1 | bool ZoneHVACLowTempRadiantConstFlow::setPumpFlowRateSchedule(Schedule& schedule) { | |
| 980 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->setPumpFlowRateSchedule(schedule); |
| 981 | } | ||
| 982 | |||
| 983 | ✗ | void ZoneHVACLowTempRadiantConstFlow::resetPumpFlowRateSchedule() { | |
| 984 | ✗ | getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->resetPumpFlowRateSchedule(); | |
| 985 | ✗ | } | |
| 986 | |||
| 987 | 1 | bool ZoneHVACLowTempRadiantConstFlow::setRatedPumpHead(double ratedPumpHead) { | |
| 988 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->setRatedPumpHead(ratedPumpHead); |
| 989 | } | ||
| 990 | |||
| 991 | ✗ | void ZoneHVACLowTempRadiantConstFlow::resetRatedPumpHead() { | |
| 992 | ✗ | getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->resetRatedPumpHead(); | |
| 993 | ✗ | } | |
| 994 | |||
| 995 | 1 | bool ZoneHVACLowTempRadiantConstFlow::setRatedPowerConsumption(double ratedPowerConsumption) { | |
| 996 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->setRatedPowerConsumption(ratedPowerConsumption); |
| 997 | } | ||
| 998 | |||
| 999 | ✗ | void ZoneHVACLowTempRadiantConstFlow::resetRatedPowerConsumption() { | |
| 1000 | ✗ | getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->resetRatedPowerConsumption(); | |
| 1001 | ✗ | } | |
| 1002 | |||
| 1003 | 1 | bool ZoneHVACLowTempRadiantConstFlow::setMotorEfficiency(double motorEfficiency) { | |
| 1004 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->setMotorEfficiency(motorEfficiency); |
| 1005 | } | ||
| 1006 | |||
| 1007 | ✗ | void ZoneHVACLowTempRadiantConstFlow::resetMotorEfficiency() { | |
| 1008 | ✗ | getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->resetMotorEfficiency(); | |
| 1009 | ✗ | } | |
| 1010 | |||
| 1011 | 1 | bool ZoneHVACLowTempRadiantConstFlow::setFractionofMotorInefficienciestoFluidStream(double fractionofMotorInefficienciestoFluidStream) { | |
| 1012 |
1/1✓ Branch 3 taken 1 time.
|
2 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->setFractionofMotorInefficienciestoFluidStream( |
| 1013 | 2 | fractionofMotorInefficienciestoFluidStream); | |
| 1014 | } | ||
| 1015 | |||
| 1016 | ✗ | void ZoneHVACLowTempRadiantConstFlow::resetFractionofMotorInefficienciestoFluidStream() { | |
| 1017 | ✗ | getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->resetFractionofMotorInefficienciestoFluidStream(); | |
| 1018 | ✗ | } | |
| 1019 | |||
| 1020 | 1 | bool ZoneHVACLowTempRadiantConstFlow::setNumberofCircuits(const std::string& numberofCircuits) { | |
| 1021 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->setNumberofCircuits(numberofCircuits); |
| 1022 | } | ||
| 1023 | |||
| 1024 | 1 | bool ZoneHVACLowTempRadiantConstFlow::setCircuitLength(double circLength) { | |
| 1025 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->setCircuitLength(circLength); |
| 1026 | } | ||
| 1027 | |||
| 1028 | 1 | bool ZoneHVACLowTempRadiantConstFlow::setChangeoverDelayTimePeriodSchedule(Schedule& schedule) { | |
| 1029 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->setChangeoverDelayTimePeriodSchedule(schedule); |
| 1030 | } | ||
| 1031 | |||
| 1032 | 1 | void ZoneHVACLowTempRadiantConstFlow::resetChangeoverDelayTimePeriodSchedule() { | |
| 1033 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->resetChangeoverDelayTimePeriodSchedule(); |
| 1034 | 1 | } | |
| 1035 | |||
| 1036 | 1 | boost::optional<ThermalZone> ZoneHVACLowTempRadiantConstFlow::thermalZone() const { | |
| 1037 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->thermalZone(); |
| 1038 | } | ||
| 1039 | |||
| 1040 | 4 | bool ZoneHVACLowTempRadiantConstFlow::addToThermalZone(ThermalZone& thermalZone) { | |
| 1041 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->addToThermalZone(thermalZone); |
| 1042 | } | ||
| 1043 | |||
| 1044 | ✗ | void ZoneHVACLowTempRadiantConstFlow::removeFromThermalZone() { | |
| 1045 | ✗ | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->removeFromThermalZone(); | |
| 1046 | } | ||
| 1047 | |||
| 1048 | ✗ | boost::optional<double> ZoneHVACLowTempRadiantConstFlow::autosizedHydronicTubingLength() const { | |
| 1049 | ✗ | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->autosizedHydronicTubingLength(); | |
| 1050 | } | ||
| 1051 | |||
| 1052 | ✗ | boost::optional<double> ZoneHVACLowTempRadiantConstFlow::autosizedRatedFlowRate() const { | |
| 1053 | ✗ | return getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->autosizedRatedFlowRate(); | |
| 1054 | } | ||
| 1055 | |||
| 1056 | /// @cond | ||
| 1057 | 9 | ZoneHVACLowTempRadiantConstFlow::ZoneHVACLowTempRadiantConstFlow(std::shared_ptr<detail::ZoneHVACLowTempRadiantConstFlow_Impl> impl) | |
| 1058 |
1/1✓ Branch 3 taken 9 times.
|
9 | : ZoneHVACComponent(std::move(impl)) {} |
| 1059 | |||
| 1060 | // DEPRECATED | ||
| 1061 | 1 | void ZoneHVACLowTempRadiantConstFlow::resetHydronicTubingLength() { | |
| 1062 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
4 | DEPRECATED_AT_MSG(3, 0, 0, "Use autosizeHydronicTubingLength instead."); |
| 1063 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->autosizeHydronicTubingLength(); |
| 1064 | 1 | } | |
| 1065 | |||
| 1066 | ✗ | void ZoneHVACLowTempRadiantConstFlow::resetRatedFlowRate() { | |
| 1067 | ✗ | DEPRECATED_AT_MSG(3, 0, 0, "Use autosizeRatedFlowRate instead."); | |
| 1068 | ✗ | getImpl<detail::ZoneHVACLowTempRadiantConstFlow_Impl>()->autosizeRatedFlowRate(); | |
| 1069 | ✗ | } | |
| 1070 | /// @endcond | ||
| 1071 | |||
| 1072 | } // namespace model | ||
| 1073 | } // namespace openstudio | ||
| 1074 |