Algorithms for Modern Power Systems (AMPS)