src/model/CoilCoolingDXVariableRefrigerantFlow.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_COILCOOLINGDXVARIABLEREFRIGERANTFLOW_HPP | ||
| 7 | #define MODEL_COILCOOLINGDXVARIABLEREFRIGERANTFLOW_HPP | ||
| 8 | |||
| 9 | #include "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 CoilCoolingDXVariableRefrigerantFlow_Impl; | ||
| 22 | |||
| 23 | } // namespace detail | ||
| 24 | |||
| 25 | /** CoilCoolingDXVariableRefrigerantFlow is a HVACComponent that wraps the OpenStudio IDD object 'OS:Coil:Cooling:DX:VariableRefrigerantFlow'. */ | ||
| 26 | class MODEL_API CoilCoolingDXVariableRefrigerantFlow : public HVACComponent | ||
| 27 | { | ||
| 28 | |||
| 29 | public: | ||
| 30 | explicit CoilCoolingDXVariableRefrigerantFlow(const Model& model); | ||
| 31 | |||
| 32 | 72 | virtual ~CoilCoolingDXVariableRefrigerantFlow() override = default; | |
| 33 | // Default the copy and move operators because the virtual dtor is explicit | ||
| 34 | ✗ | CoilCoolingDXVariableRefrigerantFlow(const CoilCoolingDXVariableRefrigerantFlow& other) = default; | |
| 35 | ✗ | CoilCoolingDXVariableRefrigerantFlow(CoilCoolingDXVariableRefrigerantFlow&& other) = default; | |
| 36 | ✗ | CoilCoolingDXVariableRefrigerantFlow& operator=(const CoilCoolingDXVariableRefrigerantFlow&) = default; | |
| 37 | ✗ | CoilCoolingDXVariableRefrigerantFlow& operator=(CoilCoolingDXVariableRefrigerantFlow&&) = default; | |
| 38 | |||
| 39 | static IddObjectType iddObjectType(); | ||
| 40 | |||
| 41 | Schedule availabilitySchedule() const; | ||
| 42 | |||
| 43 | bool setAvailabilitySchedule(Schedule& schedule); | ||
| 44 | |||
| 45 | boost::optional<double> ratedTotalCoolingCapacity() const; | ||
| 46 | |||
| 47 | bool isRatedTotalCoolingCapacityAutosized() const; | ||
| 48 | |||
| 49 | bool setRatedTotalCoolingCapacity(double ratedTotalCoolingCapacity); | ||
| 50 | |||
| 51 | void autosizeRatedTotalCoolingCapacity(); | ||
| 52 | |||
| 53 | boost::optional<double> ratedSensibleHeatRatio() const; | ||
| 54 | |||
| 55 | bool isRatedSensibleHeatRatioAutosized() const; | ||
| 56 | |||
| 57 | bool setRatedSensibleHeatRatio(double ratedSensibleHeatRatio); | ||
| 58 | |||
| 59 | void autosizeRatedSensibleHeatRatio(); | ||
| 60 | |||
| 61 | boost::optional<double> ratedAirFlowRate() const; | ||
| 62 | |||
| 63 | bool isRatedAirFlowRateAutosized() const; | ||
| 64 | |||
| 65 | bool setRatedAirFlowRate(double ratedAirFlowRate); | ||
| 66 | |||
| 67 | void autosizeRatedAirFlowRate(); | ||
| 68 | |||
| 69 | Curve coolingCapacityRatioModifierFunctionofTemperatureCurve() const; | ||
| 70 | |||
| 71 | bool setCoolingCapacityRatioModifierFunctionofTemperatureCurve(const Curve& lcurve); | ||
| 72 | |||
| 73 | Curve coolingCapacityModifierCurveFunctionofFlowFraction() const; | ||
| 74 | |||
| 75 | bool setCoolingCapacityModifierCurveFunctionofFlowFraction(const Curve& lcurve); | ||
| 76 | |||
| 77 | boost::optional<double> autosizedRatedTotalCoolingCapacity() const; | ||
| 78 | |||
| 79 | boost::optional<double> autosizedRatedSensibleHeatRatio() const; | ||
| 80 | |||
| 81 | boost::optional<double> autosizedRatedAirFlowRate() const; | ||
| 82 | |||
| 83 | protected: | ||
| 84 | /// @cond | ||
| 85 | using ImplType = detail::CoilCoolingDXVariableRefrigerantFlow_Impl; | ||
| 86 | |||
| 87 | explicit CoilCoolingDXVariableRefrigerantFlow(std::shared_ptr<detail::CoilCoolingDXVariableRefrigerantFlow_Impl> impl); | ||
| 88 | |||
| 89 | friend class detail::CoilCoolingDXVariableRefrigerantFlow_Impl; | ||
| 90 | friend class Model; | ||
| 91 | friend class IdfObject; | ||
| 92 | friend class openstudio::detail::IdfObject_Impl; | ||
| 93 | /// @endcond | ||
| 94 | |||
| 95 | private: | ||
| 96 | REGISTER_LOGGER("openstudio.model.CoilCoolingDXVariableRefrigerantFlow"); | ||
| 97 | }; | ||
| 98 | |||
| 99 | /** \relates CoilCoolingDXVariableRefrigerantFlow*/ | ||
| 100 | using OptionalCoilCoolingDXVariableRefrigerantFlow = boost::optional<CoilCoolingDXVariableRefrigerantFlow>; | ||
| 101 | |||
| 102 | /** \relates CoilCoolingDXVariableRefrigerantFlow*/ | ||
| 103 | using CoilCoolingDXVariableRefrigerantFlowVector = std::vector<CoilCoolingDXVariableRefrigerantFlow>; | ||
| 104 | |||
| 105 | } // namespace model | ||
| 106 | } // namespace openstudio | ||
| 107 | |||
| 108 | #endif // MODEL_COILCOOLINGDXVARIABLEREFRIGERANTFLOW_HPP | ||
| 109 |