-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH: rename singlediode_methods.py to singlediode.py and discuss pvsystem.singlediode refactor #515
Comments
My mental model has the following use cases:
Regarding #517, I vote strongly against |
I suggest we rename |
Ok. |
FYI: I'm on it right now, and BTW: Cliff was right, they clashed in |
* closes pvlib#515 * import pvlib in pvsystem and use pvlib.singlediode to differentiate from existing pvsystem.singldiode() method already there! * rename test_singlediode_methods.py to test_singlediode.py * update documentation and comments
…glediode function (#525) * MAINT: rename singlediode_methods.py to just singlediode.py * closes #515 * import pvlib in pvsystem and use pvlib.singlediode to differentiate from existing pvsystem.singldiode() method already there! * rename test_singlediode_methods.py to test_singlediode.py * update documentation and comments * DOC: move proof that estimated Voc is in q4 * closes #518 * add singlediode.rst and add to index * DOC: add DOI to Jain and Kapoor * proofed the docs and they are ok * DOC: MAINT: improve wording in singlediode.rst * add to what's new documentation section that there is now some detail on pvlib-python solutions to single diode equation * change single diode _model_ to single diode _equation_ everywhere to distinguish between the equation I = IL - I0*(exp(Vd/nNsVt)-1) - Vd/Rsh and implementation like PVSyst and DeSoto that derive coefficients * add reference to Cliff's Sandia Report on Lambert W-function solution of single diode equation * remove fixme in pvsystem * DOC: MAINT: fix citation for Sandia Report, remove extra parentheses
Problem
Rename module name
singlediode_methods.py
and refactorpvsystem.singlediode
singlediode_methods.py
is a long name for a modulepvsystem.singlediode
singlediode
up, refactoring, or renaming it?Proposed Solution
Rename module
singlediode_methods.py
to justsinglediode.py
and consider refactoringpvsystem.singlediode
singlediode_methods.py
to justsinglediode.py
singlediode()
methods inpvsystem.py
alternatives
dc_energy.py
,pvmodules.py
, orpvcells.py
singlediode.py
and leavepvsystem.singlediode()
alonesinglediode.py
and movepvsystem.singlediode()
tosinglediode.singlediode()
which is a more established pattern, right?Additional context
The text was updated successfully, but these errors were encountered: