<div dir="auto">Hi Edward,<div dir="auto"><br></div><div dir="auto">Thanks so much for your feedback!<br><div dir="auto"><br></div><div dir="auto">Yes, pvlib already uses the SciPy special Lambert-W function to solve the single diode equation. Please see the documentation:</div><div dir="auto"><br></div><div dir="auto">* theory: <a href="https://pvlib-python.readthedocs.io/en/stable/singlediode.html">https://pvlib-python.readthedocs.io/en/stable/singlediode.html</a></div><div dir="auto">* Examples: <a href="https://pvlib-python.readthedocs.io/en/stable/auto_examples/plot_singlediode.html">https://pvlib-python.readthedocs.io/en/stable/auto_examples/plot_singlediode.html</a></div><div dir="auto">* api: <a href="https://pvlib-python.readthedocs.io/en/stable/generated/pvlib.pvsystem.singlediode.html">https://pvlib-python.readthedocs.io/en/stable/generated/pvlib.pvsystem.singlediode.html</a></div><div dir="auto"><br></div><div dir="auto">And check the source:</div><div dir="auto">* <a href="https://github.com/pvlib/pvlib-python/blob/master/pvlib/singlediode.py">https://github.com/pvlib/pvlib-python/blob/master/pvlib/singlediode.py</a></div><div dir="auto">* <a href="https://github.com/pvlib/pvlib-python/blob/master/pvlib/ivtools/sdm.py">https://github.com/pvlib/pvlib-python/blob/master/pvlib/ivtools/sdm.py</a></div><div dir="auto"><br></div><div dir="auto">pvlib has only implemented published models, so it has only Desoto, CEC, SAM, and PVsyst models which haven't<span style="font-family:sans-serif"> considered capacitance or inductance. But we would be interested in any publications you have on pv modeling and any pull request you'd like to contribute. Perhaps consider putting on the pvlib Google group? <a href="https://groups.google.com/g/pvlib-python">https://groups.google.com/g/pvlib-python</a></span><br></div><div dir="auto"><span style="font-family:sans-serif"><br></span></div><div dir="auto"><span style="font-family:sans-serif">Thanks again!</span></div><div dir="auto"><span style="font-family:sans-serif">Mark</span></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 12, 2021, 9:07 AM Edward Montague <<a href="mailto:sciwiseg@gmail.com">sciwiseg@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div> Hi Mark,</div><div><br></div><div> I'm wondering if you might also make extensive use of</div><div>the lambert W function to design the equivalent electrical <br></div><div>circuit and perhaps consider inductive and capacitive loads</div><div>upon that circuit.</div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 6, 2021 at 1:24 PM Dr. Mark Alexander Mikofski PhD <<a href="mailto:mikofski@berkeley.edu" target="_blank" rel="noreferrer">mikofski@berkeley.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear Pythonistas and solar power enthusiasts,<div><br></div><div>On behalf of the maintainers, we're happy to announce a new release of <span>pvlib</span> python: software for simulating performance of photovoltaic solar energy systems.</div><div><br></div><div><b>See what's new for v0.8.1:</b></div><div>* <a href="https://pvlib-python.readthedocs.io/en/stable/whatsnew.html" target="_blank" rel="noreferrer">https://<span>pvlib</span>-python.readthedocs.io/en/stable/whatsnew.html</a><br></div><div><br></div><div><b>Releases are available from PyPI and the conda-forge channel:</b></div><div>* <a href="https://pypi.org/project/pvlib/" target="_blank" rel="noreferrer">https://pypi.org/project/<span>pvlib</span>/</a></div><div>* <a href="https://anaconda.org/conda-forge/pvlib-python" target="_blank" rel="noreferrer">https://anaconda.org/conda-forge/<span>pvlib</span>-python</a></div><div><br></div><div><b>Read the Documentation:</b></div><div>* <a href="https://pvlib-python.readthedocs.io/en/stable/index.html" target="_blank" rel="noreferrer">https://<span>pvlib</span>-python.readthedocs.io/en/stable/index.html</a><br></div><div><br></div><div><b>Report issues & contribute:</b></div><div>* <a href="https://github.com/pvlib/pvlib-python" target="_blank" rel="noreferrer">https://github.com/<span>pvlib</span>/<span>pvlib</span>-python</a><br></div><div><div><br></div><div><b>Highlights:</b></div><div>* AirSpeed Velocity benchmarks are now available!</div><div><a href="https://pvlib-benchmarker.github.io/pvlib-benchmarks/" target="_blank" rel="noreferrer">https://pvlib-benchmarker.github.io/pvlib-benchmarks/</a></div><div>* A numpy-based implementation of the SPECTRL2 spectral irradiance model and a usage example in the gallery.</div><div><a href="https://pvlib-python.readthedocs.io/en/stable/auto_examples/plot_spectrl2_fig51A.html" target="_blank" rel="noreferrer">https://pvlib-python.readthedocs.io/en/stable/auto_examples/plot_spectrl2_fig51A.html</a><br></div><div>* New functions for modeling inverters with multiple MPPTs.</div><div>* The Liu-Jordan irradiance function is deprecated, and will be removed in v0.9. Please use the newer Campbell-Norman function instead, but note it expects some different arguments.</div><div>* Added the option of fetching 5 and 15-minute PSM3 data using a new "attributes" keyword argument.</div><div>* Clear-sky detection now uses centered rolling windows instead of left-aligned rolling windows.</div><div><br></div><div><b>The maintainers thank you for using <span>pvlib</span> python!</b></div></div><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div><span style="font-size:12.8px">Mark Mikofski, PhD (2005)</span><br></div><div><span style="font-size:12.8px"><i>Fiat Lux</i></span><br></div></div></div></div></div>
_______________________________________________<br>
SciPy-User mailing list<br>
<a href="mailto:SciPy-User@python.org" target="_blank" rel="noreferrer">SciPy-User@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/scipy-user" rel="noreferrer noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/scipy-user</a><br>
</blockquote></div>
_______________________________________________<br>
SciPy-User mailing list<br>
<a href="mailto:SciPy-User@python.org" target="_blank" rel="noreferrer">SciPy-User@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/scipy-user" rel="noreferrer noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/scipy-user</a><br>
</blockquote></div>