Software package for power system analysis