Zaslat SMS: Energy function analisys for power system stability