GenAI for Simulation Model in Model-Based Systems Engineering
Lin Zhang, Yuteng Zhang, Dusit Niyato, Lei Ren, Pengfei Gu, Zhen Chen, Yuanjun Laili, Wentong Cai, Agostino Bruzzone
TL;DR
This work presents a GenAI-driven framework for MBSE that automatically generates simulation models of system physical properties from product design documents by aligning DEVS-based modeling with an X language and scalable templates. It combines NER-BERT-based information extraction to identify system composition, Transformer-based code generation (with LoRA fine-tuning on CodeQwen) for atomic-class behavior, and modular template-driven assembly to produce consistent, long-context code. A tailored evaluation scheme using Degree of Error and Model Consistency, weighted by entropy, provides quantitative quality assessments beyond traditional code-accuracy metrics. The aircraft electrical system case demonstrates improved model quality and integration of GenAI into MBSE workflows, while highlighting limitations related to prior knowledge bias and the need for richer datasets and lifecycle coverage.
Abstract
Generative AI (GenAI) has demonstrated remarkable capabilities in code generation, and its integration into complex product modeling and simulation code generation can significantly enhance the efficiency of the system design phase in Model-Based Systems Engineering (MBSE). In this study, we introduce a generative system design methodology framework for MBSE, offering a practical approach for the intelligent generation of simulation models for system physical properties. First, we employ inference techniques, generative models, and integrated modeling and simulation languages to construct simulation models for system physical properties based on product design documents. Subsequently, we fine-tune the language model used for simulation model generation on an existing library of simulation models and additional datasets generated through generative modeling. Finally, we introduce evaluation metrics for the generated simulation models for system physical properties. Our proposed approach to simulation model generation presents the innovative concept of scalable templates for simulation models. Using these templates, GenAI generates simulation models for system physical properties through code completion. The experimental results demonstrate that, for mainstream open-source Transformer-based models, the quality of the simulation model is significantly improved using the simulation model generation method proposed in this paper.
