A method of finding the MPP using Newton with guaranteed convergence
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 10/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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?
- Langage dominant
- Python
- Étoiles
- 1.7k
- Forks
- 1.2k
- Merge moyen
- 3 j 18 h
- PR mergées (30 j)
- 13
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de pvlib/pvlib-python
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
pvlib/pvlib-python#2903 · 2 commentaires · 2 réactions ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 92/100
pvlib/pvlib-python#2902 ·
Les mainteneurs répondent en général sous 1 jour
-
Add an example or documentation on using 'bhi' from ERA5Peut-être à nouveau libre @anshurajbisoyi98-ctrl l’a pris il y a 14 jours, et aucune pull request n’est ouverte. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
pvlib/pvlib-python#2880 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Use "long-wave" rather than "infra-red" to refer to thermal radiation.Peut-être à nouveau libre @Rahi-padwal l’a pris il y a 252 jours, et aucune pull request n’est ouverte. Ouverteapi easy
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
pvlib/pvlib-python#2653 · 6 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
question
Difficulté 1/5 1-3 heures Accessibilité débutants 72/100
pvlib/pvlib-python#2637 · 10 commentaires ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de pvlib/pvlib-python
Issues similaires
-
Difficulté 1/5 1-3 heures Accessibilité débutants 68/100
FavioVazquez/showtime#101 ·
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 83/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
rossant/awesome-math#199 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
nautechsystems/nautilus_trader#5365 ·
Les mainteneurs répondent en général sous 1 jour
-
Examples say cnxOuvertedocumentation embedded
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
Les mainteneurs répondent en général sous 1 jour