GCC Code Coverage Report


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

src/model/SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl.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_IMPL_HPP
7 #define MODEL_SOLARCOLLECTORPERFORMANCEPHOTOVOLTAICTHERMALBIPVT_IMPL_HPP
8
9 #include <model/ModelAPI.hpp>
10 #include "ModelObject_Impl.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 class SurfacePropertyOtherSideConditionsModel;
16 class Schedule;
17
18 namespace detail {
19
20 /** SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl is a ModelObject_Impl that is the implementation class for SolarCollectorPerformancePhotovoltaicThermalBIPVT.*/
21 class MODEL_API SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl : public ModelObject_Impl
22 {
23 public:
24 /** @name Constructors and Destructors */
25 //@{
26
27 SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
28
29 SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model,
30 bool keepHandle);
31
32 SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl(const SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl& other, Model_Impl* model,
33 bool keepHandle);
34
35 5 virtual ~SolarCollectorPerformancePhotovoltaicThermalBIPVT_Impl() override = default;
36
37 //@}
38 /** @name Virtual Methods */
39 //@{
40
41 virtual const std::vector<std::string>& outputVariableNames() const override;
42
43 virtual IddObjectType iddObjectType() const override;
44
45 virtual std::vector<ScheduleTypeKey> getScheduleTypeKeys(const Schedule& schedule) const override;
46
47 //@}
48 /** @name Getters */
49 //@{
50
51 SurfacePropertyOtherSideConditionsModel boundaryConditionsModel() const;
52
53 Schedule availabilitySchedule() const;
54
55 double effectivePlenumGapThicknessBehindPVModules() const;
56
57 double pVCellNormalTransmittanceAbsorptanceProduct() const;
58
59 double backingMaterialNormalTransmittanceAbsorptanceProduct() const;
60
61 double claddingNormalTransmittanceAbsorptanceProduct() const;
62
63 double fractionofCollectorGrossAreaCoveredbyPVModule() const;
64
65 double fractionofPVCellAreatoPVModuleArea() const;
66
67 double pVModuleTopThermalResistance() const;
68
69 double pVModuleBottomThermalResistance() const;
70
71 double pVModuleFrontLongwaveEmissivity() const;
72
73 double pVModuleBackLongwaveEmissivity() const;
74
75 double glassThickness() const;
76
77 double glassRefractionIndex() const;
78
79 double glassExtinctionCoefficient() const;
80
81 //@}
82 /** @name Setters */
83 //@{
84
85 bool setBoundaryConditionsModel(const SurfacePropertyOtherSideConditionsModel& surfacePropertyOtherSideConditionsModel);
86
87 bool setAvailabilitySchedule(Schedule& schedule);
88
89 bool setEffectivePlenumGapThicknessBehindPVModules(double effectivePlenumGapThicknessBehindPVModules);
90
91 bool setPVCellNormalTransmittanceAbsorptanceProduct(double pVCellNormalTransmittanceAbsorptanceProduct);
92
93 bool setBackingMaterialNormalTransmittanceAbsorptanceProduct(double backingMaterialNormalTransmittanceAbsorptanceProduct);
94
95 bool setCladdingNormalTransmittanceAbsorptanceProduct(double claddingNormalTransmittanceAbsorptanceProduct);
96
97 bool setFractionofCollectorGrossAreaCoveredbyPVModule(double fractionofCollectorGrossAreaCoveredbyPVModule);
98
99 bool setFractionofPVCellAreatoPVModuleArea(double fractionofPVCellAreatoPVModuleArea);
100
101 bool setPVModuleTopThermalResistance(double pVModuleTopThermalResistance);
102
103 bool setPVModuleBottomThermalResistance(double pVModuleBottomThermalResistance);
104
105 bool setPVModuleFrontLongwaveEmissivity(double pVModuleFrontLongwaveEmissivity);
106
107 bool setPVModuleBackLongwaveEmissivity(double pVModuleBackLongwaveEmissivity);
108
109 bool setGlassThickness(double glassThickness);
110
111 bool setGlassRefractionIndex(double glassRefractionIndex);
112
113 bool setGlassExtinctionCoefficient(double glassExtinctionCoefficient);
114
115 //@}
116 /** @name Other */
117 //@{
118
119 //@}
120 protected:
121 private:
122 − REGISTER_LOGGER("openstudio.model.SolarCollectorPerformancePhotovoltaicThermalBIPVT");
123
124 // Optional getters for use by methods like children() so can remove() if the constructor fails.
125 boost::optional<SurfacePropertyOtherSideConditionsModel> optionalBoundaryConditionsModel() const;
126 boost::optional<Schedule> optionalAvailabilitySchedule() const;
127 };
128
129 } // namespace detail
130
131 } // namespace model
132 } // namespace openstudio
133
134 #endif // MODEL_SOLARCOLLECTORPERFORMANCEPHOTOVOLTAICTHERMALBIPVT_IMPL_HPP
135