SimuGen: Multi-modal Agentic Framework for Constructing Block Diagram-Based Simulation Models

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Ren, Xinxing, Zang, Qianbo, Guo, Zekun
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909759348670464
author Ren, Xinxing
Zang, Qianbo
Guo, Zekun
author_facet Ren, Xinxing
Zang, Qianbo
Guo, Zekun
contents Recent advances in large language models (LLMs) have shown impressive performance in mathematical reasoning and code generation. However, LLMs still struggle in the simulation domain, particularly in generating Simulink models, which are essential tools in engineering and scientific research. Our preliminary experiments indicate that LLM agents often fail to produce reliable and complete Simulink simulation code from text-only inputs, likely due to the lack of Simulink-specific data in their pretraining. To address this challenge, we propose SimuGen, a multimodal agent-based framework that automatically generates accurate Simulink simulation code by leveraging both the visual Simulink diagram and domain knowledge. SimuGen coordinates several specialized agents, including an investigator, unit test reviewer, code generator, executor, debug locator, and report writer, supported by a domain-specific knowledge base. This collaborative and modular design enables interpretable, robust, and reproducible Simulink simulation generation. Our source code is publicly available at https://github.com/renxinxing123/SimuGen_beta.
format Preprint
id arxiv_https___arxiv_org_abs_2506_15695
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle SimuGen: Multi-modal Agentic Framework for Constructing Block Diagram-Based Simulation Models
Ren, Xinxing
Zang, Qianbo
Guo, Zekun
Machine Learning
Recent advances in large language models (LLMs) have shown impressive performance in mathematical reasoning and code generation. However, LLMs still struggle in the simulation domain, particularly in generating Simulink models, which are essential tools in engineering and scientific research. Our preliminary experiments indicate that LLM agents often fail to produce reliable and complete Simulink simulation code from text-only inputs, likely due to the lack of Simulink-specific data in their pretraining. To address this challenge, we propose SimuGen, a multimodal agent-based framework that automatically generates accurate Simulink simulation code by leveraging both the visual Simulink diagram and domain knowledge. SimuGen coordinates several specialized agents, including an investigator, unit test reviewer, code generator, executor, debug locator, and report writer, supported by a domain-specific knowledge base. This collaborative and modular design enables interpretable, robust, and reproducible Simulink simulation generation. Our source code is publicly available at https://github.com/renxinxing123/SimuGen_beta.
title SimuGen: Multi-modal Agentic Framework for Constructing Block Diagram-Based Simulation Models
topic Machine Learning
url https://arxiv.org/abs/2506.15695