Simulation of Doping Processes