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/CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_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_COILHEATINGDXVARIABLEREFRIGERANTFLOWFLUIDTEMPERATURECONTROL_IMPL_HPP
7 #define MODEL_COILHEATINGDXVARIABLEREFRIGERANTFLOWFLUIDTEMPERATURECONTROL_IMPL_HPP
8
9 #include <model/ModelAPI.hpp>
10 #include "HVACComponent_Impl.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 class Schedule;
16 class Curve;
17
18 namespace detail {
19
20 /** CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl is a HVACComponent_Impl that is the implementation class for CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl.*/
21 class MODEL_API CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl : public HVACComponent_Impl
22 {
23 public:
24 /** @name Constructors and Destructors */
25 //@{
26
27 CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
28
29 CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model,
30 bool keepHandle);
31
32 CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl(const CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl& other,
33 Model_Impl* model, bool keepHandle);
34
35 41 virtual ~CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl() {}
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 virtual ComponentType componentType() const override;
48 virtual std::vector<FuelType> coolingFuelTypes() const override;
49 virtual std::vector<FuelType> heatingFuelTypes() const override;
50 virtual std::vector<AppGFuelType> appGHeatingFuelTypes() const override;
51
52 //@}
53 /** @name Getters */
54 //@{
55
56 Schedule availabilitySchedule() const;
57
58 boost::optional<double> ratedTotalHeatingCapacity() const;
59
60 bool isRatedTotalHeatingCapacityAutosized() const;
61
62 boost::optional<double> autosizedRatedTotalHeatingCapacity();
63
64 double indoorUnitReferenceSubcooling() const;
65
66 Curve indoorUnitCondensingTemperatureFunctionofSubcoolingCurve() const;
67
68 //@}
69 /** @name Setters */
70 //@{
71
72 bool setAvailabilitySchedule(Schedule& schedule);
73
74 bool setRatedTotalHeatingCapacity(double ratedTotalHeatingCapacity);
75
76 void autosizeRatedTotalHeatingCapacity();
77
78 bool setIndoorUnitReferenceSubcooling(double indoorUnitReferenceSubcooling);
79
80 bool setIndoorUnitCondensingTemperatureFunctionofSubcoolingCurve(const Curve& curve);
81
82 virtual void autosize() override;
83
84 virtual void applySizingValues() override;
85
86 //@}
87 /** @name Other */
88 //@{
89
90 ModelObject clone(Model model) const override;
91
92 std::vector<ModelObject> children() const override;
93
94 boost::optional<double> autosizedRatedAirFlowRate() const;
95
96 //@}
97 protected:
98 private:
99 − REGISTER_LOGGER("openstudio.model.CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl");
100
101 boost::optional<Schedule> optionalAvailabilitySchedule() const;
102 boost::optional<Curve> optionalIndoorUnitCondensingTemperatureFunctionofSubcoolingCurve() const;
103 };
104
105 } // namespace detail
106
107 } // namespace model
108 } // namespace openstudio
109
110 #endif // MODEL_COILHEATINGDXVARIABLEREFRIGERANTFLOWFLUIDTEMPERATURECONTROL_IMPL_HPP
111