Analysis and design of profit model of mechanical energy storage