Skip to content

Correct dtype bug in temperature.fuentes#2745

Open
cwhanse wants to merge 6 commits intopvlib:mainfrom
cwhanse:fuentes_dtype
Open

Correct dtype bug in temperature.fuentes#2745
cwhanse wants to merge 6 commits intopvlib:mainfrom
cwhanse:fuentes_dtype

Conversation

@cwhanse
Copy link
Copy Markdown
Member

@cwhanse cwhanse commented Apr 29, 2026

  • Closes Integer/float bug in pvlib.temperature.fuentes #2608
  • I am familiar with the contributing guidelines
  • I attest that all AI-generated material has been vetted for accuracy and is in compliance with the pvlib license
  • Tests added
  • [] Updates entries in docs/sphinx/source/reference for API changes.
  • Adds description and name entries in the appropriate "what's new" file in docs/sphinx/source/whatsnew for all changes. Includes link to the GitHub Issue with :issue:`num` or this Pull Request with :pull:`num`. Includes contributor name and/or GitHub username (link with :ghuser:`user`).
  • New code is fully documented. Includes numpydoc compliant docstrings, examples, and comments where necessary.
  • Pull request is nearly complete and ready for detailed review.
  • Maintainer: Appropriate GitHub Labels (including remote-data) and Milestone are assigned to the Pull Request and linked Issue.

Based on earlier draft PR #2711 by @Chirag3841

@cwhanse cwhanse added the bug label Apr 29, 2026
@cwhanse cwhanse added this to the v0.15.2 milestone Apr 29, 2026
@Chirag3841
Copy link
Copy Markdown
Contributor

@cwhanse Thanks for building on my earlier draft and taking this forward.

Copy link
Copy Markdown
Member

@kandersolar kandersolar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like expected values need to be updated in test_pvsystem.py too.

Comment thread docs/sphinx/source/whatsnew/v0.15.2.rst Outdated
Comment on lines +17 to +19
* Corrects a bug in :py:func:`pvlib.temperature.fuentes`. Users can expect
modeled cell temperature values to increase slightly.
(:issue:`2608`, :pull:``)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Corrects a bug in :py:func:`pvlib.temperature.fuentes`. Users can expect
modeled cell temperature values to increase slightly.
(:issue:`2608`, :pull:``)
* Correct a bug in :py:func:`pvlib.temperature.fuentes`. Users can expect
modeled cell temperature values to increase slightly when using integer inputs.
(:issue:`2608`, :pull:`2745`)

Comment thread tests/test_temperature.py Outdated
Comment thread docs/sphinx/source/whatsnew/v0.15.2.rst Outdated
cwhanse and others added 3 commits April 30, 2026 07:37
Co-authored-by: Kevin Anderson <kevin.anderso@gmail.com>
Co-authored-by: Kevin Anderson <kevin.anderso@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integer/float bug in pvlib.temperature.fuentes

3 participants