Detection and classification of faults aimed at preventive maintenance of PV systems