Resilience-aware management of active distribution networks