Model-driven realization of IDTA submodel specifications: The good, the bad, the incompatible?

Holger Eichelberger,Alexander Weber
2024-06-21
Abstract:Asset Administration Shells are trending in Industry 4.0. In February 2024, the Industrial Digital Twin Association announced 84 and released 18 AAS submodel specifications. As an enabler on programming level, dedicated APIs are needed, for which, at this level of scale, automated creation is desirable. In this paper, we present a model-driven approach, which transforms extracted information from IDTA specifications into an intermediary meta-model and, from there, generates API code and tests. We show we can process all current IDTA specifications successfully leading in total to more than 50000 lines of code. However, syntactical variations and issues in the specifications impose obstacles that require human intervention or AI support. We also discuss experiences that we made and lessons learned.
Software Engineering
What problem does this paper attempt to address?
### What problems does this paper attempt to solve? This paper aims to solve the following problems: 1. **Feasibility of Automatically Implementing IDTA Sub - model Specifications**: - Research whether a method based on model - driven engineering (MDE) can be created to automatically process and generate API code that complies with IDTA sub - model specifications (IDTA - specs). - Explore whether the existing IDTA - specs can be directly used as the basis for automatic implementation or whether human intervention or AI support is required. 2. **Degree of Automatically Processing Existing IDTA - specs**: - Determine how much of the currently available IDTA - specs can be processed by automated methods and to what extent. This includes evaluating the performance of specification files in different formats (such as PDF and AASX) in automated processing. 3. **Identify Problems and Improvement Suggestions in the Automation Process**: - Analyze the problems encountered in the automation process, such as syntactic changes and information inconsistency, and propose improvement measures to enhance the effectiveness of automated processing. 4. **Verify the Generated API Code**: - Verify through unit tests whether the automatically generated API code meets the specification requirements and ensure its correctness and reliability. ### Main Contributions of the Paper - Proposed a method based on model - driven engineering to convert the information extracted from IDTA - specs into an intermediate meta - model, and then generate API code and test code. - Evaluated 18 published IDTA - specs and one sub - model specification draft, and successfully generated more than 50,000 lines of code. - Verified through experiments that specification files in PDF format contain more consistent and relevant information than machine - readable AASX files and are more suitable for automated processing. - Proposed the possibility of using AI technology in practical applications to improve tolerance to unexpected syntactic changes. ### Method Overview 1. **Parse IDTA - specs**: Parse the specification content from PDF or AASX files. 2. **Information Conversion**: Convert the extracted information into an intermediate meta - model more suitable for code generation. 3. **Code Generation**: Generate API code and related test code according to the intermediate meta - model. Through these steps, the author shows how to achieve automated processing of a large number of IDTA - specs on the Industry 4.0 platform, thereby improving development efficiency and reducing the workload of manual coding.