Bioreactor simulator: a stirred tank with temperature, pH and oxygen control loops

Grow bacteria on sugar in a stirred-tank bioreactor for 24 hours. Switch the temperature, pH and oxygen control loops on and off, change their set points, and watch the heat, acid and oxygen demand of growing cells push the tank off course. A teaching model.

Keep it one tap away for everyday use.

Bookmark Bioreactor?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Set points
  2. Stirred tank
  3. Growth
  4. Check
Nothing is uploadedWorks offline once open

A teaching model with round, made-up numbers: bacteria growing on sugar in a 24-hour batch.

Run the tank

broth

Growth

bacteria (g/L)sugar (g/L)

The three controlled values

Dashed lines: the set points. A control loop measures the value and acts (cooling water, a base pump, a faster stirrer) to pull it back.

Try this

  • Switch off temperature control. Growing bacteria give off heat: what happens to the temperature, and to the growth?
  • Switch off pH control. The bacteria make acid as they grow. How low does the pH fall, and how much sugar is left?
  • Switch off oxygen control and set the fixed stirring low. Watch the oxygen crash and growth slow to a crawl.
  • Set the temperature to 30 °C. The tank is well controlled, but at the wrong value for these bacteria.

Check yourself

Fresh numbers every time. Type a number or a fraction such as 3/4; nothing is saved or sent.

    What it shows

    To make a product with microbes (an enzyme, an antibiotic, or human insulin from recombinant bacteria) you need billions of cells, grown in large bioreactors. The most common is the stirred tank: a steel vessel with a stirrer, an air pipe (sparger) bubbling air in at the bottom, a cooling jacket, probes that measure temperature, pH and dissolved oxygen, and pumps that add acid or base.

    Growing cells keep pushing the tank away from the best conditions: they give off heat, they make acid, and they use up oxygen. Each of these has a control loop: a probe measures the value, and the controller acts (more cooling water, a little base, a faster stirrer) to pull it back to its set point.

    This page simulates a 24-hour batch of bacteria on 20 g/L of sugar. Switch each loop off to see what it was doing.

    It fits Class 12 Biology: biotechnology, principles and processes (obtaining the foreign gene product: bioreactors, the stirred-tank reactor, downstream processing) and microbes in human welfare (industrial products). The cells being grown might carry the gene from recombinant insulin; their growth curve is the logistic shape in population growth, and why temperature and pH matter so much is shown in enzyme activity lab.

    How to use it

    1. Leave all three loops on, then switch one off at a time.
    2. Slide the set points: temperature, pH and the oxygen level to keep above. With oxygen control off, set the fixed stirring instead.
    3. Drag the Hour slider: the gauges by the tank show the values at that hour, and the sentence says what is wrong, if anything.
    4. Read the growth graph and the facts: bacteria at 24 h, when the sugar runs out, and the highest temperature, lowest pH and lowest oxygen.

    Worked example

    With every loop on (37 °C, pH 7, oxygen above 30 %), the bacteria grow from 0.1 to 10.1 g/L and use up the sugar after about 9.7 hours: 20 g/L of sugar × 0.5 g of cells per gram of sugar = 10 g/L of new cells. The temperature never goes above 37.8 °C and the pH never below 6.85.

    Switch temperature control off and the tank heats up to about 44.9 °C; growth slows and sugar is still left after 24 hours. Switch pH control off and the acid takes the pH down to about 5.64, with 9.15 g/L of bacteria. Switch oxygen control off with fixed stirring 2 per hour, and the oxygen falls to about 2.8 %: the cells still finish, but only after about 14.4 hours.

    Check yourself

    Five fresh questions: cells from sugar using the yield, kilograms in a tank, and why tanks are cooled, stirred and followed by downstream processing. Nothing is saved.

    FAQ

    Why not just grow cells in a flask? Flasks work for small amounts. A bioreactor keeps conditions right for thousands of litres, keeps the culture sterile, and lets samples be taken.

    What happens after the batch? Downstream processing: the product is separated from the cells and broth, purified, tested for quality, and formulated with preservatives before it can be used.

    Is this from my textbook? It covers the standard school topic with its own model and examples. It is an independent study aid.

    Where the numbers come from

    • Standard school biotechnology: stirred-tank bioreactors (agitator, sparger, temperature and pH control, sampling) and downstream processing. Growth follows the Monod equation with yield on sugar; temperature, pH and oxygen effects and the simple proportional control loops are teaching choices. Written for fibub; no textbook text, figures or exercises are used.
    • All numbers (growth rate, yield, heat, acid and oxygen per gram of growth, the best temperature 37 °C and pH 7) are round, made-up teaching values, not data for any real organism.
    • Checked against scipy.integrate.solve_ivp (LSODA, rtol 1e-10) on the same equations at 6 and 12 hours, with all loops on and with each switched off.

    Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

    Last updated 2026-11-09.

    Change log for Bioreactor

    1. Add #1457 Bioreactor Details on GitHub

    Every change to fibub

    Related tools

    Enzyme activity lab #L65 Digest starch with amylase or egg white with pepsin and trypsin, and time it with a virtual spot tile. Change temperature, pH, substrate and inhibitors, record your runs and see rate graphs. For Class 10 and 11 biology. Population growth #L294 Slide the growth rate r and the carrying capacity K and watch a J-shaped exponential curve race away while the S-shaped logistic curve levels off at K. See dN/dt against N, the doubling time, where growth is fastest, and expanding, stable and declining age pyramids. Recombinant insulin #L298 Step through making human insulin in bacteria: the A and B chains, their genes, cutting a plasmid with a restriction enzyme, matching sticky ends, DNA ligase, putting the plasmid into E. coli, picking recombinant colonies on ampicillin and tetracycline plates, growing them and joining the chains. Osmosis lab #L55 Drop a potato piece, a raisin, an onion cell or a red blood cell into sugar or salt water and watch water move in or out. See plasmolysis, a % mass change graph, water potential at Class 11 level, a virtual practical and quick questions. Photosynthesis lab #L56 Move a lamp, add carbon dioxide and warm the water around a pondweed, then watch and count the oxygen bubbles. See which factor is limiting the rate, and graphs of rate against light at several carbon dioxide levels (Blackman's law). Cell explorer #L57 Tap the parts of a plant cell, an animal cell and a bacterium to see what each one does, zoom in, compare the three cells in a table and work out how much the drawing is magnified. Class 9 and Class 11 levels, with quick questions.