Pattern light simulation and sensing automation of flat plate photobioreactor for sustainable growth and cultivation of Microalgae