Inverters with the UPS function