How to use mechanical energy storage