Theoretical grids of star spectra