ALSTOM interview question

Power flow and swing equation explaination