The metabolic biomachine: from chemical processing to flux exponent control

Specify the function and the constraints of the machine. Use optimization to select behavior. Retain the biochemical structure needed for the question.

A cellular decision has to become physical work. Lecture 12 asked how molecular interactions select an action. The cell must now supply that action with material and energy. Metabolism is the chemical-processing function that makes this possible.

Four parts build increasingly informative descriptions of metabolism. Known glycolytic kinetics first show the control problem. Objectives and biochemical constraints then define a behavior without specifying its regulatory law. Extensions of flux balance analysis add changing environments, protein costs, thermodynamics and kinetic information. Finally, flux exponent control retains intracellular pool dynamics and the structure through which regulation acts.1

Twenty-five teaching points in four parts, followed by a full optional section on machine architecture. Use the experiment guide to choose a route and explore the remaining examples afterward. The figures and experiments work offline. Present, or the P key, shows the graphical route. The optional calculations retain supporting derivations.

Companion reading and notebook demonstrations

Use the rendered Jupyter notebook alongside Parts 2–4. It contains the code, tables and saved figures, with a runnable bundle to download. The exposition works through the derivations and solved checkpoints. The lineage explains the questions behind these modeling methods. The research essay asks which constraints determine each prediction. The worked extension tests whether maximum growth identifies a pathway.

Download the runnable Jupyter tutorial. It includes the notebook, local models and helpers. Start with object inspection, then run the FBA variants and intracellular-control examples.

Choose a question, then run its notebook experiment

The core explains why a model is needed. The notebook makes its assumptions editable. Start the notebook with its setup cell. Sections 1–4 form a short introduction. Each later section can start after setup.

QuestionRead in the coreRun in the notebook
What can a reaction list and nutrient bounds predict?Points 6–71–4 · PFK, biomass and oxygen
Where does a culture's changing behavior come from?Points 8–105–7 · Batch, community and transfer
Which missing resource changes the optimum?Points 11–158–12 · Protein, energy and enzymes
Which states must be retained to predict a transient?Points 16–2013–16 · Internal pools and control
When can a pause or an investment improve later growth?Points 22–2417–18 · Growth actions and future reward

For the matched cart and glycolysis calculation, go directly to point 4 and notebook section 15. The teaching route keeps the optional branches available without requiring every experiment in one sitting.

Part 1 · Begin with a metabolic machine whose kinetics we know

Compare the available control actions. Then follow ATP production through a change in demand.

1Different components give chemical-processing machines different control actions

The biomachine perspective starts with a function. How do cells and human-engineered machines achieve chemical processing, and which principles survive the change of components?

The accounting and control questions are shared. Both machines must obtain feedstock, convert it into useful products and respond to changing demand. Material conservation applies to each. Feedback must correct disturbances through physically available actuators. Lecture 10 used this comparison for adaptation. Here the controlled process is metabolism.

A chemical plant can organize reactions across different physical environments. Separate vessels can have different temperatures, pressures and residence times. Pumps and valves regulate feeding, transfer and withdrawal. A laboratory chemist can also change the conditions in a test tube. Much of chemical-process control concerns these environments and flows.

A cell achieves selectivity mainly through molecules within compatible operating conditions. Raising the temperature to accelerate one desired reaction would also affect many other reactions and the proteins that carry them out. Instead, enzymes accelerate selected conversions. Binding changes which enzyme states are occupied and active. Synthesis and removal change how much enzyme is available.

Cells also regulate transport, pH and compartmentalization through molecular machinery. These actions must remain compatible with cell function. To define our model, fix the cell type, condition and time window. Take the available catalytic conversions as given and ask how their enzyme activities can vary.

P1The same chemical-processing task must be controlled through different physical components.

One function, different physical controls Supply material and energy Chemical processing plant Cellular metabolism vessel 1 vessel 2 feed transfer Heating and cooling Set conditions in different vessels Change temperature and pressure Control feeds, outlets and transfer shared intracellular conditions E1 E2 E3 Enzymes and molecular complexes Keep shared conditions viable Change enzyme amount and activity Use transport and compartments Separate equipment provides controls Molecular machinery provides controls Same mass balances and feedback principles Different components restrict the available controls. Arrows show material transport. The drawing compares available actuators.
Figure 1. One function, different available actuators. The arrows identify transport and control relationships. A chemical plant can assign different conditions to separate vessels. A cell coordinates selective molecular machinery within compatible conditions. Both must satisfy mass balance and control their response to demand.

Binding and catalysis give this comparison a mathematical starting point. Lecture 8 separated fast redistribution among bound states from catalytic changes to molecular totals. At that resolution, the catalytic reaction list determines how the totals can change. Enzyme regulation determines how fast those changes happen. The cell can thus coordinate many conversions in a shared chemical environment without giving every reaction its own heated vessel.

Identify the chemical-processing function, the available actuators and the conditions held fixed before choosing a metabolic model.

2ATP production must first invest ATP

Glycolysis converts glucose to pyruvate through a sequence of enzyme-catalyzed reactions. To expose its control problem, follow the ATP bookkeeping through that sequence: ATP must be spent before more ATP is made.

The full pathway has an investment phase and a payoff phase. Hexokinase and phosphofructokinase each consume one ATP per glucose. Cleavage produces two three-carbon intermediates. Each passes through phosphoglycerate kinase and pyruvate kinase, so those two steps together return four ATP per glucose. The net yield is two ATP.

One conversion junction can collect several reactants and products. In the diagrams, a shared double chevron marks an overall conversion. All branches entering that junction are consumed by the same conversion. All branches leaving it are produced. A path from ATP to intermediate therefore does not imply that ATP is its only substrate. Glucose supplies the chemical free energy and carbon.

Retain the ATP pool and a lumped intermediate pool. Count pathway throughput per three-carbon intermediate equivalent, so each effective investment event receives half a glucose, consumes one ATP and makes one intermediate unit. The payoff event consumes that intermediate unit and returns two ATP. This changes the throughput convention, not the ATP concentration unit.

Let qIq_I be the lumped intermediate concentration and qATPq_{\mathrm{ATP}} the ATP concentration. As in Lecture 8, qq denotes a modeled total after fast binding has been eliminated. The investment and payoff fluxes are v1v_1 and v2v_2. The external demand ww consumes ATP to do work. Glucose remains an available external feed.

The same argument applies to any positive ATP investment. An investment of ν\nu ATP units followed by a payoff of ν+1\nu+1 has the same net yield. All simulations below use ν=1\nu=1.

P2Making more ATP requires spending ATP before the payoff arrives.

ATP investment and payoff reduce glycolysis to an autocatalytic loopThe main glycolysis pathway invests two ATP per glucose at hexokinase and phosphofructokinase. Cleavage gives two three-carbon intermediates. Phosphoglycerate kinase and pyruvate kinase each return two ATP per glucose. Counting flux per triose equivalent gives one ATP invested and two returned. ATP concentration keeps its original units. Double chevrons denote overall conversions with shared substrate and product branches. {"S": [[1, -1], [-1, 2]], "direction_note": "Overall conversions in the direction of glycolytic flux. This is not a thermodynamic irreversibility claim.", "normalization": "Per triose-equivalent throughput. ATP concentration units are unchanged.", "per_glucose": {"ATP_invested": 2, "ATP_produced": 4, "triose_units": 2}, "reactions": [{"id": "path-hexokinase", "products": {"ADP": 1, "glucose-6-phosphate": 1}, "reactants": {"ATP": 1, "glucose": 1}}, {"id": "path-phosphoglucose-isomerase", "products": {"fructose-6-phosphate": 1}, "reactants": {"glucose-6-phosphate": 1}}, {"id": "path-phosphofructokinase", "products": {"ADP": 1, "fructose-1,6-bisphosphate": 1}, "reactants": {"ATP": 1, "fructose-6-phosphate": 1}}, {"id": "path-aldolase", "products": {"dihydroxyacetone-phosphate": 1, "glyceraldehyde-3-phosphate": 1}, "reactants": {"fructose-1,6-bisphosphate": 1}}, {"id": "path-triose-phosphate-isomerase", "products": {"glyceraldehyde-3-phosphate": 1}, "reactants": {"dihydroxyacetone-phosphate": 1}}, {"id": "path-glyceraldehyde-phosphate-dehydrogenase", "products": {"1,3-bisphosphoglycerate": 2, "H+": 2, "NADH": 2}, "reactants": {"NAD+": 2, "Pi": 2, "glyceraldehyde-3-phosphate": 2}}, {"id": "path-phosphoglycerate-kinase", "products": {"3-phosphoglycerate": 2, "ATP": 2}, "reactants": {"1,3-bisphosphoglycerate": 2, "ADP": 2}}, {"id": "path-phosphoglycerate-mutase", "products": {"2-phosphoglycerate": 2}, "reactants": {"3-phosphoglycerate": 2}}, {"id": "path-enolase", "products": {"H2O": 2, "phosphoenolpyruvate": 2}, "reactants": {"2-phosphoglycerate": 2}}, {"id": "path-pyruvate-kinase", "products": {"ATP": 2, "pyruvate": 2}, "reactants": {"ADP": 2, "phosphoenolpyruvate": 2}}, {"id": "reduced-investment", "products": {"ADP": 1, "I": 1}, "reactants": {"ATP": 1, "glucose": 0.5}}, {"id": "reduced-payoff", "products": {"ATP": 2, "carbon-products": 1}, "reactants": {"ADP": 2, "I": 1, "Pi": 1}}], "retained_species": ["I", "ATP"]} Follow ATP through glycolysis, then retain two overall processes Carbon movement follows the double chevrons. ATP-changing conversions are colored. Glucose Glucose 6-phosphate Fructose 6-phosphate Fructose 1,6-bisphosphate Hexokinase ATP ADP Phosphoglucose isomerase Phosphofructokinase ATP ADP Aldolase Glyceraldehyde 3-phosphate Dihydroxyacetone phosphate Triose-phosphate isomerase ×2 One six-carbon molecule becomes two three-carbon molecules. The payoff sequence runs twice per glucose. 2 NAD⁺ + 2 Pᵢ 2 NADH + 2 H⁺ Glyceraldehyde-3-phosphate dehydrogenase 1,3-bisphosphoglycerate 3-phosphoglycerate 2-phosphoglycerate Phosphoenol- pyruvate Phosphoglycerate kinase 2 ADP 2 ATP Phosphoglycerate mutase Enolase Pyruvate kinase 2 ADP 2 ATP 2 pyruvate Per glucose: 2 ATP invested, 4 ATP returned. Net production: 2 ATP. Phosphate, water and proton details are shown only where needed for this ATP accounting. Count one intermediate unit per three-carbon molecule Per half-glucose throughput: invest one ATP and recover two ATP. ATP concentration units do not change. Investment, v₁ ½ glucose Payoff, v₂ 2 Carbon products ATP Intermediate, I ATP must be spent before more ATP can be recovered. The two-pool projection omits cofactors. The net ATP gain comes from glucose conversion.
Figure 2. The ATP bookkeeping compresses glycolysis into an autocatalytic loop. The upper pathway locates both ATP investments. After cleavage, each of the two ATP-producing steps runs twice per glucose. The lower loop counts throughput per three-carbon intermediate equivalent. Its return branch has weight two: one invested ATP supports production of two ATP, using glucose as fuel. The conversion junctions retain shared substrate and product branches. Water, protons and some cofactors are suppressed for readability. This redraws the lecturer’s pathway-to-loop progression in the 2022 slides.

Each reaction contributes one column to the concentration balance. A positive stoichiometric entry produces a pool and a negative entry consumes it. With q=[qI,qATP]Tq=[q_I,q_{\mathrm{ATP}}]^{\mathsf T} and v=[v1,v2]Tv=[v_1,v_2]^{\mathsf T},

dqdt=Sv+Sww.\boxed{\frac{dq}{dt}=S v+S^w w.}
S=[1−1−12],Sw=[0−1].S=\begin{bmatrix}1&-1\\-1&2\end{bmatrix},\qquad S^w=\begin{bmatrix}0\\-1\end{bmatrix}.
dqIdt=v1−v2,dqATPdt=−v1+2v2−w.\frac{dq_I}{dt}=v_1-v_2,\qquad\frac{dq_{\mathrm{ATP}}}{dt}=-v_1+2v_2-w.

Fluxes have units of concentration per time. The one-invested, two-returned convention corresponds to two invested and four returned per glucose. The reduced model retains only intermediate and ATP accumulation. Feed, ADP, phosphate, redox partners and carbon products remain outside those retained pools. Each conversion is a composite process.3

The matrix specifies the consequences of a reaction, not its kinetic rate. Genome annotation and biochemical curation help identify possible catalytic conversions. They do not usually supply every binding affinity, allosteric interaction, enzyme amount or effective rate law. Here we begin with a well-studied example for which a useful effective regulatory law is available.

Read the investment, payoff and external demand directly into dq/dt=Sv+Swwdq/dt=S v+S^w w. Keep stoichiometry separate from enzyme kinetics.

3ATP feedback can regulate demand and produce oscillation

To predict a trajectory, we now supply the missing rate laws. The example will show both why negative feedback helps and why stronger regulation can create a dynamical problem.

The regulatory rate laws are hard-won biochemical knowledge. A reaction inventory tells us which molecules are consumed and produced. It does not tell us how enzyme activity changes with ATP. Researchers purified glycolytic enzymes, measured activity across substrate and effector concentrations, and later tested candidate binding sites by mutation. Those experiments established ATP's dual role as substrate and regulator of phosphofructokinase.1011

Genome-based reaction annotation can scale across many enzymes, followed by curation of the reconstruction. Establishing regulatory kinetics still requires enzyme-specific experiments. Each activity curve depends on the substrates, effectors and assay conditions held fixed.

The payoff feedback also has a biochemical basis. Macfarlane and Ainsworth measured inhibition of purified yeast pyruvate kinase by its product MgATP while controlling free magnesium. This supports retaining a negative ATP dependence in the effective payoff step. It does not establish the particular Hill denominator below. 12

The two Hill laws below compress that knowledge into an illustrative model. They represent ATP investment and effective feedback, rather than a fit of one organism's complete glycolytic kinetics. The chosen exponents and rate scale are teaching parameters.

Choose a common concentration scale and a metabolic clock. Write qˉI=qI/q0\bar q_I=q_I/q_0, qˉATP=qATP/q0\bar q_{\mathrm{ATP}}=q_{\mathrm{ATP}}/q_0, tˉ=t/tmet\bar t=t/t_{\mathrm{met}}, vˉ=v/(q0/tmet)\bar v=v/(q_0/t_{\mathrm{met}}) and wˉ=w/(q0/tmet)\bar w=w/(q_0/t_{\mathrm{met}}). The same stoichiometric equations hold for barred quantities, with derivatives taken with respect to tˉ\bar t. These simulations illustrate behavior rather than fitting a measured clock.

High ATP inhibits the enzymes that supply it. The effective laws used in the flux exponent control paper are

vˉ1=2qˉATP1+qˉATP2h,vˉ2=2κqˉI1+qˉATP2g,κ=1.1,g=0.3.\bar v_1=\frac{2\bar q_{\mathrm{ATP}}}{1+\bar q_{\mathrm{ATP}}^{2h}},\qquad \bar v_2=\frac{2\kappa\bar q_I}{1+\bar q_{\mathrm{ATP}}^{2g}},\qquad \kappa=1.1,\quad g=0.3.

The numerator of the first rate retains the need to invest ATP. The denominator represents inhibition by ATP. The second rate retains dependence on the intermediate and a weaker ATP inhibition. The adjustable parameter hh changes the strength of upstream inhibition. These Hill-type functions are effective kinetic laws, not a reconstruction of every binding step.1

At baseline demand, the same operating point exists for every feedback strength. For wˉ=1\bar w=1, the pools (qˉI∗,qˉATP∗)=(1/κ,1)(\bar q_I^*,\bar q_{\mathrm{ATP}}^*)=(1/\kappa,1) give vˉ1∗=vˉ2∗=1\bar v_1^*=\bar v_2^*=1. After demand rises, a drop in ATP relieves inhibition and increases supply. Whether the pools settle depends on the strength and timing of this feedback.

The demand step first creates a supply deficit. Immediately before the step, both pathway fluxes equal one. Demand rises to 1.1 while the concentrations, and hence the kinetic rates, are still unchanged. At that instant,

dqˉIdtˉ∣0+=0,dqˉATPdtˉ∣0+=1−1.1=−0.1.\left.\frac{d\bar q_I}{d\bar t}\right|_{0^+}=0,\qquad\left.\frac{d\bar q_{\mathrm{ATP}}}{d\bar t}\right|_{0^+}=1-1.1=-0.1.

ATP therefore falls before supply catches up. Lower ATP relieves inhibition. The ensuing flux changes alter both pools, which change the rates again. This feedback loop can settle or continue oscillating, as the three trajectories show.

P3The same pathway can return toward its operating level, ring, or oscillate under different regulation.

Each trace integrates the same two-pool balance with a different feedback exponent. Substitute the stated Hill laws into the balance, start at the baseline pools, and impose the same demand step. The numerical integration then gives the ATP and intermediate trajectories. Concentrations and time use the declared normalized scales. These are model responses rather than fitted cellular recordings.

Feedback compensates for demand, but its strength changes the dynamics 0 10 20 30 40 0.8 0.9 1 1.1
t/tmett/t_{\mathrm{met}}
qˉATP\bar q_{\mathrm{ATP}}
0 10 20 30 40 0.9 1 1.1 1.2
t/tmett/t_{\mathrm{met}}
vˉ2\bar v_2
h=2.5h=2.5
h=2.8h=2.8
h=3.1h=3.1
Demand increases by 10% at time zero. Dashed: the steady flux needed to supply the new demand.
Figure 3. Known kinetics predict compensation, ringing and oscillation. ATP demand rises from one to 1.1 at normalized time zero. All three cases use κ=1.1\kappa=1.1 and g=0.3g=0.3. Stronger upstream feedback changes the ATP response and the payoff flux. The h=2.8h=2.8 and h=3.1h=3.1 cases start exactly at an unstable pre-step equilibrium. Their flat pre-step segment is an initialization, not evidence of stable operation. The displayed persistent oscillation is established over this simulation window.

Use an explicit rate law to distinguish a balanced state, a stable return, a finite steady error and an oscillation. Negative feedback alone does not guarantee a stable or precise response.

4Separate an autocatalytic plant from its feedback controller

Which part of the response belongs to the metabolic machinery, and which part belongs to the feedback rule? Open the upstream control loop while keeping the downstream kinetics fixed.

The plant states how an applied action changes the physical state. In the local form x˙=Ax+bu\dot x=Ax+bu, the matrix AA describes the uncontrolled state dynamics and bb identifies the actuator. A measurement yy supplies the feedback rule u=hyu=hy. Glycolysis and a stick balanced on a moving cart both contain a reinforcing open-loop mode. Their physical actuators and observations must be specified before comparing feedback gains.

P4The unstable plant and the allowed feedback channel determine which improvements in regulation are compatible with stability.

Optional · Balance ATP and a stick by controlling an unstable plant

Move the support toward a falling stick to bring the support beneath it. Your hand plays the role of a cart. Gravity amplifies a small tilt, and angular velocity carries the tilt forward. Moving the support supplies the control action. ATP investment creates a different physical mechanism with the same kind of local instability.

Separate the machinery from the rule that controls it. A plant equation states how the current state and an applied action change the state. A controller states how an observation selects that action. Write both as x˙=Ax+bu\dot x=A x+b u and u=H[y]u=H[y]. The two-state glycolysis model makes this split explicit.

Glycolysis: enzyme activity is the input

Use deviations from the operating point. Let x1=δqˉIx_1=\delta\bar q_I and x2=δqˉATPx_2=\delta\bar q_{\mathrm{ATP}}. In the normalized clock tˉ\bar t, hold gg fixed and leave upstream feedback open:

dxdtˉ=[−κ1+g2κ−1−2g]⏟Aglyx+[−11]⏟bglyu,x=[x1x2].\frac{d x}{d\bar t}=\underbrace{\begin{bmatrix}-\kappa&1+g\\2\kappa&-1-2g\end{bmatrix}}_{A_{\mathrm{gly}}}x+\underbrace{\begin{bmatrix}-1\\1\end{bmatrix}}_{b_{\mathrm{gly}}}u,\qquad x=\begin{bmatrix}x_1\\x_2\end{bmatrix}.

uu is a decrease in upstream investment flux relative to the unregulated local response. Increasing uu initially preserves ATP but reduces intermediate production. The observed ATP deviation selects

y=[01]x,u=hy.y=\begin{bmatrix}0&1\end{bmatrix}x,\qquad u=h y.

This is the split in Chandra, Buzi and Doyle's equation 1.2, specialized to one ATP invested per normalized conversion. The downstream feedback gg remains inside the plant. A demand disturbance would add [0,−1]Td[0,-1]^{\mathsf T}d.3

Stick balancing: cart acceleration is the input

Let θ\theta be angle from upright and ω=dθ/dtˉ\omega=d\theta/d\bar t its angular velocity. A pendulum on a cart, with matched gravity and passive angular damping, has

dzdtˉ=[01κ−(κ+1+2g)]⏟Acartz+[0−(κ+g)]⏟bcartu,z=[θω].\frac{d z}{d\bar t}=\underbrace{\begin{bmatrix}0&1\\\kappa&-(\kappa+1+2g)\end{bmatrix}}_{A_{\mathrm{cart}}}z+\underbrace{\begin{bmatrix}0\\-(\kappa+g)\end{bmatrix}}_{b_{\mathrm{cart}}}u,\qquad z=\begin{bmatrix}\theta\\\omega\end{bmatrix}.

The dimensionless cart acceleration is ac=(κ+g)ua_c=(\kappa+g)u. Moving the support right gives a negative angular acceleration to a right-leaning stick. A sensor combining angle and angular velocity can use

ycart=κθ−ωκ+g,u=hycart.y_{\mathrm{cart}}=\frac{\kappa\theta-\omega}{\kappa+g},\qquad u=h y_{\mathrm{cart}}.

This particular sensor and gain reproduce the metabolic feedback family. A general stick-balancing controller can choose its angle and velocity feedback independently.

Both open plants contain a reinforcing loop. In glycolysis, more ATP feeds intermediate production, and more intermediate returns ATP. In stick balancing, a tilt increases angular velocity, and angular velocity increases tilt. The plant determinants are both −κ<0-\kappa<0, so each plant has one growing mode before upstream control is closed.

The correspondence is exact after a change of state coordinates. It does not identify a metabolite separately with a mechanical angle. The mapping is

z=Tx,T=[11κ−g],[θω]=[x1+x2κx1−gx2].z=T x,\qquad T=\begin{bmatrix}1&1\\\kappa&-g\end{bmatrix},\qquad \begin{bmatrix}\theta\\\omega\end{bmatrix} =\begin{bmatrix}x_1+x_2\\\kappa x_1-gx_2\end{bmatrix}.

The matrix TT is invertible because κ+g>0\kappa+g>0. Direct multiplication gives Acart=TAglyT−1A_{\mathrm{cart}}=T A_{\mathrm{gly}}T^{-1}, bcart=Tbglyb_{\mathrm{cart}}=Tb_{\mathrm{gly}} and ycart=x2y_{\mathrm{cart}}=x_2. This preserves the plant, actuation and measured-output dynamics. The shared colors identify the first and second state in each physical description. They do not imply that the individual state coordinates are identical.

All cases start from the same perturbation. The cart view follows the support as it moves. Road marks are one pendulum length apart. The replay uses the local linear models and stops before a large tilt or concentration deviation. The full nonlinear force-controlled cart appears in the optional architecture section.

ATP investment and payoff

Intermediate and ATP concentrations in the glycolysis plantATP is consumed by investment to produce intermediate. Payoff consumes intermediate and returns two ATP units. A third outlet consumes ATP for work. Pool levels and moving dots follow the local simulation. ½ glucose per investment Investment 1.000 Payoff returns 2 ATP 1.000 ATP demand: 1 ATP 1.040 Intermediate 0.909

First state: intermediate deviation (teal). Second state: ATP deviation (coral). The moving tokens indicate reaction throughput. Their motion is schematic, not a molecular trajectory.

Move the cart to balance the stick

A cart accelerates beneath an inverted pendulum The cart translates horizontally. The pendulum pivots freely with passive damping. Teal shows angle, coral shows angular velocity and blue shows cart acceleration. No motor applies torque to the pivot. Angle Angular velocity Cart position

First state: angle. Second state: angular velocity. The blue arrow is cart acceleration. Balancing the stick alone does not return the cart to its starting position.

-0.06 0 0.06 0 5 10 15 20 25 Intermediate deviationATP deviation -0.06 0 0.06 0 5 10 15 20 25 Angle (rad)Angular velocity (rad per normalized time) Normalized time
Observe both states of each plant. Teal marks the first state and coral the second state. Concentration deviations and angular coordinates use their own units. The vertical scales follow the selected case. The fixed coordinate transformation above, rather than a visual resemblance between curves, establishes equivalence.

The metabolic feedback family trades restoring action against damping. Closing u=hyu=h y gives the same characteristic polynomial in both coordinate systems:

s2+(κ+1+2g−h)⏟dampings+κ(h−1)⏟restoring coefficient.s^2+\underbrace{(\kappa+1+2g-h)}_{\text{damping}}s+\underbrace{\kappa(h-1)}_{\text{restoring coefficient}}.

For κ=1.1\kappa=1.1 and g=0.3g=0.3, stability requires 1<h<2.71<h<2.7. Stronger feedback increases restoring action and reduces damping. A freely designed cart controller can instead use ac=kpθ+kdωa_c=k_p\theta+k_d\omega. Choosing kp>κk_p>\kappa and kd>0k_d>0 adds restoring action and damping together. The finite gain limit belongs to the specified metabolic feedback architecture, not to every controller for an inverted pendulum.

Derive the cart input and connect the two-state and four-state models

The two-state angular plant assumes that the support acceleration is commanded. For a point mass on a massless link of length ℓ\ell, the physical angular equation with passive damping coefficient γ\gamma is

d2θdt2=ggravℓsin⁡θ−1ℓd2Xdt2cos⁡θ−γdθdt.\frac{d^2\theta}{dt^2}=\frac{g_{\mathrm{grav}}}{\ell}\sin\theta-\frac{1}{\ell}\frac{d^2X}{dt^2}\cos\theta-\gamma\frac{d\theta}{dt}.

XX is support position. Linearize at upright. Use tˉ=t/t0\bar t=t/t_0, t0=κℓ/ggravt_0=\sqrt{\kappa\ell/g_{\mathrm{grav}}}, γt0=κ+1+2g\gamma t_0=\kappa+1+2g and ac=(t02/ℓ)d2X/dt2a_c=(t_0^2/\ell)d^2X/dt^2. These choices give the printed cart angular plant. The drawing uses ℓ=0.8 m\ell=0.8\,\mathrm m and ggrav=9.81 m s−2g_{\mathrm{grav}}=9.81\,\mathrm{m\,s^{-2}}. The damping is chosen to make the local equivalence exact. It is not a measured property of a hand-held stick.

Cart translation is a display state here, not another feedback target. Integrating aca_c gives cart velocity and position. Those states do not enter this angular controller. The full nonlinear cart exhibit instead commands a horizontal force and regulates cart position as well as angle. That plant has four states. The added states represent a different actuator model and a larger task.

The sensor matters for the input–output comparison. The matched cart observation is ycart=(κθ−ω)/(κ+g)y_{\mathrm{cart}}=(\kappa\theta-\omega)/(\kappa+g). Observing angle alone defines another input–output system. Likewise, a metabolic demand disturbance does not automatically become a physical push on the stick. The replay compares the same initial perturbation and the matched feedback channel.

Steady compensation improves as upstream inhibition strengthens. At a nearby balanced state, vˉ1=wˉ\bar v_1=\bar w. Differentiating the first rate at baseline gives

(1−h) δqˉATP∗=δwˉ,∂qˉATP∗∂wˉ=11−h.(1-h)\,\delta\bar q_{\mathrm{ATP}}^*=\delta\bar w,\qquad\frac{\partial\bar q_{\mathrm{ATP}}^*}{\partial\bar w}=\frac{1}{1-h}.

For h>1h>1, a demand increase leaves a negative ATP offset. Increasing hh reduces its local magnitude. This is homeostatic compensation with a finite error. It is not the robust perfect adaptation established by an integral-memory construction in Lecture 10.

The improvement has a stability limit in this architecture. The local stability calculation in A2 shows that baseline perturbations decay in the linearized dynamics precisely when

1<h<1+κ+2g=2.7.\boxed{1<h<1+\kappa+2g=2.7.}

The feedback that reduces the steady error eventually destabilizes this operating point. ATP investment helps explain the difficulty: increasing upstream throughput spends ATP immediately, before the downstream payoff. The optional calculation connects this architecture to the control limitations discussed in Lecture 10. The result does not make oscillation inevitable for every controller or every cell.

Optional · Follow steady error, damping and conserved robustness as inhibition grows

Compare the same feedback gains in every panel. Keep the baseline, concentration scale, metabolic clock, κ=1.1\kappa=1.1 and g=0.3g=0.3 fixed. The four colors mark h=1.2,2.0,2.4,2.6h=1.2,2.0,2.4,2.6. Increasing inhibition reduces the magnitude of the local steady ATP response to demand.

Let ss be the Laplace variable. A periodic response is evaluated at s=iωs=i\omega, where ω\omega is angular frequency in the normalized clock. Compare the steady response with the local characteristic polynomial:

∣∂qˉATP∗∂wˉ∣=1h−1,Dh(s)=s2+(2.7−h)s+1.1(h−1).\left|\frac{\partial\bar q_{\mathrm{ATP}}^*}{\partial\bar w}\right|=\frac1{h-1},\qquad D_h(s)=s^2+(2.7-h)s+1.1(h-1).

The poles are the roots of DhD_h. Their real parts determine decay or growth. Their imaginary parts give oscillation frequencies in the normalized clock. Once the poles form an oscillatory pair, stronger inhibition moves that pair toward the imaginary axis, where damping vanishes. The stability boundary at h=2.7h=2.7 is open: the limiting error-to-demand ratio 1/1.7≈0.5881/1.7\approx0.588 is approached but never attained by this stable feedback family.

Conservation of robustness connects this steady improvement to sensitivity at other frequencies. Lecture 10, appendix A20, introduced the Bode sensitivity integral during the discussion of adaptation. A slowly varying disturbance tests steady regulation. A periodic disturbance tests regulation on its own timescale. The dimensionless feedback sensitivity Sh\mathcal S_h measures the feedback factor in that response. For this upstream-inhibition loop,

Sh(s)=s2+2.7s−1.1Dh(s),δqˉATP(s)δwˉ(s)=−s+1.1Dh(s).\mathcal S_h(s)=\frac{s^2+2.7s-1.1}{D_h(s)},\qquad \frac{\delta\bar q_{\mathrm{ATP}}(s)}{\delta\bar w(s)}=-\frac{s+1.1}{D_h(s)}.

The second expression gives the actual ATP response to demand. The first isolates how feedback shapes that response. Thus ∣Sh∣<1|\mathcal S_h|<1 means attenuation by the feedback factor, and ∣Sh∣>1|\mathcal S_h|>1 means amplification by that factor. A sensitivity curve is not itself an ATP concentration amplitude.

ATP investment makes the conserved quantity a weighted sensitivity integral. The upstream actuation plant has an unstable pole p≈0.3595p\approx0.3595 and a right-half-plane zero z=κ=1.1z=\kappa=1.1. That zero records ATP consumption before payoff. For every stable gain in this family, the pole and zero impose

2π∫0∞zz2+ω2ln⁡∣Sh(iω)∣ dω=ln⁡z+pz−p≈0.6786.\boxed{\frac2\pi\int_0^\infty\frac{z}{z^2+\omega^2}\ln|\mathcal S_h(i\omega)|\,d\omega=\ln\frac{z+p}{z-p}\approx0.6786.}

This is the weighted robustness constraint behind Chandra, Buzi and Doyle's glycolysis analysis. Its value is positive and independent of hh at fixed κ,g\kappa,g. Low-frequency attenuation must be accompanied by amplification elsewhere. The ordinary unweighted integral has a high-frequency correction here. A2 explains why Lecture 10's zero-area formula cannot be copied directly.314

The last panel turns the weighted integral into visible area. Its horizontal coordinate is r=(2/π)arctan⁡(ω/z)r=(2/\pi)\arctan(\omega/z). This maps every nonnegative frequency into 0≤r≤10\le r\le1, with r=1r=1 representing infinite frequency. The positive shaded area minus the negative shaded area stays at 0.6786. The peak marks a timescale at which feedback amplifies disturbances. The selected-gain readout gives its angular frequency in the normalized clock.

Choose a gain or move the slider. The baseline stays fixed. All responses are local to that baseline.

The same four colors mark the same gains in every plot. Rings mark the selected gain. The slider stays inside the stable interval.

Stronger inhibition reduces steady error and eventually reaches a stability boundary The left plot shows steady ATP susceptibility versus upstream inhibition. The right plot shows the corresponding two poles. Matching colors identify feedback gains 1.2, 2.0, 2.4 and 2.6. A black ring marks the selected gain. The stable family ends at gain 2.7. Steady error becomes smaller Poles reach a stability boundary ATP offset per unit demand Poles of the same linearized dynamics 0 1 2 3 4 5 1.2 1.6 2 2.4 2.7 Upstream inhibition h -1.2 -0.6 0 -1.5 0 1.5 Imaginary part Real part
Less steady error comes with a smaller damping coefficient. Steady ATP susceptibility means the magnitude of the local ATP offset per unit demand change. The right panel locates the two poles. Once they form a complex pair, increasing hh moves that pair toward the imaginary axis. Open rose circles mark the boundary h=2.7h=2.7. The pale rose regions lie outside the stable family.
Steady ATP susceptibility0.714
Damping coefficient, 2.7 − h0.300
Largest pole real part−0.150
Peak feedback sensitivity11.458341
A conserved weighted area links attenuation with amplification The horizontal coordinate maps the complete nonnegative frequency axis to zero through one. At one it reaches infinite frequency. A second tick row gives angular frequency in the normalized clock. The vertical coordinate is the natural logarithm of feedback sensitivity. Shading above zero marks amplification and shading below zero marks attenuation for the selected gain. All stable gains have the same total signed area. The weighted sensitivity area stays constant Natural log of feedback sensitivity magnitude 0 1 2 3 4 5 0 0.25 0.50 0.75 1 Weighted frequency coordinate r ω 0 0.456 1.100 2.656 ∞
Shading belongs to the selected gain. Rose marks amplification. Teal marks attenuation. Thin colored curves retain the four reference gains. The coordinate r=(2/π)arctan⁡(ω/κ)r=(2/\pi)\arctan(\omega/\kappa) covers every nonnegative frequency. The lower tick row gives angular frequency ω\omega in the normalized clock. The visible signed area equals the weighted robustness integral. At r=1r=1, frequency is infinite and the log magnitude tends to zero.
Amplification area0.715927
Attenuation area0.037338
Conserved signed area0.678589

A smaller steady error can coexist with stronger ringing. At h=2.6h=2.6, the local steady error-to-demand ratio is 0.625, but the damping coefficient is only 0.1. A disturbance near the resonance frequency can produce a large response. The Bode constraint explains why better rejection cannot be demanded at every frequency through this actuation channel. The pole motion explains the longer ringing in this particular gain sweep.

What exact ATP restoration costs in this architecture

The present scalar feedback cannot remove the ATP offset while remaining stable. Within 1<h<2.71<h<2.7, the magnitude of the steady demand sensitivity is 1/(h−1)>1/1.71/(h-1)>1/1.7. Increasing hh alone reaches instability before this error can vanish. This supports a reason to tolerate a finite offset within this regulatory architecture.

Adding a memory changes the architecture and the conclusion. To test the implication, let x=δqˉIx=\delta\bar q_I, y=δqˉATPy=\delta\bar q_{\mathrm{ATP}} and d=δwˉd=\delta\bar w. Let α=δlog⁡u1\alpha=\delta\log u_1 be a small change in upstream log activity, so δvˉ1=y+α\delta\bar v_1=y+\alpha. Retain δvˉ2=κx−gy\delta\bar v_2=\kappa x-gy. Introduce an error memory η\eta and a positive integral gain kIk_I:

α=−hy+kIη,η′=−y.\alpha=-hy+k_I\eta,\qquad\eta'=-y.

Low ATP now both relieves the instantaneous inhibition and accumulates a persistent activity adjustment. This is a hypothetical controller used to test the mathematical claim. It is not an identification of a glycolytic molecular memory.

Every equilibrium of this controller restores ATP, provided the equilibrium is reached. The memory equation requires y∗=0y^*=0. For constant demand displacement dd, the balances then give x∗=d/κx^*=d/\kappa and η∗=d/kI\eta^*=d/k_I. Stability is an additional requirement.

χ(s)=s3+(2.7−h)s2+[1.1(h−1)−kI]s+1.1kI.\chi(s)=s^3+(2.7-h)s^2+\left[1.1(h-1)-k_I\right]s+1.1k_I.

A restricted range of integral gains gives stable exact adaptation. The cubic Routh–Hurwitz conditions reduce to

1<h<2.7,0<kI<1.1(h−1)(2.7−h)3.8−h.\boxed{1<h<2.7,\qquad 0<k_I<\frac{1.1(h-1)(2.7-h)}{3.8-h}.}
Integral feedback can remove the offset inside a stable window
κ=1.1,g=0.3,δwˉ=0.01\kappa=1.1,\quad g=0.3,\quad \delta\bar w=0.01
Stable integral gains The same small demand step 1 1.5 2 2.7 0 0.1 0.2 0.4 0.6
hh
kIk_I
Stable Unstable
0<kI<1.1(h−1)(2.7−h)3.8−h0<k_I<\frac{1.1(h-1)(2.7-h)}{3.8-h}
1<h<2.71<h<2.7
0 60 120 180 -0.05 0 0.05
tˉ\bar t
δqˉATP\delta\bar q_{\mathrm{ATP}}
1 2 3 4 1
h=2, kI=0h=2,\ k_I=0
finite offset 2
h=2, kI=0.1h=2,\ k_I=0.1
stable exact adaptation 3
h=2, kI=0.4h=2,\ k_I=0.4
stable, lightly damped 4
h=2, kI=0.5h=2,\ k_I=0.5
unstable Local linear responses. The open circle marks the declared displacement cutoff of 0.05.
Integral feedback can remove the offset within a stable gain range. All four responses use h=2h=2 and the same small demand step d=0.01d=0.01. Without the integral state, the proportional controller settles to y=−0.01y=-0.01. The integral gains kI=0.1k_I=0.1 and kI=0.4k_I=0.4 give stable exact adaptation. The latter produces slowly decaying oscillations. The integral gain kI=0.5k_I=0.5 exceeds the stability limit 0.42780.4278. Its trace stops at the declared displacement cutoff. These are local linear predictions in normalized units, not measurements.

