You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
A ValueError should be raised indicating that a PVSystem must have at least one Array and suggesting that a system with an arbitrary default array can be constructed by passing arrays=None or not passing the arrays parameter at all.
Versions:
pvlib.__version__: 0.8.1+
The text was updated successfully, but these errors were encountered:
Describe the bug
It should be impossible to instantiate a
PVSystem
with noArrays
. Currently this is possible viaPVSystem(arrays=[])
.To Reproduce
Steps to reproduce the behavior:
results in this PVSystem:
Expected behavior
A
ValueError
should be raised indicating that a PVSystem must have at least oneArray
and suggesting that a system with an arbitrary default array can be constructed by passingarrays=None
or not passing thearrays
parameter at all.Versions:
pvlib.__version__
: 0.8.1+The text was updated successfully, but these errors were encountered: