Book a Demo

Author Topic: SysML: How to create model libraries  (Read 3761 times)

Matthias Weber

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
SysML: How to create model libraries
« on: December 30, 2009, 08:28:45 pm »
Are there any examples for creating model libraries in EA? I am missing a package stereotype <<modellibrary>>. How can i use parts of those libraries?

Thanks
Matthias

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: SysML: How to create model libraries
« Reply #1 on: February 05, 2010, 03:07:56 am »
Excuse the late reply, but I have only just come across your post.

You can somewhere close by:

1) Using the SysML 1.1 Toolbox "SysML 1.1 Model Elements"
2) Add a Model element (actually a package)
3) This adds a package with a stereotype of <<model>> to your project
4) These packages display on diagrams with a triangle stereotype icon

Place your model libray elements (blocks, valueTypes, units dimensions etc in this package)

I believe the System Engineering example (containing within EAExample.eap) uses this technique
Models are great!
Correct models are even greater!

Matthias Weber

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: SysML: How to create model libraries
« Reply #2 on: February 18, 2010, 02:42:32 am »
thanks for your answer.

but i still don't have any idea on how to instantiate model elements from the model library. the only way i found was to inherit from model elements but that is something totally different to me.