UPS's are a constant kW load for the battery. As the battery voltage falls, current increases. So it's difficult to relate ratings in amp-hours to kW-hours. For this reason, manufacturers of batteries intended for UPS systems normally furnish capacity tables rated in kW per cell to a specified final discharge voltage.
1. Determine the required DC bus voltage.
2. Determine the minimum allowable discharge voltage.
3. Determine the battery kW (including inverter and cable losses)
4. Divide battery kW by the number of cells to get cell kW.
5. Look in mfg's tables to find appropriate type of cell based on required kW, discharge voltage and operating temperature.
Some UPS's will tolerate a range of DC voltage, so you can adjust the number of cells to obtain the exact run time needed.