Manuscript Offprint

arXiv:2609.10132

Context operations to architecture modelling output from large language models and evaluation criteria for their use in systems engineering design

Vinicius Kaster Marini, Petter Krus

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

A PREPRINT

Vinicius Kaster Marini*

Department of Mechanical Engineering

Centre of Technology

Federal University of Santa Maria

Santa Maria/RS, BR 97105-900, Brazil

vinicius.marini@ufsm.br

Petter Krus

Section for Fluid Power and Mechatronics

Department of Management and Engineering

Linköping University

SE 581 83, Linköping, Sweden

petter.krus@liu.se

September 10, 2026

ABSTRACT

The development of generative artificial intelligence resources enables opportunities of speeding up systems and engineering design work. This contribution introduces a framework of formal operations for assembling context in LLM-based engineering design. This framework involves the assembly of modular context units, including policy prompts, reference units with persistence, and user questions with prompt vectoring. This approach enables the systematic structuring of interactions with generative models. A formal method for evaluating modelling-as-code LLM outputs is also presented, which enables the evaluation of compliance to intent from LLM answers and thereby assesses the support from LLMs for systems architecture modelling.

Keywords Large language models · Systems engineering · Context operations · Prompt engineering · Generative AI

1 Introduction

The complexity of automation in mobility systems draws to human-machine interfaces in operations as a matter of concern for systems engineering (Cummings [2004]). The implementation of artificial intelligence (AI) to augment control in novel vehicles has implications that extend back to the design process. The realization of gains from AI-enabled and connected smart devices entails added complexity and intricacy in the development of system designs as multi-domain system stacks (Törngren and Grogan [2018], Grogan [2021]).

This contribution aims to demonstrate that human-machine collaboration through the system design process can be designed in a way that leverages generative artificial intelligence (GenAI) capabilities. Among many approaches of AI, tools with these capabilities make use of large language models (LLMs) (Brown et al. [2020], Vaswani et al. [2017]), which are pre-trained over a very large corpus of data over the internet to yield conversational abilities in answering questions. These tools have attracted the attention of system and design engineers (Krus [2024], Johns et al. [2024]) for the potential support to early design, a context where other design automation techniques – including those based on machine learning as well as LLMs – fell short.

However, their use in engineering and design is subject to challenges regarding their probabilistic approach to content (Teubner et al. [2023]). While synthesis of assurance arguments makes a potential use case for LLMs upon the amount of paperwork involved, a research report by NASA analyses early explorations with LLMs and highlights their lack of matter-of-factness (Graydon and Lehman [2025]). Hence, the use of LLM-based tools in engineering and design requires careful review of the LLM outcomes towards design work products (Pradas-Gomez et al. [2024]).

*Adjunct professor at the Department of Mechanical Engineering, Centre of Technology, Federal University of Santa Maria, Brazil. You are welcome to contact me through the email above, or you can look for my profiles in LinkedIn and ResearchGate.

A PREPRINT

Then, how to improve the accuracy of GenAI to design intent towards system architecture modelling?

This contribution introduces the theme of LLMs in systems design and engineering within the use case of system architecture modelling, with developing from awareness to the state-of-the-art in LLMs (Marini et al. [2025]) towards the systematization of context input for that purpose. Related work involves the following use cases: assistance to systems modelling; assistance in system tools; example&rule assistance; complementary knowledge; assisted safety-driven methods; assisted reliability&safety methods; exploration of dependencies; and HMI for design assistance.

Assistance to systems modelling#: Explorations on using LLMs with systems models demonstrate the early use of developing language models along system modelling frameworks. Cámara et al. [2023] experiment with prompting at the language models with focus on a single system modelling task, supported by model templates intended to provide exemplars. The integration of modelling frameworks through exemplars helps at extracting useful information to proceed with a significant part of model-building.

Assistance in system tools#: LLMs with chatbox tools can work within model-based systems engineering (MBSE) environments such as reported by DeHart [2024] and Johns et al. [2024], where the use of LLMs benefits from capturing the modelling framework in the MBSE environment and thereby enables the generation of system models from concept to architecture. This is also the focus in Timperley et al. [2025], who enable prompting at coding frameworks interface between the LLM tool and the modelling environment. Here, they add a design element ontology which enables their solution to provide significant support over the synthesis of design specifications.

Example&rule assistance#: Krus [2024] explores the use of LLMs within aircraft concept design with support of structured templates and domain-specific rules to generate system configurations onto prompting the LLM to compose and generate system models with considering these inputs. This approach evolves from early contributions by using a preliminary domain question refined to a systematic prompt with topic structure, aiming to convey design intent and composition rules on objects and their mutual relations in the intended model.

Complementary knowledge#: Balu et al. [2025] prompt LLMs to generate safety requirements; as they recognize the limitations by LLMs within their own pre-training, they elicit the aid of databases for the language model. They sample LLM responses at safety-focused prompts and figure the performance of agent-based RAG to generate better accurate responses against design intent. This is also the case with Hanke et al. [2025], who make use of RAG database support towards parsing unstructured content in design repositories towards structured content that can be leveraged onto system models.

Safety-driven methods#: The potential of LLMs on the generative synthesis of design information has not gone unnoticed by the safety and reliability community. Nouri et al. [2024] make use of LLMs to generate safety requirements for automotive applications, with proposing a pipeline of prompts designed to automate a hazard analysis and risk assessment (HARA) procedure. Another approach is proposed by El Hassani et al. [2024, 2025], who focus the processing of relationships in failure modes and effects analysis (FMEA) process with support from product-related data, through crafted prompts, RAG and model fine-tuning.

Assistance to reliability Qi et al. [2025] make use of LLMs in an elaborate approach to performing systems-theoretical process analysis (STPA) by experimenting with prompt compositions and communication patterns between engineers and LLMs with different degrees of automation including stepwise review. The use of meta-structures to be supported by LLMs, is a characteristic in the application by Chen et al. [2025], where trustworthiness derivation trees (TDT) convey hierarchical dependencies between safety claims – generated by LLMs and curated of purpose-designed user interface – help the synthesis of assurance cases.

Exploration of dependencies#: Other approach for using LLMs in systems design and engineering is the exploration of dependencies within process models. Lipizzi [2025] looks to capture dependencies between information concepts through the synthesis of triplets and their vectoring to explore the design space and synthesize it into sentence-based network graphs. Another way to look at information dependencies examines the use of LLMs to generating design structure matrices (DSMs) representing the design space through connections between design objects (Koh [2025]).

HMI for design assistance#: Counter to the perception that the designer is to be automated out of the process, Marini et al. [2025] used concept maps to be parsed/splitted to enable sequenced prompt chains on mission design information for aircraft design. Krus [2025] explores ways of working with LLMs in different modes of operation: firstly, the direct generation of models from prompting; then, aircraft architecture models generated through on-the-fly generated application code that instantiated LLM-generated modules; then, through the embedding of LLM API calls in systems design applications.

These use case propositions demonstrate the diversity of situations where LLM-supported GenAI tools could help systems design. At the same time, this contribution aims to further develop knowledge and practice on their use by providing an formal structured approach to LLM operation, and an example on how it works.

A PREPRINT

References (39)