Girls Who Code Sustainability Challenge 24-25
# Solar Horizons
#### Thanks for taking a look at my project for the 2024-25 Girls Who Code Challenge! This project leverages AI to identify energy-poor regions and recommend possible solar energy solutions. It predicts solar energy potential (PVOUT Level 1) using factors of population density, solar irradiance, economic potential (LCOE), PV seasonality, and electricity access. With this, we can decine sustainable energy solutions for underserved regions.
## Contents
- `gwc_sustainability_2425.py` > Python file with machine learning model and UI testing (main file to run)
- `GWC_solar_energy_equity_model.pkl` > Code for Machne Learning Model, contained separately from rest of code (for possible HTML implementation)
- `populationDensity.csv` > Population Density Dataset (see sources below)
- `solar_stats.csv` > Renewable Energy Dataset (see sources below)
- `Process Reflection Questions.pdf` > Answers to the Process Reflection Questions
## Steps to run `gwc_sustainability_2425.py`
1. Ensure you have Python installed on your system.
2. Install Dependencies:
Run the following command to install the necessary libraries:
`pip install flask pandas numpy scikit-learn joblib`
4. Run the Code:
Run the following command to start the program:
`python gwc_sustainability_2425.py`
5. User Interaction:
You will be prompted to enter values for:
Population Density (people per square km)
Average Theoretical Potential (GHI, kWh/m²/day)
Average Economic Potential (LCOE, USD/kWh)
PV Seasonality Index
Access to Electricity (% of rural population)
6. Output:
The tool will display the predicted solar energy potential (PVOUT Level 1) and provide a recommendation based on the prediction.
## Dataset Sources
The data used in this project is sourced from:
World Bank
Nasa Power