Open Sustainable Technology

A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

Browse accepted projects | Review proposed projects | Propose new project | Open Issues

photovoltaic

A Python library used in photovoltaics.
https://github.com/pvedu/photovoltaic

Last synced: about 10 hours ago
JSON representation

Repository metadata

README

        

# photovoltaic

**photovoltaic** is a library of python functions used in photovoltaics. Its preferrable to install the library but the functions are simple enough to include in your code.

Help Index: http://htmlpreview.github.io/?https://github.com/pvedu/photovoltaic/blob/master/html/photovoltaic.html
Code is at: https://github.com/pvedu/photovoltaic/tree/master/photovoltaic

## Examples

The best place to start is with the examples at:
https://github.com/pvedu/pvon

There are instructions on how to run the examples completely within the browser and without installing anything.

## Typical usage

import photovoltaic as pv
irradiance = pv.sun.blackbody_spectrum(800)
print(irradiance)

This would print the blackbody irradiance at 800 nm with the default temperature of 6000 K in W/m2/nm.

## Installation

Installation is via pip from the pypi repositry. From a command propmpt:

pip install photovoltaic

Inside a Jupter notebook use:

!pip install photovoltaic

Some systems use pip3 instead of pip. People recommend using a virtual environment, but I don't find its necessary on MS Windows.


Tha above command should also install the latest scipy and numpy packages. They can also be installed directly with:

pip install numpy

pip install scipy

## Requirements

Known to work under plain vanilla Python 3.6 using the standard IDLE editor with Numpy and Scipy installed. The examples also make use of matplotlib. It should also work with the various Python systems such as Anaconda Jupyter etc.

Anaconda includes a wealth of scientific packagkes and is available at: https://www.anaconda.com/download/

Standard Python is at https://www.python.org/downloads/

For the graphs, Matplotlib is needed in addition to the above numpy and scipy packages:

pip install matplotlib

## Other

**f** means **from** in some of the function names. For example:

nmfeV() converts the energy of a photon **from** electron volts to a nm.

This follows the conventions of other python functions such as strfdatetime.

The library is designed to be as simple as possible and an "algorithm that runs". While it is easier to install the whole library, it is also straighforward to cut/paste parts of the code.

There are other python libraries that cover sections of the photovoltaic library in much more detail.

* [pvlib] (https://github.com/pvlib/pvlib-python) covers insolation and systems modeling.
* [Semiconductors](https://github.com/MK8J) relating to solar.


GitHub Events

Total
Last Year

Committers metadata

Last synced: 1 day ago

Total Commits: 52
Total Committers: 4
Avg Commits per committer: 13.0
Development Distribution Score (DDS): 0.269

Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
trautsned s****n@a****u 38
pvedu 6****u 8
Pedro Reguera Rodriguez p****a@a****u 5
Joe Karas j****s@g****m 1

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 1
Total pull requests: 3
Average time to close issues: N/A
Average time to close pull requests: 1 day
Total issue authors: 1
Total pull request authors: 3
Average comments per issue: 3.0
Average comments per pull request: 0.0
Merged pull request: 2
Bot issues: 0
Bot pull requests: 0

Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/pvedu/photovoltaic

Top Issue Authors

  • MarcvdSluys (1)

Top Pull Request Authors

  • MarcvdSluys (1)
  • jfkaras (1)
  • PedroRegueraRodriguez (1)

Top Issue Labels

Top Pull Request Labels


Package metadata

pypi.org: photovoltaic

Set of commonly used functions in photovoltaics

  • Homepage: https://github.com/pvedu/photovoltaic
  • Documentation: https://photovoltaic.readthedocs.io/
  • Licenses: GPLv3
  • Latest release: 0.1.9 (published almost 2 years ago)
  • Last Synced: 2024-02-27T18:00:26.045Z (1 day ago)
  • Versions: 9
  • Dependent Packages: 1
  • Dependent Repositories: 1
  • Downloads: 406 Last month
  • Rankings:
    • Dependent packages count: 7.373%
    • Stargazers count: 9.902%
    • Forks count: 10.201%
    • Average: 12.564%
    • Downloads: 13.113%
    • Dependent repos count: 22.233%
  • Maintainers (2)

Dependencies

setup.py pypi
  • numpy *
  • scipy *

Score: 11.250157118872751