arXiv:2609.11122cs.SESep 2026

Manuscript Offprint

arXiv:2609.11122

A Model-Centric DevOps Architecture for DEVS-Based Digital Twin Simulation Services

Arnis Lektauers, Gusts Linkevičs, Guntis Mosāns, Arina Fokina, Rasa Gulbe

Abstract

Digital twin simulation models are evolved and redeployed like software, yet DEVS-based engines offer a sound formal basis with little support for versioning, automated validation, or continuous delivery in cloud-native environments, leaving model lifecycle management ad hoc in most deployments. This paper proposes a model-centric DevOps architecture for deploying DEVS-based digital twin simulations as managed services. Simulation models are treated as first-class DevOps artefacts defined in a declarative YAML language with a formal mapping to multiPDEVS, supporting structural and semantic validation in a CI/CD pipeline that produces immutable versioned artefacts, so that reverting to an earlier validated version reduces to pinning its identifier. The platform is decomposed into containerised microservices on Kubernetes, with engine adaptations for state externalisation and lifecycle control. An initial case study on the Riga Route 22 public-transit corridor, the first instantiation of a planned city-wide multi-modal transport digital twin for Riga, Latvia, exercises the full lifecycle and reports single-container engine throughput for a scenario with roughly 47,870 DEVS atomic components; pipeline-level catch statistics and cluster-level concurrent multi-scenario execution are the subject of companion empirical studies.

Keywords: digital twin, DEVS, model-driven engineering, domain-specific modelling language, cloud-native architecture, DevOps, CI/CD, simulation model lifecycle

1 Introduction

Digital twins are now used across engineering domains for continuous monitoring, prediction, and optimisation of physical systems through their virtual counterparts [1, 2]. Most implementations rely on dynamic simulation to let the virtual model reproduce and predict system behaviour under varying conditions. Among formal frameworks, the Discrete Event System Specification (DEVS) [3] offers a systems-theoretic basis for modelling such systems.

DevOps practices, on the other hand, have reshaped software delivery through continuous integration and deployment (CI/CD) pipelines [4], yet their application to simulation model lifecycle management remains largely unexplored. Simulation models evolve iteratively like software, but lack the standardised mechanisms for automated validation, versioned deployment, and rollback that DevOps pipelines provide elsewhere.

Many digital twin implementations are still built ad hoc [5], and most DEVS engines (surveyed in Section 2) were built for desktop or cluster execution with persistent processes, direct file system access, and manual configuration. These assumptions clash with cloud-native deployment, where containers are ephemeral, scaling is horizontal, and infrastructure is declared as code.

This paper presents a model-centric DevOps architecture for deploying DEVS-based digital twin simulations as managed services. The contributions are:

  1. A declarative YAML-based Simulation Model Definition Language (SMDL) for DEVS simulation models with a formal mapping to the multiPDEVS formalism [6], and a companion Simulation Scenario Definition Language (SSDL) for scenario parameterisation, enabling version control, automated validation, and CI/CD integration (Section 3).

  2. A microservices-based cloud-native architecture with engine adaptations for state externalisation and lifecycle control, letting a classical DEVS simulator operate as a cloud-native workload while keeping model management, execution, and data integration independently deployable (Sections 4 and 5).

  3. A CI/CD pipeline for simulation models with structural and semantic validation, staged deployment, and immutable versioned artefacts that support reverting by pinning an earlier validated version (Section 5).

  4. An initial case study on the Riga Route 22 bus corridor, the first instantiation of a planned city-wide multi-modal transport digital twin for Riga, Latvia, that exercises the end-to-end lifecycle, quantifies single-container engine throughput, and demonstrates configuration-only evolution of a multi-modal scenario without engine-code changes (Section 6).

Section 7 then maps each contribution to the evidence that supports it and to the companion studies that will extend it. The work extends our prior research on DEVS-based simulation engines for digital twins [7] by addressing the operational lifecycle challenges of running such engines in production cloud environments.

References (42)