Dynamic energy storage