SMS dit: Power system analysis