src/model/FluidCoolerSingleSpeed_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_FLUIDCOOLERSINGLESPEED_IMPL_HPP | ||
| 7 | #define MODEL_FLUIDCOOLERSINGLESPEED_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "StraightComponent_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | |||
| 14 | namespace model { | ||
| 15 | |||
| 16 | class Node; | ||
| 17 | |||
| 18 | namespace detail { | ||
| 19 | |||
| 20 | /** FluidCoolerSingleSpeed_Impl is a StraightComponent_Impl that is the implementation class for FluidCoolerSingleSpeed.*/ | ||
| 21 | class MODEL_API FluidCoolerSingleSpeed_Impl : public StraightComponent_Impl | ||
| 22 | { | ||
| 23 | public: | ||
| 24 | /** @name Constructors and Destructors */ | ||
| 25 | //@{ | ||
| 26 | |||
| 27 | FluidCoolerSingleSpeed_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 28 | |||
| 29 | FluidCoolerSingleSpeed_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 30 | |||
| 31 | FluidCoolerSingleSpeed_Impl(const FluidCoolerSingleSpeed_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 32 | |||
| 33 | 1 | virtual ~FluidCoolerSingleSpeed_Impl() override = default; | |
| 34 | |||
| 35 | //@} | ||
| 36 | /** @name Virtual Methods */ | ||
| 37 | //@{ | ||
| 38 | |||
| 39 | virtual const std::vector<std::string>& outputVariableNames() const override; | ||
| 40 | |||
| 41 | virtual IddObjectType iddObjectType() const override; | ||
| 42 | |||
| 43 | virtual unsigned inletPort() const override; | ||
| 44 | |||
| 45 | virtual unsigned outletPort() const override; | ||
| 46 | |||
| 47 | virtual bool addToNode(Node& node) override; | ||
| 48 | |||
| 49 | virtual void autosize() override; | ||
| 50 | |||
| 51 | virtual void applySizingValues() override; | ||
| 52 | |||
| 53 | virtual ComponentType componentType() const override; | ||
| 54 | virtual std::vector<FuelType> coolingFuelTypes() const override; | ||
| 55 | virtual std::vector<FuelType> heatingFuelTypes() const override; | ||
| 56 | virtual std::vector<AppGFuelType> appGHeatingFuelTypes() const override; | ||
| 57 | |||
| 58 | //@} | ||
| 59 | /** @name Getters */ | ||
| 60 | //@{ | ||
| 61 | |||
| 62 | std::string performanceInputMethod() const; | ||
| 63 | |||
| 64 | boost::optional<double> designAirFlowRateUfactorTimesAreaValue() const; | ||
| 65 | |||
| 66 | bool isDesignAirFlowRateUfactorTimesAreaValueAutosized() const; | ||
| 67 | |||
| 68 | double nominalCapacity() const; | ||
| 69 | |||
| 70 | double designEnteringWaterTemperature() const; | ||
| 71 | |||
| 72 | double designEnteringAirTemperature() const; | ||
| 73 | |||
| 74 | double designEnteringAirWetbulbTemperature() const; | ||
| 75 | |||
| 76 | boost::optional<double> designWaterFlowRate() const; | ||
| 77 | |||
| 78 | bool isDesignWaterFlowRateAutosized() const; | ||
| 79 | |||
| 80 | boost::optional<double> designAirFlowRate() const; | ||
| 81 | |||
| 82 | bool isDesignAirFlowRateAutosized() const; | ||
| 83 | |||
| 84 | boost::optional<double> designAirFlowRateFanPower() const; | ||
| 85 | |||
| 86 | bool isDesignAirFlowRateFanPowerAutosized() const; | ||
| 87 | |||
| 88 | boost::optional<Node> outdoorAirInletNode() const; | ||
| 89 | |||
| 90 | boost::optional<double> autosizedDesignAirFlowRateUfactorTimesAreaValue() const; | ||
| 91 | |||
| 92 | boost::optional<double> autosizedDesignWaterFlowRate() const; | ||
| 93 | |||
| 94 | boost::optional<double> autosizedDesignAirFlowRate() const; | ||
| 95 | |||
| 96 | boost::optional<double> autosizedDesignAirFlowRateFanPower() const; | ||
| 97 | |||
| 98 | //@} | ||
| 99 | /** @name Setters */ | ||
| 100 | //@{ | ||
| 101 | |||
| 102 | bool setPerformanceInputMethod(const std::string& performanceInputMethod); | ||
| 103 | |||
| 104 | bool setDesignAirFlowRateUfactorTimesAreaValue(boost::optional<double> designAirFlowRateUfactorTimesAreaValue); | ||
| 105 | |||
| 106 | void autosizeDesignAirFlowRateUfactorTimesAreaValue(); | ||
| 107 | |||
| 108 | bool setNominalCapacity(double nominalCapacity); | ||
| 109 | |||
| 110 | bool setDesignEnteringWaterTemperature(double designEnteringWaterTemperature); | ||
| 111 | |||
| 112 | bool setDesignEnteringAirTemperature(double designEnteringAirTemperature); | ||
| 113 | |||
| 114 | bool setDesignEnteringAirWetbulbTemperature(double designEnteringAirWetbulbTemperature); | ||
| 115 | |||
| 116 | bool setDesignWaterFlowRate(boost::optional<double> designWaterFlowRate); | ||
| 117 | |||
| 118 | void autosizeDesignWaterFlowRate(); | ||
| 119 | |||
| 120 | bool setDesignAirFlowRate(boost::optional<double> designAirFlowRate); | ||
| 121 | |||
| 122 | void autosizeDesignAirFlowRate(); | ||
| 123 | |||
| 124 | bool setDesignAirFlowRateFanPower(boost::optional<double> designAirFlowRateFanPower); | ||
| 125 | |||
| 126 | void autosizeDesignAirFlowRateFanPower(); | ||
| 127 | |||
| 128 | bool setOutdoorAirInletNode(const boost::optional<Node>& node); | ||
| 129 | |||
| 130 | void resetOutdoorAirInletNode(); | ||
| 131 | |||
| 132 | //@} | ||
| 133 | /** @name Other */ | ||
| 134 | //@{ | ||
| 135 | |||
| 136 | //@} | ||
| 137 | protected: | ||
| 138 | private: | ||
| 139 | REGISTER_LOGGER("openstudio.model.FluidCoolerSingleSpeed"); | ||
| 140 | }; | ||
| 141 | |||
| 142 | } // namespace detail | ||
| 143 | |||
| 144 | } // namespace model | ||
| 145 | } // namespace openstudio | ||
| 146 | |||
| 147 | #endif // MODEL_FLUIDCOOLERSINGLESPEED_IMPL_HPP | ||
| 148 |