A comprehensive approach to the characterization of second generation biofuels