Fitted capex benchmark

This page does the thing a benchmark must never ship. It tunes the capital cost catalogue until the whole-chain cases agree with their papers, and then reports exactly what that bought, what it cost on every case it was not tuned against, and whether the tuned prices are ones anyone quotes. The fitted values live in memory for the length of one run and are never written into the cost database. What comes out is not a better model - it is a measurement of how much of the whole-chain error a per-operation cost can reach at all.

The question this page answers

The whole-chain benchmark scores fifteen flowsheets against the totals their sources publish. The per-operation benchmark scores single machines against published equipment prices. Both leave one question open, and it is the one that decides whether the cost catalogue is worth working on: if the catalogue were free to move, how much closer could the plants get?

That question cannot be answered by arguing. It can only be answered by moving the catalogue and looking. So the fit below is deliberate and its result is deliberately not a proposal - a multiplier that came out of least squares against 4 published capital totals carries no provenance, and every other number in backend/data/unit_operation_costs.json carries a source. Dropping a fitted value in would break that contract silently, and would make the benchmark that scored it self-validating.

The fit targets one quantity: total capital investment on the whole-plant cases. DSP-only cases are excluded from the fit, because their published totals cover a fermentation section their flowsheets do not build - that gap is scope, not price, and fitting cost values to close it would make every other case pay for an error that is not in the catalogue. Those cases still appear below, as the cases the fit was not aimed at.

Where the capital actually is

Before fitting anything, where the money is. This is every capital line across the 9 whole-plant cases, and it sets the ceiling on what any per-operation change can do: fed batch bioreactor alone is 53.9% of the purchased equipment, and the top three lines are 74% between them.

It also sets a limit the fit cannot cross. Only 85% of purchased capital is priced off a base cost a multiplier can reach at all. Packed chromatography columns come off a shared bed-volume anchor, GMP support equipment is taken as a fraction of process equipment cost, and the wastewater plant is an OSBL correlation - none of them move when a catalogue entry does.

7.2x
spread in what the cases demand
27%
error the best fit removes
3 of 4
fitted anchors within 2x
4
anchors the fit moved away
3 of 12
fitted prices nobody quotes
Table (12 rows) - click to unfold
Unit operation Purchased capital, all whole-plant cases Share In cases
fed batch bioreactor 67,480,301 53.9% 6
centrifugation disc 13,213,383 10.6% 6
wastewater treatment 11,888,999 9.5% 6
crystallization 9,865,363 7.9% 3
thin film evaporator 7,002,488 5.6% 3
ultrafiltration 10k 4,129,653 3.3% 1
fluid bed dryer 2,414,137 1.9% 2
basket centrifuge 2,182,860 1.7% 2
rna reduction heat shock 1,936,126 1.5% 1
microfiltration 1,180,451 0.9% 1
liquid liquid extraction 1,082,215 0.9% 1
rotary dryer 587,843 0.5% 1

Three fits

The capital chain is exactly affine in purchased equipment - the committed run reproduces it to better than a hundredth of a percent - so the response of every case to a set of multipliers can be computed from two real harness runs, one at 0.70x and one at 1.30x the whole catalogue. Fits are done on that surrogate and the winner is then re-run for real, which is the run tabulated further down.

Baseline error across the 4 fitted anchors is 0.848 in log space.

Fit A, one global multiplier. The single best scaling of the entire catalogue is x0.718. It takes the error to 0.817 - an improvement of 4%. One number cannot do more than that.

Fit B, one multiplier per equipment class, ridge-regularised at 0.050 so a class is only moved when the data pays for it. Six free parameters against 4 equations takes the error to 0.615, an improvement of 27%.

Fit B is the scenario that was re-run for real. Read the multipliers, not the error: the fit wants classes moved in opposite directions by a factor of 6.8x - from x0.43 to x2.88 - and it pushes 3 of the 12 entries it touches outside the price range those entries themselves declare. A distillation column and an evaporator are neighbouring separation equipment bought from overlapping vendor lists; a model that needs one at a third of its anchor and the other at more than double it is not describing prices.

