enhancing grid stability