src/model/ZoneHVACBaseboardRadiantConvectiveElectric_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_ZONEHVACBASEBOARDRADIANTCONVECTIVEELECTRIC_IMPL_HPP | ||
| 7 | #define MODEL_ZONEHVACBASEBOARDRADIANTCONVECTIVEELECTRIC_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 | |||
| 19 | namespace detail { | ||
| 20 | |||
| 21 | /** ZoneHVACBaseboardRadiantConvectiveElectric_Impl is a ZoneHVACComponent_Impl that is the implementation class for ZoneHVACBaseboardRadiantConvectiveElectric.*/ | ||
| 22 | class MODEL_API ZoneHVACBaseboardRadiantConvectiveElectric_Impl : public ZoneHVACComponent_Impl | ||
| 23 | { | ||
| 24 | public: | ||
| 25 | /** @name Constructors and Destructors */ | ||
| 26 | //@{ | ||
| 27 | |||
| 28 | ZoneHVACBaseboardRadiantConvectiveElectric_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 29 | |||
| 30 | ZoneHVACBaseboardRadiantConvectiveElectric_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 31 | |||
| 32 | ZoneHVACBaseboardRadiantConvectiveElectric_Impl(const ZoneHVACBaseboardRadiantConvectiveElectric_Impl& other, Model_Impl* model, | ||
| 33 | bool keepHandle); | ||
| 34 | |||
| 35 | 2 | virtual ~ZoneHVACBaseboardRadiantConvectiveElectric_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 unsigned inletPort() const override; | ||
| 48 | |||
| 49 | virtual unsigned outletPort() const override; | ||
| 50 | |||
| 51 | boost::optional<ThermalZone> thermalZone() const override; | ||
| 52 | |||
| 53 | bool addToThermalZone(ThermalZone& thermalZone) override; | ||
| 54 | |||
| 55 | void removeFromThermalZone() override; | ||
| 56 | |||
| 57 | virtual ComponentType componentType() const override; | ||
| 58 | virtual std::vector<FuelType> coolingFuelTypes() const override; | ||
| 59 | virtual std::vector<FuelType> heatingFuelTypes() const override; | ||
| 60 | virtual std::vector<AppGFuelType> appGHeatingFuelTypes() const override; | ||
| 61 | |||
| 62 | //@} | ||
| 63 | /** @name Getters */ | ||
| 64 | //@{ | ||
| 65 | |||
| 66 | Schedule availabilitySchedule() const; | ||
| 67 | |||
| 68 | std::string heatingDesignCapacityMethod() const; | ||
| 69 | |||
| 70 | boost::optional<double> heatingDesignCapacity() const; | ||
| 71 | |||
| 72 | bool isHeatingDesignCapacityAutosized() const; | ||
| 73 | |||
| 74 | double heatingDesignCapacityPerFloorArea() const; | ||
| 75 | |||
| 76 | double fractionofAutosizedHeatingDesignCapacity() const; | ||
| 77 | |||
| 78 | double efficiency() const; | ||
| 79 | |||
| 80 | double fractionRadiant() const; | ||
| 81 | |||
| 82 | double fractionofRadiantEnergyIncidentonPeople() const; | ||
| 83 | |||
| 84 | boost::optional<double> autosizedHeatingDesignCapacity() const; | ||
| 85 | |||
| 86 | virtual void autosize() override; | ||
| 87 | |||
| 88 | virtual void applySizingValues() override; | ||
| 89 | |||
| 90 | virtual std::vector<EMSActuatorNames> emsActuatorNames() const override; | ||
| 91 | |||
| 92 | virtual std::vector<std::string> emsInternalVariableNames() const override; | ||
| 93 | |||
| 94 | //@} | ||
| 95 | /** @name Setters */ | ||
| 96 | //@{ | ||
| 97 | |||
| 98 | bool setAvailabilitySchedule(Schedule& schedule); | ||
| 99 | |||
| 100 | bool setHeatingDesignCapacityMethod(const std::string& heatingDesignCapacityMethod); | ||
| 101 | |||
| 102 | bool setHeatingDesignCapacity(boost::optional<double> heatingDesignCapacity); | ||
| 103 | |||
| 104 | void autosizeHeatingDesignCapacity(); | ||
| 105 | |||
| 106 | bool setHeatingDesignCapacityPerFloorArea(double heatingDesignCapacityPerFloorArea); | ||
| 107 | |||
| 108 | bool setFractionofAutosizedHeatingDesignCapacity(double fractionofAutosizedHeatingDesignCapacity); | ||
| 109 | |||
| 110 | bool setEfficiency(double efficiency); | ||
| 111 | |||
| 112 | bool setFractionRadiant(double fractionRadiant); | ||
| 113 | |||
| 114 | bool setFractionofRadiantEnergyIncidentonPeople(double fractionofRadiantEnergyIncidentonPeople); | ||
| 115 | |||
| 116 | //@} | ||
| 117 | /** @name Other */ | ||
| 118 | //@{ | ||
| 119 | |||
| 120 | std::vector<Surface> surfaces() const; | ||
| 121 | |||
| 122 | //@} | ||
| 123 | protected: | ||
| 124 | private: | ||
| 125 | − | REGISTER_LOGGER("openstudio.model.ZoneHVACBaseboardRadiantConvectiveElectric"); | |
| 126 | |||
| 127 | // Optional getters for use by methods like children() so can remove() if the constructor fails. | ||
| 128 | // There are other ways for the public versions of these getters to fail--perhaps all required | ||
| 129 | // objects should be returned as boost::optionals | ||
| 130 | boost::optional<Schedule> optionalAvailabilitySchedule() const; | ||
| 131 | }; | ||
| 132 | |||
| 133 | } // namespace detail | ||
| 134 | |||
| 135 | } // namespace model | ||
| 136 | } // namespace openstudio | ||
| 137 | |||
| 138 | #endif // MODEL_ZONEHVACBASEBOARDRADIANTCONVECTIVEELECTRIC_IMPL_HPP | ||
| 139 |