Table (6 rows) - click to unfold
Equipment class Fitted multiplier Entries Plausibility against the entry's own range
Solids handling and drying x2.875 4 crystallization: 400,000 → 1,150,020, ABOVE the declared range (120k - 800k depending on cooling capacity)
fluid_bed_drying: 500,000 → 1,437,525, ABOVE the declared range (150k - 800k)
Centrifuges x1.258 2 every entry stays inside its declared range
Membranes x1.110 3 every entry stays inside its declared range
Evaporators x1.000 1 every entry stays inside its declared range
Distillation and reactive columns x1.000 1 every entry stays inside its declared range
Bioreactors and seed trains x0.426 1 fed_batch_bioreactor: 1,065,000 → 453,285, BELOW the declared range (500k - 3M depending on scale)

What each case demands on its own

This is the table that settles the question. Each case is asked what single multiplier on the reachable catalogue would put it on its own paper, ignoring the others.

Of the ones a multiplier can satisfy at all, the demands run from x0.390 to x2.804 - a spread of 7.2x. There is no catalogue that satisfies them, because they point in opposite directions: the same equipment classes, at the same facility grade, are asked to be cheaper for one plant and dearer for another. (The full column below spans 280.4x, but its low end is the search bound rather than a solution - that case has no solution, which is the next paragraph.)

1 of them cannot be satisfied at any multiplier whatsoever. The floor column is that case's total capital investment if every reachable piece of equipment were free - the wastewater plant, the unreachable equipment, the working capital and the start-up cost that remain. Where that floor is already above the paper, no cost catalogue reaches it: butyric still stands at 2.41x its published capital with the equipment given away.

Table (4 rows) - click to unfold
Case TCI now Reachable Multiplier it needs alone Floor if equipment were free
butyric 3.53x 31% x0.010 2.41x unreachable at any multiplier
isobutanol 2.31x 97% x0.390 0.16x -
mycoprotein 0.93x 89% x1.096 0.18x -
succinic_stover 0.47x 74% x2.804 0.17x -

The fitted run, against every anchor

Fit B applied for real, every case re-run end to end. First the anchors the fit was aimed at - whole-plant total capital investment.

Table (4 rows) - click to unfold
Case and anchor Measure Scope Baseline Fitted Movement
butyric
tci usd
TCI whole plant 3.53x 3.17x closer 9%
isobutanol
tci usd
TCI whole plant 2.31x 1.27x closer 71%
mycoprotein
capital usd
TCI whole plant 0.93x 0.75x off parity
succinic_stover
tci usd
TCI whole plant 0.47x 0.67x closer 48%

On the target the fit works, and it works about as well as six free parameters against 4 equations should. Mean absolute log error falls from 0.733 to 0.521 and the count inside 2x goes from 1 to 3 of 4. That is a real improvement and it is the whole of what tuning capital costs can buy.

Note what it did not buy. Even at its own optimum, on the cases it was fitted to, the fit leaves capital ratios that still span both sides of the paper. The residual is not a tuning failure - the previous table showed it is a floor.

What the fit cost elsewhere

Now every anchor the fit was not aimed at: operating cost, cost of goods, minimum selling price, and the DSP-only cases. 18 anchors, and this is the bill.

The fit moves 4 of them away from their sources. Mean absolute log error across them barely moves, 1.076 to 1.003, and on the DSP-only cases it gets worse, 1.196 to 1.162.

The headline count is positive and small: across all 22 anchors the number inside 2x goes from 9 to 12. Read how it was bought. The fit brings 4 anchors inside 2x and breaks 1 that were already inside it - and the ones it breaks are the ones that were closest to their sources to begin with, including a case that sat at near-exact parity on capital before the fit touched it. Tuning to 4 capital totals is not an improvement paid for out of slack; it is a transfer.

