AI + Biology · Field note

AI Optimization in Photobioreactors: Propose, Then Verify

By Orr Biologicals · August 5, 2026

A photobioreactor is a light-to-biomass machine with one vicious paradox: the brighter you shine it, the harder its inhabitants fight back.

Key facts
  • Optimization means holding the culture at its productive regime, not maximizing any single dial
  • Steele's curve describes the light optimum — and the photoinhibition penalty above it
  • Beer-Lambert self-shading means the optimal surface light depends on culture density
  • Dissolved oxygen supersaturation can inhibit the growth that produced it

In a photobioreactor, the goal is simple to state and hard to hit: maximize biomass per unit of time, per unit of light, per unit of labor. The trouble is that every one of those units argues with the others. More light means more photosynthesis until it means photoinhibition. More density means more cells per liter until it means each cell sees almost nothing. More aeration relieves oxygen stress until it strips the carbon you paid to put in. An AI in this loop is not a magical farmer; it is a controller that can hold a knife-edge equilibrium the human hand cannot hold for forty days straight.

The first edge is light. Photosynthetic organisms respond to light through what is called the Steele curve: growth rises with intensity up to an optimum, then falls as the excess energy damages the reaction centers — photoinhibition. In a dense culture there is a second curve hiding inside the first: Beer-Lambert attenuation means the cells at the surface see almost all the light while the cells in the core see almost none, so the effective light at the optimum depends on the culture's own density. AlgaePhyte's twin computes this coupling continuously — the same surface intensity that is perfect at low density is toxic at high density, because the average cell is suddenly much closer to the lamp.

The second edge is carbon. Spirulina eats bicarbonate, and bicarbonate is also the culture's pH buffer — dosing it feeds the cells and steadies the pH at once, which is why the reactor controls alkalinity rather than acidity. Miss the timing and the pH climbs with photosynthesis, the dissolved inorganic carbon drops, and growth stalls exactly when the light was perfect. The twin watches pH, light, and density together, because separately they each lie.

The third edge is oxygen, the quiet assassin. A bright, dense culture produces oxygen faster than it leaves the water, and supersaturated dissolved oxygen inhibits the very carboxylation that produced it. The air pump is not there for mixing alone; it is the oxygen relief valve. In auto mode the reactor runs the pump on a dissolved-oxygen threshold — the kind of rule a human can learn and forget, and a controller never forgets.

What the AI actually optimizes, then, is not any single variable but the joint position of the culture: light at the density-adjusted optimum, carbon and pH coupled, oxygen vented before it bites. The safety architecture keeps this honest — every proposed dose is simulated through the twin first, and any action that would push pH out of band or predictably stall growth is blocked before it reaches a pump.

You can feel the optimization problem in your browser: the AlgaePhyte simulation on the homepage runs these same equations. Push the light slider past the optimum and watch photoinhibition cut the simulated growth rate. The shape of that response is not decoration — it is the reason the reactor reasons at all.

All articles Drive the reactor simulation