Dynamic UPS Installation for Critical Power Resilience