Text this: Application of swallowtail catastrophe theory to transient stability assessment of multi-machine power system