A window for harmonic analysis in power systems