Skip to content

Commit af70a1b

Browse files
authoredJan 31, 2025··
Finalize documentation for 0.1.0 (#17)
Improve consistency and formatting of docs.
1 parent 349968b commit af70a1b

File tree

6 files changed

+67
-55
lines changed

6 files changed

+67
-55
lines changed
 

‎README.md

+31-28
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# PV Performance Labs Tools for Python
22

3-
Useful tools for photovoltaics and beyond!
3+
*Useful tools for photovoltaics and beyond!*
44

55
<p align="left">
66
<table>
@@ -36,11 +36,13 @@ Useful tools for photovoltaics and beyond!
3636
</table>
3737
</p>
3838

39-
Latest news
40-
-----------
41-
2024-02-13: More proof that these tools are useful! The module efficiency functions were put to good use in [this new study by Lelia Deville and her colleagues][101]:
39+
This package, **pvpltools**, makes available a collection of useful
40+
software components and functions created by Anton Driesse of PV Performance Labs.
41+
Many were developed in the context of consulting or research projects,
42+
sometimes as a necessity, and sometimes just to make life easier.
4243

43-
[101]: https://doi.org/10.1002/pip.3763
44+
The aim of this package is to make life easier for people facing similar needs
45+
and thereby, in a small way, support the accelerated deployment of photovoltaic power systems.
4446

4547

4648
Copyright
@@ -58,46 +60,47 @@ GPL-3.0, but feel free to let me know if that causes any problems!
5860
Citing
5961
------
6062

61-
When referring to this software in either academic or commercial context,
63+
When referring to this software in an academic or commercial context,
6264
please use a citation similar to the following:
6365

64-
- A. Driesse,
65-
"PV Performance Labs Tools for Python", (2020), GitHub repository, https://github.com/pvplabs/pvpltools
66+
A. Driesse,
67+
"PV Performance Labs Tools for Python", (2025), GitHub repository,
68+
https://github.com/pvplabs/pvpltools
6669

6770
When referring to specific functions, docs strings or algorithms,
6871
please add specifics to the citation.
69-
70-
The following report introduces the new ADR PV module efficiency model
71-
and compares it to the IEC 61853 efficiency matrix interpolation/extrapolation method as well as several other published models:
72-
73-
- Driesse, Anton, & Stein, Joshua.
74-
"From IEC 61853 power measurements to PV system simulations."
75-
SAND2020-3877, Sandia National Laboratories, Albuquerque, NM, 2020. [doi:10.2172/1615179.][102]
76-
77-
[102]: https://pvpmc.sandia.gov/download/7737/
78-
79-
Additional publications related to the contents of pvpltools
80-
will be listed here as they become available.
72+
Docstrings also contain references to relevant publications.
8173

8274

8375
Acknowledgements
8476
----------------
8577

86-
The contents of this repository have been developed
87-
before, during or after various projects; as a product or byproduct;
88-
with funding in whole, in part, or not at all.
78+
Parts of this repository have been developed
79+
in the context of consulting or research projects,
80+
sometimes as a necessity, and sometimes just to make life easier.
81+
82+
The development of this package has not been funded directly,
83+
but I nevertheless want to acknowledge research project funding
84+
and/or encouragement to publish open source code
85+
from the following organizations:
86+
87+
- Sandia National Laboratories
88+
- United States Department of Energy
89+
- Fraunhofer Institute for Solar Energy
90+
- German Aerospace Center
91+
- German Ministry for Economic Affairs and Climate Action
8992

90-
I would like to acknowledge Sandia National Labs and the US DOE for
91-
substantial project funding as well encouragement to publish open source code.
9293

9394
I also acknowledge and thank all the contributors to pvlib-python,
94-
parts of which I use very frequently in the context of my work.
95+
parts of which I use frequently in the context of my work.
9596

9697

9798
Getting help
9899
------------
99100

100-
The doc strings within the code are currently the primary source of documentation.
101+
The first place to look is https://pvpltools.readthedocs.io/en/latest/.
102+
If it's not adequately explained there, have a look at
103+
the source code--if you're a user, you must be a programmer!
104+
Still confused? Send me an email.
101105

102-
Feel free to contact me with questions or suggestions though.
103106
For commercial use, extended support and related services are available.

‎README_PYPI.md

+5-9
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,17 @@
22

33
*Useful tools for photovoltaics and beyond!*
44

5-
This package, ``pvpltools``, makes available a collection of useful
5+
This package, **pvpltools**, makes available a collection of useful
66
software components and functions created by Anton Driesse of PV Performance Labs.
77
Many were developed in the context of consulting or research projects,
88
sometimes as a necessity, and sometimes just to make life easier.
99

1010
The aim of this package is to make life easier for people facing similar needs
1111
and thereby, in a small way, support the accelerated deployment of photovoltaic power systems.
1212

13-
The current version of this package is found in the GitHub repository
14-
`pvplabs/pvpltools <https://github.com/pvplabs/pvpltools>`_ .
15-
Prior to 2024, the code was made available in
16-
`adriesse/pvpltools-python <https://github.com/adriesse/pvpltools-python>`_ .
13+
The current version of this package is found at https://github.com/pvplabs/pvpltools.
14+
Prior to 2024, the code was made available at https://github.com/adriesse/pvpltools-python.
1715
This older repository will remain in place, but will not be updated.
1816

19-
``pvpltools`` is compatible with and complementary to
20-
`pvlib python <https://pvlib-python.readthedocs.io>`_.
21-
22-
17+
**pvpltools** is compatible with and complementary to
18+
**pvlib python** (https://pvlib-python.readthedocs.io).

‎docs/api_reference/iec61853.rst

+18-10
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,24 @@ described in standard IEC 61853.
1010

1111
The four main calculation steps are:
1212

13-
1. Calculate the angle-of-incidence correction using the functions:
14-
- martin_ruiz()
15-
- martin_ruiz_diffuse()
16-
2. Evaluate the spectral factor using the functions:
17-
- convert_to_banded()
18-
- calc_spectral_factor()
19-
3. Estimate the operating temperature using the function:
20-
- faiman()
21-
4. Determine the module efficiency using the class:
22-
- BilinearInterpolator()
13+
#. Calculate the angle-of-incidence correction using the functions:
14+
15+
* martin_ruiz()
16+
* martin_ruiz_diffuse()
17+
18+
#. Evaluate the spectral factor using the functions:
19+
20+
* convert_to_banded()
21+
* calc_spectral_factor()
22+
23+
#. Estimate the operating temperature using the function:
24+
25+
* faiman()
26+
27+
#. Determine the module efficiency using the class:
28+
29+
* BilinearInterpolator()
30+
2331

2432
.. autosummary::
2533
:toctree: generated/

‎docs/index.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ PV Performance Labs Tools for Python
33

44
*Useful tools for photovoltaics and beyond!*
55

6-
This package, ``pvpltools``, makes available a collection of useful
6+
This package, **pvpltools**, makes available a collection of useful
77
software components and functions created by Anton Driesse of PV Performance Labs.
88
Many were developed in the context of consulting or research projects,
99
sometimes out of necessity, and sometimes just to make life easier.
@@ -17,7 +17,7 @@ Prior to 2024, the code was made available in
1717
`adriesse/pvpltools-python <https://github.com/adriesse/pvpltools-python>`_ .
1818
This older repository will remain in place, but will not be updated.
1919

20-
``pvpltools`` is compatible with and complementary to
20+
**pvpltools** is compatible with and complementary to
2121
`pvlib python <https://pvlib-python.readthedocs.io>`_.
2222

2323

‎docs/user_guide/installation.rst

+10-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
Installation
22
============
3+
**pvpltools** needs some commonly used packages like NumPy, SciPy and pandas.
4+
Some functions also depend on pvlib or ruamel.yaml and
5+
the examples use Matplotlib and OpenPyXL (indirectly).
36

4-
``pvpltools`` needs some commonly used packages like ``numpy``, ``scipy`` and ``pandas``.
5-
Some functions also depend on ``pvlib`` or ``ruamel.yaml``.
6-
The examples use ``matplotlib`` and ``openpyxl`` (indirectly).
77

8-
9-
To install ``pvpltools`` from PyPI, run:
8+
To install **pvpltools** from PyPI, run:
109

1110
.. code-block:: bash
1211
1312
pip install pvpltools
13+
14+
To update an existing installation, run:
15+
16+
.. code-block:: bash
17+
18+
pip install -U pvpltools

‎docs/whatsnews/0.1.0a.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
v0.1.0a1 - v0.1.0a3
1+
v0.1.0a1 - v0.1.0a5
22
-------------------
33

44
- First alpha releases of the package through PyPI.

0 commit comments

Comments
 (0)
Please sign in to comment.