add resilience calc for network and UPA