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/ElectricLoadCenterInverterPVWatts_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_ELECTRICLOADCENTERINVERTERPVWATTS_IMPL_HPP
7 #define MODEL_ELECTRICLOADCENTERINVERTERPVWATTS_IMPL_HPP
8
9 #include "ModelAPI.hpp"
10 #include "Inverter_Impl.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 class Schedule;
16 class ThermalZone;
17
18 namespace detail {
19
20 /** ElectricLoadCenterInverterPVWatts_Impl is a Inverter_Impl that is the implementation class for ElectricLoadCenterInverterPVWatts.*/
21 class MODEL_API ElectricLoadCenterInverterPVWatts_Impl : public Inverter_Impl
22 {
23 public:
24 /** @name Constructors and Destructors */
25 //@{
26
27 ElectricLoadCenterInverterPVWatts_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
28
29 ElectricLoadCenterInverterPVWatts_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
30
31 ElectricLoadCenterInverterPVWatts_Impl(const ElectricLoadCenterInverterPVWatts_Impl& other, Model_Impl* model, bool keepHandle);
32
33 11 virtual ~ElectricLoadCenterInverterPVWatts_Impl() override = default;
34
35 //@}
36 /** @name Virtual Methods */
37 //@{
38
39 virtual const std::vector<std::string>& outputVariableNames() const override;
40
41 virtual IddObjectType iddObjectType() const override;
42
43 virtual std::vector<ScheduleTypeKey> getScheduleTypeKeys(const Schedule& schedule) const override;
44
45 virtual boost::optional<ThermalZone> thermalZone() const override;
46
47 virtual bool setThermalZone(const ThermalZone& thermalZone) override;
48
49 virtual void resetThermalZone() override;
50
51 //@}
52 /** @name Getters */
53 //@{
54
55 double dcToACSizeRatio() const;
56
57 bool isDCToACSizeRatioDefaulted() const;
58
59 double inverterEfficiency() const;
60
61 bool isInverterEfficiencyDefaulted() const;
62
63 //@}
64 /** @name Setters */
65 //@{
66
67 bool setDCToACSizeRatio(double dcToACSizeRatio);
68
69 void resetDCToACSizeRatio();
70
71 bool setInverterEfficiency(double inverterEfficiency);
72
73 void resetInverterEfficiency();
74
75 //@}
76 /** @name Other */
77 //@{
78
79 //@}
80 protected:
81 private:
82 REGISTER_LOGGER("openstudio.model.ElectricLoadCenterInverterPVWatts");
83 };
84
85 } // namespace detail
86
87 } // namespace model
88 } // namespace openstudio
89
90 #endif // MODEL_ELECTRICLOADCENTERINVERTERPVWATTS_IMPL_HPP
91