Table of Contents
Fetching ...

From Digital Twins to Digital Twin Prototypes: Concepts, Formalization, and Applications

Alexander Barbie, Wilhelm Hasselbring

TL;DR

This work tackles the lack of a consensual Digital Twin definition by providing a formal Object-Z specification framework that unifies Physical Twin, Digital Model, Digital Template, Digital Thread, Digital Shadow, Digital Twin, and Digital Twin Prototype. It introduces a three-layer formalization approach (informal, UML-like semi-formal, Object-Z) and demonstrates how continuous twinning supports agile, CI/CD-enabled verification of embedded CPS, including emulated hardware in a Digital Twin Prototype. The authors provide detailed Object-Z schemas for each component, outline how MAPE-K maps to digital thread and twin architectures, and illustrate practical applications through ocean-observation and smart-farming field studies with open-source replication. The results show that digital twins, especially via DTP and emulation, can reduce hardware costs, accelerate development, and enable automated integration testing while preserving fidelity across life-cycle stages. Overall, the paper advances a rigorous, reproducible foundation for Digital Twins in Industry 4.0 and highlights avenues for broader adoption and extension in embedded systems engineering.

Abstract

The transformation to Industry 4.0 also transforms the processes of how we develop intelligent manufacturing production systems. To advance the software development of these new (embedded) software systems, digital twins may be employed. However, there is no consensual definition of what a digital twin is. In this paper, we give an overview of the current state of the digital twin concept and formalize the digital twin concept using the Object-Z notation. This formalization includes the concepts of physical twins, digital models, digital templates, digital threads, digital shadows, digital twins, and digital twin prototypes. The relationships between all these concepts are visualized as UML class diagrams. Our digital twin prototype (DTP) approach supports engineers during the development and automated testing of complex embedded software systems. This approach enable engineers to test embedded software systems in a virtual context, without the need of a connection to a physical object. In continuous integration / continuous deployment pipelines such digital twin prototypes can be used for automated integration testing and, thus, allow for an agile verification and validation process. In this paper, we demonstrate and report on how to apply and implement a digital twin by the example of two real-world field studies (ocean observation systems and smart farming). For independent replication and extension of our approach by other researchers, we provide a lab study published open source on GitHub.

From Digital Twins to Digital Twin Prototypes: Concepts, Formalization, and Applications

TL;DR

This work tackles the lack of a consensual Digital Twin definition by providing a formal Object-Z specification framework that unifies Physical Twin, Digital Model, Digital Template, Digital Thread, Digital Shadow, Digital Twin, and Digital Twin Prototype. It introduces a three-layer formalization approach (informal, UML-like semi-formal, Object-Z) and demonstrates how continuous twinning supports agile, CI/CD-enabled verification of embedded CPS, including emulated hardware in a Digital Twin Prototype. The authors provide detailed Object-Z schemas for each component, outline how MAPE-K maps to digital thread and twin architectures, and illustrate practical applications through ocean-observation and smart-farming field studies with open-source replication. The results show that digital twins, especially via DTP and emulation, can reduce hardware costs, accelerate development, and enable automated integration testing while preserving fidelity across life-cycle stages. Overall, the paper advances a rigorous, reproducible foundation for Digital Twins in Industry 4.0 and highlights avenues for broader adoption and extension in embedded systems engineering.

Abstract

The transformation to Industry 4.0 also transforms the processes of how we develop intelligent manufacturing production systems. To advance the software development of these new (embedded) software systems, digital twins may be employed. However, there is no consensual definition of what a digital twin is. In this paper, we give an overview of the current state of the digital twin concept and formalize the digital twin concept using the Object-Z notation. This formalization includes the concepts of physical twins, digital models, digital templates, digital threads, digital shadows, digital twins, and digital twin prototypes. The relationships between all these concepts are visualized as UML class diagrams. Our digital twin prototype (DTP) approach supports engineers during the development and automated testing of complex embedded software systems. This approach enable engineers to test embedded software systems in a virtual context, without the need of a connection to a physical object. In continuous integration / continuous deployment pipelines such digital twin prototypes can be used for automated integration testing and, thus, allow for an agile verification and validation process. In this paper, we demonstrate and report on how to apply and implement a digital twin by the example of two real-world field studies (ocean observation systems and smart farming). For independent replication and extension of our approach by other researchers, we provide a lab study published open source on GitHub.
Paper Structure (27 sections, 1 equation, 20 figures)

This paper contains 27 sections, 1 equation, 20 figures.

Figures (20)

  • Figure 1: A Digital Twin by dtdef-grieves consists of the real space (left side), the virtual space (right side), and the link for data flow from real space to virtual space. The opposite direction is done manually by using information to enhance processes (Source: dtdef-grieves).
  • Figure 2: Subcategories of digital twins by their level of integration with the physical twins (Source: dtdef-kritzinger).
  • Figure 3: Semi-formal description of the relationships between physical twin, digital twin, their connections, and environments as described by Yue2021.
  • Figure 4: The deployment diagram of an embedded system comprising a sensor, a data transmitter and the embedded control system both are connected to. The sensor is connected via RS232 and the transmitter via transmitter via Ethernet.
  • Figure 5: UML class diagram of a physical twin.
  • ...and 15 more figures

Theorems & Definitions (12)

  • Definition 1: Digital twin by dtdef-grieves (2016)
  • Definition 2: Digital twin by dtdef-nasa (NASA) (2012)
  • Definition 3: Digital twin by NASA dtdef-garetti (2012)
  • Definition 4: Digital twin by dtdef-trauer (2020)
  • Definition 5: Digital twin by dtdef-iso23247 (2021)
  • Definition 6: Physical Twin
  • Definition 7: Digital Model
  • Definition 8: Digital Template
  • Definition 9: Digital Thread
  • Definition 10: Digital Shadow
  • ...and 2 more