src/model/CoilCoolingWaterPanelRadiant_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_COILCOOLINGWATERPANELRADIANT_IMPL_HPP | ||
| 7 | #define MODEL_COILCOOLINGWATERPANELRADIANT_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "StraightComponent_Impl.hpp" | ||
| 11 | #include "ZoneHVACComponent.hpp" | ||
| 12 | #include "ZoneHVACComponent_Impl.hpp" | ||
| 13 | |||
| 14 | namespace openstudio { | ||
| 15 | namespace model { | ||
| 16 | |||
| 17 | class Schedule; | ||
| 18 | |||
| 19 | namespace detail { | ||
| 20 | |||
| 21 | /** CoilCoolingWaterPanelRadiant_Impl is a StraightComponent_Impl that is the implementation class for CoilCoolingWaterPanelRadiant.*/ | ||
| 22 | class MODEL_API CoilCoolingWaterPanelRadiant_Impl : public StraightComponent_Impl | ||
| 23 | { | ||
| 24 | public: | ||
| 25 | /** @name Constructors and Destructors */ | ||
| 26 | //@{ | ||
| 27 | |||
| 28 | CoilCoolingWaterPanelRadiant_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 29 | |||
| 30 | CoilCoolingWaterPanelRadiant_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 31 | |||
| 32 | CoilCoolingWaterPanelRadiant_Impl(const CoilCoolingWaterPanelRadiant_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 33 | |||
| 34 | 8 | virtual ~CoilCoolingWaterPanelRadiant_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 boost::optional<ZoneHVACComponent> containingZoneHVACComponent() const override; | ||
| 51 | |||
| 52 | virtual bool addToNode(Node& node) 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 | double ratedInletWaterTemperature() const; | ||
| 64 | |||
| 65 | double ratedInletSpaceTemperature() const; | ||
| 66 | |||
| 67 | double ratedWaterMassFlowRate() const; | ||
| 68 | |||
| 69 | std::string coolingDesignCapacityMethod() const; | ||
| 70 | |||
| 71 | boost::optional<double> coolingDesignCapacity() const; | ||
| 72 | |||
| 73 | bool isCoolingDesignCapacityAutosized() const; | ||
| 74 | |||
| 75 | double coolingDesignCapacityPerFloorArea() const; | ||
| 76 | |||
| 77 | double fractionofAutosizedCoolingDesignCapacity() const; | ||
| 78 | |||
| 79 | boost::optional<double> maximumChilledWaterFlowRate() const; | ||
| 80 | |||
| 81 | bool isMaximumChilledWaterFlowRateAutosized() const; | ||
| 82 | |||
| 83 | std::string controlType() const; | ||
| 84 | |||
| 85 | double coolingControlThrottlingRange() const; | ||
| 86 | |||
| 87 | boost::optional<Schedule> coolingControlTemperatureSchedule() const; | ||
| 88 | |||
| 89 | std::string condensationControlType() const; | ||
| 90 | |||
| 91 | double condensationControlDewpointOffset() const; | ||
| 92 | |||
| 93 | boost::optional<double> autosizedCoolingDesignCapacity() const; | ||
| 94 | |||
| 95 | boost::optional<double> autosizedMaximumChilledWaterFlowRate() const; | ||
| 96 | |||
| 97 | virtual void autosize() override; | ||
| 98 | |||
| 99 | virtual void applySizingValues() override; | ||
| 100 | |||
| 101 | //@} | ||
| 102 | /** @name Setters */ | ||
| 103 | //@{ | ||
| 104 | |||
| 105 | bool setRatedInletWaterTemperature(double ratedInletWaterTemperature); | ||
| 106 | |||
| 107 | bool setRatedInletSpaceTemperature(double ratedInletSpaceTemperature); | ||
| 108 | |||
| 109 | bool setRatedWaterMassFlowRate(double ratedWaterMassFlowRate); | ||
| 110 | |||
| 111 | bool setCoolingDesignCapacityMethod(const std::string& coolingDesignCapacityMethod); | ||
| 112 | |||
| 113 | bool setCoolingDesignCapacity(boost::optional<double> coolingDesignCapacity); | ||
| 114 | |||
| 115 | void autosizeCoolingDesignCapacity(); | ||
| 116 | |||
| 117 | bool setCoolingDesignCapacityPerFloorArea(double coolingDesignCapacityPerFloorArea); | ||
| 118 | |||
| 119 | bool setFractionofAutosizedCoolingDesignCapacity(double fractionofAutosizedCoolingDesignCapacity); | ||
| 120 | |||
| 121 | bool setMaximumChilledWaterFlowRate(boost::optional<double> maximumChilledWaterFlowRate); | ||
| 122 | |||
| 123 | void autosizeMaximumChilledWaterFlowRate(); | ||
| 124 | |||
| 125 | bool setControlType(const std::string& controlType); | ||
| 126 | |||
| 127 | bool setCoolingControlThrottlingRange(double coolingControlThrottlingRange); | ||
| 128 | |||
| 129 | bool setCoolingControlTemperatureSchedule(Schedule& coolingControlTemperatureSchedule); | ||
| 130 | |||
| 131 | void resetCoolingControlTemperatureSchedule(); | ||
| 132 | |||
| 133 | bool setCondensationControlType(const std::string& condensationControlType); | ||
| 134 | |||
| 135 | bool setCondensationControlDewpointOffset(double condensationControlDewpointOffset); | ||
| 136 | |||
| 137 | //@} | ||
| 138 | /** @name Other */ | ||
| 139 | //@{ | ||
| 140 | |||
| 141 | //@} | ||
| 142 | protected: | ||
| 143 | private: | ||
| 144 | REGISTER_LOGGER("openstudio.model.CoilCoolingWaterPanelRadiant"); | ||
| 145 | }; | ||
| 146 | |||
| 147 | } // namespace detail | ||
| 148 | |||
| 149 | } // namespace model | ||
| 150 | } // namespace openstudio | ||
| 151 | |||
| 152 | #endif // MODEL_COILCOOLINGWATERPANELRADIANT_IMPL_HPP | ||
| 153 |