Ab initio calculations of the interaction between thiophene and ionic liquids