Mathematical modeling, monitoring, and advanced control of bioreactors