Text this: Power systems in emergencies: from contingency planning to crisis management