GCC Code Coverage Report


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

src/isomodel/Ventilation.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_VENTILATION_HPP
7 #define ISOMODEL_VENTILATION_HPP
8
9 namespace openstudio {
10 namespace isomodel {
11 class Ventilation
12 {
13 public:
14 2 double supplyRate() const {
15 2 return _supplyRate;
16 }
17 1 double supplyDifference() const {
18 1 return _supplyDifference;
19 }
20 1 double heatRecoveryEfficiency() const {
21 1 return _heatRecoveryEfficiency;
22 }
23 1 double exhaustAirRecirculated() const {
24 1 return _exhaustAirRecirculated;
25 }
26 1 double type() const {
27 1 return _type;
28 }
29 2 double fanPower() const {
30 2 return _fanPower;
31 }
32 2 double fanControlFactor() const {
33 2 return _fanControlFactor;
34 }
35 double wasteFactor() const {
36 return _wasteFactor;
37 }
38
39 1 void setSupplyRate(double value) {
40 1 _supplyRate = value;
41 1 }
42 1 void setSupplyDifference(double value) {
43 1 _supplyDifference = value;
44 1 }
45 1 void setHeatRecoveryEfficiency(double value) {
46 1 _heatRecoveryEfficiency = value;
47 1 }
48 1 void setExhaustAirRecirculated(double value) {
49 1 _exhaustAirRecirculated = value;
50 1 }
51 1 void setType(double value) {
52 1 _type = value;
53 1 }
54 1 void setFanPower(double value) {
55 1 _fanPower = value;
56 1 }
57 1 void setFanControlFactor(double value) {
58 1 _fanControlFactor = value;
59 1 }
60 1 void setWasteFactor(double value) {
61 1 _wasteFactor = value;
62 1 }
63
64 private:
65 double _supplyRate = 0;
66 double _supplyDifference = 0;
67 double _heatRecoveryEfficiency = 0;
68 double _exhaustAirRecirculated = 0;
69 double _type = 0;
70 double _fanPower = 0;
71 double _fanControlFactor = 0;
72 double _wasteFactor = 0;
73 };
74 } // namespace isomodel
75 } // namespace openstudio
76 #endif // ISOMODEL_VENTILATION_HPP
77