Text this: Mathematical analysis of interconnected photovoltaic arrays under different shading conditions