src/model/SolarCollectorPerformancePhotovoltaicThermalBIPVT.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 "SolarCollectorPerformancePhotovoltaicThermalBIPVT.hpp" | ||
| 7 | #include "SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl.hpp" | ||
| 8 | |||
| 9 | #include "SurfacePropertyOtherSideConditionsModel.hpp" | ||
| 10 | #include "SurfacePropertyOtherSideConditionsModel_Impl.hpp" | ||
| 11 | #include "Schedule.hpp" | ||
| 12 | #include "Schedule_Impl.hpp" | ||
| 13 | #include "ScheduleTypeLimits.hpp" | ||
| 14 | #include "ScheduleTypeRegistry.hpp" | ||
| 15 | #include "Model.hpp" | ||
| 16 | |||
| 17 | #include "../utilities/core/Assert.hpp" | ||
| 18 | |||
| 19 | #include <utilities/idd/IddEnums.hxx> | ||
| 20 | #include <utilities/idd/OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVT_FieldEnums.hxx> | ||
| 21 | |||
| 22 | namespace openstudio { | ||
| 23 | namespace model { | ||
| 24 | |||
| 25 | namespace detail { | ||
| 26 | |||
| 27 | 4 | SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl(const IdfObject& idfObject, | |
| 28 | 4 | Model_Impl* model, bool keepHandle) | |
| 29 | 4 | : ModelObject_Impl(idfObject, model, keepHandle) { | |
| 30 |
4/6✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
✓ Branch 7 taken 4 times.
✗ Branch 10 not taken.
✓ Branch 11 taken 4 times.
✗ Branch 13 not taken.
|
4 | OS_ASSERT(idfObject.iddObject().type() == SolarCollectorPerformancePhotovoltaicThermalBIPVT::iddObjectType()); |
| 31 | 4 | } | |
| 32 | |||
| 33 | ✗ | SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl( | |
| 34 | ✗ | const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle) | |
| 35 | ✗ | : ModelObject_Impl(other, model, keepHandle) { | |
| 36 | ✗ | OS_ASSERT(other.iddObject().type() == SolarCollectorPerformancePhotovoltaicThermalBIPVT::iddObjectType()); | |
| 37 | ✗ | } | |
| 38 | |||
| 39 | 1 | SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl( | |
| 40 | 1 | const SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl& other, Model_Impl* model, bool keepHandle) | |
| 41 | 1 | : ModelObject_Impl(other, model, keepHandle) {} | |
| 42 | |||
| 43 | ✗ | const std::vector<std::string>& SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::outputVariableNames() const { | |
| 44 | ✗ | static const std::vector<std::string> result; | |
| 45 | ✗ | return result; | |
| 46 | } | ||
| 47 | |||
| 48 | ✗ | IddObjectType SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::iddObjectType() const { | |
| 49 | ✗ | return SolarCollectorPerformancePhotovoltaicThermalBIPVT::iddObjectType(); | |
| 50 | } | ||
| 51 | |||
| 52 | ✗ | std::vector<ScheduleTypeKey> SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::getScheduleTypeKeys(const Schedule& schedule) const { | |
| 53 | ✗ | std::vector<ScheduleTypeKey> result; | |
| 54 | ✗ | const UnsignedVector fieldIndices = getSourceIndices(schedule.handle()); | |
| 55 | ✗ | if (std::find(fieldIndices.cbegin(), fieldIndices.cend(), | |
| 56 | ✗ | OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::AvailabilityScheduleName) | |
| 57 | ✗ | != fieldIndices.cend()) { | |
| 58 | ✗ | result.emplace_back("SolarCollectorPerformancePhotovoltaicThermalBIPVT", "Availability"); | |
| 59 | } | ||
| 60 | ✗ | return result; | |
| 61 | ✗ | } | |
| 62 | |||
| 63 | 7 | SurfacePropertyOtherSideConditionsModel SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::boundaryConditionsModel() const { | |
| 64 |
1/1✓ Branch 1 taken 7 times.
|
7 | boost::optional<SurfacePropertyOtherSideConditionsModel> value = optionalBoundaryConditionsModel(); |
| 65 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
|
7 | if (!value) { |
| 66 | ✗ | LOG_AND_THROW(briefDescription() << " does not have an Boundary Conditions Model attached."); | |
| 67 | } | ||
| 68 |
2/2✓ Branch 1 taken 7 times.
✓ Branch 4 taken 7 times.
|
14 | return value.get(); |
| 69 | 7 | } | |
| 70 | |||
| 71 | 4 | Schedule SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::availabilitySchedule() const { | |
| 72 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<Schedule> value = optionalAvailabilitySchedule(); |
| 73 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
|
4 | if (!value) { |
| 74 | ✗ | LOG_AND_THROW(briefDescription() << " does not have an Availability Schedule attached."); | |
| 75 | } | ||
| 76 |
2/2✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
|
8 | return value.get(); |
| 77 | 4 | } | |
| 78 | |||
| 79 | 4 | double SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::effectivePlenumGapThicknessBehindPVModules() const { | |
| 80 | boost::optional<double> value = | ||
| 81 |
1/1✓ Branch 1 taken 4 times.
|
4 | getDouble(OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::EffectivePlenumGapThicknessBehindPVModules, true); |
| 82 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 83 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 84 | } | ||
| 85 | |||
| 86 | 4 | double SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::pVCellNormalTransmittanceAbsorptanceProduct() const { | |
| 87 | boost::optional<double> value = | ||
| 88 |
1/1✓ Branch 1 taken 4 times.
|
4 | getDouble(OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::PVCellNormalTransmittanceAbsorptanceProduct, true); |
| 89 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 90 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 91 | } | ||
| 92 | |||
| 93 | 4 | double SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::backingMaterialNormalTransmittanceAbsorptanceProduct() const { | |
| 94 | boost::optional<double> value = | ||
| 95 |
1/1✓ Branch 1 taken 4 times.
|
4 | getDouble(OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::BackingMaterialNormalTransmittanceAbsorptanceProduct, true); |
| 96 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 97 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 98 | } | ||
| 99 | |||
| 100 | 4 | double SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::claddingNormalTransmittanceAbsorptanceProduct() const { | |
| 101 | boost::optional<double> value = | ||
| 102 |
1/1✓ Branch 1 taken 4 times.
|
4 | getDouble(OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::CladdingNormalTransmittanceAbsorptanceProduct, true); |
| 103 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 104 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 105 | } | ||
| 106 | |||
| 107 | 4 | double SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::fractionofCollectorGrossAreaCoveredbyPVModule() const { | |
| 108 | boost::optional<double> value = | ||
| 109 |
1/1✓ Branch 1 taken 4 times.
|
4 | getDouble(OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::FractionofCollectorGrossAreaCoveredbyPVModule, true); |
| 110 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 111 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 112 | } | ||
| 113 | |||
| 114 | 4 | double SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::fractionofPVCellAreatoPVModuleArea() const { | |
| 115 | boost::optional<double> value = | ||
| 116 |
1/1✓ Branch 1 taken 4 times.
|
4 | getDouble(OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::FractionofPVCellAreatoPVModuleArea, true); |
| 117 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 118 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 119 | } | ||
| 120 | |||
| 121 | 4 | double SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::pVModuleTopThermalResistance() const { | |
| 122 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::PVModuleTopThermalResistance, true); |
| 123 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 124 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 125 | } | ||
| 126 | |||
| 127 | 4 | double SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::pVModuleBottomThermalResistance() const { | |
| 128 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::PVModuleBottomThermalResistance, true); |
| 129 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 130 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 131 | } | ||
| 132 | |||
| 133 | 4 | double SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::pVModuleFrontLongwaveEmissivity() const { | |
| 134 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::PVModuleFrontLongwaveEmissivity, true); |
| 135 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 136 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 137 | } | ||
| 138 | |||
| 139 | 4 | double SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::pVModuleBackLongwaveEmissivity() const { | |
| 140 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::PVModuleBackLongwaveEmissivity, true); |
| 141 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 142 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 143 | } | ||
| 144 | |||
| 145 | 4 | double SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::glassThickness() const { | |
| 146 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::GlassThickness, true); |
| 147 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 148 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 149 | } | ||
| 150 | |||
| 151 | 4 | double SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::glassRefractionIndex() const { | |
| 152 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::GlassRefractionIndex, true); |
| 153 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 154 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 155 | } | ||
| 156 | |||
| 157 | 4 | double SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::glassExtinctionCoefficient() const { | |
| 158 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::GlassExtinctionCoefficient, true); |
| 159 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 160 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 161 | } | ||
| 162 | |||
| 163 | 6 | bool SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::setBoundaryConditionsModel( | |
| 164 | const SurfacePropertyOtherSideConditionsModel& surfacePropertyOtherSideConditionsModel) { | ||
| 165 |
1/1✓ Branch 1 taken 6 times.
|
6 | const bool result = setPointer(OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::BoundaryConditionsModelName, |
| 166 |
1/1✓ Branch 1 taken 6 times.
|
6 | surfacePropertyOtherSideConditionsModel.handle()); |
| 167 | 6 | return result; | |
| 168 | } | ||
| 169 | |||
| 170 | 6 | bool SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::setAvailabilitySchedule(Schedule& schedule) { | |
| 171 |
3/3✓ Branch 1 taken 6 times.
✓ Branch 4 taken 6 times.
✓ Branch 7 taken 6 times.
|
24 | const bool result = setSchedule(OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::AvailabilityScheduleName, |
| 172 | "SolarCollectorPerformancePhotovoltaicThermalBIPVT", "Availability", schedule); | ||
| 173 | 6 | return result; | |
| 174 | } | ||
| 175 | |||
| 176 | 9 | bool SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::setEffectivePlenumGapThicknessBehindPVModules( | |
| 177 | double effectivePlenumGapThicknessBehindPVModules) { | ||
| 178 | 9 | const bool result = setDouble(OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::EffectivePlenumGapThicknessBehindPVModules, | |
| 179 | effectivePlenumGapThicknessBehindPVModules); | ||
| 180 | 9 | return result; | |
| 181 | } | ||
| 182 | |||
| 183 | 8 | bool SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::setPVCellNormalTransmittanceAbsorptanceProduct( | |
| 184 | double pVCellNormalTransmittanceAbsorptanceProduct) { | ||
| 185 | 8 | const bool result = setDouble(OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::PVCellNormalTransmittanceAbsorptanceProduct, | |
| 186 | pVCellNormalTransmittanceAbsorptanceProduct); | ||
| 187 | 8 | return result; | |
| 188 | } | ||
| 189 | |||
| 190 | 8 | bool SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::setBackingMaterialNormalTransmittanceAbsorptanceProduct( | |
| 191 | double backingMaterialNormalTransmittanceAbsorptanceProduct) { | ||
| 192 | const bool result = | ||
| 193 | 8 | setDouble(OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::BackingMaterialNormalTransmittanceAbsorptanceProduct, | |
| 194 | backingMaterialNormalTransmittanceAbsorptanceProduct); | ||
| 195 | 8 | return result; | |
| 196 | } | ||
| 197 | |||
| 198 | 8 | bool SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::setCladdingNormalTransmittanceAbsorptanceProduct( | |
| 199 | double claddingNormalTransmittanceAbsorptanceProduct) { | ||
| 200 | 8 | const bool result = setDouble(OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::CladdingNormalTransmittanceAbsorptanceProduct, | |
| 201 | claddingNormalTransmittanceAbsorptanceProduct); | ||
| 202 | 8 | return result; | |
| 203 | } | ||
| 204 | |||
| 205 | 8 | bool SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::setFractionofCollectorGrossAreaCoveredbyPVModule( | |
| 206 | double fractionofCollectorGrossAreaCoveredbyPVModule) { | ||
| 207 | 8 | const bool result = setDouble(OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::FractionofCollectorGrossAreaCoveredbyPVModule, | |
| 208 | fractionofCollectorGrossAreaCoveredbyPVModule); | ||
| 209 | 8 | return result; | |
| 210 | } | ||
| 211 | |||
| 212 | 8 | bool SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::setFractionofPVCellAreatoPVModuleArea(double fractionofPVCellAreatoPVModuleArea) { | |
| 213 | 8 | const bool result = setDouble(OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::FractionofPVCellAreatoPVModuleArea, | |
| 214 | fractionofPVCellAreatoPVModuleArea); | ||
| 215 | 8 | return result; | |
| 216 | } | ||
| 217 | |||
| 218 | 8 | bool SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::setPVModuleTopThermalResistance(double pVModuleTopThermalResistance) { | |
| 219 | const bool result = | ||
| 220 | 8 | setDouble(OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::PVModuleTopThermalResistance, pVModuleTopThermalResistance); | |
| 221 | 8 | return result; | |
| 222 | } | ||
| 223 | |||
| 224 | 8 | bool SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::setPVModuleBottomThermalResistance(double pVModuleBottomThermalResistance) { | |
| 225 | const bool result = | ||
| 226 | 8 | setDouble(OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::PVModuleBottomThermalResistance, pVModuleBottomThermalResistance); | |
| 227 | 8 | return result; | |
| 228 | } | ||
| 229 | |||
| 230 | 8 | bool SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::setPVModuleFrontLongwaveEmissivity(double pVModuleFrontLongwaveEmissivity) { | |
| 231 | const bool result = | ||
| 232 | 8 | setDouble(OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::PVModuleFrontLongwaveEmissivity, pVModuleFrontLongwaveEmissivity); | |
| 233 | 8 | return result; | |
| 234 | } | ||
| 235 | |||
| 236 | 8 | bool SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::setPVModuleBackLongwaveEmissivity(double pVModuleBackLongwaveEmissivity) { | |
| 237 | const bool result = | ||
| 238 | 8 | setDouble(OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::PVModuleBackLongwaveEmissivity, pVModuleBackLongwaveEmissivity); | |
| 239 | 8 | return result; | |
| 240 | } | ||
| 241 | |||
| 242 | 8 | bool SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::setGlassThickness(double glassThickness) { | |
| 243 | 8 | const bool result = setDouble(OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::GlassThickness, glassThickness); | |
| 244 | 8 | return result; | |
| 245 | } | ||
| 246 | |||
| 247 | 8 | bool SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::setGlassRefractionIndex(double glassRefractionIndex) { | |
| 248 | 8 | const bool result = setDouble(OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::GlassRefractionIndex, glassRefractionIndex); | |
| 249 | 8 | return result; | |
| 250 | } | ||
| 251 | |||
| 252 | 8 | bool SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::setGlassExtinctionCoefficient(double glassExtinctionCoefficient) { | |
| 253 | const bool result = | ||
| 254 | 8 | setDouble(OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::GlassExtinctionCoefficient, glassExtinctionCoefficient); | |
| 255 | 8 | return result; | |
| 256 | } | ||
| 257 | |||
| 258 | boost::optional<SurfacePropertyOtherSideConditionsModel> | ||
| 259 | 7 | SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::optionalBoundaryConditionsModel() const { | |
| 260 |
1/1✓ Branch 1 taken 7 times.
|
14 | return getObject<ModelObject>().getModelObjectTarget<SurfacePropertyOtherSideConditionsModel>( |
| 261 |
1/1✓ Branch 1 taken 7 times.
|
14 | OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::BoundaryConditionsModelName); |
| 262 | } | ||
| 263 | |||
| 264 | 4 | boost::optional<Schedule> SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl::optionalAvailabilitySchedule() const { | |
| 265 |
1/1✓ Branch 1 taken 4 times.
|
8 | return getObject<ModelObject>().getModelObjectTarget<Schedule>( |
| 266 |
1/1✓ Branch 1 taken 4 times.
|
8 | OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVTFields::AvailabilityScheduleName); |
| 267 | } | ||
| 268 | |||
| 269 | } // namespace detail | ||
| 270 | |||
| 271 | 4 | SolarCollectorPerformancePhotovoltaicThermalBIPVT::SolarCollectorPerformancePhotovoltaicThermalBIPVT(const Model& model) | |
| 272 | 4 | : ModelObject(SolarCollectorPerformancePhotovoltaicThermalBIPVT::iddObjectType(), model) { | |
| 273 |
1/3✗ Branch 2 not taken.
✓ Branch 3 taken 4 times.
✗ Branch 5 not taken.
|
4 | OS_ASSERT(getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()); |
| 274 | |||
| 275 |
1/1✓ Branch 1 taken 4 times.
|
4 | SurfacePropertyOtherSideConditionsModel oscm(model); |
| 276 |
2/2✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
|
4 | oscm.setName("BIPVT Surface Property Other Side Conditions Model"); |
| 277 |
1/1✓ Branch 1 taken 4 times.
|
4 | bool ok = setBoundaryConditionsModel(oscm); |
| 278 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 4 times.
✗ Branch 3 not taken.
|
4 | OS_ASSERT(ok); |
| 279 |
2/2✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
|
4 | ok = oscm.setTypeOfModeling("GapConvectionRadiation"); // Explicitly set it, even if it's the default |
| 280 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 4 times.
✗ Branch 3 not taken.
|
4 | OS_ASSERT(ok); |
| 281 | |||
| 282 |
1/1✓ Branch 1 taken 4 times.
|
4 | auto alwaysOn = model.alwaysOnDiscreteSchedule(); |
| 283 |
1/1✓ Branch 1 taken 4 times.
|
4 | ok = setAvailabilitySchedule(alwaysOn); |
| 284 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 4 times.
✗ Branch 3 not taken.
|
4 | OS_ASSERT(ok); |
| 285 | |||
| 286 |
1/1✓ Branch 1 taken 4 times.
|
4 | ok = setEffectivePlenumGapThicknessBehindPVModules(0.1); // 10cm. Taken from ShopWithBIPVT.idf |
| 287 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 4 times.
✗ Branch 3 not taken.
|
4 | OS_ASSERT(ok); |
| 288 | |||
| 289 | // IDD Defaults | ||
| 290 |
1/1✓ Branch 1 taken 4 times.
|
4 | ok = setPVCellNormalTransmittanceAbsorptanceProduct(0.957); |
| 291 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 4 times.
✗ Branch 3 not taken.
|
4 | OS_ASSERT(ok); |
| 292 |
1/1✓ Branch 1 taken 4 times.
|
4 | ok = setBackingMaterialNormalTransmittanceAbsorptanceProduct(0.87); |
| 293 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 4 times.
✗ Branch 3 not taken.
|
4 | OS_ASSERT(ok); |
| 294 |
1/1✓ Branch 1 taken 4 times.
|
4 | ok = setCladdingNormalTransmittanceAbsorptanceProduct(0.85); |
| 295 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 4 times.
✗ Branch 3 not taken.
|
4 | OS_ASSERT(ok); |
| 296 |
1/1✓ Branch 1 taken 4 times.
|
4 | ok = setFractionofCollectorGrossAreaCoveredbyPVModule(0.85); |
| 297 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 4 times.
✗ Branch 3 not taken.
|
4 | OS_ASSERT(ok); |
| 298 |
1/1✓ Branch 1 taken 4 times.
|
4 | ok = setFractionofPVCellAreatoPVModuleArea(0.9); |
| 299 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 4 times.
✗ Branch 3 not taken.
|
4 | OS_ASSERT(ok); |
| 300 |
1/1✓ Branch 1 taken 4 times.
|
4 | ok = setPVModuleTopThermalResistance(0.0044); |
| 301 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 4 times.
✗ Branch 3 not taken.
|
4 | OS_ASSERT(ok); |
| 302 |
1/1✓ Branch 1 taken 4 times.
|
4 | ok = setPVModuleBottomThermalResistance(0.0039); |
| 303 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 4 times.
✗ Branch 3 not taken.
|
4 | OS_ASSERT(ok); |
| 304 |
1/1✓ Branch 1 taken 4 times.
|
4 | ok = setPVModuleFrontLongwaveEmissivity(0.85); |
| 305 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 4 times.
✗ Branch 3 not taken.
|
4 | OS_ASSERT(ok); |
| 306 |
1/1✓ Branch 1 taken 4 times.
|
4 | ok = setPVModuleBackLongwaveEmissivity(0.9); |
| 307 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 4 times.
✗ Branch 3 not taken.
|
4 | OS_ASSERT(ok); |
| 308 |
1/1✓ Branch 1 taken 4 times.
|
4 | ok = setGlassThickness(0.002); |
| 309 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 4 times.
✗ Branch 3 not taken.
|
4 | OS_ASSERT(ok); |
| 310 |
1/1✓ Branch 1 taken 4 times.
|
4 | ok = setGlassRefractionIndex(1.526); |
| 311 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 4 times.
✗ Branch 3 not taken.
|
4 | OS_ASSERT(ok); |
| 312 |
1/1✓ Branch 1 taken 4 times.
|
4 | ok = setGlassExtinctionCoefficient(4.0); |
| 313 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 4 times.
✗ Branch 3 not taken.
|
4 | OS_ASSERT(ok); |
| 314 | 4 | } | |
| 315 | |||
| 316 | ✗ | SolarCollectorPerformancePhotovoltaicThermalBIPVT::SolarCollectorPerformancePhotovoltaicThermalBIPVT( | |
| 317 | ✗ | const SurfacePropertyOtherSideConditionsModel& oscm) | |
| 318 | ✗ | : ModelObject(SolarCollectorPerformancePhotovoltaicThermalBIPVT::iddObjectType(), oscm.model()) { | |
| 319 | ✗ | OS_ASSERT(getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()); | |
| 320 | |||
| 321 | ✗ | bool ok = setBoundaryConditionsModel(oscm); | |
| 322 | ✗ | OS_ASSERT(ok); | |
| 323 | |||
| 324 | ✗ | auto alwaysOn = oscm.model().alwaysOnDiscreteSchedule(); | |
| 325 | ✗ | ok = setAvailabilitySchedule(alwaysOn); | |
| 326 | ✗ | OS_ASSERT(ok); | |
| 327 | |||
| 328 | ✗ | ok = setEffectivePlenumGapThicknessBehindPVModules(0.1); // 10cm. Taken from ShopWithBIPVT.idf | |
| 329 | ✗ | OS_ASSERT(ok); | |
| 330 | |||
| 331 | // IDD Defaults | ||
| 332 | ✗ | ok = setPVCellNormalTransmittanceAbsorptanceProduct(0.957); | |
| 333 | ✗ | OS_ASSERT(ok); | |
| 334 | ✗ | ok = setBackingMaterialNormalTransmittanceAbsorptanceProduct(0.87); | |
| 335 | ✗ | OS_ASSERT(ok); | |
| 336 | ✗ | ok = setCladdingNormalTransmittanceAbsorptanceProduct(0.85); | |
| 337 | ✗ | OS_ASSERT(ok); | |
| 338 | ✗ | ok = setFractionofCollectorGrossAreaCoveredbyPVModule(0.85); | |
| 339 | ✗ | OS_ASSERT(ok); | |
| 340 | ✗ | ok = setFractionofPVCellAreatoPVModuleArea(0.9); | |
| 341 | ✗ | OS_ASSERT(ok); | |
| 342 | ✗ | ok = setPVModuleTopThermalResistance(0.0044); | |
| 343 | ✗ | OS_ASSERT(ok); | |
| 344 | ✗ | ok = setPVModuleBottomThermalResistance(0.0039); | |
| 345 | ✗ | OS_ASSERT(ok); | |
| 346 | ✗ | ok = setPVModuleFrontLongwaveEmissivity(0.85); | |
| 347 | ✗ | OS_ASSERT(ok); | |
| 348 | ✗ | ok = setPVModuleBackLongwaveEmissivity(0.9); | |
| 349 | ✗ | OS_ASSERT(ok); | |
| 350 | ✗ | ok = setGlassThickness(0.002); | |
| 351 | ✗ | OS_ASSERT(ok); | |
| 352 | ✗ | ok = setGlassRefractionIndex(1.526); | |
| 353 | ✗ | OS_ASSERT(ok); | |
| 354 | ✗ | ok = setGlassExtinctionCoefficient(4.0); | |
| 355 | ✗ | OS_ASSERT(ok); | |
| 356 | ✗ | } | |
| 357 | |||
| 358 | 7607 | IddObjectType SolarCollectorPerformancePhotovoltaicThermalBIPVT::iddObjectType() { | |
| 359 |
1/1✓ Branch 1 taken 7607 times.
|
7607 | return {IddObjectType::OS_SolarCollectorPerformance_PhotovoltaicThermal_BIPVT}; |
| 360 | } | ||
| 361 | |||
| 362 | 7 | SurfacePropertyOtherSideConditionsModel SolarCollectorPerformancePhotovoltaicThermalBIPVT::boundaryConditionsModel() const { | |
| 363 |
1/1✓ Branch 3 taken 7 times.
|
7 | return getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()->boundaryConditionsModel(); |
| 364 | } | ||
| 365 | |||
| 366 | 4 | Schedule SolarCollectorPerformancePhotovoltaicThermalBIPVT::availabilitySchedule() const { | |
| 367 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()->availabilitySchedule(); |
| 368 | } | ||
| 369 | |||
| 370 | 4 | double SolarCollectorPerformancePhotovoltaicThermalBIPVT::effectivePlenumGapThicknessBehindPVModules() const { | |
| 371 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()->effectivePlenumGapThicknessBehindPVModules(); |
| 372 | } | ||
| 373 | |||
| 374 | 4 | double SolarCollectorPerformancePhotovoltaicThermalBIPVT::pVCellNormalTransmittanceAbsorptanceProduct() const { | |
| 375 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()->pVCellNormalTransmittanceAbsorptanceProduct(); |
| 376 | } | ||
| 377 | |||
| 378 | 4 | double SolarCollectorPerformancePhotovoltaicThermalBIPVT::backingMaterialNormalTransmittanceAbsorptanceProduct() const { | |
| 379 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()->backingMaterialNormalTransmittanceAbsorptanceProduct(); |
| 380 | } | ||
| 381 | |||
| 382 | 4 | double SolarCollectorPerformancePhotovoltaicThermalBIPVT::claddingNormalTransmittanceAbsorptanceProduct() const { | |
| 383 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()->claddingNormalTransmittanceAbsorptanceProduct(); |
| 384 | } | ||
| 385 | |||
| 386 | 4 | double SolarCollectorPerformancePhotovoltaicThermalBIPVT::fractionofCollectorGrossAreaCoveredbyPVModule() const { | |
| 387 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()->fractionofCollectorGrossAreaCoveredbyPVModule(); |
| 388 | } | ||
| 389 | |||
| 390 | 4 | double SolarCollectorPerformancePhotovoltaicThermalBIPVT::fractionofPVCellAreatoPVModuleArea() const { | |
| 391 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()->fractionofPVCellAreatoPVModuleArea(); |
| 392 | } | ||
| 393 | |||
| 394 | 4 | double SolarCollectorPerformancePhotovoltaicThermalBIPVT::pVModuleTopThermalResistance() const { | |
| 395 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()->pVModuleTopThermalResistance(); |
| 396 | } | ||
| 397 | |||
| 398 | 4 | double SolarCollectorPerformancePhotovoltaicThermalBIPVT::pVModuleBottomThermalResistance() const { | |
| 399 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()->pVModuleBottomThermalResistance(); |
| 400 | } | ||
| 401 | |||
| 402 | 4 | double SolarCollectorPerformancePhotovoltaicThermalBIPVT::pVModuleFrontLongwaveEmissivity() const { | |
| 403 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()->pVModuleFrontLongwaveEmissivity(); |
| 404 | } | ||
| 405 | |||
| 406 | 4 | double SolarCollectorPerformancePhotovoltaicThermalBIPVT::pVModuleBackLongwaveEmissivity() const { | |
| 407 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()->pVModuleBackLongwaveEmissivity(); |
| 408 | } | ||
| 409 | |||
| 410 | 4 | double SolarCollectorPerformancePhotovoltaicThermalBIPVT::glassThickness() const { | |
| 411 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()->glassThickness(); |
| 412 | } | ||
| 413 | |||
| 414 | 4 | double SolarCollectorPerformancePhotovoltaicThermalBIPVT::glassRefractionIndex() const { | |
| 415 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()->glassRefractionIndex(); |
| 416 | } | ||
| 417 | |||
| 418 | 4 | double SolarCollectorPerformancePhotovoltaicThermalBIPVT::glassExtinctionCoefficient() const { | |
| 419 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()->glassExtinctionCoefficient(); |
| 420 | } | ||
| 421 | |||
| 422 | 6 | bool SolarCollectorPerformancePhotovoltaicThermalBIPVT::setBoundaryConditionsModel( | |
| 423 | const SurfacePropertyOtherSideConditionsModel& surfacePropertyOtherSideConditionsModel) { | ||
| 424 |
1/1✓ Branch 3 taken 6 times.
|
12 | return getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()->setBoundaryConditionsModel( |
| 425 | 12 | surfacePropertyOtherSideConditionsModel); | |
| 426 | } | ||
| 427 | |||
| 428 | 6 | bool SolarCollectorPerformancePhotovoltaicThermalBIPVT::setAvailabilitySchedule(Schedule& schedule) { | |
| 429 |
1/1✓ Branch 3 taken 6 times.
|
6 | return getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()->setAvailabilitySchedule(schedule); |
| 430 | } | ||
| 431 | |||
| 432 | 9 | bool SolarCollectorPerformancePhotovoltaicThermalBIPVT::setEffectivePlenumGapThicknessBehindPVModules( | |
| 433 | double effectivePlenumGapThicknessBehindPVModules) { | ||
| 434 |
1/1✓ Branch 3 taken 9 times.
|
18 | return getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()->setEffectivePlenumGapThicknessBehindPVModules( |
| 435 | 18 | effectivePlenumGapThicknessBehindPVModules); | |
| 436 | } | ||
| 437 | |||
| 438 | 8 | bool SolarCollectorPerformancePhotovoltaicThermalBIPVT::setPVCellNormalTransmittanceAbsorptanceProduct( | |
| 439 | double pVCellNormalTransmittanceAbsorptanceProduct) { | ||
| 440 |
1/1✓ Branch 3 taken 8 times.
|
16 | return getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()->setPVCellNormalTransmittanceAbsorptanceProduct( |
| 441 | 16 | pVCellNormalTransmittanceAbsorptanceProduct); | |
| 442 | } | ||
| 443 | |||
| 444 | 8 | bool SolarCollectorPerformancePhotovoltaicThermalBIPVT::setBackingMaterialNormalTransmittanceAbsorptanceProduct( | |
| 445 | double backingMaterialNormalTransmittanceAbsorptanceProduct) { | ||
| 446 |
1/1✓ Branch 3 taken 8 times.
|
16 | return getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()->setBackingMaterialNormalTransmittanceAbsorptanceProduct( |
| 447 | 16 | backingMaterialNormalTransmittanceAbsorptanceProduct); | |
| 448 | } | ||
| 449 | |||
| 450 | 8 | bool SolarCollectorPerformancePhotovoltaicThermalBIPVT::setCladdingNormalTransmittanceAbsorptanceProduct( | |
| 451 | double claddingNormalTransmittanceAbsorptanceProduct) { | ||
| 452 |
1/1✓ Branch 3 taken 8 times.
|
16 | return getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()->setCladdingNormalTransmittanceAbsorptanceProduct( |
| 453 | 16 | claddingNormalTransmittanceAbsorptanceProduct); | |
| 454 | } | ||
| 455 | |||
| 456 | 8 | bool SolarCollectorPerformancePhotovoltaicThermalBIPVT::setFractionofCollectorGrossAreaCoveredbyPVModule( | |
| 457 | double fractionofCollectorGrossAreaCoveredbyPVModule) { | ||
| 458 |
1/1✓ Branch 3 taken 8 times.
|
16 | return getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()->setFractionofCollectorGrossAreaCoveredbyPVModule( |
| 459 | 16 | fractionofCollectorGrossAreaCoveredbyPVModule); | |
| 460 | } | ||
| 461 | |||
| 462 | 8 | bool SolarCollectorPerformancePhotovoltaicThermalBIPVT::setFractionofPVCellAreatoPVModuleArea(double fractionofPVCellAreatoPVModuleArea) { | |
| 463 |
1/1✓ Branch 3 taken 8 times.
|
16 | return getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()->setFractionofPVCellAreatoPVModuleArea( |
| 464 | 16 | fractionofPVCellAreatoPVModuleArea); | |
| 465 | } | ||
| 466 | |||
| 467 | 8 | bool SolarCollectorPerformancePhotovoltaicThermalBIPVT::setPVModuleTopThermalResistance(double pVModuleTopThermalResistance) { | |
| 468 |
1/1✓ Branch 3 taken 8 times.
|
8 | return getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()->setPVModuleTopThermalResistance(pVModuleTopThermalResistance); |
| 469 | } | ||
| 470 | |||
| 471 | 8 | bool SolarCollectorPerformancePhotovoltaicThermalBIPVT::setPVModuleBottomThermalResistance(double pVModuleBottomThermalResistance) { | |
| 472 |
1/1✓ Branch 3 taken 8 times.
|
16 | return getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()->setPVModuleBottomThermalResistance( |
| 473 | 16 | pVModuleBottomThermalResistance); | |
| 474 | } | ||
| 475 | |||
| 476 | 8 | bool SolarCollectorPerformancePhotovoltaicThermalBIPVT::setPVModuleFrontLongwaveEmissivity(double pVModuleFrontLongwaveEmissivity) { | |
| 477 |
1/1✓ Branch 3 taken 8 times.
|
16 | return getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()->setPVModuleFrontLongwaveEmissivity( |
| 478 | 16 | pVModuleFrontLongwaveEmissivity); | |
| 479 | } | ||
| 480 | |||
| 481 | 8 | bool SolarCollectorPerformancePhotovoltaicThermalBIPVT::setPVModuleBackLongwaveEmissivity(double pVModuleBackLongwaveEmissivity) { | |
| 482 |
1/1✓ Branch 3 taken 8 times.
|
16 | return getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()->setPVModuleBackLongwaveEmissivity( |
| 483 | 16 | pVModuleBackLongwaveEmissivity); | |
| 484 | } | ||
| 485 | |||
| 486 | 8 | bool SolarCollectorPerformancePhotovoltaicThermalBIPVT::setGlassThickness(double glassThickness) { | |
| 487 |
1/1✓ Branch 3 taken 8 times.
|
8 | return getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()->setGlassThickness(glassThickness); |
| 488 | } | ||
| 489 | |||
| 490 | 8 | bool SolarCollectorPerformancePhotovoltaicThermalBIPVT::setGlassRefractionIndex(double glassRefractionIndex) { | |
| 491 |
1/1✓ Branch 3 taken 8 times.
|
8 | return getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()->setGlassRefractionIndex(glassRefractionIndex); |
| 492 | } | ||
| 493 | |||
| 494 | 8 | bool SolarCollectorPerformancePhotovoltaicThermalBIPVT::setGlassExtinctionCoefficient(double glassExtinctionCoefficient) { | |
| 495 |
1/1✓ Branch 3 taken 8 times.
|
8 | return getImpl<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl>()->setGlassExtinctionCoefficient(glassExtinctionCoefficient); |
| 496 | } | ||
| 497 | |||
| 498 | /// @cond | ||
| 499 | 3 | SolarCollectorPerformancePhotovoltaicThermalBIPVT::SolarCollectorPerformancePhotovoltaicThermalBIPVT( | |
| 500 | 3 | std::shared_ptr<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl> impl) | |
| 501 |
1/1✓ Branch 3 taken 3 times.
|
3 | : ModelObject(std::move(impl)) {} |
| 502 | /// @endcond | ||
| 503 | |||
| 504 | } // namespace model | ||
| 505 | } // namespace openstudio | ||
| 506 |