A novel shade analysis technique for solar photovoltaic systems