src/model/CoilHeatingDesuperheater_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_COILHEATINGDESUPERHEATER_IMPL_HPP | ||
| 7 | #define MODEL_COILHEATINGDESUPERHEATER_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "StraightComponent_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | class Schedule; | ||
| 16 | class ModelObject; | ||
| 17 | |||
| 18 | namespace detail { | ||
| 19 | |||
| 20 | /** CoilHeatingDesuperheater_Impl is a StraightComponent_Impl that is the implementation class for CoilHeatingDesuperheater.*/ | ||
| 21 | class MODEL_API CoilHeatingDesuperheater_Impl : public StraightComponent_Impl | ||
| 22 | { | ||
| 23 | public: | ||
| 24 | /** @name Constructors and Destructors */ | ||
| 25 | //@{ | ||
| 26 | |||
| 27 | CoilHeatingDesuperheater_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 28 | |||
| 29 | CoilHeatingDesuperheater_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 30 | |||
| 31 | CoilHeatingDesuperheater_Impl(const CoilHeatingDesuperheater_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 32 | |||
| 33 | 57 | virtual ~CoilHeatingDesuperheater_Impl() override = default; | |
| 34 | |||
| 35 | //@} | ||
| 36 | /** @name Virtual Methods */ | ||
| 37 | //@{ | ||
| 38 | |||
| 39 | virtual unsigned inletPort() const override; | ||
| 40 | |||
| 41 | virtual unsigned outletPort() const override; | ||
| 42 | |||
| 43 | virtual const std::vector<std::string>& outputVariableNames() const override; | ||
| 44 | |||
| 45 | virtual IddObjectType iddObjectType() const override; | ||
| 46 | |||
| 47 | virtual std::vector<ModelObject> children() const override; | ||
| 48 | |||
| 49 | virtual ModelObject clone(Model model) const override; | ||
| 50 | |||
| 51 | virtual bool addToNode(Node& node) override; | ||
| 52 | |||
| 53 | virtual std::vector<ScheduleTypeKey> getScheduleTypeKeys(const Schedule& schedule) const override; | ||
| 54 | |||
| 55 | virtual ComponentType componentType() const override; | ||
| 56 | virtual std::vector<FuelType> coolingFuelTypes() const override; | ||
| 57 | virtual std::vector<FuelType> heatingFuelTypes() const override; | ||
| 58 | virtual std::vector<AppGFuelType> appGHeatingFuelTypes() const override; | ||
| 59 | |||
| 60 | //@} | ||
| 61 | /** @name Getters */ | ||
| 62 | //@{ | ||
| 63 | |||
| 64 | boost::optional<Schedule> availabilitySchedule() const; | ||
| 65 | |||
| 66 | double heatReclaimRecoveryEfficiency() const; | ||
| 67 | |||
| 68 | bool isHeatReclaimRecoveryEfficiencyDefaulted() const; | ||
| 69 | |||
| 70 | boost::optional<ModelObject> heatingSource() const; | ||
| 71 | |||
| 72 | double onCycleParasiticElectricLoad() const; | ||
| 73 | |||
| 74 | bool isOnCycleParasiticElectricLoadDefaulted() const; | ||
| 75 | |||
| 76 | //@} | ||
| 77 | /** @name Setters */ | ||
| 78 | //@{ | ||
| 79 | |||
| 80 | bool setAvailabilitySchedule(Schedule& schedule); | ||
| 81 | |||
| 82 | void resetAvailabilitySchedule(); | ||
| 83 | |||
| 84 | bool setHeatReclaimRecoveryEfficiency(double heatReclaimRecoveryEfficiency); | ||
| 85 | |||
| 86 | void resetHeatReclaimRecoveryEfficiency(); | ||
| 87 | |||
| 88 | bool setHeatingSource(const boost::optional<ModelObject>& modelObject); | ||
| 89 | |||
| 90 | void resetHeatingSource(); | ||
| 91 | |||
| 92 | bool setOnCycleParasiticElectricLoad(double onCycleParasiticElectricLoad); | ||
| 93 | |||
| 94 | void resetOnCycleParasiticElectricLoad(); | ||
| 95 | |||
| 96 | //@} | ||
| 97 | /** @name Other */ | ||
| 98 | //@{ | ||
| 99 | |||
| 100 | AirflowNetworkEquivalentDuct getAirflowNetworkEquivalentDuct(double length, double diameter); | ||
| 101 | |||
| 102 | boost::optional<AirflowNetworkEquivalentDuct> airflowNetworkEquivalentDuct() const; | ||
| 103 | |||
| 104 | //@} | ||
| 105 | protected: | ||
| 106 | private: | ||
| 107 | − | REGISTER_LOGGER("openstudio.model.CoilHeatingDesuperheater"); | |
| 108 | |||
| 109 | virtual boost::optional<HVACComponent> containingHVACComponent() const override; | ||
| 110 | }; | ||
| 111 | |||
| 112 | } // namespace detail | ||
| 113 | |||
| 114 | } // namespace model | ||
| 115 | } // namespace openstudio | ||
| 116 | |||
| 117 | #endif // MODEL_COILHEATINGDESUPERHEATER_IMPL_HPP | ||
| 118 |