Using solar panels to store liquid cooling for power generation