SysML model instantiation doubt [message #1853320] |
Mon, 27 June 2022 18:03 |
Sergio Benavent Messages: 2 Registered: June 2022 |
Junior Member |
|
|
Hello everyone,
I have little experience using SysML inPapyrus, and have run into a problem. I am working with Papyrus 2020-03 (4.15), modeling a basic manufacturing system with SysML1.4. I have defined all the constructions (elements, relations, etc.) and I have created several diagrams. Now I would like to instantiate this model to assign specific values to the attributes, parameters, etc., and run an analysis of the instantiated objects. I can't find the way to do that, so here are my questions:
Can someone confirm if it can be done? Does SysML allow instantiation of a model? Does Papyrus support it or should I use other tools? If it is not possible, can I define an executable analysis or simulation model based on my SysML model? Any other proposal?
To better understand my doubt, I have found a video showing something similar to what I want, but this example has been developed in Cameo:
"www.youtube.com/watch?v=uLaKUOlgDjU"
Any guidance on this topic would be of great help to me.
Thank you!
Sergio Benavent
|
|
|
Re: SysML model instantiation doubt [message #1853342 is a reply to message #1853320] |
Tue, 28 June 2022 14:21 |
|
Hi Sergio,
according to my discussions with Tim Weilkiens on SysML all SysML does not distingish between classifiers and instances, consequently all SysML elements are instances. That story aside, I come from UML and distinguish between classifiers and instances.
Papyrus implements SYSML as an UML Profile, consequently when using SysML with Papyrus you have full access to the UML expressive power.
UML features InstanceSprecifications as notion for instances of classifiers. Beside blocks (classes) also actor or even artefact is supported.
So create InstanceSpecifications drag'n'drop the classifier from the ModelExplorer to the InstanceSpecification box within the diagram, open the context menu on the box and choose via filter what to show within the box.
So far for the UML way.
SysML feature the notion of parametric diagram. Never used them so far.
That's the intended SysML way.
But real world engineering is mainly document based. Consequently in most cases parameter values are specified as textual requirements like "The supply voltage shall be 12V, +-5%".
That's the real world solution ;-)
/Carsten
[Updated on: Tue, 28 June 2022 15:25] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02869 seconds