How would you convert from ARCADIA to SysML v2?

Has anybody succeeded in moving from a legacy Capella model to a SysML v2 textual model? I am wondering how we could set up the .sysml file structure, and then use AI to parse the .capella file and generate compliant syntax.

The raw XML doesn’t seem to be interpretable by LLMs at this time. I’m sure we’ll need to prime it with the ontology and semantics somehow; probably need to use Python to export Capella data one ARCADIA object-type at a time, before converting them to SysML concepts…

There is ongoing work on this topic, we should have something available as open source by the end of nest month.

2 Likes

One practical route is to treat the .capella file as an EMF/XMI model rather than raw XML: load it with an EMF-compatible API, walk the ARCADIA metamodel (operational analysis, system/logical/physical architecture), and emit SysML v2 textual packages/parts/ports/actions through a deterministic transformation. Use the LLM, if at all, to help draft mapping rules or review generated syntax—not to parse the XMI directly. Start with a small scope, e.g. one architecture layer and its exchanges, then validate the .sysml in a SysML v2 tool.

Work in progress: