src/model/SolarCollectorPerformanceFlatPlate_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_SOLARCOLLECTORPERFORMANCEFLATPLATE_IMPL_HPP | ||
| 7 | #define MODEL_SOLARCOLLECTORPERFORMANCEFLATPLATE_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "ModelObject_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | namespace detail { | ||
| 16 | |||
| 17 | /** SolarCollectorPerformanceFlatPlate_Impl is a ModelObject_Impl that is the implementation class for SolarCollectorPerformanceFlatPlate.*/ | ||
| 18 | class MODEL_API SolarCollectorPerformanceFlatPlate_Impl : public ModelObject_Impl | ||
| 19 | { | ||
| 20 | |||
| 21 | public: | ||
| 22 | /** @name Constructors and Destructors */ | ||
| 23 | //@{ | ||
| 24 | |||
| 25 | SolarCollectorPerformanceFlatPlate_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 26 | |||
| 27 | SolarCollectorPerformanceFlatPlate_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 28 | |||
| 29 | SolarCollectorPerformanceFlatPlate_Impl(const SolarCollectorPerformanceFlatPlate_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 30 | |||
| 31 | 10 | virtual ~SolarCollectorPerformanceFlatPlate_Impl() override = default; | |
| 32 | |||
| 33 | //@} | ||
| 34 | /** @name Virtual Methods */ | ||
| 35 | //@{ | ||
| 36 | |||
| 37 | virtual const std::vector<std::string>& outputVariableNames() const override; | ||
| 38 | |||
| 39 | virtual IddObjectType iddObjectType() const override; | ||
| 40 | |||
| 41 | //@} | ||
| 42 | /** @name Getters */ | ||
| 43 | //@{ | ||
| 44 | |||
| 45 | double grossArea() const; | ||
| 46 | |||
| 47 | std::string testFluid() const; | ||
| 48 | |||
| 49 | bool isTestFluidDefaulted() const; | ||
| 50 | |||
| 51 | double testFlowRate() const; | ||
| 52 | |||
| 53 | std::string testCorrelationType() const; | ||
| 54 | |||
| 55 | double coefficient1ofEfficiencyEquation() const; | ||
| 56 | |||
| 57 | double coefficient2ofEfficiencyEquation() const; | ||
| 58 | |||
| 59 | boost::optional<double> coefficient3ofEfficiencyEquation() const; | ||
| 60 | |||
| 61 | boost::optional<double> coefficient2ofIncidentAngleModifier() const; | ||
| 62 | |||
| 63 | boost::optional<double> coefficient3ofIncidentAngleModifier() const; | ||
| 64 | |||
| 65 | //@} | ||
| 66 | /** @name Setters */ | ||
| 67 | //@{ | ||
| 68 | |||
| 69 | bool setGrossArea(double grossArea); | ||
| 70 | |||
| 71 | bool setTestFluid(const std::string& testFluid); | ||
| 72 | |||
| 73 | void resetTestFluid(); | ||
| 74 | |||
| 75 | bool setTestFlowRate(double testFlowRate); | ||
| 76 | |||
| 77 | bool setTestCorrelationType(const std::string& testCorrelationType); | ||
| 78 | |||
| 79 | bool setCoefficient1ofEfficiencyEquation(double coefficient1ofEfficiencyEquation); | ||
| 80 | |||
| 81 | bool setCoefficient2ofEfficiencyEquation(double coefficient2ofEfficiencyEquation); | ||
| 82 | |||
| 83 | bool setCoefficient3ofEfficiencyEquation(boost::optional<double> coefficient3ofEfficiencyEquation); | ||
| 84 | |||
| 85 | void resetCoefficient3ofEfficiencyEquation(); | ||
| 86 | |||
| 87 | bool setCoefficient2ofIncidentAngleModifier(boost::optional<double> coefficient2ofIncidentAngleModifier); | ||
| 88 | |||
| 89 | void resetCoefficient2ofIncidentAngleModifier(); | ||
| 90 | |||
| 91 | bool setCoefficient3ofIncidentAngleModifier(boost::optional<double> coefficient3ofIncidentAngleModifier); | ||
| 92 | |||
| 93 | void resetCoefficient3ofIncidentAngleModifier(); | ||
| 94 | |||
| 95 | //@} | ||
| 96 | /** @name Other */ | ||
| 97 | //@{ | ||
| 98 | |||
| 99 | //@} | ||
| 100 | protected: | ||
| 101 | private: | ||
| 102 | REGISTER_LOGGER("openstudio.model.SolarCollectorPerformanceFlatPlate"); | ||
| 103 | }; | ||
| 104 | |||
| 105 | } // namespace detail | ||
| 106 | |||
| 107 | } // namespace model | ||
| 108 | } // namespace openstudio | ||
| 109 | |||
| 110 | #endif // MODEL_SOLARCOLLECTORPERFORMANCEFLATPLATE_IMPL_HPP | ||
| 111 |