The SMARt-CHP cogeneration unit can utilize various agro-residues such as olive kernels, grape kernels and peach kernels for CHP production and can successfully operate on any of the aforementioned selected biomass feedstocks without any major process parameter modification.