English

GPU Accelerated Security Constrained Optimal Power Flow

Optimization and Control 2024-10-23 v1

Abstract

We propose a GPU accelerated proximal message passing algorithm for solving contingency-constrained DC optimal power flow problems (OPF). We consider a highly general formulation of OPF that uses a sparse device-node model and supports a broad range of devices and constraints, e.g., energy storage and ramping limits. Our algorithm is a variant of the alternating direction method multipliers (ADMM) that does not require solving any linear systems and only consists of sparse incidence matrix multiplies and vectorized scalar operations. We develop a pure PyTorch implementation of our algorithm that runs entirely on the GPU. The implementation is also end-to-end differentiable, i.e., all updates are automatic differentiation compatible. We demonstrate the performance of our method using test cases of varying network sizes and time horizons. Relative to a CPU-based commercial optimizer, our implementation achieves well over 100x speedups on large test cases, solving problems with over 500 million variables in under a minute on a single GPU.

Keywords

Cite

@article{arxiv.2410.17203,
  title  = {GPU Accelerated Security Constrained Optimal Power Flow},
  author = {Anthony Degleris and Abbas El Gamal and Ram Rajagopal},
  journal= {arXiv preprint arXiv:2410.17203},
  year   = {2024}
}