Both feedback gains determine stability. Near h=2.7h=2.7, the allowed positive integral gain shrinks to zero. At h=2h=2, a nonzero range remains. Pure integral feedback with h=0h=0 cannot stabilize this plant. Integral action can therefore add precision or cause instability, depending on the surrounding regulation.

Instability is not restricted to a large demand change. The local poles do not depend on the size of dd. Halving a small step halves its response but does not change stability or decay rate. A nonlinear response to a large disturbance requires a separate calculation.

The control tradeoff suggests a biological hypothesis rather than settling the biological question. Precise ATP restoration may compete with transient regulation, enzyme cost and other tasks. The stable integral-memory cases still obey the same weighted sensitivity identity. Eliminating zero-frequency error still requires amplification at other frequencies. It does not establish that perfect adaptation is unimportant in metabolism, or that a stable memory mechanism cannot achieve it. This is the same distinction between an adapting equilibrium and a stable route to that equilibrium developed in Lecture 10.

Identify the plant, actuator and sensor before asking how stronger feedback changes compensation and stability.

We have predicted a pathway's response by specifying its enzyme laws. Can we instead describe the function the machine should achieve and the biochemical restrictions it must obey?

Part 2 · Specify metabolic function through objectives and constraints

First formulate the behavior as an optimization problem. Then relax constraints, solve a steady task explicitly and scale up to a curated organism.

5Describe behavior through an objective and biochemical constraints

A complex behavior can be easier to specify by its purpose and physical restrictions than by writing every regulatory response that produces it. Constraint-based modeling starts from this alternative way of describing a machine.

A specified regulatory law determines how the machine responds at each state. In Part 1, the Hill functions gave the reaction fluxes from the current concentrations. Denote such a fully specified flux law by vlaw(q)v_{\mathrm{law}}(q). With an imposed demand w(t)w(t), we predict a trajectory by integrating

q˙(t)=Svlaw(q(t))+Sww(t),q(0)=qinit.\dot q(t)=S v_{\mathrm{law}}(q(t))+S^w w(t),\qquad q(0)=q^{\mathrm{init}}.

The vector qq contains the retained concentrations. The matrices SS and SwS^w convert reaction fluxes and external demand into concentration changes. A controller with memory would add its internal states. For a large machine, specifying all these responses can be the difficult part.

An optimization describes the behavior by what it achieves and what it must obey. Fix the same initial state, demand history and time interval [0,T][0,T]. Let Cbio\mathcal C_{\mathrm{bio}} contain the concentration and flux histories permitted by the biochemical model. Let J[q,v]\mathcal J[q,v] measure the function to be achieved, such as useful production with a cost for ATP depletion. When the optimum is attained, select

(q∗(⋅),v∗(⋅))∈arg max⁡(q(⋅),v(⋅))∈Cbio J[q,v].\boxed{(q^*(\cdot),v^*(\cdot))\in\underset{(q(\cdot),v(\cdot))\in\mathcal C_{\mathrm{bio}}}{\operatorname{arg\,max}}\ \mathcal J[q,v].}

The biochemical constraints describe the machinery available to achieve that function. They include the balance q˙=Sv+Sww\dot q=Sv+S^w w, initial state, nonnegative pools and the substrate, catalytic, binding, resource and actuator restrictions of the declared model. The histories must be compatible with any required enzyme or controller states. Regulation remains a choice within its physical and information restrictions. At this stage, we have not removed any restriction from that model.

P5Describe a machine's behavior by optimizing its function subject to the constraints of its components.

Specify a flux law or specify a task and full constraints Both approaches use the same physical balance, model boundary, initial state, external fluxes and time horizon. A mechanistic model specifies a flux law and integrates it to predict a trajectory. A constraint-based model specifies an objective and all declared biochemical constraints and selects a candidate optimal trajectory. The selected candidate is a hypothesis to test against biology. Two ways to describe the behavior of the same machine Shared physical model q̇(t) = S v(t) + Sʷ w(t) Same model boundary, initial state q(0), imposed flux w(t) and horizon T. Specify how the fluxes respond Specify goals and full constraints Resolve enzyme and controller laws. v(t) = vlaw(q(t)) The law supplies the flux at each state. Choose a performance objective J[q,v]. Impose the full biochemical constraints: reaction feasibility, capacity, state limits and admissible regulatory actions. Integrate the balance Optimize Mechanistic prediction Candidate optimal behavior q(·), v(·) follow from the stated law. Select q(·), v(·) to maximize J[q,v]. qᵢ(t) t qᵢ(t) t Prediction from a mechanism. A hypothesis selected by a task. “Full” means all constraints declared for this model. Biology need not attain the optimum.
Figure 4a. Two ways to describe metabolic behavior. Both retain the same physical balance and model boundary. On the left, a specified flux law determines the response. On the right, an objective selects among histories allowed by the biochemical constraints. The right side uses one feasible set with all the restrictions of the declared model. Its curves are schematic admissible histories. The resulting optimum is a candidate behavior. This distinction follows slides 25–26 of the lecturer's constraint-based modeling presentation.7

This is a central use of the biomachine perspective. We often understand a crane, car or computer through its overall task, the responsibilities of its modules and the limits at their interfaces. Those specifications can be compact even when the resulting behavior is complicated. An objective and constraints provide such a description for metabolism. Finding their solution can still require substantial computation.

The objective is a biological or design hypothesis. For a designed controller, it states what we want the machine to do. For a cell, it states a proposed function whose predictions must be compared with measurements. An optimum need not be unique, and an observed cell need not attain it. A complete biochemical constraint set means complete within the declared model boundary, not a description of every process in the cell.

The optional extension below develops this perspective through machine hierarchy, a solved static-to-dynamic-to-control example, variational mechanics and learning. The spoken route now asks how to make a biochemical optimization easier to solve.

Relax constraints to obtain easier problems and performance bounds

Relaxation is an operation on an already specified optimization problem. Keep the task, initial conditions, demand, horizon and objective fixed. Removing restrictions enlarges the set of permitted histories. Write two such enlargements as C1\mathcal C_1 and C2\mathcal C_2. If the actual history belongs to Cbio\mathcal C_{\mathrm{bio}}, then

Cbio⊆C1⊆C2⟹Jactual≤Jbio∗≤J1∗≤J2∗.\mathcal C_{\mathrm{bio}}\subseteq\mathcal C_1\subseteq\mathcal C_2 \quad\Longrightarrow\quad \mathcal J_{\mathrm{actual}}\leq\mathcal J^*_{\mathrm{bio}}\leq\mathcal J^*_1\leq\mathcal J^*_2.

Each star denotes the supremum of the same score over the indicated set. The supremum is a maximum when attained. A larger set can give a looser upper bound, but its simpler constraints can make that bound computable. For a minimized cost, enlarging the set instead gives a lower bound.15

Relax constraints to bound the same objective Three nested feasible sets contain trajectory pairs for the same objective, horizon, boundary flux and initial state. An actual behavior lies in the full biochemical constraint set. Maximizing the same objective over each set gives an ordered sequence of upper bounds. Removing binding restrictions creates the first relaxation. Retaining balance, directions and capacity bounds creates a further relaxation. Steady state is not imposed in this diagram. Relax constraints to bound the same task Keep the objective, horizon, boundary fluxes and initial state fixed. Each point represents a trajectory pair (q(·), v(·)). Relaxation 2 Relaxation 1 Full biochemical constraints Maximize the same J[q,v]. A larger set cannot lower the maximum score. Increasing value of the same objective Actual behavior score Full optimum Relaxation 1 optimum Relaxation 2 optimum ≤ ≤ ≤ The actual behavior must satisfy the full biochemical constraints. Larger optima are upper bounds. Relaxation 1 removes selected binding restrictions. Relaxation 2 retains balance, directions and capacity bounds. The geometry is schematic.
Figure 4b. Enlarge the allowed behavior while keeping the question fixed. Every history permitted by the biochemical model remains permitted by either relaxation. The same objective is optimized over all three sets. The actual behavior can lie below the biochemical optimum. The geometry is schematic. A steady-state problem will be a separate task, not an enlargement of all these transient histories.

A useful bound can precede a detailed mechanism. The Carnot bound η≤1−Tcold/Thot\eta\leq1-T_{\mathrm{cold}}/T_{\mathrm{hot}} limits heat-engine efficiency using absolute reservoir temperatures. Metabolic conservation and resource constraints can similarly limit performance before the detailed regulation is known. The mechanism matters for whether the machine can approach that bound.

Near-optimal performance makes an optimizer a candidate explanation. If selection favors the stated function under the retained constraints, flux allocations near the optimum become hypotheses for cellular behavior. Agreement with measurements supports that joint choice of objective and constraints. A gap can reflect omitted restrictions or another task the cell must perform.

The most direct relaxation treats every reaction flux as an adjustable trajectory. Over a duration TT, we could maximize a performance functional J[q,v]\mathcal J[q,v] subject to

dqdt=Sv+Sww,q(0)=qinit,q(t)≥0,ℓ≤v(t)≤u.\frac{dq}{dt}=S v+S^w w,\qquad q(0)=q^{\mathrm{init}},\qquad q(t)\geq0,\qquad\ell\leq v(t)\leq u.

Here ℓ\ell and uu are lower and upper flux bounds. This is an optimal-control problem. To see how much control the relaxation grants, first consider freely adjustable fluxes before imposing those bounds.

A wide metabolic matrix supplies many reaction controls for comparatively few pools. For mm retained concentrations and n>mn>m reaction fluxes, S∈Rm×nS\in\mathbb R^{m\times n} has more columns than rows. This makes full row rank a natural case to examine: the reaction columns span all retained concentration directions. In that case, choosing fluxes lets us assign every concentration derivative independently.8

Full row rank lets the free-flux model follow a prescribed concentration trajectory. Choose a differentiable, nonnegative q(t)q(t) with the specified initial condition. At each time, solve

Sv(t)=q˙(t)−Sww(t).S v(t)=\dot q(t)-S^w w(t).

A solution exists for every right-hand side when rank⁡S=m\operatorname{rank}S=m. The fluxes can therefore realize the requested trajectory, including perfect compensation of a changing demand. The relaxed model has replaced the metabolic response with independently adjustable inputs.

Our two-reaction model shows exactly what is lost. Solving its balance for the two fluxes gives

v1=2q˙I+q˙ATP+w,v2=q˙I+q˙ATP+w.v_1=2\dot q_I+\dot q_{\mathrm{ATP}}+w,\qquad v_2=\dot q_I+\dot q_{\mathrm{ATP}}+w.

Whenever these values satisfy the flux bounds, the relaxation can produce the requested differentiable pool trajectory. In particular, it can keep both pools perfectly constant through a demand change simply by setting v1(t)=v2(t)=w(t)v_1(t)=v_2(t)=w(t) instantly. The ATP investment difficulty has disappeared because we discarded the dependence of reaction rates on ATP and intermediate concentrations.

Independent protein production and degradation make the control freedom explicit

Each protein has a production flux and a degradation flux in a projected gene-expression model. Retain only the mm protein concentrations. Production adds one unit to its protein pool. Degradation removes one unit from that pool. Other protein pools are unchanged. Order the production columns first and the degradation columns second. Then

S=[Im  −Im],q˙=vprod−vdeg,rank⁡S=m.S=[I_m\; -I_m],\qquad\dot q=v^{\mathrm{prod}}-v^{\mathrm{deg}},\qquad\operatorname{rank}S=m.

Here ImI_m is the identity matrix. For two proteins, the columns are production of protein 1, production of protein 2, degradation of protein 1 and degradation of protein 2:

S=[10−10010−1].S=\begin{bmatrix}1&0&-1&0\\0&1&0&-1\end{bmatrix}.

Even nonnegative fluxes can realize every requested derivative. For any differentiable, nonnegative protein trajectory with the given initial condition, choose the production and degradation fluxes component by component:

viprod(t)=max⁡{q˙i(t),0},videg(t)=max⁡{−q˙i(t),0}.v_i^{\mathrm{prod}}(t)=\max\{\dot q_i(t),0\},\qquad v_i^{\mathrm{deg}}(t)=\max\{-\dot q_i(t),0\}.

Their difference is exactly q˙i(t)\dot q_i(t). Thus the free-flux model can prescribe all protein concentrations independently. Translation capacity, degradation kinetics and shared resources are the biological structure that this projection has relaxed.

The control freedom explains why stoichiometry alone can leave dynamics underdetermined. Sign and capacity bounds can limit which trajectories remain feasible. Kinetic and regulatory relations determine how the fluxes actually respond to the concentrations. The useful next question is what the retained accounting and resource bounds can establish at steady state.

Change the question to sustained output at steady internal pools

Steady performance is a distinct task. We now ask what production can be sustained with approximately constant retained internal pools. Setting accumulation to zero selects this task. It is not a relaxation of all possible transient histories. Relaxing kinetic restrictions within the steady task gives the flux balance problem:

Sv+Sww=0,max⁡v cTvsubject to the balance and flux bounds.\boxed{S v+S^w w=0,\qquad\max_v\ c^{\mathsf T}v\quad\text{subject to the balance and flux bounds}.}

The vector cc selects the valued output, such as biomass production. This linear program is flux balance analysis. Nonzero fluxes can pass through steady pools. The calculation neither supplies their concentrations nor proves that a kinetic steady state is stable.2

First specify behavior through an objective and biochemical constraints. Then state which constraints a tractable approximation relaxes and what its solution can establish.

The full optional section on goals, constraints and architecture develops this perspective through mechanical control, module design and machine learning.

6Solve the glycolysis balance before scaling up

The same ATP-investment pathway lets us solve a flux balance analysis problem by hand. First ATP demand fixes both pathway fluxes. Then a growth branch creates a choice that an uptake bound and an objective resolve. This sequence follows the lecturer’s constraint-based modeling slides.7

The two-reaction steady state is a square matrix problem. Write the ATP investment coefficient as ν>0\nu>0. Setting the pool derivatives to zero moves the imposed ATP demand to the right-hand side:

[1−1−νν+1]⏟S[v1v2]=[0w].\underbrace{\begin{bmatrix}1&-1\\-\nu&\nu+1\end{bmatrix}}_{S}\begin{bmatrix}v_1\\v_2\end{bmatrix}=\begin{bmatrix}0\\w\end{bmatrix}.

Matrix inversion gives the unique fluxes needed to meet that demand. The determinant is (ν+1)−ν=1(\nu+1)-\nu=1, so

S−1=[ν+11ν1],[v1v2]=S−1[0w]=[ww].S^{-1}=\begin{bmatrix}\nu+1&1\\\nu&1\end{bmatrix},\qquad\begin{bmatrix}v_1\\v_2\end{bmatrix}=S^{-1}\begin{bmatrix}0\\w\end{bmatrix}=\begin{bmatrix}w\\w\end{bmatrix}.

For example, an ATP draw of one flux unit requires one unit through each pathway reaction. There is no internal flux choice left for an objective to select.

The same steady fluxes are compatible with stable or oscillatory rate laws. ATP investment matters during the transient even though ν\nu cancels from this balance.

Adding growth makes an ATP-allocation decision possible. Introduce a third flux vgrow≥0v_{\mathrm{grow}}\geq0 that allocates ATP to biosynthesis. In this projected teaching model, growth consumes one ATP unit and no retained intermediate. It is an energy-allocation proxy. A specific growth rate requires biomass composition and a mass normalization. The complete network retains the ATP investment/payoff loop. Maintenance and growth are separate outlets from its ATP pool.

The complete ATP-producing loop supplies maintenance and growthATP investment consumes ATP and glucose to make the intermediate. Payoff consumes intermediate and returns two ATP. Separate maintenance and growth conversions consume the same ATP pool. Half a glucose supplies one intermediate unit. All reaction branches use one double-chevron conversion junction. {"S": [[1, -1, 0], [-1, 2, -1]], "controlled_fluxes": ["v1", "v2", "v_grow"], "external_demand_vector": [0, -1], "normalization": "Per triose-equivalent throughput. ATP concentration units are unchanged.", "reactions": [{"id": "growth-investment", "products": {"ADP": 1, "I": 1}, "reactants": {"ATP": 1, "glucose": 0.5}}, {"id": "growth-payoff", "products": {"ATP": 2, "carbon-products": 1}, "reactants": {"ADP": 2, "I": 1, "Pi": 1}}, {"id": "growth-allocation", "products": {"growth-allocation": 1}, "reactants": {"ATP": 1}}, {"id": "growth-maintenance", "products": {"maintenance-work": 1}, "reactants": {"ATP": 1}}], "retained_species": ["I", "ATP"]} Growth draws ATP from the same autocatalytic network Keep the complete investment-and-payoff loop when adding another ATP demand. Investment, v₁ ½ glucose Payoff, v₂ 2 Carbon products Growth allocation vgrow Biosynthesis w Maintenance work ATP Intermediate, I Spend ATP to replenish ATP. The growth outlet allocates ATP to biosynthesis. It is not a biomass composition model. Fluxes use the same triose-equivalent normalization. Cofactors are omitted from the two-pool projection.
Figure 5a. The same ATP-producing network now supplies maintenance and growth. The drawing uses ν=1\nu=1. Investment still consumes ATP, and payoff returns two ATP units. The new growth conversion consumes ATP from that loop. Its flux is an ATP allocation proxy. No intermediate is directly consumed by this particular growth outlet.

P6Steady balance gives the allocation relation. A resource bound makes its optimum finite.

[q˙Iq˙ATP]=[1−10−νν+1−1][v1v2vgrow]+[0−1]w.\begin{bmatrix}\dot q_I\\\dot q_{\mathrm{ATP}}\end{bmatrix}=\begin{bmatrix}1&-1&0\\-\nu&\nu+1&-1\end{bmatrix}\begin{bmatrix}v_1\\v_2\\v_{\mathrm{grow}}\end{bmatrix}+\begin{bmatrix}0\\-1\end{bmatrix}w.

Three reaction fluxes now satisfy only two pool balances. The two rows are independent, so one free coefficient remains. We need the whole solution space before choosing an optimum. At ν=1\nu=1, the steady equation and its Moore–Penrose pseudoinverse are

Sv=[0w],S=[1−10−12−1],S†=[11/301/3−1−2/3].S v=\begin{bmatrix}0\\w\end{bmatrix},\qquad S=\begin{bmatrix}1&-1&0\\-1&2&-1\end{bmatrix},\qquad S^{\dagger}=\begin{bmatrix}1&1/3\\0&1/3\\-1&-2/3\end{bmatrix}.

The Moore–Penrose pseudoinverse gives one solution, and the null space gives every allowed adjustment. Multiplying by S†S^{\dagger} gives the particular solution [w/3,w/3,−2w/3]T[w/3,w/3,-2w/3]^{\mathsf T}. The vector [1,1,1]T[1,1,1]^{\mathsf T} lies in the null space of SS. It adds the same throughput to investment, payoff and growth without changing either pool balance. Hence every solution has the form

v=w3[11−2]+α[111],α∈R.\boxed{v=\frac{w}{3}\begin{bmatrix}1\\1\\-2\end{bmatrix}+\alpha\begin{bmatrix}1\\1\\1\end{bmatrix},\qquad\alpha\in\mathbb R.}

The scalar α\alpha has flux units. The particular solution is an algebraic starting point. For positive demand, its negative growth entry is not a feasible allocation. Nonnegative growth requires α≥2w/3\alpha\geq2w/3.

Using growth itself as the coefficient makes the allocation easy to read. Since vgrow=α−2w/3v_{\mathrm{grow}}=\alpha-2w/3, the same solution space becomes

[v1v2vgrow]=w[110]+vgrow[111].\boxed{\begin{bmatrix}v_1\\v_2\\v_{\mathrm{grow}}\end{bmatrix}=w\begin{bmatrix}1\\1\\0\end{bmatrix}+v_{\mathrm{grow}}\begin{bmatrix}1\\1\\1\end{bmatrix}.}

The first term supplies the external ATP draw. The second term sends each extra unit of growth through one additional unit of investment and payoff. The growth flux is still a choice, rather than an optimum.

A growth branch creates a choice that a supply cap limits The same ATP pool now supplies two demands
ATP\mathrm{ATP}
Maintenance
flux: w\text{flux: }w
Growth allocation
flux: vgrow\text{flux: }v_{\mathrm{grow}}
First balance each retained pool
v1=v2v_1=v_2
v2=w+vgrowv_2=w+v_{\mathrm{grow}}
Then apply the supply cap
0≤vgrow≤U−w0\leq v_{\mathrm{grow}}\leq U-w
0 1 2 3 4 0 1 2 3
v1=v2v_1=v_2
vgrowv_{\mathrm{grow}}
w=1,U=3w=1,\qquad U=3
v1v_1
v2v_2
vgrowv_{\mathrm{grow}}
1 1 0 2 2 1 3 3 2 Maximizing growth selects
v∗=(3,3,2)T.v^*=(3,3,2)^{\mathsf T}.
At U = w, only maintenance is possible. At U < w, no nonnegative steady flux is feasible. Growth denotes ATP allocated to biosynthesis, before a biomass recipe or mass normalization.
Figure 5b. One balance line, one resource limit, one optimum. The complete network in Figure 5a reduces to this allocation constraint. Maintenance and growth drain the same ATP pool. The parameterized flux family traces the displayed line. With w=1w=1 and U=3U=3, each colored point corresponds to the same-colored flux vector. The green segment is feasible. The rose endpoint maximizes growth. The dashed continuation balances the pools but exceeds the supply cap. Fluxes share a common unit.

There is no finite maximum growth flux until a resource or capacity is bounded. Let UU be the upstream supply limit, so that 0≤v1≤U0\leq v_1\leq U. Substituting v1=w+vgrowv_1=w+v_{\mathrm{grow}} gives the feasible interval

2w3≤α≤U−w3,0≤vgrow≤U−w.\frac{2w}{3}\leq\alpha\leq U-\frac{w}{3},\qquad 0\leq v_{\mathrm{grow}}\leq U-w.

Maximizing the growth flux selects the upper endpoint when U≥wU\geq w:

v∗=[U,U,U−w]T.\boxed{v^*=[U,U,U-w]^{\mathsf T}.}

At U=wU=w, maintenance uses all available supply. At U<wU<w, even zero growth cannot give a feasible nonnegative steady flux. For w=1w=1 and U=3U=3, the vectors [1,1,0][1,1,0], [2,2,1][2,2,1] and [3,3,2][3,3,2] all balance. The last one maximizes growth.

An explicit glucose pool uses the declared throughput convention. Let qGlcq_{\mathrm{Glc}} be actual glucose concentration and wGlcw_{\mathrm{Glc}} its import flux. Each investment event consumes half a glucose, so q˙Glc=wGlc−v1/2\dot q_{\mathrm{Glc}}=w_{\mathrm{Glc}}-v_1/2. At steady state, fixed import gives v1=v2=2wGlcv_1=v_2=2w_{\mathrm{Glc}} and vgrow=2wGlc−wv_{\mathrm{grow}}=2w_{\mathrm{Glc}}-w. An uptake capacity limits import without requiring it to equal the cap.

Use a matrix inverse when the steady flux is unique. Use a particular solution and null-space coefficients when internal allocations remain free. Bounds and an objective then select among those allocations.

7Apply the same optimization to an E. coli reconstruction

With the same glucose supply, how much does access to oxygen change the growth ceiling? Glucose supplies building material and chemical energy. Oxygen changes which ATP-producing routes are available. To account for these coupled pathways, we use iJO1366, a genome-scale reconstruction of Escherichia coli K-12 MG1655.

A reconstruction turns many known reactions into one balance matrix. The archived iJO1366 model has 1,805 rows for compartment-indexed metabolite pools and 2,583 columns for flux variables. Most entries are zero because each reaction changes only a few pools. A phosphofructokinase column gives a concrete ATP-investing step: one unit of flux consumes one ATP and one fructose 6-phosphate while producing ADP, fructose 1,6-bisphosphate and H+. Every other reaction contributes its own column.4, 5

Replace the teaching growth sink with a biomass recipe. The small example allocated ATP to a single growth branch. A reconstruction specifies how much of many precursors is needed to make a unit of biomass. Let μ\mu be its specific growth rate, in inverse hours. Increasing the biomass flux increases every one of these demands together. Balance requires the rest of the network to replenish them.

P7The same balance becomes a computable organism-scale performance bound.

A sparse reaction matrix records the same molecular conversion column by column The left panel plots every nonzero entry in the archived iJO1366 matrix. The right panel expands its exact PFK reaction with a shared double-chevron conversion junction. ATP and fructose 6-phosphate are consumed. ADP, fructose 1,6-bisphosphate and H+ are produced, each with coefficient one. From a sparse matrix to one molecular conversion iJO1366 · E. coli K-12 MG1655 1,805 rows × 2,583 columns PFK Each mark is a nonzero coefficient. Mark size is enlarged for visibility. Rows retain metabolite identity and compartment. Phosphofructokinase · PFK One shared junction, five molecule branches ATP Fructose 6-phosphate ADP Fructose 1,6- bisphosphate H⁺ Overall conversion. All branch coefficients are 1. The exact PFK column Consumed: −1 ATP, −1 fructose 6-phosphate Produced: +1 ADP, +1 fructose 1,6-bisphosphate +1 H⁺ The conversion specifies chemical accounting. Its column does not specify an enzyme rate law.
Figure 6a. A reaction column specifies every input and output of one conversion. The sparse matrix and PFK column come from the archived iJO1366 model. ATP and fructose 6-phosphate enter the same double-chevron junction. ADP, fructose 1,6-bisphosphate and H+ leave it. The junction represents the overall enzyme-catalyzed conversion. Every branch belongs to that one reaction.

The biomass column is a coupled demand recipe. Sort its 72 nonzero coefficients by absolute magnitude. Negative entries are consumed and positive entries are produced when one unit of biomass is formed. The large ATP, ADP, phosphate, water and H+ entries include the energy bookkeeping of biosynthesis. Amino acids, nucleotide precursors, lipids and cofactors occupy a much smaller numerical scale.

The biomass column couples many material and energy demands All entries come from the archived iJO1366 core biomass reaction. Rows are ranked by absolute coefficient. The five largest terms use one scale. A second panel expands the next twenty-three entries on a separate scale. Exact signed values and all seventy-two entries accompany the figure. These coefficients are millimoles per gram dry weight, not biomass mass fractions. A biomass column is a coupled recipe for growth iJO1366 core biomass · 72 nonzero coefficients Ranked by absolute coefficient. Signs retain consumption (−) and production (+). Five largest terms Next 23 entries, on an expanded scale 1 ATP -54.124831 2 ADP +53.950000 3 H⁺ +53.950000 4 Phosphate +53.945662 5 H₂O -48.601527 |coefficient|: 0 to 60 |coefficient|: 0 to 0.8 6 Diphosphate +0.773903 7 Glycine -0.612638 8 L-Alanine -0.513689 9 L-Leucine -0.450531 10 L-Valine -0.423162 11 L-Lysine -0.343161 12 L-Arginine -0.295792 13 L-Isoleucine -0.290529 14 L-Glutamine -0.263160 15 L-Glutamate -0.263160 16 L-Threonine -0.253687 17 L-Asparagine -0.241055 18 L-Aspartate -0.241055 19 L-Proline -0.221055 20 L-Serine -0.215792 21 GTP -0.215096 22 K⁺ -0.195193 23 L-Phenylalanine -0.185265 24 L-Methionine -0.153686 25 UTP -0.144104 26 L-Tyrosine -0.137896 27 CTP -0.133508 28 L-Histidine -0.094738 Large terms include ATP hydrolysis for growth-associated maintenance. The maintenance estimate is 53.95 mmol ATP per gram dry weight. The net column also combines other biosynthetic consumption and production. A coefficient is a molar amount per unit biomass, not a mass fraction. Multiply the whole column by the growth rate μ. νᵢ [mmol gDW⁻¹] × μ [h⁻¹] = biomass-associated flux [mmol gDW⁻¹ h⁻¹] Example: glycine consumption at μ = 0.5 h⁻¹ is 0.306319 mmol gDW⁻¹ h⁻¹.
Figure 6b. Growth activates the entire biomass recipe at once. Signed coefficients are in millimoles per gram dry weight of biomass. The first panel shows the five largest magnitudes. The second uses a smaller scale for the following entries. The scales differ explicitly. Coefficient magnitude measures the molar amount consumed or produced per unit biomass. It is not a mass fraction. Multiplying any coefficient by the growth rate gives its contribution to the flux balance in millimoles per gram dry weight per hour.
Inspect all 72 biomass coefficients in ranked order

The table retains metabolite identifiers so each entry can be retrieved in the notebook. ATP bookkeeping and precursor incorporation remain parts of the same column. Changing one coefficient changes the declared biomass composition or energy requirement.

All 72 entries of BIOMASS_Ec_iJO1366_core_53p95M. Coefficients in mmol gDW⁻¹, sorted by absolute value.
RankMetaboliteModel IDSigned coefficientRole
1ATPatp_c-54.124831consumed
2ADPadp_c+53.950000produced
3H⁺h_c+53.950000produced
4Phosphatepi_c+53.945662produced
5H₂Oh2o_c-48.601527consumed
6Diphosphateppi_c+0.773903produced
7Glycinegly_c-0.612638consumed
8L-Alanineala__L_c-0.513689consumed
9L-Leucineleu__L_c-0.450531consumed
10L-Valineval__L_c-0.423162consumed
11L-Lysinelys__L_c-0.343161consumed
12L-Argininearg__L_c-0.295792consumed
13L-Isoleucineile__L_c-0.290529consumed
14L-Glutaminegln__L_c-0.263160consumed
15L-Glutamateglu__L_c-0.263160consumed
16L-Threoninethr__L_c-0.253687consumed
17L-Asparagineasn__L_c-0.241055consumed
18L-Aspartateasp__L_c-0.241055consumed
19L-Prolinepro__L_c-0.221055consumed
20L-Serineser__L_c-0.215792consumed
21GTPgtp_c-0.215096consumed
22K⁺k_c-0.195193consumed
23L-Phenylalaninephe__L_c-0.185265consumed
24L-Methioninemet__L_c-0.153686consumed
25UTPutp_c-0.144104consumed
26L-Tyrosinetyr__L_c-0.137896consumed
27CTPctp_c-0.133508consumed
28L-Histidinehis__L_c-0.094738consumed
29L-Cysteinecys__L_c-0.091580consumed
30L-Tryptophantrp__L_c-0.056843consumed
31Phosphatidylethanolamine (dihexadec-9enoyl, n-C16:1)pe161_c-0.054154consumed
32Phosphatidylethanolamine (dihexadecanoyl, n-C16:0)pe160_p-0.045946consumed
33DCTP C9H12N3O13P3dctp_c-0.027017consumed
34DGTP C10H12N5O13P3dgtp_c-0.027017consumed
35DATP C10H12N5O12P3datp_c-0.026166consumed
36DTTP C10H13N2O14P3dttp_c-0.026166consumed
37Phosphatidylethanolamine (dihexadec-9enoyl, n-C16:1)pe161_p-0.021060consumed
38KDO(2)-lipid IV(A)kdo2lipid4_e-0.019456consumed
39Phosphatidylethanolamine (dihexadecanoyl, n-C16:0)pe160_c-0.017868consumed
40Two disacharide linked murein units, pentapeptide crosslinked tetrapeptide (A2pm->D-ala) (middle of chain)murein5px4p_p-0.013894consumed
41Ammoniumnh4_c-0.013013consumed
42Magnesiummg2_c-0.008675consumed
43Iron (Fe3+)fe3_c-0.007808consumed
44Fe2+ mitochondriafe2_c-0.006715consumed
45Calciumca2_c-0.005205consumed
46Chloridecl_c-0.005205consumed
47Sulfateso4_c-0.004338consumed
48Nicotinamide adenine dinucleotidenad_c-0.001831consumed
49Coppercu2_c-0.000709consumed
50Manganesemn2_c-0.000691consumed
51Coenzyme Acoa_c-0.000576consumed
52Nicotinamide adenine dinucleotide phosphatenadp_c-0.000447consumed
53Zinczn2_c-0.000341consumed
54Nickelni2_c-0.000323consumed
55[4Fe-4S] iron-sulfur cluster4fe4s_c-0.000260consumed
5610-Formyltetrahydrofolate10fthf_c-0.000223consumed
572-Octaprenyl-6-hydroxyphenol2ohph_c-0.000223consumed
58S-Adenosyl-L-methionineamet_c-0.000223consumed
59Flavin adenine dinucleotide oxidizedfad_c-0.000223consumed
605,10-Methylenetetrahydrofolatemlthf_c-0.000223consumed
61Protoheme C34H30FeN4O4pheme_c-0.000223consumed
62Pyridoxal 5'-phosphatepydx5p_c-0.000223consumed
63Riboflavin C17H20N4O6ribflv_c-0.000223consumed
64Siroheme C42H36FeN4O16sheme_c-0.000223consumed
655,6,7,8-Tetrahydrofolatethf_c-0.000223consumed
66Thiamine diphosphatethmpp_c-0.000223consumed
67Bis-molybdopterin guanine dinucleotidebmocogdp_c-0.000122consumed
68Undecaprenyl diphosphateudcpdp_c-0.000055consumed
69[2Fe-2S] iron-sulfur cluster2fe2s_c-0.000026consumed
70Co2+cobalt2_c-0.000025consumed
71Molybdatemobd_c-0.000007consumed
72Biotinbtn_c-0.000002consumed

Weight the recipe by molecular mass before interpreting its composition

A small molar coefficient can represent substantial material. A millimole of glycine weighs about 75 mg. A millimole of the model's KDO₂-lipid IV(A) weighs about 1,840 mg. Counting molecules and counting mass therefore answer different questions. Keep Figure 6b and weight the same coefficients by the molecular formulas in the reconstruction.

Every mass entry describes making one gram of new dry biomass. No growth rate is used in this ranking. Let γi,bio\gamma_{i,\mathrm{bio}} be the biomass coefficient of metabolite ii, in millimoles per gram of new dry biomass. Let MiM_i be its molecular weight in grams per mole. Weighting the coefficient gives a signed mass throughput:

mi=γi,bioMi1000[g of metabolite per gDW].m_i=\frac{\gamma_{i,\mathrm{bio}}M_i}{1000} \qquad[\mathrm{g\ of\ metabolite\ per\ gDW}].

Negative mim_i means consumption. Positive mim_i means production. The factor 1000 converts millimoles to moles. The denominator refers to newly formed dry biomass.

Molecular weight changes the biomass-column ranking The same 72 biomass coefficients are multiplied by their molecular weights. Negative mass values are consumed and positive values are produced. The first five entries use a large scale, and the next twenty-three use an expanded scale. All are gross mass throughput, not cell composition. Consumed mass minus produced mass is approximately one gram dry weight. Molecular weight changes the ranking Same biomass column · grams per gram of new dry biomass Signed mass = molar coefficient × molecular weight / 1000 Five largest mass terms Next 23 entries, on an expanded scale |mass|: 0 to 30 |mass|: 0 to 0.12 1 ATP -27.23287 2 ADP +22.88437 3 Phosphate +5.17767 4 H₂O -0.87557 5 Diphosphate +0.13540 6 GTP -0.11167 7 UTP -0.06919 8 CTP -0.06397 9 L-Leucine -0.05910 10 H⁺ +0.05438 11 L-Arginine -0.05183 12 L-Lysine -0.05051 13 L-Valine -0.04957 14 Glycine -0.04599 15 L-Alanine -0.04577 16 L-Glutamine -0.03846 17 L-Glutamate -0.03845 18 L-Isoleucine -0.03811 19 pe161_c -0.03725 20 kdo2lipid4_e -0.03580 21 L-Asparagine -0.03185 22 L-Aspartate -0.03184 23 pe160_p -0.03179 24 L-Phenylalanine -0.03060 25 L-Threonine -0.03022 26 murein5px4p_p -0.02630 27 L-Proline -0.02545 28 L-Tyrosine -0.02499 More ATP turnover does not mean more ATP retained in biomass. ATP: 27.233 g consumed per gDW. ADP and phosphate return most of that mass to metabolism. Molecular weight matters: leucine: 59.10 mg per gDW glycine: 45.99 mg per gDW Net retained mass is the difference between inputs and outputs 29.251801 g consumed − 28.251806 g produced = 0.999994 g Net retained mass ≈ 1 g per g new dry biomass, or ≈ 1000 mg/gDW. Lipid and cell-wall entries retain model identifiers. Full names and all 72 rows are below.
Figure 6c. Mass weighting changes which precursors dominate the recipe. Every value is computed from the same archived iJO1366 biomass column and molecular formulas. The two panels show the leading 28 of 72 entries on explicitly different scales. Leucine overtakes glycine, and large lipid and cell-wall precursors move upward. The bars measure gross mass consumption or production per gram of new dry biomass. They are not individual fractions of the final cell. The net mass calculation uses all 72 entries.

The ranking changes substantially among the building blocks. Leucine contributes 59.10 mg of input per gram dry weight, compared with 45.99 mg for glycine. The KDO₂-lipid IV(A) entry contributes 35.80 mg despite its coefficient of only 0.019456 mmol per gram dry weight. The cross-linked peptidoglycan entry contributes 26.30 mg. The full table retains both ranks, molecular formulas and exact model identifiers.

Multiplying a recipe amount by the specific growth rate gives its demand per hour. At μ=0.5 h−1\mu=0.5\,\mathrm{h}^{-1}, the leucine demand is 59.10×0.5=29.5559.10\times0.5=29.55 mg per gram of existing dry biomass per hour. This conversion changes an amount per gram newly formed into a rate per gram already present. Changing the growth rate scales the demands together while this fixed recipe remains unchanged.

