Dimmable fenestration and incorporated photovoltaic design