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

Add `get_irradiance_components` function

Đang mở
#2,850 1 bình luận 0 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
56/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
python
Lĩnh vực
backend

Hướng nghiên cứu

Read get_total_irradiance as the suggested template and inspect the decomposition functions in pvlib.irradiance. Determine how the proposed helper should select and call a decomposition model, then check the related tests and documentation. Done means the new function supports the requested batch use case and is covered by tests.

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

Mô tả

Is your feature request related to a problem? Please describe.
When wanting to test different decomposition models in batch, I find myself having to iterate a decomp_model string list and use a if/else structure which calls the appropriate decomposition model or store the decomposition function into an external variable decomp_func = getattr(pvlib.irradiance, decomp_model).

Describe the solution you'd like
Having a get_irradiance_components, a decomposition equivalent to get_total_irradiance, would do the same trick as the getattr and be built-in within pvlib.

Additional context
get_total_irradiance could likely work as a template for what I'm suggesting.

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.