Skip to content

add mlfm #1354

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

Open
wants to merge 94 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
0e65e9b
add mlfm first attempt
steve-ransome Dec 10, 2021
a8a359c
format fix mlfm.py
steve-ransome Dec 10, 2021
283ee65
format fix mlfm.py
steve-ransome Dec 10, 2021
ac9304b
format fix mlfm.py
steve-ransome Dec 10, 2021
5c652ce
format fix mlfm.py
steve-ransome Dec 10, 2021
4017024
format fix mlfm.py
steve-ransome Dec 10, 2021
a455290
format fix mlfm.py
steve-ransome Dec 10, 2021
1a2c218
format fix mlfm.py
steve-ransome Dec 10, 2021
b0bd28a
format fix mlfm.py
steve-ransome Dec 10, 2021
3ee9c50
format fix mlfm_graphs.py
steve-ransome Dec 10, 2021
95b8963
format fix mlfm_graphs.py
steve-ransome Dec 10, 2021
3a64a7f
format fix mlfm_graphs.py
steve-ransome Dec 10, 2021
2228330
format fix mlfm.py
steve-ransome Dec 10, 2021
0c6051b
format fix mlfm.py
steve-ransome Dec 10, 2021
3c5f338
format fix mlfm.py
steve-ransome Dec 10, 2021
65a3e62
format fix mlfm.py
steve-ransome Dec 10, 2021
77a6cc5
format fix mlfm.py
steve-ransome Dec 10, 2021
27bf8a7
format fix mlfm.py
steve-ransome Dec 10, 2021
e98835a
format fix mlfm.py
steve-ransome Dec 10, 2021
c7c1775
format fix mlfm.py
steve-ransome Dec 10, 2021
55e4822
format fix mlfm.ipynb
steve-ransome Dec 10, 2021
19ed548
fix bare except mlfm_graphs.py
steve-ransome Dec 11, 2021
b9b64fc
better formatted mlfm.ipynb
steve-ransome Dec 13, 2021
f0f38e7
better formatted mlfm.ipynb
steve-ransome Dec 13, 2021
9336555
stickler checked mlfm.py
steve-ransome Dec 13, 2021
2e77520
stickler checked mlfm.py
steve-ransome Dec 13, 2021
cd83fb7
stickler checked mlfm_graphs.py
steve-ransome Dec 13, 2021
789b091
stickler checked mlfm_graphs.py
steve-ransome Dec 13, 2021
8cd6e88
stickler checked mlfm_graphs.py
steve-ransome Dec 13, 2021
4459a44
added mlfm.py and mlfm_graphs.py to __init__.py
steve-ransome Dec 13, 2021
8db1237
mlfm.ipynb
steve-ransome Dec 13, 2021
223388e
remove mlfm_graphs, add matplotlib to optional dependencies, add has_…
cwhanse Dec 14, 2021
8962701
docstring edits to trigger build
cwhanse Jan 6, 2022
a505e31
adjust matplotlib import
cwhanse Jan 6, 2022
d01db5f
remove mlfm_graphs
cwhanse Jan 7, 2022
66130f2
test functions
cwhanse Jan 13, 2022
86c0523
Merge branch 'master' of https://github.com/pvlib/pvlib-python into mlfm
cwhanse Jan 13, 2022
b45ab62
add test for mlfm_fit
cwhanse Jan 15, 2022
060054e
stickler
cwhanse Feb 23, 2022
9092c72
add test for a plot function
cwhanse Feb 23, 2022
77a8ca1
Merge branch 'pvlib:master' into mlfm
steve-ransome Feb 25, 2022
bf84f03
Merge branch 'pvlib:master' into mlfm
steve-ransome Mar 23, 2022
e79e8f3
remove extra line
cwhanse May 9, 2022
3fcbd46
Merge branch 'mlfm' of https://github.com/steve-ransome/pvlib-python …
cwhanse May 9, 2022
a55915a
fix test, start on notebook file
cwhanse May 9, 2022
ccd25a7
fix mlfm_fit
cwhanse May 10, 2022
9396d05
docstring work, add iPython notebook probably broken
cwhanse May 18, 2022
4a820b8
use poa_global_kwm2
cwhanse May 18, 2022
b908b98
add doc references
cwhanse May 19, 2022
62c027e
loosen atol for test_mlfm_fit, docstring work
cwhanse May 19, 2022
ecdef89
docstring work
cwhanse May 19, 2022
87e79e1
rework mlfm_meas_to_norm
cwhanse May 19, 2022
435463d
rework mlfm_norm_to_stack
cwhanse May 26, 2022
075a5ea
reword plotting functions
cwhanse May 26, 2022
c8fabe4
Merge branch 'pvlib:master' into mlfm
steve-ransome Jun 1, 2022
bc8fb58
formatting
cwhanse Jun 23, 2022
8b44cc9
count to 6 not 7
cwhanse Jun 23, 2022
1790dd2
fix scatterplot function
cwhanse Jun 23, 2022
71f1846
Merge branch 'pvlib:master' into mlfm
steve-ransome Jun 23, 2022
feabd50
updates from SR
cwhanse Jun 29, 2022
22ac249
Merge branch 'mlfm' of https://github.com/steve-ransome/pvlib-python …
cwhanse Jun 29, 2022
0325b81
typo fix
cwhanse Jun 29, 2022
d4256ae
docstring edits
cwhanse Jun 29, 2022
8341428
remove old tutorial
cwhanse Jun 29, 2022
c3bf44a
working on notebooks
cwhanse Jun 29, 2022
2bb9fe2
edits to notebooks, fix stack plot function
cwhanse Jun 30, 2022
ed5f8c2
fix up last notebook
cwhanse Jun 30, 2022
9764f13
fix plot_mlfm_stack test
cwhanse Jun 30, 2022
39b9493
minor edits
cwhanse Jun 30, 2022
2192599
improve coverage
cwhanse Jul 12, 2022
e63f22c
non-interactive plots
cwhanse Jul 12, 2022
e22b0fc
use poa_global W/m2
cwhanse Jul 22, 2022
3ba24ff
typo
cwhanse Jul 22, 2022
93ee860
another typo
cwhanse Jul 22, 2022
60f1fe4
fix G_STC
cwhanse Jul 22, 2022
0e2a018
add data files for tutorials
cwhanse Jul 22, 2022
50b1de9
extra space
cwhanse Jul 23, 2022
3107769
Merge branch 'pvlib:master' into mlfm
steve-ransome Jul 23, 2022
2e1758f
Updated MLFM Dec 2022
steve-ransome Dec 4, 2022
a69773b
Merge branch 'mlfm' of https://github.com/steve-ransome/pvlib-python …
steve-ransome Dec 4, 2022
700d738
Merge branch 'pvlib:main' into mlfm
steve-ransome Dec 8, 2022
5d518d4
Merge branch 'mlfm' of https://github.com/steve-ransome/pvlib-python …
steve-ransome Dec 12, 2022
0d63314
Merge branch 'mlfm' of https://github.com/steve-ransome/pvlib-python …
steve-ransome Dec 12, 2022
0d42b3a
Merge branch 'pvlib:main' into mlfm
steve-ransome Dec 12, 2022
775b3ac
Add files via upload
steve-ransome Dec 12, 2022
5482c95
13 Dec 2022 Versions after comments
steve-ransome Dec 13, 2022
e9a2c44
Merge branch 'mlfm' of https://github.com/steve-ransome/pvlib-python …
steve-ransome Dec 13, 2022
d879abc
Add files via upload
steve-ransome Dec 13, 2022
ceafccf
Add files via upload
steve-ransome Dec 13, 2022
711fae4
Add files via upload
steve-ransome Dec 13, 2022
f74cebd
Add files via upload
steve-ransome Dec 13, 2022
050071f
Add files via upload
steve-ransome Dec 13, 2022
0faed51
Add files via upload
steve-ransome Dec 13, 2022
30cc5ec
Add files via upload
steve-ransome Dec 13, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
- [ ] Closes #xxxx
- [ ] I am familiar with the [contributing guidelines](https://pvlib-python.readthedocs.io/en/latest/contributing.html)
- [ ] Tests added
- [ ] Updates entries in [`docs/sphinx/source/reference`](https://github.com/pvlib/pvlib-python/blob/main/docs/sphinx/source/reference) for API changes.
- [ ] Adds description and name entries in the appropriate "what's new" file in [`docs/sphinx/source/whatsnew`](https://github.com/pvlib/pvlib-python/tree/main/docs/sphinx/source/whatsnew) for all changes. Includes link to the GitHub Issue with `` :issue:`num` `` or this Pull Request with `` :pull:`num` ``. Includes contributor name and/or GitHub username (link with `` :ghuser:`user` ``).
- [ ] Updates entries in [`docs/sphinx/source/reference`](https://github.com/pvlib/pvlib-python/blob/master/docs/sphinx/source/reference) for API changes.
- [ ] Adds description and name entries in the appropriate "what's new" file in [`docs/sphinx/source/whatsnew`](https://github.com/pvlib/pvlib-python/tree/master/docs/sphinx/source/whatsnew) for all changes. Includes link to the GitHub Issue with `` :issue:`num` `` or this Pull Request with `` :pull:`num` ``. Includes contributor name and/or GitHub username (link with `` :ghuser:`user` ``).
- [ ] New code is fully documented. Includes [numpydoc](https://numpydoc.readthedocs.io/en/latest/format.html) compliant docstrings, examples, and comments where necessary.
- [ ] Pull request is nearly complete and ready for detailed review.
- [ ] Maintainer: Appropriate GitHub Labels (including `remote-data`) and Milestone are assigned to the Pull Request and linked Issue.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/asv_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: asv
on:
push:
branches:
- main
- master
pull_request:


Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
push:
branches:
- main
- master
tags:
- "v*"

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pytest-remote-data.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# A secondary test job that only runs the iotools tests if explicitly requested
# (for pull requests) or on a push to the main branch.
# (for pull requests) or on a push to the master branch.
# Because the iotools tests require GitHub secrets, we need to be careful about
# malicious PRs accessing the secrets and exposing them externally.
#
Expand Down Expand Up @@ -48,7 +48,7 @@ on:
types: [labeled]
push:
branches:
- main
- master

jobs:
test:
Expand All @@ -68,7 +68,7 @@ jobs:
steps:
- uses: actions/checkout@v3
if: github.event_name == 'pull_request_target'
# pull_request_target runs in the context of the target branch (pvlib/main),
# pull_request_target runs in the context of the target branch (pvlib/master),
# but what we need is the hypothetical merge commit from the PR:
with:
ref: "refs/pull/${{ github.event.number }}/merge"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
push:
branches:
- main
- master

jobs:
test:
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<tr>
<td>License</td>
<td>
<a href="https://github.com/pvlib/pvlib-python/blob/main/LICENSE">
<a href="https://github.com/pvlib/pvlib-python/blob/master/LICENSE">
<img src="https://img.shields.io/pypi/l/pvlib.svg" alt="license" />
</a>
</td>
Expand All @@ -28,11 +28,11 @@
<a href="http://pvlib-python.readthedocs.org/en/stable/">
<img src="https://readthedocs.org/projects/pvlib-python/badge/?version=stable" alt="documentation build status" />
</a>
<a href="https://github.com/pvlib/pvlib-python/actions/workflows/pytest.yml?query=branch%3Amain">
<img src="https://github.com/pvlib/pvlib-python/actions/workflows/pytest.yml/badge.svg?branch=main" alt="GitHub Actions Testing Status" />
<a href="https://github.com/pvlib/pvlib-python/actions/workflows/pytest.yml?query=branch%3Amaster">
<img src="https://github.com/pvlib/pvlib-python/actions/workflows/pytest.yml/badge.svg?branch=master" alt="GitHub Actions Testing Status" />
</a>
<a href="https://codecov.io/gh/pvlib/pvlib-python">
<img src="https://codecov.io/gh/pvlib/pvlib-python/branch/main/graph/badge.svg" alt="codecov coverage" />
<img src="https://codecov.io/gh/pvlib/pvlib-python/branch/master/graph/badge.svg" alt="codecov coverage" />
</a>
</td>
</tr>
Expand Down
6 changes: 3 additions & 3 deletions benchmarks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ tests are run using

The basic structure of the tests and how to run them is described below.
We refer readers to the ASV documentation for more details. The AstroPy
[documentation](https://github.com/astropy/astropy-benchmarks/tree/main)
[documentation](https://github.com/astropy/astropy-benchmarks/tree/master)
may also be helpful.

The test configuration is described in [asv.conf.json](asv.conf.json).
Expand All @@ -23,7 +23,7 @@ For example, if your feature branch is named ``feature``, a useful asv
run may be (from the same directory as `asv.conf.json`):

```
$ asv run main..feature
$ asv run master..feature
```

This will generate timings for every commit between the two specified
Expand Down Expand Up @@ -87,7 +87,7 @@ $ asv preview
Nightly benchmarking
--------------------

The benchmarks are run nightly for new commits to pvlib-python/main.
The benchmarks are run nightly for new commits to pvlib-python/master.

- Timing results: https://pvlib-benchmarker.github.io/pvlib-benchmarks/
- Information on the process: https://github.com/pvlib-benchmarker/pvlib-benchmarks
2 changes: 1 addition & 1 deletion benchmarks/asv.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

// List of branches to benchmark. If not provided, defaults to "master"
// (for git) or "default" (for mercurial).
"branches": ["main"], // for git
// "branches": ["master"], // for git
// "branches": ["default"], // for mercurial

// The DVCS being used. If not set, it will be automatically
Expand Down
2 changes: 1 addition & 1 deletion docs/sphinx/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ def make_github_url(file_name):
"/docs/sphinx/source/api.rst" or "generated/pvlib.atmosphere.alt2pres.rst"
"""

URL_BASE = "https://github.com/pvlib/pvlib-python/blob/main/"
URL_BASE = "https://github.com/pvlib/pvlib-python/blob/master/"

# is it a gallery page?
if any(d in file_name for d in sphinx_gallery_conf['gallery_dirs']):
Expand Down
20 changes: 10 additions & 10 deletions docs/sphinx/source/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ A pull request can also quickly become unmanageable if it proposes
changes to the API in order to implement another feature. Consider
clearly and concisely documenting all proposed API changes before
implementing any code. Modifying
`api.rst <https://github.com/pvlib/pvlib-python/tree/main/docs/sphinx/source/reference>`_
and/or the latest `whatsnew file <https://github.com/pvlib/pvlib-python/tree/main/docs/sphinx/source/whatsnew>`_
`api.rst <https://github.com/pvlib/pvlib-python/blob/master/docs/sphinx/source/api.rst>`_
and/or the latest `whatsnew file <https://github.com/pvlib/pvlib-python/tree/master/docs/sphinx/source/whatsnew>`_
can help formalize this process.

Questions about related issues frequently come up in the process of
Expand Down Expand Up @@ -154,7 +154,7 @@ a timely manner is to:
the issue with the appropriate milestone.
#. Make a limited-scope pull request. It can be a lot of work to check all of
the boxes in `pull request guidelines
<https://github.com/pvlib/pvlib-python/blob/main/.github/PULL_REQUEST_TEMPLATE.md>`_,
<https://github.com/pvlib/pvlib-python/blob/master/.github/PULL_REQUEST_TEMPLATE.md>`_,
especially for pull requests with a lot of new primary code.
See :ref:`pull-request-scope`.
#. Tag pvlib community members or ``@pvlib`` when the pull
Expand Down Expand Up @@ -217,7 +217,7 @@ We typically use GitHub's
"`squash and merge <https://help.github.com/articles/about-pull-request-merges/#squash-and-merge-your-pull-request-commits>`_"
feature to merge your pull request into pvlib. GitHub will condense the
commit history of your branch into a single commit when merging into
pvlib-python/main (the commit history on your branch remains
pvlib-python/master (the commit history on your branch remains
unchanged). Therefore, you are free to make commits that are as big or
small as you'd like while developing your pull request.

Expand Down Expand Up @@ -258,7 +258,7 @@ Read the Docs build it for you. Building the docs locally requires installing
pvlib python as an editable library (see :ref:`installation` for instructions).
First, install the ``doc`` dependencies specified in the
``EXTRAS_REQUIRE`` section of
`setup.py <https://github.com/pvlib/pvlib-python/blob/main/setup.py>`_.
`setup.py <https://github.com/pvlib/pvlib-python/blob/master/setup.py>`_.
An easy way to do this is with::

pip install pvlib[doc]
Expand Down Expand Up @@ -288,7 +288,7 @@ Example Gallery

The example gallery uses `sphinx-gallery <https://sphinx-gallery.github.io/>`_
and is generated from script files in the
`docs/examples <https://github.com/pvlib/pvlib-python/tree/main/docs/examples>`_
`docs/examples <https://github.com/pvlib/pvlib-python/tree/master/docs/examples>`_
directory. sphinx-gallery will execute example files that start with
``plot_`` and capture the output.

Expand Down Expand Up @@ -325,7 +325,7 @@ Testing
Developers **must** include comprehensive tests for any additions or
modifications to pvlib. New unit test code should be placed in the
corresponding test module in the
`pvlib/tests <https://github.com/pvlib/pvlib-python/tree/main/pvlib/tests>`_
`pvlib/tests <https://github.com/pvlib/pvlib-python/tree/master/pvlib/tests>`_
directory.

A pull request will automatically run the tests for you on a variety of
Expand All @@ -334,7 +334,7 @@ typically more efficient to run and debug the tests in your own local
environment.

To run the tests locally, install the ``test`` dependencies specified in the
`setup.py <https://github.com/pvlib/pvlib-python/blob/main/setup.py>`_
`setup.py <https://github.com/pvlib/pvlib-python/blob/master/setup.py>`_
file. See :ref:`installation` instructions for more information.

pvlib's unit tests can easily be run by executing ``pytest`` on the
Expand Down Expand Up @@ -492,7 +492,7 @@ tests are run using the `airspeed velocity
performance tests for most contributions at this time. Pull request
reviewers will provide further information if a performance test is
necessary. See our `README
<https://github.com/pvlib/pvlib-python/tree/main/benchmarks/README.md>`_
<https://github.com/pvlib/pvlib-python/tree/master/benchmarks/README.md>`_
for instructions on running the benchmarks.


Expand All @@ -507,4 +507,4 @@ contributing.html>`_ for inspiration.
Code of Conduct
~~~~~~~~~~~~~~~
All contributors are expected to adhere to the `Contributor Code of Conduct
<https://github.com/pvlib/pvlib-python/blob/main/CODE_OF_CONDUCT.md#contributor-covenant-code-of-conduct>`_.
<https://github.com/pvlib/pvlib-python/blob/master/CODE_OF_CONDUCT.md#contributor-covenant-code-of-conduct>`_.
8 changes: 4 additions & 4 deletions docs/sphinx/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Please see the :ref:`installation` page for installation help.

For examples of how to use pvlib python, please see
:ref:`package_overview` and our `Jupyter Notebook tutorials
<http://nbviewer.ipython.org/github/pvlib/pvlib-python/tree/main/docs/
<http://nbviewer.ipython.org/github/pvlib/pvlib-python/tree/master/docs/
tutorials/>`_. The documentation assumes general familiarity with
Python, NumPy, and Pandas. Google searches will yield many
excellent tutorials for these packages.
Expand Down Expand Up @@ -72,9 +72,9 @@ Additional pvlib python publications include:
* W.F. Holmgren, R.W. Andrews, A.T. Lorenzo, and J.S. Stein,
“PVLIB Python 2015,” in 42nd Photovoltaic Specialists Conference, 2015.
(`paper
<https://github.com/pvlib/pvsc2015/blob/main/pvlib_pvsc_42.pdf>`__ and
<https://github.com/pvlib/pvsc2015/blob/master/pvlib_pvsc_42.pdf>`__ and
the `notebook to reproduce the figures
<http://nbviewer.ipython.org/github/pvlib/pvsc2015/blob/main/paper.ipynb>`_)
<http://nbviewer.ipython.org/github/pvlib/pvsc2015/blob/master/paper.ipynb>`_)
* J.S. Stein, W.F. Holmgren, J. Forbess, and C.W. Hansen,
"PVLIB: Open Source Photovoltaic Performance Modeling Functions
for Matlab and Python," in 43rd Photovoltaic Specialists Conference, 2016.
Expand All @@ -85,7 +85,7 @@ Additional pvlib python publications include:
License
=======

`BSD 3-clause <https://github.com/pvlib/pvlib-python/blob/main/LICENSE>`_.
`BSD 3-clause <https://github.com/pvlib/pvlib-python/blob/master/LICENSE>`_.

NumFOCUS
========
Expand Down
26 changes: 25 additions & 1 deletion docs/sphinx/source/reference/pv_modeling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ PV temperature models
temperature.sapm_cell_from_module
temperature.pvsyst_cell
temperature.faiman
temperature.faiman_rad
temperature.fuentes
temperature.ross
temperature.noct_sam
Expand Down Expand Up @@ -182,6 +181,31 @@ Utilities for working with IV curve data

ivtools.utils.rectify_iv_curve

Loss Factors model
^^^^^^^^^^^^^^^^^^

.. autosummary::
:toctree: generated/

mlfm.mlfm_6
mlfm.mlfm_meas_to_norm
mlfm.mlfm_norm_to stack

Functions for fitting the Loss Factors model

.. autosummary::
:toctree: generated/

mlfm.mlfm_fit

Utilities for plotting

.. autosummary::
:toctree: generated/

mlfm.plot_mlfm_scatter
mlfm.plot_mlfm_stack

Other
-----

Expand Down
4 changes: 2 additions & 2 deletions docs/sphinx/source/user_guide/forecasts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ We do not know of a similarly easy way to access archives of forecast data.
This document demonstrates how to use pvlib python to create a PV power
forecast using these tools. The `forecast
<http://nbviewer.jupyter.org/github/pvlib/pvlib-python/blob/
main/docs/tutorials/forecast.ipynb>`_ and `forecast_to_power
master/docs/tutorials/forecast.ipynb>`_ and `forecast_to_power
<http://nbviewer.jupyter.org/github/pvlib/pvlib-python/blob/
main/docs/tutorials/forecast_to_power.ipynb>`_ Jupyter notebooks
master/docs/tutorials/forecast_to_power.ipynb>`_ Jupyter notebooks
provide additional example code.

.. warning::
Expand Down
4 changes: 2 additions & 2 deletions docs/sphinx/source/user_guide/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ repository <https://github.com/pvlib/pvlib-python>`_ or go to the
download the zip file of the most recent release. You can also use the
nbviewer website to choose a tutorial to experiment with. Go to our
`nbviewer tutorial page
<http://nbviewer.jupyter.org/github/pvlib/pvlib-python/tree/main/docs/
<http://nbviewer.jupyter.org/github/pvlib/pvlib-python/tree/master/docs/
tutorials/>`_.


Expand Down Expand Up @@ -228,7 +228,7 @@ pvlib-python is compatible with Python 3.

pvlib-python requires Pandas, Numpy, and SciPy. The minimum version requirements
are specified in
`setup.py <https://github.com/pvlib/pvlib-python/blob/main/setup.py>`_.
`setup.py <https://github.com/pvlib/pvlib-python/blob/master/setup.py>`_.
They are typically releases from several years ago.

A handful of pvlib-python features require additional packages that must
Expand Down
17 changes: 6 additions & 11 deletions docs/sphinx/source/whatsnew/v0.9.4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,19 @@ Enhancements
* Multiple code style issues fixed that were reported by LGTM analysis. (:issue:`1275`, :pull:`1559`)
* Added a direct IAM model :py:func:`pvlib.iam.schlick` which can be used with
:py:func:`~pvlib.iam.marion_diffuse`, and a diffuse IAM model
:py:func:`pvlib.iam.schlick_diffuse`. (:pull:`1562`, :issue:`1564`)
:py:func:`pvlib.iam.schlick_diffuse` (:pull:`1562`, :issue:`1564`)
* Added a function to calculate one of GHI, DHI, and DNI from values of the other two.
:py:func:`~pvlib.irradiance.complete_irradiance`.
:py:func:`~pvlib.irradiance.complete_irradiance`
(:issue:`1565`, :pull:`1567`)
* Added optional ``return_components`` parameter to :py:func:`pvlib.irradiance.haydavies` to return
* Add optional ``return_components`` parameter to :py:func:`pvlib.irradiance.haydavies` to return
individual diffuse irradiance components (:issue:`1553`, :pull:`1568`)
* Added a module temperature model that accounts for radiative losses to the sky
in a simplified way, using the Faiman model as an example.
:py:func:`~pvlib.temperature.faiman_rad`
(:issue:`1594`, :pull:`1595`)


Bug fixes
~~~~~~~~~

* Fixed bug in :py:func:`pvlib.shading.masking_angle` and :py:func:`pvlib.bifacial.infinite_sheds._ground_angle`
where zero ``gcr`` input caused a ZeroDivisionError. (:issue:`1576`, :pull:`1589`)
* Fixed bug in :py:func:`pvlib.tools._golden_sect_DataFrame` so that a result is returned when the search
interval is length 0 (which occurs in :py:func:`pvlib.pvsystem.singlediode` if v_oc is 0.) (:issue:`1603`, :pull:`1606`)
where zero ``gcr`` input caused a ZeroDivisionError (:issue:`1576`, :pull:`1589`)

Testing
~~~~~~~
Expand All @@ -45,6 +40,7 @@ Benchmarking
~~~~~~~~~~~~~
* Removed ``time_tracker_singleaxis`` function from tracking.py (:issue:`1508`, :pull:`1535`)


Requirements
~~~~~~~~~~~~

Expand All @@ -61,5 +57,4 @@ Contributors
* Kevin Anderson (:ghuser:`kanderso-nrel`)
* Karel De Brabandere (:ghuser:`kdebrab`)
* Naman Priyadarshi (:ghuser:`Naman-Priyadarshi`)
* Adam R. Jensen (:ghuser:`AdamRJensen`)
* Echedey Luis (:ghuser:`echedey-ls`)
Loading