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/GeneratorFuelCellAuxiliaryHeater_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_GENERATORFUELCELLAUXILIARYHEATER_IMPL_HPP
7 #define MODEL_GENERATORFUELCELLAUXILIARYHEATER_IMPL_HPP
8
9 #include "ModelAPI.hpp"
10 #include "ModelObject_Impl.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 class ThermalZone;
16 class GeneratorFuelCell;
17
18 namespace detail {
19
20 /** GeneratorFuelCellAuxiliaryHeater_Impl is a ModelObject_Impl that is the implementation class for GeneratorFuelCellAuxiliaryHeater.*/
21 class MODEL_API GeneratorFuelCellAuxiliaryHeater_Impl : public ModelObject_Impl
22 {
23 public:
24 /** @name Constructors and Destructors */
25 //@{
26
27 GeneratorFuelCellAuxiliaryHeater_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
28
29 GeneratorFuelCellAuxiliaryHeater_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
30
31 GeneratorFuelCellAuxiliaryHeater_Impl(const GeneratorFuelCellAuxiliaryHeater_Impl& other, Model_Impl* model, bool keepHandle);
32
33 14 virtual ~GeneratorFuelCellAuxiliaryHeater_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<IddObjectType> allowableChildTypes() const;
44
45 virtual std::vector<ModelObject> children() const;
46
47 //@}
48 /** @name Getters */
49 //@{
50
51 double excessAirRatio() const;
52
53 double ancillaryPowerConstantTerm() const;
54
55 double ancillaryPowerLinearTerm() const;
56
57 double skinLossUFactorTimesAreaValue() const;
58
59 std::string skinLossDestination() const;
60
61 boost::optional<ThermalZone> zonetoReceiveSkinLosses() const;
62
63 std::string heatingCapacityUnits() const;
64
65 double maximumHeatingCapacityinWatts() const;
66
67 double minimumHeatingCapacityinWatts() const;
68
69 double maximumHeatingCapacityinKmolperSecond() const;
70
71 double minimumHeatingCapacityinKmolperSecond() const;
72
73 // Return optional parent generator
74 boost::optional<GeneratorFuelCell> fuelCell() const;
75
76 //@}
77 /** @name Setters */
78 //@{
79
80 bool setExcessAirRatio(double excessAirRatio);
81
82 void resetExcessAirRatio();
83
84 bool setAncillaryPowerConstantTerm(double ancillaryPowerConstantTerm);
85
86 void resetAncillaryPowerConstantTerm();
87
88 bool setAncillaryPowerLinearTerm(double ancillaryPowerLinearTerm);
89
90 void resetAncillaryPowerLinearTerm();
91
92 bool setSkinLossUFactorTimesAreaValue(double skinLossUFactorTimesAreaValue);
93
94 void resetSkinLossUFactorTimesAreaValue();
95
96 bool setSkinLossDestination(const std::string& skinLossDestination);
97
98 void resetSkinLossDestination();
99
100 bool setZonetoReceiveSkinLosses(const ThermalZone& zone);
101
102 void resetZonetoReceiveSkinLosses();
103
104 bool setHeatingCapacityUnits(const std::string& heatingCapacityUnits);
105
106 void resetHeatingCapacityUnits();
107
108 bool setMaximumHeatingCapacityinWatts(double maximumHeatingCapacityinWatts);
109
110 void resetMaximumHeatingCapacityinWatts();
111
112 bool setMinimumHeatingCapacityinWatts(double minimumHeatingCapacityinWatts);
113
114 void resetMinimumHeatingCapacityinWatts();
115
116 bool setMaximumHeatingCapacityinKmolperSecond(double maximumHeatingCapacityinKmolperSecond);
117
118 void resetMaximumHeatingCapacityinKmolperSecond();
119
120 bool setMinimumHeatingCapacityinKmolperSecond(double minimumHeatingCapacityinKmolperSecond);
121
122 void resetMinimumHeatingCapacityinKmolperSecond();
123
124 //@}
125 /** @name Other */
126 //@{
127
128 //@}
129 protected:
130 private:
131 − REGISTER_LOGGER("openstudio.model.GeneratorFuelCellAuxiliaryHeater");
132 };
133
134 } // namespace detail
135
136 } // namespace model
137 } // namespace openstudio
138
139 #endif // MODEL_GENERATORFUELCELLAUXILIARYHEATER_IMPL_HPP
140