Related Experiment Video
Updated: Apr 19, 2026

Surrogate Model Development for Digital Experiments in Welding
Published on: March 28, 2025
DFBAlab: a fast and reliable MATLAB code for dynamic flux balance analysis.
Jose A Gomez1, Kai Höffner2, Paul I Barton3
1Process Systems Engineering Laboratory, Massachusetts Institute of Technology, Cambridge, 02139, MA, USA. jagomezr@mit.edu.
DFBAlab, a new MATLAB simulator, reliably simulates complex dynamic cultures using unique exchange fluxes and an extended system to avoid common simulation failures. Its performance scales linearly with species models, outperforming other simulators.
Area of Science:
- Biochemical Engineering
- Computational Biology
- Systems Biology
Background:
- Dynamic Flux Balance Analysis (DFBA) is a key framework for simulating biochemical processes.
- Existing DFBA simulators struggle with nonunique exchange fluxes and infeasible linear programs (LPs), leading to failures.
- Static optimization (SOA), dynamic optimization (DOA), and direct approaches (DA) are common DFBA methods.
Purpose of the Study:
- To present DFBAlab, a novel MATLAB-based simulator designed to overcome common challenges in DFBA.
- To address issues of nonunique exchange fluxes and infeasible LPs in dynamic simulations.
- To provide a reliable and efficient tool for simulating complex dynamic cultures.
Main Methods:
- DFBAlab employs an LP feasibility problem to create an extended system.
- Lexicographic optimization is utilized to ensure unique exchange fluxes.
- The simulator handles differential-algebraic equation (DAE) systems and scales linearly with the number of species.
Main Results:
- DFBAlab successfully simulates complex dynamic cultures with multiple species rapidly and reliably.
- The simulator avoids failures caused by infeasible LPs during numerical integration.
- DFBAlab demonstrates superior performance compared to COBRA and DyMMM in benchmark examples.
Conclusions:
- Lexicographic optimization is crucial for defining unique exchange fluxes in dynamic systems.
- DFBAlab's extended system provides a penalty function applicable to optimization algorithms.
- The DFBAlab simulator offers a robust solution for DFBA, enhancing reliability and efficiency.
Related Concept Videos
Fast Decoupled and DC Powerflow
The Power Flow Problem and Solution
Calculation of Electric Flux
Relation between Mathematical Equations and Block Diagrams
Magnetostatic Boundary Conditions
Boundary Conditions for Current Density

