grid stability and management