pvlib-python Contributions
PR #2691 v0.15.1
Add ModelChain Temperature Variation Example to System Models Gallery
Merged Feb 2026
  • Added new Sphinx-gallery example plot_modelchain_model_variations.py under system-models
  • Demonstrated comparison of SAPM vs Faiman temperature models within ModelChain
  • Used identical system and clear-sky weather inputs to isolate temperature model impact
  • Compared modeled cell_temperature and resulting AC power output
  • Resolved Sphinx-gallery execution issues while preserving OEDI example visibility
View Pull Request ↗
PR #2661 v0.15.1
Add simple_efficiency Tests for NumPy Array Inputs
Merged Feb 2026
  • Added test verifying consistency between scalar and vectorized input_power evaluation
  • Refactored numeric cases into a single @pytest.mark.parametrize-based test structure
  • Aligned tests with API intent by keeping load_loss and no_load_loss scalar-only
  • Updated v0.15.1 release notes (Testing section) referencing both issue and PR
  • Improved maintainability and clarity of transformer numeric tests
View Pull Request ↗
PR #2680 v0.15.1
Fix Swapped Reference Numbering in get_bsrn
Merged Feb 2026
  • Corrected interchanged reference labels in pvlib.iotools.get_bsrn docstring
  • Ensured consistency with related BSRN utilities (e.g., read_bsrn)
  • Verified proper rendering in the latest documentation build
  • Scoped strictly to documentation — no functional or API changes
  • Improved citation clarity in scientific documentation workflows
View Pull Request ↗
PR #2648 v0.15.1
Use ValueError Instead of IndexError in _degrees_to_index
Merged Feb 2026
  • Replaced incorrect IndexError with ValueError for invalid latitude/longitude inputs
  • Aligned exception semantics with Python and NumPy conventions
  • Updated affected unit tests and related clearsky tests accordingly
  • Resolved CI failures and ensured full test suite pass before merge
  • Improved API correctness without altering functional behavior
View Pull Request ↗
PR #2646 v0.15.1
Fix ZeroDivisionError in transformer.simple_efficiency
Merged Feb 2026
  • Resolved a ZeroDivisionError triggered when load_loss = 0 (physically valid transformer edge case)
  • Reformulated the quadratic efficiency expression into a numerically stable form
  • Preserved existing behavior for load_loss > 0 to maintain backward compatibility
  • Added targeted unit test validating linear-limit behavior: P_out = P_in − L_no_load × P_nom
  • Updated release notes and aligned documentation with maintainer guidance
View Pull Request ↗
PR #2622
Documentation Fix
Merged Dec 2025
  • Corrected contributor attribution typo in release notes
  • Restored broken documentation links
  • Maintained release documentation standards
View Pull Request ↗