Inspect all 72 mass-weighted entries beside their molar ranks
All 72 biomass entries ranked by absolute mass throughput. Molecular weights use the archived model formulas and the same atomic weights as COBRApy.
Mass rankMolar rankMetabolite and IDFormulaCoefficient (mmol/gDW)Molecular weight (g/mol)Signed mass (g/gDW)
11ATP C10H12N5O13P3 [atp_c]C10H12N5O13P3-54.124831503.149263-27.23286883
22ADP C10H12N5O10P2 [adp_c]C10H12N5O10P2+53.950000424.177302+22.88436544
34Phosphate [pi_c]HO4P+53.94566295.979301+5.17766693
45H2O H2O [h2o_c]H2O-48.60152718.015280-0.87557012
56Diphosphate [ppi_c]HO7P2+0.773903174.951262+0.13539531
621GTP C10H12N5O14P3 [gtp_c]C10H12N5O14P3-0.215096519.148663-0.11166680
725UTP C9H11N2O15P3 [utp_c]C9H11N2O15P3-0.144104480.109323-0.06918567
827CTP C9H12N3O14P3 [ctp_c]C9H12N3O14P3-0.133508479.124563-0.06396696
99L-Leucine [leu__L_c]C6H13NO2-0.450531131.172920-0.05909747
103H+ [h_c]H+53.9500001.007940+0.05437836
1112L-Arginine [arg__L_c]C6H15N4O2-0.295792175.208900-0.05182539
1211L-Lysine [lys__L_c]C6H15N2O2-0.343161147.195500-0.05051175
1310L-Valine [val__L_c]C5H11NO2-0.423162117.146340-0.04957188
147Glycine [gly_c]C2H5NO2-0.61263875.066600-0.04598865
158L-Alanine [ala__L_c]C3H7NO2-0.51368989.093180-0.04576619
1614L-Glutamine [gln__L_c]C5H10N2O3-0.263160146.144500-0.03845939
1715L-Glutamate [glu__L_c]C5H8NO4-0.263160146.121320-0.03845329
1813L-Isoleucine [ile__L_c]C6H13NO2-0.290529131.172920-0.03810954
1931Phosphatidylethanolamine (dihexadec-9enoyl, n-C16:1) [pe161_c]C37H70N1O8P1-0.054154687.927361-0.03725402
2038KDO(2)-lipid IV(A) [kdo2lipid4_e]C84H148N2O37P2-0.0194561840.012642-0.03579929
2117L-Asparagine [asn__L_c]C4H8N2O3-0.241055132.117920-0.03184769
2218L-Aspartate [asp__L_c]C4H6NO4-0.241055132.094740-0.03184210
2332Phosphatidylethanolamine (dihexadecanoyl, n-C16:0) [pe160_p]C37H74N1O8P1-0.045946691.959121-0.03179275
2423L-Phenylalanine [phe__L_c]C9H11NO2-0.185265165.189140-0.03060377
2516L-Threonine [thr__L_c]C4H9NO3-0.253687119.119160-0.03021898
2640Two disacharide linked murein units, pentapeptide crosslinked tetrapeptide (A2pm->D-ala) (middle of chain) [murein5px4p_p]C77H117N15O40-0.0138941892.829380-0.02629897
2719L-Proline [pro__L_c]C5H9NO2-0.221055115.130460-0.02545016
2826L-Tyrosine [tyr__L_c]C9H11NO3-0.137896181.188540-0.02498517
2924L-Methionine [met__L_c]C5H11NO2S-0.153686149.211340-0.02293169
3020L-Serine [ser__L_c]C3H7NO3-0.215792105.092580-0.02267814
3128L-Histidine [his__L_c]C6H9N3O2-0.094738155.154560-0.01469903
3237Phosphatidylethanolamine (dihexadec-9enoyl, n-C16:1) [pe161_p]C37H70N1O8P1-0.021060687.927361-0.01448775
3334DGTP C10H12N5O13P3 [dgtp_c]C10H12N5O13P3-0.027017503.149263-0.01359358
3435DATP C10H12N5O12P3 [datp_c]C10H12N5O12P3-0.026166487.149863-0.01274676
3533DCTP C9H12N3O13P3 [dctp_c]C9H12N3O13P3-0.027017463.125163-0.01251225
3636DTTP C10H13N2O14P3 [dttp_c]C10H13N2O14P3-0.026166478.136503-0.01251092
3739Phosphatidylethanolamine (dihexadecanoyl, n-C16:0) [pe160_c]C37H74N1O8P1-0.017868691.959121-0.01236393
3830L-Tryptophan [trp__L_c]C11H12N2O2-0.056843204.225180-0.01160877
3929L-Cysteine [cys__L_c]C3H7NO2S-0.091580121.158180-0.01109567
4022Potassium [k_c]K-0.19519339.098300-0.00763171
4148Nicotinamide adenine dinucleotide [nad_c]C21H26N7O14P2-0.001831662.417162-0.00121289
4251Coenzyme A [coa_c]C21H32N7O16P3S-0.000576763.502363-0.00043978
4343Iron (Fe3+) [fe3_c]Fe-0.00780855.845000-0.00043604
4447Sulfate [so4_c]O4S-0.00433896.062600-0.00041672
4544Fe2+ mitochondria [fe2_c]Fe-0.00671555.845000-0.00037500
4652Nicotinamide adenine dinucleotide phosphate [nadp_c]C21H25N7O17P3-0.000447740.381183-0.00033095
4741Ammonium [nh4_c]H4N-0.01301318.038460-0.00023473
4842Magnesium [mg2_c]Mg-0.00867524.305000-0.00021085
4945Calcium [ca2_c]Ca-0.00520540.078000-0.00020861
5064Siroheme C42H36FeN4O16 [sheme_c]C42H36FeN4O16-0.000223908.597440-0.00020262
5167Bis-molybdopterin guanine dinucleotide [bmocogdp_c]C40H44N20O27P4S4Mo-0.0001221584.990204-0.00019337
5246Chloride [cl_c]Cl-0.00520535.453000-0.00018453
5359Flavin adenine dinucleotide oxidized [fad_c]C27H31N9O15P2-0.000223783.533862-0.00017473
54572-Octaprenyl-6-hydroxyphenol [2ohph_c]C46H70O2-0.000223655.046800-0.00014608
5561Protoheme C34H30FeN4O4 [pheme_c]C34H30FeN4O4-0.000223614.471400-0.00013703
565610-Formyltetrahydrofolate [10fthf_c]C20H21N7O7-0.000223471.423440-0.00010513
57605,10-Methylenetetrahydrofolate [mlthf_c]C20H21N7O6-0.000223455.424040-0.00010156
58655,6,7,8-Tetrahydrofolate [thf_c]C19H21N7O6-0.000223443.413340-0.00009888
5966Thiamine diphosphate [thmpp_c]C12H16N4O7P2S-0.000223422.290562-0.00009417
6055[4Fe-4S] iron-sulfur cluster [4fe4s_c]S4Fe4-0.000260351.640000-0.00009143
6158S-Adenosyl-L-methionine [amet_c]C15H23N6O5S-0.000223399.445320-0.00008908
6263Riboflavin C17H20N4O6 [ribflv_c]C17H20N4O6-0.000223376.363900-0.00008393
6362Pyridoxal 5'-phosphate [pydx5p_c]C8H8NO6P-0.000223245.125981-0.00005466
6468Undecaprenyl diphosphate [udcpdp_c]C55H89O7P2-0.000055924.238482-0.00005083
6549Copper [cu2_c]Cu-0.00070963.546000-0.00004505
6650Manganese [mn2_c]Mn-0.00069154.938049-0.00003796
6753Zinc [zn2_c]Zn-0.00034165.409000-0.00002230
6854Nickel [ni2_c]Ni-0.00032358.693400-0.00001896
6969[2Fe-2S] iron-sulfur cluster [2fe2s_c]S2Fe2-0.000026175.820000-0.00000457
7070Co2+ [cobalt2_c]Co-0.00002558.933200-0.00000147
7171Molybdate [mobd_c]MoO4-0.000007159.937600-0.00000112
7272Biotin [btn_c]C10H15N2O3S-0.000002243.302700-0.00000049

Gross input mass is not retained biomass mass. The ATP entry alone consumes about 27.23 grams of ATP throughput per gram dry weight formed. That does not mean the cell is mostly ATP. ATP hydrolysis returns ADP, phosphate and protons. Polymerization also releases material, including water and diphosphate. These products must be subtracted before interpreting cell composition.4, 35

mconsumed=29.251801 g/gDW,mproduced=28.251806 g/gDW,mretained=−∑imi=0.999994 g/gDW≈1.\begin{aligned} m_{\mathrm{consumed}}&=29.251801\ \mathrm{g/gDW},\\ m_{\mathrm{produced}}&=28.251806\ \mathrm{g/gDW},\\ m_{\mathrm{retained}}&=-\sum_i m_i =0.999994\ \mathrm{g/gDW}\approx1. \end{aligned}

The net retained mass is approximately 1 g/gDW, or 1000 mg/gDW. This is the difference between all consumed and all returned masses. The signed sum of the entries is approximately −1 g/gDW under the consumption-negative convention. The sum of their absolute values is about 57.50 g/gDW. Neither that absolute sum nor the displayed subset is a partition of cell mass. The small deviation of the net mass from one gram comes from the rounded model coefficients.

A composition fraction requires accounting for material that leaves again. Normalizing the consumed ATP, water and precursor masses by their gross sum describes the input mixture. To obtain retained composition, subtract the products and account for polymerization. The elemental fractions computed below do sum to one, or 100%.

Separate ATP turnover and compute actual elemental mass fractions

Growth-associated ATP hydrolysis is an explicit part of this recipe. The source estimates 53.95 mmol ATP per gram dry weight. Remove that many copies of the composite conversion ATP+H2O⇝ADP+Pi+H+\mathrm{ATP}+\mathrm{H_2O}\rightsquigarrow\mathrm{ADP}+\mathrm{P_i}+\mathrm{H}^{+}. The residual ATP coefficient is −0.174831-0.174831, and the residual water coefficient is +5.348473+5.348473. ATP also supplies nucleotide material, while biosynthesis releases water. Removing ATP turnover alone therefore does not finish the polymerization accounting.4

The elemental composition can be recovered without assigning a byproduct to a particular polymer. For element ee, let nein_{ei} be the number of its atoms in metabolite ii, and let MeM_e be its atomic molar mass. Net retained elemental mass and its fraction are

me=−Me1000∑iγi,bionei,fe=memretained,∑efe=1.m_e=-\frac{M_e}{1000}\sum_i\gamma_{i,\mathrm{bio}}n_{ei}, \qquad f_e=\frac{m_e}{m_{\mathrm{retained}}}, \qquad \sum_e f_e=1.

These are model-implied elemental mass fractions after all output molecules are subtracted. A protein/RNA/lipid composition requires the corresponding macromolecular recipe and polymerization bookkeeping. It cannot be obtained by treating each input molecule's gross mass as a retained fraction.

Model-implied elemental mass fractions after all produced metabolites are subtracted. The fractions are normalized by the computed net retained mass.
ElementRetained mass (g/gDW)Mass fraction (%)
C0.4929603049.2963
O0.2437558724.3757
N0.1512837615.1285
H0.064758516.47589
P0.029878252.98784
S0.008087050.808709
K0.007631710.763176
Fe0.000896930.0896931
Mg0.000210850.0210847
Ca0.000208610.0208607
Cl0.000184530.0184534
Cu0.000045050.00450544
Mn0.000037960.00379624
Zn0.000022300.00223046
Ni0.000018960.00189581
Mo0.000012380.00123763
Co0.000001470.000147334

The objective is the model's core biomass reaction. Its fixed composition converts the biomass flux into a specific growth rate μ\mu, in inverse hours. All internal balances and archived bounds remain active. Here exchange fluxes join the other columns in vv, so the balance is written Sv=0Sv=0.

The biomass flux is the throughput of the whole one-gram recipe. An ordinary reaction flux is measured in millimoles per gram of existing dry biomass per hour. The biomass reaction instead counts grams of newly formed dry biomass. Its coefficients are in millimoles per gram newly formed, so its flux has units

vbio  :  gDW newly formedgDW already present⋅h.v_{\mathrm{bio}}\;:\;\frac{\mathrm{gDW\ newly\ formed}}{\mathrm{gDW\ already\ present}\cdot\mathrm{h}}.

Every precursor balance constrains this same biomass flux. The leucine coefficient is −0.450531 mmol per gram of new biomass. Its balance therefore requires the other reactions to supply 0.450531vbio0.450531v_{\mathrm{bio}} mmol per gram of existing biomass per hour. At the Figure 7a optimum, vbio≈0.982v_{\mathrm{bio}}\approx0.982, this demand is about 0.443 mmol per gram per hour. All 72 biomass entries impose their coupled demands at once.

Specific growth is new biomass production divided by existing biomass. Let BB be the existing dry biomass. In the absence of biomass removal or death, the recipe produces biomass at rate dB/dt=vbioBdB/dt=v_{\mathrm{bio}}B. Thus

μ≡1BdBdt=dln⁡Bdt=vbio,μ∗=max⁡vvbiosubject to Sv=0, ℓ≤v≤u.\mu\equiv\frac{1}{B}\frac{dB}{dt}=\frac{d\ln B}{dt}=v_{\mathrm{bio}},\qquad \mu^*=\max_v v_{\mathrm{bio}}\quad\text{subject to }Sv=0,\ \ell\leq v\leq u.

The objective vector assigns weight one to this biomass reaction and zero to every other reaction. Figure 7a reports the optimized biomass flux. The network must be able to supply the entire recipe at that rate.

Growth requires a convention for the steady-pool approximation. A concentration balance in a growing volume includes dilution, −μq-\mu q. FBA neglects dilution of the retained metabolite pools relative to their turnover while keeping incorporation into biomass as an explicit sink. Part 4 includes dilution in a small dynamic growth model. Lecture 14 develops the systematic production-and-dilution theory.

Model counts and the meaning of the core biomass objective

The executable file includes exchange, biomass and compartment-indexed pools. The 2011 paper instead reports 1,366 biological genes, 2,251 metabolic and transport reactions and 1,136 unique metabolites. The different counts describe different objects.

The word “core” names one biomass composition inside iJO1366. It does not mean the separate 95-reaction E. coli core teaching model.

The environment enters through exchange bounds. A negative exchange flux denotes import. We change the glucose uptake cap GG and oxygen uptake cap OO while retaining the archived medium and ATP-maintenance requirement:

−G≤vEX,glucose≤1000,−O≤vEX,oxygen≤1000,vATPM≥3.15.-G\leq v_{\mathrm{EX,glucose}}\leq1000,\qquad-O\leq v_{\mathrm{EX,oxygen}}\leq1000,\qquad v_{\mathrm{ATPM}}\geq3.15.

These fluxes are in millimoles per gram dry weight per hour. The large upper bounds are modeling bounds, not measured enzyme capacities. The exchange constraints limit supply. They do not force the model to consume all available oxygen.

Use the controls to compare constraints, one at a time. Keep the glucose uptake cap at 10. Compare oxygen caps 0, 5 and 20 using the three buttons. Track the growth bound and the products exported by the selected solution. Then increase the oxygen cap from 20 to 30. Predict whether relaxing this one constraint can ever lower the best attainable growth.

Oxygen supply changes the best attainable growth rate 0 10 20 30 0 0.5 1 1.5 2
oxygen uptake cap\text{oxygen uptake cap}
μ∗  (h−1)\mu^*\;(\mathrm{h}^{-1})
glucose 5 glucose 10 glucose 20 Selected condition Maximum specific growth 0.982
h−1\mathrm{h}^{-1}
Doubling time: 42.3 min Oxygen imported 17.58 Glucose imported 10.00 Acetate exported 0.00 Ethanol exported 0.00 Formate exported 0.00 Selected optimum with minimum total flux.
uptake caps and exchanges:mmol gDW−1 h−1\text{uptake caps and exchanges:}\quad\mathrm{mmol}\,\mathrm{gDW}^{-1}\,\mathrm{h}^{-1}

Glucose cap 10. Oxygen cap 20. Maximum specific growth 0.982 per hour. Doubling time 42.3 minutes if this growth rate is maintained.

Figure 7a. Relaxing oxygen supply can increase the growth bound. Every point solves the complete iJO1366 linear program. The three curves use glucose caps of 5, 10 and 20. At glucose cap 10, the growth bound rises from 0.242 h−10.242\,\mathrm{h}^{-1} without oxygen to 0.982 h−10.982\,\mathrm{h}^{-1} with oxygen cap 20. The selected exchange readout uses a second optimization that minimizes total absolute flux while preserving the maximum biomass flux. These are computed model predictions. Controls select precomputed solutions and work offline.

The growth rate uses the natural logarithm of biomass. If μ\mu remains constant, B(t)=B(0)eμtB(t)=B(0)e^{\mu t}. To find the doubling time, set B(tdouble)=2B(0)B(t_{\mathrm{double}})=2B(0). Then

tdouble=ln⁡2μ≈0.6930.982 h≈0.706 h≈42 min.t_{\mathrm{double}}=\frac{\ln 2}{\mu}\approx\frac{0.693}{0.982}\,\mathrm{h}\approx0.706\,\mathrm{h}\approx42\,\mathrm{min}.

The e-folding time is 1/μ≈61.11/\mu\approx61.1 minutes. The number of doublings per hour is μ/ln⁡2≈1.42\mu/\ln2\approx1.42. The controls compute doubling time from the unrounded model optimum. This is a constant-condition interpretation of the growth bound. If nutrients or other constraints change, the growth rate changes too.

Relaxing one bound preserves every previously feasible solution. With the same glucose cap and objective, increasing the oxygen cap can therefore only increase or preserve the maximal growth rate. At glucose cap 10, the bound is approximately 0.242, 0.492 and 0.982 per hour for oxygen caps 0, 5 and 20. The computation gives a numerical instance of the nested-set argument.

A flat oxygen curve does not mean every growth constraint has disappeared. At glucose cap 10, raising the oxygen cap from 20 to 30 gives the same growth bound. Keep oxygen at 20 and raise the glucose cap to 20 instead. The bound rises from 0.982 to 1.455 per hour. The effect of a constraint depends on which other supplies remain limited.

The selected solution also allocates uptake and export. At glucose cap 10 and oxygen cap 5, the selected solution secretes acetate, ethanol and formate. At oxygen cap 20, the selected solution uses about 17.58 oxygen units and secretes none of these three products. A single optimal internal flux pattern need not be unique. Minimizing and maximizing individual fluxes while holding growth optimal reveals that remaining freedom.

Follow the internal flux, not only the growth bound

The growth bound summarizes the whole network in one number. It does not say which reactions carry the carbon. The same optimum also returns a flux for every reaction. Reading a few named reactions from that vector turns the bound into a route. Fluxes below are millimoles per gram dry weight per hour.

Three oxygen caps expose the change. Hold glucose at 10 and set oxygen at 0, 5 and 20. Each condition solves the same linear program. We then keep the representative that minimizes the total absolute flux at that growth rate. Every printed value was checked by minimizing and maximizing the same reaction at fixed growth. At these three conditions nearly every printed value is fixed across the whole optimal face. The exception is oxygen uptake at cap 20, where the model may take up more than the 17.6 shown.

With oxygen in excess, glucose limits growth and the oxidative routes carry the carbon that is not built into biomass. At oxygen cap 20 the optimum grows at 0.982 h−10.982\,\mathrm{h}^{-1}. Lower glycolysis, read at enolase, carries 14.6, or about 1.5 triose units per glucose. Pyruvate dehydrogenase adds 7.97 to acetyl-CoA. The TCA cycle takes 4.86 at citrate synthase, and the pentose phosphate pathway takes 4.08 at glucose-6-phosphate dehydrogenase. The ATP synthase flux is 55.8. Net carbon dioxide export is 19.7, and no acetate, ethanol or formate leaves the cell. Two thirds of the glucose carbon ends in biomass.

When oxygen is too scarce to oxidize the carbon, pyruvate takes a different route and the fermentation products carry the remaining carbon. At oxygen cap 5 the optimum grows at 0.492 h−10.492\,\mathrm{h}^{-1} and consumes all five oxygen units. Pyruvate dehydrogenase falls to zero. Pyruvate formate lyase carries 14.7 and splits pyruvate into acetyl-CoA and formate. The TCA cycle falls to 0.53 and the pentose phosphate pathway to zero. Acetate, formate and ethanol leave at 11.4, 14.6 and 1.25. The ATP synthase flux falls to 9.41. One third of the carbon reaches biomass.

Without oxygen the same shift goes further. Acetate, formate and ethanol leave at 8.21, 17.3 and 8.08, and growth falls to 0.242 h−10.242\,\mathrm{h}^{-1}. A small TCA flux of 0.26 remains, because biosynthesis still withdraws TCA intermediates. Net carbon dioxide exchange is close to zero.

Oxygen supply changes which pathway carries the carbon iJO1366 with glucose uptake capped at 10. Fluxes are in mmol gDW⁻¹ h⁻¹. Arrow width is proportional, on one scale. Oxygen cap 0 no terminal electron acceptor growth 0.242 h⁻¹ 17% of carbon to biomass glucose 10.0 G6P PPP 0 precursors + CO₂ glycolysis 19.0 pyruvate PDH 0 PFL 17.3 formate 17.3 acetyl-CoA acetate 8.21 ethanol 8.08 0.26 TCA cycle + respiration O₂ 0 CO₂ ≈0 Oxygen cap 5 too little oxygen to oxidize the carbon growth 0.492 h⁻¹ 34% of carbon to biomass glucose 10.0 G6P PPP 0 precursors + CO₂ glycolysis 18.0 pyruvate PDH 0 PFL 14.7 formate 14.6 acetyl-CoA acetate 11.4 ethanol 1.25 0.53 TCA cycle + respiration O₂ 5.00 CO₂ ≈0 Oxygen cap 20 oxygen in excess, so glucose limits growth growth 0.982 h⁻¹ 67% of carbon to biomass glucose 10.0 G6P PPP 4.08 precursors + CO₂ glycolysis 14.6 pyruvate PDH 7.97 PFL 0 formate 0 acetyl-CoA acetate 0 ethanol 0 4.86 TCA cycle + respiration O₂ 17.6 CO₂ 19.7 Each arrow is an overall conversion, not an elementary step. Lower glycolysis carries two triose units per glucose. 5 flux units Pyruvate dehydrogenase releases one NADH and one CO₂ per acetyl-CoA. Pyruvate formate lyase releases formate and no NADH.
Figure 7b. The same optimum at three oxygen supplies, drawn as pathway fluxes. Every panel solves iJO1366 with glucose uptake capped at 10 and the oxygen cap shown. Arrow width is reaction flux in millimoles per gram dry weight per hour, on one scale for all panels. Numbers are reaction fluxes: enolase for lower glycolysis, pyruvate dehydrogenase, pyruvate formate lyase, citrate synthase for TCA entry, glucose-6-phosphate dehydrogenase for the pentose phosphate pathway, the exchanges, and growth. Lower glycolysis carries two triose units per glucose. The carbon dioxide arrow is net export from pyruvate dehydrogenase, the TCA cycle and the pentose phosphate pathway, after the small anaplerotic uptake. The PPP and TCA blocks are projections that lump several reactions, so every arrow is an overall conversion rather than an elementary step. Each printed value is fixed across all growth-optimal solutions, except oxygen uptake at cap 20, which can be anywhere from 17.6 to 20. The panel shows the minimum-total-flux value. The growth rate and the carbon share in each header come from the same solution.

The shift follows the reducing power. Glycolysis reduces NAD+ at the glyceraldehyde-3-phosphate dehydrogenase step. Pyruvate dehydrogenase would add one NADH per acetyl-CoA. Without oxygen, respiration cannot reoxidize that NADH, so the optimum must match NADH production to the sinks that remain. Ethanol production consumes two NADH per acetyl-CoA and is the largest sink without oxygen. Pyruvate formate lyase releases formate and makes no NADH. The optimum uses it instead of pyruvate dehydrogenase. Acetate formation can also return ATP through acetate kinase. The optimum does not fix how much acetate passes that step, so the figure makes no ATP claim for acetate.

Figure 7c follows the same three solutions from NADH source to sink.

Oxygen decides where the reducing power goes iJO1366 solutions of Figure 7b. Arrow width is NADH flux in mmol gDW⁻¹ h⁻¹, on one scale. Oxygen cap 0 no oxygen acceptor glycolysis (GAPD) 19.4 pyruvate dehydrogenase (PDH) 0 TCA cycle (MDH, AKGDH) 0.17 other reactions 0.65 respiratory chain 0 ethanol (ACALD, ALCD2x) 16.2 NADPH and other 4.08 NADH 20.2 mmol gDW⁻¹ h⁻¹ Oxygen cap 5 the chain takes half of it glycolysis (GAPD) 18.8 pyruvate dehydrogenase (PDH) 0 TCA cycle (MDH, AKGDH) 0.51 other reactions 1.32 respiratory chain 9.84 ethanol (ACALD, ALCD2x) 2.50 NADPH and other 8.31 NADH 20.7 mmol gDW⁻¹ h⁻¹ Oxygen cap 20 the chain takes most of it glycolysis (GAPD) 16.3 pyruvate dehydrogenase (PDH) 7.97 TCA cycle (MDH, AKGDH) 8.63 other reactions 2.75 respiratory chain 31.0 ethanol (ACALD, ALCD2x) 0 NADPH and other 4.60 NADH 35.6 mmol gDW⁻¹ h⁻¹
Figure 7c. Oxygen decides where the reducing power goes. Each row uses the same iJO1366 solution as the matching panel of Figure 7b. Sources of NADH are on the left and sinks on the right, in NADH units per gram dry weight per hour. Arrow width is proportional to flux on one scale. The pool total equals the sum of its sources and of its sinks. Without oxygen, ethanol formation is the largest sink. At oxygen cap 20, pyruvate dehydrogenase and the TCA cycle add 16.6 units of NADH and the respiratory chain takes 31.0 of the 35.6 made. The remaining sink includes the transhydrogenase that supplies NADPH and reactions of biosynthesis. Every group total, not only the pool total, is fixed across all growth-optimal solutions at these three conditions.

The switch happens at a common oxygen-to-glucose ratio. Overflow products disappear at oxygen cap 10 for glucose 5 and at cap 18 for glucose 10. At those caps the model consumes about 1.8 oxygen per glucose: 9.07/5=1.819.07/5=1.81 and 17.58/10=1.7617.58/10=1.76. Extra oxygen above that ratio is unused, so growth then follows the glucose supply alone.

Below that ratio, more glucose lowers the carbon yield. At oxygen cap 5, raising glucose from 5 to 20 raises growth from 0.34 to 0.77 and lowers the share of carbon retained in biomass from 0.46 to 0.26. The extra sugar is fermented at a lower yield. Without oxygen the share is 0.17. At the threshold it is 0.67. Figure 7d plots this share against the supply ratio for three glucose caps.

Carbon yield follows the oxygen-to-glucose supply ratio Every archived iJO1366 solution at glucose caps 5, 10 and 20. The curves nearly coincide. 0 0.5 1 1.5 2 2.5 0.0 0.2 0.4 0.6 0.8 oxygen supplied per glucose (mol mol⁻¹) carbon in biomass / carbon in glucose no overflow products above 1.76 O₂ per glucose glucose 10 glucose 5 glucose 20 regimes of Figure 7b oxygen scarce oxygen in excess two thirds of the carbon becomes biomass one glucose in six becomes biomass
Figure 7d. Carbon yield follows the oxygen-to-glucose supply ratio. Each point is one archived iJO1366 solution at glucose caps 5, 10 and 20. The vertical axis is carbon retained in biomass divided by carbon taken up as glucose. Plotted against the ratio of the caps, the three curves nearly coincide. The residual gap comes from the fixed ATP maintenance requirement, which costs relatively more when growth is slow. The shading separates the oxygen-scarce region from the region where oxygen is in excess. Overflow products disappear above about 1.8 oxygen per glucose. Beyond that ratio the extra oxygen is unused, so the yield is flat. The marked points are the three regimes of Figure 7b.

The calculation bounds the route. It does not measure it. Growth and the exchange fluxes are fixed by the optimum. Several internal fluxes are not. Between oxygen caps of about 6 and 17 the model can excrete or oxidize formate at the same growth rate, so the partition shown in that band would follow the chosen representative. The three panels avoid that band, and their printed values are fixed. A predicted flux becomes evidence only when its variability range is narrow and the exchange fluxes agree with measurement.

Inspect all 2,583 reaction records and three computed conditions

The searchable table shows each complete signed stoichiometric column, gene rule and original bounds. Flux columns use glucose cap 10 and oxygen caps 0, 5 and 20, the three conditions of Figure 7b. They are minimum-total-flux representatives at maximal growth. Start by finding PFK to inspect the five coefficients shown in Figure 6 and its gene rule. Then find BIOMASS to inspect the larger recipe. Gene associations identify possible enzymes. They do not supply enzyme concentrations or kinetic laws.

ReactionOriginal boundsOxygen 0Oxygen 5Oxygen 20
Compare with the 2022 notebook's smaller teaching model

The preserved notebook first loads iJO1366, then replaces it with the COBRA textbook model. That 95-reaction model is valuable for inspecting central metabolism. It is not a genome-scale model. The updated calculation retains both versions. With glucose cap 10 and oxygen cap 20, the core teaching model predicts 0.833 h−10.833\,\mathrm{h}^{-1}. Its ATP-maintenance lower bound is 8.39 rather than 3.15. Numerical answers should always be tied to a named model, objective and medium.

Genome-scale reconstruction grew through sequencing and biochemical curation. The first genome-scale E. coli reconstruction was assembled in 2000. iJO1366 is a later curated version of that lineage. Such reconstructions provide metabolic constraints for broader virtual-cell models. They do not by themselves specify every cellular behavior.4

The next question is which additional constraint explains a missing behavior. Changing external nutrients can explain a batch trajectory. Protein budgets can explain pathway allocation. Thermodynamics can exclude an impossible cycle. Each extension adds information for a particular question. We will inspect those choices before returning to intracellular ATP regulation.

Specify the reconstruction, biomass objective, medium and exchange limits before quoting a growth prediction. Read the biomass column as the coupled demand that the rest of the network must supply.

Part 3 (optional) · Extend flux balance analysis to answer new questions

Add a state or a physical restriction. Then identify the new behavior it makes predictable.

A model's coverage and its assumptions are separate choices. A genome-scale reconstruction collects reactions across an organism. Flux balance analysis specifies how that reconstruction is used: balance internal pools, impose bounds and optimize an objective. The same reconstruction can support several different models. A small reconstruction can also expose a general principle clearly.

Distinguish reconstruction data, optimization restrictions and dynamic states A genome-scale reconstruction supplies reaction and stoichiometric data. Common flux balance extensions add external dynamics, proteome budgets, enzyme capacity or thermodynamic feasibility. Kinetic hybrids can retain selected intracellular accumulation. Whole-cell mechanistic models and scGPT are separate model classes, not successive FBA refinements. What does each modeling choice add? Genome-scale reconstruction: a curated reaction network Stoichiometry, reaction identities, compartments, exchange bounds and biomass composition. Flux balance analysis: optimize a task subject to internal steady balance Sv = 0 External nutrients, biomass and exchanges evolve. Common form: internal pools remain quasi-steady. Dynamic flux balance analysis Protein allocation budgets limit flux combinations. Dynamic allocation extensions add protein or regulatory states. Proteome-constrained flux balance analysis Enzyme abundance and catalytic capacity limit rates. One-way flux ≤ turnover rate × enzyme amount. Enzyme-constrained flux balance analysis Chemical potentials restrict feasible reaction directions. Concentration ranges and ΔG supplement mass balance. Thermodynamic constraints Selected rates depend on metabolite and enzyme states. Selected intracellular pools can accumulate. Kinetic and dynamic hybrids Other model classes answer different questions Whole-cell mechanistic models Couple heterogeneous process models through shared cellular states and resources. scGPT and related data models Learn patterns in single-cell expression data. A learned representation is not a mass-balance solver. Ask separately: which restrictions are imposed, and which states actually evolve?
Figure 8. Classify models by the information they add. Dynamic flux balance analysis adds environmental and population states. Proteome and enzyme constraints limit machinery. Thermodynamics restricts reaction directions. Kinetic information constrains rates and can be combined with internal-pool dynamics. These ingredients can overlap. Whole-cell models and learned single-cell representations describe other kinds of objects.

Each example below starts with a question that steady stoichiometry leaves unanswered. The notebook first changes one quantity in an actual reconstruction. It then uses small models to make each added assumption visible. The reduced demonstrations reproduce a mechanism or a mathematical consequence. Their parameters are declared teaching choices unless a source equation is explicitly reproduced.

8Predict batch growth by coupling steady fluxes to a changing environment

A cell can have nearly balanced internal metabolites while the culture around it changes dramatically. How do a finite nutrient supply and increasing biomass shape a batch trajectory?

Dynamic flux balance analysis repeatedly solves a metabolic allocation problem inside an external differential equation. Let XX be biomass concentration in grams dry weight per liter and GG extracellular glucose concentration in millimoles per liter. At the current glucose level, solve a growth-maximizing flux balance problem with a concentration-dependent uptake cap:

v∗(G)∈argmax⁡v vbiomass,Sv=0,0≤−vEX,glucose≤Vmax⁡GKG+G.v^*(G)\in\underset{v}{\operatorname{argmax}}\ v_{\mathrm{biomass}},\qquad Sv=0,\qquad 0\leq -v_{\mathrm{EX,glucose}}\leq V_{\max}\frac{G}{K_G+G}.

All other medium and reaction bounds remain part of the optimization. The upper bound describes transport availability. It is additional kinetic information at the model boundary. It does not specify the internal enzyme rate laws.

The selected uptake and growth fluxes drive the culture state. In a closed batch with no feed or withdrawal,

dXdt=μ∗(G)X,dGdt=vEX,glucose∗(G)X.\frac{dX}{dt}=\mu^*(G)X,\qquad \frac{dG}{dt}=v^*_{\mathrm{EX,glucose}}(G)X.

The exchange flux is negative for import, so glucose declines. Increasing biomass consumes nutrient faster. Depletion lowers the uptake cap and eventually limits growth. Internal pools still obey Sv=0Sv=0 at every evaluation. This is the successive-optimization construction used by many dynamic flux balance models. The original dynamic flux balance analysis paper also considers an optimization over a time horizon and additional kinetic constraints.9

P8Steady intracellular allocation can generate a dynamic culture when biomass and the environment change.

2026-10-20T13:24:57.232238 image/svg+xml Matplotlib v3.10.6, https://matplotlib.org/ 0 1 2 3 4 5 6 Time (h) 0 2 4 6 8 10 External glucose (mmol/L) 0 1 2 3 4 5 6 Time (h) 0.2 0.4 0.6 0.8 1.0 Biomass (gDW/L) External resource depletion changes each successive FBA optimum
Figure 9. A batch trajectory from repeated metabolic optimizations. The archived 95-reaction E. coli core model supplies the growth and uptake fluxes. Initially X=0.05 gDW/LX=0.05\,\mathrm{gDW/L} and G=10 mmol/LG=10\,\mathrm{mmol/L}. The glucose uptake cap is 10G/(0.5+G)10G/(0.5+G) in mmol/(gDW h)\mathrm{mmol/(gDW\,h)}, with oxygen cap 20. ATP maintenance is set to zero for this isolated depletion demonstration. The curve stops growth at the declared glucose-depletion threshold. It does not model starvation maintenance or death. The notebook allows the initial biomass and glucose to be changed separately.

The batch curve uses a smaller reconstruction than Figure 7. The archived E. coli core model contains 95 reactions, rather than iJO1366's 2,583 flux variables. The simulation integrates the two external balances adaptively and solves a new growth-maximizing linear program at each state evaluation. It starts from the stated biomass and glucose concentrations. The transition to zero growth is the chosen depletion rule.

Changing the initial condition makes a useful live prediction exercise. More starting biomass should accelerate nutrient depletion. More starting glucose changes how much material the culture can use. Neither change specifies the duration of a regulatory lag, because this model has no enzyme-adjustment state. A diauxic lag needs further assumptions about uptake or machinery adjustment.

Name the dynamic states. A culture trajectory does not imply that intracellular metabolite transients have been modeled.

9Let species reshape each other's environment to obtain coexistence and history dependence

The same extracellular concentration can be an output of one species and an input to another. This closes an ecological feedback loop around the individual metabolic optimizations.

A shared environment couples separate metabolic models. For species ii, solve its own allocation problem and obtain growth μi∗\mu_i^* and exchange fluxes vi,ex∗v_{i,\mathrm{ex}}^*. With biomass concentrations XiX_i and a vector of external liquid-resource concentrations cc, a continuously fed, well-mixed vessel obeys

X˙i=(μi∗(c)−D)Xi,c˙=D(cin−c)+∑iXivi,ex∗(c)+rtransfer(c).\dot X_i=(\mu_i^*(c)-D)X_i,\qquad \dot c=D(c_{\mathrm{in}}-c)+\sum_i X_i v_{i,\mathrm{ex}}^*(c)+r_{\mathrm{transfer}}(c).

The dilution rate DD has units of inverse time. The transfer term represents additional modeled sources or sinks. Each species remains internally balanced in its flux optimization. The coupling occurs because its uptake or secretion changes the medium used by the others.

Dissolved oxygen uses a separately declared approximation. Following the source model, the reduced demonstration uses O˙=kLa(O∗−O)−∑iXivi,O∗\dot O=k_La(O^*-O)-\sum_iX_iv^*_{i,O}. Here O∗O^* is the supplied gas-equilibrium concentration and kLak_La its transfer rate. Liquid inflow and outflow contributions to dissolved oxygen are neglected relative to this gas exchange. The glucose and polymer balances retain liquid dilution.

Khazaei and colleagues demonstrated a positive ecological feedback through carbon and oxygen. Bacteroides thetaiotaomicron can release accessible sugars from a complex carbohydrate. Klebsiella pneumoniae can use available sugar and consume oxygen. Lower oxygen permits the oxygen-sensitive Bacteroides population to grow and support further sugar release. Their experiments and dynamic flux balance model exhibit alternative community states and history dependence in a continuous-culture setting. The supplement records the model parameters and supporting experiments.2223

Carbon release and oxygen consumption support each other Solid paths carry material: dextran is converted to shared sugars and short-chain fatty acids, which join glucose and oxygen as inputs to respiration and growth. Dashed arrows from the two organism boxes end at composite conversion junctions and indicate enzyme activity, not material consumption. A separate dashed oxygen-inhibition line ends in a bar at Bacteroides thetaiotaomicron. Klebsiella pneumoniae removes oxygen and thereby helps its oxygen-sensitive partner. This redraw retains the mechanism of Khazaei et al. 2020 Figure 2 rather than every reaction. Carbon supply and oxygen removal support coexistence Material flow Solid: consumed or produced at a double-chevron conversion. Enzyme activity Dashed arrow: catalyzes. The organism is not consumed. Inhibition Dashed bar: suppresses anaerobe growth. Continuously mixed culture · dextran and glucose feed · oxygen gas transfer Dextran Bacteroides thetaiotaomicron Oxygen-sensitive anaerobe Catalyzes Shared sugars and short-chain fatty acids Released carbon Glucose feed Klebsiella pneumoniae Facultative anaerobe Catalyzes Respiration and growth O₂ from gas transfer Respiration products and new biomass O₂ inhibits the anaerobe. Consuming O₂ weakens this inhibition. Established partnership More anaerobe activity → more usable carbon → more oxygen consumption → less oxygen inhibition → more anaerobe activity A mechanism diagram: composite conversions, not a complete stoichiometric reaction list.
Figure 10a. Two species change the carbon and oxygen conditions that support each other. Original mechanism redraw from Khazaei et al. (2020), Fig. 2 and pp. 1–3.22 Bacteroides thetaiotaomicron releases usable carbon from dextran. Klebsiella pneumoniae can consume that carbon and oxygen. Oxygen removal supports the oxygen-sensitive partner. Solid paths carry material into or out of the boxed double-chevron conversion junctions. Dashed arrows from organism boxes end at the junctions and indicate enzyme activity. The organisms are not reactants. The separate dashed oxygen-inhibition path ends in a bar at the anaerobe. The figure shows the interactions that the reduced model retains, rather than every exchanged metabolite or reaction.

