How to add energy storage to solar power generation