Energy production photovoltaic (PV) energy systems
The PVWatts API estimates energy production for grid-connected photovoltaic (PV) energy systems.
import requests
url = "https://developer.nrel.gov/api/pvwatts/v6.json"
params = {
"api_key": "YOUR_API_KEY",
"lat": 40.0,
"lon": -105.0,
"system_capacity": 4,
"tilt": 20,
"azimuth": 180,
"array_type": 1,
"module_type": 0,
"losses": 10
}
response = requests.get(url, params=params)
print(response.json())Last 50 checks (10 min intervals)