SMS dit: Elements of power system analysis