Resilience framework and metrics for energy master planning of communities. (15th July 2020)