Studying Galactic Chemical Properties by using Cosmological Numerical Simulations