# 🇬🇭 PyPSA-Ghana
**Open-source power system research model for Ghana — vanilla PyPSA, real data, reproducible science.**
---
## What this is
PyPSA-Ghana is a research-grade power system model for Ghana, built on vanilla PyPSA. It uses real hourly demand data constructed from Ghana's Wholesale Electricity Market (WEM) bulletins and a validated generator fleet from the Energy Commission's National Energy Statistical Bulletin.
This repository is the **research layer** of a two-repo Ghana modelling framework:
| Repo | Purpose |
| ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| **pypsa-gh** | Ghana configuration for PyPSA-Earth — automated network building, ERA5 renewable potential, infrastructure planning |
| **pypsa-ghana** ← you are here | Vanilla PyPSA research analysis — real WEM demand, validated dispatch, contingencies, LEAP integration, paper |
---
## What it does
```
pypsa-gh (PyPSA-Earth) pypsa-ghana (this repo)
────────────────────── ───────────────────────
ERA5 solar/wind profiles ──────► Renewable capacity factors
Network topology (6 nodes) ──────► Transmission constraints
Real WEM hourly demand (2024)
Validated generator fleet
Baseline dispatch optimisation
SCOPF contingency analysis
Emissions tracking
LEAP demand scenarios 2030-2070
Least-cost capacity expansion
▼
──────► Validated results feed back to pypsa-gh
```
---
## Research programme
### Phase 1 — 2024 Baseline (current)
- 8,760-hour demand profile constructed from WEM Bulletins Issues 91–102
- Generator fleet: 20+ plants, real marginal costs from fuel prices and heat rates
- Dispatch optimisation validated against Energy Commission Statistical …