SMS: Power systems analysis