The reduced demonstration keeps that feedback and makes the allocation problems small. One population supplies usable carbon when oxygen permits its activity. The other consumes oxygen while using the released carbon. A low-helper state can remain oxygenated and exclude the sensitive partner. A sufficiently established community can maintain lower oxygen and support both populations. Distinct initial compositions can therefore approach different outcomes under the same external setting.

Figure 10b uses two purpose-built metabolic models. These are small teaching models, separate from the paper's genome-scale reconstructions. The facultative species has five flux variables: carbon uptake, oxygen uptake, respiration, fermentation and growth. The anaerobic species has four: polymer uptake, polymer conversion, carbon release and growth. Each model has three steady balance equations. The biomass equations use effective yields rather than atom-resolved biomass chemistry.

Each species maximizes its own instantaneous growth. For the facultative species, respiration produces 0.05 grams of biomass per millimole of carbon processed, while fermentation produces 0.01. Respiration also requires oxygen. For the anaerobic species, half the processed polymer carbon is released to the shared medium. The retained half supports growth at yield 0.04 grams per millimole. These are chosen teaching values. Resource-dependent uptake caps saturate with concentration. A chosen oxygen-inhibition factor restricts the anaerobe's polymer processing.

The simulation alternates metabolic optimization with environmental integration. At every evaluation of the five-state differential equation, the current shared carbon, polymer and oxygen concentrations set the uptake bounds. Two linear programs select growth and exchange fluxes. Those fluxes determine the derivatives of the two biomasses and three resource pools. The core trajectories use the HiGHS linear-programming solver inside an adaptive LSODA integration. The notebook also supplies an analytically equivalent optimizer for faster live sweeps.

The two histories share one continuous-culture setting. The dilution rate is D=0.1 h−1D=0.1\,\mathrm{h}^{-1}. Liquid feed supplies 0.5 mmol/L shared carbon and 10 mmol/L polymer-equivalent carbon. Gas transfer relaxes oxygen toward O∗=0.2 mmol/LO^*=0.2\,\mathrm{mmol/L} at kLa=1 h−1k_La=1\,\mathrm{h}^{-1}. Only the initial biomasses and dissolved oxygen differ, as listed in the figure. Both histories are integrated for 500 hours. Panels A and B display their first 100 hours.

The sweep is a second experiment with the same model. Panel C changes the oxygen supply from 0.02 to 0.8 mmol/L and back, settling for 1000 hours at each of 40 supply values. Each new condition starts from the preceding final state. A rare-species probe of 10−8 gDW/L10^{-8}\,\mathrm{gDW/L} at each step tests invasion. The circles at supply 0.2 identify the final states of the two fixed-condition histories. Notebook section 6 exposes the balances, parameters and rerunnable experiments.

P9Feedback through shared resources can produce coexistence and multiple stable community states.

2026-10-21T16:54:25.681361 image/svg+xml Matplotlib v3.10.6, https://matplotlib.org/ 0 20 40 60 80 100 Time (h) 0.0 0.1 0.2 0.3 Biomass (gDW/L) A Biomass at fixed supply Facultative species A Anaerobic species B 0 20 40 60 80 100 Time (h) 0.00 0.05 0.10 0.15 0.20 Dissolved oxygen (mmol/L) B Oxygen at the same supply 0.0 0.2 0.4 0.6 0.8 Oxygen supply (mmol/L) 0.00 0.05 0.10 0.15 0.20 Steady anaerobe biomass (gDW/L) E (solid in A–B) R (dashed in A–B) Supply used in A–B C Sweep oxygen supply Increasing supply Decreasing supply The same supply supports two histories. A sweep reveals hysteresis. A–B: oxygen supply fixed at 0.2 mmol/L C: color and arrowheads show sweep direction Each supply held for 1000 h. Circles mark the terminal states of A–B. Initial state Species A (gDW/L) Species B (gDW/L) Oxygen (mmol/L) R: rare anaerobe, oxygenated 0.05 1e-05 0.2 E: established anaerobe, low oxygen 0.1 0.15 0.001 A–B: line style identifies the initial state. C: colored arrows identify the sweep direction. R: rare anaerobe, oxygenated E: established anaerobe, low oxygen
Figure 10b. The same feed can support different communities. In panels A and B, dashed curves begin with a rare anaerobe in oxygenated medium (R). Solid curves begin with an established anaerobe and low oxygen (E). Panel A uses color for species identity. Panel B shows oxygen for those same two histories. Panel C has its own key: colored arrowheads indicate increasing or decreasing oxygen supply. Its dotted vertical line marks the supply used in A and B. The filled circle is their established-start terminal state. The open circle is their rare-anaerobe-start terminal state. These markers use the independently integrated histories. Doubling the sweep settling time preserves the branches. Local equilibrium Jacobians support stability of both marked states. The models and parameters are an illustrative reduction of the mechanism.

Ecological dynamics can arise from the feedback of metabolic exchange on a shared environment, even when each species uses an instantaneous internal balance.

10Choose the culture protocol before predicting which species persist

A nutrient concentration at equilibrium and a nutrient pulse followed by depletion are different environments. The same organisms can have different winners in them.

Batch, continuous culture and serial transfer have different long-time questions. A single batch asks how an initial supply is consumed. Continuous culture asks which populations persist under continuous replenishment and removal. Serial transfer asks which populations replace the cells discarded at each transfer. Detecting two species at the end of one batch does not establish coexistence through repeated dilution.

Three culture protocols ask different persistence questions Batch culture has one initial nutrient supply. Continuous culture continuously supplies fresh medium and removes culture. Serial transfer alternates batch growth with instantaneous dilution and replenishment. A single batch endpoint is not evidence of stable coexistence. Choose the culture protocol before interpreting persistence Single batch Supply once. Grow and deplete. No repeated removal. Continuous culture Supply and remove continuously at rate δ. Test a steady community. Serial transfer Grow for an interval T. Retain fraction f. Repeat with fresh medium. f Matched logarithmic cell loss: δ = −log(f) / T Continuous persistence: μᵢ(R*) = δ. Serial persistence: ∫₀ᵀ μᵢ(R(t)) dt = −log f. The same average cell loss does not imply the same resource trajectory.
Figure 10c. The apparatus defines the persistence problem. Transport arrows represent supply or removal. Batch culture has no repeated loss. Continuous culture removes cells continuously. Serial transfer combines a continuous growth trajectory with a discrete dilution map. The limit of frequent, shallow transfers recovers continuous dilution.

Continuous loss and pulsed loss can be matched by their effect on cell numbers. Let δ\delta be the continuous dilution rate, TT the transfer interval, and ff the fraction retained. Without growth, continuous culture leaves a fraction e−δTe^{-\delta T}. Match this to ff:

f=e−δT,δ=−log⁡fT.f=e^{-\delta T},\qquad \delta=-\frac{\log f}{T}.

This matches average logarithmic cell loss. It does not match the volume of fresh medium supplied per hour. In the example below, both protocols use the same feed concentration. Their resource histories remain different. Shrinking TT while keeping δ\delta fixed requires f→1f\to1. Shrinking the interval at fixed ff instead raises the average loss rate and can cause washout.

Persistence depends on growth integrated over the actual resource history. For a species with specific growth rate μi(R)\mu_i(R), integration of X˙i=μi(R)Xi\dot X_i=\mu_i(R)X_i between transfers gives the complete cycle multiplier

Λi=fexp⁡ ⁣[∫0Tμi(R(t)) dt],log⁡Λi=∫0Tμi(R(t)) dt−δT.\Lambda_i=f\exp\!\left[\int_0^T\mu_i(R(t))\,dt\right], \qquad \log\Lambda_i=\int_0^T\mu_i(R(t))\,dt-\delta T.

A resident in a recurring cycle has Λi=1\Lambda_i=1. A rare invader grows from cycle to cycle when Λi>1\Lambda_i>1. In continuous culture, the corresponding tests use μi(R∗)−δ\mu_i(R^*)-\delta at the resident equilibrium. An integral along a fluctuating environment cannot generally be replaced by the growth rate at its mean resource concentration.

A protocol change can reverse the winner with every species parameter fixed

Two uptake-limited species provide a complete example. Both convert one unit of resource into one unit of biomass. Each has a single productive route. Its tiny flux balance problem maximizes growth subject to its uptake capacity:

μi∗(R)=max⁡vi{vi:0≤vi≤ViRKi+R}=ViRKi+R.\mu_i^*(R)=\max_{v_i}\left\{v_i:0\leq v_i\leq \frac{V_iR}{K_i+R}\right\} =\frac{V_iR}{K_i+R}.

The declared teaching parameters are VA=0.6 h−1V_A=0.6\,\mathrm{h}^{-1}, KA=0.05K_A=0.05, VB=1.2 h−1V_B=1.2\,\mathrm{h}^{-1} and KB=0.4K_B=0.4. Resource concentration and biomass use compatible mass units, and the feed concentration is one. Species A grows faster at low resource. Species B grows faster when resource exceeds 0.3. There is no cross-feeding, death, reserve state or adaptation in this example.

Continuous culture selects species A because it can sustain growth at a lower resource level. At δ=0.15 h−1\delta=0.15\,\mathrm{h}^{-1}, each species' break-even resource concentration solves μi(Ri∗)=δ\mu_i(R_i^*)=\delta:

Ri∗=KiδVi−δ,RA∗=0.01667,RB∗=0.05714.R_i^*=\frac{K_i\delta}{V_i-\delta}, \qquad R_A^*=0.01667,\qquad R_B^*=0.05714.

A resident A population holds the resource at RA∗R_A^*. Rare B then has net growth −0.102 h−1-0.102\,\mathrm{h}^{-1}. A can invade the B equilibrium at +0.170 h−1+0.170\,\mathrm{h}^{-1}. The invasion tests therefore select A.

Serial transfer selects species B under the matched average cell loss. Retain one percent every T=log⁡(100)/0.15=30.70T=\log(100)/0.15=30.70 hours. Each transfer raises resource back to almost one. Species B uses the high-resource part of that pulse more quickly. On the recurring A-only cycle, rare B multiplies by 5.36 per complete cycle. On the B-only cycle, rare A multiplies by only 0.357. The winner has reversed.

P10The protocol changes the environment experienced by each species, and can reverse which species persists.

image/svg+xml Matplotlib v3.10.6, https://matplotlib.org/ 0.001 0.01 0.1 1 Resource concentration (teaching units) 0.0 0.2 0.4 0.6 0.8 Specific growth rate (h⁻¹) Different advantages at low and high resource Species A Species B Dilution rate 0 20 40 60 80 100 120 140 160 Matched turnover generations, δt / log 2 0.0 0.2 0.4 0.6 0.8 1.0 Fraction of species A Changing the protocol reverses the winner Continuous culture Serial transfer 0 5 10 15 20 25 30 Time since transfer (h) 0.0 0.2 0.4 0.6 0.8 1.0 Resource concentration A resource pulse replaces a nearly constant supply Final serial cycle Continuous resident equilibrium B invading resident A A invading resident B −1.5 −1.0 −0.5 0.0 0.5 1.0 1.5 2.0 Log multiplication per serial cycle +1.680 -1.029 Rare invasion confirms the serial winner
Figure 10d. Equal average logarithmic cell loss does not imply the same winner. All species parameters and the feed concentration are fixed. Both runs begin with equal species fractions and total biomass 0.01. The horizontal coordinate counts matched turnover generations, not each species' instantaneous divisions. A single batch ends with species A still at about 22.8 percent. Repeated transfer excludes A in this example. The rare-invader calculations independently verify the outcome of the finite trajectories. These are computed teaching cases, not fitted experimental data.
Compute the serial invasion test from a one-dimensional resident trajectory

Mass conservation reduces a monoculture cycle to one resource equation. With unit yield and total resource-plus-biomass concentration S=1S=1, resident jj obeys

R˙=−VjR(S−R)Kj+R,R(0+)=(1−f)S+fR(T−).\dot R=-\frac{V_jR(S-R)}{K_j+R},\qquad R(0^+)=(1-f)S+fR(T^-).

Here R(0+)R(0^+) is resource just after transfer and R(T−)R(T^-) is resource just before the next transfer. The second equation is the fixed point of resource replenishment. Integrating the first determines the duration:

VjT=KjSlog⁡R(0+)R(T−)+(1+KjS)log⁡1f.V_jT=\frac{K_j}{S}\log\frac{R(0^+)}{R(T^-)} +\left(1+\frac{K_j}{S}\right)\log\frac1f.

A rare invader uses this resident resource trajectory without changing it. Substitute the resident equation for dtdt in its integrated growth. Partial fractions give

log⁡Λi∣j=ViVj[Kj−KiS+Kilog⁡Ki+R(0+)Ki+R(T−)+S+KjS+Kilog⁡1f]−log⁡1f.\begin{aligned} \log\Lambda_{i|j} &=\frac{V_i}{V_j} \left[ \frac{K_j-K_i}{S+K_i}\log\frac{K_i+R(0^+)}{K_i+R(T^-)} +\frac{S+K_j}{S+K_i}\log\frac1f \right]-\log\frac1f. \end{aligned}

The two values are log⁡ΛB∣A=1.680\log\Lambda_{B|A}=1.680 and log⁡ΛA∣B=−1.029\log\Lambda_{A|B}=-1.029. Numerical integration of a rare invader gives the same results. These tests distinguish exclusion from merely slow change over a finite observation window.

A change in membership is different from an increase in coexistence. This example supports one species under either repeated protocol. The species identity changes. Other networks can show coexistence, multiple recurring communities or a long transient. Each claim needs its own persistence or invasion test. The community example below supplies a separate coexistence mechanism through carbon exchange and oxygen removal.

The carbon–oxygen partnership poses a separate question under repeated transfer. Figure 10b tests steady communities in continuous culture. Figure 10d changes which of two competing consumers wins. The optional example below returns to the carbon–oxygen partnership and tests whether both species can replace their dilution losses over a recurring cycle.

Optional worked example · Coexistence through repeated dilution

Apply repeated transfers to the carbon–oxygen partnership

Serial dilution changes the environmental protocol. Between transfers, integrate a batch-growth problem. At a transfer, retain a fraction ff of the culture and replenish with fresh medium:

Xi+=fXi−,c+=fc−+(1−f)cfresh.X_i^+=fX_i^-,\qquad c^+=fc^-+(1-f)c_{\mathrm{fresh}}.

The superscripts mark the states immediately after and before the transfer. A recurring community is now a fixed point of the transfer-to-transfer map, with growth and nutrient depletion inside each cycle. A species can persist when its growth over a cycle compensates for the dilution. Coexistence means that both persist through repeated transfers.

2026-10-21T16:54:25.805506 image/svg+xml Matplotlib v3.10.6, https://matplotlib.org/ 0 10 20 30 40 50 60 Transfer cycle 0.00 0.02 0.04 0.06 0.08 Biomass after transfer (gDW/L) A Convergence across transfers Facultative species A Anaerobic species B 0 12 24 36 Time in final three cycles (h) 0.00 0.05 0.10 0.15 0.20 Biomass (gDW/L) B Growth between transfers 0 12 24 36 Time in final three cycles (h) 0.000 0.025 0.050 0.075 0.100 0.125 0.150 0.175 0.200 Dissolved oxygen (mmol/L) C Oxygen within each cycle Repeated dilution can preserve two different recurring communities One initial-state key applies to A, B and C Grow for 12 h. Retain 30%. Replenish medium. Dotted vertical lines mark transfers. Biomass colors identify the two species. Initial state Species A (gDW/L) Species B (gDW/L) Oxygen (mmol/L) R: rare anaerobe, oxygenated 0.01 1e-07 0.2 E: established anaerobe, low oxygen 0.1 0.1 0.001 Continuous-culture equilibria become transfer-to-transfer cycles under this new protocol. R: rare anaerobe, oxygenated E: established anaerobe, low oxygen
Figure 10e (optional). Repeated transfers can preserve coexistence or exclude a partner. In all three panels, dashed curves start with a rare anaerobe in oxygenated medium (R). Solid curves start with an established anaerobe and low oxygen (E). Biomass colors identify species A and B. Panel A samples biomass after each transfer. Panels B and C show the final three complete cycles, including the dilution jumps. Both cultures grow for 12 hours between transfers and retain 30% of their contents. Fresh medium restores resources. In the coexistence cycle, each population grows by 1/0.31/0.3 per batch to offset the transfer. In the other cycle, the anaerobic partner cannot compensate for dilution. The largest magnitude of the linearized cycle-map eigenvalues is below 0.324 for both computed cycles, supporting local stability.

The serial-dilution experiment here is a new protocol extension of the reduced mechanism. The Khazaei paper's principal experiment uses continuous culture. The notebook labels that distinction and lets the reader compare both protocols. It tests persistence over repeated transfers and compares different initial communities. A finite sweep alone would not prove that apparent hysteresis survives arbitrarily slow parameter changes.

Report the growth interval, retained fraction, feed and what is diluted. Then distinguish a batch endpoint, a recurring community and a species slowly approaching exclusion.

11Budget the proteome before selecting the metabolic fluxes

A balanced pathway still needs enzymes to carry its flux. Which combinations of flux can fit into the protein pool that the cell can devote to metabolism and growth?

A proteome budget makes flux capacity compete with other cellular functions. In constrained allocation flux balance analysis, protein costs are assigned to carbon uptake, metabolic flux and growth-associated machinery. A schematic allocation constraint is

wCvC+∑jwj∣vj∣+wRμ≤ϕavailable.w_Cv_C+\sum_j w_j|v_j|+w_R\mu\leq\phi_{\mathrm{available}}.

The coefficients convert uptake, reaction flux and growth into fractions of cellular protein. The available fraction excludes protein committed to other functions. This adds an interpretable resource limit to stoichiometric balance. Mori and colleagues used this approach to connect growth laws, carbon allocation and overflow metabolism.24

The new constraint asks whether the cell can build the proposed flux vector. Stoichiometry alone permits every balanced route within its flux bounds. A finite proteome adds competition between routes. Increasing transport, investing in metabolic enzymes and building growth machinery all draw on the same protein pool. A pathway can be chemically feasible and still demand more protein than the cell can allocate.

A finite proteome couples otherwise independent fluxes A cell has one total protein budget. Baseline functions, nutrient transport, metabolic enzymes and growth machinery must share it. A positive flux requires enough catalytic protein. The available proteome defines a common inequality across all fluxes. A flux vector also commits the cell to a protein allocation One total protein pool Baseline functions Uptake Metabolic enzymes Growth machinery Schematic sectors. Bar widths here are illustrative, not measured fractions. Uptake flux More transport capacity requires transport protein. Flux × protein cost = allocated protein fraction Internal fluxes Every active route consumes part of the enzyme budget. Flux × protein cost = allocated protein fraction Growth Faster biomass synthesis requires more growth machinery. Flux × protein cost = allocated protein fraction Increasing one use leaves less protein for the others. The optimizer chooses a compatible allocation together with the metabolic fluxes. This steady budget does not yet specify how quickly the allocation can change.
Figure 11a. Protein availability couples otherwise separate flux capacities. The top bar introduces the sectors schematically. Its fractions are illustrative. Constrained allocation flux balance analysis converts fluxes into protein requirements and constrains their sum. The same protein cannot simultaneously be assigned to every preferred task.

Each term in the budget has a measurable interpretation. The carbon-uptake cost wCw_C connects import to its transport allocation. Each metabolic cost wjw_j connects a reaction's throughput to its enzyme allocation. The growth cost wRw_R accounts for growth-associated machinery. In the source formulation, the internal-enzyme sum excludes the uptake, transport, exchange, biomass and ATP-maintenance terms handled separately. The budget is written as an equality for a fully assigned proteome. An inequality permits an explicitly unallocated remainder.24

Linear protein costs keep the allocation problem accessible. For a reversible flux, write vj=vj+−vj−v_j=v_j^+-v_j^- with nonnegative directional components. Charging wj(vj++vj−)w_j(v_j^++v_j^-) makes both directions use protein. Under the usual capacity-budget formulation, simultaneous counterflow can be removed without changing the net balance and only frees budget. The added information can therefore remain a linear optimization problem.

P11A balanced flux is useful only if the cell can allocate enough machinery to carry it.

The proteome budget converts a feasible reaction network into competing uses of finite cellular machinery.

12Explain overflow by comparing carbon yield with protein cost

Why excrete usable carbon when oxygen is available? A high yield per substrate and a high output per unit enzyme are different kinds of efficiency.

Overflow metabolism can release protein for faster growth. Basan and colleagues studied aerobic acetate excretion in Escherichia coli. Their allocation model balances carbon, energy and protein demands. Quantitative protein measurements supported a greater proteome cost of respiratory energy generation than of the overflow route. Their experiments found acetate excretion above a growth threshold near 0.76 h−10.76\,\mathrm{h}^{-1} under the reported conditions. That threshold is condition dependent, not a universal bacterial constant.36

A yield advantage matters most when carbon is limiting. Respiration obtains more usable output from a given carbon supply. When carbon is plentiful and enzyme protein is scarce, a route with less output per substrate can win if it needs sufficiently less enzyme per unit output. In aerobic E. coli, the overflow route need not mean that all oxygen-dependent processes have stopped. The allocation comparison concerns pathway costs while oxygen remains available.

A longer respiratory pathway can save carbon while a shorter fermentative pathway saves enzyme protein An imaginary network has a shared carbon input and two routes. Five enzyme-catalyzed composite conversions represent respiration. Two represent fermentation. Enzymes point to the conversion they catalyze with dashed regulatory arrows and are not consumed. Respiration gives more growth output per substrate. Fermentation excretes usable carbon but requires less metabolic protein in the declared teaching model. Three computed optima connect this network to growth predictions. Two ways to spend carbon and protein Imaginary pathway geometry. The yields and protein costs define the calculation. Respiration: more catalytic machinery, higher carbon yield Carbon input E1 E2 E3 E4 E5 0.4 growth per substrate E6 E7 0.2 growth per substrate O₂ available Metabolic protein cost: 0.12 × respiratory flux More useful output from the same carbon supply. Fermentation: less catalytic machinery, lower carbon yield Excreted carbon Metabolic protein cost: 0.03 × fermentative flux Spend more carbon to free protein for growth machinery. Maximize growth with one shared protein budget Metabolic protein + 0.5 × growth ≤ 0.5. Substrate uptake ≤ U. Uptake bound U = 1 Growth = 0.400 h⁻¹ Respiration 1.000 Fermentation 0.000 Uptake bound U = 2 Growth = 0.653 h⁻¹ Respiration 1.263 Fermentation 0.737 Uptake bound U = 4 Growth = 0.769 h⁻¹ Respiration 0.000 Fermentation 3.846 Solid paths: material flow. Double chevrons: composite conversions. Dashed arrows: enzyme catalysis. Circles: intermediate pools. Step count is illustrative. Protein cost also depends on enzyme amount and turnover.
Figure 11b. A pathway can save carbon while costing more protein. The shared carbon input feeds a long respiratory route or a shorter fermentative route. Enzymes catalyze the double-chevron conversions and are not consumed. The fermentation branch excretes carbon that the cell could otherwise use. The stated yields and aggregate protein costs give the three optima below the network. This is an imaginary network that explains the allocation mechanism. Its step count is schematic. Actual protein costs depend on enzyme abundances, molecular masses and turnover rates, not reaction count alone.
Optional · See the exact protein allocations behind the three growth optima
Carbon yield and protein efficiency are different objectives Respiration saves carbon but requires more enzyme per growth output in the teaching model. Fermentation uses more carbon but saves enzyme capacity. Three solved allocations show the shift from respiration to mixed use to fermentation as the uptake bound increases. Oxygen availability is not the limiting constraint. Which resource is scarce: carbon or catalytic protein? Respiratory route Overflow route More output per unit carbon More enzyme per unit output Less output per unit carbon Less enzyme per unit output Toy yield: 0.4 growth / substrate Metabolic cost: 0.12 / substrate Toy yield: 0.2 growth / substrate Metabolic cost: 0.03 / substrate Both routes also require 0.5 protein fraction per unit growth rate. Oxygen is available. Protein and substrate limits select the route. Computed allocation of the whole protein budget Uptake bound 1: respiration 1.000, fermentation 0.000, growth 0.400 Fixed functions occupy 0.5. The remaining 0.5 is the allocatable budget. Uptake bound 2: respiration 1.263, fermentation 0.737, growth 0.653 Fixed functions occupy 0.5. The remaining 0.5 is the allocatable budget. Uptake bound 4: respiration 0.000, fermentation 3.846, growth 0.769 Fixed functions occupy 0.5. The remaining 0.5 is the allocatable budget. Fixed Respiration Fermentation Growth machinery Empty part of a bar: unallocated budget. It is not automatically a synthesized reserve.
Optional quantitative view of Figure 11b. The computed protein allocations. The top panels distinguish output per substrate from output per unit metabolic protein. The bars solve the teaching model below at three uptake bounds. A fixed half of the proteome represents other functions. Of the remaining half, respiration, fermentation and growth machinery receive the computed allocations. Empty capacity is unallocated budget. It is not automatically an expressed protein reserve. The coefficients illustrate the mechanism and are not a fit to Basan et al.'s experiments.

A small allocation model makes the yield-versus-machinery tradeoff explicit. Let rr and ff denote substrate processing through respiration and fermentation. Let uu be uptake and μ\mu the growth output. In declared teaching units, choose

u=r+f,μ=0.4r+0.2f,0≤u≤U,0.12r+0.03f+0.5μ≤0.5.u=r+f,\qquad\mu=0.4r+0.2f,\qquad0\leq u\leq U,\qquad0.12r+0.03f+0.5\mu\leq0.5.

Respiration gives twice the growth per substrate unit. Fermentation costs less metabolic protein per throughput. Growth also requires protein. The optimization maximizes μ\mu. These coefficients illustrate the allocation principle. They are not a fit of a particular strain.

Respiration wins until its protein requirement becomes limiting. If all uptake uses respiration, the protein demand is (0.12+0.5×0.4)U=0.32U(0.12+0.5\times0.4)U=0.32U. The budget first binds at U=0.5/0.32=1.5625U=0.5/0.32=1.5625. Beyond that point, using more of the less expensive pathway can increase growth even though it wastes more substrate.

P12Limited machinery can favor a pathway with lower carbon yield when it saves enough protein.

2026-10-20T13:24:57.788964 image/svg+xml Matplotlib v3.10.6, https://matplotlib.org/ 0 1 2 3 4 5 6 Uptake capacity (normalized units) 0.0 0.5 1.0 1.5 2.0 2.5 Growth rate (1/h) Without protein budget With protein budget 0 1 2 3 4 5 6 Uptake capacity (normalized units) 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 Pathway flux (normalized units) Respiration Fermentation A protein budget can favor a lower-yield pathway
Figure 11c. A protein budget can generate overflow. Below uptake capacity 1.5625, the high-yield respiratory pathway uses the available substrate. Above that threshold, protein allocation favors a growing contribution from fermentation. The comparison without a protein budget continues to favor respiration. All curves solve the stated two-pathway linear program.

The same example can be read as a matrix allocation problem. Order the flux vector as v=[u,r,f,μ]Tv=[u,r,f,\mu]^{\mathsf T}. The two balances and the protein budget are

[1−1−1000.40.2−1]v=[00],[00.120.030.5]v≤0.5.\begin{bmatrix} 1&-1&-1&0\\ 0&0.4&0.2&-1 \end{bmatrix}v= \begin{bmatrix}0\\0\end{bmatrix}, \qquad \begin{bmatrix}0&0.12&0.03&0.5\end{bmatrix}v\leq0.5.

The objective is max⁡[0,0,0,1]v\max [0,0,0,1]v, with all fluxes nonnegative and u≤Uu\leq U. Eliminate uptake and growth using the two balance rows. The allowed respiratory and fermentative fluxes satisfy

r+f≤U,0.32r+0.13f≤0.5,max⁡r,f  (0.4r+0.2f).r+f\leq U,\qquad 0.32r+0.13f\leq0.5,\qquad \max_{r,f}\;(0.4r+0.2f).

The optimum has three regimes because different constraints become active. Before the protein budget binds, respiration uses the whole substrate allowance. In the mixed regime both inequalities are equalities. After the respiratory flux reaches zero, extra substrate allowance no longer improves growth:

