src/model/CurveFanPressureRise_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_CURVEFANPRESSURERISE_IMPL_HPP | ||
| 7 | #define MODEL_CURVEFANPRESSURERISE_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "Curve_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | namespace detail { | ||
| 16 | |||
| 17 | /** CurveFanPressureRise_Impl is a Curve_Impl that is the implementation class for CurveFanPressureRise.*/ | ||
| 18 | class MODEL_API CurveFanPressureRise_Impl : public Curve_Impl | ||
| 19 | { | ||
| 20 | |||
| 21 | public: | ||
| 22 | /** @name Constructors and Destructors */ | ||
| 23 | //@{ | ||
| 24 | |||
| 25 | CurveFanPressureRise_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 26 | |||
| 27 | CurveFanPressureRise_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 28 | |||
| 29 | CurveFanPressureRise_Impl(const CurveFanPressureRise_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 30 | |||
| 31 | 25 | virtual ~CurveFanPressureRise_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 | virtual int numVariables() const override; | ||
| 42 | |||
| 43 | virtual double evaluate(const std::vector<double>& independentVariables) const override; | ||
| 44 | |||
| 45 | //@} | ||
| 46 | /** @name Getters */ | ||
| 47 | //@{ | ||
| 48 | |||
| 49 | double coefficient1C1() const; | ||
| 50 | |||
| 51 | double coefficient2C2() const; | ||
| 52 | |||
| 53 | double coefficient3C3() const; | ||
| 54 | |||
| 55 | double coefficient4C4() const; | ||
| 56 | |||
| 57 | double minimumValueofQfan() const; | ||
| 58 | |||
| 59 | double maximumValueofQfan() const; | ||
| 60 | |||
| 61 | double minimumValueofPsm() const; | ||
| 62 | |||
| 63 | double maximumValueofPsm() const; | ||
| 64 | |||
| 65 | boost::optional<double> minimumCurveOutput() const; | ||
| 66 | |||
| 67 | boost::optional<double> maximumCurveOutput() const; | ||
| 68 | |||
| 69 | //@} | ||
| 70 | /** @name Setters */ | ||
| 71 | //@{ | ||
| 72 | |||
| 73 | bool setCoefficient1C1(double coefficient1C1); | ||
| 74 | |||
| 75 | bool setCoefficient2C2(double coefficient2C2); | ||
| 76 | |||
| 77 | bool setCoefficient3C3(double coefficient3C3); | ||
| 78 | |||
| 79 | bool setCoefficient4C4(double coefficient4C4); | ||
| 80 | |||
| 81 | bool setMinimumValueofQfan(double minimumValueofQfan); | ||
| 82 | |||
| 83 | bool setMaximumValueofQfan(double maximumValueofQfan); | ||
| 84 | |||
| 85 | bool setMinimumValueofPsm(double minimumValueofPsm); | ||
| 86 | |||
| 87 | bool setMaximumValueofPsm(double maximumValueofPsm); | ||
| 88 | |||
| 89 | bool setMinimumCurveOutput(boost::optional<double> minimumCurveOutput); | ||
| 90 | |||
| 91 | void resetMinimumCurveOutput(); | ||
| 92 | |||
| 93 | bool setMaximumCurveOutput(boost::optional<double> maximumCurveOutput); | ||
| 94 | |||
| 95 | void resetMaximumCurveOutput(); | ||
| 96 | |||
| 97 | //@} | ||
| 98 | /** @name Other */ | ||
| 99 | //@{ | ||
| 100 | |||
| 101 | //@} | ||
| 102 | protected: | ||
| 103 | private: | ||
| 104 | − | REGISTER_LOGGER("openstudio.model.CurveFanPressureRise"); | |
| 105 | }; | ||
| 106 | |||
| 107 | } // namespace detail | ||
| 108 | |||
| 109 | } // namespace model | ||
| 110 | } // namespace openstudio | ||
| 111 | |||
| 112 | #endif // MODEL_CURVEFANPRESSURERISE_IMPL_HPP | ||
| 113 |