Analysis and optimization of a solar thermal power generation and desalination system using a novel approach