Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

A method of finding the MPP using Newton with guaranteed convergence

Đang mở
#2,561 2 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
10/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
backend

Hướng nghiên cứu

The issue asks whether to add a Newton-based maximum power point method to the existing method options (lambertw, newton, brentq, chandrupatla) and compares timings. Start with the existing MPP method dispatch and the i_from_v and v_from_i helpers it uses, and read the linked paper's algorithm. Nothing is decided: the issue asks a maintainer whether the method is worth including, so done means a maintainer agrees to a scope and a benchmarked implementation is reviewed.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement

This paper provides a Newton-based method of finding the MPP, with the function and starting point constructed in such a way that they claim guarantees convergence. Rough timing (for 1000 sets of SDE parameters) compared with our existing methods:

  • method='lambertw': 42.5 ms ± 1.64 ms per loop (mean ± std. dev. of 7 runs, 10 loops each)
  • method='newton': 8.57 ms ± 236 μs per loop (mean ± std. dev. of 7 runs, 100 loops each)
  • method='brentq': 877 ms ± 20.3 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
  • method='chandrupatla': 22.3 ms ± 974 μs per loop (mean ± std. dev. of 7 runs, 10 loops each)
  • Toledo et al. : 9.4 ms ± 713 μs per loop (mean ± std. dev. of 7 runs, 100 loops each)

The implementation is fewer than 100 lines of code (although Isc and Vmp are calculated using pvlib's i_from_v and v_from_i functions instead of the method in the paper).

Reference:

Toledo, F.J., Galiano, V., Herranz, V. et al. A comparison of methods for the calculation of all the key points of the PV single-diode model including a new algorithm for the maximum power point. Optim Eng 25, 1469–1503 (2024). https://doi.org/10.1007/s11081-023-09850-8

Worth including in pvlib?

Ngôn ngữ chính
Python
Star
1.7k
Fork
1.2k
Merge trung bình
3 ngày 18 giờ
Pull request đã merge (30 ngày)
13

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pvlib/pvlib-python

Tất cả issue của pvlib/pvlib-python

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.