# Renewable Energy Potential Analysis for Ethiopia
## Project Overview
This project analyzes renewable energy potential in Ethiopia through two complementary approaches:
1. **National Annual Analysis**: Land availability assessment for wind/PV across Ethiopia
2. **City Diurnal Analysis**: Optimization model for PV+battery systems in Arsi Negele city
## Key Features
- Land Availability Analysis
- Exclusion layers: Population density, protected areas, elevation
- Capacity potential calculation using Atlite
- Spatial visualization of eligible areas
- Energy System Optimization
- Hourly resolution optimization model
- PV + battery storage system
- Synthetic load profile generation
- Performance metrics calculation
## Key Equations
### Objective Function (Minimize Total Cost):
Minimize: C total = C pv × P pv + C batt × E batt
- *C pv *: PV capital cost (€/kW)
- *P pv *: PV capacity (kW)
- *C batt *: Battery capital cost (€/kWh)
- *E batt *: Battery energy capacity (kWh)
### Energy Balance (∀ t ∈ T)
P pv × CF pv (t) + P dis (t) = L(t) + P ch (t) + P curt (t)
- *CF pv (t)*: PV capacity factor [0-1]
- *P dis (t)*: Discharge power (kW)
- *L(t)*: Load demand (kW)
- *P ch (t)*: Charge power (kW)
- *P curt (t)*: Curtailed power (kW)
### Battery Dynamics
- SOC(t) = SOC(t-1) + η ch × P ch (t) - (P dis (t)/η dis )
- SOC(0) = 0.1 × E batt
- 0 ≤ SOC(t) ≤ E batt
- *η ch , η dis * = 0.9 (efficiencies)
### Technical Constraints
P pv ≥ max(L(t)) / max(CF pv (t))
P dis (t) ≤ E batt - SOC(t-1)
## load-profile-generation
- Sector-Specific Patterns:
- Residential: Dual peaks (8 AM & 8 PM) with elevated base load
- Commercial: Midday peak (1 PM) with weekend reduction
- Agricultural: Dual daytime peaks (8 AM & 2 PM)
### Realistic Scaling:
- Peak demand ≈5-6.5 MW
- Average demand ≈3.5-4 MW
- Minimum nighttime demand ≈1.5-2 MW
### Demand Allocation:
- Residential: 50%
- Commercial: 30%
- Agricultural: 20%
### Real-World Considerations:
- Weekend co …