This project integrates:
- PyTorch Geometric for GNN modeling
- pandapower for electrical network simulation
- Custom GCN hybrid architecture
- Complex power system constraints, including:
- Generator cost minimization
- Transformer limits
- Voltage magnitude bounds
- Y-bus matrix-based modeling
- Graph-based Representation: Converts power systems into node-edge graph format.
- Physics-aware Training: Loss function incorporates power flow equations and cost constraints.
- Node Features: Voltage, voltage limits, power demand, generation limits
- Edge Features: Line impedance, transformer status, max current through lines
- Target: Optimal voltages, and phase angles of each bus
pip install -r requirements.txtKey Libraries:
- torch
- torch-geometric
- pandapower
streamlit run ui/app.py- MSE on generator outputs
- Constraint violation penalties
- Generalization to unseen topologies
