PI Controller for Automatic Generation Control Based on Performance Indices