A study of optimization of solar pyrolysis and catalyst recovery and reuse