Skip to content

Remove unnecessary SAPM keys in pvsystem._DC_MODEL_PARAMS #2393

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Mar 7, 2025

Conversation

kandersolar
Copy link
Member

  • Closes pvsystem._DC_MODEL_PARAMS lists unnecessary parameters for SAPM #2369
  • I am familiar with the contributing guidelines
    - [ ] 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.

@kandersolar kandersolar added this to the v0.11.3 milestone Feb 20, 2025
'Mbvoc', 'Bvmpo', 'Mbvmp', 'N', 'Cells_in_Series',
'IXO', 'IXXO', 'FD'},
'IXO', 'IXXO'},
Copy link
Member

Choose a reason for hiding this comment

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

I've long wanted to move 'IX0' and 'IX00' into some kind of optional category, to allow the SAPM electrical model to run without them. That would be scope expansion in this PR; the thought resurfaces when I read "unnecessary SAPM keys" and "minimal set of parameters".

Copy link
Member Author

Choose a reason for hiding this comment

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

I agree. #2402

@cwhanse
Copy link
Member

cwhanse commented Mar 7, 2025

merge when ready @kandersolar

@kandersolar kandersolar merged commit afc90f6 into pvlib:main Mar 7, 2025
30 checks passed
@kandersolar kandersolar deleted the sapm-params branch March 7, 2025 17:39
@kandersolar kandersolar modified the milestones: v0.11.3, v0.12.0 Mar 14, 2025
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.

pvsystem._DC_MODEL_PARAMS lists unnecessary parameters for SAPM
2 participants