src/model/ElectricLoadCenterInverterSimple_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_ELECTRICLOADCENTERINVERTERSIMPLE_IMPL_HPP | ||
| 7 | #define MODEL_ELECTRICLOADCENTERINVERTERSIMPLE_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "Inverter_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | class Schedule; | ||
| 16 | class ThermalZone; | ||
| 17 | |||
| 18 | namespace detail { | ||
| 19 | |||
| 20 | /** ElectricLoadCenterInverterSimple_Impl is a Inverter_Impl that is the implementation class for ElectricLoadCenterInverterSimple.*/ | ||
| 21 | class MODEL_API ElectricLoadCenterInverterSimple_Impl : public Inverter_Impl | ||
| 22 | { | ||
| 23 | public: | ||
| 24 | /** @name Constructors and Destructors */ | ||
| 25 | //@{ | ||
| 26 | |||
| 27 | ElectricLoadCenterInverterSimple_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 28 | |||
| 29 | ElectricLoadCenterInverterSimple_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 30 | |||
| 31 | ElectricLoadCenterInverterSimple_Impl(const ElectricLoadCenterInverterSimple_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 32 | |||
| 33 | 11 | virtual ~ElectricLoadCenterInverterSimple_Impl() override = default; | |
| 34 | |||
| 35 | //@} | ||
| 36 | /** @name Virtual Methods */ | ||
| 37 | //@{ | ||
| 38 | |||
| 39 | virtual const std::vector<std::string>& outputVariableNames() const override; | ||
| 40 | |||
| 41 | virtual IddObjectType iddObjectType() const override; | ||
| 42 | |||
| 43 | virtual std::vector<ScheduleTypeKey> getScheduleTypeKeys(const Schedule& schedule) const override; | ||
| 44 | |||
| 45 | //@} | ||
| 46 | /** @name Getters */ | ||
| 47 | //@{ | ||
| 48 | |||
| 49 | boost::optional<Schedule> availabilitySchedule() const; | ||
| 50 | |||
| 51 | virtual boost::optional<ThermalZone> thermalZone() const override; | ||
| 52 | |||
| 53 | boost::optional<double> radiativeFraction() const; | ||
| 54 | |||
| 55 | boost::optional<double> inverterEfficiency() const; | ||
| 56 | |||
| 57 | //@} | ||
| 58 | /** @name Setters */ | ||
| 59 | //@{ | ||
| 60 | |||
| 61 | bool setAvailabilitySchedule(Schedule& schedule); | ||
| 62 | |||
| 63 | void resetAvailabilitySchedule(); | ||
| 64 | |||
| 65 | virtual bool setThermalZone(const ThermalZone& thermalZone) override; | ||
| 66 | |||
| 67 | virtual void resetThermalZone() override; | ||
| 68 | |||
| 69 | bool setRadiativeFraction(boost::optional<double> radiativeFraction); | ||
| 70 | |||
| 71 | void resetRadiativeFraction(); | ||
| 72 | |||
| 73 | bool setInverterEfficiency(boost::optional<double> inverterEfficiency); | ||
| 74 | |||
| 75 | void resetInverterEfficiency(); | ||
| 76 | |||
| 77 | //@} | ||
| 78 | /** @name Other */ | ||
| 79 | //@{ | ||
| 80 | |||
| 81 | //@} | ||
| 82 | protected: | ||
| 83 | private: | ||
| 84 | REGISTER_LOGGER("openstudio.model.ElectricLoadCenterInverterSimple"); | ||
| 85 | }; | ||
| 86 | |||
| 87 | } // namespace detail | ||
| 88 | |||
| 89 | } // namespace model | ||
| 90 | } // namespace openstudio | ||
| 91 | |||
| 92 | #endif // MODEL_ELECTRICLOADCENTERINVERTERSIMPLE_IMPL_HPP | ||
| 93 |