Simulation of Transport in Nanodevices