src/model/CoilCoolingDXVariableRefrigerantFlowFluidTemperatureControl.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_COILCOOLINGDXVARIABLEREFRIGERANTFLOWFLUIDTEMPERATURECONTROL_HPP | ||
| 7 | #define MODEL_COILCOOLINGDXVARIABLEREFRIGERANTFLOWFLUIDTEMPERATURECONTROL_HPP | ||
| 8 | |||
| 9 | #include <model/ModelAPI.hpp> | ||
| 10 | #include "HVACComponent.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | |||
| 14 | namespace model { | ||
| 15 | |||
| 16 | class Schedule; | ||
| 17 | class Curve; | ||
| 18 | |||
| 19 | namespace detail { | ||
| 20 | |||
| 21 | class CoilCoolingDXVariableRefrigerantFlowFluidTemperatureControl_Impl; | ||
| 22 | |||
| 23 | } // namespace detail | ||
| 24 | |||
| 25 | /** CoilCoolingDXVariableRefrigerantFlowFluidTemperatureControl is a HVACComponent that wraps the OpenStudio IDD object 'OS:Coil:Cooling:DX:VariableRefrigerantFlow:FluidTemperatureControl'. */ | ||
| 26 | class MODEL_API CoilCoolingDXVariableRefrigerantFlowFluidTemperatureControl : public HVACComponent | ||
| 27 | { | ||
| 28 | public: | ||
| 29 | /** @name Constructors and Destructors */ | ||
| 30 | //@{ | ||
| 31 | |||
| 32 | explicit CoilCoolingDXVariableRefrigerantFlowFluidTemperatureControl(const Model& model); | ||
| 33 | |||
| 34 | 37 | virtual ~CoilCoolingDXVariableRefrigerantFlowFluidTemperatureControl() override = default; | |
| 35 | // Default the copy and move operators because the virtual dtor is explicit | ||
| 36 | ✗ | CoilCoolingDXVariableRefrigerantFlowFluidTemperatureControl(const CoilCoolingDXVariableRefrigerantFlowFluidTemperatureControl& other) = default; | |
| 37 | ✗ | CoilCoolingDXVariableRefrigerantFlowFluidTemperatureControl(CoilCoolingDXVariableRefrigerantFlowFluidTemperatureControl&& other) = default; | |
| 38 | CoilCoolingDXVariableRefrigerantFlowFluidTemperatureControl& | ||
| 39 | ✗ | operator=(const CoilCoolingDXVariableRefrigerantFlowFluidTemperatureControl&) = default; | |
| 40 | ✗ | CoilCoolingDXVariableRefrigerantFlowFluidTemperatureControl& operator=(CoilCoolingDXVariableRefrigerantFlowFluidTemperatureControl&&) = default; | |
| 41 | |||
| 42 | //@} | ||
| 43 | |||
| 44 | static IddObjectType iddObjectType(); | ||
| 45 | |||
| 46 | /** @name Getters */ | ||
| 47 | //@{ | ||
| 48 | |||
| 49 | Schedule availabilitySchedule() const; | ||
| 50 | |||
| 51 | boost::optional<double> ratedTotalCoolingCapacity() const; | ||
| 52 | |||
| 53 | bool isRatedTotalCoolingCapacityAutosized() const; | ||
| 54 | |||
| 55 | boost::optional<double> autosizedRatedTotalCoolingCapacity(); | ||
| 56 | |||
| 57 | boost::optional<double> ratedSensibleHeatRatio() const; | ||
| 58 | |||
| 59 | bool isRatedSensibleHeatRatioAutosized() const; | ||
| 60 | |||
| 61 | boost::optional<double> autosizedRatedSensibleHeatRatio(); | ||
| 62 | |||
| 63 | double indoorUnitReferenceSuperheating() const; | ||
| 64 | |||
| 65 | Curve indoorUnitEvaporatingTemperatureFunctionofSuperheatingCurve() const; | ||
| 66 | |||
| 67 | //@} | ||
| 68 | /** @name Setters */ | ||
| 69 | //@{ | ||
| 70 | |||
| 71 | bool setAvailabilitySchedule(Schedule& schedule); | ||
| 72 | |||
| 73 | bool setRatedTotalCoolingCapacity(double ratedTotalCoolingCapacity); | ||
| 74 | |||
| 75 | void autosizeRatedTotalCoolingCapacity(); | ||
| 76 | |||
| 77 | bool setRatedSensibleHeatRatio(double ratedSensibleHeatRatio); | ||
| 78 | |||
| 79 | void autosizeRatedSensibleHeatRatio(); | ||
| 80 | |||
| 81 | bool setIndoorUnitReferenceSuperheating(double indoorUnitReferenceSuperheating); | ||
| 82 | |||
| 83 | bool setIndoorUnitEvaporatingTemperatureFunctionofSuperheatingCurve(const Curve& curve); | ||
| 84 | |||
| 85 | //@} | ||
| 86 | /** @name Other */ | ||
| 87 | //@{ | ||
| 88 | |||
| 89 | boost::optional<double> autosizedRatedAirFlowRate() const; | ||
| 90 | |||
| 91 | //@} | ||
| 92 | protected: | ||
| 93 | /// @cond | ||
| 94 | using ImplType = detail::CoilCoolingDXVariableRefrigerantFlowFluidTemperatureControl_Impl; | ||
| 95 | |||
| 96 | explicit CoilCoolingDXVariableRefrigerantFlowFluidTemperatureControl( | ||
| 97 | std::shared_ptr<detail::CoilCoolingDXVariableRefrigerantFlowFluidTemperatureControl_Impl> impl); | ||
| 98 | |||
| 99 | friend class detail::CoilCoolingDXVariableRefrigerantFlowFluidTemperatureControl_Impl; | ||
| 100 | friend class Model; | ||
| 101 | friend class IdfObject; | ||
| 102 | friend class openstudio::detail::IdfObject_Impl; | ||
| 103 | /// @endcond | ||
| 104 | private: | ||
| 105 | REGISTER_LOGGER("openstudio.model.CoilCoolingDXVariableRefrigerantFlowFluidTemperatureControl"); | ||
| 106 | }; | ||
| 107 | |||
| 108 | /** \relates CoilCoolingDXVariableRefrigerantFlowFluidTemperatureControl*/ | ||
| 109 | using OptionalCoilCoolingDXVariableRefrigerantFlowFluidTemperatureControl = | ||
| 110 | boost::optional<CoilCoolingDXVariableRefrigerantFlowFluidTemperatureControl>; | ||
| 111 | |||
| 112 | /** \relates CoilCoolingDXVariableRefrigerantFlowFluidTemperatureControl*/ | ||
| 113 | using CoilCoolingDXVariableRefrigerantFlowFluidTemperatureControlVector = std::vector<CoilCoolingDXVariableRefrigerantFlowFluidTemperatureControl>; | ||
| 114 | |||
| 115 | } // namespace model | ||
| 116 | } // namespace openstudio | ||
| 117 | |||
| 118 | #endif // MODEL_COILCOOLINGDXVARIABLEREFRIGERANTFLOWFLUIDTEMPERATURECONTROL_HPP | ||
| 119 |