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/ZoneHVACHighTemperatureRadiant_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_ZONEHVACHIGHTEMPERATURERADIANT_IMPL_HPP
7 #define MODEL_ZONEHVACHIGHTEMPERATURERADIANT_IMPL_HPP
8
9 #include "ModelAPI.hpp"
10 #include "ZoneHVACComponent_Impl.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 class Schedule;
16
17 namespace detail {
18
19 /** ZoneHVACHighTemperatureRadiant_Impl is a ZoneHVACComponent_Impl that is the implementation class for ZoneHVACHighTemperatureRadiant.*/
20 class MODEL_API ZoneHVACHighTemperatureRadiant_Impl : public ZoneHVACComponent_Impl
21 {
22 public:
23 /** @name Constructors and Destructors */
24 //@{
25
26 ZoneHVACHighTemperatureRadiant_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
27
28 ZoneHVACHighTemperatureRadiant_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
29
30 ZoneHVACHighTemperatureRadiant_Impl(const ZoneHVACHighTemperatureRadiant_Impl& other, Model_Impl* model, bool keepHandle);
31
32 2 virtual ~ZoneHVACHighTemperatureRadiant_Impl() override = default;
33
34 //@}
35 /** @name Virtual Methods */
36 //@{
37
38 virtual const std::vector<std::string>& outputVariableNames() const override;
39
40 virtual IddObjectType iddObjectType() const override;
41
42 virtual std::vector<ScheduleTypeKey> getScheduleTypeKeys(const Schedule& schedule) const override;
43
44 virtual ComponentType componentType() const override;
45 virtual std::vector<FuelType> coolingFuelTypes() const override;
46 virtual std::vector<FuelType> heatingFuelTypes() const override;
47 virtual std::vector<AppGFuelType> appGHeatingFuelTypes() const override;
48
49 //@}
50 /** @name Getters */
51 //@{
52
53 std::vector<Surface> surfaces() const;
54
55 boost::optional<Schedule> availabilitySchedule() const;
56
57 boost::optional<double> maximumPowerInput() const;
58
59 bool isMaximumPowerInputAutosized() const;
60
61 std::string fuelType() const;
62
63 double combustionEfficiency() const;
64
65 double fractionofInputConvertedtoRadiantEnergy() const;
66
67 double fractionofInputConvertedtoLatentEnergy() const;
68
69 double fractionofInputthatIsLost() const;
70
71 std::string temperatureControlType() const;
72
73 double heatingThrottlingRange() const;
74
75 boost::optional<Schedule> heatingSetpointTemperatureSchedule() const;
76
77 double fractionofRadiantEnergyIncidentonPeople() const;
78
79 boost::optional<double> autosizedMaximumPowerInput() const;
80
81 virtual void autosize() override;
82
83 virtual void applySizingValues() override;
84
85 //@}
86 /** @name Setters */
87 //@{
88
89 bool setAvailabilitySchedule(Schedule& schedule);
90
91 void resetAvailabilitySchedule();
92
93 bool setMaximumPowerInput(boost::optional<double> maximumPowerInput);
94
95 void autosizeMaximumPowerInput();
96
97 bool setFuelType(const std::string& fuelType);
98
99 bool setCombustionEfficiency(double combustionEfficiency);
100
101 bool setFractionofInputConvertedtoRadiantEnergy(double fractionofInputConvertedtoRadiantEnergy);
102
103 bool setFractionofInputConvertedtoLatentEnergy(double fractionofInputConvertedtoLatentEnergy);
104
105 bool setFractionofInputthatIsLost(double fractionofInputthatIsLost);
106
107 bool setTemperatureControlType(const std::string& temperatureControlType);
108
109 bool setHeatingThrottlingRange(double heatingThrottlingRange);
110
111 bool setHeatingSetpointTemperatureSchedule(Schedule& schedule);
112
113 void resetHeatingSetpointTemperatureSchedule();
114
115 bool setFractionofRadiantEnergyIncidentonPeople(double fractionofRadiantEnergyIncidentonPeople);
116
117 //@}
118 /** @name Other */
119 //@{
120
121 boost::optional<ThermalZone> thermalZone() const override;
122
123 bool addToThermalZone(ThermalZone& thermalZone) override;
124
125 void removeFromThermalZone() override;
126
127 virtual unsigned inletPort() const override;
128
129 virtual unsigned outletPort() const override;
130 //@}
131
132 protected:
133 private:
134 REGISTER_LOGGER("openstudio.model.ZoneHVACHighTemperatureRadiant");
135 };
136
137 } // namespace detail
138
139 } // namespace model
140 } // namespace openstudio
141
142 #endif // MODEL_ZONEHVACHIGHTEMPERATURERADIANT_IMPL_HPP
143