# Batch mu\_max estimate

`bioreactor_batch_fit` is a tool of the Drybench MCP server. It runs the same engine and reporting rules as Drybench Bioreactor.

## What it answers

Required: scaling (known-sd, balancing-scale). Estimates mu\_max (per hour) from biomass and substrate readings of a batch run, every other value of the scenario held fixed: a grid search within your bounds refined by bounded Brent minimisation, judged by numerical rules and practical checks. No estimate when not resolved or withheld; no interval; conditional on the fixed values. Batch runs at constant aeration with no rescue only. Units: g/L or mg/L, h or min, 1/h.

**Limits:**

- Teaching and estimation model, not a validated process model.
- It computes from the inputs it receives. It does not check the person's data, design or sample.
- Every computed number a reply returns, other than an integer or an exact decimal, is rounded once to 12 significant figures: to the nearest, a change of at most 5 × 10⁻¹² of its value, except that a lower bound is rounded down and an upper bound up, a change of less than 1 × 10⁻¹¹; the method computes, and decides any pass or fail, on the unrounded value.

> Research and education software; not for diagnosis or treatment decisions.
>
> A simulation, not a forecast. Every output follows from the model equations and the parameters you entered. It is a teaching and estimation model, not a validated process model, and not a prediction for any real strain, vessel or process.

## What this page can and cannot show

Weakest level among this tool's methods: Checked against a reference. Reference kind not recorded for 4 of 4 methods.

Not fully recorded, and not independently reviewed. Items marked "Not recorded" are missing from this project's records for the version named. Apart from any worked example shown, the cases and their values are not printed, so a reader cannot re-run these checks. No independent scientist has yet reviewed these methods or checks.

