Software for simulating photovoltaic solar energy systems.

Solar Position

The first step to modeling a PV system is to get the solar position for the site. Use the PVLIB API by sending a GET request to /api/v1/pvlib/solarposition/, the response is JSON. The calculation requires the following parameters:

Note: the API uses pandas to parse dates and times, see the documentation for formats.


Try the following: /api/v1/pvlib/solarposition/?lat=38&lon=-122&start=2018-01-01 7:00&end=2018-01-01 8:00&freq=T&tz=-8

Enter the fields above and submit to see what the request looks like: