pvlib-python
pvlib-python copied to clipboard
A set of documented functions for simulating the performance of photovoltaic energy systems.
- ~[ ] Closes #xxxx~ - [x] I am familiar with the [contributing guidelines](https://pvlib-python.readthedocs.io/en/latest/contributing/index.html) - [x] Tests added - ~[ ] Updates entries in [`docs/sphinx/source/reference`](https://github.com/pvlib/pvlib-python/blob/main/docs/sphinx/source/reference) for API changes.~ - ~[...
@cwhanse - [x] Closes #1462 - [x] I am familiar with the contributing guidelines - [x] Tests added - [ ] Updates entries in docs reference - [x] Adds description...
**Describe the bug** https://github.com/pvlib/pvlib-python/blob/cc75255d7df6ce939db7ee6ebaf81e79741c2e88/pvlib/scaling.py#L199 has a bug where longitude gets passed as a second arg to `np.array`. The second arg for `np.array` is the dtype however. ```python pos = coordinates...
During the bi-monthly core team meeting on 2025-12-10, the topic of pull requests using AI was discussed. It was decided to add a checkbox to the [PR template ](https://github.com/pvlib/pvlib-python/blob/main/.github/PULL_REQUEST_TEMPLATE.md) that...
@cwhanse - [ ] Closes #1043 - [x] I am familiar with the [contributing guidelines](https://pvlib-python.readthedocs.io/en/latest/contributing/index.html) - [ ] Tests added - [ ] Updates entries in [`docs/sphinx/source/reference`](https://github.com/pvlib/pvlib-python/blob/main/docs/sphinx/source/reference) for API changes....
Closes #2608 ## Summary This PR fixes a dtype-dependent bug in `pvlib.temperature.fuentes` where integer `poa_global` inputs could lead to truncated module temperatures and slightly different results compared to float inputs...
**Is your feature request related to a problem? Please describe.** I have the bad habit of writing wall of texts, as you already know. I'd like to be more concise...
We should decide whether we want to add examples to the docstrings of the functions or not. While (I think) examples are not included in every pandas object, they are...
#833 converts all references into the numpydoc format. The unfortunate side effect of this is that it creates a lot of warnings in the sphinx build because many of the...
**Is your feature request related to a problem? Please describe.** pvlib's spectral irradiance modeling is currently limited to `pvlib.spectrum.spectrl2`, a clear-sky model. As cloudy-sky spectral irradiance takes a different shape...