Hi,
I have been learning and using SysML for a while (BDDs, IBDs, and Activity diagrams). However, due to certain company constraints I might now have to move (“down”) to UML (i.e., use diagram types offered by ‘non-SysML, generic UML’).
In general, I need to know what are the UML analogs of SysML BDD and IBD diagram types.
However, it seems to be more correct to first ask about the UML Component diagram type: does the Component diagram type specify types (like classes) or does it specify instances? Please forgive me for asking wat appears to be a UML question on a SysML forum.
So to repeat the question: is a Component diagram a type (like a class) or an instance?
To try to answer my own question: from the fact there exists the isDirectlyInstantiated property, it seems that a Component is both a class and an instance, and by that same name.
An important point here therefore seems to be: can I create multiple instances of a component? I get the feeling the answer is no, and in this lies the difference between a component and a class.
Comments?
Thanks
Avi
> > does the Component diagram type specify /types/ (like /classes/) or does it specify /instances/?
> Short answer: Both!
Great! So there is some logic there.
> Since SysML is a dialect (Profile) of UML 2, the same is true of a Block Definition Diagram (BDD): you can specify both a Block *type* and a Block *instance* on a BDD.
When I first saw such an example where a BDD specs an instance, it surprised me. In books and articles, the general approach seems to be that BDD are the definitions – types (as implied by the name – def), and IBDs define the instance of one block (and often it is the only instance of the block that the system “uses”).
> Longer Answer:
> I hope your next questions have something to do with: "How are UML 2
Parts related to UML 2 Components and Instances? and
Almost. I wanted to see a full SyML-> UML mapping. But it is lacking. (Hence my first question is what is a Component: a class or instance.) I saw https://sysmlforum.com/sysml-faq/what-is-relation-between-sysml-and-uml.html but it says SysML is N/A to UML:
Indeed…?
Question summary:
1. My next question is indeed ... "How are UML 2 Parts related
to UML 2 Components and Instances?”
2. Classes and Instances: (a) Are UML Component definition (class?) trees defined like SysML
Block trees? And with the black diamonds for whole composites etc? I have not seen that yet – but then again, I
am a UML beginner.
(b) And if so, is a Component instantiated by representing it as a Composite
Structure diagram (like an IBD)?
4.4. The MBSE platform I use is Sparx EA. My next challenge obviously would be “so how do you do it in EA…?” But that is for a different forum…
Thanks
Avi
--
--
You received this message because you are subscribed to the Google
Groups "SysML Forum" group.
Public website: http://www.SysMLforum.com
To post to this group, send email to sysml...@googlegroups.com
To unsubscribe from this group, send email to
sysmlforum+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sysmlforum?hl=en_US?hl=en
---
You received this message because you are subscribed to the Google Groups "SysML Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sysmlforum+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sysmlforum/fbd2f7b5-a2e7-4770-8a7d-d9f32cecd010o%40googlegroups.com.
When I first saw such an example where a BDD specs an instance, it surprised me. In books and articles,
the general approach seems to be that BDD are the definitions – types (as implied by the name – def),
and IBDs define the instance of one block (and often it is the only instance of the block that the system “uses”).
--
--
You received this message because you are subscribed to the Google
Groups "SysML Forum" group.
Public website: http://www.SysMLforum.com
To post to this group, send email to sysml...@googlegroups.com
To unsubscribe from this group, send email to
sysmlforum+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sysmlforum?hl=en_US?hl=en
---
You received this message because you are subscribed to the Google Groups "SysML Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sysmlforum+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sysmlforum/39a1f896-a11a-4b96-8c5a-9583b48423f6o%40googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sysmlforum?hl=en_US?hl=en
---
You received this message because you are subscribed to the Google Groups "SysML Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sysml...@googlegroups.com.
Please comment on the above mapping suggestion. If it is not true I would be happy to lay the idea to rest forever.
Thanks
Avi
For more options, visit this group at
http://groups.google.com/group/sysmlforum?hl=en_US?hl=en
---
You received this message because you are subscribed to the Google Groups "SysML Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sysml...@googlegroups.com.
--
--
You received this message because you are subscribed to the Google
Groups "SysML Forum" group.
Public website: http://www.SysMLforum.com
To post to this group, send email to sysml...@googlegroups.com
To unsubscribe from this group, send email to
sysmlforum+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sysmlforum?hl=en_US?hl=en
---
You received this message because you are subscribed to the Google Groups "SysML Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sysmlforum+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sysmlforum/1794bda7-e1ce-436d-8b80-9cb3bdcacdbcn%40googlegroups.com.
On 12 Nov 2020, at 05:20, dani.mannes <dani....@gmail.com> wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/sysmlforum/5fab7f8f.1c69fb81.fa94e.197b%40mx.google.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sysmlforum/5facfe9e.1c69fb81.b4b80.8430%40mx.google.com.
Hi Stephan,
Thank you for your response.
>> Also on IBDs you do not see any instances! An IBD is a diagram on the usage level, i.e. you can see how the types defined in the BDD are used, i.e. how they are interconnected, but nevertheless there are no instances.
It seems I only partially understood the material in SysML Distilled (Delligatti) Sect 3.4 Blocks. As follows:
"Note the distinction between definition and instantiation (which SysML refers to as “usage”)."
From the above intro I initially made the assumption that SysML understands (somehow...) that "instantiation" is the same as OMG “usage”.
And further on:
"You can easily tell the difference between elements of definition
and elements of usage
in a system model. Elements of
definition have a name only (e.g., DesktopWorkstation); elements of
usage have a name and a type, separated by
a colon (e.g., SDX1205LJD : DesktopWorkstation)."
The above <name>
: <type> notation is the notation I used in some programming
languages to program an instatiation:
<instance> : <type>.
I only now notice a little later the (implied) contradiction where the book writes:
"Some kinds of model elements (e.g., blocks, ...) represent
definitions of types;
other kinds of model elements (e.g., part
properties, ...) represent instances of those types."
Trying to find something positive in that misundertanding ... maybe it simplified things for me at the time and and so helped me put more time in other concepts.
Anyway, please would you comment on the statement above in SysML Distilled, "Note the distinction between definition and instantiation (which SysML refers to as “usage”)."
Thanks
Avraham
On Wednesday, November 11, 2020 at 5:47:24 AM UTC+2 stephan....@googlemail.com wrote:
Hi Avi,
Also on IBDs you do not see any instances! An IBD is a diagram on the usage level, i.e. you can see how the types defined in the BDD are used, i.e. how they are interconnected, but nevertheless there are no instances. On an IBD, we speak of parts (if, for example, the block was subordinated to the whole on the BDD with a composition relationship) or references (if the block was assigned to the whole via an aggregation or association relationship).