MDD4CPS – Model-Driven Dev Tool for Cyber-Physical Systems
Moving a cyber-physical model from an abstract CIM to a platform still had to be done by hand. I built a web tool that applies rules from CIM to PIM, and from PIM toward PSM for Arduino and MQTT. Generating the final code stays manual. The stack is a Flask backend, packaged with Docker.
CIM to PIM Transformation:Upload an iStar XML model and convert it into a platform-independent diagram using built-in rules.
PIM to PSM Transformation:Select platform/tech (Arduino, MQTT) and transform to an intermediate model. Final code-gen is manual but scaffolded.
Diagrams.net Integration:Models are compatible with diagrams.net, making the visual pipeline a breeze.
Containerized:Fully dockerized for quick local deployment and testing.
I'd like to thank Professor Claudio Navarro (Universidad de la Frontera), because without his work and support, this project wouldn't have been possible.