Liquid-cooled energy storage that can be charged by solar panels