NREL has some decent material on LCOE calculations.
Amortized capital cost would be a function of upfront cost, lifetime (years), cycles (and per cycle efficiency over time), capacity factor (e.g. average drawdown of the batteries per cycle), and discount rate.
If one has a software background, it might be easier to just to simulate 10 years of cycles to figure out how many kWhs come out of the battery bank per year. Adjust by a discount factor (cycles today pay more in real dollars than cycles in 10 years), and divide the upfront cost by that number.
Is there someplace I could read up on this? I could see using and citing it later.
Figuring out the cost per kWh of battery storage has been a pain in my neck. Mostly people just say the capital cost.