pvlib-python
pvlib-python copied to clipboard
A set of documented functions for simulating the performance of photovoltaic energy systems.
**Is your feature request related to a problem? Please describe.** Recent work demonstrated spectral affected by cloud, clear sky under predicts shift https://www.pvlighthouse.com.au/cms/simulation-programs/sun-calculator **Describe the solution you'd like** Implement Ernst...
- [x] Closes #2334 - [x] I am familiar with the [contributing guidelines](https://pvlib-python.readthedocs.io/en/latest/contributing/index.html) - [x] Tests added - [NA] Updates entries in [`docs/sphinx/source/reference`](https://github.com/pvlib/pvlib-python/blob/main/docs/sphinx/source/reference) for API changes. - [x] Adds description...
- [ ] Closes #1669 - [ ] 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....
> Test output is the cleanest it's been in a while. Docs build is also clean except for a few missing glossary items (ping @rdaxini): ``` sphinx/source/user_guide/modeling_topics/spectrum.rst:55: WARNING: term not...
- [x] Closes #2584 - [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.~~ - [x]...
**Describe the bug** In the temperature.py module [here](https://github.com/pvlib/pvlib-python/blob/6c93b716c5762c2e2c2334926e3e3b832b324350/pvlib/temperature.py#L886), pvlib is using `np.zeros_like` which crucially returns the same type than the input. In the unit tests, pvlib uses int instead of...
**Describe the bug** `hsu` model [documentation](https://pvlib-python.readthedocs.io/en/stable/reference/generated/pvlib.soiling.hsu.html) mentions that the output > soiling_ratio (Series) – Values between 0 and 1. Equal to 1 - transmission loss. While the soiling ratio ranges...
When I read this line in [pvlib.clearsky.ineichen docs](https://pvlib-python.readthedocs.io/en/stable/reference/generated/pvlib.clearsky.ineichen.html) https://github.com/pvlib/pvlib-python/blob/6b9476b90892bd05726b237d9098f7536568a43a/pvlib/clearsky.py#L31 it made me think that default Linke turbidity values from SoDa are included in `pvlib.clearsky.ineichen`, but they are not. Perhaps it...
**Describe the bug** I think the second graph of https://pvlib-python.readthedocs.io/en/stable/gallery/shading/plot_passias_diffuse_shading.html is incorrect, even though it corresponds with the given reference. In particular, transposing the shading loss in the horizontal plane...
The reference and local coordinate systems for bifacial functions align `x` to the East (reference) or along a tracker axis (local), and `y` to the North (reference) or perpendicular to...