skip to navigation
skip to content

solpy 0.2.1

Solar Performance and Design library

Latest Version:

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.

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

----- - Enphase API wrapper - EPW weather data - calculate information needed for the expedited permit process - fisheye image to shading vectors - API wrapper - NOAA weather data API wrapper - system performance prediction
-pvcli - cli interface to pv modeling-- - read tmy3 data - voltage drop

PV systems are descibed with json. For example:

{"system_name":"System Name",
{"inverter":"SMA America: SB6000US 240V",
"panel":"Mage Solar : Powertec Plus 250-6 MNCS",

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

pvcli -f template.json

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

File Type Py Version Uploaded on Size
solpy-0.2.1.tar.gz (md5) Source 2014-03-13 1MB
  • Downloads (All Versions):
  • 1 downloads in the last day
  • 233 downloads in the last week
  • 1333 downloads in the last month