RARE Labs
Engineering explained · AGENT

The model chooses.
The solver computes.

If you have heard that AI is coming for simulation software, this is what an agent driving a simulator actually does. Four steps, one of which is the same solver you have trusted for forty years. Then the sentence two of the biggest vendors both published this year, and a worked case you can move yourself.

RARE LABS

From lab chemistry to production.

We are building an autonomous scale-up system for chemistry using robotics and AI, starting with peptides and pharma.

About RARE Labs ↗

Join the RARE Labs waitlist ↗
01 The four steps 02 A tool, not a guess 03 Why the solver stays the source of truth 04 What the vendors said 05 Move the pressure yourself 06 From models to scale-up
01

The four steps.

Strip the word “AI” out of it and an agent driving a simulator is a loop with four stations. Nothing in it is mysterious, and exactly one of the four does any physics.

STEP 1 YOU say what you want STEP 2 THE AGENT picks a tool STEP 3 THE SOLVER does the math STEP 4 THE NUMBERS come back out a wrong choice is a wrong number, not an invented one
The forward path is the run. The green path is what makes it a loop rather than a script: the agent reads the numbers back and decides what to do next. The struck-out path is the one people are afraid of, and it is the one the architecture does not have.
1
You say what you want.In a sentence, in the units you think in. “Raise the stabiliser to 12 bar and tell me what that does to the reboiler duty.”
2
The agent picks a tool.Not a guess. A tool, out of a fixed set with typed arguments. Open the case, set this block’s pressure, run.
3
The simulator does the math.The same solver you already trust. Aspen Plus has been converging flowsheets since 1982; nothing about an agent changes the equations it solves.
4
The agent reads the numbers back.Out of the software, not out of its own head, and then decides whether it is finished.
02

A tool, not a guess.

This is the part that does the work, and it is duller than the word “agent” suggests. The model does not emit an answer. It emits a call, against a list of things it is allowed to do, with arguments that have to typecheck:

InitFromArchive2(path)
Tree.FindNode(node).Value = value
Engine.Run2()
Tree.FindNode(node).Value Those are Aspen Plus’s own COM automation calls, the same interface Python and VBA scripts have driven for twenty years. An agent does not need to do anything to your flowsheet that a macro could not. It is deciding which macro to write, and then reading what came back. The node is a path in \Data\Blocks, which is where Aspen keeps every block’s inputs and results.

So the three calls that sentence turns into are just:

InitFromArchive2("stabiliser.bkp")
FindNode(colPressure).Value = 12
Engine.Run2()
03

Why the solver stays the source of truth.

The fear is that a language model will invent a number. It cannot, in this shape, because it is never the thing producing the number. Step 3 is a rigorous, deterministic, physics-based solve, and step 4 reads a variable out of it. What the model can get wrong is the choice: the wrong block, the wrong spec, the wrong property method.

A wrong choice gives you a wrong number, not an invented one. That is a real difference and it is the whole reason this architecture is worth having: a wrong number is reproducible, inspectable and arguable. You can open the case and see the spec it set. An invented number is none of those things.

It is also why the human stays in it. The literature agrees: every actual computation stays in the deterministic solver, and human oversight remains essential (Liang, Groll & Sin, DTU, 2026).

FEED stage 6 of 17 CONDENSER cooling water REFLUX DRUM reflux DISTILLATE REBOILER steam BOTTOMS 12 bar set by the agent ASPEN PLUS since 1982 SOLVER iteration 14 residual 3e-09 1e0 1e-6 converged in 14 iterations
Step 3, drawn. Nine trays, a weir and a downcomer on each, vapour up through the perforations and liquid down the other side; a condenser with reflux returning and a kettle reboiler boiling. The panel underneath is what “does the math” means in practice: fourteen iterations and a residual walked down six decades.
04

What the vendors said.

This is not a startup’s idea of the future. In November 2025 MathWorks shipped an MCP server for MATLAB. In September 2026 COMSOL announced one for Multiphysics 2027, and described it like this:

An agent can build and/or modify a model, run simulations, inspect results, and use those results to decide what to do next. COMSOL, Burlington MA, 16 September 2026. press release

Read it against the four steps above. Build a model is step 2. Run simulations is step 3. Inspect results is step 4. Use those results to decide what to do next is the return path. It is the same loop, described by a vendor who has been solving PDEs since 1986.

MCP, the protocol underneath most of this, is barely two years old (Anthropic, November 2024; MathWorks MATLAB MCP Server). The direction is not in doubt any more. What is still open is who does it for process simulation, and how well.

05

Move the pressure yourself.

Here is the case from the video, solved in your browser: a condensate stabiliser separating n-butane overhead from n-pentane in the bottoms, 98% recovery of the light key and 97% of the heavy, at 1.3 times minimum reflux. Fenske, Underwood and Gilliland, which is what Aspen’s DSTWU block runs. Drag the pressure and watch what it costs you.

relative volatility···
reflux ratio···
theoretical stages···
reboiler duty···

At 8 bar the two keys are 2.95 apart and the reboiler wants 0.50 MW. At 12 bar they are 2.82 apart and it wants 0.52 MW which is 4.4% more heat for the same separation, because pressure pushes boiling points together and you buy back the lost volatility with reflux. That is the answer the agent came back with, and every digit of it came out of the solver.

 8 bar12 bar
Relative volatility, geometric mean2.952.82
Minimum reflux, Underwood0.850.94
Reflux ratio at 1.3 × Rmin1.101.22
Theoretical stages, Gilliland1617
Condenser temperature65 °C83 °C
Reboiler temperature141 °C163 °C
Reboiler duty0.50 MW0.52 MW

Vapour pressures from Antoine, latent heat from the Clausius Clapeyron slope of the same Antoine fit, so the two cannot disagree. A shortcut method, deliberately: the point is the direction and the size, and a rigorous RadFrac on your own feed is the thing you should run next.

06

From models to scale-up.

The example above shows how an agent can work through a simulator adapter while keeping calculations and verification in the engineering tools.

RARE LABS

From lab chemistry to production.

We are building an autonomous scale-up system for chemistry using robotics and AI, starting with peptides and pharma.

About RARE Labs ↗

Join the RARE Labs waitlist ↗