pvlib-python icon indicating copy to clipboard operation
pvlib-python copied to clipboard

Accept albedo in weather input to ModelChain.run_model method

Open cwhanse opened this issue 3 years ago • 0 comments

  • [x] Closes #1387
  • [x] I am familiar with the contributing guidelines
  • [x] Tests added
  • ~~[ ] Updates entries in docs/sphinx/source/reference for API changes.~~
  • [X] 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`).
  • [X] New code is fully documented. Includes numpydoc compliant docstrings, examples, and comments where necessary.
  • [X] Pull request is nearly complete and ready for detailed review.
  • [x] Maintainer: Appropriate GitHub Labels (including remote-data) and Milestone are assigned to the Pull Request and linked Issue.

Re-opens #1469.

Tests pvlib.irradiance and pvlib.clearsky functions with albedo as a Series. Allows albedo to be specified as a column in weather for ModelChain methods.

cwhanse avatar Jun 21 '22 18:06 cwhanse