Table (18 rows) - click to unfold
Case and anchor Measure Scope Baseline Fitted Movement
bdo
unit cost usd per kg
COGS dsp only 1.76x 1.79x further 3%
bdo
msp usd per kg
MSP dsp only 1.19x 1.22x further 14%
bdo
annual opex usd
OPEX dsp only 1.75x 1.78x further 3%
crude_enzyme
levelised usd per kg
COGS dsp only 0.07x 0.08x closer 2%
crude_enzyme
annual opex usd
OPEX dsp only 0.09x 0.10x closer 3%
crude_enzyme
tci usd
TCI dsp only 0.20x 0.24x closer 11%
isobutanol
unit cost usd per kg
COGS whole plant 2.82x 2.30x closer 20%
isobutanol
msp usd per kg
MSP whole plant 3.32x 2.46x closer 25%
isobutanol
annual opex usd
OPEX whole plant 1.77x 1.45x closer 35%
mab
dsp cost usd per kg
COGS dsp only 0.74x 0.74x closer 1%
mab
dsp opex usd
OPEX dsp only 0.74x 0.74x closer 1%
mab
tci usd
TCI dsp only 0.05x 0.05x closer 1%
mycoprotein
production cost usd per kg dry basis
COGS whole plant 0.52x 0.47x further 16%
plant_mab
cogs usd per kg
COGS dsp only 0.38x 0.39x closer 2%
plant_mab
dsp opex usd
OPEX dsp only 0.60x 0.62x closer 5%
plant_mab
tci usd
TCI dsp only 0.24x 0.26x closer 6%
succinic_stover
unit cost usd per kg
COGS whole plant 0.47x 0.54x closer 20%
succinic_stover
annual opex usd
OPEX whole plant 0.45x 0.53x closer 19%

Verdict

1. Per-operation capital cost is not where the whole-chain error lives. The single best global multiplier removes 4% of the error and six free class multipliers remove 27%. A model whose problem was its price list would not behave like that.

2. The cases contradict each other. The ones with a solution demand multipliers spanning 7.2x on the same equipment at the same grade. No catalogue satisfies them, so the residual after fitting is a floor and not a target.

3. Some gaps are closed to capital entirely. 1 case cannot reach its published capital even with every reachable machine free. Whatever that gap is - scope, the wastewater plant the paper takes a credit for, or the paper's own figure - it is not a price.

4. The fitted prices are not prices. 3 of 12 fitted entries land outside the vendor range recorded on the entry itself, and the fit pulls neighbouring separation equipment 6.8x apart. A catalogue that fits the benchmark stops describing the market.

5. What fitting buys is a transfer, not a gain. It improves the 4 anchors it targets and moves 4 others away, breaking 1 that were already inside 2x to bring 4 in. That is the whole return on abandoning provenance, and it is why the fitted values stay in memory.

The place to spend effort, on this evidence, is the comparison and the flowsheets rather than the price list: scope alignment on the DSP-only cases, the wastewater plant that most sources do not build, and per-equipment anchors independent enough to move a catalogue entry honestly - which is what benchmark2.html is for, and why it has so few rows.

Reproduce it

Four steps, all in the repository. The two calibration runs give the surrogate its response, the fit solves it, and the last run applies the winner end to end. Nothing here writes to the cost database.

cd backend && python ../TEA_refs/tools/run_fitted_benchmark.py --global 0.70 --tag g070
cd backend && python ../TEA_refs/tools/run_fitted_benchmark.py --global 1.30 --tag g130
cd backend && python ../TEA_refs/tools/fit_capex_scenario.py
cd backend && python ../TEA_refs/tools/run_fitted_benchmark.py --scenario ../TEA_refs/data/capex_fit_scenario.json --tag fitted
cd backend && python ../TEA_refs/tools/build_benchmark3_page.py

The fitted multipliers and the full fit report are TEA_refs/data/capex_fit_scenario.json and capex_fit_report.json. The unfitted benchmark this page is measured against is benchmark.html; the per-equipment evidence that can move a catalogue entry honestly is benchmark2.html.