AutoSAM: an Agentic Framework for Automating Input File Generation for the SAM Code with Multi-Modal Retrieval-Augmented Generation
Zaid Abulawi (1, 2), Zavier Ndum Ndum (1, 2), Eric Cervi (2), Rui Hu (2), Yang Liu (1) ((1) Department of Nuclear Engineering, Texas A&M University, (2) Nuclear Science, Engineering Division, Argonne National Laboratory)

TL;DR
AutoSAM is an innovative agentic framework that automates the generation of input files for the SAM code by integrating large language models with multimodal retrieval techniques, significantly streamlining reactor system modeling.
Contribution
The paper introduces AutoSAM, a novel multimodal, retrieval-augmented agentic system that automates and validates input file creation for thermal-hydraulics codes from heterogeneous engineering documents.
Findings
Achieved 100% utilization of structured inputs
Extracted 88% of relevant information from PDFs
Attained 100% geometric extraction completeness
Abstract
In the design and safety analysis of advanced reactor systems, constructing input files for system-level thermal-hydraulics codes such as the System Analysis Module (SAM) remains a labor-intensive task. Analysts must extract and reconcile design data from heterogeneous engineering documents and manually translate it into solver-specific syntax. In this paper, we present AutoSAM, an agentic framework that automates SAM input file generation. The framework combines a large language model agent with retrieval-augmented generation over the solver's user guide and theory manual, together with specialized tools for analyzing PDFs, images, spreadsheets, and text files. AutoSAM ingests unstructured engineering documents, including system diagrams, design reports, and data tables, extracts simulation-relevant parameters into a human-auditable intermediate representation, and synthesizes…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMachine Learning in Materials Science · Topic Modeling · Multi-Agent Systems and Negotiation
