We provide EU funding and world-class technical support to engineering and technology businesses.

Find out more about who we are and what we do

Stay in Touch

EventBrite logo Twitter logo RSS logo Linked In  logo Email us

Join our mailing list

Join our mailing list to receive notification of CPSE Labs events and upcoming calls

Smart Anything Everywhere

Cyber-Physical Systems Engineering Labs is part of the Smart Anything Everywhere initiative.

This project has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreement No 644400.

AIDE - Support tools for data integration in the engineering of CPS tool-chains

This platform addresses innovative approaches for creating tailored tool-chains for the engineering of Cyber-Physical Systems, in particular targeting data integration based on open standards (OSLC) and open source software for code generation.

The overall objective is to lower the threshold for creating data integration among software tools, thereby improving a number of end-user processes, in turn with potential for improvements in time to market, more effective use of resources and product quality. This will be accomplished by advancing the current state of the data integration technology by a suitable combination of

  1. adding functionalities to support new use cases,
  2. lowering the barriers to adoption of the technology, and
  3. by improving the performance of the existing technology.

OSLC Lyo Code Generator

One particular product of this platform is the OSLC Lyo Code Generator that supports developers with the implementation, integration, and testing of integration assets so that they can generate easily tool adaptors compliant with the OSLC standard. The Generator is a model-based code generator that automatically generates an OSLC-compliant tool adaptor based on an EMF model of the data and services expected to be provided by a specific tool.

The code generator is designed to produce standalone OSLC4J-compliant Java code that - once produced - can be used without a dependency to the code generator. Moreover, it is possible to modify the adaptor model and re-generate its code, without any loss of code manually introduced into the adaptor. Besides the code generator software, the following assets are also included:

  • An Ecore meta-model of an OSLC domain specification - this meta-model is at the core of the code generator. Moreover, it is envisaged that modelling domain specifications before their implementation can have a much broader usability such as performing different analysis, etc.
  • A set of standard OSLC domain specification models - instances of the Ecore meta-model for the Core, Change Management and Requirement Management OSLC specifications are already developed. This means that users of the code generators can compose and/or reuse their own specific models based on these standard OSLC models.

Case Studies

The generator has been used and validated by a range of industrial partners. Moreover, since its release, close collaboration with external partners (Volvo, OFFIS, Thales) have been established. These partners are both using as well as extending the generator, in coordination with KTH.

Futher reading

The code generator is released as part of the Lyo open-source project. It is based on Acceleo which implements the OMG MOF Model-to-Text Language (MTL) standard.

A full description of its functionality and usage can be found on the Lyo Wiki. The instructions guides the user through the whole set of steps from setting-up the Eclipse environment, to creating an initial Eclipse project, to generating the code and running the adaptor.

You can also watch an OSLC4J Code Generator presentation & demo given by Jad El-Khoury of KTH:

View original clip here.

Design centre

This platform is supported by our Sweden design centre.