Cross-spectrum analysis applied to photovoltaic grids