Driving a solar-powered desalination plant