LLM Framework Generates and Verifies Parallel DEVS Statecharts

Vamsi Krishna Vasa, Hessam S. Sarjoughian, Edward J. Yellig· August 18, 2026 View original

Key takeaways

  • PDEVS-LLM uses LLMs to generate and verify Parallel DEVS statecharts.
  • It employs a controlled-correction mechanism for logical consistency.
  • The framework improves statechart accuracy through iterative verification.
  • It streamlines complex model development and verification processes.

Who benefits

Software EngineeringAerospaceAutomotiveManufacturingDefense

Summary

This research introduces PDEVS-LLM, an agentic framework that uses large language models to assist human modelers in generating and verifying Parallel Discrete Event System Specification (PDEVS) statecharts, improving accuracy through controlled correction and logical consistency checks.

Developing accurate and verifiable models, particularly for complex system dynamics, requires both deep modeling expertise and domain-specific knowledge. This new research presents the PDEVS-LLM framework, an agentic system designed to aid human modelers in creating and validating Parallel Discrete Event System Specification (PDEVS) statecharts. The framework leverages large language models (LLMs) to generate plausible facts from a system description. A crucial component is a controlled-correction mechanism that verifies the logical consistency of these generated facts, as inconsistencies can lead to inaccurate statecharts. The LLM also generates key behavioral conditions, against which the plausible facts are checked using propositional logic. This iterative verification process allows for the generation of modification prompts, reducing errors and improving the accuracy of the resulting PDEVS statecharts. To further ensure correctness, the generated statecharts' Timed Automata counterparts are manually created and verified for properties like deadlock and reachability. The framework introduces a metric to quantify the completeness and accuracy of the statecharts' expected behavioral traits. Demonstrations with various system complexities highlight the LLMs' capabilities and limitations in this specialized modeling task.

Why it matters

This framework significantly streamlines the complex and error-prone process of model development and verification, enabling faster and more reliable creation of simulation models for critical systems.

How to implement this in your domain

  1. 1Explore integrating LLM-based code generation and verification tools into your software development lifecycle.
  2. 2Pilot the PDEVS-LLM framework or similar agentic LLM approaches for generating and validating system models in complex domains.
  3. 3Develop internal guidelines for leveraging LLMs to assist in formal specification and verification tasks.
  4. 4Train engineering teams on prompt engineering techniques for generating accurate and verifiable code or models using LLMs.

Original post by Vamsi Krishna Vasa, Hessam S. Sarjoughian, Edward J. Yellig

"arXiv:2608.14956v1 Announce Type: new Abstract: The development of models demands sound modeling and simulation knowledge as well as domain knowledge. Every model should accurately represent a system's dynamics and be verifiable. Toward this objective, this research introduces an…"

View on X

Originally posted by Vamsi Krishna Vasa, Hessam S. Sarjoughian, Edward J. Yellig on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses