Design of microalgae photobioreactors