UPS and static switches