the POtion Master's cauldron

by Anupam Chowdhury

An interactive tool to explore the dynamics of a fermentation production process.

Control Panel

Fermentation Setup
?
Choose between a simple batch or a fed-batch process.
?
Starting amount of microbes.
0.5
?
Starting amount of the main food source.
30
?
Starting amount of a production-inhibiting compound.
5.0
?
Starting volume of the brew.
4.0
?
Starting pH of the brew.
7.0
?
Duration of the simulation.
100
Product Induction Strategy
?
The "recipe" or genetic logic that triggers product formation by the cells.
Feed Strategies
?
How the main food source is added over time in a fed-batch process.

Primary Feed (F₁)

Secondary Feed (F₂)

Inducer Feed (Fᵢ)

Biological Parameters

Primary Carbon (S1) Growth - Aerobic
?
Max growth rate on primary carbon (aerobic).
?
Affinity for primary carbon. A lower value means higher affinity (cells grow well even at low concentrations).
?
Substrate inhibition constant for growth on S1. High values mean less inhibition.
?
Biomass yield. Grams of new cells produced per gram of S1 consumed (aerobic).
?
Maintenance coefficient. Grams of S1 consumed per gram of cells per hour just to stay alive (aerobic).
Growth - Aerobic & Environmental Factors
?
Oxygen affinity for aerobic growth.
?
Acid produced per gram of S1 (aerobic).
?
Optimal pH for growth.
?
Minimum pH for growth.
?
Maximum pH for growth.
?
Optimal temperature for growth.
?
Minimum temperature for growth.
?
Maximum temperature for growth.
Product - Aerobic & Environmental Factors
?
Max specific production rate (g_product / g_biomass / hr) under aerobic conditions.
?
Production affinity for S1.
?
Substrate inhibition constant for production on S1.
?
Product yield on S1 (aerobic).
?
Optimal pH for product formation.
?
Optimal temperature for product formation.
?
Minimum pH for product formation.
?
Minimum temperature for product formation.
?
Maximum pH for product formation.
?
Maximum temperature for product formation.
?
Acid/base produced per gram of product (aerobic). Use a negative value for base production.
Secondary Carbon (S2)
?
Max growth rate on secondary carbon (aerobic).
?
Affinity for secondary carbon.
?
Substrate inhibition constant for growth on S2.
?
Biomass yield on S2 (aerobic).
?
Production affinity for S2.
?
Substrate inhibition constant for production on S2.
?
Product yield on S2 (aerobic).
?
Maintenance coefficient for S2 (aerobic).
?
Acid produced per gram of S2 (aerobic).
Anaerobic & Microaerobic Kinetics
?
O₂ conc. that half-inhibits anaerobic pathways (lower means more sensitive to O₂).
?
Max growth rate on S1 (anaerobic).
?
Biomass yield on S1 (anaerobic).
?
S1 consumed for cell maintenance (anaerobic).
?
Max specific production rate (anaerobic).
?
Product yield on S1 (anaerobic).
?
Acid produced per gram of S1 (anaerobic).
?
Max growth rate on S2 (anaerobic).
?
Biomass yield on S2 (anaerobic).
?
S2 consumed for cell maintenance (anaerobic).
?
Product yield on S2 (anaerobic).
?
Acid produced per gram of S2 (anaerobic).
?
Acid/base produced per gram of product (anaerobic).
Inducer, Repressor & Limitation Kinetics
?
Inducer concentration for half-max production.
?
Inducer consumption rate (g_inducer / g_biomass / hr).
?
Inducer concentration for growth inhibition.
?
Inducer inhibition constant for production.
?
Inducer inhibition constant for growth. This replaces the simple inhibition model with a more realistic one.
?
Repressor consumption rate (g_repressor / g_biomass / hr).
?
Repressor conc. for half-max repression.
?
Steepness of repression (e.g., 4). Higher values mean a sharper on/off switch.
?
S1 conc. for half-max induction by limitation.
?
Steepness of induction by limitation (e.g., 4).
?
Critical product concentration. Growth stops completely when the product reaches this level.
?
Exponent for product inhibition. Higher values create a sharper 'cliff' effect as the product approaches P_crit.
Cell Viability, Lysis, and Genetic Drift
?
Specific death rate. A first-order rate constant for biomass decay.
?
Yield of recyclable substrate (S1) from lysed dead cells. A value of 0.7 means 70% of dead biomass becomes usable food.
?
Rate at which producer cells mutate into non-producers. A value like 1e-5 or 1e-6 is typical.
?
How much faster non-producers grow compared to producers (e.g., 5% means a factor of 1.05).
5.0
Process Conditions

Temperature (°C)

pH Setpoint

Air Flow Rate (F_air)

Oxygen & Agitation Dynamics
?
Target dissolved oxygen level for the PID controller.
30
?
Algorithm to control stirrer speed for DO.
Tuning Tip: If Agitation/DO swings wildly, decrease K_c or increase τ_i. Use a small τ_d to anticipate changes and reduce overshoot.
?
Metabolic response time. A small value means cells react instantly to substrate changes; a larger value smooths the DO curve.
pH Control
?
Algorithm to control pH.
Tuning Tip: Use τ_d to prevent overshoot. If pH is slow to recover, increase K_c. If it oscillates, decrease K_c and increase τ_i.
Uncertainty & Simulation
?
Computational step size. Smaller is more accurate but slower. Crucial for stable DO simulation.
0.25
?
Simulates imperfect knowledge. At the start of the run, randomly adjusts key biological parameters (like µ_max, Yields) by up to this percentage.
0
?
Simulates inherent randomness in cell growth using a stochastic differential equation. Higher values lead to a less predictable growth curve.
0.0
?
Simulates random fluctuations in the specific production rate (qp), independent of growth variability.
0
?
Simulates actuator imprecision, like fluctuating pump feed rates. Noise is applied to all feed profiles (F1, F2, Fi, Base, Acid).
0
?
Simulates electrical noise or small bubbles affecting the DO probe. The PID controller will react to this noisy signal.
0.0
?
Simulates fluctuations around the temperature setpoint. Affects the actual temperature used in kinetic calculations.
0.00
?
Simulates noise on the pH probe reading. The PID controller will react to this noisy signal.
0.00

Results Summary

Final Biomass

--

g/L

Final Product

--

g/L

Productivity

--

g/L/hr

Final Volume

--

L

Biomass & Product

Substrates & Growth Rate

Feeds & Volume

DO & Agitation

pH Control