src/model/PhotovoltaicPerformanceSandia.cpp
| 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 | #include "PhotovoltaicPerformanceSandia.hpp" | ||
| 7 | #include "PhotovoltaicPerformanceSandia_Impl.hpp" | ||
| 8 | |||
| 9 | #include <json/value.h> | ||
| 10 | #include <utilities/idd/IddEnums.hxx> | ||
| 11 | #include <utilities/idd/OS_PhotovoltaicPerformance_Sandia_FieldEnums.hxx> | ||
| 12 | |||
| 13 | #include "../utilities/units/Unit.hpp" | ||
| 14 | |||
| 15 | #include "../utilities/core/Assert.hpp" | ||
| 16 | |||
| 17 | #include <model/embedded_files.hxx> | ||
| 18 | #include "../utilities/filetypes/StandardsJSON.hpp" | ||
| 19 | #include "../utilities/core/Json.hpp" | ||
| 20 | #include <json/json.h> | ||
| 21 | |||
| 22 | namespace openstudio { | ||
| 23 | namespace model { | ||
| 24 | |||
| 25 | namespace detail { | ||
| 26 | |||
| 27 | 2 | Json::Value parseSandiaJSON() { | |
| 28 | // Embedded file path | ||
| 29 |
1/1✓ Branch 1 taken 2 times.
|
2 | std::string embedded_path = ":/Resources/sandia/Sandia_Modules.json"; |
| 30 |
1/1✓ Branch 1 taken 2 times.
|
2 | std::string fileContent = ::openstudiomodel::embedded_files::getFileAsString(embedded_path); |
| 31 | |||
| 32 |
1/1✓ Branch 1 taken 2 times.
|
2 | std::istringstream ss(fileContent); |
| 33 |
1/1✓ Branch 1 taken 2 times.
|
2 | Json::Value sandiaRoot; |
| 34 |
1/1✓ Branch 1 taken 2 times.
|
2 | ss >> sandiaRoot; |
| 35 | |||
| 36 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
|
4 | return sandiaRoot["data"]; |
| 37 | 2 | } | |
| 38 | |||
| 39 | 4 | const Json::Value& PhotovoltaicPerformanceSandia_Impl::getSandiaJSON() { | |
| 40 | // Relies on utilties/StandardsJSON since it's used in several places | ||
| 41 | // Here we store a Json::Value rather than the StandardsJSON because we only care about the "space_types" primaryKey | ||
| 42 | // Not the whole StandardsJSON | ||
| 43 |
4/7✓ Branch 0 taken 2 times.
✓ Branch 1 taken 2 times.
✓ Branch 3 taken 2 times.
✗ Branch 4 not taken.
✓ Branch 6 taken 2 times.
✗ Branch 10 not taken.
✗ Branch 11 not taken.
|
4 | static const Json::Value sandiaRoot{parseSandiaJSON()}; |
| 44 | 4 | return sandiaRoot; | |
| 45 | } | ||
| 46 | |||
| 47 | 2 | std::vector<std::string> PhotovoltaicPerformanceSandia_Impl::sandiaModulePerformanceNames() { | |
| 48 | 2 | return getSandiaJSON().getMemberNames(); | |
| 49 | } | ||
| 50 | |||
| 51 | 8 | PhotovoltaicPerformanceSandia_Impl::PhotovoltaicPerformanceSandia_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle) | |
| 52 | 8 | : PhotovoltaicPerformance_Impl(idfObject, model, keepHandle) { | |
| 53 |
4/6✓ Branch 1 taken 8 times.
✓ Branch 4 taken 8 times.
✓ Branch 7 taken 8 times.
✗ Branch 10 not taken.
✓ Branch 11 taken 8 times.
✗ Branch 13 not taken.
|
8 | OS_ASSERT(idfObject.iddObject().type() == PhotovoltaicPerformanceSandia::iddObjectType()); |
| 54 | 8 | } | |
| 55 | |||
| 56 | ✗ | PhotovoltaicPerformanceSandia_Impl::PhotovoltaicPerformanceSandia_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, | |
| 57 | ✗ | bool keepHandle) | |
| 58 | ✗ | : PhotovoltaicPerformance_Impl(other, model, keepHandle) { | |
| 59 | ✗ | OS_ASSERT(other.iddObject().type() == PhotovoltaicPerformanceSandia::iddObjectType()); | |
| 60 | ✗ | } | |
| 61 | |||
| 62 | 2 | PhotovoltaicPerformanceSandia_Impl::PhotovoltaicPerformanceSandia_Impl(const PhotovoltaicPerformanceSandia_Impl& other, Model_Impl* model, | |
| 63 | 2 | bool keepHandle) | |
| 64 | 2 | : PhotovoltaicPerformance_Impl(other, model, keepHandle) {} | |
| 65 | |||
| 66 | ✗ | const std::vector<std::string>& PhotovoltaicPerformanceSandia_Impl::outputVariableNames() const { | |
| 67 | ✗ | static std::vector<std::string> result; | |
| 68 | ✗ | if (result.empty()) { | |
| 69 | } | ||
| 70 | ✗ | return result; | |
| 71 | } | ||
| 72 | |||
| 73 | ✗ | IddObjectType PhotovoltaicPerformanceSandia_Impl::iddObjectType() const { | |
| 74 | ✗ | return PhotovoltaicPerformanceSandia::iddObjectType(); | |
| 75 | } | ||
| 76 | |||
| 77 | 5 | double PhotovoltaicPerformanceSandia_Impl::activeArea() const { | |
| 78 |
1/1✓ Branch 1 taken 5 times.
|
5 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::ActiveArea, true); |
| 79 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
|
5 | OS_ASSERT(value); |
| 80 |
1/1✓ Branch 1 taken 5 times.
|
10 | return value.get(); |
| 81 | } | ||
| 82 | |||
| 83 | 5 | int PhotovoltaicPerformanceSandia_Impl::numberofCellsinSeries() const { | |
| 84 |
1/1✓ Branch 1 taken 5 times.
|
5 | boost::optional<int> value = getInt(OS_PhotovoltaicPerformance_SandiaFields::NumberofCellsinSeries, true); |
| 85 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
|
5 | OS_ASSERT(value); |
| 86 |
1/1✓ Branch 1 taken 5 times.
|
10 | return value.get(); |
| 87 | } | ||
| 88 | |||
| 89 | 5 | int PhotovoltaicPerformanceSandia_Impl::numberofCellsinParallel() const { | |
| 90 |
1/1✓ Branch 1 taken 5 times.
|
5 | boost::optional<int> value = getInt(OS_PhotovoltaicPerformance_SandiaFields::NumberofCellsinParallel, true); |
| 91 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
|
5 | OS_ASSERT(value); |
| 92 |
1/1✓ Branch 1 taken 5 times.
|
10 | return value.get(); |
| 93 | } | ||
| 94 | |||
| 95 | 4 | double PhotovoltaicPerformanceSandia_Impl::shortCircuitCurrent() const { | |
| 96 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::ShortCircuitCurrent, true); |
| 97 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 98 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 99 | } | ||
| 100 | |||
| 101 | 4 | double PhotovoltaicPerformanceSandia_Impl::openCircuitVoltage() const { | |
| 102 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::OpenCircuitVoltage, true); |
| 103 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 104 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 105 | } | ||
| 106 | |||
| 107 | 4 | double PhotovoltaicPerformanceSandia_Impl::currentatMaximumPowerPoint() const { | |
| 108 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::CurrentatMaximumPowerPoint, true); |
| 109 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 110 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 111 | } | ||
| 112 | |||
| 113 | 4 | double PhotovoltaicPerformanceSandia_Impl::voltageatMaximumPowerPoint() const { | |
| 114 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::VoltageatMaximumPowerPoint, true); |
| 115 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 116 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 117 | } | ||
| 118 | |||
| 119 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParameteraIsc() const { | |
| 120 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameteraIsc, true); |
| 121 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 122 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 123 | } | ||
| 124 | |||
| 125 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParameteraImp() const { | |
| 126 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameteraImp, true); |
| 127 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 128 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 129 | } | ||
| 130 | |||
| 131 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParameterc0() const { | |
| 132 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterc0, true); |
| 133 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 134 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 135 | } | ||
| 136 | |||
| 137 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParameterc1() const { | |
| 138 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterc1, true); |
| 139 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 140 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 141 | } | ||
| 142 | |||
| 143 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParameterBVoc0() const { | |
| 144 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterBVoc0, true); |
| 145 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 146 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 147 | } | ||
| 148 | |||
| 149 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParametermBVoc() const { | |
| 150 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParametermBVoc, true); |
| 151 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 152 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 153 | } | ||
| 154 | |||
| 155 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParameterBVmp0() const { | |
| 156 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterBVmp0, true); |
| 157 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 158 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 159 | } | ||
| 160 | |||
| 161 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParametermBVmp() const { | |
| 162 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParametermBVmp, true); |
| 163 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 164 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 165 | } | ||
| 166 | |||
| 167 | 4 | double PhotovoltaicPerformanceSandia_Impl::diodeFactor() const { | |
| 168 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::DiodeFactor, true); |
| 169 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 170 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 171 | } | ||
| 172 | |||
| 173 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParameterc2() const { | |
| 174 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterc2, true); |
| 175 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 176 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 177 | } | ||
| 178 | |||
| 179 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParameterc3() const { | |
| 180 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterc3, true); |
| 181 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 182 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 183 | } | ||
| 184 | |||
| 185 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParametera0() const { | |
| 186 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParametera0, true); |
| 187 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 188 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 189 | } | ||
| 190 | |||
| 191 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParametera1() const { | |
| 192 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParametera1, true); |
| 193 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 194 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 195 | } | ||
| 196 | |||
| 197 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParametera2() const { | |
| 198 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParametera2, true); |
| 199 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 200 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 201 | } | ||
| 202 | |||
| 203 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParametera3() const { | |
| 204 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParametera3, true); |
| 205 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 206 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 207 | } | ||
| 208 | |||
| 209 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParametera4() const { | |
| 210 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParametera4, true); |
| 211 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 212 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 213 | } | ||
| 214 | |||
| 215 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParameterb0() const { | |
| 216 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterb0, true); |
| 217 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 218 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 219 | } | ||
| 220 | |||
| 221 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParameterb1() const { | |
| 222 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterb1, true); |
| 223 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 224 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 225 | } | ||
| 226 | |||
| 227 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParameterb2() const { | |
| 228 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterb2, true); |
| 229 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 230 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 231 | } | ||
| 232 | |||
| 233 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParameterb3() const { | |
| 234 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterb3, true); |
| 235 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 236 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 237 | } | ||
| 238 | |||
| 239 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParameterb4() const { | |
| 240 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterb4, true); |
| 241 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 242 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 243 | } | ||
| 244 | |||
| 245 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParameterb5() const { | |
| 246 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterb5, true); |
| 247 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 248 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 249 | } | ||
| 250 | |||
| 251 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParameterDeltaTc() const { | |
| 252 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterDelta_Tc_, true); |
| 253 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 254 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 255 | } | ||
| 256 | |||
| 257 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParameterfd() const { | |
| 258 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterfd, true); |
| 259 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 260 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 261 | } | ||
| 262 | |||
| 263 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParametera() const { | |
| 264 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParametera, true); |
| 265 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 266 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 267 | } | ||
| 268 | |||
| 269 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParameterb() const { | |
| 270 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterb, true); |
| 271 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 272 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 273 | } | ||
| 274 | |||
| 275 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParameterc4() const { | |
| 276 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterc4, true); |
| 277 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 278 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 279 | } | ||
| 280 | |||
| 281 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParameterc5() const { | |
| 282 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterc5, true); |
| 283 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 284 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 285 | } | ||
| 286 | |||
| 287 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParameterIx0() const { | |
| 288 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterIx0, true); |
| 289 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 290 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 291 | } | ||
| 292 | |||
| 293 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParameterIxx0() const { | |
| 294 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterIxx0, true); |
| 295 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 296 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 297 | } | ||
| 298 | |||
| 299 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParameterc6() const { | |
| 300 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterc6, true); |
| 301 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 302 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 303 | } | ||
| 304 | |||
| 305 | 4 | double PhotovoltaicPerformanceSandia_Impl::sandiaDatabaseParameterc7() const { | |
| 306 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterc7, true); |
| 307 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 308 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 309 | } | ||
| 310 | |||
| 311 | 14 | bool PhotovoltaicPerformanceSandia_Impl::setActiveArea(double activeArea) { | |
| 312 | 14 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::ActiveArea, activeArea); | |
| 313 | 14 | return result; | |
| 314 | } | ||
| 315 | |||
| 316 | 14 | bool PhotovoltaicPerformanceSandia_Impl::setNumberofCellsinSeries(int numberofCellsinSeries) { | |
| 317 | 14 | bool result = setInt(OS_PhotovoltaicPerformance_SandiaFields::NumberofCellsinSeries, numberofCellsinSeries); | |
| 318 | 14 | return result; | |
| 319 | } | ||
| 320 | |||
| 321 | 14 | bool PhotovoltaicPerformanceSandia_Impl::setNumberofCellsinParallel(int numberofCellsinParallel) { | |
| 322 | 14 | bool result = setInt(OS_PhotovoltaicPerformance_SandiaFields::NumberofCellsinParallel, numberofCellsinParallel); | |
| 323 | 14 | return result; | |
| 324 | } | ||
| 325 | |||
| 326 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setShortCircuitCurrent(double shortCircuitCurrent) { | |
| 327 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::ShortCircuitCurrent, shortCircuitCurrent); | |
| 328 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 329 | 13 | return result; | |
| 330 | } | ||
| 331 | |||
| 332 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setOpenCircuitVoltage(double openCircuitVoltage) { | |
| 333 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::OpenCircuitVoltage, openCircuitVoltage); | |
| 334 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 335 | 13 | return result; | |
| 336 | } | ||
| 337 | |||
| 338 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setCurrentatMaximumPowerPoint(double currentatMaximumPowerPoint) { | |
| 339 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::CurrentatMaximumPowerPoint, currentatMaximumPowerPoint); | |
| 340 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 341 | 13 | return result; | |
| 342 | } | ||
| 343 | |||
| 344 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setVoltageatMaximumPowerPoint(double voltageatMaximumPowerPoint) { | |
| 345 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::VoltageatMaximumPowerPoint, voltageatMaximumPowerPoint); | |
| 346 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 347 | 13 | return result; | |
| 348 | } | ||
| 349 | |||
| 350 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParameteraIsc(double sandiaDatabaseParameteraIsc) { | |
| 351 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameteraIsc, sandiaDatabaseParameteraIsc); | |
| 352 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 353 | 13 | return result; | |
| 354 | } | ||
| 355 | |||
| 356 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParameteraImp(double sandiaDatabaseParameteraImp) { | |
| 357 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameteraImp, sandiaDatabaseParameteraImp); | |
| 358 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 359 | 13 | return result; | |
| 360 | } | ||
| 361 | |||
| 362 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParameterc0(double sandiaDatabaseParameterc0) { | |
| 363 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterc0, sandiaDatabaseParameterc0); | |
| 364 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 365 | 13 | return result; | |
| 366 | } | ||
| 367 | |||
| 368 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParameterc1(double sandiaDatabaseParameterc1) { | |
| 369 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterc1, sandiaDatabaseParameterc1); | |
| 370 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 371 | 13 | return result; | |
| 372 | } | ||
| 373 | |||
| 374 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParameterBVoc0(double sandiaDatabaseParameterBVoc0) { | |
| 375 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterBVoc0, sandiaDatabaseParameterBVoc0); | |
| 376 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 377 | 13 | return result; | |
| 378 | } | ||
| 379 | |||
| 380 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParametermBVoc(double sandiaDatabaseParametermBVoc) { | |
| 381 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParametermBVoc, sandiaDatabaseParametermBVoc); | |
| 382 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 383 | 13 | return result; | |
| 384 | } | ||
| 385 | |||
| 386 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParameterBVmp0(double sandiaDatabaseParameterBVmp0) { | |
| 387 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterBVmp0, sandiaDatabaseParameterBVmp0); | |
| 388 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 389 | 13 | return result; | |
| 390 | } | ||
| 391 | |||
| 392 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParametermBVmp(double sandiaDatabaseParametermBVmp) { | |
| 393 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParametermBVmp, sandiaDatabaseParametermBVmp); | |
| 394 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 395 | 13 | return result; | |
| 396 | } | ||
| 397 | |||
| 398 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setDiodeFactor(double diodeFactor) { | |
| 399 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::DiodeFactor, diodeFactor); | |
| 400 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 401 | 13 | return result; | |
| 402 | } | ||
| 403 | |||
| 404 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParameterc2(double sandiaDatabaseParameterc2) { | |
| 405 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterc2, sandiaDatabaseParameterc2); | |
| 406 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 407 | 13 | return result; | |
| 408 | } | ||
| 409 | |||
| 410 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParameterc3(double sandiaDatabaseParameterc3) { | |
| 411 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterc3, sandiaDatabaseParameterc3); | |
| 412 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 413 | 13 | return result; | |
| 414 | } | ||
| 415 | |||
| 416 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParametera0(double sandiaDatabaseParametera0) { | |
| 417 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParametera0, sandiaDatabaseParametera0); | |
| 418 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 419 | 13 | return result; | |
| 420 | } | ||
| 421 | |||
| 422 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParametera1(double sandiaDatabaseParametera1) { | |
| 423 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParametera1, sandiaDatabaseParametera1); | |
| 424 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 425 | 13 | return result; | |
| 426 | } | ||
| 427 | |||
| 428 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParametera2(double sandiaDatabaseParametera2) { | |
| 429 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParametera2, sandiaDatabaseParametera2); | |
| 430 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 431 | 13 | return result; | |
| 432 | } | ||
| 433 | |||
| 434 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParametera3(double sandiaDatabaseParametera3) { | |
| 435 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParametera3, sandiaDatabaseParametera3); | |
| 436 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 437 | 13 | return result; | |
| 438 | } | ||
| 439 | |||
| 440 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParametera4(double sandiaDatabaseParametera4) { | |
| 441 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParametera4, sandiaDatabaseParametera4); | |
| 442 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 443 | 13 | return result; | |
| 444 | } | ||
| 445 | |||
| 446 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParameterb0(double sandiaDatabaseParameterb0) { | |
| 447 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterb0, sandiaDatabaseParameterb0); | |
| 448 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 449 | 13 | return result; | |
| 450 | } | ||
| 451 | |||
| 452 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParameterb1(double sandiaDatabaseParameterb1) { | |
| 453 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterb1, sandiaDatabaseParameterb1); | |
| 454 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 455 | 13 | return result; | |
| 456 | } | ||
| 457 | |||
| 458 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParameterb2(double sandiaDatabaseParameterb2) { | |
| 459 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterb2, sandiaDatabaseParameterb2); | |
| 460 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 461 | 13 | return result; | |
| 462 | } | ||
| 463 | |||
| 464 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParameterb3(double sandiaDatabaseParameterb3) { | |
| 465 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterb3, sandiaDatabaseParameterb3); | |
| 466 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 467 | 13 | return result; | |
| 468 | } | ||
| 469 | |||
| 470 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParameterb4(double sandiaDatabaseParameterb4) { | |
| 471 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterb4, sandiaDatabaseParameterb4); | |
| 472 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 473 | 13 | return result; | |
| 474 | } | ||
| 475 | |||
| 476 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParameterb5(double sandiaDatabaseParameterb5) { | |
| 477 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterb5, sandiaDatabaseParameterb5); | |
| 478 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 479 | 13 | return result; | |
| 480 | } | ||
| 481 | |||
| 482 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParameterDeltaTc(double sandiaDatabaseParameterDeltaTc) { | |
| 483 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterDelta_Tc_, sandiaDatabaseParameterDeltaTc); | |
| 484 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 485 | 13 | return result; | |
| 486 | } | ||
| 487 | |||
| 488 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParameterfd(double sandiaDatabaseParameterfd) { | |
| 489 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterfd, sandiaDatabaseParameterfd); | |
| 490 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 491 | 13 | return result; | |
| 492 | } | ||
| 493 | |||
| 494 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParametera(double sandiaDatabaseParametera) { | |
| 495 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParametera, sandiaDatabaseParametera); | |
| 496 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 497 | 13 | return result; | |
| 498 | } | ||
| 499 | |||
| 500 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParameterb(double sandiaDatabaseParameterb) { | |
| 501 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterb, sandiaDatabaseParameterb); | |
| 502 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 503 | 13 | return result; | |
| 504 | } | ||
| 505 | |||
| 506 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParameterc4(double sandiaDatabaseParameterc4) { | |
| 507 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterc4, sandiaDatabaseParameterc4); | |
| 508 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 509 | 13 | return result; | |
| 510 | } | ||
| 511 | |||
| 512 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParameterc5(double sandiaDatabaseParameterc5) { | |
| 513 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterc5, sandiaDatabaseParameterc5); | |
| 514 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 515 | 13 | return result; | |
| 516 | } | ||
| 517 | |||
| 518 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParameterIx0(double sandiaDatabaseParameterIx0) { | |
| 519 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterIx0, sandiaDatabaseParameterIx0); | |
| 520 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 521 | 13 | return result; | |
| 522 | } | ||
| 523 | |||
| 524 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParameterIxx0(double sandiaDatabaseParameterIxx0) { | |
| 525 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterIxx0, sandiaDatabaseParameterIxx0); | |
| 526 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 527 | 13 | return result; | |
| 528 | } | ||
| 529 | |||
| 530 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParameterc6(double sandiaDatabaseParameterc6) { | |
| 531 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterc6, sandiaDatabaseParameterc6); | |
| 532 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 533 | 13 | return result; | |
| 534 | } | ||
| 535 | |||
| 536 | 13 | bool PhotovoltaicPerformanceSandia_Impl::setSandiaDatabaseParameterc7(double sandiaDatabaseParameterc7) { | |
| 537 | 13 | bool result = setDouble(OS_PhotovoltaicPerformance_SandiaFields::SandiaDatabaseParameterc7, sandiaDatabaseParameterc7); | |
| 538 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 13 times.
|
13 | OS_ASSERT(result); |
| 539 | 13 | return result; | |
| 540 | } | ||
| 541 | |||
| 542 | } // namespace detail | ||
| 543 | |||
| 544 | 8 | PhotovoltaicPerformanceSandia::PhotovoltaicPerformanceSandia(const Model& model) | |
| 545 | 8 | : PhotovoltaicPerformance(PhotovoltaicPerformanceSandia::iddObjectType(), model) { | |
| 546 |
1/3✗ Branch 2 not taken.
✓ Branch 3 taken 8 times.
✗ Branch 5 not taken.
|
8 | OS_ASSERT(getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()); |
| 547 | |||
| 548 | // Note: these values are from the Sandia Database | ||
| 549 | // I randomly sampled one out of 523 rows and used the values without looking at which commercial product it ended up choosing, so that it'd be fair | ||
| 550 | |||
| 551 | 8 | bool ok = true; | |
| 552 |
1/1✓ Branch 1 taken 8 times.
|
8 | setActiveArea(0.606); |
| 553 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 8 times.
✗ Branch 3 not taken.
|
8 | OS_ASSERT(ok); |
| 554 |
1/1✓ Branch 1 taken 8 times.
|
8 | setNumberofCellsinSeries(36); |
| 555 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 8 times.
✗ Branch 3 not taken.
|
8 | OS_ASSERT(ok); |
| 556 |
1/1✓ Branch 1 taken 8 times.
|
8 | setNumberofCellsinParallel(1); |
| 557 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 8 times.
✗ Branch 3 not taken.
|
8 | OS_ASSERT(ok); |
| 558 | |||
| 559 |
1/1✓ Branch 1 taken 8 times.
|
8 | setShortCircuitCurrent(3.87); |
| 560 |
1/1✓ Branch 1 taken 8 times.
|
8 | setOpenCircuitVoltage(21); |
| 561 |
1/1✓ Branch 1 taken 8 times.
|
8 | setCurrentatMaximumPowerPoint(3.56); |
| 562 |
1/1✓ Branch 1 taken 8 times.
|
8 | setVoltageatMaximumPowerPoint(16.8); |
| 563 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParameteraIsc(0.00065); |
| 564 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParameteraImp(-0.0002); |
| 565 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParameterc0(0.989); |
| 566 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParameterc1(0.011); |
| 567 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParameterBVoc0(-0.08); |
| 568 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParametermBVoc(0); |
| 569 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParameterBVmp0(-0.082); |
| 570 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParametermBVmp(0); |
| 571 |
1/1✓ Branch 1 taken 8 times.
|
8 | setDiodeFactor(1.32); |
| 572 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParameterc2(-0.117); |
| 573 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParameterc3(-11.082); |
| 574 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParametera0(0.9415); |
| 575 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParametera1(0.052728); |
| 576 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParametera2(-0.0095876); |
| 577 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParametera3(0.00067629); |
| 578 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParametera4(-0.000018111); |
| 579 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParameterb0(1); |
| 580 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParameterb1(-0.002438); |
| 581 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParameterb2(0.0003103); |
| 582 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParameterb3(-0.00001246); |
| 583 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParameterb4(2.11E-07); |
| 584 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParameterb5(-1.36E-09); |
| 585 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParameterDeltaTc(3); |
| 586 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParameterfd(1); |
| 587 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParametera(-3.537); |
| 588 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParameterb(-0.0721); |
| 589 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParameterc4(0.9866); |
| 590 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParameterc5(0.0134); |
| 591 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParameterIx0(3.82); |
| 592 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParameterIxx0(2.49); |
| 593 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParameterc6(1.1183); |
| 594 |
1/1✓ Branch 1 taken 8 times.
|
8 | setSandiaDatabaseParameterc7(-0.1183); |
| 595 | 8 | } | |
| 596 | |||
| 597 | ✗ | PhotovoltaicPerformanceSandia::PhotovoltaicPerformanceSandia( | |
| 598 | const Model& model, double activeArea, int numberofCellsinSeries, int numberofCellsinParallel, double shortCircuitCurrent, | ||
| 599 | double openCircuitVoltage, double currentatMaximumPowerPoint, double voltageatMaximumPowerPoint, double sandiaDatabaseParameteraIsc, | ||
| 600 | double sandiaDatabaseParameteraImp, double sandiaDatabaseParameterc0, double sandiaDatabaseParameterc1, double sandiaDatabaseParameterBVoc0, | ||
| 601 | double sandiaDatabaseParametermBVoc, double sandiaDatabaseParameterBVmp0, double sandiaDatabaseParametermBVmp, double diodeFactor, | ||
| 602 | double sandiaDatabaseParameterc2, double sandiaDatabaseParameterc3, double sandiaDatabaseParametera0, double sandiaDatabaseParametera1, | ||
| 603 | double sandiaDatabaseParametera2, double sandiaDatabaseParametera3, double sandiaDatabaseParametera4, double sandiaDatabaseParameterb0, | ||
| 604 | double sandiaDatabaseParameterb1, double sandiaDatabaseParameterb2, double sandiaDatabaseParameterb3, double sandiaDatabaseParameterb4, | ||
| 605 | double sandiaDatabaseParameterb5, double sandiaDatabaseParameterDeltaTc, double sandiaDatabaseParameterfd, double sandiaDatabaseParametera, | ||
| 606 | double sandiaDatabaseParameterb, double sandiaDatabaseParameterc4, double sandiaDatabaseParameterc5, double sandiaDatabaseParameterIx0, | ||
| 607 | ✗ | double sandiaDatabaseParameterIxx0, double sandiaDatabaseParameterc6, double sandiaDatabaseParameterc7) | |
| 608 | ✗ | : PhotovoltaicPerformance(PhotovoltaicPerformanceSandia::iddObjectType(), model) { | |
| 609 | ✗ | OS_ASSERT(getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()); | |
| 610 | |||
| 611 | ✗ | setActiveArea(activeArea); | |
| 612 | ✗ | setNumberofCellsinSeries(numberofCellsinSeries); | |
| 613 | ✗ | setNumberofCellsinParallel(numberofCellsinParallel); | |
| 614 | ✗ | setShortCircuitCurrent(shortCircuitCurrent); | |
| 615 | ✗ | setOpenCircuitVoltage(openCircuitVoltage); | |
| 616 | ✗ | setCurrentatMaximumPowerPoint(currentatMaximumPowerPoint); | |
| 617 | ✗ | setVoltageatMaximumPowerPoint(voltageatMaximumPowerPoint); | |
| 618 | ✗ | setSandiaDatabaseParameteraIsc(sandiaDatabaseParameteraIsc); | |
| 619 | ✗ | setSandiaDatabaseParameteraImp(sandiaDatabaseParameteraImp); | |
| 620 | ✗ | setSandiaDatabaseParameterc0(sandiaDatabaseParameterc0); | |
| 621 | ✗ | setSandiaDatabaseParameterc1(sandiaDatabaseParameterc1); | |
| 622 | ✗ | setSandiaDatabaseParameterBVoc0(sandiaDatabaseParameterBVoc0); | |
| 623 | ✗ | setSandiaDatabaseParametermBVoc(sandiaDatabaseParametermBVoc); | |
| 624 | ✗ | setSandiaDatabaseParameterBVmp0(sandiaDatabaseParameterBVmp0); | |
| 625 | ✗ | setSandiaDatabaseParametermBVmp(sandiaDatabaseParametermBVmp); | |
| 626 | ✗ | setDiodeFactor(diodeFactor); | |
| 627 | ✗ | setSandiaDatabaseParameterc2(sandiaDatabaseParameterc2); | |
| 628 | ✗ | setSandiaDatabaseParameterc3(sandiaDatabaseParameterc3); | |
| 629 | ✗ | setSandiaDatabaseParametera0(sandiaDatabaseParametera0); | |
| 630 | ✗ | setSandiaDatabaseParametera1(sandiaDatabaseParametera1); | |
| 631 | ✗ | setSandiaDatabaseParametera2(sandiaDatabaseParametera2); | |
| 632 | ✗ | setSandiaDatabaseParametera3(sandiaDatabaseParametera3); | |
| 633 | ✗ | setSandiaDatabaseParametera4(sandiaDatabaseParametera4); | |
| 634 | ✗ | setSandiaDatabaseParameterb0(sandiaDatabaseParameterb0); | |
| 635 | ✗ | setSandiaDatabaseParameterb1(sandiaDatabaseParameterb1); | |
| 636 | ✗ | setSandiaDatabaseParameterb2(sandiaDatabaseParameterb2); | |
| 637 | ✗ | setSandiaDatabaseParameterb3(sandiaDatabaseParameterb3); | |
| 638 | ✗ | setSandiaDatabaseParameterb4(sandiaDatabaseParameterb4); | |
| 639 | ✗ | setSandiaDatabaseParameterb5(sandiaDatabaseParameterb5); | |
| 640 | ✗ | setSandiaDatabaseParameterDeltaTc(sandiaDatabaseParameterDeltaTc); | |
| 641 | ✗ | setSandiaDatabaseParameterfd(sandiaDatabaseParameterfd); | |
| 642 | ✗ | setSandiaDatabaseParametera(sandiaDatabaseParametera); | |
| 643 | ✗ | setSandiaDatabaseParameterb(sandiaDatabaseParameterb); | |
| 644 | ✗ | setSandiaDatabaseParameterc4(sandiaDatabaseParameterc4); | |
| 645 | ✗ | setSandiaDatabaseParameterc5(sandiaDatabaseParameterc5); | |
| 646 | ✗ | setSandiaDatabaseParameterIx0(sandiaDatabaseParameterIx0); | |
| 647 | ✗ | setSandiaDatabaseParameterIxx0(sandiaDatabaseParameterIxx0); | |
| 648 | ✗ | setSandiaDatabaseParameterc6(sandiaDatabaseParameterc6); | |
| 649 | ✗ | setSandiaDatabaseParameterc7(sandiaDatabaseParameterc7); | |
| 650 | ✗ | } | |
| 651 | |||
| 652 | // Factory method | ||
| 653 | 2 | PhotovoltaicPerformanceSandia PhotovoltaicPerformanceSandia::fromSandiaDatabase(const Model& model, | |
| 654 | const std::string& sandiaModulePerformanceName) { | ||
| 655 |
1/1✓ Branch 1 taken 2 times.
|
2 | PhotovoltaicPerformanceSandia performance(model); |
| 656 | |||
| 657 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
|
2 | auto data = detail::PhotovoltaicPerformanceSandia_Impl::getSandiaJSON(); |
| 658 | // Throw if wrong sandiaModulePerformanceName | ||
| 659 |
1/1✓ Branch 1 taken 2 times.
|
2 | openstudio::assertKeyAndType(data, sandiaModulePerformanceName, Json::objectValue); |
| 660 | |||
| 661 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
|
2 | auto this_data = data[sandiaModulePerformanceName]; |
| 662 | |||
| 663 | // I find it clearer and less prone to error to call each setter instead of relying on the 35-args Ctor... | ||
| 664 |
1/1✓ Branch 1 taken 2 times.
|
2 | performance.setName(sandiaModulePerformanceName); |
| 665 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setActiveArea(this_data["snl_area"].asDouble()); |
| 666 | |||
| 667 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setNumberofCellsinSeries(this_data["snl_series_cells"].asInt()); |
| 668 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setNumberofCellsinParallel(this_data["snl_parallel_cells"].asInt()); |
| 669 | |||
| 670 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setShortCircuitCurrent(this_data["snl_isco"].asDouble()); |
| 671 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setOpenCircuitVoltage(this_data["snl_voco"].asDouble()); |
| 672 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setCurrentatMaximumPowerPoint(this_data["snl_impo"].asDouble()); |
| 673 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setVoltageatMaximumPowerPoint(this_data["snl_vmpo"].asDouble()); |
| 674 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParameteraIsc(this_data["snl_aisc"].asDouble()); |
| 675 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParameteraImp(this_data["snl_aimp"].asDouble()); |
| 676 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParameterc0(this_data["snl_c0"].asDouble()); |
| 677 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParameterc1(this_data["snl_c1"].asDouble()); |
| 678 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParameterBVoc0(this_data["snl_bvoco"].asDouble()); |
| 679 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParametermBVoc(this_data["snl_mbvoc"].asDouble()); |
| 680 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParameterBVmp0(this_data["snl_bvmpo"].asDouble()); |
| 681 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParametermBVmp(this_data["snl_mbvmp"].asDouble()); |
| 682 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setDiodeFactor(this_data["snl_n"].asDouble()); |
| 683 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParameterc2(this_data["snl_c2"].asDouble()); |
| 684 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParameterc3(this_data["snl_c3"].asDouble()); |
| 685 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParametera0(this_data["snl_a0"].asDouble()); |
| 686 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParametera1(this_data["snl_a1"].asDouble()); |
| 687 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParametera2(this_data["snl_a2"].asDouble()); |
| 688 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParametera3(this_data["snl_a3"].asDouble()); |
| 689 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParametera4(this_data["snl_a4"].asDouble()); |
| 690 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParameterb0(this_data["snl_b0"].asDouble()); |
| 691 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParameterb1(this_data["snl_b1"].asDouble()); |
| 692 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParameterb2(this_data["snl_b2"].asDouble()); |
| 693 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParameterb3(this_data["snl_b3"].asDouble()); |
| 694 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParameterb4(this_data["snl_b4"].asDouble()); |
| 695 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParameterb5(this_data["snl_b5"].asDouble()); |
| 696 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParameterDeltaTc(this_data["snl_dtc"].asDouble()); |
| 697 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParameterfd(this_data["snl_fd"].asDouble()); |
| 698 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParametera(this_data["snl_a"].asDouble()); |
| 699 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParameterb(this_data["snl_b"].asDouble()); |
| 700 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParameterc4(this_data["snl_c4"].asDouble()); |
| 701 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParameterc5(this_data["snl_c5"].asDouble()); |
| 702 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParameterIx0(this_data["snl_ixo"].asDouble()); |
| 703 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParameterIxx0(this_data["snl_ixxo"].asDouble()); |
| 704 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParameterc6(this_data["snl_c6"].asDouble()); |
| 705 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setSandiaDatabaseParameterc7(this_data["snl_c7"].asDouble()); |
| 706 | |||
| 707 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | performance.setComment(this_data["snl_sandia_notes"].asString()); |
| 708 | |||
| 709 | 4 | return performance; | |
| 710 | 2 | } | |
| 711 | |||
| 712 | 2 | std::vector<std::string> PhotovoltaicPerformanceSandia::sandiaModulePerformanceNames() { | |
| 713 | 2 | return detail::PhotovoltaicPerformanceSandia_Impl::sandiaModulePerformanceNames(); | |
| 714 | } | ||
| 715 | |||
| 716 | 7616 | IddObjectType PhotovoltaicPerformanceSandia::iddObjectType() { | |
| 717 |
1/1✓ Branch 1 taken 7616 times.
|
7616 | return {IddObjectType::OS_PhotovoltaicPerformance_Sandia}; |
| 718 | } | ||
| 719 | |||
| 720 | 5 | double PhotovoltaicPerformanceSandia::activeArea() const { | |
| 721 |
1/1✓ Branch 3 taken 5 times.
|
5 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->activeArea(); |
| 722 | } | ||
| 723 | |||
| 724 | 5 | int PhotovoltaicPerformanceSandia::numberofCellsinSeries() const { | |
| 725 |
1/1✓ Branch 3 taken 5 times.
|
5 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->numberofCellsinSeries(); |
| 726 | } | ||
| 727 | |||
| 728 | 5 | int PhotovoltaicPerformanceSandia::numberofCellsinParallel() const { | |
| 729 |
1/1✓ Branch 3 taken 5 times.
|
5 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->numberofCellsinParallel(); |
| 730 | } | ||
| 731 | |||
| 732 | 4 | double PhotovoltaicPerformanceSandia::shortCircuitCurrent() const { | |
| 733 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->shortCircuitCurrent(); |
| 734 | } | ||
| 735 | |||
| 736 | 4 | double PhotovoltaicPerformanceSandia::openCircuitVoltage() const { | |
| 737 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->openCircuitVoltage(); |
| 738 | } | ||
| 739 | |||
| 740 | 4 | double PhotovoltaicPerformanceSandia::currentatMaximumPowerPoint() const { | |
| 741 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->currentatMaximumPowerPoint(); |
| 742 | } | ||
| 743 | |||
| 744 | 4 | double PhotovoltaicPerformanceSandia::voltageatMaximumPowerPoint() const { | |
| 745 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->voltageatMaximumPowerPoint(); |
| 746 | } | ||
| 747 | |||
| 748 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParameteraIsc() const { | |
| 749 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParameteraIsc(); |
| 750 | } | ||
| 751 | |||
| 752 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParameteraImp() const { | |
| 753 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParameteraImp(); |
| 754 | } | ||
| 755 | |||
| 756 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParameterc0() const { | |
| 757 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParameterc0(); |
| 758 | } | ||
| 759 | |||
| 760 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParameterc1() const { | |
| 761 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParameterc1(); |
| 762 | } | ||
| 763 | |||
| 764 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParameterBVoc0() const { | |
| 765 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParameterBVoc0(); |
| 766 | } | ||
| 767 | |||
| 768 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParametermBVoc() const { | |
| 769 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParametermBVoc(); |
| 770 | } | ||
| 771 | |||
| 772 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParameterBVmp0() const { | |
| 773 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParameterBVmp0(); |
| 774 | } | ||
| 775 | |||
| 776 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParametermBVmp() const { | |
| 777 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParametermBVmp(); |
| 778 | } | ||
| 779 | |||
| 780 | 4 | double PhotovoltaicPerformanceSandia::diodeFactor() const { | |
| 781 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->diodeFactor(); |
| 782 | } | ||
| 783 | |||
| 784 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParameterc2() const { | |
| 785 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParameterc2(); |
| 786 | } | ||
| 787 | |||
| 788 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParameterc3() const { | |
| 789 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParameterc3(); |
| 790 | } | ||
| 791 | |||
| 792 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParametera0() const { | |
| 793 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParametera0(); |
| 794 | } | ||
| 795 | |||
| 796 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParametera1() const { | |
| 797 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParametera1(); |
| 798 | } | ||
| 799 | |||
| 800 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParametera2() const { | |
| 801 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParametera2(); |
| 802 | } | ||
| 803 | |||
| 804 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParametera3() const { | |
| 805 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParametera3(); |
| 806 | } | ||
| 807 | |||
| 808 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParametera4() const { | |
| 809 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParametera4(); |
| 810 | } | ||
| 811 | |||
| 812 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParameterb0() const { | |
| 813 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParameterb0(); |
| 814 | } | ||
| 815 | |||
| 816 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParameterb1() const { | |
| 817 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParameterb1(); |
| 818 | } | ||
| 819 | |||
| 820 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParameterb2() const { | |
| 821 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParameterb2(); |
| 822 | } | ||
| 823 | |||
| 824 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParameterb3() const { | |
| 825 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParameterb3(); |
| 826 | } | ||
| 827 | |||
| 828 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParameterb4() const { | |
| 829 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParameterb4(); |
| 830 | } | ||
| 831 | |||
| 832 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParameterb5() const { | |
| 833 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParameterb5(); |
| 834 | } | ||
| 835 | |||
| 836 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParameterDeltaTc() const { | |
| 837 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParameterDeltaTc(); |
| 838 | } | ||
| 839 | |||
| 840 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParameterfd() const { | |
| 841 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParameterfd(); |
| 842 | } | ||
| 843 | |||
| 844 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParametera() const { | |
| 845 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParametera(); |
| 846 | } | ||
| 847 | |||
| 848 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParameterb() const { | |
| 849 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParameterb(); |
| 850 | } | ||
| 851 | |||
| 852 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParameterc4() const { | |
| 853 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParameterc4(); |
| 854 | } | ||
| 855 | |||
| 856 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParameterc5() const { | |
| 857 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParameterc5(); |
| 858 | } | ||
| 859 | |||
| 860 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParameterIx0() const { | |
| 861 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParameterIx0(); |
| 862 | } | ||
| 863 | |||
| 864 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParameterIxx0() const { | |
| 865 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParameterIxx0(); |
| 866 | } | ||
| 867 | |||
| 868 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParameterc6() const { | |
| 869 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParameterc6(); |
| 870 | } | ||
| 871 | |||
| 872 | 4 | double PhotovoltaicPerformanceSandia::sandiaDatabaseParameterc7() const { | |
| 873 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->sandiaDatabaseParameterc7(); |
| 874 | } | ||
| 875 | |||
| 876 | 14 | bool PhotovoltaicPerformanceSandia::setActiveArea(double activeArea) { | |
| 877 |
1/1✓ Branch 3 taken 14 times.
|
14 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setActiveArea(activeArea); |
| 878 | } | ||
| 879 | |||
| 880 | 14 | bool PhotovoltaicPerformanceSandia::setNumberofCellsinSeries(int numberofCellsinSeries) { | |
| 881 |
1/1✓ Branch 3 taken 14 times.
|
14 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setNumberofCellsinSeries(numberofCellsinSeries); |
| 882 | } | ||
| 883 | |||
| 884 | 14 | bool PhotovoltaicPerformanceSandia::setNumberofCellsinParallel(int numberofCellsinParallel) { | |
| 885 |
1/1✓ Branch 3 taken 14 times.
|
14 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setNumberofCellsinParallel(numberofCellsinParallel); |
| 886 | } | ||
| 887 | |||
| 888 | 13 | bool PhotovoltaicPerformanceSandia::setShortCircuitCurrent(double shortCircuitCurrent) { | |
| 889 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setShortCircuitCurrent(shortCircuitCurrent); |
| 890 | } | ||
| 891 | |||
| 892 | 13 | bool PhotovoltaicPerformanceSandia::setOpenCircuitVoltage(double openCircuitVoltage) { | |
| 893 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setOpenCircuitVoltage(openCircuitVoltage); |
| 894 | } | ||
| 895 | |||
| 896 | 13 | bool PhotovoltaicPerformanceSandia::setCurrentatMaximumPowerPoint(double currentatMaximumPowerPoint) { | |
| 897 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setCurrentatMaximumPowerPoint(currentatMaximumPowerPoint); |
| 898 | } | ||
| 899 | |||
| 900 | 13 | bool PhotovoltaicPerformanceSandia::setVoltageatMaximumPowerPoint(double voltageatMaximumPowerPoint) { | |
| 901 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setVoltageatMaximumPowerPoint(voltageatMaximumPowerPoint); |
| 902 | } | ||
| 903 | |||
| 904 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParameteraIsc(double sandiaDatabaseParameteraIsc) { | |
| 905 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParameteraIsc(sandiaDatabaseParameteraIsc); |
| 906 | } | ||
| 907 | |||
| 908 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParameteraImp(double sandiaDatabaseParameteraImp) { | |
| 909 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParameteraImp(sandiaDatabaseParameteraImp); |
| 910 | } | ||
| 911 | |||
| 912 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParameterc0(double sandiaDatabaseParameterc0) { | |
| 913 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParameterc0(sandiaDatabaseParameterc0); |
| 914 | } | ||
| 915 | |||
| 916 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParameterc1(double sandiaDatabaseParameterc1) { | |
| 917 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParameterc1(sandiaDatabaseParameterc1); |
| 918 | } | ||
| 919 | |||
| 920 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParameterBVoc0(double sandiaDatabaseParameterBVoc0) { | |
| 921 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParameterBVoc0(sandiaDatabaseParameterBVoc0); |
| 922 | } | ||
| 923 | |||
| 924 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParametermBVoc(double sandiaDatabaseParametermBVoc) { | |
| 925 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParametermBVoc(sandiaDatabaseParametermBVoc); |
| 926 | } | ||
| 927 | |||
| 928 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParameterBVmp0(double sandiaDatabaseParameterBVmp0) { | |
| 929 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParameterBVmp0(sandiaDatabaseParameterBVmp0); |
| 930 | } | ||
| 931 | |||
| 932 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParametermBVmp(double sandiaDatabaseParametermBVmp) { | |
| 933 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParametermBVmp(sandiaDatabaseParametermBVmp); |
| 934 | } | ||
| 935 | |||
| 936 | 13 | bool PhotovoltaicPerformanceSandia::setDiodeFactor(double diodeFactor) { | |
| 937 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setDiodeFactor(diodeFactor); |
| 938 | } | ||
| 939 | |||
| 940 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParameterc2(double sandiaDatabaseParameterc2) { | |
| 941 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParameterc2(sandiaDatabaseParameterc2); |
| 942 | } | ||
| 943 | |||
| 944 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParameterc3(double sandiaDatabaseParameterc3) { | |
| 945 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParameterc3(sandiaDatabaseParameterc3); |
| 946 | } | ||
| 947 | |||
| 948 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParametera0(double sandiaDatabaseParametera0) { | |
| 949 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParametera0(sandiaDatabaseParametera0); |
| 950 | } | ||
| 951 | |||
| 952 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParametera1(double sandiaDatabaseParametera1) { | |
| 953 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParametera1(sandiaDatabaseParametera1); |
| 954 | } | ||
| 955 | |||
| 956 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParametera2(double sandiaDatabaseParametera2) { | |
| 957 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParametera2(sandiaDatabaseParametera2); |
| 958 | } | ||
| 959 | |||
| 960 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParametera3(double sandiaDatabaseParametera3) { | |
| 961 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParametera3(sandiaDatabaseParametera3); |
| 962 | } | ||
| 963 | |||
| 964 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParametera4(double sandiaDatabaseParametera4) { | |
| 965 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParametera4(sandiaDatabaseParametera4); |
| 966 | } | ||
| 967 | |||
| 968 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParameterb0(double sandiaDatabaseParameterb0) { | |
| 969 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParameterb0(sandiaDatabaseParameterb0); |
| 970 | } | ||
| 971 | |||
| 972 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParameterb1(double sandiaDatabaseParameterb1) { | |
| 973 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParameterb1(sandiaDatabaseParameterb1); |
| 974 | } | ||
| 975 | |||
| 976 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParameterb2(double sandiaDatabaseParameterb2) { | |
| 977 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParameterb2(sandiaDatabaseParameterb2); |
| 978 | } | ||
| 979 | |||
| 980 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParameterb3(double sandiaDatabaseParameterb3) { | |
| 981 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParameterb3(sandiaDatabaseParameterb3); |
| 982 | } | ||
| 983 | |||
| 984 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParameterb4(double sandiaDatabaseParameterb4) { | |
| 985 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParameterb4(sandiaDatabaseParameterb4); |
| 986 | } | ||
| 987 | |||
| 988 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParameterb5(double sandiaDatabaseParameterb5) { | |
| 989 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParameterb5(sandiaDatabaseParameterb5); |
| 990 | } | ||
| 991 | |||
| 992 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParameterDeltaTc(double sandiaDatabaseParameterDeltaTc) { | |
| 993 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParameterDeltaTc(sandiaDatabaseParameterDeltaTc); |
| 994 | } | ||
| 995 | |||
| 996 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParameterfd(double sandiaDatabaseParameterfd) { | |
| 997 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParameterfd(sandiaDatabaseParameterfd); |
| 998 | } | ||
| 999 | |||
| 1000 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParametera(double sandiaDatabaseParametera) { | |
| 1001 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParametera(sandiaDatabaseParametera); |
| 1002 | } | ||
| 1003 | |||
| 1004 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParameterb(double sandiaDatabaseParameterb) { | |
| 1005 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParameterb(sandiaDatabaseParameterb); |
| 1006 | } | ||
| 1007 | |||
| 1008 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParameterc4(double sandiaDatabaseParameterc4) { | |
| 1009 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParameterc4(sandiaDatabaseParameterc4); |
| 1010 | } | ||
| 1011 | |||
| 1012 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParameterc5(double sandiaDatabaseParameterc5) { | |
| 1013 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParameterc5(sandiaDatabaseParameterc5); |
| 1014 | } | ||
| 1015 | |||
| 1016 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParameterIx0(double sandiaDatabaseParameterIx0) { | |
| 1017 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParameterIx0(sandiaDatabaseParameterIx0); |
| 1018 | } | ||
| 1019 | |||
| 1020 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParameterIxx0(double sandiaDatabaseParameterIxx0) { | |
| 1021 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParameterIxx0(sandiaDatabaseParameterIxx0); |
| 1022 | } | ||
| 1023 | |||
| 1024 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParameterc6(double sandiaDatabaseParameterc6) { | |
| 1025 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParameterc6(sandiaDatabaseParameterc6); |
| 1026 | } | ||
| 1027 | |||
| 1028 | 13 | bool PhotovoltaicPerformanceSandia::setSandiaDatabaseParameterc7(double sandiaDatabaseParameterc7) { | |
| 1029 |
1/1✓ Branch 3 taken 13 times.
|
13 | return getImpl<detail::PhotovoltaicPerformanceSandia_Impl>()->setSandiaDatabaseParameterc7(sandiaDatabaseParameterc7); |
| 1030 | } | ||
| 1031 | |||
| 1032 | /// @cond | ||
| 1033 | 4 | PhotovoltaicPerformanceSandia::PhotovoltaicPerformanceSandia(std::shared_ptr<detail::PhotovoltaicPerformanceSandia_Impl> impl) | |
| 1034 |
1/1✓ Branch 2 taken 4 times.
|
4 | : PhotovoltaicPerformance(impl) {} |
| 1035 | /// @endcond | ||
| 1036 | |||
| 1037 | } // namespace model | ||
| 1038 | } // namespace openstudio | ||
| 1039 |