How to charge liquid-cooled energy storage photovoltaic batteries