Text-to-Flowsheet: An LLM-Assisted Pipeline for Expert-Level Digitization and Automated Simulation of Chemical Processes

Abstract

Converting unstructured natural language descriptions into structured process flowsheets is a fundamental bottleneck in chemical engineering, traditionally requiring years of expert training. While large language models (LLMs) show promise in text comprehension, their ability to match human expertise in modeling complex chemical process flowsheets remains unproven. Here, we present a rigorous benchmark comparing a fully automated LLM-powered digitization pipeline against the collective performance of 50 chemical engineering experts. Our pipeline leverages LLMs to extract process structures from text and formalize them as flowsheet graphs. To handle the inherent ambiguities of natural language, we utilize constrained, step-by-step prompting augmented with thermodynamic property calculations. Subsequently, the digitized flowsheet graphs are automatically translated into the flowsheeting software Aspen Plus to compute rigorous mass and energy balances. Black-box optimization on subprocess structures is used to estimate unknown parameters and ensure simulation convergence, completing the pipeline from text to converged process simulation. For the first time, we demonstrate that an automated pipeline can achieve expert-level accuracy in process topology digitization. Using a unique, newly-generated dataset of 101 expert-drawn flowsheets, we show that our LLM-assisted approach faithfully captures process topology and operating conditions even in the face of incomplete information. This work provides a robust, validated framework for the large-scale digitization of chemical production literature, contributing a transformative tool and dataset for the community to accelerate automated process design and assessment.

Supplementary files

Transparent peer review

To support increased transparency, we offer authors the option to publish the peer review history alongside their article.

View this article’s peer review history

Article information

Article type
Paper
Submitted
04 Feb 2026
Accepted
25 May 2026
First published
25 May 2026
This article is Open Access
Creative Commons BY-NC license

Digital Discovery, 2026, Accepted Manuscript

Text-to-Flowsheet: An LLM-Assisted Pipeline for Expert-Level Digitization and Automated Simulation of Chemical Processes

J. Laub, L. Bosetti and A. Bardow, Digital Discovery, 2026, Accepted Manuscript , DOI: 10.1039/D6DD00060F

This article is licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported Licence. You can use material from this article in other publications, without requesting further permission from the RSC, provided that the correct acknowledgement is given and it is not used for commercial purposes.

To request permission to reproduce material from this article in a commercial publication, please go to the Copyright Clearance Center request page.

If you are an author contributing to an RSC publication, you do not need to request permission provided correct acknowledgement is given.

If you are the author of this article, you do not need to request permission to reproduce figures and diagrams provided correct acknowledgement is given. If you want to reproduce the whole article in a third-party commercial publication (excluding your thesis/dissertation for which permission is not required) please go to the Copyright Clearance Center request page.

Read more about how to correctly acknowledge RSC content.

Social activity

Spotlight

Advertisements