A novel procedure for real-time detection of inter-area oscillations