Installation

Install with pip

pvfactors currently supports python 3.6+.

The easiest way to install pvfactors is using pip:

$ pip install pvfactors

However, installing shapely from PyPI may not install all the necessary binary dependencies. If you run into an error like OSError: [WinError 126] The specified module could not be found, try installing conda from conda-forge with:

$ conda install -c conda-forge shapely

Windows users may also be able to resolve the issue by installing wheels from Christoph Gohlke.

pvlib implementation

A limited implementation of pvfactors is available in the bifacial module of pvlib-python: see here.

Contributing

Contributions are needed in order to improve this package. If you wish to contribute, you can start by forking and cloning the repository, and then installing pvfactors using pip in the root folder of the package:

$ pip install .

To install the package in editable mode, you can use:

$ pip install -e .