src/model/AirTerminalSingleDuctVAVReheat_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_AIRTERMINALSINGLEDUCTVAVREHEAT_IMPL_HPP | ||
| 7 | #define MODEL_AIRTERMINALSINGLEDUCTVAVREHEAT_IMPL_HPP | ||
| 8 | |||
| 9 | #include "StraightComponent_Impl.hpp" | ||
| 10 | |||
| 11 | namespace openstudio { | ||
| 12 | namespace model { | ||
| 13 | |||
| 14 | namespace detail { | ||
| 15 | |||
| 16 | class MODEL_API AirTerminalSingleDuctVAVReheat_Impl : public StraightComponent_Impl | ||
| 17 | { | ||
| 18 | |||
| 19 | public: | ||
| 20 | /** @name Constructors and Destructors */ | ||
| 21 | //@{ | ||
| 22 | |||
| 23 | AirTerminalSingleDuctVAVReheat_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 24 | |||
| 25 | AirTerminalSingleDuctVAVReheat_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 26 | |||
| 27 | AirTerminalSingleDuctVAVReheat_Impl(const AirTerminalSingleDuctVAVReheat_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 28 | |||
| 29 | 41 | virtual ~AirTerminalSingleDuctVAVReheat_Impl() override = default; | |
| 30 | |||
| 31 | //@} | ||
| 32 | /** @name Virtual Methods */ | ||
| 33 | //@{ | ||
| 34 | |||
| 35 | virtual std::vector<openstudio::IdfObject> remove() override; | ||
| 36 | |||
| 37 | virtual bool isRemovable() const override; | ||
| 38 | |||
| 39 | virtual ModelObject clone(Model model) const override; | ||
| 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 std::vector<ModelObject> children() const override; | ||
| 48 | |||
| 49 | virtual unsigned inletPort() const override; | ||
| 50 | |||
| 51 | virtual unsigned outletPort() const override; | ||
| 52 | |||
| 53 | virtual bool addToNode(Node& node) 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 | |||
| 62 | HVACComponent reheatCoil() const; | ||
| 63 | |||
| 64 | bool setReheatCoil(HVACComponent& coil); | ||
| 65 | |||
| 66 | Schedule availabilitySchedule() const; | ||
| 67 | |||
| 68 | bool setAvailabilitySchedule(Schedule& schedule); | ||
| 69 | |||
| 70 | boost::optional<double> maximumAirFlowRate() const; | ||
| 71 | |||
| 72 | bool setMaximumAirFlowRate(double value); | ||
| 73 | |||
| 74 | void autosizeMaximumAirFlowRate(); | ||
| 75 | |||
| 76 | bool isMaximumAirFlowRateAutosized() const; | ||
| 77 | |||
| 78 | std::string zoneMinimumAirFlowInputMethod(); | ||
| 79 | |||
| 80 | bool setZoneMinimumAirFlowInputMethod(const std::string& value); | ||
| 81 | |||
| 82 | boost::optional<double> constantMinimumAirFlowFraction() const; | ||
| 83 | bool isConstantMinimumAirFlowFractionAutosized() const; | ||
| 84 | bool setConstantMinimumAirFlowFraction(double value); | ||
| 85 | void autosizeConstantMinimumAirFlowFraction(); | ||
| 86 | |||
| 87 | boost::optional<double> fixedMinimumAirFlowRate() const; | ||
| 88 | bool isFixedMinimumAirFlowRateAutosized() const; | ||
| 89 | bool setFixedMinimumAirFlowRate(double value); | ||
| 90 | void autosizeFixedMinimumAirFlowRate(); | ||
| 91 | |||
| 92 | boost::optional<Schedule> minimumAirFlowFractionSchedule() const; | ||
| 93 | |||
| 94 | bool setMinimumAirFlowFractionSchedule(Schedule& schedule); | ||
| 95 | |||
| 96 | void resetMinimumAirFlowFractionSchedule(); | ||
| 97 | |||
| 98 | boost::optional<Schedule> minimumAirFlowTurndownSchedule() const; | ||
| 99 | |||
| 100 | bool setMinimumAirFlowTurndownSchedule(Schedule& schedule); | ||
| 101 | |||
| 102 | void resetMinimumAirFlowTurndownSchedule(); | ||
| 103 | |||
| 104 | boost::optional<double> maximumHotWaterOrSteamFlowRate(); | ||
| 105 | |||
| 106 | bool setMaximumHotWaterOrSteamFlowRate(double value); | ||
| 107 | |||
| 108 | void autosizeMaximumHotWaterOrSteamFlowRate(); | ||
| 109 | |||
| 110 | bool isMaximumHotWaterOrSteamFlowRateAutosized() const; | ||
| 111 | |||
| 112 | double minimumHotWaterOrSteamFlowRate(); | ||
| 113 | |||
| 114 | bool setMinimumHotWaterOrStreamFlowRate(double value); | ||
| 115 | |||
| 116 | double convergenceTolerance(); | ||
| 117 | |||
| 118 | bool setConvergenceTolerance(double value); | ||
| 119 | |||
| 120 | std::string damperHeatingAction(); | ||
| 121 | |||
| 122 | bool setDamperHeatingAction(const std::string& value); | ||
| 123 | |||
| 124 | boost::optional<double> maximumFlowPerZoneFloorAreaDuringReheat(); | ||
| 125 | |||
| 126 | void resetMaximumFlowPerZoneFloorAreaDuringReheat(); | ||
| 127 | |||
| 128 | bool setMaximumFlowPerZoneFloorAreaDuringReheat(double value); | ||
| 129 | |||
| 130 | void autosizeMaximumFlowPerZoneFloorAreaDuringReheat(); | ||
| 131 | |||
| 132 | bool isMaximumFlowPerZoneFloorAreaDuringReheatAutosized() const; | ||
| 133 | |||
| 134 | boost::optional<double> maximumFlowFractionDuringReheat(); | ||
| 135 | |||
| 136 | bool setMaximumFlowFractionDuringReheat(double value); | ||
| 137 | |||
| 138 | void autosizeMaximumFlowFractionDuringReheat(); | ||
| 139 | |||
| 140 | bool isMaximumFlowFractionDuringReheatAutosized() const; | ||
| 141 | |||
| 142 | void resetMaximumFlowFractionDuringReheat(); | ||
| 143 | |||
| 144 | double maximumReheatAirTemperature(); | ||
| 145 | |||
| 146 | bool setMaximumReheatAirTemperature(double value); | ||
| 147 | |||
| 148 | bool controlForOutdoorAir() const; | ||
| 149 | |||
| 150 | bool setControlForOutdoorAir(bool controlForOutdoorAir); | ||
| 151 | |||
| 152 | boost::optional<double> autosizedMaximumAirFlowRate() const; | ||
| 153 | |||
| 154 | boost::optional<double> autosizedConstantMinimumAirFlowFraction() const; | ||
| 155 | |||
| 156 | boost::optional<double> autosizedFixedMinimumAirFlowRate() const; | ||
| 157 | |||
| 158 | boost::optional<double> autosizedMaximumHotWaterOrSteamFlowRate() const; | ||
| 159 | |||
| 160 | boost::optional<double> autosizedMaximumFlowPerZoneFloorAreaDuringReheat() const; | ||
| 161 | |||
| 162 | boost::optional<double> autosizedMaximumFlowFractionDuringReheat() const; | ||
| 163 | |||
| 164 | virtual void autosize() override; | ||
| 165 | |||
| 166 | virtual void applySizingValues() override; | ||
| 167 | |||
| 168 | AirflowNetworkEquivalentDuct getAirflowNetworkEquivalentDuct(double length, double diameter); | ||
| 169 | |||
| 170 | boost::optional<AirflowNetworkEquivalentDuct> airflowNetworkEquivalentDuct() const; | ||
| 171 | |||
| 172 | private: | ||
| 173 | − | REGISTER_LOGGER("openstudio.model.AirTerminalSingleDuctVAVReheat"); | |
| 174 | |||
| 175 | // optional getters for children so can remove() if constructor fails | ||
| 176 | boost::optional<HVACComponent> optionalReheatCoil() const; | ||
| 177 | boost::optional<Schedule> optionalAvailabilitySchedule() const; | ||
| 178 | |||
| 179 | boost::optional<ModelObject> availabilityScheduleAsModelObject() const; | ||
| 180 | boost::optional<ModelObject> minimumAirFlowFractionScheduleAsModelObject() const; | ||
| 181 | boost::optional<ModelObject> minimumAirFlowTurndownScheduleAsModelObject() const; | ||
| 182 | |||
| 183 | bool setAvailabilityScheduleAsModelObject(const boost::optional<ModelObject>& modelObject); | ||
| 184 | bool setMinimumAirFlowFractionScheduleAsModelObject(const boost::optional<ModelObject>& modelObject); | ||
| 185 | bool setMinimumAirFlowTurndownScheduleAsModelObject(const boost::optional<ModelObject>& modelObject); | ||
| 186 | }; | ||
| 187 | |||
| 188 | } // namespace detail | ||
| 189 | |||
| 190 | } // namespace model | ||
| 191 | |||
| 192 | } // namespace openstudio | ||
| 193 | |||
| 194 | #endif // MODEL_AIRTERMINALSINGLEDUCTVAVREHEAT_IMPL_HPP | ||
| 195 |