Text this: AI technique for load flow planning and contingency analysis