UPS Battery Set Sizing For Protracted Mains Power Supply Failures