Analysis of solar energy investment potential across African countries using GHI, GDP, and electricity production.
# Africa Solar Energy Project
## Project Overview
This project analyzes solar energy potential across African countries.
It calculates the average solar irradiation (GHI), merges it with GDP and electricity production data,
and identifies the top 3 investment target countries.
## Files Included
- main.py : Python code for analysis and visualizations
- Data/ : Folder with datasets
- Africa Energy Database_Kaggle.xlsx
- Africa_GHI_by_Country.xlsx
- Sub-Saharan-Africa_GISdata_LTAy_AvgDailyTotals_GlobalSolarAtlas-v2_GEOTIFF/GHI.tif
- naturalearth_countries/*.shp, *.shx, *.dbf, *.prj, *.README.html
- Outputs/ : Generated charts and maps
- scatter_gdp_ghi.png
- hist_avg_ghi.png
- corr_heatmap.png
- top3_investment_targets.xlsx : Final top 3 investment targets
- descriptive_stats.xlsx : Descriptive statistics
- README.txt : This file
## How to Run
1. Install Python 3.x and required libraries:
```bash
pip install pandas geopandas rasterio rasterstats matplotlib plotly openpyxl
2. Run the script:
```bash
python main.py
4. Outputs will be saved in `Data/` (Excel files) and `Outputs/` (charts).