real-time grid automation