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/RefrigerationCondenserEvaporativeCooled_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_REFRIGERATIONCONDENSEREVAPORATIVECOOLED_IMPL_HPP
7 #define MODEL_REFRIGERATIONCONDENSEREVAPORATIVECOOLED_IMPL_HPP
8
9 #include "ModelAPI.hpp"
10 #include "ParentObject_Impl.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 // WaterStorageTank object not used
16 //class WaterStorageTank;
17 class RefrigerationSystem;
18 class Schedule;
19
20 namespace detail {
21
22 /** RefrigerationCondenserEvaporativeCooled_Impl is a ParentObject_Impl that is the implementation class for RefrigerationCondenserEvaporativeCooled.*/
23 class MODEL_API RefrigerationCondenserEvaporativeCooled_Impl : public ParentObject_Impl
24 {
25 public:
26 /** @name Constructors and Destructors */
27 //@{
28
29 RefrigerationCondenserEvaporativeCooled_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
30
31 RefrigerationCondenserEvaporativeCooled_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
32
33 RefrigerationCondenserEvaporativeCooled_Impl(const RefrigerationCondenserEvaporativeCooled_Impl& other, Model_Impl* model, bool keepHandle);
34
35 39 virtual ~RefrigerationCondenserEvaporativeCooled_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 ModelObject clone(Model model) const override;
46
47 virtual std::vector<ScheduleTypeKey> getScheduleTypeKeys(const Schedule& schedule) const override;
48
49 //@}
50 /** @name Getters */
51 //@{
52
53 double ratedEffectiveTotalHeatRejectionRate() const;
54
55 double ratedSubcoolingTemperatureDifference() const;
56
57 bool isRatedSubcoolingTemperatureDifferenceDefaulted() const;
58
59 std::string fanSpeedControlType() const;
60
61 bool isFanSpeedControlTypeDefaulted() const;
62
63 double ratedFanPower() const;
64
65 double minimumFanAirFlowRatio() const;
66
67 bool isMinimumFanAirFlowRatioDefaulted() const;
68
69 double approachTemperatureConstantTerm() const;
70
71 bool isApproachTemperatureConstantTermDefaulted() const;
72
73 double approachTemperatureCoefficient2() const;
74
75 bool isApproachTemperatureCoefficient2Defaulted() const;
76
77 double approachTemperatureCoefficient3() const;
78
79 bool isApproachTemperatureCoefficient3Defaulted() const;
80
81 double approachTemperatureCoefficient4() const;
82
83 bool isApproachTemperatureCoefficient4Defaulted() const;
84
85 double minimumCapacityFactor() const;
86
87 bool isMinimumCapacityFactorDefaulted() const;
88
89 double maximumCapacityFactor() const;
90
91 bool isMaximumCapacityFactorDefaulted() const;
92
93 //std::string airInletNode() const;
94
95 boost::optional<double> ratedAirFlowRate() const;
96
97 bool isRatedAirFlowRateDefaulted() const;
98
99 bool isRatedAirFlowRateAutocalculated() const;
100
101 double basinHeaterCapacity() const;
102
103 bool isBasinHeaterCapacityDefaulted() const;
104
105 double basinHeaterSetpointTemperature() const;
106
107 bool isBasinHeaterSetpointTemperatureDefaulted() const;
108
109 boost::optional<double> ratedWaterPumpPower() const;
110
111 bool isRatedWaterPumpPowerDefaulted() const;
112
113 bool isRatedWaterPumpPowerAutocalculated() const;
114
115 //boost::optional<WaterStorageTank> evaporativeWaterSupplyTank() const;
116
117 boost::optional<Schedule> evaporativeCondenserAvailabilitySchedule() const;
118
119 std::string endUseSubcategory() const;
120
121 bool isEndUseSubcategoryDefaulted() const;
122
123 double condenserRefrigerantOperatingChargeInventory() const;
124
125 bool isCondenserRefrigerantOperatingChargeInventoryDefaulted() const;
126
127 double condensateReceiverRefrigerantInventory() const;
128
129 bool isCondensateReceiverRefrigerantInventoryDefaulted() const;
130
131 double condensatePipingRefrigerantInventory() const;
132
133 bool isCondensatePipingRefrigerantInventoryDefaulted() const;
134
135 //@}
136 /** @name Setters */
137 //@{
138
139 bool setRatedEffectiveTotalHeatRejectionRate(double ratedEffectiveTotalHeatRejectionRate);
140
141 bool setRatedSubcoolingTemperatureDifference(double ratedSubcoolingTemperatureDifference);
142
143 void resetRatedSubcoolingTemperatureDifference();
144
145 bool setFanSpeedControlType(const std::string& fanSpeedControlType);
146
147 void resetFanSpeedControlType();
148
149 bool setRatedFanPower(double ratedFanPower);
150
151 bool setMinimumFanAirFlowRatio(double minimumFanAirFlowRatio);
152
153 void resetMinimumFanAirFlowRatio();
154
155 bool setApproachTemperatureConstantTerm(double approachTemperatureConstantTerm);
156
157 void resetApproachTemperatureConstantTerm();
158
159 bool setApproachTemperatureCoefficient2(double approachTemperatureCoefficient2);
160
161 void resetApproachTemperatureCoefficient2();
162
163 bool setApproachTemperatureCoefficient3(double approachTemperatureCoefficient3);
164
165 void resetApproachTemperatureCoefficient3();
166
167 bool setApproachTemperatureCoefficient4(double approachTemperatureCoefficient4);
168
169 void resetApproachTemperatureCoefficient4();
170
171 bool setMinimumCapacityFactor(double minimumCapacityFactor);
172
173 void resetMinimumCapacityFactor();
174
175 bool setMaximumCapacityFactor(double maximumCapacityFactor);
176
177 void resetMaximumCapacityFactor();
178
179 //bool setAirInletNode(const std::string& airInletNode);
180
181 //void resetAirInletNode();
182
183 bool setRatedAirFlowRate(boost::optional<double> ratedAirFlowRate);
184
185 void resetRatedAirFlowRate();
186
187 void autocalculateRatedAirFlowRate();
188
189 bool setBasinHeaterCapacity(double basinHeaterCapacity);
190
191 void resetBasinHeaterCapacity();
192
193 bool setBasinHeaterSetpointTemperature(double basinHeaterSetpointTemperature);
194
195 void resetBasinHeaterSetpointTemperature();
196
197 bool setRatedWaterPumpPower(boost::optional<double> ratedWaterPumpPower);
198
199 void resetRatedWaterPumpPower();
200
201 void autocalculateRatedWaterPumpPower();
202
203 //bool setEvaporativeWaterSupplyTank(const boost::optional<WaterStorageTank>& waterStorageTank);
204
205 //void resetEvaporativeWaterSupplyTank();
206
207 bool setEvaporativeCondenserAvailabilitySchedule(Schedule& schedule);
208
209 void resetEvaporativeCondenserAvailabilitySchedule();
210
211 bool setEndUseSubcategory(const std::string& endUseSubcategory);
212
213 void resetEndUseSubcategory();
214
215 bool setCondenserRefrigerantOperatingChargeInventory(double condenserRefrigerantOperatingChargeInventory);
216
217 void resetCondenserRefrigerantOperatingChargeInventory();
218
219 bool setCondensateReceiverRefrigerantInventory(double condensateReceiverRefrigerantInventory);
220
221 void resetCondensateReceiverRefrigerantInventory();
222
223 bool setCondensatePipingRefrigerantInventory(double condensatePipingRefrigerantInventory);
224
225 void resetCondensatePipingRefrigerantInventory();
226
227 //@}
228 /** @name Other */
229 //@{
230
231 boost::optional<RefrigerationSystem> system() const;
232
233 //@}
234 protected:
235 private:
236 − REGISTER_LOGGER("openstudio.model.RefrigerationCondenserEvaporativeCooled");
237 };
238
239 } // namespace detail
240
241 } // namespace model
242 } // namespace openstudio
243
244 #endif // MODEL_REFRIGERATIONCONDENSEREVAPORATIVECOOLED_IMPL_HPP
245