src/isomodel/Population.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_POPULATION_HPP | ||
| 7 | #define ISOMODEL_POPULATION_HPP | ||
| 8 | |||
| 9 | namespace openstudio { | ||
| 10 | namespace isomodel { | ||
| 11 | class Population | ||
| 12 | { | ||
| 13 | public: | ||
| 14 | 3 | double hoursEnd() const { | |
| 15 | 3 | return _hoursEnd; | |
| 16 | } | ||
| 17 | 3 | double hoursStart() const { | |
| 18 | 3 | return _hoursStart; | |
| 19 | } | ||
| 20 | 3 | double daysEnd() const { | |
| 21 | 3 | return _daysEnd; | |
| 22 | } | ||
| 23 | 3 | double daysStart() const { | |
| 24 | 3 | return _daysStart; | |
| 25 | } | ||
| 26 | 1 | double densityOccupied() const { | |
| 27 | 1 | return _densityOccupied; | |
| 28 | } | ||
| 29 | 1 | double densityUnoccupied() const { | |
| 30 | 1 | return _densityUnoccupied; | |
| 31 | } | ||
| 32 | 2 | double heatGainPerPerson() const { | |
| 33 | 2 | return _heatGainPerPerson; | |
| 34 | } | ||
| 35 | |||
| 36 | 1 | void setHoursEnd(double value) { | |
| 37 | 1 | _hoursEnd = value; | |
| 38 | 1 | } | |
| 39 | 1 | void setHoursStart(double value) { | |
| 40 | 1 | _hoursStart = value; | |
| 41 | 1 | } | |
| 42 | 1 | void setDaysEnd(double value) { | |
| 43 | 1 | _daysEnd = value; | |
| 44 | 1 | } | |
| 45 | 1 | void setDaysStart(double value) { | |
| 46 | 1 | _daysStart = value; | |
| 47 | 1 | } | |
| 48 | 1 | void setDensityOccupied(double value) { | |
| 49 | 1 | _densityOccupied = value; | |
| 50 | 1 | } | |
| 51 | 1 | void setDensityUnoccupied(double value) { | |
| 52 | 1 | _densityUnoccupied = value; | |
| 53 | 1 | } | |
| 54 | 1 | void setHeatGainPerPerson(double value) { | |
| 55 | 1 | _heatGainPerPerson = value; | |
| 56 | 1 | } | |
| 57 | |||
| 58 | private: | ||
| 59 | double _hoursEnd = 0; | ||
| 60 | double _hoursStart = 0; | ||
| 61 | double _daysEnd = 0; | ||
| 62 | double _daysStart = 0; | ||
| 63 | double _densityOccupied = 0; | ||
| 64 | double _densityUnoccupied = 0; | ||
| 65 | double _heatGainPerPerson = 0; | ||
| 66 | }; | ||
| 67 | |||
| 68 | } // namespace isomodel | ||
| 69 | } // namespace openstudio | ||
| 70 | #endif // ISOMODEL_POPULATION_HPP | ||
| 71 |