src/model/PhotovoltaicPerformanceSandia_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_PHOTOVOLTAICPERFORMANCESANDIA_IMPL_HPP | ||
| 7 | #define MODEL_PHOTOVOLTAICPERFORMANCESANDIA_IMPL_HPP | ||
| 8 | |||
| 9 | #include <model/ModelAPI.hpp> | ||
| 10 | #include "PhotovoltaicPerformance_Impl.hpp" | ||
| 11 | |||
| 12 | namespace Json { | ||
| 13 | class Value; | ||
| 14 | } | ||
| 15 | |||
| 16 | namespace openstudio { | ||
| 17 | namespace model { | ||
| 18 | |||
| 19 | namespace detail { | ||
| 20 | |||
| 21 | /** PhotovoltaicPerformanceSandia_Impl is a PhotovoltaicPerformance_Impl that is the implementation class for PhotovoltaicPerformanceSandia.*/ | ||
| 22 | class MODEL_API PhotovoltaicPerformanceSandia_Impl : public PhotovoltaicPerformance_Impl | ||
| 23 | { | ||
| 24 | public: | ||
| 25 | /** @name Constructors and Destructors */ | ||
| 26 | //@{ | ||
| 27 | |||
| 28 | PhotovoltaicPerformanceSandia_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 29 | |||
| 30 | PhotovoltaicPerformanceSandia_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 31 | |||
| 32 | PhotovoltaicPerformanceSandia_Impl(const PhotovoltaicPerformanceSandia_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 33 | |||
| 34 | 10 | virtual ~PhotovoltaicPerformanceSandia_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 | //@} | ||
| 45 | /** @name Getters */ | ||
| 46 | //@{ | ||
| 47 | |||
| 48 | double activeArea() const; | ||
| 49 | |||
| 50 | int numberofCellsinSeries() const; | ||
| 51 | |||
| 52 | int numberofCellsinParallel() const; | ||
| 53 | |||
| 54 | double shortCircuitCurrent() const; | ||
| 55 | |||
| 56 | double openCircuitVoltage() const; | ||
| 57 | |||
| 58 | double currentatMaximumPowerPoint() const; | ||
| 59 | |||
| 60 | double voltageatMaximumPowerPoint() const; | ||
| 61 | |||
| 62 | double sandiaDatabaseParameteraIsc() const; | ||
| 63 | |||
| 64 | double sandiaDatabaseParameteraImp() const; | ||
| 65 | |||
| 66 | double sandiaDatabaseParameterc0() const; | ||
| 67 | |||
| 68 | double sandiaDatabaseParameterc1() const; | ||
| 69 | |||
| 70 | double sandiaDatabaseParameterBVoc0() const; | ||
| 71 | |||
| 72 | double sandiaDatabaseParametermBVoc() const; | ||
| 73 | |||
| 74 | double sandiaDatabaseParameterBVmp0() const; | ||
| 75 | |||
| 76 | double sandiaDatabaseParametermBVmp() const; | ||
| 77 | |||
| 78 | double diodeFactor() const; | ||
| 79 | |||
| 80 | double sandiaDatabaseParameterc2() const; | ||
| 81 | |||
| 82 | double sandiaDatabaseParameterc3() const; | ||
| 83 | |||
| 84 | double sandiaDatabaseParametera0() const; | ||
| 85 | |||
| 86 | double sandiaDatabaseParametera1() const; | ||
| 87 | |||
| 88 | double sandiaDatabaseParametera2() const; | ||
| 89 | |||
| 90 | double sandiaDatabaseParametera3() const; | ||
| 91 | |||
| 92 | double sandiaDatabaseParametera4() const; | ||
| 93 | |||
| 94 | double sandiaDatabaseParameterb0() const; | ||
| 95 | |||
| 96 | double sandiaDatabaseParameterb1() const; | ||
| 97 | |||
| 98 | double sandiaDatabaseParameterb2() const; | ||
| 99 | |||
| 100 | double sandiaDatabaseParameterb3() const; | ||
| 101 | |||
| 102 | double sandiaDatabaseParameterb4() const; | ||
| 103 | |||
| 104 | double sandiaDatabaseParameterb5() const; | ||
| 105 | |||
| 106 | double sandiaDatabaseParameterDeltaTc() const; | ||
| 107 | |||
| 108 | double sandiaDatabaseParameterfd() const; | ||
| 109 | |||
| 110 | double sandiaDatabaseParametera() const; | ||
| 111 | |||
| 112 | double sandiaDatabaseParameterb() const; | ||
| 113 | |||
| 114 | double sandiaDatabaseParameterc4() const; | ||
| 115 | |||
| 116 | double sandiaDatabaseParameterc5() const; | ||
| 117 | |||
| 118 | double sandiaDatabaseParameterIx0() const; | ||
| 119 | |||
| 120 | double sandiaDatabaseParameterIxx0() const; | ||
| 121 | |||
| 122 | double sandiaDatabaseParameterc6() const; | ||
| 123 | |||
| 124 | double sandiaDatabaseParameterc7() const; | ||
| 125 | |||
| 126 | //@} | ||
| 127 | /** @name Setters */ | ||
| 128 | //@{ | ||
| 129 | |||
| 130 | bool setActiveArea(double activeArea); | ||
| 131 | |||
| 132 | bool setNumberofCellsinSeries(int numberofCellsinSeries); | ||
| 133 | |||
| 134 | bool setNumberofCellsinParallel(int numberofCellsinParallel); | ||
| 135 | |||
| 136 | bool setShortCircuitCurrent(double shortCircuitCurrent); | ||
| 137 | |||
| 138 | bool setOpenCircuitVoltage(double openCircuitVoltage); | ||
| 139 | |||
| 140 | bool setCurrentatMaximumPowerPoint(double currentatMaximumPowerPoint); | ||
| 141 | |||
| 142 | bool setVoltageatMaximumPowerPoint(double voltageatMaximumPowerPoint); | ||
| 143 | |||
| 144 | bool setSandiaDatabaseParameteraIsc(double sandiaDatabaseParameteraIsc); | ||
| 145 | |||
| 146 | bool setSandiaDatabaseParameteraImp(double sandiaDatabaseParameteraImp); | ||
| 147 | |||
| 148 | bool setSandiaDatabaseParameterc0(double sandiaDatabaseParameterc0); | ||
| 149 | |||
| 150 | bool setSandiaDatabaseParameterc1(double sandiaDatabaseParameterc1); | ||
| 151 | |||
| 152 | bool setSandiaDatabaseParameterBVoc0(double sandiaDatabaseParameterBVoc0); | ||
| 153 | |||
| 154 | bool setSandiaDatabaseParametermBVoc(double sandiaDatabaseParametermBVoc); | ||
| 155 | |||
| 156 | bool setSandiaDatabaseParameterBVmp0(double sandiaDatabaseParameterBVmp0); | ||
| 157 | |||
| 158 | bool setSandiaDatabaseParametermBVmp(double sandiaDatabaseParametermBVmp); | ||
| 159 | |||
| 160 | bool setDiodeFactor(double diodeFactor); | ||
| 161 | |||
| 162 | bool setSandiaDatabaseParameterc2(double sandiaDatabaseParameterc2); | ||
| 163 | |||
| 164 | bool setSandiaDatabaseParameterc3(double sandiaDatabaseParameterc3); | ||
| 165 | |||
| 166 | bool setSandiaDatabaseParametera0(double sandiaDatabaseParametera0); | ||
| 167 | |||
| 168 | bool setSandiaDatabaseParametera1(double sandiaDatabaseParametera1); | ||
| 169 | |||
| 170 | bool setSandiaDatabaseParametera2(double sandiaDatabaseParametera2); | ||
| 171 | |||
| 172 | bool setSandiaDatabaseParametera3(double sandiaDatabaseParametera3); | ||
| 173 | |||
| 174 | bool setSandiaDatabaseParametera4(double sandiaDatabaseParametera4); | ||
| 175 | |||
| 176 | bool setSandiaDatabaseParameterb0(double sandiaDatabaseParameterb0); | ||
| 177 | |||
| 178 | bool setSandiaDatabaseParameterb1(double sandiaDatabaseParameterb1); | ||
| 179 | |||
| 180 | bool setSandiaDatabaseParameterb2(double sandiaDatabaseParameterb2); | ||
| 181 | |||
| 182 | bool setSandiaDatabaseParameterb3(double sandiaDatabaseParameterb3); | ||
| 183 | |||
| 184 | bool setSandiaDatabaseParameterb4(double sandiaDatabaseParameterb4); | ||
| 185 | |||
| 186 | bool setSandiaDatabaseParameterb5(double sandiaDatabaseParameterb5); | ||
| 187 | |||
| 188 | bool setSandiaDatabaseParameterDeltaTc(double sandiaDatabaseParameterDeltaTc); | ||
| 189 | |||
| 190 | bool setSandiaDatabaseParameterfd(double sandiaDatabaseParameterfd); | ||
| 191 | |||
| 192 | bool setSandiaDatabaseParametera(double sandiaDatabaseParametera); | ||
| 193 | |||
| 194 | bool setSandiaDatabaseParameterb(double sandiaDatabaseParameterb); | ||
| 195 | |||
| 196 | bool setSandiaDatabaseParameterc4(double sandiaDatabaseParameterc4); | ||
| 197 | |||
| 198 | bool setSandiaDatabaseParameterc5(double sandiaDatabaseParameterc5); | ||
| 199 | |||
| 200 | bool setSandiaDatabaseParameterIx0(double sandiaDatabaseParameterIx0); | ||
| 201 | |||
| 202 | bool setSandiaDatabaseParameterIxx0(double sandiaDatabaseParameterIxx0); | ||
| 203 | |||
| 204 | bool setSandiaDatabaseParameterc6(double sandiaDatabaseParameterc6); | ||
| 205 | |||
| 206 | bool setSandiaDatabaseParameterc7(double sandiaDatabaseParameterc7); | ||
| 207 | |||
| 208 | //@} | ||
| 209 | /** @name Other */ | ||
| 210 | //@{ | ||
| 211 | |||
| 212 | static std::vector<std::string> sandiaModulePerformanceNames(); | ||
| 213 | |||
| 214 | static const Json::Value& getSandiaJSON(); | ||
| 215 | //@} | ||
| 216 | protected: | ||
| 217 | private: | ||
| 218 | REGISTER_LOGGER("openstudio.model.PhotovoltaicPerformanceSandia"); | ||
| 219 | }; | ||
| 220 | |||
| 221 | } // namespace detail | ||
| 222 | |||
| 223 | } // namespace model | ||
| 224 | } // namespace openstudio | ||
| 225 | |||
| 226 | #endif // MODEL_PHOTOVOLTAICPERFORMANCESANDIA_IMPL_HPP | ||
| 227 |