src/model/ZoneHVACLowTempRadiantVarFlow_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_ZONEHVACLOWTEMPRADIANTVARFLOW_IMPL_HPP | ||
| 7 | #define MODEL_ZONEHVACLOWTEMPRADIANTVARFLOW_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "Surface.hpp" | ||
| 11 | #include "Surface_Impl.hpp" | ||
| 12 | #include "ZoneHVACComponent_Impl.hpp" | ||
| 13 | |||
| 14 | namespace openstudio { | ||
| 15 | namespace model { | ||
| 16 | |||
| 17 | class Schedule; | ||
| 18 | class HVACComponent; | ||
| 19 | |||
| 20 | namespace detail { | ||
| 21 | |||
| 22 | /** ZoneHVACLowTempRadiantVarFlow_Impl is a ZoneHVACComponent_Impl that is the implementation class for ZoneHVACLowTempRadiantVarFlow.*/ | ||
| 23 | class MODEL_API ZoneHVACLowTempRadiantVarFlow_Impl : public ZoneHVACComponent_Impl | ||
| 24 | { | ||
| 25 | |||
| 26 | public: | ||
| 27 | /** @name Constructors and Destructors */ | ||
| 28 | //@{ | ||
| 29 | |||
| 30 | ZoneHVACLowTempRadiantVarFlow_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 31 | |||
| 32 | ZoneHVACLowTempRadiantVarFlow_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 33 | |||
| 34 | ZoneHVACLowTempRadiantVarFlow_Impl(const ZoneHVACLowTempRadiantVarFlow_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 35 | |||
| 36 | 21 | virtual ~ZoneHVACLowTempRadiantVarFlow_Impl() override = default; | |
| 37 | |||
| 38 | //@} | ||
| 39 | /** @name Virtual Methods */ | ||
| 40 | //@{ | ||
| 41 | |||
| 42 | virtual ModelObject clone(Model model) const override; | ||
| 43 | |||
| 44 | virtual std::vector<IdfObject> remove() override; | ||
| 45 | |||
| 46 | virtual const std::vector<std::string>& outputVariableNames() const override; | ||
| 47 | |||
| 48 | virtual IddObjectType iddObjectType() const override; | ||
| 49 | |||
| 50 | virtual std::vector<ScheduleTypeKey> getScheduleTypeKeys(const Schedule& schedule) const override; | ||
| 51 | |||
| 52 | virtual std::vector<ModelObject> children() const override; | ||
| 53 | |||
| 54 | virtual unsigned inletPort() const override; | ||
| 55 | |||
| 56 | virtual unsigned outletPort() const 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 | Schedule availabilitySchedule() const; | ||
| 68 | |||
| 69 | boost::optional<HVACComponent> heatingCoil() const; | ||
| 70 | |||
| 71 | boost::optional<HVACComponent> coolingCoil() const; | ||
| 72 | |||
| 73 | boost::optional<std::string> radiantSurfaceType() const; | ||
| 74 | |||
| 75 | std::vector<Surface> surfaces() const; | ||
| 76 | |||
| 77 | std::string fluidtoRadiantSurfaceHeatTransferModel() const; | ||
| 78 | |||
| 79 | bool isFluidtoRadiantSurfaceHeatTransferModelDefaulted() const; | ||
| 80 | |||
| 81 | double hydronicTubingInsideDiameter() const; | ||
| 82 | |||
| 83 | bool isHydronicTubingInsideDiameterDefaulted() const; | ||
| 84 | |||
| 85 | double hydronicTubingOutsideDiameter() const; | ||
| 86 | |||
| 87 | bool isHydronicTubingOutsideDiameterDefaulted() const; | ||
| 88 | |||
| 89 | boost::optional<double> hydronicTubingLength() const; | ||
| 90 | |||
| 91 | bool isHydronicTubingLengthDefaulted() const; | ||
| 92 | |||
| 93 | bool isHydronicTubingLengthAutosized() const; | ||
| 94 | |||
| 95 | double hydronicTubingConductivity() const; | ||
| 96 | |||
| 97 | bool isHydronicTubingConductivityDefaulted() const; | ||
| 98 | |||
| 99 | std::string temperatureControlType() const; | ||
| 100 | |||
| 101 | bool isTemperatureControlTypeDefaulted() const; | ||
| 102 | |||
| 103 | std::string setpointControlType() const; | ||
| 104 | |||
| 105 | bool isSetpointControlTypeDefaulted() const; | ||
| 106 | |||
| 107 | std::string numberofCircuits() const; | ||
| 108 | |||
| 109 | double circuitLength() const; | ||
| 110 | |||
| 111 | boost::optional<Schedule> changeoverDelayTimePeriodSchedule() const; | ||
| 112 | |||
| 113 | boost::optional<double> autosizedHydronicTubingLength() const; | ||
| 114 | |||
| 115 | virtual void autosize() override; | ||
| 116 | |||
| 117 | virtual void applySizingValues() override; | ||
| 118 | |||
| 119 | virtual std::vector<EMSActuatorNames> emsActuatorNames() const override; | ||
| 120 | |||
| 121 | virtual std::vector<std::string> emsInternalVariableNames() const override; | ||
| 122 | |||
| 123 | //@} | ||
| 124 | /** @name Setters */ | ||
| 125 | //@{ | ||
| 126 | |||
| 127 | bool setAvailabilitySchedule(Schedule& schedule); | ||
| 128 | |||
| 129 | bool setHeatingCoil(HVACComponent& heatingCoil); | ||
| 130 | void resetHeatingCoil(); | ||
| 131 | |||
| 132 | bool setCoolingCoil(HVACComponent& coolingCoil); | ||
| 133 | void resetCoolingCoil(); | ||
| 134 | |||
| 135 | bool setRadiantSurfaceType(boost::optional<std::string> radiantSurfaceType); | ||
| 136 | |||
| 137 | void resetRadiantSurfaceType(); | ||
| 138 | |||
| 139 | bool setFluidtoRadiantSurfaceHeatTransferModel(const std::string& fluidtoRadiantSurfaceHeatTransferModel); | ||
| 140 | |||
| 141 | void resetFluidtoRadiantSurfaceHeatTransferModel(); | ||
| 142 | |||
| 143 | bool setHydronicTubingInsideDiameter(double hydronicTubingInsideDiameter); | ||
| 144 | |||
| 145 | void resetHydronicTubingInsideDiameter(); | ||
| 146 | |||
| 147 | bool setHydronicTubingOutsideDiameter(double hydronicTubingOutsideDiameter); | ||
| 148 | |||
| 149 | void resetHydronicTubingOutsideDiameter(); | ||
| 150 | |||
| 151 | bool setHydronicTubingLength(boost::optional<double> hydronicTubingLength); | ||
| 152 | |||
| 153 | void resetHydronicTubingLength(); | ||
| 154 | |||
| 155 | void autosizeHydronicTubingLength(); | ||
| 156 | |||
| 157 | bool setHydronicTubingConductivity(double hydronicTubingConductivity); | ||
| 158 | |||
| 159 | void resetHydronicTubingConductivity(); | ||
| 160 | |||
| 161 | bool setTemperatureControlType(const std::string& temperatureControlType); | ||
| 162 | |||
| 163 | void resetTemperatureControlType(); | ||
| 164 | |||
| 165 | bool setSetpointControlType(const std::string& setpointControlType); | ||
| 166 | |||
| 167 | void resetSetpointControlType(); | ||
| 168 | |||
| 169 | bool setNumberofCircuits(const std::string& numberofCircuits); | ||
| 170 | |||
| 171 | bool setCircuitLength(double circuitLength); | ||
| 172 | |||
| 173 | bool setChangeoverDelayTimePeriodSchedule(Schedule& schedule); | ||
| 174 | |||
| 175 | void resetChangeoverDelayTimePeriodSchedule(); | ||
| 176 | |||
| 177 | boost::optional<ThermalZone> thermalZone() const override; | ||
| 178 | |||
| 179 | bool addToThermalZone(ThermalZone& thermalZone) override; | ||
| 180 | |||
| 181 | void removeFromThermalZone() override; | ||
| 182 | |||
| 183 | //@} | ||
| 184 | /** @name Other */ | ||
| 185 | //@{ | ||
| 186 | |||
| 187 | //@} | ||
| 188 | protected: | ||
| 189 | private: | ||
| 190 | − | REGISTER_LOGGER("openstudio.model.ZoneHVACLowTempRadiantVarFlow"); | |
| 191 | |||
| 192 | boost::optional<Schedule> optionalAvailabilitySchedule() const; | ||
| 193 | boost::optional<HVACComponent> optionalHeatingCoil() const; | ||
| 194 | boost::optional<HVACComponent> optionalCoolingCoil() const; | ||
| 195 | |||
| 196 | std::vector<std::string> radiantSurfaceTypeValues() const; | ||
| 197 | std::vector<std::string> temperatureControlTypeValues() const; | ||
| 198 | }; | ||
| 199 | |||
| 200 | } // namespace detail | ||
| 201 | |||
| 202 | } // namespace model | ||
| 203 | } // namespace openstudio | ||
| 204 | |||
| 205 | #endif // MODEL_ZONEHVACLOWTEMPRADIANTVARFLOW_IMPL_HPP | ||
| 206 |