Design and analysis of an active daylight harvesting system for building