GCC Code Coverage Report


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

src/isomodel/Cooling.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_COOLING_HPP
7 #define ISOMODEL_COOLING_HPP
8
9 namespace openstudio {
10 namespace isomodel {
11 class Cooling
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 cop() const {
21 1 return _cOP;
22 }
23 1 double partialLoadValue() const {
24 1 return _partialLoadValue;
25 }
26 1 double hvacLossFactor() const {
27 1 return _hvacLossFactor;
28 }
29 1 double pumpControlReduction() const {
30 1 return _pumpControlReduction;
31 }
32
33 1 void setTemperatureSetPointOccupied(double value) {
34 1 _temperatureSetPointOccupied = value;
35 1 }
36 1 void setTemperatureSetPointUnoccupied(double value) {
37 1 _temperatureSetPointUnoccupied = value;
38 1 }
39 1 void setCOP(double value) {
40 1 _cOP = value;
41 1 }
42 1 void setPartialLoadValue(double value) {
43 1 _partialLoadValue = value;
44 1 }
45 1 void setHvacLossFactor(double value) {
46 1 _hvacLossFactor = value;
47 1 }
48 1 void setPumpControlReduction(double value) {
49 1 _pumpControlReduction = value;
50 1 }
51
52 private:
53 double _temperatureSetPointOccupied = 0;
54 double _temperatureSetPointUnoccupied = 0;
55 double _cOP = 0;
56 double _partialLoadValue = 0;
57 double _hvacLossFactor = 0;
58 double _pumpControlReduction = 0;
59 };
60
61 } // namespace isomodel
62 } // namespace openstudio
63 #endif // ISOMODEL_COOLING_HPP
64