{'fraction_non_alphanumeric': 0.02270577105014191, 'fraction_numerical': 0.001892147587511826, 'mean_word_length': 5.187134502923977, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Real-time economic optimization for a fermentation process using Model Predictive Control

Fermentation is a widely used process in production of many foods, beverages, and pharmaceuticals. The main goal of the control system is to maximize profit of the fermentation process, and thus this is also the main goal of this paper. We present a simple dynamic model for a fermentation process and demonstrate its usefulness in economic optimization. The model is formulated as an index-1 differential algebraic equation (DAE), which guarantees conservation of mass and energy in discrete form. The optimization is based on recent advances within Economic Nonlinear Model Predictive Control (E-NMPC), and also utilizes the index-1 DAE model. The E-NMPC uses the single-shooting method and the adjoint method for computation of the optimization gradients. The process constraints are relaxed to soft-constraints on the outputs. Finally we derive the analytical solution to the economic optimization problem and compare it with the numerically determined solution.