On the relationship between energy input to the ionosphere and the ion outflow flux under different solar zenith angles