Pošalji zapis e-mailom: Analisys of the luminosity-stellar mass-metallicity relation in cosmological simulations