src/model/PhotovoltaicPerformanceEquivalentOneDiode.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_PHOTOVOLTAICPERFORMANCEEQUIVALENTONEDIODE_HPP | ||
| 7 | #define MODEL_PHOTOVOLTAICPERFORMANCEEQUIVALENTONEDIODE_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "PhotovoltaicPerformance.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | |||
| 14 | namespace model { | ||
| 15 | |||
| 16 | namespace detail { | ||
| 17 | |||
| 18 | class PhotovoltaicPerformanceEquivalentOneDiode_Impl; | ||
| 19 | |||
| 20 | } // namespace detail | ||
| 21 | |||
| 22 | /** PhotovoltaicPerformanceEquivalentOneDiode is a PhotovoltaicPerformance that wraps the OpenStudio IDD object 'OS:PhotovoltaicPerformance:EquivalentOne-Diode'. */ | ||
| 23 | class MODEL_API PhotovoltaicPerformanceEquivalentOneDiode : public PhotovoltaicPerformance | ||
| 24 | { | ||
| 25 | public: | ||
| 26 | /** @name Constructors and Destructors */ | ||
| 27 | //@{ | ||
| 28 | |||
| 29 | explicit PhotovoltaicPerformanceEquivalentOneDiode(const Model& model); | ||
| 30 | |||
| 31 | 9 | virtual ~PhotovoltaicPerformanceEquivalentOneDiode() override = default; | |
| 32 | // Default the copy and move operators because the virtual dtor is explicit | ||
| 33 | ✗ | PhotovoltaicPerformanceEquivalentOneDiode(const PhotovoltaicPerformanceEquivalentOneDiode& other) = default; | |
| 34 | 1 | PhotovoltaicPerformanceEquivalentOneDiode(PhotovoltaicPerformanceEquivalentOneDiode&& other) = default; | |
| 35 | ✗ | PhotovoltaicPerformanceEquivalentOneDiode& operator=(const PhotovoltaicPerformanceEquivalentOneDiode&) = default; | |
| 36 | ✗ | PhotovoltaicPerformanceEquivalentOneDiode& operator=(PhotovoltaicPerformanceEquivalentOneDiode&&) = default; | |
| 37 | |||
| 38 | //@} | ||
| 39 | |||
| 40 | static IddObjectType iddObjectType(); | ||
| 41 | |||
| 42 | static std::vector<std::string> celltypeValues(); | ||
| 43 | |||
| 44 | /** @name Getters */ | ||
| 45 | //@{ | ||
| 46 | |||
| 47 | std::string celltype() const; | ||
| 48 | |||
| 49 | bool isCelltypeDefaulted() const; | ||
| 50 | |||
| 51 | int numberOfCellsInSeries() const; | ||
| 52 | |||
| 53 | bool isNumberOfCellsInSeriesDefaulted() const; | ||
| 54 | |||
| 55 | double activeArea() const; | ||
| 56 | |||
| 57 | bool isActiveAreaDefaulted() const; | ||
| 58 | |||
| 59 | double transmittanceAbsorptanceProduct() const; | ||
| 60 | |||
| 61 | bool isTransmittanceAbsorptanceProductDefaulted() const; | ||
| 62 | |||
| 63 | double semiconductorBandgap() const; | ||
| 64 | |||
| 65 | bool isSemiconductorBandgapDefaulted() const; | ||
| 66 | |||
| 67 | double shuntResistance() const; | ||
| 68 | |||
| 69 | bool isShuntResistanceDefaulted() const; | ||
| 70 | |||
| 71 | double shortCircuitCurrent() const; | ||
| 72 | |||
| 73 | bool isShortCircuitCurrentDefaulted() const; | ||
| 74 | |||
| 75 | double openCircuitVoltage() const; | ||
| 76 | |||
| 77 | bool isOpenCircuitVoltageDefaulted() const; | ||
| 78 | |||
| 79 | double referenceTemperature() const; | ||
| 80 | |||
| 81 | bool isReferenceTemperatureDefaulted() const; | ||
| 82 | |||
| 83 | double referenceInsolation() const; | ||
| 84 | |||
| 85 | bool isReferenceInsolationDefaulted() const; | ||
| 86 | |||
| 87 | double moduleCurrentatMaximumPower() const; | ||
| 88 | |||
| 89 | bool isModuleCurrentatMaximumPowerDefaulted() const; | ||
| 90 | |||
| 91 | double moduleVoltageatMaximumPower() const; | ||
| 92 | |||
| 93 | bool isModuleVoltageatMaximumPowerDefaulted() const; | ||
| 94 | |||
| 95 | double temperatureCoefficientofShortCircuitCurrent() const; | ||
| 96 | |||
| 97 | bool isTemperatureCoefficientofShortCircuitCurrentDefaulted() const; | ||
| 98 | |||
| 99 | double temperatureCoefficientofOpenCircuitVoltage() const; | ||
| 100 | |||
| 101 | bool isTemperatureCoefficientofOpenCircuitVoltageDefaulted() const; | ||
| 102 | |||
| 103 | double nominalOperatingCellTemperatureTestAmbientTemperature() const; | ||
| 104 | |||
| 105 | bool isNominalOperatingCellTemperatureTestAmbientTemperatureDefaulted() const; | ||
| 106 | |||
| 107 | double nominalOperatingCellTemperatureTestCellTemperature() const; | ||
| 108 | |||
| 109 | bool isNominalOperatingCellTemperatureTestCellTemperatureDefaulted() const; | ||
| 110 | |||
| 111 | double nominalOperatingCellTemperatureTestInsolation() const; | ||
| 112 | |||
| 113 | bool isNominalOperatingCellTemperatureTestInsolationDefaulted() const; | ||
| 114 | |||
| 115 | double moduleHeatLossCoefficient() const; | ||
| 116 | |||
| 117 | bool isModuleHeatLossCoefficientDefaulted() const; | ||
| 118 | |||
| 119 | double totalHeatCapacity() const; | ||
| 120 | |||
| 121 | bool isTotalHeatCapacityDefaulted() const; | ||
| 122 | |||
| 123 | //@} | ||
| 124 | /** @name Setters */ | ||
| 125 | //@{ | ||
| 126 | |||
| 127 | bool setCelltype(const std::string& celltype); | ||
| 128 | |||
| 129 | void resetCelltype(); | ||
| 130 | |||
| 131 | bool setNumberofCellsinSeries(int numberOfCellsInSeries); | ||
| 132 | |||
| 133 | void resetNumberofCellsinSeries(); | ||
| 134 | |||
| 135 | bool setActiveArea(double activeArea); | ||
| 136 | |||
| 137 | void resetActiveArea(); | ||
| 138 | |||
| 139 | bool setTransmittanceAbsorptanceProduct(double transmittanceAbsorptanceProduct); | ||
| 140 | |||
| 141 | void resetTransmittanceAbsorptanceProduct(); | ||
| 142 | |||
| 143 | bool setSemiconductorBandgap(double semiconductorBandgap); | ||
| 144 | |||
| 145 | void resetSemiconductorBandgap(); | ||
| 146 | |||
| 147 | bool setShuntResistance(double shuntResistance); | ||
| 148 | |||
| 149 | void resetShuntResistance(); | ||
| 150 | |||
| 151 | bool setShortCircuitCurrent(double shortCircuitCurrent); | ||
| 152 | |||
| 153 | void resetShortCircuitCurrent(); | ||
| 154 | |||
| 155 | bool setOpenCircuitVoltage(double openCircuitVoltage); | ||
| 156 | |||
| 157 | void resetOpenCircuitVoltage(); | ||
| 158 | |||
| 159 | bool setReferenceTemperature(double referenceTemperature); | ||
| 160 | |||
| 161 | void resetReferenceTemperature(); | ||
| 162 | |||
| 163 | bool setReferenceInsolation(double referenceInsolation); | ||
| 164 | |||
| 165 | void resetReferenceInsolation(); | ||
| 166 | |||
| 167 | bool setModuleCurrentatMaximumPower(double moduleCurrentatMaximumPower); | ||
| 168 | |||
| 169 | void resetModuleCurrentatMaximumPower(); | ||
| 170 | |||
| 171 | bool setModuleVoltageatMaximumPower(double moduleVoltageatMaximumPower); | ||
| 172 | |||
| 173 | void resetModuleVoltageatMaximumPower(); | ||
| 174 | |||
| 175 | bool setTemperatureCoefficientofShortCircuitCurrent(double temperatureCoefficientofShortCircuitCurrent); | ||
| 176 | |||
| 177 | void resetTemperatureCoefficientofShortCircuitCurrent(); | ||
| 178 | |||
| 179 | bool setTemperatureCoefficientofOpenCircuitVoltage(double temperatureCoefficientofOpenCircuitVoltage); | ||
| 180 | |||
| 181 | void resetTemperatureCoefficientofOpenCircuitVoltage(); | ||
| 182 | |||
| 183 | bool setNominalOperatingCellTemperatureTestAmbientTemperature(double nominalOperatingCellTemperatureTestAmbientTemperature); | ||
| 184 | |||
| 185 | void resetNominalOperatingCellTemperatureTestAmbientTemperature(); | ||
| 186 | |||
| 187 | bool setNominalOperatingCellTemperatureTestCellTemperature(double nominalOperatingCellTemperatureTestCellTemperature); | ||
| 188 | |||
| 189 | void resetNominalOperatingCellTemperatureTestCellTemperature(); | ||
| 190 | |||
| 191 | bool setNominalOperatingCellTemperatureTestInsolation(double nominalOperatingCellTemperatureTestInsolation); | ||
| 192 | |||
| 193 | void resetNominalOperatingCellTemperatureTestInsolation(); | ||
| 194 | |||
| 195 | bool setModuleHeatLossCoefficient(double moduleHeatLossCoefficient); | ||
| 196 | |||
| 197 | void resetModuleHeatLossCoefficient(); | ||
| 198 | |||
| 199 | bool setTotalHeatCapacity(double totalHeatCapacity); | ||
| 200 | |||
| 201 | void resetTotalHeatCapacity(); | ||
| 202 | |||
| 203 | //@} | ||
| 204 | /** @name Other */ | ||
| 205 | //@{ | ||
| 206 | |||
| 207 | //@} | ||
| 208 | protected: | ||
| 209 | /// @cond | ||
| 210 | using ImplType = detail::PhotovoltaicPerformanceEquivalentOneDiode_Impl; | ||
| 211 | |||
| 212 | explicit PhotovoltaicPerformanceEquivalentOneDiode(std::shared_ptr<detail::PhotovoltaicPerformanceEquivalentOneDiode_Impl> impl); | ||
| 213 | |||
| 214 | friend class detail::PhotovoltaicPerformanceEquivalentOneDiode_Impl; | ||
| 215 | friend class Model; | ||
| 216 | friend class IdfObject; | ||
| 217 | friend class openstudio::detail::IdfObject_Impl; | ||
| 218 | /// @endcond | ||
| 219 | private: | ||
| 220 | REGISTER_LOGGER("openstudio.model.PhotovoltaicPerformanceEquivalentOneDiode"); | ||
| 221 | }; | ||
| 222 | |||
| 223 | /** \relates PhotovoltaicPerformanceEquivalentOneDiode*/ | ||
| 224 | using OptionalPhotovoltaicPerformanceEquivalentOneDiode = boost::optional<PhotovoltaicPerformanceEquivalentOneDiode>; | ||
| 225 | |||
| 226 | /** \relates PhotovoltaicPerformanceEquivalentOneDiode*/ | ||
| 227 | using PhotovoltaicPerformanceEquivalentOneDiodeVector = std::vector<PhotovoltaicPerformanceEquivalentOneDiode>; | ||
| 228 | |||
| 229 | } // namespace model | ||
| 230 | } // namespace openstudio | ||
| 231 | |||
| 232 | #endif // MODEL_PHOTOVOLTAICPERFORMANCEEQUIVALENTONEDIODE_HPP | ||
| 233 |