Text this: Smart Grid Dispatching Optimization for System Resilience Improvement