Cosmological simulations for precision dark energy measurements with wide field galaxy surveys