Skip to main content

Industrial-scale fermentation

Demo ยท Reference case study

๐Ÿงซ Industrial-scale fermentation

To showcase what STAMM does on a realistic industrial process, we use a 100,000 L fed-batch fermentation for the production of penicillin by Penicillium chrysogenum as the reference case study. Data come from the open IndPenSim benchmark.

100,000 L
Production vessel (radius 2.1 m)
3
Rushton impellers @ 100 rpm
Fed-batch
Penicillin fermentation
IndPenSim
Open benchmark dataset
Schematic of the industrial penicillin fed-batch bioreactor used in the STAMM demo

FIG ยท Schematic of the 100,000 L fed-batch penicillin bioreactor and its main inputs/outputs. Adapted from Goldrick et al., 2015, Journal of Biotechnology, 193, 70โ€“82, and Metcalfe et al., 2025, Computers & Chemical Engineering.

Why this case studyโ€‹

This type of large-scale fed-batch fermentation is representative of real industrial biotechnology operations, where process dynamics are nonlinear, measurements are noisy or delayed, and supervisory control must be combined with advanced monitoring and optimization strategies. It's the kind of setting where soft sensors actually earn their keep โ€” and where STAMM's monitoring and maintenance layer matters.

The data originate from the Industrial Penicillin Simulation dataset (IndPenSim) โ€” a first-principles benchmark model and open dataset that replicates an industrial penicillin campaign in silico, capturing the dynamics, noise, and operating regimes you'd encounter on a real plant. The benchmark comprises 100 batches produced under three control strategies โ€” recipe-driven (batches 1โ€“30), operator-controlled (31โ€“60), and advanced process control with Raman spectroscopy (61โ€“90) โ€” with the final ten batches (91โ€“100) containing faults and process deviations. This mix of slow non-stationary dynamics, heterogeneous control, and deliberately faulty batches is exactly the regime STAMM was designed for.

Seven soft sensors, one endpointโ€‹

To demonstrate that the model registry is genuinely language- and learner-agnostic, seven soft sensors that predict penicillin concentration (P) were registered and deployed together. Four are the interpretable learners from Acosta-Pavas et al. (2024) โ€” CART, M5, CUBIST, and Random Forest โ€” originally built in R; CART and Random Forest were additionally re-implemented in Python. Three more black-box models โ€” a Support Vector Machine (SVM), a Gradient Boosting Machine (GBM), and a Long Short-Term Memory network (LSTM) โ€” were trained on the same 80:20 batch split. Despite their architectural and language differences, all seven are served through the same REST /predict endpoint.

The table below reports each soft sensor's predictive performance on the held-out test set (from the STAMM paper). The best black-box model (LSTM) and the best interpretable model (CUBIST) are separated by less than one percentage point in Rยฒ and about 0.08 in MAE โ€” close enough to share an operating regime, which is precisely what makes the framework's output-level model-divergence signal informative.

Predictive performance of the seven soft sensors deployed in STAMM (IndPenSim, independent test set). Best value per column in bold.
ModelTypeLanguageRยฒMSERMSEMAE
CARTInterpretableR / Python0.77524.0614.9053.328
M5InterpretableR0.77723.8234.8803.221
CUBISTInterpretableR0.9089.9163.1491.920
RF (Random Forest)InterpretableR / Python0.90510.2023.1941.928
SVMBlack-boxPython0.84716.1074.0132.317
GBMBlack-boxPython0.90410.1463.1851.930
LSTMBlack-boxPython0.9168.8002.9661.843

Bold values mark the best score within each learner family (interpretable vs. black-box) for every metric. Results for the interpretable learners and the train/test split follow Acosta-Pavas et al. (2024).