Design and Development of a Smart Window for Solar Control of Glazed Facades