[Open Drybench Bioreactor](https://www.drybench.com/bioreactor/app) · [Drybench Bioreactor: methods and checks](https://www.drybench.com/methods/bioreactor) · [What the levels mean](https://www.drybench.com/methods/levels) · [Every assistant tool](https://www.drybench.com/methods/tools)

## Inputs

An omitted input takes the default its description states; the reply's `inputsReceived` shows what was given. Any input not listed here is refused.

- `preset` (string, required): One of e-coli-fed-batch, s-cerevisiae-fed-batch, pichia-aox1, chemostat, custom, or a published version as \<id>\@\<n>; an id alone takes its current version.
- `changes` (object, optional): By parameter id in drybench://data/bioreactor-presets: a number as { value, unit } in its listed unit, an option by its word, a formula as text, "none" where accepted.
- `biomass` (object, required): Biomass readings.
  - `label` (string, optional)
  - `scale` (object, required)
    - `value` (number, optional)
    - `unit` (optional): One of `g/L`, `mg/L`.
  - `rows` (array of object, required)
    - `time` (object, optional)
      - `value` (number, optional)
      - `unit` (optional): One of `h`, `min`.
    - `value` (object, optional)
      - `value` (number, optional)
      - `unit` (optional): One of `g/L`, `mg/L`.
    - `excluded` (boolean, optional)
- `substrate` (object, required): Substrate readings.
  - `label` (string, optional)
  - `scale` (object, required)
    - `value` (number, optional)
    - `unit` (optional): One of `g/L`, `mg/L`.
  - `rows` (array of object, required)
    - `time` (object, optional)
      - `value` (number, optional)
      - `unit` (optional): One of `h`, `min`.
    - `value` (object, optional)
      - `value` (number, optional)
      - `unit` (optional): One of `g/L`, `mg/L`.
    - `excluded` (boolean, optional)
- `lower` (object, required): Search bound, above 0.
  - `value` (number, optional)
  - `unit` (optional): One of `1/h`.
- `upper` (object, required): Search bound, at most 5.
  - `value` (number, optional)
  - `unit` (optional): One of `1/h`.
- `scaling` (string, required): Each scale as an SD or a balancing scale. One of `known-sd`, `balancing-scale`.

## What it withholds or refuses

A refusal, a withheld value or another named status is an answer: the reply gives the reason and no number in its place; an absent value is not zero. Invalid input means nothing ran.

Refusal codes: not recorded for bioreactor\_batch\_fit.

Values it withholds: not recorded for bioreactor\_batch\_fit.

## How to cite a number from it

Every reply carries a cite line. It names, in order: the tool and the server version; each method the call went through, with its version and level (and the limit beside a level where the method's record narrows it); the receipt, the first 12 characters of the hashes of the arguments and of the result; and the address where its methods are described. Quote it with any number taken from the reply.

The receipt identifies a computation; it is not a signature. It holds no time, so the same arguments on the same server and method versions give the same receipt, and anyone can call the tool again and compare; a later method version can change the output hash.

This page has no example for this tool yet. The cite line's form, with placeholders where a call's own values go:

```cite
bioreactor_batch_fit, server 1.0.0; status invalid-input, nothing ran; no method record; receipt <input hash, 12 characters>/<output hash, 12 characters>; methods https://www.drybench.com/methods/bioreactor; page https://www.drybench.com/methods/tools/bioreactor-batch-fit. There is no result to quote; this line identifies the call and its receipt.
```

## Methods

Every method and reference the tool's replies cite, with its version and level. A reply names the methods that call went through.

### Batch μmax estimate, the other values fixed: model 2.1.0, with α, β, Yps and the product formula held as entered, by the modified Rosenbrock solver at the exact observation times, a 33/65/129-point grid in the scaled bound, Brent's bounded minimisation per basin, a bounded Levenberg-Marquardt cross-check, the numerical rules of Bioreactor verification 0.9.0 and the CSO's practical flags (0.10.0)

- **Method:** `bioreactor-batch-fit@1.1.0`
- **Level:** Checked against a reference; μmax to relative 1e-4 under known SDs. The reduction of the simulator's model to Monod batch growth is not covered. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.
- **Reference:** Model 2.1.0 (unstructured-growth-model) and Rosenbrock 1.1.0 (modified-rosenbrock), as cited there; Brent RP. Algorithms for Minimization without Derivatives. Prentice-Hall 1973, ch. 5; Levenberg K. Q Appl Math 1944;2:164-168; Marquardt DW. J Soc Indust Appl Math 1963;11:431-441. Conditional on every fixed value; no interval in this version. Shipped level rtol 1e-8 with each state's atol scaled from the simulator's; the prediction envelope adds each state's shipped atol to the level differences (it only widens the envelope); 1.0.0 accepted on the CSO's items 1 to 10 with acceptance condition 1(b′)(i) amended after the data were seen, D-0137. 1.1.0, a method version (D-0139), changes admission only: the initial state is the unweighted arithmetic mean of the kept t = 0 readings in g/L, and a non-physical one (X0 ≤ 0, S0 \< 0) is refused; it is checked against Bioreactor verification 0.13.0 and accepted on its own frozen conditions.
- **How it was checked:** Checked against Bioreactor verification 0.9.0, an independent SciPy 1.17.0 script (Radau at relative tolerances 1e-9 to 1e-11 with a BDF cross-check, evaluated at the exact observation times; a 33/65/129-point grid, bounded minimisation in every basin and a trf cross-check) on 20 synthetic cases generated from the model's own equations (14 numerically resolved, 2 not resolved, 4 refused), and 0.13.0, the same script with 1.1.0's admission (the 20 cases re-run byte-equal and 13 new initial-state cases): admission outcomes, codes and canonical rows equal exactly; predictions at the oracle's μmax within the two prediction envelopes; μmax within 3 × (the oracle's spread across four integration levels plus the engine's own, at most 1e-4 of μmax); the objective within Σ(2|rᵢ|eᵢ + eᵢ²); verdicts and reasons equal; the practical flags equal to the derived set 0.11.0, computed from 0.9.0's stored values at thresholds fixed before the engine existed (24 and 25 October 2026). The oracle integrates the same equations, so the check shows the fit is computed as specified, not that these data identify μmax or that the model suits a culture; no measured dataset has been fitted. Draft until the independent bioprocess reviewer signs the equations, the presets and the fixtures (Q-19).
- What was not checked: not recorded for bioreactor-batch-fit\@1.1.0. Its absence does not mean everything was checked.
- [Method, sources and checks](https://www.drybench.com/methods/m/bioreactor-batch-fit)
- [On Drybench Bioreactor's methods page: Batch μmax estimate](https://www.drybench.com/methods/bioreactor#batch-μmax-estimate)

### Unstructured growth model: Monod (Haldane and Andrews for methanol), Pirt's maintenance, Luedeking and Piret's product with its own yield, balances with volume change

- **Method:** `unstructured-growth-model@2.1.0`
- **Level:** Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.
- **Reference:** Monod J. Annu Rev Microbiol 1949;3:371-394; Andrews JF. Biotechnol Bioeng 1968;10:707-723; Pirt SJ. Proc R Soc B 1965;163:224-231; Luedeking R, Piret EL. J Biochem Microbiol Technol Eng 1959;1:393-412. Oxygen and CO₂ from carbon and degree-of-reduction balances on biomass and product (product-composition 1.0.0), ammonium the nitrogen source; verification 0.15.0. [doi:10.1146/annurev.mi.03.100149.002103](https://doi.org/10.1146/annurev.mi.03.100149.002103)
- **How it was checked:** State variables checked against SciPy 1.17.0 Radau on 33 scenarios (SciPy's Radau at a relative tolerance of 1e-9, an absolute tolerance a hundredth of the engine's for every state): each point within the larger of 1e-5 of its value, a time shift of max(1e-4 h, 1e-5 of the elapsed time) times its slope, and its floor; inside the window after a change of aeration or feed, the series computed from dissolved oxygen on value alone; events within 1e-3 h; the carbon and electron balances close within 0.5 percent; the right-hand sides agree within 1e-12 relative at 13 states (2026-10-07). Draft until the independent bioprocess reviewer signs the equations, the presets and the fixtures (Q-19).
- What was not checked: not recorded for unstructured-growth-model\@2.1.0. Its absence does not mean everything was checked.
- [Method, sources and checks](https://www.drybench.com/methods/m/unstructured-growth-model)
- [On Drybench Bioreactor's methods page: Run](https://www.drybench.com/methods/bioreactor#run)

### Modified Rosenbrock (W-) formula with an analytic Jacobian, error control, its continuous extension and located events

- **Method:** `modified-rosenbrock@1.1.0`
- **Level:** Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.
- **Reference:** Shampine LF, Reichelt MW. The MATLAB ODE Suite. SIAM J Sci Comput 1997;18(1):1-22, §3.1 (implemented from the paper only). [doi:10.1137/S1064827594276424](https://doi.org/10.1137/S1064827594276424)
- **How it was checked:** Checked against SciPy 1.17.0 Radau on the same 33 scenarios, with one step and the linear solve compared with NumPy 2.3.5 and LAPACK, and fixed-step RK4's failure at kLa 1,000 per hour kept as a regression test (2026-10-07). Draft until the independent bioprocess reviewer signs the equations, the presets and the fixtures (Q-19).
- What was not checked: not recorded for modified-rosenbrock\@1.1.0. Its absence does not mean everything was checked.
- [Method, sources and checks](https://www.drybench.com/methods/m/modified-rosenbrock)
- [On Drybench Bioreactor's methods page: Run](https://www.drybench.com/methods/bioreactor#run)

### Dissolved oxygen by its own balance, dC/dt = kLa(C\* − C) − OUR + (Fin/V)(Cfeed − C), with C\* from the exhaust gas and Benson and Krause's solubility

- **Method:** `dissolved-oxygen-balance@2.0.0`
- **Level:** Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.
- **Reference:** Benson and Krause, as the USGS documents them: Office of Water Quality Technical Memorandum 2011.03, attachment eqs. 7 and 9 to 11 (read 6 October 2026).
- **How it was checked:** Air saturation checked against the USGS DOTABLES program's own output at 9 temperatures and pressures, and the exhaust-gas balance on 3 cases, by SciPy 1.17.0 (2026-10-07). Draft until the independent bioprocess reviewer signs the equations, the presets and the fixtures (Q-19).
- What was not checked: not recorded for dissolved-oxygen-balance\@2.0.0. Its absence does not mean everything was checked.
- [Method, sources and checks](https://www.drybench.com/methods/m/dissolved-oxygen-balance)
- [On Drybench Bioreactor's methods page: Run](https://www.drybench.com/methods/bioreactor#run)

No independent scientist has yet reviewed these checks. [What the levels mean](https://www.drybench.com/methods/levels).

## Changes to its methods

- No correction is logged for bioreactor-batch-fit\@1.1.0.
- No correction is logged for unstructured-growth-model\@2.1.0.
- No correction is logged for modified-rosenbrock\@1.1.0.
- No correction is logged for dissolved-oxygen-balance\@2.0.0.

## Where it runs

The local MCP server serves this tool; the hosted MCP connection does not.

## Methods and checks

- [Drybench Bioreactor: methods and checks](https://www.drybench.com/methods/bioreactor)
- [Reference checks: Drybench Bioreactor](https://www.drybench.com/methods/bioreactor/checks)
- [What the levels mean](https://www.drybench.com/methods/levels)
- [Every assistant tool](https://www.drybench.com/methods/tools)
