PV system diagnostics