GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 100.0% 55 / 0 / 55
Functions: 100.0% 22 / 0 / 22
Branches: -% 0 / 0 / 0

src/isomodel/Heating.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 ISOMODEL_HEATING_HPP
7 #define ISOMODEL_HEATING_HPP
8
9 namespace openstudio {
10 namespace isomodel {
11 class Heating
12 {
13 public:
14 2 double temperatureSetPointOccupied() const {
15 2 return _temperatureSetPointOccupied;
16 }
17 1 double temperatureSetPointUnoccupied() const {
18 1 return _temperatureSetPointUnoccupied;
19 }
20 1 double hvacLossFactor() const {
21 1 return _hvacLossFactor;
22 }
23 1 double hotcoldWasteFactor() const {
24 1 return _hotcoldWasteFactor;
25 }
26 1 double efficiency() const {
27 1 return _efficiency;
28 }
29 1 double energyType() const {
30 1 return _energyType;
31 }
32 1 double pumpControlReduction() const {
33 1 return _pumpControlReduction;
34 }
35 1 double hotWaterDemand() const {
36 1 return _hotWaterDemand;
37 }
38 1 double hotWaterDistributionEfficiency() const {
39 1 return _hotWaterDistributionEfficiency;
40 }
41 1 double hotWaterSystemEfficiency() const {
42 1 return _hotWaterSystemEfficiency;
43 }
44 1 double hotWaterEnergyType() const {
45 1 return _hotWaterEnergyType;
46 }
47
48 1 void setTemperatureSetPointOccupied(double value) {
49 1 _temperatureSetPointOccupied = value;
50 1 }
51 1 void setTemperatureSetPointUnoccupied(double value) {
52 1 _temperatureSetPointUnoccupied = value;
53 1 }
54 1 void setHvacLossFactor(double value) {
55 1 _hvacLossFactor = value;
56 1 }
57 1 void setHotcoldWasteFactor(double value) {
58 1 _hotcoldWasteFactor = value;
59 1 }
60 1 void setEfficiency(double value) {
61 1 _efficiency = value;
62 1 }
63 1 void setEnergyType(double value) {
64 1 _energyType = value;
65 1 }
66 1 void setPumpControlReduction(double value) {
67 1 _pumpControlReduction = value;
68 1 }
69 1 void setHotWaterDemand(double value) {
70 1 _hotWaterDemand = value;
71 1 }
72 1 void setHotWaterDistributionEfficiency(double value) {
73 1 _hotWaterDistributionEfficiency = value;
74 1 }
75 1 void setHotWaterSystemEfficiency(double value) {
76 1 _hotWaterSystemEfficiency = value;
77 1 }
78 1 void setHotWaterEnergyType(double value) {
79 1 _hotWaterEnergyType = value;
80 1 }
81
82 private:
83 double _temperatureSetPointOccupied = 0;
84 double _temperatureSetPointUnoccupied = 0;
85 double _hvacLossFactor = 0;
86 double _efficiency = 0;
87 double _energyType = 0;
88 double _pumpControlReduction = 0;
89 double _hotWaterDemand = 0;
90 double _hotWaterDistributionEfficiency = 0;
91 double _hotWaterSystemEfficiency = 0;
92 double _hotWaterEnergyType = 0;
93 double _hotcoldWasteFactor = 0;
94 };
95
96 } // namespace isomodel
97 } // namespace openstudio
98 #endif // ISOMODEL_HEATING_HPP
99