GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 40.0% 2 / 0 / 5
Functions: 40.0% 2 / 0 / 5
Branches: -% 0 / 0 / 0

src/model/SolarCollectorPerformancePhotovoltaicThermalBIPVT.hpp
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 #ifndef MODEL_SOLARCOLLECTORPERFORMANCEPHOTOVOLTAICTHERMALBIPVT_HPP
7 #define MODEL_SOLARCOLLECTORPERFORMANCEPHOTOVOLTAICTHERMALBIPVT_HPP
8
9 #include <model/ModelAPI.hpp>
10 #include "ModelObject.hpp"
11
12 namespace openstudio {
13
14 namespace model {
15
16 class SurfacePropertyOtherSideConditionsModel;
17 class Schedule;
18
19 namespace detail {
20
21 class SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl;
22
23 } // namespace detail
24
25 /** SolarCollectorPerformancePhotovoltaicThermalBIPVT is a ModelObject that wraps the OpenStudio IDD object 'OS:SolarCollectorPerformance:PhotovoltaicThermal:BIPVT'. */
26 class MODEL_API SolarCollectorPerformancePhotovoltaicThermalBIPVT : public ModelObject
27 {
28 public:
29 /** @name Constructors and Destructors */
30 //@{
31
32 explicit SolarCollectorPerformancePhotovoltaicThermalBIPVT(const Model& model);
33 explicit SolarCollectorPerformancePhotovoltaicThermalBIPVT(const SurfacePropertyOtherSideConditionsModel& oscm);
34
35 9 virtual ~SolarCollectorPerformancePhotovoltaicThermalBIPVT() override = default;
36 // Default the copy and move operators because the virtual dtor is explicit
37 ✗ SolarCollectorPerformancePhotovoltaicThermalBIPVT(const SolarCollectorPerformancePhotovoltaicThermalBIPVT& other) = default;
38 2 SolarCollectorPerformancePhotovoltaicThermalBIPVT(SolarCollectorPerformancePhotovoltaicThermalBIPVT&& other) = default;
39 ✗ SolarCollectorPerformancePhotovoltaicThermalBIPVT& operator=(const SolarCollectorPerformancePhotovoltaicThermalBIPVT&) = default;
40 ✗ SolarCollectorPerformancePhotovoltaicThermalBIPVT& operator=(SolarCollectorPerformancePhotovoltaicThermalBIPVT&&) = default;
41
42 //@}
43
44 static IddObjectType iddObjectType();
45
46 /** @name Getters */
47 //@{
48
49 SurfacePropertyOtherSideConditionsModel boundaryConditionsModel() const;
50
51 Schedule availabilitySchedule() const;
52
53 double effectivePlenumGapThicknessBehindPVModules() const;
54
55 double pVCellNormalTransmittanceAbsorptanceProduct() const;
56
57 double backingMaterialNormalTransmittanceAbsorptanceProduct() const;
58
59 double claddingNormalTransmittanceAbsorptanceProduct() const;
60
61 double fractionofCollectorGrossAreaCoveredbyPVModule() const;
62
63 double fractionofPVCellAreatoPVModuleArea() const;
64
65 double pVModuleTopThermalResistance() const;
66
67 double pVModuleBottomThermalResistance() const;
68
69 double pVModuleFrontLongwaveEmissivity() const;
70
71 double pVModuleBackLongwaveEmissivity() const;
72
73 double glassThickness() const;
74
75 double glassRefractionIndex() const;
76
77 double glassExtinctionCoefficient() const;
78
79 //@}
80 /** @name Setters */
81 //@{
82
83 bool setBoundaryConditionsModel(const SurfacePropertyOtherSideConditionsModel& surfacePropertyOtherSideConditionsModel);
84
85 bool setAvailabilitySchedule(Schedule& schedule);
86
87 bool setEffectivePlenumGapThicknessBehindPVModules(double effectivePlenumGapThicknessBehindPVModules);
88
89 bool setPVCellNormalTransmittanceAbsorptanceProduct(double pVCellNormalTransmittanceAbsorptanceProduct);
90
91 bool setBackingMaterialNormalTransmittanceAbsorptanceProduct(double backingMaterialNormalTransmittanceAbsorptanceProduct);
92
93 bool setCladdingNormalTransmittanceAbsorptanceProduct(double claddingNormalTransmittanceAbsorptanceProduct);
94
95 bool setFractionofCollectorGrossAreaCoveredbyPVModule(double fractionofCollectorGrossAreaCoveredbyPVModule);
96
97 bool setFractionofPVCellAreatoPVModuleArea(double fractionofPVCellAreatoPVModuleArea);
98
99 bool setPVModuleTopThermalResistance(double pVModuleTopThermalResistance);
100
101 bool setPVModuleBottomThermalResistance(double pVModuleBottomThermalResistance);
102
103 bool setPVModuleFrontLongwaveEmissivity(double pVModuleFrontLongwaveEmissivity);
104
105 bool setPVModuleBackLongwaveEmissivity(double pVModuleBackLongwaveEmissivity);
106
107 bool setGlassThickness(double glassThickness);
108
109 bool setGlassRefractionIndex(double glassRefractionIndex);
110
111 bool setGlassExtinctionCoefficient(double glassExtinctionCoefficient);
112
113 //@}
114 /** @name Other */
115 //@{
116
117 //@}
118 protected:
119 /// @cond
120 using ImplType = detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl;
121
122 explicit SolarCollectorPerformancePhotovoltaicThermalBIPVT(std::shared_ptr<detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl> impl);
123
124 friend class detail::SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl;
125 friend class Model;
126 friend class IdfObject;
127 friend class openstudio::detail::IdfObject_Impl;
128 /// @endcond
129 private:
130 REGISTER_LOGGER("openstudio.model.SolarCollectorPerformancePhotovoltaicThermalBIPVT");
131 };
132
133 /** \relates SolarCollectorPerformancePhotovoltaicThermalBIPVT*/
134 using OptionalSolarCollectorPerformancePhotovoltaicThermalBIPVT = boost::optional<SolarCollectorPerformancePhotovoltaicThermalBIPVT>;
135
136 /** \relates SolarCollectorPerformancePhotovoltaicThermalBIPVT*/
137 using SolarCollectorPerformancePhotovoltaicThermalBIPVTVector = std::vector<SolarCollectorPerformancePhotovoltaicThermalBIPVT>;
138
139 } // namespace model
140 } // namespace openstudio
141
142 #endif // MODEL_SOLARCOLLECTORPERFORMANCEPHOTOVOLTAICTHERMALBIPVT_HPP
143