SunPower / pvfactors

:sunny: Open-source view-factor model for diffuse shading and bifacial PV modeling. Documentation:
http://sunpower.github.io/pvfactors/
BSD 3-Clause "New" or "Revised" License
81 stars 22 forks source link

numeric inputs should allow scalars #132

Open campanelli-sunpower opened 2 years ago

campanelli-sunpower commented 2 years ago

In https://github.com/pvlib/pvlib-python/pull/1361, pvlib-python had to implement a workaround for passing scalar inputs to pvfactors, as described in https://github.com/pvlib/pvlib-python/issues/1332.

pvfactors should either update docstrings to not specify numeric where scalars are not allowed, or actually allow all numeric types.