Analysis of photovoltaic modules with protection diodes in presence of mismatching