Calculating the sun’s position in ECI
If you know how to use python, you can do something like : 

import astropy as ap
ap.coordinates.get_sun(time)


It will return  a position in geocentric coordinates for the given time.