How can I parse SysML data into another tool (no SysML related)?

255 views
Skip to first unread message

Daniel Borches (Daniman)

unread,
Dec 1, 2008, 10:42:05 AM12/1/08
to SysML Forum
Dear All,

I was thinking in defining my system in SysML and then use the data
embedded in the model to feed it into a simulation tool (e.g. Matlab).
This way I have a system model that I can use to discuss requirements
and design with experts, and on the other hand I can use it to verify
and validate the architecture.

The question I have is how can I extract the data I need from SysML in
order to parse it into another tool. I know that I can generate the
XMI file, however navigate through that file doesn't seem easy. Is
there another way to extract the data?

Any ideas/comments?

Thanks

Regards

Daniel

David Price

unread,
Dec 1, 2008, 11:15:14 AM12/1/08
to SysML...@googlegroups.com, Daniel Borches (Daniman)
When SysML was initiated, as sister project for non-SysML-specific tool data
exchange was started in the ISO community. The result of that sister project,
with the terrible name "AP233", is being completed this month. We're now
starting the task of specifying exactly how to use AP233 for SysML models.
We'll be chatting about this in depth at the OMG meeting next week.

FWIW the AP233 exchange format for the SysML community will be XML, just a
different flavor of XML vs XMI. To get an idea, have a look at
www.exff.org/ap233 where we did some early work showing how DODAF would be
represented using AP233. That work is a couple of years old so the details
have changed a bit but you'll get an idea about AP233 structures and XML
format.

As far as I know, SysML XMI and AP233 XML are the two main options. Vendors
may, of course, have proprietary formats as well.

Cheers,
David
--
Mobile +44 7788 561308 UK +44 2087473900 Skype +1 336 283 0606

Eurostep Limited. Registered in England and Wales No.03049099 Registered
Office: Cwttir Lane, St. Asaph, Denbighshire LL17 0LQ

turki skander

unread,
Dec 1, 2008, 11:18:27 AM12/1/08
to SysML...@googlegroups.com
hi,
you can use ATL to create a model transformation, you can also use ACCELEO to create a code generation, both from your model without manually parsing it. Take a look to the eclipse M2M project.

--- En date de : Lun 1.12.08, Daniel Borches (Daniman) <daniel....@gmail.com> a écrit :

Daniel Borches

unread,
Dec 1, 2008, 11:43:27 AM12/1/08
to SysML...@googlegroups.com
I do not know ATL or ACCELEO.
 
Some links would be an asset :)

--
----------------------------------------------------
"Un perdedor no es quien llega el último sino aquél que se sienta y mira y nunca ha intentado correr".
Anonimo

ml

unread,
Dec 1, 2008, 8:21:10 PM12/1/08
to SysML Forum

> The question I have is how can I extract the data I need from SysML in
> order to parse it into another tool. I know that I can generate the
> XMI file, however navigate through that file doesn't seem easy. Is
> there another way to extract the data?
>
> Any ideas/comments?
>

Hi Daniel,

I've done some work with translation of SysML models in XMI (created
by Topcased), I used XSL stylesheets to do some simple in-browser HTML
creation and some translation of parts of models to another XML
schema. If this is interesting send me email and I'll provide some
samples.

Regards,

Mike

Daniel Borches

unread,
Dec 2, 2008, 4:09:58 AM12/2/08
to SysML...@googlegroups.com
Hi Mike,
 
That would really be useful!!
 
The trouble I have is translating from SysML XMI to another XML format, so it can be read by another tool.
 
which is your mail? i would really love to see some examples.
 
 
Thanks
 
Daniel


Anonimo

turki skander

unread,
Dec 2, 2008, 4:22:39 AM12/2/08
to SysML...@googlegroups.com
hi,
to model with SysML you can use papyrus with the Sysml profile that is downloadable in their website (google search : papyrus cea) .
For ATL : it'a a model transformation tool, well documented, ans they have a very active forum where a lot of people can help you :
http://www.eclipse.org/m2m/atl/
http://www.eclipse.org/newsportal/thread.php?group=eclipse.modeling.m2m

for acceleo try the google search (acceleo.org)




--- En date de : Lun 1.12.08, Daniel Borches <daniel....@gmail.com> a écrit :

Andreas Karlberger

unread,
Dec 15, 2008, 7:04:02 AM12/15/08
to SysML Forum
Hi Daniel,

I'm also interested in accessing data of a SysML model. For access on
model data one can normally distinct between offline access (data
file, e.g. XMI) and online access (via API). Commercial tools (such as
Magic Draw) usually provide an API for model access. Within the
topcased project, a so called "model bus" is used in order to exchange
model data between different modelling tools. So far, I don't have any
information about how this works nor if it can be used for model
access within one application..

Regards,
Andreas



On 1 Dez., 16:42, "Daniel Borches (Daniman)"
Reply all
Reply to author
Forward
0 new messages