This tool compares solar hourly radiation (from PVGIS) with photovoltaic generation capacity (from ANEEL ventures), factoring in system losses. It performs geospatial matching between energy projects and radiation data, then generates a comparative visualizations.
- 🌍 Geospatial Coordination
Matches ventures to nearest radiation coordinates usingscipy.spatial.cKDTree
- 📉 Loss Modeling
Accounts for:- Temperature derating
- Annual degradation
- System losses
- ⚡ Parallel Processing
Usesmultiprocessing
to handle large datasets - 📊 Visualization
- Hourly radiation vs. generation curves
- Key metrics overlay:
- Total radiation energy (kWh/m²)
- Generated energy (kWh)
- System loss percentage
from src.curve_generator import curve_generator
curve_generator(geocodes=[3550308])
# Analyze ventures in São Paulo, SP (geocode 3550308)
After
curves/
└── SP/ # State acronym (ex: SP = São Paulo)
└── [3501608]/ # IBGE city code (7 digits)
├── CEG12345.png # Venture generation graph
└── CEG67890.png
This project relies on data processed by:
- ANEEL Photovoltaic Cleaner
Provides cleaned ANEEL venture data in the requiredgd-cities/
structure - PVGIS Parallel API Client
Generates radiation timeseries stored indata v5.3/
directory structure
Source | Description | License |
---|---|---|
ANEEL GD Registry | Photovoltaic venture metadata | CC-BY 4.0 |
PVGIS v5.3 | Hourly radiation data | Non-commercial use |
Full details: DATA_SOURCES.md
Code: MIT License
ANEEL Data: CC-BY 4.0