Text this: Euclidean Distance-Based Tree Algorithm for Fault Detection and Diagnosis in Photovoltaic Systems