src/model/FanZoneExhaust_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_FANZONEEXHAUST_IMPL_HPP | ||
| 7 | #define MODEL_FANZONEEXHAUST_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "ZoneHVACComponent_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | class Schedule; | ||
| 16 | |||
| 17 | namespace detail { | ||
| 18 | |||
| 19 | /** FanZoneExhaust_Impl is a ZoneHVACComponent_Impl that is the implementation class for FanZoneExhaust.*/ | ||
| 20 | class MODEL_API FanZoneExhaust_Impl : public ZoneHVACComponent_Impl | ||
| 21 | { | ||
| 22 | public: | ||
| 23 | /** @name Constructors and Destructors */ | ||
| 24 | //@{ | ||
| 25 | |||
| 26 | FanZoneExhaust_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 27 | |||
| 28 | FanZoneExhaust_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 29 | |||
| 30 | FanZoneExhaust_Impl(const FanZoneExhaust_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 31 | |||
| 32 | 5 | virtual ~FanZoneExhaust_Impl() override = default; | |
| 33 | |||
| 34 | //@} | ||
| 35 | /** @name Virtual Methods */ | ||
| 36 | //@{ | ||
| 37 | |||
| 38 | virtual const std::vector<std::string>& outputVariableNames() const override; | ||
| 39 | |||
| 40 | virtual IddObjectType iddObjectType() const override; | ||
| 41 | |||
| 42 | virtual std::vector<ModelObject> children() const override; | ||
| 43 | |||
| 44 | virtual std::vector<ScheduleTypeKey> getScheduleTypeKeys(const Schedule& schedule) const override; | ||
| 45 | |||
| 46 | virtual boost::optional<ThermalZone> thermalZone() const override; | ||
| 47 | |||
| 48 | virtual bool addToThermalZone(ThermalZone& thermalZone) override; | ||
| 49 | |||
| 50 | virtual unsigned inletPort() const override; | ||
| 51 | |||
| 52 | virtual unsigned outletPort() const override; | ||
| 53 | |||
| 54 | virtual ComponentType componentType() const override; | ||
| 55 | virtual std::vector<FuelType> coolingFuelTypes() const override; | ||
| 56 | virtual std::vector<FuelType> heatingFuelTypes() const override; | ||
| 57 | virtual std::vector<AppGFuelType> appGHeatingFuelTypes() const override; | ||
| 58 | |||
| 59 | //@} | ||
| 60 | /** @name Getters */ | ||
| 61 | //@{ | ||
| 62 | |||
| 63 | boost::optional<Schedule> availabilitySchedule() const; | ||
| 64 | |||
| 65 | double fanTotalEfficiency() const; | ||
| 66 | |||
| 67 | double pressureRise() const; | ||
| 68 | |||
| 69 | boost::optional<double> maximumFlowRate() const; | ||
| 70 | |||
| 71 | std::string endUseSubcategory() const; | ||
| 72 | |||
| 73 | boost::optional<Schedule> flowFractionSchedule() const; | ||
| 74 | |||
| 75 | std::string systemAvailabilityManagerCouplingMode() const; | ||
| 76 | |||
| 77 | boost::optional<Schedule> minimumZoneTemperatureLimitSchedule() const; | ||
| 78 | |||
| 79 | boost::optional<Schedule> balancedExhaustFractionSchedule() const; | ||
| 80 | |||
| 81 | virtual std::vector<EMSActuatorNames> emsActuatorNames() const override; | ||
| 82 | |||
| 83 | virtual std::vector<std::string> emsInternalVariableNames() const override; | ||
| 84 | |||
| 85 | //@} | ||
| 86 | /** @name Setters */ | ||
| 87 | //@{ | ||
| 88 | |||
| 89 | bool setAvailabilitySchedule(Schedule& schedule); | ||
| 90 | |||
| 91 | void resetAvailabilitySchedule(); | ||
| 92 | |||
| 93 | bool setFanTotalEfficiency(double fanTotalEfficiency); | ||
| 94 | |||
| 95 | bool setPressureRise(double pressureRise); | ||
| 96 | |||
| 97 | bool setMaximumFlowRate(boost::optional<double> maximumFlowRate); | ||
| 98 | |||
| 99 | void resetMaximumFlowRate(); | ||
| 100 | |||
| 101 | bool setEndUseSubcategory(const std::string& endUseSubcategory); | ||
| 102 | |||
| 103 | bool setFlowFractionSchedule(Schedule& schedule); | ||
| 104 | |||
| 105 | void resetFlowFractionSchedule(); | ||
| 106 | |||
| 107 | bool setSystemAvailabilityManagerCouplingMode(const std::string& systemAvailabilityManagerCouplingMode); | ||
| 108 | |||
| 109 | bool setMinimumZoneTemperatureLimitSchedule(Schedule& schedule); | ||
| 110 | |||
| 111 | void resetMinimumZoneTemperatureLimitSchedule(); | ||
| 112 | |||
| 113 | bool setBalancedExhaustFractionSchedule(Schedule& schedule); | ||
| 114 | |||
| 115 | void resetBalancedExhaustFractionSchedule(); | ||
| 116 | |||
| 117 | //@} | ||
| 118 | /** @name Other */ | ||
| 119 | //@{ | ||
| 120 | |||
| 121 | AirflowNetworkZoneExhaustFan getAirflowNetworkZoneExhaustFan(const AirflowNetworkCrack& crack); | ||
| 122 | boost::optional<AirflowNetworkZoneExhaustFan> airflowNetworkZoneExhaustFan() const; | ||
| 123 | |||
| 124 | //@} | ||
| 125 | protected: | ||
| 126 | private: | ||
| 127 | − | REGISTER_LOGGER("openstudio.model.FanZoneExhaust"); | |
| 128 | }; | ||
| 129 | |||
| 130 | } // namespace detail | ||
| 131 | |||
| 132 | } // namespace model | ||
| 133 | } // namespace openstudio | ||
| 134 | |||
| 135 | #endif // MODEL_FANZONEEXHAUST_IMPL_HPP | ||
| 136 |