Height variability of solar effects on dynamical processes of middle atmosphere