GCC Code Coverage Report


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

src/model/SolarCollectorPerformancePhotovoltaicThermalSimple_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_SOLARCOLLECTORPERFORMANCEPHOTOVOLTAICTHERMALSIMPLE_IMPL_HPP
7 #define MODEL_SOLARCOLLECTORPERFORMANCEPHOTOVOLTAICTHERMALSIMPLE_IMPL_HPP
8
9 #include "ModelAPI.hpp"
10 #include "ModelObject_Impl.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 // TODO: Check the following class names against object getters and setters.
16 class Schedule;
17
18 namespace detail {
19
20 /** SolarCollectorPerformancePhotovoltaicThermalSimple_Impl is a ModelObject_Impl that is the implementation class for SolarCollectorPerformancePhotovoltaicThermalSimple.*/
21 class MODEL_API SolarCollectorPerformancePhotovoltaicThermalSimple_Impl : public ModelObject_Impl
22 {
23
24 public:
25 /** @name Constructors and Destructors */
26 //@{
27
28 SolarCollectorPerformancePhotovoltaicThermalSimple_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
29
30 SolarCollectorPerformancePhotovoltaicThermalSimple_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model,
31 bool keepHandle);
32
33 SolarCollectorPerformancePhotovoltaicThermalSimple_Impl(const SolarCollectorPerformancePhotovoltaicThermalSimple_Impl& other, Model_Impl* model,
34 bool keepHandle);
35
36 18 virtual ~SolarCollectorPerformancePhotovoltaicThermalSimple_Impl() override = default;
37
38 //@}
39 /** @name Virtual Methods */
40 //@{
41
42 virtual const std::vector<std::string>& outputVariableNames() const override;
43
44 virtual IddObjectType iddObjectType() const override;
45
46 virtual std::vector<ScheduleTypeKey> getScheduleTypeKeys(const Schedule& schedule) const override;
47
48 //@}
49 /** @name Getters */
50 //@{
51
52 double fractionOfSurfaceAreaWithActiveThermalCollector() const;
53
54 std::string thermalConversionEfficiencyInputModeType() const;
55
56 boost::optional<double> thermalConversionEfficiency() const;
57
58 boost::optional<Schedule> thermalConversionEfficiencySchedule() const;
59
60 double frontSurfaceEmittance() const;
61
62 bool isFrontSurfaceEmittanceDefaulted() const;
63
64 //@}
65 /** @name Setters */
66 //@{
67
68 bool setFractionOfSurfaceAreaWithActiveThermalCollector(double fractionofSurfaceAreawithActiveThermalCollector);
69
70 bool setThermalConversionEfficiency(double fixedThermalConversionEfficiency);
71
72 void resetThermalConversionEfficiency();
73
74 bool setThermalConversionEfficiencySchedule(Schedule& schedule);
75
76 void resetThermalConversionEfficiencySchedule();
77
78 bool setFrontSurfaceEmittance(double frontSurfaceEmittance);
79
80 void resetFrontSurfaceEmittance();
81
82 //@}
83 /** @name Other */
84 //@{
85
86 //@}
87 protected:
88 private:
89 REGISTER_LOGGER("openstudio.model.SolarCollectorPerformancePhotovoltaicThermalSimple");
90 };
91
92 } // namespace detail
93
94 } // namespace model
95 } // namespace openstudio
96
97 #endif // MODEL_SOLARCOLLECTORPERFORMANCEPHOTOVOLTAICTHERMALSIMPLE_IMPL_HPP
98