Similar Items: Analysis and Classification of Partial Shading Conditions in Photovoltaic Arrays