A system for online optimization of industrial fermentation based on a model with dynamic neural networks is described. The developed dynamic neural network, consisting of adapted neurons to consider the process dynamics, can model the complex, non-linear fermentation of beer in order to predict the future process. The predicted trajectories of gravity, pH, and diacetyl are in agreement with the experimental data measured at an automated pilot fermenter. It was possible to predict the future course of the batch fermentation as soon as 12 h of process data were available. In combination with the variational principle, the process model was used to optimize productivity. The temperature trajectory is optimized using a cost functional, including technical and technological conditions of the brewery in order to reduce the process time by steady product quality. The results show a reduction of the process time of up to 20%, which leads to an increase in utilization capacity.