Resilience of Energy Systems: Theoretical and Empirical Perspectives