src/model/CoilHeatingLowTempRadiantVarFlow_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_COILHEATINGLOWTEMPRADIANTVARFLOW_IMPL_HPP | ||
| 7 | #define MODEL_COILHEATINGLOWTEMPRADIANTVARFLOW_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "StraightComponent_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | class Schedule; | ||
| 16 | class ZoneHVACLowTempRadiantVarFlow; | ||
| 17 | |||
| 18 | namespace detail { | ||
| 19 | |||
| 20 | /** CoilHeatingLowTempRadiantVarFlow_Impl is a StraightComponent_Impl that is the implementation class for CoilHeatingLowTempRadiantVarFlow.*/ | ||
| 21 | class MODEL_API CoilHeatingLowTempRadiantVarFlow_Impl : public StraightComponent_Impl | ||
| 22 | { | ||
| 23 | public: | ||
| 24 | /** @name Constructors and Destructors */ | ||
| 25 | //@{ | ||
| 26 | |||
| 27 | CoilHeatingLowTempRadiantVarFlow_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 28 | |||
| 29 | CoilHeatingLowTempRadiantVarFlow_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 30 | |||
| 31 | CoilHeatingLowTempRadiantVarFlow_Impl(const CoilHeatingLowTempRadiantVarFlow_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 32 | |||
| 33 | 26 | virtual ~CoilHeatingLowTempRadiantVarFlow_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 | virtual unsigned inletPort() const override; | ||
| 46 | |||
| 47 | virtual unsigned outletPort() const override; | ||
| 48 | |||
| 49 | virtual bool addToNode(Node& node) override; | ||
| 50 | |||
| 51 | virtual boost::optional<ZoneHVACComponent> containingZoneHVACComponent() const override; | ||
| 52 | |||
| 53 | //virtual ModelObject clone(Model model) const; | ||
| 54 | |||
| 55 | virtual void autosize() override; | ||
| 56 | |||
| 57 | virtual void applySizingValues() override; | ||
| 58 | |||
| 59 | virtual ComponentType componentType() const override; | ||
| 60 | virtual std::vector<FuelType> coolingFuelTypes() const override; | ||
| 61 | virtual std::vector<FuelType> heatingFuelTypes() const override; | ||
| 62 | virtual std::vector<AppGFuelType> appGHeatingFuelTypes() const override; | ||
| 63 | |||
| 64 | //@} | ||
| 65 | /** @name Getters */ | ||
| 66 | //@{ | ||
| 67 | |||
| 68 | boost::optional<double> maximumHotWaterFlow() const; | ||
| 69 | |||
| 70 | bool isMaximumHotWaterFlowDefaulted() const; | ||
| 71 | |||
| 72 | bool isMaximumHotWaterFlowAutosized() const; | ||
| 73 | |||
| 74 | //Connection heatingWaterInletNode() const; | ||
| 75 | |||
| 76 | //Connection heatingWaterOutletNode() const; | ||
| 77 | |||
| 78 | double heatingControlThrottlingRange() const; | ||
| 79 | |||
| 80 | bool isHeatingControlThrottlingRangeDefaulted() const; | ||
| 81 | |||
| 82 | boost::optional<Schedule> heatingControlTemperatureSchedule() const; | ||
| 83 | |||
| 84 | std::string heatingDesignCapacityMethod() const; | ||
| 85 | |||
| 86 | boost::optional<double> heatingDesignCapacity() const; | ||
| 87 | bool isHeatingDesignCapacityAutosized() const; | ||
| 88 | |||
| 89 | double heatingDesignCapacityPerFloorArea() const; | ||
| 90 | |||
| 91 | double fractionofAutosizedHeatingDesignCapacity() const; | ||
| 92 | |||
| 93 | //@} | ||
| 94 | /** @name Setters */ | ||
| 95 | //@{ | ||
| 96 | |||
| 97 | bool setMaximumHotWaterFlow(boost::optional<double> maximumHotWaterFlow); | ||
| 98 | |||
| 99 | void resetMaximumHotWaterFlow(); | ||
| 100 | |||
| 101 | void autosizeMaximumHotWaterFlow(); | ||
| 102 | |||
| 103 | bool setHeatingControlThrottlingRange(double heatingControlThrottlingRange); | ||
| 104 | |||
| 105 | void resetHeatingControlThrottlingRange(); | ||
| 106 | |||
| 107 | bool setHeatingControlTemperatureSchedule(Schedule& schedule); | ||
| 108 | |||
| 109 | void resetHeatingControlTemperatureSchedule(); | ||
| 110 | |||
| 111 | bool setHeatingDesignCapacityMethod(const std::string& heatingDesignCapacityMethod); | ||
| 112 | |||
| 113 | bool setHeatingDesignCapacity(double heatingDesignCapacity); | ||
| 114 | void autosizeHeatingDesignCapacity(); | ||
| 115 | |||
| 116 | bool setHeatingDesignCapacityPerFloorArea(double heatingDesignCapacityPerFloorArea); | ||
| 117 | |||
| 118 | bool setFractionofAutosizedHeatingDesignCapacity(double fractionofAutosizedHeatingDesignCapacity); | ||
| 119 | |||
| 120 | //@} | ||
| 121 | /** @name Other */ | ||
| 122 | //@{ | ||
| 123 | |||
| 124 | // Used to find the ZoneHVAC that contains this coil | ||
| 125 | boost::optional<ZoneHVACLowTempRadiantVarFlow> parentZoneHVAC() const; | ||
| 126 | |||
| 127 | boost::optional<double> autosizedMaximumHotWaterFlow() const; | ||
| 128 | |||
| 129 | boost::optional<double> autosizedHeatingDesignCapacity() const; | ||
| 130 | |||
| 131 | //@} | ||
| 132 | protected: | ||
| 133 | private: | ||
| 134 | − | REGISTER_LOGGER("openstudio.model.CoilHeatingLowTempRadiantVarFlow"); | |
| 135 | |||
| 136 | boost::optional<ModelObject> heatingControlTemperatureScheduleAsModelObject() const; | ||
| 137 | |||
| 138 | bool setHeatingControlTemperatureScheduleAsModelObject(const boost::optional<ModelObject>& modelObject); | ||
| 139 | }; | ||
| 140 | |||
| 141 | } // namespace detail | ||
| 142 | |||
| 143 | } // namespace model | ||
| 144 | } // namespace openstudio | ||
| 145 | |||
| 146 | #endif // MODEL_COILHEATINGLOWTEMPRADIANTVARFLOW_IMPL_HPP | ||
| 147 |