Buy power when it's cheap, sell it when it's expensive — the battery earns on the price spread of the power market.
Calculate with real prices what a battery storage returns per year.