Smartening hospital electrical distribution for enhancing resilience