src/model/CoilCoolingDXCurveFitPerformance_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_COILCOOLINGDXCURVEFITPERFORMANCE_IMPL_HPP | ||
| 7 | #define MODEL_COILCOOLINGDXCURVEFITPERFORMANCE_IMPL_HPP | ||
| 8 | |||
| 9 | #include <model/ModelAPI.hpp> | ||
| 10 | #include "ResourceObject_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | class CoilCoolingDX; | ||
| 16 | class CoilCoolingDXCurveFitOperatingMode; | ||
| 17 | class Curve; | ||
| 18 | class Schedule; | ||
| 19 | |||
| 20 | namespace detail { | ||
| 21 | |||
| 22 | /** CoilCoolingDXCurveFitPerformance_Impl is a ResourceObject_Impl that is the implementation class for CoilCoolingDXCurveFitPerformance.*/ | ||
| 23 | class MODEL_API CoilCoolingDXCurveFitPerformance_Impl : public ResourceObject_Impl | ||
| 24 | { | ||
| 25 | public: | ||
| 26 | /** @name Constructors and Destructors */ | ||
| 27 | //@{ | ||
| 28 | |||
| 29 | CoilCoolingDXCurveFitPerformance_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 30 | |||
| 31 | CoilCoolingDXCurveFitPerformance_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 32 | |||
| 33 | CoilCoolingDXCurveFitPerformance_Impl(const CoilCoolingDXCurveFitPerformance_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 34 | |||
| 35 | 58 | virtual ~CoilCoolingDXCurveFitPerformance_Impl() override = default; | |
| 36 | |||
| 37 | //@} | ||
| 38 | /** @name Virtual Methods */ | ||
| 39 | //@{ | ||
| 40 | |||
| 41 | virtual const std::vector<std::string>& outputVariableNames() const override; | ||
| 42 | |||
| 43 | virtual IddObjectType iddObjectType() const override; | ||
| 44 | |||
| 45 | virtual std::vector<ScheduleTypeKey> getScheduleTypeKeys(const Schedule& schedule) const override; | ||
| 46 | |||
| 47 | virtual ModelObject clone(Model model) const override; | ||
| 48 | |||
| 49 | virtual std::vector<ModelObject> children() const override; | ||
| 50 | |||
| 51 | // If this object is still used by at least one CoilCoolingDX, refuse to remove to avoid putting the CoilCoolingDX(s) in a broken state | ||
| 52 | virtual std::vector<IdfObject> remove() override; | ||
| 53 | |||
| 54 | //@} | ||
| 55 | /** @name Getters */ | ||
| 56 | //@{ | ||
| 57 | |||
| 58 | double crankcaseHeaterCapacity() const; | ||
| 59 | |||
| 60 | boost::optional<Curve> crankcaseHeaterCapacityFunctionofTemperatureCurve() const; | ||
| 61 | |||
| 62 | double minimumOutdoorDryBulbTemperatureforCompressorOperation() const; | ||
| 63 | |||
| 64 | double maximumOutdoorDryBulbTemperatureforCrankcaseHeaterOperation() const; | ||
| 65 | |||
| 66 | double unitInternalStaticAirPressure() const; | ||
| 67 | |||
| 68 | std::string capacityControlMethod() const; | ||
| 69 | |||
| 70 | double evaporativeCondenserBasinHeaterCapacity() const; | ||
| 71 | |||
| 72 | double evaporativeCondenserBasinHeaterSetpointTemperature() const; | ||
| 73 | |||
| 74 | Schedule evaporativeCondenserBasinHeaterOperatingSchedule() const; | ||
| 75 | |||
| 76 | std::string compressorFuelType() const; | ||
| 77 | |||
| 78 | CoilCoolingDXCurveFitOperatingMode baseOperatingMode() const; | ||
| 79 | |||
| 80 | boost::optional<CoilCoolingDXCurveFitOperatingMode> alternativeOperatingMode1() const; | ||
| 81 | |||
| 82 | boost::optional<CoilCoolingDXCurveFitOperatingMode> alternativeOperatingMode2() const; | ||
| 83 | |||
| 84 | std::vector<CoilCoolingDX> coilCoolingDXs() const; | ||
| 85 | |||
| 86 | //@} | ||
| 87 | /** @name Setters */ | ||
| 88 | //@{ | ||
| 89 | |||
| 90 | bool setCrankcaseHeaterCapacity(double crankcaseHeaterCapacity); | ||
| 91 | |||
| 92 | bool setCrankcaseHeaterCapacityFunctionofTemperatureCurve(const Curve& curve); | ||
| 93 | void resetCrankcaseHeaterCapacityFunctionofTemperatureCurve(); | ||
| 94 | |||
| 95 | bool setMinimumOutdoorDryBulbTemperatureforCompressorOperation(double minimumOutdoorDryBulbTemperatureforCompressorOperation); | ||
| 96 | |||
| 97 | bool setMaximumOutdoorDryBulbTemperatureforCrankcaseHeaterOperation(double maximumOutdoorDryBulbTemperatureforCrankcaseHeaterOperation); | ||
| 98 | |||
| 99 | bool setUnitInternalStaticAirPressure(double unitInternalStaticAirPressure); | ||
| 100 | |||
| 101 | bool setCapacityControlMethod(const std::string& capacityControlMethod); | ||
| 102 | |||
| 103 | bool setEvaporativeCondenserBasinHeaterCapacity(double evaporativeCondenserBasinHeaterCapacity); | ||
| 104 | |||
| 105 | bool setEvaporativeCondenserBasinHeaterSetpointTemperature(double evaporativeCondenserBasinHeaterSetpointTemperature); | ||
| 106 | |||
| 107 | bool setEvaporativeCondenserBasinHeaterOperatingSchedule(Schedule& schedule); | ||
| 108 | |||
| 109 | bool setCompressorFuelType(const std::string& compressorFuelType); | ||
| 110 | |||
| 111 | bool setBaseOperatingMode(const CoilCoolingDXCurveFitOperatingMode& baseOperatingMode); | ||
| 112 | |||
| 113 | bool setAlternativeOperatingMode1(const CoilCoolingDXCurveFitOperatingMode& alternativeOperatingMode1); | ||
| 114 | |||
| 115 | void resetAlternativeOperatingMode1(); | ||
| 116 | |||
| 117 | bool setAlternativeOperatingMode2(const CoilCoolingDXCurveFitOperatingMode& alternativeOperatingMode2); | ||
| 118 | |||
| 119 | void resetAlternativeOperatingMode2(); | ||
| 120 | |||
| 121 | //@} | ||
| 122 | /** @name Other */ | ||
| 123 | //@{ | ||
| 124 | |||
| 125 | //@} | ||
| 126 | protected: | ||
| 127 | private: | ||
| 128 | − | REGISTER_LOGGER("openstudio.model.CoilCoolingDXCurveFitPerformance"); | |
| 129 | |||
| 130 | boost::optional<CoilCoolingDXCurveFitOperatingMode> optionalBaseOperatingMode() const; | ||
| 131 | }; | ||
| 132 | |||
| 133 | } // namespace detail | ||
| 134 | |||
| 135 | } // namespace model | ||
| 136 | } // namespace openstudio | ||
| 137 | |||
| 138 | #endif // MODEL_COILCOOLINGDXCURVEFITPERFORMANCE_IMPL_HPP | ||
| 139 |