A learning-based model predictive strategy for pH control in raceway photobioreactors with freshwater and wastewater cultivation media