Numerical investigation of the spatial integration effect on the velocity spectrum: Consequences in the wind or tidal turbine power spectrum