How do you size your batteries?

What is the primary metric used when sizing batteries, amp-hours or kilowatt-hours? My understanding is batteries are generally specified by their Ah capacity and discharge rates because voltage and power vary during charging and discharging. However, this creates varying results depending on your method.

The IEEE 1013 method for sizing battery systems is based entirely on Ah and not the energy. So it covers the load Ah demand but when you determine the battery power it’s less than the load kWh demand. Is this a quirk of sizing a DC battery system for an AC load? (Their examples never give the load in AC, only DC.)

When I use the method in my book (for those curious Renewable & Efficient Electric Power Systems, 2nd Edition, Masters, specifically Example 6.12) which is based on the kWh/day, the Ah seems overkill but sufficient energy is delivered. I’m more trusting of the results of the book method, but I also feel weird brushing off an IEEE standard. Please provide any insights you think are relevant. Thanks!