Analysis of shadow effect in photovoltaic arrays using binary coding method