I think that solar energy is better. Iran's unique geographical position means 90% of the country has enough sun to generate solar power 300 days a year.
First of all, renewables are primarily wind, solar and bio mass produced energy. CHP is strictly spoken not a renewable energy source, but an efficiency method.
Second: Each location has its regional aspects that support one or more renewable energy sources than others. Examples: wind energy in regions with continously winds (North Sea), solar energy in regions with high solar radiation (Southern Europe) etc.
So you have to look into details for Iran. I imagine that solar energy with PV is one possible main driver for your country. But it is operational only during daytime. By producing hydrogen through excessive PV electricity and storing it you can increase the overall en energy efficiency if you use the produced H2 in CHP systems. So you store energy to use it when the primarey source is out of operation. The same holds true for wind energy.
Third: You will face technical challenges to feed PV, wind and biomass energy to the distribution grid. For grid stability reasons - the prodcued electricity cannot be fed into the grid - we face in our region shutdowns of large wind turbines.
I think that solar energy is better. Iran's unique geographical position means 90% of the country has enough sun to generate solar power 300 days a year.
I think that renewable energies only unfold their full potential if used in smart grids, combining different sources of energy. You might have sun during the day, wind all day long and need to steer this efficiently. Energy from biomass is relatively easy storable, but expensive to produce, as is geothermal.
Furthermore, one has to think about potential controversies arising from different forms of energy, spatial inequalities within countries or regions related to profits made from energy.
I think if you mix different types of renewable energies in many different locations and are not too much driven by "natural" energy potentials you might have the best chance of meeting your energy demands.
Perhaps solar CHP will be the best for your application, especially on off-grid areas. We find in South Africa that solar combined heat and power provides hot water which can be dispatched with electrical power in a multi-carrier microgrid configuration in isolated rural areas and villages.
You can see our work on this and related links:
Solar micro-Combined Heat and Power System with Intelligent Microgrid Control for Smart Rural Villages
For Iran, I think, solar. Because, Iran has an important potential and it can also develop its own technology. CHP is not exactly a renewable energy source.