Sustainability goals and energy resilience