Joop Schaye - December 11, 2015 Simulating the formation of galaxies The realism of hydrodynamical simulations of the formation and evolution of populations of galaxies has improved considerably in recent years. I will try to give some insight into the reasons behind this success, focusing in particular on the importance of subgrid models and the associated limitations. I will also present recent results from the cosmological EAGLE simulations as well as from higher-resolution simulations of individual galaxies.