src/model/CoilCoolingLowTempRadiantVarFlow_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_COILCOOLINGLOWTEMPRADIANTVARFLOW_IMPL_HPP | ||
| 7 | #define MODEL_COILCOOLINGLOWTEMPRADIANTVARFLOW_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 | /** CoilCoolingLowTempRadiantVarFlow_Impl is a StraightComponent_Impl that is the implementation class for CoilCoolingLowTempRadiantVarFlow.*/ | ||
| 21 | class MODEL_API CoilCoolingLowTempRadiantVarFlow_Impl : public StraightComponent_Impl | ||
| 22 | { | ||
| 23 | |||
| 24 | public: | ||
| 25 | /** @name Constructors and Destructors */ | ||
| 26 | //@{ | ||
| 27 | |||
| 28 | CoilCoolingLowTempRadiantVarFlow_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 29 | |||
| 30 | CoilCoolingLowTempRadiantVarFlow_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 31 | |||
| 32 | CoilCoolingLowTempRadiantVarFlow_Impl(const CoilCoolingLowTempRadiantVarFlow_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 33 | |||
| 34 | 24 | virtual ~CoilCoolingLowTempRadiantVarFlow_Impl() override = default; | |
| 35 | |||
| 36 | //@} | ||
| 37 | /** @name Virtual Methods */ | ||
| 38 | //@{ | ||
| 39 | |||
| 40 | virtual const std::vector<std::string>& outputVariableNames() const override; | ||
| 41 | |||
| 42 | virtual IddObjectType iddObjectType() const override; | ||
| 43 | |||
| 44 | virtual std::vector<ScheduleTypeKey> getScheduleTypeKeys(const Schedule& schedule) const override; | ||
| 45 | |||
| 46 | virtual unsigned inletPort() const override; | ||
| 47 | |||
| 48 | virtual unsigned outletPort() const override; | ||
| 49 | |||
| 50 | virtual bool addToNode(Node& node) override; | ||
| 51 | |||
| 52 | virtual boost::optional<ZoneHVACComponent> containingZoneHVACComponent() const override; | ||
| 53 | |||
| 54 | virtual void autosize() override; | ||
| 55 | |||
| 56 | virtual void applySizingValues() override; | ||
| 57 | |||
| 58 | virtual ComponentType componentType() const override; | ||
| 59 | virtual std::vector<FuelType> coolingFuelTypes() const override; | ||
| 60 | virtual std::vector<FuelType> heatingFuelTypes() const override; | ||
| 61 | virtual std::vector<AppGFuelType> appGHeatingFuelTypes() const override; | ||
| 62 | |||
| 63 | //@} | ||
| 64 | /** @name Getters */ | ||
| 65 | //@{ | ||
| 66 | |||
| 67 | boost::optional<double> maximumColdWaterFlow() const; | ||
| 68 | |||
| 69 | bool isMaximumColdWaterFlowDefaulted() const; | ||
| 70 | |||
| 71 | bool isMaximumColdWaterFlowAutosized() const; | ||
| 72 | |||
| 73 | double coolingControlThrottlingRange() const; | ||
| 74 | |||
| 75 | bool isCoolingControlThrottlingRangeDefaulted() const; | ||
| 76 | |||
| 77 | boost::optional<Schedule> coolingControlTemperatureSchedule() const; | ||
| 78 | |||
| 79 | std::string condensationControlType() const; | ||
| 80 | |||
| 81 | bool isCondensationControlTypeDefaulted() const; | ||
| 82 | |||
| 83 | double condensationControlDewpointOffset() const; | ||
| 84 | |||
| 85 | bool isCondensationControlDewpointOffsetDefaulted() const; | ||
| 86 | |||
| 87 | std::string coolingDesignCapacityMethod() const; | ||
| 88 | |||
| 89 | boost::optional<double> coolingDesignCapacity() const; | ||
| 90 | bool isCoolingDesignCapacityAutosized() const; | ||
| 91 | |||
| 92 | double coolingDesignCapacityPerFloorArea() const; | ||
| 93 | |||
| 94 | double fractionofAutosizedCoolingDesignCapacity() const; | ||
| 95 | |||
| 96 | //@} | ||
| 97 | /** @name Setters */ | ||
| 98 | //@{ | ||
| 99 | |||
| 100 | bool setMaximumColdWaterFlow(boost::optional<double> maximumColdWaterFlow); | ||
| 101 | |||
| 102 | void resetMaximumColdWaterFlow(); | ||
| 103 | |||
| 104 | void autosizeMaximumColdWaterFlow(); | ||
| 105 | |||
| 106 | bool setCoolingControlThrottlingRange(double coolingControlThrottlingRange); | ||
| 107 | |||
| 108 | void resetCoolingControlThrottlingRange(); | ||
| 109 | |||
| 110 | bool setCoolingControlTemperatureSchedule(Schedule& schedule); | ||
| 111 | |||
| 112 | void resetCoolingControlTemperatureSchedule(); | ||
| 113 | |||
| 114 | bool setCondensationControlType(const std::string& condensationControlType); | ||
| 115 | |||
| 116 | void resetCondensationControlType(); | ||
| 117 | |||
| 118 | bool setCondensationControlDewpointOffset(double condensationControlDewpointOffset); | ||
| 119 | |||
| 120 | void resetCondensationControlDewpointOffset(); | ||
| 121 | |||
| 122 | bool setCoolingDesignCapacityMethod(const std::string& coolingDesignCapacityMethod); | ||
| 123 | |||
| 124 | bool setCoolingDesignCapacity(double coolingDesignCapacity); | ||
| 125 | void autosizeCoolingDesignCapacity(); | ||
| 126 | |||
| 127 | bool setCoolingDesignCapacityPerFloorArea(double coolingDesignCapacityPerFloorArea); | ||
| 128 | |||
| 129 | bool setFractionofAutosizedCoolingDesignCapacity(double fractionofAutosizedCoolingDesignCapacity); | ||
| 130 | |||
| 131 | //@} | ||
| 132 | /** @name Other */ | ||
| 133 | //@{ | ||
| 134 | |||
| 135 | // Used to find the ZoneHVAC that contains this coil | ||
| 136 | boost::optional<ZoneHVACLowTempRadiantVarFlow> parentZoneHVAC() const; | ||
| 137 | |||
| 138 | boost::optional<double> autosizedMaximumColdWaterFlow() const; | ||
| 139 | |||
| 140 | boost::optional<double> autosizedCoolingDesignCapacity() const; | ||
| 141 | |||
| 142 | //@} | ||
| 143 | protected: | ||
| 144 | private: | ||
| 145 | − | REGISTER_LOGGER("openstudio.model.CoilCoolingLowTempRadiantVarFlow"); | |
| 146 | |||
| 147 | std::vector<std::string> condensationControlTypeValues() const; | ||
| 148 | |||
| 149 | //boost::optional<ModelObject> coolingWaterInletNodeAsModelObject() const; | ||
| 150 | //boost::optional<ModelObject> coolingWaterOutletNodeAsModelObject() const; | ||
| 151 | boost::optional<ModelObject> coolingControlTemperatureScheduleAsModelObject() const; | ||
| 152 | |||
| 153 | //bool setCoolingWaterInletNodeAsModelObject(const boost::optional<ModelObject>& modelObject); | ||
| 154 | //bool setCoolingWaterOutletNodeAsModelObject(const boost::optional<ModelObject>& modelObject); | ||
| 155 | bool setCoolingControlTemperatureScheduleAsModelObject(const boost::optional<ModelObject>& modelObject); | ||
| 156 | }; | ||
| 157 | |||
| 158 | } // namespace detail | ||
| 159 | |||
| 160 | } // namespace model | ||
| 161 | } // namespace openstudio | ||
| 162 | |||
| 163 | #endif // MODEL_COILCOOLINGLOWTEMPRADIANTVARFLOW_IMPL_HPP | ||
| 164 |