-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Deprecate pvsystem.singlediode parameter ivcurve_pnts
#1743
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
Conversation
|
I think |
161522c to
4a1dfab
Compare
ivcurve_pnts from pvsystem.singlediodepvsystem.singlediode parameter ivcurve_pnts
Co-authored-by: Cliff Hansen <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI failure is codecov, ignorable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the late review, I missed that this was tagged 0.10.0! Looks good to me overall; the only thing I see is that these deprecation warnings from the tests need to get cleaned up: https://github.com/pvlib/pvlib-python/actions/runs/5201899928/jobs/9382722429?pr=1743#step:9:69
|
Ok, I wrapped all the tests using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks @reepoi!
Co-authored-by: Kevin Anderson <[email protected]>
docs/sphinx/source/referencefor API changes.docs/sphinx/source/whatsnewfor 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`).remote-data) and Milestone are assigned to the Pull Request and linked Issue.The
ivcurve_pntsparameter ofpvsystem.singlediodeis deprecated in favor of usingpvsystem.i_from_vandv_from_ito get additional points on an IV curve. The test cases anddocs/examples/iv-modeling/plot_singlediode.pyare updated. Also, a bug intools._golden_sect_DataFramewhere scalars were converted into 0d-arrays is fixed.pvsystem.singlediodereturns adictor apd.DataFrame. Adictis returned only when all inputs are scalars orivcurve_pnts > 0.