Analysis of the profit model of mechanical energy storage