Skip to main content

Solar Performance and Design library

Project description

solpy
-------
Solpy is a python library to model solar system power performance similar to PVWatts or NREL's System Advisor Model(SAM). I initially started writing this while working in Bangladesh as fairly crude calculator to go from a fisheye panorama to a csv of vectors for shading calculations, however there were several pieces that were added to make it a bit more useful for both analyis and design.
Daniel Thomas did work adding the Tang evacuated glass tube model. Pyephem was added for solar positioning. There is also a simple module for reading TMY3 data. This tool is rudimentary, but functional.

This is primarily a research and analysis tool and there is no guarantee on the calculations.

Features
--------
-Liu & Jordan diffuse irradiance model
-Perez et al. diffuse irradiance model
-Sandia Inverter model
-NEC voltage drop caculations

Files
-----
-enphase.py - Enphase API wrapper
-epw.py - EPW weather data
-expedite.py - calculate information needed for the expedited permit process
-fisheye.py - fisheye image to shading vectors
-forecast.py - forecast.io API wrapper
-noaa.py - NOAA weather data API wrapper
-pv.py - system performance prediction
-pvcli - cli interface to pv modeling--
-tmy3.py - read tmy3 data
-vd.py - voltage drop

Usage
-----
PV systems are descibed with json. For example:

{"system_name":"System Name",
"zipcode":"17601",
"tilt":34,
"azimuth":180,
"phase":1,
"voltage":240,
"array":[
{"inverter":"SMA America: SB6000US 240V",
"panel":"Mage Solar : Powertec Plus 250-6 MNCS",
"series":14,
"parallel":2}
]
}

If that json was in a file called template.json, the command to model it would be;

pvcli -f template.json

Ipython
-------
This is the sort of project that lends itself nicely to ipython. Since discovering that project I've tried to make things flow naturally in that enviroment. I really like the inline graphics of the qtconsole.

$ipython qtconsole --colors=Linux --pylab=inline

![example](http://char1es.net/ipython_pv_example.png)

Project details


Release history Release notifications

History Node

0.15.4.9

History Node

0.13.21.17

History Node

0.9.15.10

History Node

0.9.2.13

History Node

0.8.19.14

History Node

0.8.14.0

History Node

0.8.4.11

History Node

0.7.29.14

History Node

0.6.30.13

History Node

0.5.13.9

History Node

0.4.15.13

History Node

0.2.21.17

History Node

0.2.4

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2.0

This version
History Node

0.1.9

History Node

0.1.8

History Node

0.1.7

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
solpy-0.1.9.tar.gz (1.3 MB) Copy SHA256 hash SHA256 Source None Mar 1, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page