Exergetic and economic optimization of a solar-based cogeneration system applicable for desalination and power production