On Using Storage and Genset for Mitigating Power Grid Failures