[r∗f∗]={[U0],0≤U≤0.5/0.32,[110.320.13]−1[U0.5],0.5/0.32<U<0.5/0.13,[00.5/0.13],U≥0.5/0.13.\begin{bmatrix}r^*\\f^*\end{bmatrix}= \begin{cases} \begin{bmatrix}U\\0\end{bmatrix}, & 0\leq U\leq0.5/0.32,\\[6pt] \begin{bmatrix}1&1\\0.32&0.13\end{bmatrix}^{-1} \begin{bmatrix}U\\0.5\end{bmatrix}, & 0.5/0.32<U<0.5/0.13,\\[6pt] \begin{bmatrix}0\\0.5/0.13\end{bmatrix}, & U\geq0.5/0.13. \end{cases}

The transition points are 1.5625 and about 3.846 in the declared uptake units. At U=2U=2, the matrix inverse gives r∗=1.263r^*=1.263, f∗=0.737f^*=0.737 and μ∗=0.653\mu^*=0.653. This is why the pathway mix changes. The result follows from the active constraints and the objective.

A protein burden makes a testable perturbation. At fixed U=2U=2, reducing the allocatable fraction from 0.5 to 0.4 increases fermentative flux from 0.737 to 1.263 and lowers growth from 0.653 to 0.547 in this teaching model. A fraction 0.8 permits all-respiratory growth at 0.8. The notebook lets the reader change this one bound. Protein burden need not alter a stoichiometric coefficient to change the selected phenotype.

Carbon can be spent to save protein. A lower yield can support faster growth when machinery is the binding constraint.

13Add machinery dynamics to predict recovery after a nutrient shift

The static optimizer can change an allocation instantly. A cell has to synthesize and dilute proteins. Which part of a growth response can happen immediately, and which part has to wait?

Nutrient supply can change before ribosome abundance Three snapshots distinguish the initial state, the instant after a rich-medium upshift, and late recovery. Effective translation capacity changes immediately in the source reduction. Ribosomal protein fraction is continuous and then grows through synthesis and dilution. A nutrient shift changes capacity before it rebuilds machinery Growth = effective translation capacity × ribosomal proteome fraction Before the shift Ribosomal proteome fraction: 0.10 Effective translation capacity: 1 h⁻¹ Growth: 0.1 h⁻¹ Initial machinery Immediately after Ribosomal proteome fraction: 0.10 Effective translation capacity: 4.9 h⁻¹ Growth: 0.49 h⁻¹ Same protein amounts After recovery Ribosomal proteome fraction: 0.50 Effective translation capacity: 4.9 h⁻¹ Growth: 2.45 h⁻¹ More ribosomes Fast change: precursor supply raises effective translation capacity. Slow change: existing ribosomes synthesize proteins, including new ribosomes. Ribosomes help make ribosomes. This is a machinery autocatalytic loop. The final values match the declared upshift calculation. The initial capacity is illustrative. These snapshots are not experimental measurements.
Figure 11d(i). Separate a change in activity from a change in machinery abundance. These snapshots use the declared rich-medium recovery example. The initial effective translation capacity is an illustrative 1 per hour. At the shift it becomes 4.9 per hour, while ribosomal fraction remains 0.1. Growth can therefore jump from 0.1 to 0.49 per hour. Subsequent protein synthesis increases ribosomal fraction toward 0.5 and growth toward 2.45 per hour. The source reduction makes the activity change instantaneous. It does not resolve the faster biochemical transient.

Compare recovery with different amounts of inherited machinery

A downshift can lower activity immediately and still require protein reallocation. Removing a nutrient can reduce translation before protein amounts change. Subsequent recovery requires production of the proteins needed in the new medium. Erickson and colleagues found that abundant inherited ribosomes can make this recovery much faster than an upshift from slow growth. Those ribosomes accelerate synthesis of the needed catabolic proteins. The downshift does not avoid proteome remodeling.26

A matched comparison isolates the effect of the inherited proteome. Following Supplementary Note 6.2, compare cells previously growing at 0.30 or 0.95 per hour. Set both growth rates immediately after the environmental change to 0.30 per hour, with the same final rate of 0.95 per hour. The source growth law assigns different initial ribosomal fractions. Numerical integration of the source allocation equations then gives the two recoveries below. This is the paper's theoretical comparison, not a digitization of experimental data. The model assumes quasi-steady precursor balance and describes timescales beyond roughly ten minutes.34

2026-10-21T17:33:08.143358 image/svg+xml Matplotlib v3.10.6, https://matplotlib.org/ 0 1 2 3 4 5 6 Time from environmental shift (h) 0.30 0.50 0.70 0.95 Specific growth rate (h⁻¹) A Same growth just after the shift 0 1 2 3 4 5 6 Time from environmental shift (h) 0.07 0.09 0.11 0.13 0.15 Ribosomal protein / total protein B Different machinery already present Inherited ribosomes can make downshift recovery faster Both start at 0.30 h⁻¹ after the change and approach 0.95 h⁻¹. Only the inherited state differs. Upshift: build more ribosomes while growing. Downshift: existing ribosomes accelerate synthesis of the needed catabolic proteins. Both responses reallocate protein. A fast drop in activity does not require instant protein removal. Erickson et al. (2017), Supplementary Note 6.2. Shaded first 10 min lie outside the slow model’s scope. Upshift: fewer inherited ribosomes Downshift: more inherited ribosomes
Figure 11d(ii). The same growth deficit can recover at different speeds. The orange upshift begins with fewer ribosomes and requires a long period of machinery accumulation. The teal downshift inherits more ribosomes. Growth recovers rapidly as protein synthesis is redirected toward the new catabolic requirement. Ribosomal fractions remain continuous even when translation activity drops. Shading marks the first ten minutes, where the slow model is only formally continued. The notebook recomputes this comparison from the equations used in Erickson et al.'s Extended Data Figure 9.

The asymmetry depends on the starting and final conditions. For these conditions, downshift recovery largely avoids the slow phase of ribosome accumulation. A shift into poor medium or one that causes prolonged arrest need not recover quickly. Figure 11d explains activity versus abundance. Figure 11d(ii) adds the effect of inherited machinery on the recovery time.

Protein reserve matters because new machinery takes time to make. A cell with more ribosomes already present can increase protein synthesis quickly after nutrients improve. Allocating protein to that reserve can reduce the protein available for current growth. Mori, Schink, Erickson, Gerland and Hwa quantified this tradeoff using growth-shift experiments and a coarse-grained proteome-allocation model.25

The dynamic variable in their simple recovery model is the ribosomal proteome fraction. Let ϕR\phi_R be that fraction, σ\sigma the effective translation capacity per ribosomal fraction, and χR\chi_R the fraction of newly synthesized protein allocated to ribosomes. Protein synthesis and dilution give

μ=σϕR,dϕRdt=σϕR(χR−ϕR).\mu=\sigma\phi_R,\qquad\frac{d\phi_R}{dt}=\sigma\phi_R(\chi_R-\phi_R).

The right-hand side follows by differentiating a fraction: ribosomal protein is produced at rate χRμ\chi_R\mu per total protein, while total-protein growth dilutes the fraction at rate μϕR\mu\phi_R. For the rich-medium upshift reduction, σ\sigma and χR\chi_R jump to their final values. The ribosomal fraction remains continuous.

The remaining differential equation predicts the recovery curve. Let N(t)N(t) denote total protein mass in this reduction. With final growth rate μf\mu_f and immediate post-shift rate μ0=σfϕR(0)\mu_0=\sigma_f\phi_R(0),

μ(t)=μf1+(μf/μ0−1)e−μft,N(t)N(0)=1+μ0μf(eμft−1).\mu(t)=\frac{\mu_f}{1+(\mu_f/\mu_0-1)e^{-\mu_ft}},\qquad\frac{N(t)}{N(0)}=1+\frac{\mu_0}{\mu_f}(e^{\mu_ft}-1).

More initial ribosomal capacity increases the immediate growth rate and shortens recovery at fixed final conditions. The notebook reproduces these source equations. It separately compares reserve choices when reserve also reduces steady-state performance. That second comparison exposes a horizon-dependent benefit.

The upshift curves evaluate the reduced equations directly. Set final ribosomal fraction to 0.5 and final growth to 2.45 h−12.45\,\mathrm{h}^{-1}, giving final translation capacity σf=4.9 h−1\sigma_f=4.9\,\mathrm{h}^{-1}. Compare initial ribosomal fractions 0.03, 0.10 and 0.20. The displayed growth formula gives each time course, and integrating dln⁡N/dt=μ(t)d\ln N/dt=\mu(t) gives its protein-mass increase. No genome-scale flux optimization is used in this calculation.

2026-10-20T13:24:58.045293 image/svg+xml Matplotlib v3.10.6, https://matplotlib.org/ 0.0 0.5 1.0 1.5 2.0 2.5 3.0 Time after rich-medium upshift (h) 0.5 1.0 1.5 2.0 2.5 Growth rate (1/h) Initial ribosome fraction 0.03 Initial ribosome fraction 0.10 Initial ribosome fraction 0.20 0.0 0.5 1.0 1.5 2.0 2.5 3.0 Time after rich-medium upshift (h) 1 10 100 1000 Protein mass / initial protein mass The initial ribosome inventory sets the immediate upshift response
Figure 11e. Machinery present before the shift changes how quickly growth recovers. The curves reproduce Mori et al.'s reduced upshift equations with three initial ribosomal fractions and common final conditions. The growth rate can jump because translation capacity changes. The ribosomal fraction itself changes continuously. These are source-equation calculations, not digitized measurements.

The reserve comparison changes both initial capacity and final growth. Let ϕreserve\phi_{\mathrm{reserve}} be the fraction of the proteome maintained as ribosome reserve. Choose values 0.02, 0.07 and 0.15. Set the initial ribosomal fraction equal to the chosen reserve and the final ribosomal fraction to 0.48. Use final growth 6(0.48−ϕreserve) h−16(0.48-\phi_{\mathrm{reserve}})\,\mathrm{h}^{-1} in the same recovery equation. The larger reserve therefore helps the initial response but reduces final performance. These stated choices make the plotted comparison reproducible without identifying it with a measured nutrient-shift experiment.

2026-10-21T17:03:51.730241 image/svg+xml Matplotlib v3.10.6, https://matplotlib.org/ 0 1 2 3 4 5 6 Time after upshift (h) 0.0 0.5 1.0 1.5 2.0 2.5 Specific growth rate (h⁻¹) A More reserve helps first, then costs growth 0 1 2 3 4 5 6 Feast duration (h) 1 10 100 1,000 10,000 100,000 1,000,000 Protein mass / its initial value B Integrate growth over the whole feast Which reserve wins depends on how long the feast lasts Equal initial protein mass. The same color denotes the same reserve in every panel. C Read the accumulated protein mass directly Each number is a fold increase from 1. Outlined values are largest at that horizon. Reserve fraction After 0.5 h After 3 h After 6 h 2% 1.124× 165× 648,196× 7% 1.353× 235× 375,011× 15% 1.529× 119× 45,110× Source-based thought experiment. Nutrients remain plentiful for the entire chosen feast. Reserve 2% Reserve 7% Reserve 15%
Figure 11f. Reserve is valuable on a timescale, not in isolation. This additional calculation combines the source recovery equation with the source's steady reserve cost. A larger declared reserve can start recovery faster while supporting a lower final growth rate. Every curve starts with the same total protein mass. Panel B shows protein mass divided by its own initial value, on a logarithmic axis. Panel C compares the resulting fold increases after 0.5, 3 and 6 hours. The outlined entry is largest at each horizon. The calculation assumes nutrients remain plentiful throughout that horizon. It uses the reserve choices and steady growth costs stated above.

The upshift reduction is a protein-allocation model, not an internal-metabolite simulation. It adds a slow machinery state. It is not itself the 2016 constrained allocation flux balance analysis model. Carbon downshifts or shifts into media requiring new biosynthetic pathways can require more state variables and regulation. Yuan and colleagues' work on growth transitions connects proteome reallocation with metabolic flux redistribution, illustrating why the two can need to be modeled together.27

Another growth-transition reduction evolves the translation capacity

A related growth-transition model evolves translation capacity. Erickson and colleagues reduce their allocation dynamics to an equation for σ\sigma. In their notation, μf\mu_f is a nutrient-capacity parameter, not the instantaneous growth rate. With allocation functions χ^Cat\widehat\chi_{\mathrm{Cat}} and χ^Rb\widehat\chi_{\mathrm{Rb}}, their equation is

σ˙=σ[μfχ^Cat(σ)−σχ^Rb(σ)].\dot\sigma=\sigma[\mu_f\widehat\chi_{\mathrm{Cat}}(\sigma)-\sigma\widehat\chi_{\mathrm{Rb}}(\sigma)].

The reduction assumes quasi-steady precursor balance. The paper applies this approximation to timescales slower than roughly ten minutes and excludes shifts with prolonged growth arrest. Its changing variable and assumptions differ from Mori's rich-upshift reduction. Both illustrate the same modeling step: add a law for machinery adjustment to predict a transition.26

2026-10-21T17:03:51.962970 image/svg+xml Matplotlib v3.10.6, https://matplotlib.org/ 0 1 2 3 4 5 6 Time after carbon shift (h) 0.0 0.2 0.4 0.6 0.8 1.0 Growth rate (1/h) Upshift: 0.3 to 0.8 /h 0 1 2 3 4 5 6 Time after carbon shift (h) 0.0 0.2 0.4 0.6 0.8 1.0 Growth rate (1/h) Downshift: 0.8 to 0.4 /h Carbon shifts couple translational activity and proteome allocation
Figure 11g. A broader allocation closure describes both directions of a nutrient shift. The notebook integrates Erickson et al.'s translation-capacity equation with the allocation functions specified in its supplement.34 The illustrative initial and final conditions are stated in the notebook. Shading marks the first ten minutes, outside the reduction's intended slow regime. The early curve is the formal model continuation. The model assumes quasi-steady precursor balance and does not describe prolonged arrest. It supplies an added physiological dynamic law.

P13Recovery depends on the machinery already present and on the law that changes its allocation.

A static protein budget predicts allocation. A protein-production law predicts adjustment. Keep these two additions explicit.

14Exclude energetically impossible fluxes with chemical-potential constraints

Which balanced reaction directions are energetically possible at the current composition? First test a real coupled reaction as ATP/ADP changes. Then test whether an entire cycle can operate with one consistent set of chemical potentials.

Thermodynamic flux analysis couples reaction direction to a possible chemical-potential assignment. If ψi\psi_i is the chemical potential of metabolite ii, a reaction has Gibbs energy change ΔrGj=∑iSijψi\Delta_rG_j=\sum_iS_{ij}\psi_i. For an ideal dilute mixture, concentrations enter through ψi=ψi∘+RTlog⁡ai\psi_i=\psi_i^\circ+RT\log a_i, where aia_i is dimensionless activity. A passive net flux must go downhill in this free energy. Concentration ranges and thermodynamic estimates can therefore restrict feasible directions.28

Chemical potential belongs to a species, not to a reaction quotient. At fixed temperature and pressure, ψi\psi_i is the change in Gibbs free energy per additional mole of species ii. The standard term describes the reference state. The term RTlog⁡aiRT\log a_i describes how the actual activity changes that potential. Combining the species potentials with the reaction coefficients gives

ΔrGj=∑iSijψi=ΔrGj∘+RTlog⁡Qj,Qj=∏iaiSij.\Delta_rG_j=\sum_iS_{ij}\psi_i=\Delta_rG_j^\circ+RT\log Q_j,\qquad Q_j=\prod_i a_i^{S_{ij}}.

The reaction quotient QjQ_j therefore collects the activity terms. It is dimensionless. It is not itself a chemical potential. Thermodynamic consistency requires the same species to have the same potential wherever it occurs in the network.

Test an actual glycolytic conversion with a numerical free-energy difference

Hexokinase makes the direction constraint concrete. The composite conversion transfers a phosphate group from ATP to glucose:

glucose+ATP⇝glucose 6 ⁣− ⁣phosphate+ADP.\mathrm{glucose}+\mathrm{ATP} \rightsquigarrow \mathrm{glucose\ 6\!-\!phosphate}+\mathrm{ADP}.

We use the biochemical form at fixed pH, so proton bookkeeping is incorporated into the transformed free energy. Greinert and colleagues tabulate an activity-based standard reaction Gibbs energy of ΔrG∘′=−17.8±0.5 kJ/mol\Delta_rG^{\circ\prime}=-17.8\pm0.5\,\mathrm{kJ/mol} at 298.15 K and pH 7, citing the underlying hexokinase measurements. This is a standard-state value, not the driving force at every cellular composition.37

ATP participates in the same conversion as glucose The hexokinase composite conversion consumes glucose and ATP and produces glucose 6-phosphate and ADP. Its net free-energy difference depends on all four activities. A separate ATP hydrolysis somewhere else does not automatically drive glucose phosphorylation. Coupling belongs to the reaction mechanism Hexokinase: one coupled conversion, with two inputs and two outputs Glucose ATP Glucose 6-phosphate ADP Hexokinase Overall conversion at fixed pH. Proton bookkeeping is included in ΔG°′. Compute the driving force at the actual molecular activities ΔᵣG′ = −17.8 + RT ln aG6P aADP aglucose aATP RT = 2.479 kJ/mol at 298.15 K. ΔᵣG′ is in kJ/mol. pH = 7. a denotes dimensionless activity. G6P denotes glucose 6-phosphate. −17.8 kJ/mol is the standard term (reported uncertainty ±0.5). ATP regeneration maintains ATP relative to ADP and phosphate. All reactant and product activities contribute to the driving force. At equilibrium the forward and reverse molecular events have zero net flux. Enzymes lower activation barriers. They do not change the equilibrium. Coupling must occur in the mechanism. ATP hydrolysis elsewhere is insufficient.
Figure 12a. ATP drives phosphorylation through a shared chemical conversion. The double-chevron junction consumes both inputs and produces both outputs. Hexokinase changes the route and activation barrier of the coupled conversion. Its net thermodynamic direction is set by the chemical potentials of the reactants and products. Separate uncoupled ATP hydrolysis would dissipate free energy without automatically phosphorylating glucose.

The activity ratio determines whether the forward conversion is downhill. Let aia_i be dimensionless activity in the standard-state convention used for the quoted energy. Write aG6Pa_{\mathrm{G6P}} for glucose 6-phosphate activity. Then

ΔrG′=−17.8+RTlog⁡ ⁣[aG6PaADPaglucoseaATP][kJ/mol],RT=2.479 kJ/mol.\Delta_rG^\prime =-17.8+RT\log\!\left[ \frac{a_{\mathrm{G6P}}a_{\mathrm{ADP}}} {a_{\mathrm{glucose}}a_{\mathrm{ATP}}} \right] \quad[\mathrm{kJ/mol}],\qquad RT=2.479\,\mathrm{kJ/mol}.

Choose a product/substrate activity ratio aG6P/aglucose=10a_{\mathrm{G6P}}/a_{\mathrm{glucose}}=10. At aATP/aADP=1a_{\mathrm{ATP}}/a_{\mathrm{ADP}}=1, the reaction quotient is 10 and ΔrG′=−12.09 kJ/mol\Delta_rG^\prime=-12.09\,\mathrm{kJ/mol}. At ATP/ADP activity ratio 0.001, the quotient is 10,000 and ΔrG′=+5.03 kJ/mol\Delta_rG^\prime=+5.03\,\mathrm{kJ/mol}. Both signs remain unchanged across the quoted standard-energy uncertainty. These are declared activity conditions for a feasibility calculation, not measured intracellular concentrations.

The added constraint changes a solved flux bound from ten to zero. Give the small network a glucose import, an ATP import, the hexokinase conversion, and drains for glucose 6-phosphate and ADP. Maximize the glucose 6-phosphate drain. Cap both imports and the forward hexokinase flux at ten teaching flux units. Steady balance alone allows every flux to equal ten under either activity condition. Requiring a forward net flux to have negative ΔrG′\Delta_rG^\prime preserves that upper bound at ATP/ADP ratio one and excludes it at ratio 0.001.

image/svg+xml Matplotlib v3.10.6, https://matplotlib.org/ 0.0001 0.001 0.01 0.1 1 10 ATP/ADP activity ratio −25 −20 −15 −10 −5 0 5 10 Hexokinase reaction ΔG′ (kJ/mol) ATP/ADP = 1: -12.09 kJ/mol ATP/ADP = 0.001: +5.03 kJ/mol The same coupled reaction can change its allowed direction Reported standard-energy uncertainty ATP/ADP = 1 ATP/ADP = 0.001 0 2 4 6 8 10 12 Maximum product flux (teaching units) A numerical flux prediction changes when the direction test is added Balance and flux bounds Plus thermodynamic direction
Figure 12b. Thermodynamics can change a feasible optimum even when stoichiometry and flux capacities stay fixed. The upper panel computes the reaction free energy from the stated standard value and activity ratios. Shading propagates only the quoted ±0.5 kJ/mol standard-energy uncertainty. The lower panel solves the same flux problem before and after adding the direction test. Ten is a capacity-limited optimized bound. A favorable free-energy difference alone does not establish that an enzyme achieves that rate.
Inspect the five-flux matrix and the energetic rejection

The rows enforce each supplied or produced species' steady balance. Order the fluxes as v=[vin,glucose,vin,ATP,vHK,vout,G6P,vout,ADP]Tv=[v_{\mathrm{in,glucose}},v_{\mathrm{in,ATP}},v_{\mathrm{HK}},v_{\mathrm{out,G6P}},v_{\mathrm{out,ADP}}]^{\mathsf T}. The reaction matrix is

Sv=[10−10001−100001−100010−1]v=[0000].Sv= \begin{bmatrix} 1&0&-1&0&0\\ 0&1&-1&0&0\\ 0&0&1&-1&0\\ 0&0&1&0&-1 \end{bmatrix}v= \begin{bmatrix}0\\0\\0\\0\end{bmatrix}.

All five fluxes must be equal. With nonnegative fluxes and import bounds ten, maximizing the product drain gives ten. At the unfavorable activity condition, the additional direction constraint sets vHK=0v_{\mathrm{HK}}=0. The same balance rows then force every flux to zero.

The fixed activities belong to the declared boundary condition. The surrounding system maintains those activities while supplying and removing molecules. The example tests one coupled conversion. It does not model the energetic cost of that surrounding system or the concentration dependence of hexokinase turnover. Actual concentrations also require consistent activity coefficients and treatment of ionic and magnesium-bound species.

Interpret ATP availability as maintained chemical disequilibrium

ATP hydrolysis has a reaction free energy, rather than a fixed packet of energy attached to an isolated molecule. At fixed pH, with water activity approximately one,

ATP+H2O⇝ADP+Pi,ΔrGhyd′=ΔrGhyd∘′+RTlog⁡ ⁣[aADPaPiaATP].\begin{aligned} \mathrm{ATP}+\mathrm{H_2O}&\rightsquigarrow\mathrm{ADP}+\mathrm{P_i},\\ \Delta_rG_{\mathrm{hyd}}^\prime &=\Delta_rG_{\mathrm{hyd}}^{\circ\prime} +RT\log\!\left[\frac{a_{\mathrm{ADP}}a_{\mathrm{P_i}}}{a_{\mathrm{ATP}}}\right]. \end{aligned}

The molecular chemistry sets the standard term and equilibrium constant. The maintained reactant and product activities set the departure from equilibrium. Increasing ATP activity tenfold at fixed ADP and phosphate makes hydrolysis more favorable by RTlog⁡10=5.71 kJ/molRT\log10=5.71\,\mathrm{kJ/mol} at 298.15 K. Accumulating ADP or phosphate reduces that driving force. At equilibrium, hydrolysis has zero net driving force despite ATP molecules still being present.

Metabolic regeneration keeps ATP above its equilibrium level relative to the products. Fuel conversion or a maintained electrochemical gradient can regenerate ATP from ADP and phosphate. ATP-consuming reactions use that maintained chemical-potential difference. The analogy to a charged battery concerns the maintained difference between states. It does not mean that breaking a chemical bond itself releases energy. Net free energy includes the complete change in bonding, solvation and molecular populations.

Coupling changes the complete reaction whose free energy must be tested. Combine glucose phosphorylation by inorganic phosphate with ATP hydrolysis and cancel the shared phosphate and water terms. The resulting net conversion is the hexokinase reaction. Its free-energy change is the sum of the two component changes. The enzyme must implement this coupling. ATP consumption elsewhere cannot be added algebraically to justify an uncoupled uphill reaction.

ATP coupling can make a reaction favorable without abolishing thermodynamic constraints. The numerical hexokinase example already includes ATP as a substrate. Its forward direction becomes unfavorable when the ATP/ADP activity ratio falls far enough. At the fixed glucose 6-phosphate/glucose ratio ten, the equilibrium ATP/ADP ratio is about 0.0076. Above that threshold the forward direction is downhill. Below it the reverse direction is downhill. This is a direction test, not a prediction of the reverse reaction's actual speed.

Test whole-cycle consistency with one common set of chemical potentials

The cycle example asks a different question from hexokinase. The hexokinase calculation tests one conversion at specified activities. This separate imaginary network asks whether any common set of intermediate chemical potentials could make all proposed directions favorable. Consider the composite conversions A+ADP⇝B+ATPA+\mathrm{ADP}\rightsquigarrow B+\mathrm{ATP} and B⇝AB\rightsquigarrow A. Phosphate, water and proton bookkeeping are suppressed as chemostatted species in this teaching projection. If both carry the same positive flux, the intermediate pools balance and ATP appears. Let d=ψB−ψAd=\psi_B-\psi_A and hold the ATP synthesis free-energy requirement at 30 kJ/mol30\,\mathrm{kJ/mol}. Then

ΔrG1=d+30,ΔrG2=−d,ΔrG1+ΔrG2=30.\Delta_rG_1=d+30,\qquad\Delta_rG_2=-d,\qquad\Delta_rG_1+\Delta_rG_2=30.

Both reactions cannot have negative Gibbs energy change because their sum is positive. Stoichiometry alone missed the inconsistency. A thermodynamic constraint removes the circulation while permitting ATP synthesis coupled to a sufficiently favorable external fuel conversion.

P14Flux balance must be compatible with an energy landscape, not only with molecular accounting.

A closed metabolic cycle cannot regenerate ATP without a free-energy source This separate imaginary network has two composite conversions that restore A and B while making ATP from ADP. Both directions cannot lower Gibbs energy because their sum requires positive ATP synthesis energy. An external fuel conversion can supply that energy. A demand converts ATP back to ADP. A result table compares flux balance alone with thermodynamic consistency. A separate test: can a closed cycle make ATP for free? A and B are imaginary intermediates. This is not the hexokinase reaction. Chemical potential ψᵢ: free-energy change per mole added to the mixture. ψᵢ = ψᵢ° + RT ln aᵢ. A reaction uses the sum over products minus reactants. A B R1 ADP ATP R2 A + ADP >> B + ATP B >> A Hold ATP synthesis cost at +30 kJ/mol. Let d = ψB − ψA for the same A and B. R1: ΔᵣG₁ = d + 30 < 0 needs d < −30 R2: ΔᵣG₂ = −d < 0 needs d > 0 No common d satisfies both. Sum: ADP >> ATP ΔᵣG₁ + ΔᵣG₂ = +30 kJ/mol Stoichiometric balance alone permits it. The +30 already includes the chosen ATP/ADP activity ratio and buffered species. Supply a real source of free energy and an ATP-consuming task R3: Fuel + ADP >> Waste + ATP Fuel-to-waste contributes −40. Net ΔᵣG₃ = −40 + 30 = −10 kJ/mol. R4: ATP >> ADP Useful ATP demand. Maximize this flux. Bound R1 and R2 by 10. Bound R3 by the supplied fuel. Balance A, B, ATP and ADP. Maximum ATP demand flux Fuel supply bound Balance + bounds Also thermodynamics 0 10 0 2 12 2 One set of chemical potentials must justify every active reaction simultaneously. Composite conversions use double chevrons. Flux units and free energies are chosen. Phosphate, water and H⁺ are buffered. Their terms are included in the transformed energies. The notebook checks every active-direction pattern and solves the surviving flux problems.
Figure 12c(i). One energy landscape must justify the whole reaction network. The cycle restores A and B while proposing ATP production. Its two forward directions require incompatible values of the same chemical-potential difference. Adding external fuel supplies a legitimate energy source. The table maximizes the ATP-consuming demand under the stated bounds. The chosen ATP synthesis cost already includes the declared ATP/ADP disequilibrium and the buffered phosphate, water and proton terms. Unlike Figure 12a, this is an imaginary network designed to expose a whole-cycle inconsistency.
Optional · Compare the four optimized outputs as bars
2026-10-20T13:24:58.540460 image/svg+xml Matplotlib v3.10.6, https://matplotlib.org/ No supplied fuel Fuel-coupled ATP capacity = 2 0 2 4 6 8 10 12 Maximum ATP drain (normalized flux) Chemical-potential consistency excludes ATP from a closed cycle Stoichiometry and bounds Also chemical potentials
Figure 12c(ii). Thermodynamic feasibility removes ATP production from an unsupported cycle. The teaching network caps the spurious cycle at 10 flux units and a fuel-coupled source at two. Plain flux balance permits ATP output 12. Requiring a common chemical-potential assignment reduces output to two. Turning the fuel source off changes the comparison from 10 to zero. The notebook enumerates the four possible active patterns of the two cycle reactions and checks their energy inequalities.

Direction constraints can make the optimization more demanding. Whether a reaction is active determines which energy inequality must hold. Larger formulations often encode those choices with integer variables. Uncertain standard Gibbs energies and concentration ranges also matter. The benefit is an additional physical test of a proposed flux pattern. A feasible direction still does not supply its rate or stability.

Thermodynamics can reject a mass-balanced solution without specifying every enzyme rate constant.

15Use enzyme abundance and turnover to limit reaction capacity

A total protein budget says how much machinery can be allocated. An enzyme-constrained model can also say which particular catalyst limits a reaction.

Enzyme-constrained flux balance analysis associates throughput with catalyst capacity. For a one-enzyme irreversible reaction,

0≤vj≤kcat,jEj.0\leq v_j\leq k_{\mathrm{cat},j}E_j.

The enzyme abundance EjE_j, in units consistent with the flux normalization, and catalytic turnover kcat,jk_{\mathrm{cat},j} set an upper bound. A shared enzyme must allocate its capacity across the reactions it catalyzes. Protein mass can also be constrained by ∑jMjEj≤Pavailable\sum_j M_jE_j\leq P_{\mathrm{available}}. GECKO incorporates enzyme constraints and proteomic information into genome-scale metabolic models.29

The constraint counts catalytic service rather than chemical consumption. A catalyst that completes kcat,jk_{\mathrm{cat},j} turnovers per hour needs at least vj/kcat,jv_j/k_{\mathrm{cat},j} enzyme amount to sustain flux vjv_j. With flux in mmol gDW⁻¹ h⁻¹ and turnover in h⁻¹, that usage has units mmol gDW⁻¹. Enzyme molecules are regenerated by the catalytic cycle. Their finite occupancy limits how many substrate molecules can be processed per unit time.

GECKO adds this accounting to a metabolic reconstruction. It associates reactions with their catalysts, assigns turnover values and introduces enzyme-usage constraints. Absolute proteomic measurements can bound individual enzymes. When those measurements are incomplete, a common protein-mass budget can bound the modeled enzyme pool. The objective can still be biomass production, and the steady metabolic rows still satisfy Sv=0Sv=0. A fixed set of turnover values and capacity bounds can therefore preserve a linear optimization problem.29

Different gene–enzyme relationships require different capacity accounting. Alternative enzymes can contribute parallel capacity to the same conversion. Subunits of a required complex must be present together. One enzyme that catalyzes several reactions must divide its capacity between them. A simple shared-enzyme restriction is

∑j∈Revjkcat,ej≤Ee,vj≥0.\sum_{j\in\mathcal R_e}\frac{v_j}{k_{\mathrm{cat},ej}}\leq E_e,\qquad v_j\geq0.

Here Re\mathcal R_e is the set of one-way reactions assigned to enzyme ee. A reversible reaction can be represented by separate forward and reverse one-way fluxes. Its capacity should not be assigned twice to the same physical enzyme. These relationships are why a gene list alone does not supply an enzyme-constrained model.

Catalysts supply a finite amount of processing time Two separate enzyme pools permit six plus two units of parallel throughput. A shared pool must divide its catalytic time between different tasks. Enzyme bookkeeping is not chemical consumption. Connect each metabolic flux to the catalyst that carries it Two independent enzymes can work at the same time Substrate A Product B E₁: amount × turnover = 0.6 × 10 = 6 Maximum one-way flux = 6 Substrate A Product B E₂: amount × turnover = 0.4 × 5 = 2 Maximum one-way flux = 2 Supply bound 10 · combined catalytic bound 8 · maximum output 8 Raising E₁ from 0.6 to 0.9 raises capacity to 11, but output stops at supply 10. One enzyme shared across two tasks must divide its time Shared enzyme amount E = 0.6 First task uses v₁/10. Second task uses v₂/5. Total usage ≤ 0.6. No second task: v₂ = 0, so v₁ can reach 6. Require v₂ = 1: it uses 0.2 enzyme, leaving v₁ ≤ 4. An enzyme cannot simultaneously supply its full capacity to both tasks. The usage row budgets catalytic occupancy. It does not consume enzyme molecules. All numerical amounts and turnover rates here are declared teaching units.
Figure 13a. Catalyst amount turns a reaction network into a capacity-constrained machine. The two parallel reactions use independent enzymes. Their capacity limits add. The lower calculation uses a different architecture in which one enzyme serves two tasks. Requiring the second task to run reduces the first task's available capacity. Double chevrons indicate composite chemical conversions. Enzyme-usage rows account for occupancy and do not imply degradation of the catalyst.

A two-enzyme example separates nutrient limitation from catalyst limitation. Two parallel conversions turn the same substrate into a product. Their turnover values are 10 and 5, and their abundances are 0.6 and 0.4 in compatible teaching units. Their capacities are therefore six and two. A substrate supply cap of 10 permits output 10 under ordinary flux balance. The measured-enzyme upper bounds reduce the maximum to eight.

P15Reaction-specific enzyme capacity connects a flux prediction to the machinery needed to achieve it.

2026-10-20T13:24:58.735748 image/svg+xml Matplotlib v3.10.6, https://matplotlib.org/ FBA Enzyme capacity Capacity + saturation 0 2 4 6 8 10 Maximum product flux (normalized units) 0.001 0.01 0.1 1 10 100 Substrate pool (normalized concentration) 0 1 2 3 4 5 6 7 8 Maximum product flux Enzyme-capacity ceiling Enzyme amount and substrate saturation impose different restrictions
Figure 13b. Each added biochemical fact tightens a different part of the prediction. The same two-pathway network has maximum output 10 with only supply and balance, eight with enzyme-capacity bounds, and approximately 1.879 when substrate saturation at concentration 0.1 is included. The last comparison uses Michaelis constants one and 0.05. These are declared example parameters. The notebook changes an enzyme abundance and a substrate concentration separately.
Build the augmented matrix and change an enzyme measurement

Two chemical-balance rows and two enzyme-usage rows encode the example. Let uu import substrate A, v1,v2v_1,v_2 convert A into B, and ww export B. Let e1,e2e_1,e_2 be enzyme amounts used. Then

[1−1−1000011−10001/1000−10001/500−1][uv1v2we1e2]=[0000],0≤u≤10,0≤e1≤0.6,0≤e2≤0.4.\begin{bmatrix} 1&-1&-1&0&0&0\\ 0&1&1&-1&0&0\\ 0&1/10&0&0&-1&0\\ 0&0&1/5&0&0&-1 \end{bmatrix} \begin{bmatrix}u\\v_1\\v_2\\w\\e_1\\e_2\end{bmatrix} =\begin{bmatrix}0\\0\\0\\0\end{bmatrix},\qquad 0\leq u\leq10,\quad0\leq e_1\leq0.6,\quad0\leq e_2\leq0.4.

The first two rows have flux units. The last two have enzyme-amount units because turnover converts flux to required enzyme usage. Eliminating the usage variables gives v1≤6v_1\leq6 and v2≤2v_2\leq2. Maximizing w=v1+v2w=v_1+v_2 therefore gives eight.

A measurement changes the prediction only when it changes the active limit. Increase the first enzyme bound from 0.6 to 0.9. Its capacity increases from six to nine, so the combined catalytic bound becomes eleven. The substrate supply bound limits output to ten. If uptake is instead capped at five, either enzyme measurement permits output five. Extra enzyme does not overcome an unrelated supply limit.

A shared catalyst creates competition even without a total protein budget. For one enzyme amount 0.6 with turnover rates ten and five on two distinct tasks, the occupancy bound is v1/10+v2/5≤0.6v_1/10+v_2/5\leq0.6. With no second task, the maximum first-task flux is six. Requiring v2≥1v_2\geq1 reduces that maximum to four. The allocation of a particular catalyst is now visible in the prediction.

The value of an abundance measurement depends on the other limits. Increasing an enzyme can help only while its capacity restricts a useful route. Once uptake or another shared resource limits output, further enzyme can be unused. Conversely, uncertain turnover estimates can weaken a seemingly precise proteomic constraint. The model exposes which measurements would tighten the prediction.

Use enzyme capacity when substrate supply alone does not set growth

A biological example is yeast growing on different carbon sources. Sánchez and colleagues compared the metabolic reconstruction Yeast7 with its enzyme-constrained version, ecYeast7. The ordinary reconstruction overpredicted growth on sucrose relative to glucose. The enzyme-constrained calculation predicted similar growth rates on those two substrates, consistent with the reported experiments. In that calculation, processing the extra fructose was not worth its ATP and enzyme cost under the finite enzyme budget.29

The useful addition is route-specific catalytic cost under a shared budget. The source fitted an average enzyme saturation using glucose and tested other carbon sources. It also used a shared enzyme-mass budget when individual abundances were unavailable. This example therefore overlaps with proteome allocation. It does not prove that every enzyme needs an independently measured bound. The extra resolution becomes useful when candidate routes have different enzyme requirements or when a particular enzyme abundance is the intervention. Trehalose remained a poor prediction, which shows the limits of the assumed activities and capacities.

An enzyme amount constrains possible throughput. Substrate occupancy and regulation determine how much of that capacity is used.

16Distinguish kinetic bounds from a model of internal accumulation

Adding a Michaelis constant can improve a flux bound. To predict an intracellular trajectory, the corresponding concentration also needs its own balance and initial condition.

Kinetic flux models can combine balance with concentration-dependent rate restrictions. For the two enzymes above, one possible restriction is

vj≤kcat,jEjqAKM,j+qA.v_j\leq k_{\mathrm{cat},j}E_j\frac{q_A}{K_{M,j}+q_A}.

At a specified qAq_A, this gives tighter capacities. If qAq_A is unknown, concentration ranges and kinetic equations can enter the optimization. The phrase “kinetic flux balance analysis” covers several constructions. The decisive question is whether each internal concentration is held steady, prescribed externally or evolved dynamically. The original dynamic flux balance framework already allowed kinetic restrictions.9

Decide whether concentration is an input or a dynamic state At fixed concentration, saturation bounds define a flux problem. Retaining a substrate balance creates a feedback cycle from concentration to capacity to flux to concentration. A kinetic restriction and a dynamic state answer different questions A concentration snapshot A concentration trajectory Specify substrate qA. Compute enzyme occupancy. Capacity = kcat E × qA/(KM + qA) Optimize fluxes with Sv = 0. At qA = 0.1, capacities are 0.545 and 1.333. Output is at most 1.879. No internal time course follows. Specify qA(0) and input u(t). Compute enzyme occupancy. Choose v₁ and v₂ under capacity. Integrate q̇A = u − v₁ − v₂. An input jump first fills the pool. Occupancy and output then rise. Updated qA sets new capacities. Concentration now has memory. Left: constrain rates at a supplied state. Right: retain a state and its balance. Arrows show the calculation sequence. The left model holds internal pools at steady balance.
Figure 14a. Restoring a balance equation changes the question from capacity to response. A fixed substrate concentration supplies an occupancy bound. A dynamic concentration stores the difference between incoming and outgoing flux. The retained pool therefore carries the history needed for a transient. This distinction applies regardless of whether the method is called kinetic flux balance analysis, an integrated model or a dynamic hybrid.

The example separates amount from occupancy numerically. The two enzyme capacities are six and two at full occupancy. At qA=0.1q_A=0.1, the Michaelis constants KM,1=1K_{M,1}=1 and KM,2=0.05K_{M,2}=0.05 give occupancy factors 1/111/11 and 2/32/3. The total attainable output is therefore bounded by 6/11+4/3=62/33≈1.8796/11+4/3=62/33\approx1.879. More enzyme and more substrate are different interventions. The first increases maximum processing capacity. The second increases the occupied fraction of existing capacity.

A kinetic upper bound still leaves a modeling choice. An inequality permits regulation to use less than the available capacity. A specified rate law fixes the rate once its state and parameters are known. In the following two-route example, product maximization selects both upper bounds, so the inequality formulation gives the same rates as the chosen irreversible saturation laws. That equivalence follows from this network and objective. It need not hold for competing pathways or a shared resource.

A specific kinetic flux balance analysis method retains steady internal balance. Cotten and Reed use measured enzyme and metabolite concentrations with ranges of kinetic parameters to constrain fluxes. Their model retains Sv=0Sv=0. The added kinetics therefore refine possible flux distributions across conditions without automatically defining an internal concentration trajectory.33

A concrete kinetic test is the reduced biomass yield of an E. coli Δpgm mutant. In Cotten and Reed's independent test set, the mutant consumed more glucose and released more carbon dioxide at the same growth rate. Ordinary flux balance analysis predicted the parental biomass yield. Adding flux bounds inferred from measured enzyme and metabolite concentrations captured the lower yield. In the reported central-metabolism comparison, glucose-uptake error fell from 16.5% to 1%, and carbon-dioxide-production error from 27.7% to 3.2%.33

Those kinetic bounds supplied condition-specific information that balance alone lacked. The method did not predict the mutant phenotype from genotype alone. It used concentration measurements for the test condition, with kinetic parameters learned from other conditions. Performance worsened for the ΔgpmA mutant. Adding pathways in the genome-scale model also changed the result. Kinetic information can improve a particular prediction, but uncertain rate laws and parameters can add misleading restrictions.

Kinetic hybrids have already restored selected internal pools. Covert and colleagues coupled metabolic, regulatory and signaling models by allowing glucose 6-phosphate, phosphoenolpyruvate and pyruvate to accumulate. Their flux optimization used nonzero balance terms for those selected metabolites. These selected accumulation equations make intracellular dynamics part of the integrated model.30

Glucose-to-lactose transitions show when selected internal dynamics matter. Covert and colleagues compared regulatory flux balance analysis, a kinetic model and their integrated model for E. coli. All three could describe the broad substrate-use and biomass curves. The integrated model additionally represented changing internal phosphoenolpyruvate, pyruvate and glucose 6-phosphate, together with transporter and signaling dynamics. This is useful when the question concerns the internal transition rather than only total biomass. The improvement combines retained pools, kinetics and regulation. It is not an effect of adding a Michaelis constant alone.30

The kinetic-hybrid calculation uses the same small two-enzyme model. Initialize the retained substrate pool at the steady state for input one. At each later pool concentration, a linear program maximizes product output under the two saturation-dependent capacities. An adaptive differential-equation solver advances that pool using input minus output. All quantities use the declared teaching units.

Restore one accumulation equation to make the distinction visible. Keep the product pool balanced, but allow the substrate pool to change:

q˙A=u(t)−v1(qA)−v2(qA),vout=v1+v2.\dot q_A=u(t)-v_1(q_A)-v_2(q_A),\qquad v_{\mathrm{out}}=v_1+v_2.

At each concentration, maximizing product output saturates both independent one-way enzyme bounds. This determines the functions v1(qA)v_1(q_A) and v2(qA)v_2(q_A) in this example. The notebook steps the supplied flux from one to five at time three. Immediately after the step, qAq_A is unchanged, so the enzyme capacities are unchanged. Substrate accumulates. Higher occupancy then increases output until a new balance is reached. The hybrid retains one internal differential equation and an instantaneous product-allocation problem.

P16Kinetic information restricts rates. An accumulation equation is what allows an internal pool to have a transient.

2026-10-20T13:24:59.174604 image/svg+xml Matplotlib v3.10.6, https://matplotlib.org/ 0 2 4 6 8 10 12 Time (normalized) 0.0 0.2 0.4 0.6 0.8 1.0 Internal substrate (normalized concentration) Dynamic internal pool Instantaneous steady solution 0 2 4 6 8 10 12 Time (normalized) 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 Flux (normalized units) Input flux Output flux Releasing one internal balance creates a measurable transient
Figure 14b. A kinetic hybrid explicitly restores the state that steady flux balance removed. Input changes before substrate concentration and enzyme throughput can change. The accumulated pool increases the saturation-dependent capacities. The curve is a new calculation using the same two enzymes as Figure 13b. It illustrates why a flux-balance-derived hybrid can contain intracellular dynamics when its equations explicitly retain them.

Kinetic data constrain possible rates. Retained balances and initial conditions define which intracellular states can respond over time.

17Compare mechanistic, constraint-based and learned descriptions of a cell

A metabolic reconstruction, a whole-cell simulator and a neural predictor can all be large. Their size does not tell us what kind of explanation or prediction they provide.

Separate the mathematical description from the biological coverage. A mechanistic description supplies process laws and interactions. A constraint-based description supplies admissible actions and a task that selects among them. A learned predictor fits a mathematical function or representation to measurements. Each approach uses assumptions and data. Their distinction concerns what the model explicitly specifies before computing a prediction.

Compare what is specified and what is computed Mechanistic laws specify a state update, constraint-based models specify feasible behavior and a task, learned models fit a representation to data. Whole-cell models can combine these approaches. Three descriptions can coexist in the same cellular model Mechanistic process model Specify reactions, rates and interactions. Integrate ẋ = f(x, inputs). The chosen mechanisms determine the state update. Prediction needs parameters and initial conditions. Examples: enzyme kinetics, replication and molecular events. Constraint-based model Specify feasible actions and a performance task. Solve max J subject to balances and bounds. The task selects behavior within explicit physical restrictions. A regulatory rate law need not be fully specified. Examples: flux balance analysis and structured optimal control. Learned cellular predictor Fit a mathematical representation to measurements. Train fθ by minimizing prediction loss. The learned function links supplied data to predicted data. Conservation and causal mechanisms need explicit additions. Example: scGPT gene and cell representations. Whole-cell coverage is a separate choice about which processes are included. Karr 2012 couples 28 process modules, including flux-balance metabolism. Hybrid models can use measured rates, optimized fluxes and learned components together. The diagram compares mathematical descriptions, not a ranking of accuracy or biological completeness.
Figure 14c. Constraint-based prediction combines an explicit physical structure with an incomplete behavioral specification. The reaction network, resource restrictions and objective remain interpretable. The optimizer supplies a behavior compatible with those choices. Mechanistic models directly specify process laws, while learned models estimate a function from training data. These descriptions can be combined. Whole-cell coverage is a separate question about how many cellular processes are represented.

Constraint-based models occupy a useful intermediate position. They retain chemical accounting and selected physical restrictions while leaving much of the detailed regulation unspecified. They can predict a performance bound or a candidate behavior before a complete regulatory rate law is known. That economy is also a limit: a feasible optimum is not proof that the cell implements the selected behavior.

Whole-cell mechanistic modeling can combine several mathematical formalisms. Karr and colleagues coupled 28 process submodels through shared cellular states. Their metabolism module used flux balance analysis. Other modules described different mechanisms with different mathematics. Whole-cell coverage can therefore combine constrained optimization with directly specified process laws. The useful contrast is an integrated account of many processes versus a model focused on a particular task or subsystem.31

scGPT learns a representation of molecular measurements rather than a complete metabolic mechanism. Its transformer is pretrained on single-cell data and adapted to tasks such as annotation, integration and perturbation prediction. Gene and cell embeddings encode statistical structure useful for these tasks. They do not, by themselves, provide a reaction inventory, enzyme mechanism, mass balance or an intracellular differential equation. A good prediction on held-out measurements and a mechanistic account of a transient are different achievements.32

P17Identify what is specified, learned and optimized before comparing cellular predictions.

Model classWhat it representsHow it differs from the examples above
Genome-scale metabolic reconstructionA curated reaction, metabolite and gene-association inventory.Coverage does not itself choose an objective, a dynamic state or a regulatory law.
Constraint-based modelPhysical restrictions plus an objective that selects feasible behavior.It can predict an optimum without fully specifying the regulatory rate law. Its result depends on the task and retained constraints.
Whole-cell mechanistic modelCoupled models of metabolism, expression, replication and other cellular processes.Different modules can use different mathematics, including flux balance analysis. Whole-cell coverage requires more than a metabolic reconstruction.
scGPTA learned representation of single-cell molecular measurements, pretrained and adapted to downstream tasks.Its predictive structure comes from data and training. Stoichiometric conservation and enzyme kinetics are not automatically supplied by the representation.

Whole-cell models combine subsystem descriptions. Karr and colleagues integrated multiple cellular-process models for Mycoplasma genitalium. Their model exemplifies a larger architecture in which metabolism is one module. scGPT instead learns from single-cell expression data and supports tasks such as annotation and data integration. Neither label is interchangeable with flux balance analysis.3132

Blended models are natural when a task needs several kinds of information. A reconstruction can provide conservation, protein measurements can constrain capacity, kinetics can supply selected rate dependencies, and data can estimate uncertain components. The resulting model should state which equations enforce the physical constraints and which quantities are learned or optimized.

The common steady-pool variants cannot explain the ATP dip merely by adding external or protein-allocation dynamics. Internal dynamics become available when the corresponding accumulation and rate dependencies are restored.

Part 3 synthesis · Choose added information by the prediction it changes

A constraint is practically useful when it excludes a plausible but wrong prediction for the question at hand. More biochemical detail is not automatically better. Identify the observable and the perturbation first. Then ask which resource, state or physical law the simpler model omitted.

Question and exampleUseful additionWhat the addition changesWhat it still needs
When does a batch exhaust glucose? Which community survives repeated dilution?Dynamic flux balance analysis: external concentrations, biomass and culture protocol.The environment changes successive uptake bounds and growth optima. Batch, continuous culture and serial dilution need different boundary equations.Uptake laws and a specified protocol. Balanced internal pools do not give intracellular transients.
Why excrete carbon with oxygen available? How fast does growth recover after a nutrient shift?Proteome allocation: a finite protein budget. For recovery, also retain protein fractions and their production laws.The static budget explains competing pathway costs. Protein dynamics explain why the existing machinery limits adjustment.Allocation costs and, for a transient, the rule and timescale for changing the proteome. A static budget alone has no recovery time.
Can phosphorylation continue after ATP/ADP collapses? Is an ATP-generating cycle physically possible?Thermodynamic constraints: activity ranges, reaction energies and common species potentials.They test and couple reaction directions. They can reject an optimum even when its mass balance and nominal flux bounds are unchanged.Relevant activities or ranges and consistent energy estimates. Thermodynamics constrains direction, not the achieved speed.
Which carbon source can support rapid yeast growth? Would changing a particular catalyst increase output?Enzyme-constrained flux balance analysis: turnover, enzyme usage and individual or pooled protein bounds.It resolves which catalysts or pathways consume the available capacity. The yeast carbon-source comparison provides a concrete example.Credible turnover and abundance information. A nonbinding enzyme bound changes nothing. A pooled formulation can overlap strongly with proteome allocation.
Why does Δpgm have lower biomass yield? What happens as an internal substrate pool rises?Kinetic restrictions: concentration-dependent occupancy, inhibition or activation. Retain accumulation equations when the trajectory matters.Measured concentrations can distinguish flux patterns with the same stoichiometry. Dynamic pools can carry the memory needed for intracellular responses.Applicable rate laws and parameters. Better results in one condition do not establish universal improvement.

Enzyme capacity and kinetic restrictions already support specific tested predictions. Their value depends on the question and available measurements. The lecture distinguishes experimental comparisons in the source papers from the smaller calculations reproduced here. A useful assessment compares the same observable under the same conditions, states what information was fitted or supplied, and reports failures alongside successes.

Physical validity and predictive improvement are different tests. A thermodynamic constraint can enforce validity even when it leaves the optimum unchanged. A noisy enzyme estimate can change an optimum without improving it. To judge an added constraint, compare the prediction with and without that information and ask whether the change agrees with independent evidence.

The transition to Part 4 asks which internal states must be allowed to move. If the phenomenon is an ATP dip, recovery or oscillation, enforcing ATP balance at every instant removes the phenomenon. Restoring accumulation opens the dynamic question. The next part asks how physical constraints and a declared objective can select candidate trajectories without supplying every regulatory rate law.

Part 4 · Restore binding and catalysis to predict metabolic dynamics

Change what the optimizer controls. Keep the catalytic dependence on the pools that the cell must regulate.

The key distinction is which concentrations are allowed to accumulate. Successive steady flux optimizations can predict external nutrient depletion, biomass growth and ecological feedback. Protein allocation dynamics can add another slow state. Those additions do not by themselves restore the internal ATP and intermediate pools removed by Sv=0Sv=0. A kinetic hybrid can restore selected pools, as the preceding example shows.

Flux exponent control retains an intracellular dynamic plant. Retain q˙=Sv(q,u)+Sww\dot q=S v(q,u)+S^w w. Put substrate-dependent catalysis inside the metabolic plant. Let the unknown regulation act through enzyme activity and constrain its concentration dependence using binding structure. A finite-horizon growth objective can now value the future consequences of present regulation. ATP regulation supplies a smaller subsystem task. Both questions require the internal pools to remain dynamic.

Choose a steady task or retain intracellular catalytic dynamics The same biochemical specification leads to two distinct modeling tasks. Flux balance analysis asks for sustained output at approximately steady internal pools. Flux exponent control retains internal pool dynamics and substrate-dependent catalytic fluxes while optimizing admissible enzyme activities. These unlike tasks are not represented as nested trajectory sets. From biochemical specification to the task being predicted Biochemical specification q̇ = Sv + Sʷw · catalytic structure · binding · regulation · resources Ask for sustained output Ask for an intracellular response Flux balance analysis Set internal accumulation to zero. Sv + Sʷw = 0 Optimize fluxes with the retained bounds. Extensions add resources, feasibility or dynamics outside this steady subproblem. Flux exponent control Retain the catalytic plant dynamics. q̇ = S v(q,u) + Sʷw Optimize admissible enzyme activities u. Substrate availability still controls rates. ATP can dip, recover or oscillate. The steady projection changes the task. It is not an outer set of all transient histories. Kinetic hybrids can also retain intracellular dynamics. The relevant distinction is the state equation. Flux exponent control adds structured regulation to the plant. Its predictions still depend on objective and constraints.
Figure 15. Return to the biochemical specification and retain the structure needed for the task. The teaching progression is biochemical specification, flux balance analysis, then flux exponent control. The diagram separates the mathematical tasks. Steady flux balance analysis sets internal accumulation to zero and relaxes kinetic detail. Flux exponent control retains intracellular dynamics and constrains regulation through catalysis and binding. Within a fixed task, relaxing constraints gives performance bounds. Changing from steady fluxes to concentration histories changes the task itself.

18Binding restricts how regulation can change catalytic fluxes

We do know more than the stoichiometric matrix. A cell changes metabolic rates through molecular interactions with enzymes. Flux exponent control retains this additional structure without specifying every regulatory mechanism.

Enzymes keep catalyzing when their regulation is held fixed. In glycolysis, fixing an enzyme's activity does not fix its flux. The investment rate still depends on ATP. The payoff rate still depends on intermediate. We should therefore place these concentration dependences inside the plant and let the unknown regulation act on enzyme activity.

P18Keep substrate-dependent catalysis in the plant. Constrain the unknown regulation using what binding can implement.

Regulation acts through different physical layers Which part is known, and which part remains a control variable? Enzyme production and removal Changes the amount of catalyst Gene expression, degradation and dilution Binding and molecular state Changes the active fraction of an enzyme Metabolites and regulators select molecular states Metabolic catalysis Converts substrates while enzymes keep acting Fluxes change metabolite totals enzyme total active catalyst metabolite feedback Enzyme modification also changes activity through catalytic steps. Flux balance analysis Unknown fluxes are selected subject to steady-state balance. Flux exponent control Activity regulation is constrained while catalytic dynamics remain. Arrows show causal influence. The layers are a modeling choice, not isolated subsystems.
Figure 16. Choose a boundary inside the molecular architecture. Adapted from the lecturer’s 2024 slides and Figure 4 of Xiao, Li and Doyle. Enzyme synthesis and removal change abundance. Binding redistributes molecular states. Catalytic fluxes change metabolite pools, which feed back through those molecular interactions. The arrows describe causal dependence, not elementary chemical reactions.

The binding-catalysis split distinguishes two sources of change. Binding redistributes molecules among free and complexed states. Catalysis changes molecular totals. On a fast metabolic timescale, enzyme totals may be held fixed while binding changes their active fractions. On a longer timescale, enzyme synthesis, degradation and growth dilution must become part of the dynamics. Covalent enzyme modification also requires catalytic state-changing reactions. The relevant molecular steps determine the model boundary.1

First keep the catalytic dependence that remains when enzyme activity is fixed. For our glycolysis example, remove the specified Hill denominators and retain their positive activity factors as controls:

vˉ1=2qˉATPu1,vˉ2=2κqˉIu2,dqˉdtˉ=Svˉ(qˉ,u)+Swwˉ.\bar v_1=2\bar q_{\mathrm{ATP}}u_1,\qquad\bar v_2=2\kappa\bar q_Iu_2,\qquad\frac{d\bar q}{d\bar t}=S\bar v(\bar q,u)+S^w\bar w.

Substituting the earlier Hill factors recovers the known model. Fixing activity still leaves flux dependent on ATP or intermediate. The unknown regulation acts on this catalytic plant.

The same activity can conceal different feedback responses. In every Hill example, the baseline ATP level is one and the upstream activity is u1∗=1/2u_1^*=1/2. The upstream flux is therefore one for every hh. What differs is how activity changes when ATP changes. We need a measure of that response, not just its value at one operating point.

The reaction order measures the relative response of flux to concentration. For a static regulatory law u1=u1(qˉATP)u_1=u_1(\bar q_{\mathrm{ATP}}), the resulting upstream flux depends on ATP alone. Define its ATP reaction order aa at the baseline by

a=dlog⁡vˉ1dlog⁡qˉATP=1+dlog⁡u1dlog⁡qˉATP.a=\frac{d\log\bar v_1}{d\log\bar q_{\mathrm{ATP}}}=1+\frac{d\log u_1}{d\log\bar q_{\mathrm{ATP}}}.

A small one-percent ATP increase produces approximately an aa-percent flux change, with other independent quantities held fixed. The explicit ATP substrate factor contributes one. The regulatory response supplies the remaining slope. For the Hill law, the activity slope at baseline is −h-h, so a=1−ha=1-h.

A binding mechanism restricts which slopes can occur. Consider productive binding E+ATP⇌k−k+C→kcatE+productsE+\mathrm{ATP}\xrightleftharpoons[k_-]{k_+}C\xrightarrow{k_{\mathrm{cat}}}E+\text{products}. Here CC is the enzyme–ATP complex. Hold other required substrates fixed. Assume fast binding equilibrium, fixed enzyme total qEq_E and negligible ATP depletion by a trace enzyme, so free ATP approximates qATPq_{\mathrm{ATP}}. With Kd=k−/k+K_d=k_-/k_+,

v1=kcatqEqATPKd+qATP,a=KdKd+qATP∈(0,1).v_1=k_{\mathrm{cat}}q_E\frac{q_{\mathrm{ATP}}}{K_d+q_{\mathrm{ATP}}},\qquad a=\frac{K_d}{K_d+q_{\mathrm{ATP}}}\in(0,1).

In the multiplicative representation, the activity factor is proportional to the free-enzyme fraction, u1∝1/(1+qATP/Kd)u_1\propto1/(1+q_{\mathrm{ATP}}/K_d). Its logarithmic slope is a−1a-1. Binding lowers the flux reaction order from one toward zero without reversing its sign. A negative flux reaction order requires additional regulation, such as ATP binding that inhibits enzyme activity.

Now ask which orders stabilize the same glycolysis operating point. Keep upstream flux independent of intermediate and payoff first order in intermediate. For a static downstream regulatory law, let b=∂log⁡vˉ2/∂log⁡qˉATPb=\partial\log\bar v_2/\partial\log\bar q_{\mathrm{ATP}} be the downstream ATP reaction order after substituting that law, with intermediate held fixed. The earlier Hill law gives b=−g=−0.3b=-g=-0.3 at baseline. Insert these slopes into the two concentration balances. The local stability test gives

2b−κ<a<0,hence−1.7<a<0for κ=1.1.\boxed{2b-\kappa<a<0,\qquad\text{hence}\quad-1.7<a<0\quad\text{for }\kappa=1.1.}

A3 gives the two-by-two calculation. The strict inequalities exclude marginal linearizations at the two endpoints. The comparison holds the external demand fixed and asks whether small pool perturbations decay.

Binding and stability constrain the same reaction order Productive ATP binding alone
v1∝qATP/(Kd+qATP)v_1\propto q_{\mathrm{ATP}}/(K_d+q_{\mathrm{ATP}})
−3-3
00
33
−1-1
00
11
Reaction order
log⁡10(qATP/Kd)\log_{10}(q_{\mathrm{ATP}}/K_d)
Flux reaction order Activity reaction order
a=1+dlog⁡u1/dlog⁡qATPa=1+d\log u_1/d\log q_{\mathrm{ATP}}
Which orders stabilize glycolysis?
a=1−h,b=−0.3a=1-h,\qquad b=-0.3
Stable glycolysis baseline
−1.7-1.7
00
Productive binding alone
00
11
Hill laws at the same baseline
h=2.5, a=−1.5h=2.5,\ a=-1.5
h=2.8, a=−1.8h=2.8,\ a=-1.8
h=3.1, a=−2.1h=3.1,\ a=-2.1
−2-2
−1-1
00
11
Upstream ATP reaction order
aa
qˉI∗=1/κ,qˉATP∗=1,vˉ1∗=vˉ2∗=1,κ=1.1\bar q_I^*=1/\kappa,\quad\bar q_{\mathrm{ATP}}^*=1,\quad\bar v_1^*=\bar v_2^*=1,\quad\kappa=1.1
Productive binding alone cannot stabilize this ATP-producing architecture.
Figure 17. Binding and stability constrain the same reaction order. Productive substrate binding permits upstream ATP reaction orders between zero and one, with the endpoints reached only as limits. The same order axis shows the glycolysis stability interval and the three Hill cases from Figure 3. The baseline has pools (1/κ,1)(1/\kappa,1), both fluxes one, κ=1.1\kappa=1.1 and downstream ATP reaction order b=−0.3b=-0.3. Payoff is first order in intermediate. Upstream flux is independent of intermediate. Open endpoints are excluded. These are local baseline conditions. A finite demand change requires evaluating the reaction orders at the new operating point.

The binding restriction now rules out a proposed controller. Even after choosing the rate prefactor to match the baseline flux, productive ATP binding leaves a positive reaction order. Its allowed orders do not intersect the negative interval required for stability. The running Hill examples supply inhibitory regulation instead. Their orders are −1.5,−1.8,−2.1-1.5,-1.8,-2.1. The first lies inside the baseline stability interval. The other two lie beyond it. This is a statement about the baseline, not the new operating point reached after a finite demand step.

Flux exponent control turns such restrictions into a description of possible regulation. Binding determines attainable reaction orders. The catalytic plant and control objective determine which responses are useful. We can then search over regulation subject to the retained constraints without first identifying every binding affinity or regulatory interaction. The next calculation uses a relaxed version of this search to predict transients.

Compare the reaction orders a binding mechanism permits with the reaction orders the cellular task requires. Baseline activity alone cannot make that comparison.

19Choose the horizon and maximize final viable biomass

A cell can sacrifice growth now to preserve the machinery that supports growth later. A whole-cell objective must assign value to that future before we ask an optimizer to choose the present action.

Final viable biomass supplies the default whole-cell objective in this lecture. Let N(t)N(t) denote viable biomass, μ(t)\mu(t) its specific biomass-production rate and d(t)d(t) its specific loss rate. Start from the observed intracellular state x(t)x(t), including the pools and machinery that the model retains. Choose admissible regulation uu over a declared horizon:

max⁡u(⋅)N(t+T),subject tox˙=fcat(x,u,w),N˙=[μ(x,u)−d(x,u,w)]N,x(t)=xcurrent,N(t)=Ncurrent,x∈Xviable,u∈U.\begin{aligned} \max_{u(\cdot)}\quad&N(t+T),\\ \text{subject to}\quad&\dot x=f_{\mathrm{cat}}(x,u,w),\qquad \dot N=[\mu(x,u)-d(x,u,w)]N,\\ &x(t)=x^{\mathrm{current}},\quad N(t)=N^{\mathrm{current}},\quad x\in\mathcal X_{\mathrm{viable}},\quad u\in\mathcal U. \end{aligned}

The catalytic state equation fcatf_{\mathrm{cat}} retains the chosen reaction balances, substrate dependence and enzyme states. The external environment or demand is ww. The sets Xviable\mathcal X_{\mathrm{viable}} and U\mathcal U impose viability, finite resources and implementable control actions. Concentrations in a growing cell require dilution terms. Newly made enzyme cannot appear instantaneously merely because it would improve the optimum.

The biomass balance tells us which accumulated growth rewards are equivalent. For a fixed positive initial biomass,

log⁡N(t+T)N(t)=∫tt+T[μ(s)−d(s)] ds.\log\frac{N(t+T)}{N(t)} =\int_t^{t+T}[\mu(s)-d(s)]\,ds.

Maximizing final biomass therefore has the same optimizer as maximizing integrated net specific growth. The two objective values have different units and numerical meanings. If vbiomass=μNv_{\mathrm{biomass}}=\mu N and vloss=dNv_{\mathrm{loss}}=dN are absolute biomass-production and loss fluxes, then

N(t+T)=N(t)+∫tt+T[vbiomass(s)−vloss(s)] ds.N(t+T)=N(t)+\int_t^{t+T} [v_{\mathrm{biomass}}(s)-v_{\mathrm{loss}}(s)]\,ds.

Accumulating these absolute fluxes is another equivalent formulation. A sum of specific growth rates approximates the logarithmic change. A sum of absolute biomass-production fluxes approximates the biomass change. The equality requires the stated balance and consistent time-step weights. It does not turn an arbitrary ATP outlet into a calibrated specific growth rate.

Discounting a running reward changes the task. For a loss-free example, compare final biomass with

Jδ=∫tt+Te−δ(s−t)μ(s) ds,δ≥0.J_\delta=\int_t^{t+T}e^{-\delta(s-t)}\mu(s)\,ds,\qquad\delta\geq0.

At δ=0\delta=0, this is the terminal-biomass objective in logarithmic form. A positive δ\delta assigns less value to later specific growth. By contrast, multiplying the single terminal reward by the fixed number e−δTe^{-\delta T} cannot change its optimizer. Discounting is not automatically a survival model. If stress kills cells, that loss must enter the viable-biomass balance or a stated stochastic survival model.

The horizon must contain the consequence of an investment. Making more metabolic enzyme can consume resources before it improves precursor supply. Making more ribosomes can improve future translation while drawing resources from metabolism. A short horizon can undervalue either investment. A finite endpoint can also favor spending a reserve that would matter just beyond the endpoint. Terminal viability conditions, a longer horizon or a justified continuation value can change that incentive.

A growth objective is a modeling hypothesis tied to an environment. Viable growth and reproduction provide a broad organizing question. Uncertain stress, survival, resource sharing and future reproductive opportunities affect the appropriate mathematical formulation. The calculations below test consequences of explicit choices. A successful trajectory alone does not identify a unique evolutionary objective.

P19Define viable biomass, its balance and the future horizon before selecting a cellular growth strategy.

Translate the whole-cell task into a subsystem performance requirement

A subsystem can serve growth by maintaining a dependable supply. Gene expression and biosynthesis need ATP and precursors at usable levels. A metabolic controller that keeps ATP near an operating level despite changing demand supports those processes. The ATP-regulation objective in the next section is a local performance requirement for that module. It summarizes what the rest of the cell needs without modeling every downstream use of ATP.

The decomposition must include the cost and limits of providing that supply. Perfect ATP tracking with unlimited enzyme capacity would be uninformative. The module must respect catalytic substrate dependence, finite capacity and the cost or speed of activity changes. Its useful operating range consists of the demands it can meet under those restrictions.

The subsystem objective is an explicit approximation to the larger task. A full decomposition would derive the value of ATP and precursors from their effect on other modules and future biomass. The tracking objective below does not claim to be that unique decomposition. The optional architecture section develops the connection through gene expression and reliable electrical supply. The later allocation calculation returns to final biomass itself.

Which plant, action and objective does each dynamic experiment use?

Read each result as a solution to its stated task. The next four examples develop different questions. Their models are related, but their trajectories do not form a single comparison with every physical assumption held fixed.

ExampleChosen action and retained statesObjectiveHow the future is used
Point 20 · ATP regulationTwo enzyme activities act on intermediate and ATP pools. Catalytic substrate dependence remains.Track reference pools and penalize activity changes.Apply the first predicted change, observe the nonlinear plant, then replan.
Point 21 · ATP protection during growthThree activities allocate ATP. The growth outlet counts ATP equivalents, without a biomass state.Reward growth allocation while penalizing ATP depletion.Repeat a short nonlinear optimization after each observation.
Point 22 · Final biomass under stressInvestment and growth activities act on pools and biomass. Payoff capacity is fixed. Growth dilution is included.Maximize final biomass subject to an ATP viability floor.Optimize a complete action sequence for a known disturbance horizon.
Points 23–24 · Investment in machineryAllocate newly made protein. Precursor, metabolic protein and ribosomal protein evolve.Maximize final biomass, then change the horizon or discount running growth.Optimize a complete action sequence for a known nutrient shift.

Within one experiment, change one assumption to interpret its effect. The activity-cost sweep in point 20 holds its plant fixed. The pause comparison in point 22 changes a growth-activity bound. The discount comparison in point 24 changes the reward at a fixed horizon. A comparison between points 20 and 22 changes both the plant and the objective.

A complete sequence optimized for a known future is a candidate strategy under that information. A feedback controller for unforeseen disturbances needs a rule for sensing and replanning. The optimization itself does not identify the molecular implementation.

20Optimized enzyme regulation recovers oscillatory ATP transients

Can we recover the qualitative transient without inserting the Hill feedback law? We now ask the structured plant to keep its pools near desired levels while avoiding abrupt activity changes.

Activity control becomes informative only when its freedom is specified. At positive pool concentrations, unconstrained activities can still produce any desired positive fluxes by choosing

u1=vˉ12qˉATP,u2=vˉ22κqˉI.u_1=\frac{\bar v_1}{2\bar q_{\mathrm{ATP}}},\qquad u_2=\frac{\bar v_2}{2\kappa\bar q_I}.

This would recover the free-flux choice from Section 5. Binding laws, capacity limits or restrictions on how activity can change supply the missing constraints. The next calculation retains the catalytic plant, positive activities and pool floors, and makes activity changes costly. It relaxes the explicit binding reaction-order constraint so that we can examine this dynamic control problem without choosing a molecular mechanism.

Specify a task before selecting a controller. Let qrefq_{\mathrm{ref}} be positive reference pools, QQ the weights on their relative errors, and RR positive weights on changes of log activity. Start from the currently observed pools qcurrentq^{\mathrm{current}} and positive activities ucurrentu^{\mathrm{current}}. Over a future interval of duration TT, consider

min⁡u(⋅)∫tt+T[(log⁡qqref)TQlog⁡qqref+(dlog⁡udt′)TR(dlog⁡udt′)]dt′,subject toq˙=Sv(q,u)+Sww,q(t)=qcurrent,u(t)=ucurrent,q∈X,u∈U.\begin{aligned}\min_{u(\cdot)}\quad&\int_t^{t+T}\left[\left(\log\frac{q}{q_{\mathrm{ref}}}\right)^{\mathsf T}Q\log\frac{q}{q_{\mathrm{ref}}}+\left(\frac{d\log u}{dt'}\right)^{\mathsf T}R\left(\frac{d\log u}{dt'}\right)\right]dt',\\\text{subject to}\quad&\dot q=S v(q,u)+S^w w,\quad q(t)=q^{\mathrm{current}},\quad u(t)=u^{\mathrm{current}},\quad q\in\mathcal X,\quad u\in\mathcal U.\end{aligned}

The sets X\mathcal X and U\mathcal U specify state and actuator restrictions. An ATP floor is one possible state constraint. Activity bounds, allowed regulation channels and mechanism-specific reaction-order restrictions can constrain the controller. Different choices define different performance questions.

The paper solves a sequence of short prediction problems. Model predictive control predicts the future from the current pools, optimizes an activity sequence, applies its first change and replans. The numerical example uses a local linear prediction at each update and advances the nonlinear catalytic plant between updates. The cell need not literally execute this algorithm for the constrained calculation to be informative.6

The experiment asks the controller to reach a new operating condition. As in the published notebook, demand rises from one to 1.1. The target ATP concentration changes from one to 0.93, and the target intermediate concentration changes from 1/κ1/\kappa to 1/κ+0.071/\kappa+0.07. The three optimized responses use increasing costs of activity changes. This is a response to a demand change and a target change together. The comparison with the Hill model concerns the emergence of ringing.

P20Oscillatory transients can emerge from a structured plant and a regulation objective without specifying the Hill mechanism.

Optimization recovers oscillatory transients without the Hill feedback law Specified Hill feedback 0 20 40 0.8 0.9 1 1.1
t/tmett/t_{\mathrm{met}}
qˉATP\bar q_{\mathrm{ATP}}
0 20 40 0.9 1 1.1 1.2
t/tmett/t_{\mathrm{met}}
vˉ2\bar v_2
h=2.5h=2.5
h=2.8h=2.8
h=3.1h=3.1
Optimized enzyme activity 0 20 40 0.8 0.9 1 1.1
t/tmett/t_{\mathrm{met}}
qˉATP\bar q_{\mathrm{ATP}}
0 20 40 0.9 1 1.1 1.2
t/tmett/t_{\mathrm{met}}
vˉ2\bar v_2
r=3r=3
r=4.25r=4.25
r=5.5r=5.5
Same stoichiometry and catalytic plant. Different descriptions of regulation.
Figure 18. A control objective recovers oscillatory transients without the specified Hill feedback. The left column uses the Hill law with h=2.5,2.8,3.1h=2.5,2.8,3.1. The right column optimizes activity changes with discrete weights r=3,4.25,5.5r=3,4.25,5.5. Teal, blue and rose identify these three values in order. Both use the same catalytic plant and demand step. The optimized target changes from (1/1.1,1)(1/1.1,1) to (1/1.1+0.07,0.93)(1/1.1+0.07,0.93). Different control descriptions produce qualitative ringing, not identical trajectories. The dashed line is the steady flux requirement, not an ATP concentration prediction. A4 gives the full numerical settings and an interactive replay.

A regulation objective can produce ringing without specifying a Hill feedback law. ATP initially falls when demand rises. The activities then change and the pools ring as the controller pursues the specified reference. These are oscillatory transients from the computed controller, not evidence that it has reconstructed the original allosteric mechanism or produced the same sustained oscillation as every Hill-law case.

A molecular implementation is a further construction. To implement the optimized regulation, we would need a binding network and any controller memory that achieve it over the relevant states. The optimized activity trajectory alone does not identify that network.

A steady flux optimum has no corresponding concentration trace. FBA supplies the balanced requirement vˉ1=vˉ2=wˉ\bar v_1=\bar v_2=\bar w. It cannot produce the ATP dip or ringing shown here. Dynamic FBA and other extensions add further assumptions, such as changing external concentrations or biomass. The distinction here is the internal substrate-dependent transient retained by the catalytic plant.

Read an optimized trajectory together with its plant, objective and enforced constraints. Qualitative dynamics can be inferred without identifying every kinetic mechanism.

21An optimizer can pause growth to protect ATP

At steady state, our small pathway left vgrow=v1−wv_{\mathrm{grow}}=v_1-w for growth. That balance assumes production has already adjusted. During a demand increase, the payoff rate depends on the intermediate currently available. Growth now competes with restoring the same ATP pool that must fund the adjustment.

Temporary growth arrest is a classical bacterial phenotype. Monod's 1949 account describes lag and diauxic growth, including two growth phases separated by a marked slowdown when cells switch substrates. Modern nutrient-shift experiments also resolve abrupt falls and subsequent recovery of growth. Such a pause can reflect the need to rebuild enzyme capacity, restore metabolites or meet changed demands. It is not automatically evidence of cell death.3926

The modeling question is why sacrificing growth now can help the cell continue later. A complete explanation of diauxie needs its transport and regulatory mechanisms. Here we ask a narrower question: can physical resource balances and a declared performance objective already make a temporary pause useful? The calculation below tests an increase in ATP demand. It is not a reconstruction of the molecular mechanism of every observed bacterial lag.

Growth and maintenance draw on the same ATP pool. Keep the three-reaction accounting used in the small flux balance example. The new question is how to allocate ATP while the pools are changing.

dqˉIdtˉ=vˉ1−vˉ2,dqˉATPdtˉ=−vˉ1+2vˉ2−vˉgrow−wˉ.\begin{aligned}\frac{d\bar q_I}{d\bar t}&=\bar v_1-\bar v_2,\\\frac{d\bar q_{\mathrm{ATP}}}{d\bar t}&=-\bar v_1+2\bar v_2-\bar v_{\mathrm{grow}}-\bar w.\end{aligned}

The bar denotes the same declared concentration, flux and time normalization throughout this calculation. The growth outlet measures allocation of ATP equivalents to growth material. Its time integral is cumulative growth allocation. It is not a specific population growth rate.

To constrain the changing fluxes, retain a dependence on the pools and enzyme activities. The following illustrative rate form follows the reaction structure and fixed partial powers of the growth example in the lecturer's Shenzhen slides. The numerical calculation is new.7

vˉ1=qˉATP−2u1,vˉ2=2qˉIu2,vˉgrow=qˉATPugrow.\bar v_1=\bar q_{\mathrm{ATP}}^{-2}u_1,\qquad \bar v_2=2\bar q_Iu_2,\qquad \bar v_{\mathrm{grow}}=\bar q_{\mathrm{ATP}}u_{\mathrm{grow}}.

The first flux already includes an effective inhibitory dependence on ATP. The exponent −2-2 is an assumed reaction order. It is not the number of ATP molecules consumed and is not a bare mass-action law. The first two activities lie between 10−410^{-4} and 11. The growth activity lies between 00 and 11. The rates extend continuously to zero growth activity.

This calculation uses a short-horizon surrogate for the whole-cell task. It rewards ATP allocation to growth and penalizes loss of the ATP reserve. It does not directly maximize a calibrated population size over a long horizon. A pure long-horizon growth calculation would need a relation between biomass production and growth, together with viability and resource dynamics.

The optimization rewards growth while preserving an ATP reserve. At each observation, predict twenty steps of length Δtˉ=0.1\Delta\bar t=0.1. Let uk=[u1,k,u2,k,ugrow,k]Tu_k=[u_{1,k},u_{2,k},u_{\mathrm{grow},k}]^{\mathsf T}, and let u−1u_{-1} be the previously applied activity vector. Choose the activities to minimize

J=∑k=019{0.1[−vˉgrow,k+10(qˉATP,k−1)2]+0.02∥uk−uk−1∥2}.J=\sum_{k=0}^{19}\left\{0.1\left[-\bar v_{\mathrm{grow},k}+10\left(\bar q_{\mathrm{ATP},k}-1\right)^2\right]+0.02\left\|u_k-u_{k-1}\right\|^2\right\}.

The constraints include the nonlinear rate equations, the activity bounds, and the pool floors qˉI≥0.05\bar q_I\geq0.05 and qˉATP≥0.5\bar q_{\mathrm{ATP}}\geq0.5. The known demand is held constant over each prediction. Only the first chosen activity is applied. The nonlinear dynamics then advance before the next optimization. These are local numerical solutions of a finite-horizon problem, not a proof of a globally optimal cellular strategy.

A maintenance increase can make temporary growth arrest useful for this objective. Raise the demand from 0.60.6 to 1.41.4 at time zero. The pre-step pools are approximately (qˉI,qˉATP)=(0.678,0.859)(\bar q_I,\bar q_{\mathrm{ATP}})=(0.678,0.859), with activities (u1,u2,ugrow)=(1,1,0.880)(u_1,u_2,u_{\mathrm{grow}})=(1,1,0.880). The throughput is approximately 1.361.36. The new demand therefore exceeds the existing throughput even if the cell stops allocating ATP to growth. To sustain the higher demand in a new balanced state, the intermediate pool must increase because payoff activity is already at its ceiling.

P21A temporary pause in growth can protect ATP under a stated reserve-and-growth objective.

Pausing growth protects ATP under the same higher maintenance demand growth may pause growth stays active 0 5 10 0.7 0.75 0.8 0.85 0.9
t/tmett/t_{\mathrm{met}}
qˉATP\bar q_{\mathrm{ATP}}
0 5 10 0 0.2 0.4 0.6 0.8
t/tmett/t_{\mathrm{met}}
vˉgrow\bar v_{\mathrm{grow}}
0 5 10 0.65 0.7 0.75 0.8 0.85 0.9
t/tmett/t_{\mathrm{met}}
qˉI\bar q_I
0 5 10 0 0.4 0.8 1.2
t/tmett/t_{\mathrm{met}}
∫0tvˉgrow dtˉ\int_0^t\bar v_{\mathrm{grow}}\,d\bar t
The reserve-weighted objective trades some growth for a smaller ATP drop.
Figure 19a. The cost of ATP protection is visible in the growth allocation. A new nonlinear calculation using the slides' reaction structure. The teal policy may set growth activity to zero. The rose policy keeps growth activity at least 0.050.05. Both use the same higher demand, reserve-weighted objective, activity ceilings and pool floors. The teal policy pauses growth for 0.70.7 normalized time units. The ATP minimum is approximately 0.7680.768, compared with 0.7160.716 when growth remains active. The actual trajectories satisfy the nonlinear equations. Parameters are illustrative, not a fit to diauxic growth data.

The pause buys ATP protection by giving up some growth. Over the displayed interval from zero to ten, the policy that permits arrest has the lower executed discrete cost (2.5002.500 versus 2.5542.554). Its cumulative growth allocation is smaller (0.9680.968 versus 1.1071.107). This is a result for the stated growth-and-reserve objective. It does not imply that growth arrest always increases future growth or that every cell uses this objective.

The planning horizon determines which consequences count. A short planner may spend intermediate or ATP to obtain immediate growth, even when that choice destroys later capacity. Section 22 tests this on a related ATP-growth plant with explicit biomass and growth dilution. Section 24 returns to horizon and future reward for a cell that builds its own metabolic and ribosomal machinery.

Use the same reaction accounting for a steady allocation bound and a dynamic allocation problem. Then identify which extra kinetic constraints and performance choices make a pause useful.

22Test growth arrest with a final-biomass reward and a viability constraint

The previous calculation traded growth against an ATP-reserve penalty. Does a pause also occur when the only reward is final biomass? Add a biomass balance and keep ATP viability as a constraint.

Distinguish biomass at the endpoint from growth rate at the endpoint

Terminal biomass means N(T)N(T), the biomass present at the end of the horizon. With fixed initial biomass and no loss, it is equivalent to cumulative absolute biomass production:

N(T)=N(0)+∫0Tvbiomass(t) dt,vbiomass=μN,log⁡N(T)N(0)=∫0Tμ(t) dt.N(T)=N(0)+\int_0^T v_{\mathrm{biomass}}(t)\,dt,\qquad v_{\mathrm{biomass}}=\mu N,\qquad \log\frac{N(T)}{N(0)}=\int_0^T\mu(t)\,dt.

These objectives have the same optimizer under the stated balance. Maximizing only μ(T)\mu(T), the instantaneous specific growth rate at the endpoint, is a different task. A discrete sum uses ∑kvbiomass,kΔt\sum_k v_{\mathrm{biomass},k}\Delta t for biomass added, or ∑kμkΔt\sum_k\mu_k\Delta t for logarithmic growth.

SectionReward and protectionWhat the comparison establishes
21Reward ATP allocation to growth. Penalize ATP depletion and activity changes. Replan over a short horizon.A pause can reduce a combined growth-and-reserve cost. There is no calibrated biomass state.
22Maximize actual model biomass at the endpoint. Enforce an ATP floor. Include biomass growth and concentration dilution.A pause can emerge without a soft ATP-error penalty. The plant, objective and constraints are all stated anew.

The two sections test related claims with different models. Figure 19b does not simply rename the objective of Figure 19a.

This is a new growth model with an explicit conversion from ATP allocation to biomass. Retain the investment and payoff loop, fix payoff activity at its ceiling and use the normalized rates

v1=qATP−2u1,v2=2qI,vgrow=qATPugrow,μ=εvgrow,ε=0.1.v_1=q_{\mathrm{ATP}}^{-2}u_1,\qquad v_2=2q_I,\qquad v_{\mathrm{grow}}=q_{\mathrm{ATP}}u_{\mathrm{grow}},\qquad \mu=\varepsilon v_{\mathrm{grow}},\quad\varepsilon=0.1.

Here ε\varepsilon is a declared biomass yield per ATP-equivalent growth allocation. The concentration, flux and time scales are normalized. External carbon and the unresolved biomass precursors remain available. The negative upstream reaction order is inherited from the earlier illustrative rate form. It is not the stoichiometric ATP coefficient. This model does not constitute a chemically complete biomass reconstruction.

Biomass growth dilutes both intracellular concentrations. Include that dilution while accumulating the produced biomass:

ddt[qIqATPlog⁡N]=[v1−v2−μqI−v1+2v2−vgrow−w−μqATPμ].\frac{d}{dt} \begin{bmatrix}q_I\\q_{\mathrm{ATP}}\\\log N\end{bmatrix} =\begin{bmatrix} v_1-v_2-\mu q_I\\ -v_1+2v_2-v_{\mathrm{grow}}-w-\mu q_{\mathrm{ATP}}\\ \mu \end{bmatrix}.

Maximize log⁡[N(4)/N(0)]\log[N(4)/N(0)] subject to these dynamics, 10−4≤u1≤110^{-4}\leq u_1\leq1, 0≤ugrow≤10\leq u_{\mathrm{grow}}\leq1, qI≥0.05q_I\geq0.05 and qATP≥0.75q_{\mathrm{ATP}}\geq0.75. There is no ATP-error penalty in this objective. The ATP floor is the declared viability requirement.

The same disturbance creates an investment problem. The pre-step state is the balanced state at demand w=0.6w=0.6 with u1=1u_1=1 and ugrow=0.8u_{\mathrm{grow}}=0.8. Its pools are approximately [qI,qATP]=[0.6869,0.8392][q_I,q_{\mathrm{ATP}}]=[0.6869,0.8392]. Demand rises to 1.4 at time zero. The controller must increase the intermediate-supported payoff while keeping ATP above the viability floor. Growth draws from the same ATP pool during that adjustment.

image/svg+xml Matplotlib v3.10.6, https://matplotlib.org/ 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 Normalized time after demand step 0.76 0.78 0.80 0.82 0.84 ATP concentration ATP floor 0.75 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 Normalized time after demand step 0.4 0.5 0.6 0.7 0.8 0.9 Intermediate concentration Growth may pause Growth activity ≥ 0.05 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 Normalized time after demand step 0.00 0.02 0.04 0.06 0.08 Specific growth μ 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 Normalized time after demand step 1.00 1.02 1.04 1.06 1.08 1.10 1.12 Biomass N/N₀ Maximize final biomass under the same ATP viability floor
Figure 19b. A temporary pause can also arise under terminal biomass maximization. Both computed policies maximize final biomass under the same plant, demand, capacity limits and ATP floor. Teal permits zero growth activity. Rose requires growth activity at least 0.05. The teal solution pauses growth for 0.5 normalized time units. Final biomass ratios are approximately 1.1217 and 1.1175. This is a separate calculation from the reserve-weighted example in Figure 19a. It does not change that earlier example's objective or interpretation.

The viability requirement changes the best attainable growth. Raising the ATP floor from 0.75 to 0.8 reduces the computed final biomass ratio from 1.1217 to 1.0613 and lengthens the growth pause from 0.5 to 0.6 time units. The optimizer cannot treat every molecule of ATP as expendable just because growth is rewarded. The model's viability restrictions determine which sacrifices are admissible.

Inspect the numerical scope of the terminal-biomass calculation

The controller is optimized over a known four-unit disturbance horizon with piecewise-constant actions every 0.1 time units. A multiple-shooting calculation integrates the nonlinear equations and enforces state restrictions within each interval. A conservative ATP buffer of 10−410^{-4} at the numerical checkpoints protects the stated floor between checkpoints. Independent integration in absolute amounts verifies the biomass balance, dilution conversion and continuous ATP minimum. A finer control grid checks the change in the reported growth and arrest duration.

Halving the control interval to 0.05 changes the permitted-arrest solution's final biomass ratio from 1.1217 to 1.1225 and its pause duration from 0.50 to 0.55. The existence of a pause is robust to this refinement. Its precise timing depends on the control discretization.

These are local numerical candidate optima. Allowing a pause enlarges the feasible policy set, so its true optimum cannot be worse than the optimum under a mandatory positive growth activity. The computed benefit demonstrates this tradeoff in the stated model. It does not establish that every stressed cell pauses growth or that the chosen normalized viability floor is measured biology.

Shorten the horizon while keeping the growth objective fixed

The same growth objective can lose viability when it looks too little ahead. Repeat the ATP-growth calculation with a receding horizon. Every 0.1 time units, maximize future biomass from the observed state, apply the first action and replan. Compare prediction horizons 0.1 and 2.0, with the same demand 1.4, ATP floor 0.75 and control bounds. The short planner initially maximizes growth while barely investing in intermediate. The longer planner builds the payoff reserve and pauses growth for a total of 0.5 time units.

2026-10-21T17:33:10.214399 image/svg+xml Matplotlib v3.10.6, https://matplotlib.org/ 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 Elapsed time (normalized) 0.0 0.2 0.4 0.6 0.8 1.0 Chosen growth activity A Spend on growth now, or pause? 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 Elapsed time (normalized) 0.76 0.78 0.80 0.82 0.84 0.86 ATP concentration Declared ATP floor B Can the ATP floor be preserved? 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 Elapsed time (normalized) 0.4 0.6 0.8 Intermediate concentration C The intermediate supports future payoff 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 Elapsed time (normalized) 1.00 1.02 1.04 1.06 1.08 1.10 Biomass / initial biomass D Growth is rewarded at every horizon Short planning can spend the reserve needed for continued viability Same terminal-biomass objective. Replan every 0.1 time units from the observed state. × at t = 0.4: an analytical bound proves that the short policy has no viable continuation. The ATP floor defines viability in this teaching model. Cell death is not a measured output. Prediction horizon 0.1 Prediction horizon 2
Figure 19c. A short growth horizon can spend the state needed to keep growing. Rose uses a 0.1-unit prediction horizon. Teal uses 2.0. Both repeatedly maximize final biomass under the same viability constraint. At time 0.4, the short policy has depleted intermediate so far that no admissible continuation can keep ATP above 0.75. The cross marks that state. It is not the planning endpoint or a measured death time. Independent integration checks the executed trajectories. The bound below certifies the loss of model viability separately from the solver failure.
Why the short-horizon failure is more than an optimizer error

An upper bound on future ATP proves the violation. At time 0.4, the short policy has qI=0.3009465q_I=0.3009465 and qATP=0.7501000q_{\mathrm{ATP}}=0.7501000. Assume ATP could stay above amin⁡=0.75a_{\min}=0.75. Since investment activity is at most one and growth costs are nonnegative,

q˙I≤1amin⁡2,q˙ATP≤4qI−w.\dot q_I\leq\frac{1}{a_{\min}^2},\qquad\dot q_{\mathrm{ATP}}\leq4q_I-w.

Integrating these inequalities bounds ATP under every allowed control. For elapsed time τ\tau after that state,

qATP(τ)≤qATP(0)+[4qI(0)−w]τ+2τ2amin⁡2.q_{\mathrm{ATP}}(\tau)\leq q_{\mathrm{ATP}}(0)+[4q_I(0)-w]\tau+\frac{2\tau^2}{a_{\min}^2}.

At τ=0.001\tau=0.001, the right-hand side is approximately 0.7499073, below 0.75. This contradicts the assumed viable continuation. A solver failure alone would not prove this conclusion.

Biological death requires an interpretation of the viability condition. This calculation treats crossing the ATP floor as unacceptable. It contains no measured death process, damage variable or recovery-from-damage mechanism. If that floor represented an independently established lethal condition, the result would predict loss of survival. Here it establishes loss of the model's declared viable operation.

Shortening a horizon does not always cause failure. The tested intermediate horizon 0.5 also remained viable over the four-unit demonstration. The result identifies a particular short-sighted policy in this architecture. Terminal viability conditions or a continuation reward can change the policy even with a short planning horizon.

P22A final-biomass reward can favor a temporary pause when present growth threatens the states needed for future production.

Read a growth pause from the activity and growth-rate trajectories. Then compare final biomass under the same viability constraints and horizon. Notebook experiment 17 exposes both the action and the resulting pools.

23Predict nutrient-shift strategies by retaining the machinery that makes growth possible

Can the same final-biomass objective generate upshift and downshift responses without prescribing a separate relaxation curve for the growth rate? Retain precursor supply, ribosomes and the time needed to make new protein.

The smallest useful loop must make its own catalysts. Let PP be precursor amount in protein-equivalent mass units. Let EE and RR be metabolic and ribosomal protein amounts. The two-sector protein biomass is N=E+RN=E+R. Define the precursor concentration per protein biomass as qP=P/Nq_P=P/N and the ribosomal proteome fraction as ϕR=R/N\phi_R=R/N. This teaching model omits other biomass sectors, protein degradation and death.

Precursor and protein production form a self-producing machine Metabolic proteins convert the external nutrient supply into precursors. Ribosomes convert precursors into new metabolic and ribosomal protein. Allocation chooses product fractions. Dashed connections indicate catalysis, not material consumption. Retain the machinery that makes the next increment of biomass External nutrients Precursor P Supply flux: αE Fraction 1 − ρ Fraction ρ Protein synthesis Flux: β(qₚ)R Metabolic protein E Supplies precursors Ribosomal protein R Makes new protein Catalytic action N = E + R · qₚ = P/N · φR = R/N The allocation choice ρ changes new production. Existing protein remains. Precursor and protein balances supply the memory behind the growth response. Two-sector protein biomass · declared teaching model · externally maintained nutrient availability
Figure 20a. Protein production closes an autocatalytic loop around metabolic supply. Metabolic protein makes precursors available. Ribosomes convert precursors into metabolic and ribosomal protein. The allocation control chooses the fraction of newly made protein assigned to ribosomes. Double chevrons describe material conversion. Dashed connections describe catalysis. Enzyme and ribosome amounts are dynamic states, so the optimizer cannot change the proteome instantaneously.

Substrate availability and catalytic machinery determine the fluxes. Let α(t)\alpha(t) be the nutrient-dependent precursor supply capacity per metabolic protein, in h⁻¹. Let β(qP)\beta(q_P) be the protein-synthesis capacity per ribosomal protein:

vin=αE,vsyn=β(qP)R,β(qP)=kRqPKP+qP.v_{\mathrm{in}}=\alpha E,\qquad v_{\mathrm{syn}}=\beta(q_P)R,\qquad \beta(q_P)=k_R\frac{q_P}{K_P+q_P}.

The saturation law retains a binding-derived substrate dependence. Its positive reaction order lies between zero and one. The fluxes have protein-equivalent mass per hour units. The control ρ(t)∈[0,1]\rho(t)\in[0,1] is the fraction of new protein assigned to ribosomal protein. The rest becomes metabolic protein. The absolute material balances are

ddt[PER]=[1−101−ρ0ρ][vinvsyn],N˙=vsyn.\frac{d}{dt} \begin{bmatrix}P\\E\\R\end{bmatrix} =\begin{bmatrix}1&-1\\0&1-\rho\\0&\rho\end{bmatrix} \begin{bmatrix}v_{\mathrm{in}}\\v_{\mathrm{syn}}\end{bmatrix},\qquad \dot N=v_{\mathrm{syn}}.

Normalization exposes precursor depletion and growth dilution. With μ=N˙/N=β(qP)ϕR\mu=\dot N/N=\beta(q_P)\phi_R, the same equations become

ddt[qPϕRlog⁡N]=[α(1−ϕR)−μ(1+qP)μ(ρ−ϕR)μ].\frac{d}{dt} \begin{bmatrix}q_P\\\phi_R\\\log N\end{bmatrix} =\begin{bmatrix} \alpha(1-\phi_R)-\mu(1+q_P)\\ \mu(\rho-\phi_R)\\ \mu \end{bmatrix}.

Precursor supply must cover protein synthesis and dilution of the precursor concentration. Ribosomal proteome fraction changes only as new protein is made. An instantaneous change in the allocation choice does not cause an instantaneous jump in either concentration. These state equations supply the dynamics that the optimizer must respect.

Maximize final biomass under explicit restrictions. Use kR=3 h−1k_R=3\,\mathrm{h}^{-1}, KP=0.1K_P=0.1, qP≥0.02q_P\geq0.02 and 0.02≤ϕR≤0.980.02\leq\phi_R\leq0.98. Choose ρ\rho every 0.2 h and maximize log⁡[N(T)/N(0)]\log[N(T)/N(0)]. The input step is known at time zero. This is a structured optimal-control relaxation of the kind motivated by flux exponent control. It does not identify a binding network that implements the resulting allocation policy.

Allocation and composition are different observables. The control ρ\rho can change immediately. The existing ribosomal fraction ϕR\phi_R changes through ϕ˙R=μ(ρ−ϕR)\dot\phi_R=\mu(\rho-\phi_R). When growth is positive, allocation above the current fraction raises that fraction. Allocation below it lowers the fraction. At zero growth, changing allocation alone cannot change the existing protein inventory. Notebook experiment 18 plots the two quantities together.

A nutrient upshift first changes precursor supply. Increase α\alpha from 0.3 to 1.2 h⁻¹. Precursor and protein concentrations are continuous at the shift. The precursor pool begins to fill, translation accelerates, and newly made ribosomal protein raises subsequent capacity. In the computed eight-hour solution, the initial allocation sends all new protein to ribosomes. Growth rises through internal state changes, rather than an imposed jump in a coarse-grained translation parameter.

A nutrient downshift changes which machinery is worth making. Reverse the same capacity step. The existing ribosomes initially draw down precursor faster than the reduced metabolic supply replenishes it. The terminal-biomass solution initially sends new protein to metabolic enzymes. Existing ribosomes remain. Their fraction falls through the growth of the other sector. The resulting growth trajectory follows from the resource balances and objective.

image/svg+xml Matplotlib v3.10.6, https://matplotlib.org/ 0 1 2 3 4 5 6 7 8 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 Specific growth μ (h⁻¹) Upshift: supply capacity 0.3 to 1.2 h⁻¹ 0 1 2 3 4 5 6 7 8 0.2 0.3 0.4 0.5 0.6 Specific growth μ (h⁻¹) Downshift: supply capacity 1.2 to 0.3 h⁻¹ 0 1 2 3 4 5 6 7 8 0.1 0.2 0.3 0.4 0.5 Precursor concentration qₚ 0 1 2 3 4 5 6 7 8 0.025 0.050 0.075 0.100 0.125 0.150 0.175 0.200 Precursor concentration qₚ 0 1 2 3 4 5 6 7 8 0.2 0.3 0.4 0.5 0.6 Ribosomal proteome fraction φR 0 1 2 3 4 5 6 7 8 0.15 0.20 0.25 0.30 0.35 Ribosomal proteome fraction φR 0 1 2 3 4 5 6 7 8 Time after nutrient shift (h) 0 50 100 150 200 Biomass N/N₀ Terminal biomass objective New balanced-growth allocation 0 1 2 3 4 5 6 7 8 Time after nutrient shift (h) 1 2 3 4 5 6 7 Biomass N/N₀
Figure 20b(i). One catalytic plant and one final-biomass objective produce both nutrient-shift transients. Teal is the computed finite-horizon allocation. The gray comparison always assigns new protein according to the new environment's best balanced-growth fraction. The initial state is the old environment's best balanced-growth state. These are new teaching calculations, not fits to Mori, Erickson or Thiermann data. The final period is affected by the declared endpoint: no growth after eight hours is rewarded.
Optional · Charge for changing the allocation and compare the smoother strategies

A control cost can reduce abrupt allocation changes while sacrificing some biomass. Keep the plant, nutrient step, eight-hour horizon and state constraints fixed. Let the allocation before the shift be the old balanced-growth fraction ρ−1=ϕR(0)\rho_{-1}=\phi_R(0). Compare

max⁡ρ0,…,ρ39  log⁡N(8)N(0)−γ∑k=039(ρk−ρk−1)2Δt,Δt=0.2 h.\max_{\rho_0,\ldots,\rho_{39}}\;\log\frac{N(8)}{N(0)}-\gamma\sum_{k=0}^{39}\frac{(\rho_k-\rho_{k-1})^2}{\Delta t},\qquad\Delta t=0.2\,\mathrm h.

The parameter γ\gamma has units of hours. The sum approximates a cost on the squared rate of allocation change. It is a declared regularization of the control. The finite interval model still applies constant actions within each interval.

2026-10-21T17:33:11.318022 image/svg+xml Matplotlib v3.10.6, https://matplotlib.org/ 0 1 2 3 4 5 6 7 8 0.00 0.25 0.50 0.75 1.00 New protein sent to ribosomes Upshift: the same nutrient step 0 1 2 3 4 5 6 7 8 0.00 0.25 0.50 0.75 1.00 New protein sent to ribosomes Downshift: the same nutrient step 0 1 2 3 4 5 6 7 8 0.2 0.4 0.6 0.8 Specific growth (h⁻¹) 0 1 2 3 4 5 6 7 8 0.2 0.4 0.6 Specific growth (h⁻¹) 0 1 2 3 4 5 6 7 8 Time after shift (h) 0 50 100 150 200 Biomass / initial biomass 0 1 2 3 4 5 6 7 8 Time after shift (h) 2 4 6 Biomass / initial biomass Charging for allocation changes smooths the action and costs biomass Keep the plant, eight-hour horizon, viability limits and nutrient conditions fixed. All curves are computed examples. The penalty is a declared control cost, not a fitted physiological law. A finite endpoint can still favor reserve spending. Smoother control does not identify the biological objective. Change cost γ = 0 h Change cost γ = 0.02 h Change cost γ = 0.2 h
Figure 20b(ii). Smoother allocation is a different, testable objective. Compare change costs zero, 0.02 and 0.2 hours. The stronger penalty makes the action less abrupt and reduces the late growth overshoot in these calculations. It also reduces final biomass. The nutrient conditions and eight-hour horizon are unchanged. These are local numerical candidate optima from two starting policies, checked by independent integration. No experimental data were fitted.

Smoothing does not by itself validate the response. The terminal-biomass task still assigns no value to machinery after hour eight. Changing the endpoint, adding a continuation value or imposing an allocation-rate limit tests different hypotheses. A visibly smoother curve is not necessarily a better biological prediction. The notebook exposes the penalty so its effect and biomass cost can be inspected together.

Derive the initial states and inspect the optimization assumptions

The balanced-growth benchmark follows from two equalities. At a fixed precursor concentration, precursor balance gives μ=α(1−ϕR)/(1+qP)\mu=\alpha(1-\phi_R)/(1+q_P), while translation gives μ=β(qP)ϕR\mu=\beta(q_P)\phi_R. Eliminating ϕR\phi_R gives

1μ=1β(qP)+1+qPα=1kR+KPkRqP+1+qPα.\frac1\mu=\frac1{\beta(q_P)}+\frac{1+q_P}{\alpha} =\frac1{k_R}+\frac{K_P}{k_Rq_P}+\frac{1+q_P}{\alpha}.

Maximizing growth minimizes this reciprocal. Its derivative vanishes at qP∗=KPα/kRq_P^*=\sqrt{K_P\alpha/k_R}. The second derivative is positive. The corresponding ribosomal fraction is ϕR∗=α/[α+β(qP∗)(1+qP∗)]\phi_R^*=\alpha/[\alpha+\beta(q_P^*)(1+q_P^*)]. The poor environment gives [qP∗,ϕR∗,μ∗]=[0.1,0.153846,0.230769 h−1][q_P^*,\phi_R^*,\mu^*]=[0.1,0.153846,0.230769\,\mathrm{h}^{-1}]. The rich environment gives [0.2,1/3,2/3 h−1][0.2,1/3,2/3\,\mathrm{h}^{-1}].

The computed trajectories are numerical candidate optima. The solver integrates the nonlinear plant and optimizes piecewise-constant allocation from multiple starting policies. Independent integration uses the absolute amounts P,E,RP,E,R and verifies material accounting. Finer control and integration grids test numerical dependence. These checks do not establish a global optimum over every admissible time-dependent policy.

The finite endpoint explains the late investment pattern. The terminal-biomass solution can consume stored precursor and increase translation capacity near the endpoint. A population continuing beyond that endpoint would still need adequate metabolic machinery. The figure therefore shows a finite-horizon task, rather than convergence to a unique biological steady state. Replanning or adding a justified continuation value defines another problem.

P23Retaining precursor and machinery states lets a growth objective select both the response and the investment needed to sustain it.

Internal precursor and protein balances make nutrient-shift transients part of the growth prediction.

24Test how the horizon and future growth reward change the selected strategy

The same physical system can select a different initial action under a different time preference. Repeat the downshift with Jδ=∫08e−δtμ(t) dtJ_\delta=\int_0^8e^{-\delta t}\mu(t)\,dt. At δ=0\delta=0, the first allocation is metabolic protein, ρ=0\rho=0. At δ=2 h−1\delta=2\,\mathrm{h}^{-1}, the selected first allocation is ribosomal protein, ρ=1\rho=1. The second task values using the current precursor and translation opportunities more strongly than restoring the later supply capacity. No stoichiometric or kinetic parameter changed.

P24Changing the reward on future growth can reverse the initial allocation even when the physical plant is unchanged.

image/svg+xml Matplotlib v3.10.6, https://matplotlib.org/ 0.0 0.5 1.0 1.5 2.0 2.5 3.0 0.0 0.2 0.4 0.6 0.8 1.0 New-protein allocation to ribosomes ρ Upshift: change the terminal horizon Horizon 8 h Horizon 2 h 0.0 0.5 1.0 1.5 2.0 2.5 3.0 0.0 0.2 0.4 0.6 0.8 1.0 New-protein allocation to ribosomes ρ Downshift: change the running reward Discount 0 h⁻¹ Discount 2 h⁻¹ 0.0 0.5 1.0 1.5 2.0 2.5 3.0 0.10 0.15 0.20 0.25 Precursor concentration qₚ 2 h: planning endpoint 0.0 0.5 1.0 1.5 2.0 2.5 3.0 0.025 0.050 0.075 0.100 0.125 0.150 0.175 0.200 Precursor concentration qₚ 0.0 0.5 1.0 1.5 2.0 2.5 3.0 Time after nutrient shift (h) 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 Specific growth μ (h⁻¹) 0.0 0.5 1.0 1.5 2.0 2.5 3.0 Time after nutrient shift (h) 0.2 0.3 0.4 0.5 0.6 Specific growth μ (h⁻¹)
Figure 20c. The reward on the future is part of the model specification. Left: two- and eight-hour terminal-biomass objectives after the same upshift. Right: the same eight-hour downshift task with zero or positive discount on running specific growth. Only the first three hours are shown to expose the initial allocation difference. The purple dotted line marks the two-hour planning endpoint. The short-horizon trajectory ends there because the calculation ends there, not because it became infeasible. Both displayed finite-horizon solutions satisfy their state constraints. Late choices in the strongly discounted problem are weakly identified because their reward is small. Neither discount value is assigned to a biological species.

Compare biomass at a common time when comparing horizons. An eight-hour task has six more hours to grow than a two-hour task. A larger value of final biomass across those two endpoints does not by itself establish a better early policy. Compare the trajectories on their shared interval to see how the future horizon changes the present investment.

Biological comparisons require measured regulation and survival, not only an optimized curve. Thiermann and colleagues found that B. subtilis suppresses amino-acid flux under translational inhibition while largely retaining its ribosomal proteome fraction. E. coli instead reallocates proteome. After inhibitor removal, the tested B. subtilis cultures recovered faster. Increasing GTP in B. subtilis improved growth but reduced survival during the tested antibiotic exposures.38

Those findings motivate distinct regulatory constraints and explicit stress survival in a growth model. They do not identify a discount factor, and they concern translational stress rather than the nutrient steps calculated here. To compare the species quantitatively, add their regulation, drug action, viability loss and environmental schedule, then test the resulting predictions.

A common final-biomass objective can generate different strategies when the plant, environment, viability constraints or future horizon differ. Inferring those ingredients is part of explaining the biology.

25Choose constraints that match the cellular function being explained

The biomachine comparison has now supplied a progression of models. Each retains a different amount of the physical machine and therefore answers a different question.

P25A performance bound, a possible transient and an implemented controller are different levels of explanation.

QuestionWhat we retainWhat we compute
Can this chemical network sustain a specified output?Steady stoichiometry, directions, capacities and exchangesFeasible fluxes and a performance bound from FBA
How can regulation manage a disturbance or a transient allocation?Pool dynamics, substrate-dependent catalysis and stated actuator restrictionsOptimized trajectories on a structured metabolic plant
Can the cell implement the proposed regulation?A binding network, enzyme state changes, synthesis and resource constraintsA molecular controller and its operating range

The same ATP-producing machine has answered three different questions. At fixed supply, each unit of steady maintenance demand removes one unit of possible growth allocation. During a disturbance, ATP must pay for production before receiving the payoff. Binding restricts which concentration sensitivities regulation can implement. The growth example then asks how those changing pools alter the allocation decision.

The biomachine perspective connects these answers. Mass balance and feedback principles apply to both cells and engineered chemical plants. The molecular components determine which controls the cell can implement. Optimizing under those restrictions gives a performance bound or a candidate strategy. The claimed function, retained constraints and implemented mechanism remain separate parts of the explanation.

The next lecture develops the general theory of a self-producing machine. Part 3 introduced enzyme capacity and selected adjustment models. Part 4 first controlled activities, then retained precursor and protein balances in a small allocation model. That example exposes the production loop without describing every cellular sector. Lecture 14 develops self-replication, enzyme production, growth dilution and growth laws systematically.

Match the prediction to the retained constraints. Then ask what additional machinery and resources would make the proposed behavior physically attainable.

Optional · Specify complex behavior through goals, constraints and architecture

A compact specification can describe a complicated behavior. The main lecture uses this idea to formulate metabolism. This extension develops the broader connection to machine design. It is a complete optional reading section. Its experiments can also be used as independent demonstrations.

Follow one question through four settings: what must we specify before the desired behavior can be found? First organize a machine into modules and connect cellular growth to reliable material supply. Then compare a static system, a dynamical system and a controlled system. A cart-pendulum experiment shows how physical instability and actuator limits constrain feedback. The final examples connect mechanical variational principles and learning from examples.

Specify each module's task, interfaces and physical limits

Hierarchy lets us reason at the resolution of the task. A module receives inputs and produces outputs. Its specification states the relationship it should achieve, the conditions it assumes and the limits it must respect. We can then combine modules through those interfaces without writing every microscopic state into every calculation. Planning, feedback and fast physical actuation often occupy different levels of this architecture.16

Machine and taskModule responsibilitiesConstraints at the interfaces
Crane: place a load at a destinationA planner chooses a path. Feedback tracks motion and limits load sway. Motors produce the requested forces.Rope tension, allowable sway, motor torque, structural load, collision clearance and available power.
Car: follow a safe routeA planner chooses a path and speed. Steering and braking track them. Tires and power electronics transmit the physical action.Road friction, stopping distance, steering limits, battery or fuel supply and actuator response time.
Computer: execute a program correctlyThe program specifies a computation. A scheduler assigns resources. Instructions organize circuit operations.Instruction semantics, memory capacity, timing, communication bandwidth, power and temperature.

The interfaces determine whether the pieces can achieve the overall task together. A crane planner cannot request motion faster than the sway controller and motors can realize. Two computer tasks cannot each assume exclusive access to the same finite memory. Shared resources and response times couple the modules. Those couplings must appear in the architecture's constraints.

An optimization can turn the specification into a design or a prediction. A crane planner might minimize travel time subject to a sway limit. A scheduler might minimize delay subject to resource and correctness constraints. A metabolic model might maximize growth subject to chemical balance and enzyme capacity. The modules need not solve these problems online. Their design can implement a policy found beforehand.

Three uses of optimization will appear below. An optimization can reformulate known physics, design an action from a goal, or fit a model to observations. Each use gains clarity from a stated objective and constraints. The physical or empirical justification for the objective differs across the three.

Make reliable material supply an interface between cellular modules

Information flow becomes a useful abstraction when its material requirements are supplied. The central dogma follows sequence information from DNA to RNA to protein. Physical synthesis also consumes activated deoxyribonucleotides, ribonucleotides and charged transfer RNAs. Charging transfer RNAs consumes amino acids and ATP. Polymerization and its supporting machinery require energy and suitable chemical conditions.

Metabolism can hide much of that supply problem behind a dependable interface. If ATP and precursor availability remain within a working range, a gene-expression model can focus on promoters, messages, ribosomes and regulation. The omitted supply system has achieved its part of the task. Resource limitation breaks that approximation. Transcription and translation then become coupled to the metabolic state.

Reliable metabolic supply supports an information-level description A long-horizon growth objective can motivate subsystem tasks subject to viability and resource limits. Metabolism supplies activated nucleotide precursors, amino acids and energy. The central dogma emphasizes information flow, while material inputs remain necessary. Stable supply permits abstraction only within an operating regime, like voltage regulation in a power grid. Stable subsystem service makes higher-level abstractions useful Long-horizon task: viable growth under a resource budget Example objective: maximize log N(T), equivalently ∫₀ᵀ μ(t) dt for fixed N(0). Subsystem tasks allocate this responsibility across the machine Metabolic supply: maintain usable ATP and precursor levels Resources, enzyme capacity and changing demand couple the modules. Information abstraction DNA RNA Protein sequence information sequence information Activated dNTPs plus energy Activated rNTPs plus energy Amino acids / aminoacyl-tRNAs plus energy Material supply is still required when the diagram focuses on information. Reliable voltage regulation lets appliances use the power grid through a simple interface. Reliable metabolite supply similarly supports a useful abstraction within its operating regime. A subsystem objective is a modeling choice. It is not automatically the exact optimum of the whole cell.
Optional figure. A whole-machine goal becomes requirements at the interfaces between modules. The upper task is viable growth over a specified horizon. Metabolism supplies energy and precursors. Gene expression uses those supplies to make machinery. Information arrows and material conversions describe different relationships. The abstraction works over the demand and resource range in which the supply requirement is met.

A regulated power grid offers the same kind of simplification. A device can be designed around a specified voltage and frequency because the supply network regulates them within a declared range. The device need not model every generator when it switches on. A weak or failing supply makes those hidden dynamics visible through voltage drops, frequency deviations and interrupted operation. Likewise, metabolic stress exposes dependencies that a gene-expression model could omit during balanced growth.

Module objectives should be connected through measurable interface requirements. A cell-level growth task can assign an ATP operating range, precursor availability and a resource budget to metabolism. The gene-expression module can specify enzyme production needed by that metabolism. Shared protein, energy and material budgets close the loop. This decomposition makes the whole machine understandable only when the modules' assumptions are mutually compatible.

Steady tracking is one possible subsystem objective. For a variable demand, penalizing ATP error and costly activity adjustment expresses the supply task directly. A different environment may favor storing resources, changing the target or entering dormancy. The model should expose those choices through its objective and constraints so their consequences can be compared.

Three solved descriptions: equilibrium, motion and feedback control

One spring carriage makes the alternative descriptions concrete. A carriage moves along a rail with position 0≤x≤L0\leq x\leq L. Its spring pulls toward x=0x=0 with stiffness ksk_s. A load applies force FloadF_{\mathrm{load}}. Viscous drag has coefficient cdragc_{\mathrm{drag}}. We neglect inertia. Use ks=4 N/mk_s=4\,\mathrm{N/m}, cdrag=2 N s/mc_{\mathrm{drag}}=2\,\mathrm{N\,s/m} and L=1 mL=1\,\mathrm m. These are illustrative mechanical parameters.

1. A static input-output function from constrained energy minimization

Force balance gives the equilibrium directly. Away from the stops, ksx=Floadk_sx=F_{\mathrm{load}}. A stop supplies a contact force when that balance would put the carriage outside the rail. The resulting input-output function is

x∗(Fload)=clip⁡ ⁣(Floadks,0,L).x^*(F_{\mathrm{load}})=\operatorname{clip}\!\left(\frac{F_{\mathrm{load}}}{k_s},0,L\right).

Here clip⁡(z,a,b)=min⁡{b,max⁡{a,z}}\operatorname{clip}(z,a,b)=\min\{b,\max\{a,z\}\} truncates a number to the interval [a,b][a,b].

The same equilibrium minimizes the physical potential energy. The spring stores energy and the applied load does work. Their potential is E(x)=ksx2/2−FloadxE(x)=k_sx^2/2-F_{\mathrm{load}}x, in joules. Therefore

x∗∈argmin⁡0≤x≤L E(x).x^*\in\underset{0\leq x\leq L}{\operatorname{argmin}}\ E(x).

Strict convexity makes the minimizer unique. Differentiation gives the interior force balance. The inequality constraints supply the two possible contact forces. The objective is a physical energy, not a distance to a previously calculated answer.

2. A trajectory from a sequence of state-dependent minimizations

Drag prevents the carriage from jumping to each new equilibrium. In the rail's interior, the direct equation is cdragx˙=Fload−ksxc_{\mathrm{drag}}\dot x=F_{\mathrm{load}}-k_sx. For a constant load whose equilibrium lies inside the rail,

x(t)=Floadks+[x(0)−Floadks]e−kst/cdrag.x(t)=\frac{F_{\mathrm{load}}}{k_s}+\left[x(0)-\frac{F_{\mathrm{load}}}{k_s}\right]e^{-k_st/c_{\mathrm{drag}}}.

A minimum over instantaneous velocities describes the same overdamped motion. At the current position, let vv be a candidate velocity. Minimize half the viscous dissipation plus the rate of change of potential energy. [18, §2]

x˙=argmin⁡v∈T(x)[cdrag2v2+(ksx−Fload)v].\dot x=\underset{v\in T(x)}{\operatorname{argmin}}\left[\frac{c_{\mathrm{drag}}}{2}v^2+(k_sx-F_{\mathrm{load}})v\right].

The objective has units of power. The admissible velocity set T(x)T(x) is all real velocities inside the rail, nonnegative velocities at x=0x=0, and nonpositive velocities at x=Lx=L. Differentiating the interior objective recovers the force law with drag. At a stop, the constraint prevents motion through the stop.

A time-discrete version makes the retained memory explicit. Given the current position xnx_n and a time step Δt>0\Delta t>0, use

xn+1=argmin⁡0≤z≤L[cdrag2Δt(z−xn)2+E(z)].x_{n+1}=\underset{0\leq z\leq L}{\operatorname{argmin}}\left[\frac{c_{\mathrm{drag}}}{2\Delta t}(z-x_n)^2+E(z)\right].
xn+1=clip⁡ ⁣(cdragxn+ΔtFloadcdrag+ksΔt,0,L).x_{n+1}=\operatorname{clip}\!\left(\frac{c_{\mathrm{drag}}x_n+\Delta t F_{\mathrm{load}}}{c_{\mathrm{drag}}+k_s\Delta t},0,L\right).

This is a backward-Euler approximation. It approaches the continuous dynamics as the time step decreases. The previous position remains in every minimization. Minimizing EE alone at every instant would discard the transient.

3. A feedback law synthesized from a convergence goal and a motor limit

Now add a motor and ask for a specified response. The motor force uu satisfies ∣u∣≤U|u|\leq U, and the plant obeys cdragx˙=Fload−ksx+uc_{\mathrm{drag}}\dot x=F_{\mathrm{load}}-k_sx+u in the interior. Choose target r∈(0,L)r\in(0,L), position error e=x−re=x-r and desired decay rate λ>0\lambda>0. The holding force uhold=ksr−Floadu_{\mathrm{hold}}=k_sr-F_{\mathrm{load}} must satisfy ∣uhold∣≤U|u_{\mathrm{hold}}|\leq U.

A control Lyapunov function specifies a goal while retaining the plant dynamics. Let a known plant have state vector zz, input uu and dynamics z˙=f(z,u)\dot z=f(z,u). A control Lyapunov function V(z)V(z) is zero at the target and positive away from it. Over the stated operating region, an admissible input can make V˙=∇V⋅f(z,u)\dot V=\nabla V\cdot f(z,u) negative at every other state. An optimization selects an input by imposing the desired decrease as a constraint. The plant law determines which inputs can meet that constraint. [19, §IIA–C]

For the carriage, a quadratic function gives an explicit decrease constraint. Let V=e2/2V=e^2/2. During any interval on which V˙≤−2λV\dot V\leq-2\lambda V is feasible and enforced, the position error decays at least at rate λ\lambda. Substituting the plant gives the controller optimization:

minimize⁡∣u∣≤U 12(u−uhold)2\underset{|u|\leq U}{\operatorname{minimize}}\ \frac12(u-u_{\mathrm{hold}})^2
subject toe(Fload−ksx+u)≤−cdragλe2.\text{subject to}\quad e(F_{\mathrm{load}}-k_sx+u)\leq-c_{\mathrm{drag}}\lambda e^2.

The solution distinguishes a sufficient natural response from extra force correction. Define β=max⁡(cdragλ−ks,0)\beta=\max(c_{\mathrm{drag}}\lambda-k_s,0), in newtons per metre. When the requested decrease is feasible, the optimizer is u=uhold−βeu=u_{\mathrm{hold}}-\beta e. If λ≤ks/cdrag\lambda\leq k_s/c_{\mathrm{drag}}, the spring's natural convergence already meets the goal and u=uholdu=u_{\mathrm{hold}} costs no additional correction.

For β>0\beta>0, the requested rate is feasible precisely at positions satisfying

r−U−uholdβ≤x≤r+U+uholdβ,0≤x≤L.r-\frac{U-u_{\mathrm{hold}}}{\beta}\leq x\leq r+\frac{U+u_{\mathrm{hold}}}{\beta},\qquad 0\leq x\leq L.

When the motor cannot meet that rate, make the shortfall explicit. Add a nonnegative slack ss to the right side of the decrease inequality. First minimize ss. Among the minimum-slack choices, minimize the squared force correction. This declared priority yields

u∗(x)=clip⁡ ⁣[uhold−β(x−r),−U,U].u^*(x)=\operatorname{clip}\!\left[u_{\mathrm{hold}}-\beta(x-r),-U,U\right].

The minimum slack is s∗=max⁡{0,e(Fload−ksx+u∗)+cdragλe2}s^*=\max\{0,e(F_{\mathrm{load}}-k_sx+u^*)+c_{\mathrm{drag}}\lambda e^2\}, in newton metres. A positive slack says that the requested convergence rate is temporarily unattainable. It does not claim the position target is unreachable.

Compare the three descriptions on the same carriage. The static stage varies the load. The dynamic stage starts at x(0)=0.25 mx(0)=0.25\,\mathrm m. The control stage uses Fload=1 NF_{\mathrm{load}}=1\,\mathrm N, r=0.75 mr=0.75\,\mathrm m, U=3 NU=3\,\mathrm N and the same initial position.

The strongest request has a calculable period of saturation. For λ=4 s−1\lambda=4\,\mathrm{s}^{-1}, the requested rate is feasible only when x≥0.5 mx\geq0.5\,\mathrm m. Initially the motor supplies its maximum 3 N3\,\mathrm N. The carriage reaches that feasible interval at tswitch=(0.5 s)ln⁡(3/2)≈0.203 st_{\mathrm{switch}}=(0.5\,\mathrm s)\ln(3/2)\approx0.203\,\mathrm s. The exact continuous response is

x(t)={1 m−(0.75 m)e−(2 s−1)t,0≤t≤tswitch,0.75 m−(0.25 m)e−(4 s−1)(t−tswitch),t≥tswitch.x(t)=\begin{cases}1\,\mathrm m-(0.75\,\mathrm m)e^{-(2\,\mathrm{s}^{-1})t},&0\leq t\leq t_{\mathrm{switch}},\\0.75\,\mathrm m-(0.25\,\mathrm m)e^{-(4\,\mathrm{s}^{-1})(t-t_{\mathrm{switch}})},&t\geq t_{\mathrm{switch}}.\end{cases}
Load + motor: 4.00 N 0 m0.5 m1 m
The response follows the requested goal only as far as force permits Position (m) 0 0.25 0.5 0.75 1 0 1 2 3 Time (s)
Solid teal: the synthesized bounded controller. Dashed purple: the requested error decay from the initial position. The initial motor limit causes a shortfall.

Time 0.00 s. Position 0.250 m. Motor 3.000 N. Minimum constraint slack 0.500 N m. The requested rate exceeds the available motor force here.

Play starts motion only on request. The slider works without animation. Solid curves are continuous predictions. Dots in the dynamic stage are backward-Euler steps of 0.25 s.

The three optimization statements have different scientific roles. Energy minimization and velocity minimization reformulate the specified spring and drag physics. The controller optimization adds a desired rate, a motor limit and a priority for allocating effort. It synthesizes a new feedback law. Metabolic optimization needs the same distinction: which restrictions describe physical possibilities, and which objective proposes how the cell selects among them?

Stabilize an inverted pendulum with a finite motor force

The earlier stick-balancing comparison commands cart acceleration and retains two angular states. This exhibit commands force and also regulates cart position. Its four states are cart position, cart velocity, angle and angular velocity.

Keep the pendulum upright while returning the cart to its origin. Gravity makes a small lean grow. The motor must move the cart to correct the lean. The same response goal can succeed or fail when the available force changes.

All three cases start with a 10° lean, zero cart displacement and zero velocity. The animation and plots use the same nonlinear simulation samples. The controller is designed from the upright linearization and then applied to the nonlinear plant.

Replay runs at half speed. Drag time to inspect a state.

Upright at the cart origin Applied motor force −1 m0 m1 m
A massless link carries a point mass. The drawing uses one scale for cart displacement and link length. The demonstration stops at ∣θ∣=60∘|\theta|=60^\circ, a declared loss of the upright operating region.

● No feedback● 12 N limit● 1.5 N limit
Angle from upright θ (degrees) 0 30 60 0 2 4 6 8 10 Angular velocity (rad/s) 0 2 4 0 2 4 6 8 10 Cart position X (m) 0 0.25 0.5 0 2 4 6 8 10 Applied force F (N) 0 6 12 0 2 4 6 8 10 Time (s). Traces end if the 60° upright-region limit is crossed.
All curves begin from the same physical state. The 12 N limit is inactive in this run. Saturating the same controller at 1.5 N causes it to leave the upright region. This comparison does not establish a global limit for every possible nonlinear controller.
Physical equations, controller objective and numerical scope

The nonlinear plant retains the cart and pendulum coupling. Let XX be cart position and θ\theta angle from upward vertical. The cart mass is M=1 kgM=1\,\mathrm{kg}, pendulum mass m=0.2 kgm=0.2\,\mathrm{kg}, link length ℓ=0.8 m\ell=0.8\,\mathrm m, gravity g=9.81 m s−2g=9.81\,\mathrm{m\,s^{-2}} and cart drag b=0.1 N s m−1b=0.1\,\mathrm{N\,s\,m^{-1}}. There is no pivot friction.

(M+m)X¨+mℓcos⁡θ θ¨−mℓsin⁡θ θ˙2=F−bX˙,ℓθ¨+X¨cos⁡θ−gsin⁡θ=0.\begin{aligned}(M+m)\ddot X+m\ell\cos\theta\,\ddot\theta-m\ell\sin\theta\,\dot\theta^2&=F-b\dot X,\\ \ell\ddot\theta+\ddot X\cos\theta-g\sin\theta&=0.\end{aligned}

The feedback objective requests both upright balance and cart return. Normalize position by one metre, linear velocity by one metre per second, angle by one radian, angular velocity by one radian per second, force by one newton and time by one second. Write the dimensionless state as zˉ=[XˉX˙ˉθˉθ˙ˉ]T\bar z=\begin{bmatrix}\bar X&\bar{\dot X}&\bar\theta&\bar{\dot\theta}\end{bmatrix}^{\mathsf T}, force as Fˉ\bar F and time as τ\tau. A linear quadratic regulator minimizes

∫0∞(zˉTdiag⁡(2,1,80,4)zˉ+0.3Fˉ2)dτ\int_0^\infty\left(\bar z^{\mathsf T}\operatorname{diag}(2,1,80,4)\bar z+0.3\bar F^2\right)d\tau

for the upright linearized plant. Solving its algebraic Riccati equation gives Fˉ=−Kzˉ\bar F=-K\bar z, with K=[−2.5820−4.9702−50.4795−13.5365]K=\begin{bmatrix}-2.5820&-4.9702&-50.4795&-13.5365\end{bmatrix}. The nonlinear simulations apply this force after clipping it to the selected actuator limit. No global nonlinear optimality claim is made.

The visible failure has a stated meaning. Both the uncontrolled and force-limited cases cross 60°. The numerical integration stops at that event. The stable case runs for ten seconds. No impact, swing-up controller or cart travel stop is modeled. The replay interpolates the saved state and uses it for both the drawing and graph cursors.

Use generalized coordinates to organize a crane's mechanics

A variational formulation can remove internal constraint forces from the calculation. Consider a trolley of mass MM carrying a point load of mass mm on a rigid, massless link of length ℓ\ell. A taut rope has the same kinematics while its tension stays positive. Let XX be trolley position and θ\theta the load angle from downward vertical. The load coordinates are

xload=X+ℓsin⁡θ,yload=−ℓcos⁡θ.x_{\mathrm{load}}=X+\ell\sin\theta,\qquad y_{\mathrm{load}}=-\ell\cos\theta.

These coordinates enforce the fixed-length constraint. Newton's equations in Cartesian coordinates would include the link force and the length constraint. The generalized coordinates (X,θ)(X,\theta) let us work directly with the two independent motions.

Kinetic and potential energy assemble the coupled dynamics. Let gg denote gravitational acceleration. Neglect friction and link mass. The total kinetic energy KK, gravitational potential energy EgravE_{\mathrm{grav}} and Lagrangian L\mathcal L are

K=12(M+m)X˙2+mℓX˙θ˙cos⁡θ+12mℓ2θ˙2,Egrav=mgℓ(1−cos⁡θ),L=K−Egrav.\begin{aligned} K&=\tfrac12(M+m)\dot X^2+m\ell\dot X\dot\theta\cos\theta+\tfrac12m\ell^2\dot\theta^2,\\ E_{\mathrm{grav}}&=mg\ell(1-\cos\theta),\qquad \mathcal L=K-E_{\mathrm{grav}}. \end{aligned}

Stationary action yields the unforced trajectory equations. For a history between fixed endpoint configurations at times t0t_0 and t1t_1, define the action A=∫t0t1L dt\mathcal A=\int_{t_0}^{t_1}\mathcal L\,dt. Requiring its first variation to vanish gives the Euler–Lagrange equations. The action is stationary. It need not be a minimum over the interval under consideration.17

An applied trolley force enters as a generalized force. Write that force as FmotorF_{\mathrm{motor}}. The force acts on XX, and there is no independent applied torque on θ\theta. The forced Euler–Lagrange equations become

ddt∂L∂X˙−∂L∂X=Fmotor,ddt∂L∂θ˙−∂L∂θ=0.\begin{aligned} \frac d{dt}\frac{\partial\mathcal L}{\partial\dot X}-\frac{\partial\mathcal L}{\partial X}&=F_{\mathrm{motor}},\\ \frac d{dt}\frac{\partial\mathcal L}{\partial\dot\theta}-\frac{\partial\mathcal L}{\partial\theta}&=0. \end{aligned}

Taking the derivatives gives the two coupled equations without solving for the internal link force:

(M+m)X¨+mℓ(θ¨cos⁡θ−θ˙2sin⁡θ)=Fmotor,ℓθ¨+X¨cos⁡θ+gsin⁡θ=0.\begin{aligned} (M+m)\ddot X+m\ell(\ddot\theta\cos\theta-\dot\theta^2\sin\theta)&=F_{\mathrm{motor}},\\ \ell\ddot\theta+\ddot X\cos\theta+g\sin\theta&=0. \end{aligned}

The variational principle organizes the same mechanical laws. It makes constraints and coupling easier to handle as mechanisms become more complicated. It does not assert that the crane chooses the fastest or safest route. Those are separate design objectives. To select a route, we can optimize a travel or energy cost subject to these dynamics, endpoint requirements, clearance and actuator bounds. The physical variational principle supplies the plant. The design optimization selects its operation.

Learn visual features by optimizing a training objective

Learning lets examples specify a recognition task whose rules are difficult to write directly. A hand-designed vision system chooses image measurements and rules for combining them. A neural network instead has adjustable transformations whose parameters are trained jointly. Early convolutional systems demonstrated how task-dependent features could be learned from images through gradient-based training.20

A layered architecture defines which functions can be learned. Let an image be II, and set its first representation to h0=Ih_0=I. A simple layer computes hj+1=σj(Wjhj+bj)h_{j+1}=\sigma_j(W_jh_j+b_j). The matrices or convolution operators WjW_j and offsets bjb_j are learned. The functions σj\sigma_j and the pattern of connections are architectural choices. The resulting network gives class probabilities pθ(y∣I)p_\theta(y\mid I), where θ\theta collects its trainable parameters.

The training objective states what the parameters should achieve on examples. Given NN labeled images (Ii,yi)(I_i,y_i), a common formulation minimizes the average negative log probability of the correct class plus a regularization cost:

min⁡θ∈Θ 1N∑i=1N−log⁡pθ(yi∣Ii)+λregR(θ).\min_{\theta\in\Theta}\ \frac1N\sum_{i=1}^{N}-\log p_\theta(y_i\mid I_i)+\lambda_{\mathrm{reg}}R(\theta).

The set Θ\Theta contains the parameters permitted by the architecture and any hard restrictions. The function RR penalizes selected parameter properties, and λreg≥0\lambda_{\mathrm{reg}}\geq0 weights that penalty. Intermediate representations change during training because they affect the final task loss. We need not prescribe every feature that distinguishes a face, vehicle or animal.

Computation makes a compact task specification usable at scale. Large image datasets, GPU computation and optimization enabled much larger learned models, as the ImageNet convolutional-network study illustrates. The optimization is generally nonconvex. Data, architecture, initialization and the training algorithm all affect the result.21

Training and prediction use the learned model differently. Training adjusts θ\theta to reduce the stated objective. Ordinary inference then evaluates pθ(y∣I)p_\theta(y\mid I) with the trained parameters fixed. A small training loss alone does not establish performance on new images. Held-out evaluation and the relation between training and use conditions remain essential.

The shared idea is to specify success before constructing the detailed response. A learning objective selects a function from a model class. A control objective selects actions allowed by a plant. A metabolic objective selects behavior allowed by biochemical machinery. In each case, we must justify the chosen task and the permitted choices.

State which feature of the behavior a relaxation bounds

An upper bound on one score does not determine a unique trajectory. Two ATP histories can have the same cumulative production but different minimum ATP levels. If the question concerns ATP at a specified time t∗t_*, define the observable ϕ[q,v]=qATP(t∗)\phi[q,v]=q_{\mathrm{ATP}}(t_*). For an actual history in the biochemical feasible set and any outer relaxation Crelaxed\mathcal C_{\mathrm{relaxed}},

inf⁡(q,v)∈Crelaxedϕ[q,v] ≤ ϕ[qactual,vactual] ≤ sup⁡(q,v)∈Crelaxedϕ[q,v].\inf_{(q,v)\in\mathcal C_{\mathrm{relaxed}}}\phi[q,v]\ \leq\ \phi[q_{\mathrm{actual}},v_{\mathrm{actual}}]\ \leq\ \sup_{(q,v)\in\mathcal C_{\mathrm{relaxed}}}\phi[q,v].

Repeating this calculation over times gives an envelope containing every permitted ATP trajectory. Extremes at different times can come from different histories. The upper edge of the envelope need not itself be one possible trajectory. More retained biochemical constraints can tighten these bounds.

The information available to a controller is also a constraint. An offline plan may use a known future demand history. A feedback policy must act from the observations available at that time. To interpret an optimized metabolic trajectory as feedback behavior, include those information restrictions and any controller memory in the admissible family.

A bound also needs a valid optimization certificate. A global maximum over a larger set gives the stated upper bound. A feasible point found by a local maximization algorithm only gives a candidate score. Linear programming, convex formulations and suitable dual bounds can provide certificates where available. This is why the linear flux balance calculation and the local nonlinear control calculations in Part 4 carry different claims.15

Return to metabolism with three explicit choices. State the function to be achieved, the biochemical behavior permitted and the mathematical guarantee supplied by the calculation. This makes both a detailed prediction and a coarse performance bound interpretable.

Optional calculations and implementation details

A1 · Where a Hill inhibition factor can come from

A two-state binding approximation produces an integer-exponent Hill factor. Suppose an enzyme has an active unbound state and an inactive state occupied by nn regulatory ligands. Assume binding equilibrium and a regime where intermediate occupancies contribute negligibly to the binding polynomial. Let LL denote the free ligand concentration and KdK_d the effective concentration scale of this binding weight. If the relative equilibrium weight of the occupied state is (L/Kd)n(L/K_d)^n, then

active fraction=11+(L/Kd)n.\text{active fraction}=\frac{1}{1+(L/K_d)^n}.

This is an effective reduction of sequential binding, not an elementary reaction involving the simultaneous arrival of nn ligands. The exponent is an integer in this construction. The noninteger powers used in an effective Hill fit need not count physical binding sites. A general binding network retains intermediate states and need not reduce to this single fraction.

A2 · Derive the stability and sensitivity constraints behind the graphics

The local feedback calculation follows from three rate derivatives. At baseline, ∂vˉ1/∂qˉATP=1−h\partial\bar v_1/\partial\bar q_{\mathrm{ATP}}=1-h, ∂vˉ2/∂qˉI=κ\partial\bar v_2/\partial\bar q_I=\kappa and ∂vˉ2/∂qˉATP=−g\partial\bar v_2/\partial\bar q_{\mathrm{ATP}}=-g. Substitution into the two balances gives

Ah=[−κ1−h+g2κh−1−2g],Dh(s)=s2+(κ+1+2g−h)s+κ(h−1).A_h=\begin{bmatrix}-\kappa&1-h+g\\2\kappa&h-1-2g\end{bmatrix},\qquad D_h(s)=s^2+(\kappa+1+2g-h)s+\kappa(h-1).

Negative trace and positive determinant give 1<h<1+κ+2g1<h<1+\kappa+2g. This proves the baseline stability interval in Section 4. A finite demand step changes the operating point and requires a fresh Jacobian. Demand above the maximum investment flux may leave no positive balanced state.

Separate upstream feedback from the plant to identify the relevant control limitation. Let x=δqˉIx=\delta\bar q_I, y=δqˉATPy=\delta\bar q_{\mathrm{ATP}}, d=δwˉd=\delta\bar w, and let α=δlog⁡u1\alpha=\delta\log u_1 perturb upstream enzyme activity. Retain downstream inhibition gg inside the plant. Before closing upstream feedback, the flux perturbations are δvˉ1=y+α\delta\bar v_1=y+\alpha and δvˉ2=κx−gy\delta\bar v_2=\kappa x-gy. Thus

[x′y′]=[−κ1+g2κ−1−2g][xy]+[1−1]α+[0−1]d.\begin{bmatrix}x'\\y'\end{bmatrix}=\begin{bmatrix}-\kappa&1+g\\2\kappa&-1-2g\end{bmatrix}\begin{bmatrix}x\\y\end{bmatrix}+\begin{bmatrix}1\\-1\end{bmatrix}\alpha+\begin{bmatrix}0\\-1\end{bmatrix}d.

Primes use the normalized clock. Solving the Laplace-transformed matrix equation at zero initial perturbation gives y=Pα+Wdy=P\alpha+Wd, where

D0(s)=s2+(κ+1+2g)s−κ,P(s)=κ−sD0(s),W(s)=−s+κD0(s).D_0(s)=s^2+(\kappa+1+2g)s-\kappa,\qquad P(s)=\frac{\kappa-s}{D_0(s)},\qquad W(s)=-\frac{s+\kappa}{D_0(s)}.

The upstream actuation plant contains both an unstable pole and an inverse-response zero. Its positive pole and positive zero are

p=−(κ+1+2g)+(κ+1+2g)2+4κ2,z=κ.p=\frac{-(\kappa+1+2g)+\sqrt{(\kappa+1+2g)^2+4\kappa}}2,\qquad z=\kappa.

Increasing upstream activity initially spends ATP, even though its later payoff can replenish ATP. This explains the zero's physical origin. Setting g=0g=0 recovers the plant with fixed downstream activity.

Closing the upstream loop gives a dimensionless sensitivity factor. The Hill law has local feedback α=−hy\alpha=-hy. Define the loop transfer Lh=hPL_h=hP. Then

Sh=11+Lh=D0Dh,yd=WSh=−s+κDh(s).\mathcal S_h=\frac1{1+L_h}=\frac{D_0}{D_h},\qquad \frac{y}{d}=W\mathcal S_h=-\frac{s+\kappa}{D_h(s)}.

The calligraphic Sh\mathcal S_h is feedback sensitivity. The plain SS remains the stoichiometric matrix. Since the plant before upstream feedback is unstable, WW is an algebraic reference transfer, not a settled uncontrolled experiment.

The ordinary Bode integral requires its high-frequency hypothesis. For a real-rational, strictly proper, single-input single-output loop with an internally asymptotically stable interconnection and no hidden unstable cancellations, let pjp_j be the right-half-plane poles of the loop transfer. When lim⁡s→∞sL(s)\lim_{s\to\infty}sL(s) is finite,

∫0∞ln⁡∣S(iω)∣ dω=π∑jRe⁡pj−π2lim⁡s→∞sL(s).\int_0^\infty\ln|\mathcal S(i\omega)|\,d\omega=\pi\sum_j\operatorname{Re}p_j-\frac\pi2\lim_{s\to\infty}sL(s).

The loop in Lecture 10's adaptation calculation decays at least as fast as 1/s21/s^2 and has no unstable poles. Its integral is zero. Here lim⁡sLh=−h\lim sL_h=-h, so the ordinary integral is πp+πh/2\pi p+\pi h/2. It changes with gain. This correction is given in Åström and Murray, Exercise 14.3.13

The positive zero supplies a gain-independent weighted identity. Internal stability and a finite controller at zz give Sh(z)=1\mathcal S_h(z)=1. The plant pole gives Sh(p)=0\mathcal S_h(p)=0. Remove that zero by defining F(s)=[(s+p)/(s−p)]Sh(s)F(s)=[(s+p)/(s-p)]\mathcal S_h(s). Its apparent singularity at pp is removable. It has no poles or zeros in the open right half-plane, and ∣F(iω)∣=∣Sh(iω)∣|F(i\omega)|=|\mathcal S_h(i\omega)|. The Poisson integral evaluated at zz therefore gives

2π∫0∞zz2+ω2ln⁡∣Sh(iω)∣ dω=ln⁡∣F(z)∣=ln⁡z+pz−p.\frac2\pi\int_0^\infty\frac{z}{z^2+\omega^2}\ln|\mathcal S_h(i\omega)|\,d\omega=\ln|F(z)|=\ln\frac{z+p}{z-p}.

The factor 2/π2/\pi converts the two-sided integral in Chandra, Buzi and Doyle's supporting material to positive frequencies. The identity applies to the stable gain family plotted in Section 4. With r=(2/π)arctan⁡(ω/z)r=(2/\pi)\arctan(\omega/z), the measure becomes dr=(2/π)z dω/(z2+ω2)dr=(2/\pi)z\,d\omega/(z^2+\omega^2). This is why the last panel's ordinary signed area equals the weighted integral.14

The integral constrains a tradeoff without fixing every transient. It requires amplification somewhere and gives sup⁡ω∣Sh(iω)∣≥(z+p)/(z−p)≈1.971\sup_\omega|\mathcal S_h(i\omega)|\ge(z+p)/(z-p)\approx1.971. It does not set a nonlinear oscillation amplitude or a disturbance threshold. Changing the actuation channels or downstream kinetics changes the control problem. The two controlled activities in Section 20 must be analyzed under their own assumptions.

A3 · From reaction orders to local stability and the general control formulation

Two reaction orders determine baseline stability in the running example. Use the positive balanced state (qˉI∗,qˉATP∗)=(1/κ,1)(\bar q_I^*,\bar q_{\mathrm{ATP}}^*)=(1/\kappa,1), fluxes vˉ1∗=vˉ2∗=1\bar v_1^*=\bar v_2^*=1, and fixed external demand wˉ=1\bar w=1. Assume upstream flux depends only on ATP and downstream flux is first order in intermediate. The upstream and downstream ATP reaction orders are aa and bb. Therefore

δvˉ1=a δqˉATP,δvˉ2=κ δqˉI+b δqˉATP.\delta\bar v_1=a\,\delta\bar q_{\mathrm{ATP}},\qquad\delta\bar v_2=\kappa\,\delta\bar q_I+b\,\delta\bar q_{\mathrm{ATP}}.

Substituting into the same concentration balances gives the Jacobian in the normalized clock:

A=[−κa−b2κ−a+2b],tr⁡A=−κ−a+2b,det⁡A=−κa.A=\begin{bmatrix}-\kappa&a-b\\2\kappa&-a+2b\end{bmatrix},\qquad\operatorname{tr}A=-\kappa-a+2b,\qquad\det A=-\kappa a.

For κ>0\kappa>0, both eigenvalues have negative real part exactly when the trace is negative and determinant positive. Thus the linearization is asymptotically stable exactly for 2b−κ<a<02b-\kappa<a<0. For b=−0.3b=-0.3 and κ=1.1\kappa=1.1, the interval is (−1.7,0)(-1.7,0). At a=0a=0 one eigenvalue is zero. At a=−1.7a=-1.7 the two eigenvalues are purely imaginary. Nonlinear behavior at either boundary needs a further calculation.

The same slope also controls the steady ATP offset. At a nearby balanced state, vˉ1∗=wˉ\bar v_1^*=\bar w. For a≠0a\ne0, differentiation at the baseline gives

a δqˉATP∗=δwˉ,∂qˉATP∗∂wˉ=1a.a\,\delta\bar q_{\mathrm{ATP}}^*=\delta\bar w,\qquad\frac{\partial\bar q_{\mathrm{ATP}}^*}{\partial\bar w}=\frac{1}{a}.

Making the negative slope larger in magnitude reduces the local steady error. The baseline loses stability when the slope crosses the left endpoint. This recovers the Hill result through reaction orders without requiring the full Hill rate law away from the operating point.

Flux exponent control uses these restrictions to describe a family of possible regulations. For positive fluxes v(q,u)v(q,u) and a static regulatory law u=u(q)u=u(q), the chain rule gives

Hvcl←q=Hv←q+Hv←uHu←q,vcl(q)=v(q,u(q)).\boxed{H^{v_{\mathrm{cl}}\leftarrow q}=H^{v\leftarrow q}+H^{v\leftarrow u}H^{u\leftarrow q},\qquad v_{\mathrm{cl}}(q)=v(q,u(q)).}

The entries of Hv←qH^{v\leftarrow q} are ∂log⁡vj/∂log⁡qi\partial\log v_j/\partial\log q_i at fixed activity. The entries of Hv←uH^{v\leftarrow u} describe which activities affect which fluxes. The entries of Hu←qH^{u\leftarrow q} describe the unknown regulatory response. A binding-derived constraint on the left restricts the controllers on the right. The paper denotes these matrices Hcl,HA,HB,HKH^{\mathrm{cl}},H^A,H^B,H^K, respectively.1

The activity factor and its reaction order have different jobs. The positive value uu sets a rate multiplier. Its logarithmic derivative tells us how that multiplier responds when concentrations change. The phrase flux exponent control refers to the regulation of these reaction orders. It does not mean that a numerical activity amplitude is itself an exponent, or that changing enzyme abundance leaves the rate scale unchanged.

Constant partial reaction orders can be integrated into a referenced power law. Choose positive references q∘,u∘q^\circ,u^\circ and v∘=v(q∘,u∘)v^\circ=v(q^\circ,u^\circ). If the two partial-order matrices remain constant over a connected positive domain,

v(q,u)=Λv∘exp⁡ ⁣[Hv←qlog⁡qq∘+Hv←ulog⁡uu∘],q˙=Sv(q,u)+Sww.v(q,u)=\Lambda_{v^\circ}\exp\!\left[H^{v\leftarrow q}\log\frac{q}{q^\circ}+H^{v\leftarrow u}\log\frac{u}{u^\circ}\right],\qquad\dot q=S v(q,u)+S^w w.

Division, logarithms and exponentials act componentwise. Λa\Lambda_a denotes the diagonal matrix with diagonal aa. Reference ratios make the logarithms dimensionless. If the orders vary, freezing them gives a local approximation rather than an exact global rate law.

The closed-loop reaction orders determine the local concentration Jacobian. At a positive balanced operating point, write zq=Λq∗−1δqz_q=\Lambda_{q^*}^{-1}\delta q. For a fixed external disturbance and a static regulatory law,

z˙q=Aqzq,Aq=Λq∗−1SΛv∗Hvcl←q.\dot z_q=A_qz_q,\qquad A_q=\Lambda_{q^*}^{-1}S\Lambda_{v^*}H^{v_{\mathrm{cl}}\leftarrow q}.

Stoichiometry converts flux changes into pool changes. Reaction orders convert relative concentration changes into relative flux changes. The ratios vj∗/qi∗v_j^*/q_i^* set the physical inverse-time scale. Conserved pools require independent coordinates before an inverse state matrix is used.

Binding constraints restrict a controller family. If a specified mechanism has attainable order set P\mathcal P, a static controller must satisfy

Hv←q+Hv←uHu←q∈P.H^{v\leftarrow q}+H^{v\leftarrow u}H^{u\leftarrow q}\in\mathcal P.

A polyhedral outer bound may contain orders that no single biochemical mechanism attains. Pointwise admissible slopes also do not ensure that an arbitrary sequence integrates to a globally realizable rate law. Dynamic regulation needs its own internal states. These are questions beyond merely finding a positive activity trajectory.

A4 · What the published predictive-control calculation solves

The plotted glycolysis computation follows the public notebook's discrete problem. At each update, it freezes the local relative linearization, predicts twenty steps of size 0.03 and optimizes log-activity increments. It applies the first increment and advances the nonlinear plant with constant activity for that interval. The state weight is Q=diag⁡(0.3,0.08)Q=\operatorname{diag}(0.3,0.08). The three increment weights are R=rI2R=rI_2, with r=3,4.25,5.5r=3,4.25,5.5 and I2I_2 the two-dimensional identity matrix.

The notebook's reference schedule is part of the experiment. Demand changes from one to 1.1 at normalized time zero. The desired pools change from (1/1.1,1)(1/1.1,1) to (1/1.1+0.07,0.93)(1/1.1+0.07,0.93). Initial activities are exp⁡(−0.695)\exp(-0.695). The predictor constrains ATP to at least 0.6 and intermediate to at least 0.001. It imposes no activity upper bound or explicit binding-order polytope. The reference values follow the notebook rather than the different values in the printed Figure 5 caption.

The lower bounds remain inactive in these three recomputations. The quadratic problems can therefore be solved using their unconstrained normal equations, with every predicted bound checked afterward. The nonlinear plant is integrated exactly during each interval of constant activity. A different setting that activates a bound needs a constrained solver. A continuous squared-rate penalty and a discrete increment penalty also require different time-step factors, so the stated weights should not be transferred unchanged to another step size.

Choose a regulation cost and replay the predicted response -10 10 20 30 40 0.8 0.9 1 1.1
t/tmett/t_{\mathrm{met}}
qˉATP\bar q_{\mathrm{ATP}}
-10 10 20 30 40 0.9 1 1.1 1.2 1.3
t/tmett/t_{\mathrm{met}}
vˉ2\bar v_2
ATP concentration payoff flux steady flux requirement Flux balance specifies the dashed flux level. It supplies no ATP trajectory.

R = 3 I. Replay starts at normalized time −10. The full computed trajectory remains visible.

Two activity inputs. Demand: 1 to 1.1. Reference pools: (1/1.1,1)(1/1.1,1) to (1/1.1+0.07,0.93)(1/1.1+0.07,0.93). ATP floor: 0.6. Discrete increment penalties and other settings: A4.

Optional replay. The catalytic plant produces transients under optimized regulation. Recomputed from the algorithm and settings of the public notebook. The plotted penalty applies to discrete log-activity increments, with the time-step convention stated in A4. The control update occurs every 0.03 normalized time units. Step advances one update. The concentration and flux plots share the clock but have different units. Larger penalties in these three runs produce deeper ATP dips and more pronounced ringing. The dashed line is only the steady flux requirement. Flux balance supplies no corresponding ATP concentration curve.

Choose a route through the four parts

PartSectionsQuestionUseful live stop
1 · A known metabolic machine1–4Why does ATP regulation face a dynamical tradeoff?Investment/payoff diagram and gain comparison.
2 · Objectives and steady prediction5–7How can a constrained optimization describe behavior?Small matrix calculation, PFK and biomass, oxygen change.
3 · Extensions of flux balance analysis (optional)8–17What does an extra state or constraint make predictable?Choose a batch, community, proteome or thermodynamic experiment.
4 · Structured dynamic prediction18–25What changes when the regulated internal pools can accumulate?Reaction-order restriction, ATP transient, growth pause and allocation horizon.
Optional · Machine architectureIndependent sectionHow does a whole-machine goal become tractable module tasks?Cart-pendulum animation, material supply and learned features.

This is a complete reading core with selectable live examples. The full set is not assigned a single lecture duration. A compact spoken route can retain the original glycolysis-to-FBA-to-FEC argument and use one extension to explain the new model map. The Jupyter tutorial provides additional experiments for a longer session or independent study.

References and sources

  1. F. Xiao, J. S. Li and J. C. Doyle. Flux exponent control predicts metabolic dynamics from network structure. American Control Conference (2023), 1189–1194. DOI · Author-hosted full text. The layered architecture, constraint-based progression, binding-catalysis split and optimized glycolysis example supply the lecture's central argument.
  2. J. D. Orth, I. Thiele and B. Ø. Palsson. What is flux balance analysis? Nature Biotechnology 28 (2010), 245–248. DOI. Steady balances, bounds, biomass objectives, alternate optimal fluxes and the oxygen comparison. The lecturer's original 202204_FBA notebook was preserved unchanged and used as the starting point for the updated demonstration.
  3. F. A. Chandra, G. Buzi and J. C. Doyle. Glycolytic oscillations and limits on robust efficiency. Science 333 (2011), 187–192. DOI · Author-hosted full text. ATP investment and payoff, effective feedback kinetics, stability and robustness limits.
  4. J. D. Orth, T. M. Conrad, J. Na, J. A. Lerman, H. Nam, A. M. Feist and B. Ø. Palsson. A comprehensive genome-scale reconstruction of Escherichia coli metabolism (2011). Molecular Systems Biology 7 (2011), 535. DOI. The iJO1366 reconstruction, its scope, curation, reaction categories and gene associations. The local full text was inspected.
  5. BiGG Models. iJO1366 and E. coli core. Model files retrieved on 13 October 2026. The interactive example embeds solutions from the archived iJO1366 file. The reaction table records its signed stoichiometry, bounds and gene rules.
  6. F. Xiao. FEC-ACC-202303, simulation notebook accompanying the 2023 paper. Code and notebook. The glycolysis optimization follows the executable notebook's settings. The lecture recomputes the nonlinear trajectory and checks the prediction constraints. A4 states the numerical convention.
  7. F. Xiao. 202205-jun-course-lec-1-constraint-based-FBA and 202405-Shenzhen-iSynBio, lecturer's teaching slides. The constraint illustrations, two-reaction and three-reaction examples, layered architecture and growth-arrest question are adapted from these local sources. The growth-arrest figure here is a new nonlinear computation using the source reaction structure and explicitly stated numerical assumptions.
  8. F. Xiao. Biocontrol of biomolecular systems: polyhedral constraints on binding’s regulation of catalysis from biocircuits to metabolism. Caltech PhD thesis (2022), pp. 150 and 159–160. DOI and full text. The flux-control argument treats reaction fluxes as control inputs and uses full row rank to explain the resulting freedom of concentration trajectories.
  9. R. Mahadevan, J. S. Edwards and F. J. Doyle III. Dynamic flux balance analysis of diauxic growth in Escherichia coli. Biophysical Journal 83 (2002), 1331–1340. DOI. Equations 2–4 distinguish full dynamic optimization from successive instantaneous optimizations and allow additional flux-change and kinetic constraints.
  10. W. Atzpodien and H. Bode. “Purification and Regulatory Properties of ATP-Sensitive Phosphofructokinase from Yeast.” European Journal of Biochemistry 12, 126–132 (1970). DOI. Yeast enzyme purification and controlled activity assays establish ATP substrate use and inhibition under specified assay conditions.
  11. Antje Brüser, Jürgen Kirchberger, Marco Kloos, Norbert Sträter and Torsten Schöneberg. “Functional Linkage of Adenine Nucleotide Binding Sites in Mammalian Muscle 6-Phosphofructokinase.” Journal of Biological Chemistry 287, 17546–17553 (2012). DOI. Structure-guided mutations and kinetic assays distinguish nucleotide-site functions in mammalian muscle enzyme. This is a different preparation from the yeast studies.
  12. Neil Macfarlane and Stanley Ainsworth. “A Kinetic Study of Baker’s-Yeast Pyruvate Kinase Activated by Fructose 1,6-Diphosphate.” Biochemical Journal 129, 1035–1047 (1972). DOI.
  13. K. J. Åström and R. M. Murray. Feedback Systems, second edition, electronic version v3.1.5 (2020). Theorem 14.3, equation 14.5 and Exercise 14.3. Author-hosted book. The Bode sensitivity integral and its relative-degree-one correction.
  14. F. A. Chandra, G. Buzi and J. C. Doyle. Supporting Online Material for Glycolytic Oscillations and Limits on Robust Efficiency (2011), Sections S3–S5, especially equation S5.4. Article and supplement. The two-sided weighted sensitivity identity supplies the normalization used here.
  15. Stephen Boyd and Lieven Vandenberghe. Convex Optimization. Cambridge University Press (2004), corrected seventh printing (2009). Sections 1.1, 4.1 and 5.1.3. Source.
  16. Karl J. Åström and Richard M. Murray. Feedback Systems, second edition, electronic version v3.1.5 (2020). Sections 1.8 and 15.3. Source.
  17. David Tong. Classical Dynamics. University of Cambridge Part II Mathematical Tripos lecture notes, Michaelmas Terms 2004 and 2005. Section 2.1, pp. 10–12. Source.
  18. Masao Doi. “Onsager principle as a tool for approximation.” Chinese Physics B 24(2), 020505 (2015). Section 2, Eqs. 1–10. Source.
  19. Aaron D. Ames, Samuel Coogan, Magnus Egerstedt, Gennaro Notomista, Koushil Sreenath and Paulo Tabuada. “Control Barrier Functions: Theory and Applications.” European Control Conference, 3420–3431 (2019). Archived author preprint arXiv:1903.11199v1, Sections II A and II C. Source.
  20. Yann LeCun, Léon Bottou, Yoshua Bengio and Patrick Haffner. “Gradient-Based Learning Applied to Document Recognition.” Proceedings of the IEEE 86(11), 2278–2324 (1998). Archived submitted author manuscript, pp. 1–2. Source.
  21. Alex Krizhevsky, Ilya Sutskever and Geoffrey E. Hinton. “ImageNet Classification with Deep Convolutional Neural Networks.” Advances in Neural Information Processing Systems 25, 1097–1105 (2012). Sections 2–5. Source.
  22. Tahmineh Khazaei, Rory L. Williams, Said R. Bogatyrev, John C. Doyle, Christopher S. Henry and Rustem F. Ismagilov. “Metabolic multistability and hysteresis in a model aerobe–anaerobe microbiome community.” Science Advances 6(33), eaba0353 (2020). Main text pp. 1–3 and 6–7, Eqs. 1–8. Source. Local full text.
  23. Khazaei et al. (2020). Supplementary materials. Tables S1–S2 and Fig. S4. Source. Local full text.
  24. Matteo Mori, Terence Hwa, Olivier C. Martin, Andrea De Martino and Enzo Marinari. “Constrained Allocation Flux Balance Analysis.” PLoS Computational Biology 12(6), e1004913 (2016). Eqs. 17 and 20. Source. Local full text.
  25. Matteo Mori, Severin Schink, David W. Erickson, Ulrich Gerland and Terence Hwa. “Quantifying the benefit of a proteome reserve in fluctuating environments.” Nature Communications 8, 1225 (2017). PDF pp. 3–4, Eqs. 2–10, and p. 7. Source. Local full text.
  26. David W. Erickson, Severin J. Schink, Vadim Patsalo, James R. Williamson, Ulrich Gerland and Terence Hwa. “A global resource allocation strategy governs growth transition kinetics of Escherichia coli.” Nature 551, 119–123 (2017). Source. Local full text.
  27. Huili Yuan, Yang Bai, Xuefei Li and Xiongfei Fu. “Cross-regulation between proteome reallocation and metabolic flux redistribution governs bacterial growth transition kinetics.” Metabolic Engineering 82, 60–68 (2024). Sections 2.1 and 4.1. Archived full-text extraction of the author-uploaded published article. Figures are not archived. Source. Local full text.
  28. Christopher S. Henry, Linda J. Broadbelt and Vassily Hatzimanikatis. “Thermodynamics-Based Metabolic Flux Analysis.” Biophysical Journal 92, 1792–1805 (2007). Source. Local full text.
  29. Benjamín J. Sánchez, Cheng Zhang, Avlant Nilsson, Petri-Jaan Lahtvee, Eduard J. Kerkhoven and Jens Nielsen. “Improving the phenotype predictions of a yeast genome-scale metabolic model by incorporating enzymatic constraints.” Molecular Systems Biology 13, 935 (2017). Source. Local full text.
  30. Markus W. Covert, Nan Xiao, Tiffany J. Chen and Jonathan R. Karr. “Integrating metabolic, transcriptional regulatory and signal transduction models in Escherichia coli.” Bioinformatics 24(18), 2044–2050 (2008). Section 2.1, p. 2046, and Fig. 3. Source. Local full text.
  31. Jonathan R. Karr, Jayodita C. Sanghvi, Derek N. Macklin, Miriam V. Gutschow, Jared M. Jacobs, Benjamin Bolival Jr., Nacyra Assad-Garcia, John I. Glass and Markus W. Covert. “A Whole-Cell Computational Model Predicts Phenotype from Genotype.” Cell 150, 389–401 (2012). Source. Local full text.
  32. Haotian Cui, Chloe Wang, Hassaan Maan, Kuan Pang, Fengning Luo, Nan Duan and Bo Wang. “scGPT: toward building a foundation model for single-cell multi-omics using generative AI.” Nature Methods 21, 1470–1480 (2024). Source. Local full text.
  33. Cameron Cotten and Jennifer L. Reed. “Mechanistic analysis of multi-omics datasets to generate kinetic parameters for constraint-based metabolic models.” BMC Bioinformatics 14, 32 (2013). PDF p. 3, Eq. 2, and p. 10, Fig. 6. Source. Local full text.
  34. Erickson et al. (2017). Supplementary information. Sections 3.2b–3.2f, pp. 13–17, Eqs. S22–S29. Source. Local full text.
  35. Adam M. Feist and Bernhard O. Palsson. “The biomass objective function.” Current Opinion in Microbiology 13, 344–349 (2010). DOI. The biomass recipe includes material incorporation, biosynthetic energy and polymerization byproducts.
  36. Markus Basan, Sheng Hui, Hiroyuki Okano, Zhongge Zhang, Yang Shen, James R. Williamson and Terence Hwa. “Overflow metabolism in Escherichia coli results from efficient proteome allocation.” Nature 528, 99–104 (2015). DOI. Carbon, energy and proteome allocation explain the aerobic acetate-overflow response under the reported conditions.
  37. Thorsten Greinert, Kristina Vogel, Thomas Maskow and Christoph Held. “New thermodynamic activity-based approach allows predicting the feasibility of glycolysis.” Scientific Reports 11, 6125 (2021). DOI. Table 1 gives the activity-based standard hexokinase free energy at 298.15 K and pH 7. The lecture's activity scenarios and flux comparison are new calculations.
  38. Ryan Thiermann et al. “Decoupling of global metabolic flux and proteome partitioning in bacteria.” Science 392, eaeb6410 (2026). DOI. Local full text. Translational inhibition, recovery and growth–antibiotic-survival tradeoffs. These results do not identify a species-specific discount factor.
  39. Jacques Monod. “The Growth of Bacterial Cultures.” Annual Review of Microbiology 3, 371–394 (1949). Lag and enzyme adaptation, pp. 386–388. Diauxie, pp. 390–391 and Figure 9. Source. Local full text.