Simulation of graphene electronic devices