Skip to content

ll-O-ll/1D-CNNs-PF

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Finding hot start conditions for AC Power Flow based on Newton-Raphson Algorithm with 1D CNNs. Preprint: https://arxiv.org/abs/2004.09342v1

With DCPF as input, the trained 1D CNNs predict hot start conditions (voltage magnitude and phase at each bus) that minize NR iterations and solution time. Power flow code written in Matlab with Matpower, and CNN implementation and training written in Julia. Currently only considering load demand variations in data generation.

pf/ contains Matlab code for 1) creating and sampling from P, Q variations, 2) pf (dc, ac cold start, ac hot start) computations and 3) saving and loading existing data. Replace the default runpf.m and newtonpf.m with the ones here to return PQ mismatches as mpc.mismatch.

train/ contains Julia code for 1) implementing and training an 1D CNN with provided dataset (and bash script for training on remote clusters) and 2) saving and loading existing model.

Case files from https://github.com/MATPOWER/matpower.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • MATLAB 62.5%
  • Julia 32.9%
  • Shell 3.2%
  • Python 1.4%