Biomass residue based cogeneration combined heat and power (CHP) (TAP)