You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pvlib-python is a community supported tool that provides a set of documented functions for simulating the performance of photovoltaic energy systems. The toolbox was originally developed in MATLAB at Sandia National Laboratories and it implements many of the models and methods developed at the Labs. More information on Sandia Labs PV performance modeling programs can be found at https://pvpmc.sandia.gov/. We collaborate with the PVLIB-MATLAB project, but operate independently of it.
11
+
pvlib-python is a community supported tool that provides a set of functions and classes for simulating the performance of photovoltaic energy systems.
12
+
The toolbox was originally developed in MATLAB at Sandia National Laboratories and it implements many of the models and methods developed at the Labs.
13
+
More information on Sandia Labs PV performance modeling programs can be found at https://pvpmc.sandia.gov/.
14
+
We collaborate with the PVLIB-MATLAB project, but operate independently of it.
12
15
13
16
14
17
Documentation
15
18
=============
16
19
17
-
Full documentation can be found at [readthedocs](http://pvlib-python.readthedocs.org/en/latest/).
18
-
19
-
20
-
Contributing
21
-
============
22
-
23
-
We need your help to make pvlib-python a great tool! Please see the [Contributing page](http://pvlib-python.readthedocs.org/en/latest/contributing.html) for more on how you can contribute. The long-term success of pvlib-python requires substantial community support.
20
+
Full documentation can be found at [readthedocs](http://pvlib-python.readthedocs.io/en/latest/).
24
21
25
22
26
23
Installation
27
24
============
28
25
29
-
To obtain the most recent stable release, just use ``pip`` or ``conda``:
30
-
31
-
```
32
-
pip install pvlib
33
-
```
34
-
35
-
```
36
-
conda install -c pvlib pvlib
37
-
```
38
-
39
-
Please see the [Installation page](http://pvlib-python.readthedocs.org/en/latest/installation.html) of the documentation for complete instructions.
40
-
41
-
42
-
NREL SPA algorithm
43
-
------------------
44
-
pvlib-python is distributed with several validated, high-precision, and high-performance solar position calculators.
45
-
It also includes wrappers for the official NREL SPA algorithm.
46
-
To use the NREL SPA algorithm, a pip install from the web cannot be used. Instead:
47
-
48
-
1. Download the pvlib repository from https://github.com/pvlib/pvlib-python.git
49
-
2. Download the SPA files from [NREL](http://www.nrel.gov/midc/spa/)
50
-
3. Copy the SPA files into ``pvlib-python/pvlib/spa_c_files``
51
-
4. From the ``pvlib-python`` directory, run ``pip uninstall pvlib`` followed by ``pip install . ``
26
+
pvlib-python releases may be installed using the ``pip`` and ``conda`` tools.
27
+
Please see the [Installation page](http://pvlib-python.readthedocs.io/en/latest/installation.html) of the documentation for complete instructions.
52
28
29
+
pvlib-python is compatible with Python versions 2.7, 3.4, 3.5
53
30
54
-
Usage
55
-
=====
56
-
You're now ready to start some version of the Python interpreter and use pvlib. The easiest way to start is with one of our [Jupyter](http://jupyter.org) notebook tutorials:
57
31
58
-
1. 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/master/docs/tutorials/), click on e.g. [``tmy_to_power.ipynb``](http://nbviewer.jupyter.org/github/pvlib/pvlib-python/blob/master/docs/tutorials/tmy_to_power.ipynb), and then click on the download symbol.
59
-
1. Start the Jupyter Notebook server: ``jupyter notebook``. This should open a web browser with the Jupyter Notebook's file/folder listing. If not, navigate to the url shown in the command line history, likely ``http://localhost:8888``
60
-
2. In Jupyter Notebook, navigate to the file that you downloaded in step one and open it.
61
-
2. Use ``shift-enter`` to execute the notebook cell-by-cell. There is also a Play button that will execute all of the cells in the notebook.
62
-
63
-
You can also use a Jupyter notebook or any other Python interpreter to experiment with the simple code in the [Package overview](http://pvlib-python.readthedocs.org/en/latest/package_overview.html) section of the documentation.
32
+
Contributing
33
+
============
64
34
65
-
Many good online resources exist for getting started with scientific Python.
35
+
We need your help to make pvlib-python a great tool!
36
+
Please see the [Contributing page](http://pvlib-python.readthedocs.io/en/latest/contributing.html) for more on how you can contribute.
37
+
The long-term success of pvlib-python requires substantial community support.
66
38
67
39
68
40
License
69
41
=======
70
-
3 clause BSD.
71
-
72
-
73
-
Compatibility
74
-
=============
75
-
76
-
pvlib-python is compatible with Python versions 2.7, 3.3, 3.4, 3.5 and Pandas versions 0.13.1 through 0.18. Note that our Numba-accelerated solar position algorithms have more specific version requirements that will be resolved by the Numba installer.
77
-
78
-
For Linux + Python 3 users: Continuum's Python 3.x SciPy conda package is not compiled properly and has a few bugs related to complex arithmetic. The most common place for these bugs to show up when using pvlib-python is in calculating IV curve parameters using the ``singlediode`` function. We reported [the issue](https://github.com/ContinuumIO/anaconda-issues/issues/425) to Continuum and are waiting for it to be fixed. In the meantime, you can compile your own SciPy distribution, or you can use this trick on Python 3.3 and 3.4 (not 3.5): Downgrade your NumPy to 1.8 and SciPy to 0.14, then install whatever version of pandas you want but without dependencies. The conda commands for this are:
79
42
80
-
```
81
-
conda install numpy=1.8 scipy=0.14
82
-
conda install pandas --no-deps
83
-
```
43
+
BSD 3-clause
84
44
85
-
For Windows + Python 2.7 users: Continuum's Python 2.7 SciPy 0.16.1 and 0.17.0 packages are not compiled properly and will crash your Python interpreter if you use our Linke turbidity lookup function. See [Anaconda issue 650](https://github.com/ContinuumIO/anaconda-issues/issues/650) for more.
86
45
87
-
88
-
Testing
46
+
Contact
89
47
=======
90
-
Testing can easily be accomplished by running ``nosetests`` on the pvlib directory:
91
-
```
92
-
nosetests -v pvlib
93
-
```
94
-
Unit test code should be placed in the corresponding test module in the pvlib/test directory. Use ``pip`` or ``conda`` to install ``nose``. Developers must include comprehensive tests for any additions or modifications to pvlib.
48
+
49
+
Please use our [issues page](https://github.com/pvlib/pvlib-python/issues)
0 commit comments