Enhancing the performance of building integrated photovoltaics