src/model/ZoneHVACCoolingPanelRadiantConvectiveWater_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_ZONEHVACCOOLINGPANELRADIANTCONVECTIVEWATER_IMPL_HPP | ||
| 7 | #define MODEL_ZONEHVACCOOLINGPANELRADIANTCONVECTIVEWATER_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "ZoneHVACComponent_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | class Schedule; | ||
| 16 | class Surface; | ||
| 17 | class ThermalZone; | ||
| 18 | class HVACComponent; | ||
| 19 | |||
| 20 | namespace detail { | ||
| 21 | |||
| 22 | /** ZoneHVACCoolingPanelRadiantConvectiveWater_Impl is a ZoneHVACComponent_Impl that is the implementation class for ZoneHVACCoolingPanelRadiantConvectiveWater.*/ | ||
| 23 | class MODEL_API ZoneHVACCoolingPanelRadiantConvectiveWater_Impl : public ZoneHVACComponent_Impl | ||
| 24 | { | ||
| 25 | public: | ||
| 26 | /** @name Constructors and Destructors */ | ||
| 27 | //@{ | ||
| 28 | |||
| 29 | ZoneHVACCoolingPanelRadiantConvectiveWater_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 30 | |||
| 31 | ZoneHVACCoolingPanelRadiantConvectiveWater_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 32 | |||
| 33 | ZoneHVACCoolingPanelRadiantConvectiveWater_Impl(const ZoneHVACCoolingPanelRadiantConvectiveWater_Impl& other, Model_Impl* model, | ||
| 34 | bool keepHandle); | ||
| 35 | |||
| 36 | 3 | virtual ~ZoneHVACCoolingPanelRadiantConvectiveWater_Impl() override = default; | |
| 37 | |||
| 38 | //@} | ||
| 39 | /** @name Virtual Methods */ | ||
| 40 | //@{ | ||
| 41 | |||
| 42 | virtual const std::vector<std::string>& outputVariableNames() const override; | ||
| 43 | |||
| 44 | virtual IddObjectType iddObjectType() const override; | ||
| 45 | |||
| 46 | virtual std::vector<ScheduleTypeKey> getScheduleTypeKeys(const Schedule& schedule) const override; | ||
| 47 | |||
| 48 | boost::optional<ThermalZone> thermalZone() const override; | ||
| 49 | |||
| 50 | bool addToThermalZone(ThermalZone& thermalZone) override; | ||
| 51 | |||
| 52 | void removeFromThermalZone() override; | ||
| 53 | |||
| 54 | virtual ModelObject clone(Model model) const override; | ||
| 55 | |||
| 56 | virtual unsigned inletPort() const override; | ||
| 57 | |||
| 58 | virtual unsigned outletPort() const override; | ||
| 59 | |||
| 60 | virtual std::vector<ModelObject> children() const override; | ||
| 61 | |||
| 62 | virtual std::vector<IdfObject> remove() override; | ||
| 63 | |||
| 64 | virtual ComponentType componentType() const override; | ||
| 65 | virtual std::vector<FuelType> coolingFuelTypes() const override; | ||
| 66 | virtual std::vector<FuelType> heatingFuelTypes() const override; | ||
| 67 | virtual std::vector<AppGFuelType> appGHeatingFuelTypes() const override; | ||
| 68 | |||
| 69 | //@} | ||
| 70 | /** @name Getters */ | ||
| 71 | //@{ | ||
| 72 | |||
| 73 | Schedule availabilitySchedule() const; | ||
| 74 | |||
| 75 | double fractionRadiant() const; | ||
| 76 | |||
| 77 | double fractionofRadiantEnergyIncidentonPeople() const; | ||
| 78 | |||
| 79 | HVACComponent coolingCoil() const; | ||
| 80 | |||
| 81 | //@} | ||
| 82 | /** @name Setters */ | ||
| 83 | //@{ | ||
| 84 | |||
| 85 | bool setAvailabilitySchedule(Schedule& schedule); | ||
| 86 | |||
| 87 | bool setFractionRadiant(double fractionRadiant); | ||
| 88 | |||
| 89 | bool setFractionofRadiantEnergyIncidentonPeople(double fractionofRadiantEnergyIncidentonPeople); | ||
| 90 | |||
| 91 | bool setCoolingCoil(const HVACComponent& coolingCoil); | ||
| 92 | |||
| 93 | //@} | ||
| 94 | /** @name Other */ | ||
| 95 | //@{ | ||
| 96 | |||
| 97 | virtual std::vector<EMSActuatorNames> emsActuatorNames() const override; | ||
| 98 | |||
| 99 | virtual std::vector<std::string> emsInternalVariableNames() const override; | ||
| 100 | |||
| 101 | std::vector<Surface> surfaces() const; | ||
| 102 | |||
| 103 | //@} | ||
| 104 | protected: | ||
| 105 | private: | ||
| 106 | − | REGISTER_LOGGER("openstudio.model.ZoneHVACCoolingPanelRadiantConvectiveWater"); | |
| 107 | |||
| 108 | // Optional getters for use by methods like children() so can remove() if the constructor fails. | ||
| 109 | // There are other ways for the public versions of these getters to fail--perhaps all required | ||
| 110 | // objects should be returned as boost::optionals | ||
| 111 | boost::optional<Schedule> optionalAvailabilitySchedule() const; | ||
| 112 | boost::optional<HVACComponent> optionalCoolingCoil() const; | ||
| 113 | }; | ||
| 114 | |||
| 115 | } // namespace detail | ||
| 116 | |||
| 117 | } // namespace model | ||
| 118 | } // namespace openstudio | ||
| 119 | |||
| 120 | #endif // MODEL_ZONEHVACCOOLINGPANELRADIANTCONVECTIVEWATER_IMPL_HPP | ||
| 121 |