This paper is devoted to numerical analysis of the stochastic problems of atmospheric optics. The effect of wind velocity pulsations and large-scale refractive index fluctuations on the energy characteristics of light beams is studied based on simple models of atmospheric turbulence. The feasibility of dynamic compensation for light beam nonlinear and turbulent distortions using the simplex method are presented.