Simulation and performance of an artificial retina for 40MHz track reconstruction