SunPower / PVMismatch

An explicit Python PV system IV & PV curve trace calculator which can also calculate mismatch.
http://sunpower.github.io/PVMismatch/
BSD 3-Clause "New" or "Revised" License
79 stars 30 forks source link

System setSuns TypeError #6

Open bmeyers opened 9 years ago

bmeyers commented 9 years ago

When using the system setSuns method to set the Ee on a whole panel, the Ee must be a sequence, not a float as in the documentation. Example in documentation is given as Ee={3: {8: 0.23, 7: 0.45}}. Must use Ee={3: {8: [0.23], 7: [0.45]}} or Ee={3: {8: (0.23,), 7: (0.45,)}} to allow for list unpacking (or "splat").