Photovoltaic cell fault diagnosis