Skip to content
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

fix _delta_kt_prime_dirint end values #638

Merged
merged 9 commits into from
Jan 9, 2019
Merged

Conversation

cwhanse
Copy link
Member

@cwhanse cwhanse commented Jan 3, 2019

pvlib python pull request guidelines

Thank you for your contribution to pvlib python! You may delete all of these instructions except for the list below.

You may submit a pull request with your code at any stage of completion.

The following items must be addressed before the code can be merged. Please don't hesitate to ask for help if you're unsure of how to accomplish any of the items below:

  • Closes _delta_kt_prime_dirint() Method Returns Values That Are Half of What they Should be #637
  • I am familiar with the contributing guidelines.
  • Fully tested. Added and/or modified tests to ensure correct behavior for all reasonable inputs. Tests (usually) must pass on the TravisCI and Appveyor testing services.
  • Updates entries to docs/sphinx/source/api.rst for API changes.
  • Adds description and name entries in the appropriate docs/sphinx/source/whatsnew file for all changes.
  • Code quality and style is sufficient. Passes LGTM and SticklerCI checks.
  • New code is fully documented. Includes sphinx/numpydoc compliant docstrings and comments in the code where necessary.
  • Pull request is nearly complete and ready for detailed review.

Brief description of the problem and proposed solution (if not already fully described in the issue linked to above):

_delta_kt_prime_dirint does not implement Eq. 3 from Perez et al. reference in the calculation of delta_kt_prime. Fixes that.

pvlib/irradiance.py Outdated Show resolved Hide resolved
pvlib/test/test_irradiance.py Outdated Show resolved Hide resolved
pvlib/irradiance.py Outdated Show resolved Hide resolved
pvlib/irradiance.py Outdated Show resolved Hide resolved
pvlib/irradiance.py Outdated Show resolved Hide resolved
pvlib/irradiance.py Outdated Show resolved Hide resolved
@wholmgren wholmgren added this to the 0.6.1 milestone Jan 9, 2019
@wholmgren wholmgren added the bug label Jan 9, 2019
Copy link
Member

@wholmgren wholmgren left a comment

Choose a reason for hiding this comment

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

looks good except for a possible documentation problem

docs/sphinx/source/whatsnew/v0.6.1.rst Outdated Show resolved Hide resolved
@cwhanse cwhanse merged commit c238c48 into pvlib:master Jan 9, 2019
@cwhanse cwhanse mentioned this pull request Jan 17, 2019
8 tasks
cwhanse pushed a commit that referenced this pull request Jan 17, 2019
* Add PVSystem pvsyst_celltemp methods

* fix _delta_kt_prime_dirint end values (#638)

* fix _delta_kt_prime_dirint end values

* syntax, test fixes:

* syntax and test fixes

* more test fixes

* more test fixes

* and more test fixes

* and still more test fixes

* add comments, update whatsnew

* delete space

* Add PVSystem pvsyst_celltemp methods

* create global TEMP_MODELS for sapm and pvsyst

* correct model choice in pvsyst_celltemp function

* Add PVSystem pvsyst_celltemp methods

* create global TEMP_MODELS for sapm and pvsyst

* correct model choice in pvsyst_celltemp function

* convert sapm temp models to tuples

* implement _build_kwargs into pvsyst_celltemp

* amend with non-default parameters and new api

* Stickler-ci polish
@cwhanse cwhanse deleted the kt_prime_shift branch February 4, 2019 16:50
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.

None yet

2 participants