How to connect the energy storage system to the solar power line