Model based degradation analysis of photovoltaic modules through series resistance estimation