Abstract:The results of a study on incorporating solar-thermal collectors into a hybrid renewable energy system are reported. A photovoltaic-wind turbine-fuel cell-solar-thermal collector system is designed and an economic model is introduced for supplying the residential thermal and electrical loads via the grid-connected hybrid system. Since determining the optimal operation of a hybrid system such as a combined heat and power system constitutes a complex optimization problem requiring a sophisticated optimization method, a modified heuristic approach-based particle swarm optimization is proposed for solving the optimization problem. The results are compared with those obtained by an efficient metaheuristic optimization method, namely a genetic algorithm, in terms of accuracy and run time. The results show that, using the grid-connected hybrid combined heat and power system, among the cases considered, decreases the total cost of the system. The results also demonstrate that the reductions in daily cost relative to the base case by the modified particle swarm optimization algorithm for Cases 1-4 are 5.01%, 25.59%, 19.42%, and 22.19%, respectively. Finally, Case 2 is the most cost-effective and reliable. Moreover, the modified particle swarm optimization algorithm leads to better results than the genetic algorithm.